Skip to content

Commit

Permalink
feat(core-types): add hash to TCredentialColumns (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickreynolds authored Sep 27, 2023
1 parent e674c58 commit 306a398
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/core-types/src/plugin.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3412,7 +3412,8 @@
"issuer",
"subject",
"expirationDate",
"issuanceDate"
"issuanceDate",
"hash"
],
"description": "The columns that can be searched for a {@link VerifiableCredential } \n\nSee {@link IDataStoreORM.dataStoreORMGetVerifiableCredentials } \nSee {@link IDataStoreORM.dataStoreORMGetVerifiableCredentialsCount }"
},
Expand Down Expand Up @@ -3803,7 +3804,7 @@
"save": {
"type": "boolean",
"description": "Optional. If set to `true`, the message will be saved using\n {@link @veramo/core-types#IDataStore.dataStoreSaveMessage | dataStoreSaveMessage } \n<p/><p/>",
"deprecated": "Please call {@link @veramo/core-types#IDataStore.dataStoreSaveMessage | dataStoreSaveMessage()} after\nhandling the message and determining that it must be saved."
"deprecated": "Please call {@link @veramo/core-types#IDataStore.dataStoreSaveMessage | dataStoreSaveMessage()} after\r\nhandling the message and determining that it must be saved."
}
},
"required": [
Expand Down Expand Up @@ -4207,7 +4208,7 @@
"save": {
"type": "boolean",
"description": "If this parameter is true, the resulting VerifiablePresentation is sent to the\n {@link @veramo/core-types#IDataStore | storage plugin } to be saved.",
"deprecated": "Please call\n{@link @veramo/core-types#IDataStore.dataStoreSaveVerifiableCredential | dataStoreSaveVerifiableCredential()} to save\nthe credential after creating it."
"deprecated": "Please call\r\n{@link @veramo/core-types#IDataStore.dataStoreSaveVerifiableCredential | dataStoreSaveVerifiableCredential()} to save\r\nthe credential after creating it."
},
"proofFormat": {
"$ref": "#/components/schemas/ProofFormat",
Expand Down Expand Up @@ -4421,7 +4422,7 @@
"save": {
"type": "boolean",
"description": "If this parameter is true, the resulting VerifiablePresentation is sent to the\n {@link @veramo/core-types#IDataStore | storage plugin } to be saved. <p/><p/>",
"deprecated": "Please call\n{@link @veramo/core-types#IDataStore.dataStoreSaveVerifiablePresentation | dataStoreSaveVerifiablePresentation()} to\nsave the credential after creating it."
"deprecated": "Please call\r\n{@link @veramo/core-types#IDataStore.dataStoreSaveVerifiablePresentation | dataStoreSaveVerifiablePresentation()} to\r\nsave the credential after creating it."
},
"challenge": {
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions packages/core-types/src/types/IDataStoreORM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export type TCredentialColumns =
| 'subject'
| 'expirationDate'
| 'issuanceDate'
| 'hash'

/**
* The columns that can be searched for the claims of a {@link VerifiableCredential}
Expand Down

0 comments on commit 306a398

Please sign in to comment.