Skip to content

Commit

Permalink
add author to records filter
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Nov 19, 2023
1 parent 6c01ea2 commit e187c4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions json-schemas/interface-methods/records-filter.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"protocolPath": {
"type": "string"
},
"author": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
"attester": {
"$ref": "https://identity.foundation/dwn/json-schemas/defs.json#/definitions/did"
},
Expand Down
2 changes: 2 additions & 0 deletions src/types/records-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export type RecordsQueryDescriptor = {
};

export type RecordsFilter = {
/**the logical author of the record */
author?: string;
attester?: string;
recipient?: string;
protocol?: string;
Expand Down

0 comments on commit e187c4e

Please sign in to comment.