@sphereon/ssi-sdk.data-store 0.34.1-feature.SSISDK.45.94 → 0.34.1-feature.SSISDK.46.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +299 -123
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +299 -123
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/__tests__/contact.entities.test.ts +2 -2
- package/src/__tests__/contact.store.test.ts +1 -1
- package/src/__tests__/digitalCredential.entities.test.ts +2 -1
- package/src/__tests__/digitalCredential.store.test.ts +5 -5
- package/src/__tests__/pd-manager.entities.test.ts +14 -37
- package/src/__tests__/pd-manager.store.test.ts +133 -0
- package/src/entities/presentationDefinition/PresentationDefinitionItemEntity.ts +1 -1
- package/src/migrations/generic/12-CreateBitstringStatusList.ts +1 -0
- package/src/migrations/generic/13-UpdatePresentationDefinitionItemNullable.ts +67 -0
- package/src/migrations/generic/index.ts +5 -1
- package/src/migrations/postgres/1756975509000-UpdatePresentationDefinitionItemNullable.ts +15 -0
- package/src/migrations/sqlite/1756975340000-UpdatePresentationDefinitionItemNullable.ts +77 -0
- package/src/presentationDefinition/PDStore.ts +6 -1
- package/src/types/presentationDefinition/presentationDefinition.ts +3 -3
- package/src/utils/presentationDefinition/MappingUtils.ts +39 -10
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typeorm, { BaseEntity as BaseEntity$8, FindOptionsWhere, FindOptionsOrder, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
|
|
3
3
|
import { IIdentifier } from '@veramo/core';
|
|
4
|
-
import { CredentialRole,
|
|
4
|
+
import { CredentialRole, DcqlQueryPayload, StatusListType, IIssuer, StatusListDriverType, StatusListCredentialIdMode, CredentialProofFormat, StatusListCredential, StatusListIndexingDirection, StatusPurpose2021, RequireOneOf, ICredentialStatus, HasherSync, LoggingEventType, LogLevel, System, SubSystem, ActionType, ActionSubType, InitiatorType, SystemCorrelationIdType, OrPromise, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
|
|
5
5
|
import { AuditLoggingEvent, ActivityLoggingEvent, PartialAuditLoggingEvent, PartialActivityLoggingEvent, PartyCorrelationType, CredentialType } from '@sphereon/ssi-sdk.core';
|
|
6
6
|
import { IPresentationDefinition } from '@sphereon/pex';
|
|
7
7
|
|
|
@@ -562,8 +562,8 @@ type PresentationDefinitionItem = {
|
|
|
562
562
|
version: string;
|
|
563
563
|
name?: string;
|
|
564
564
|
purpose?: string;
|
|
565
|
-
definitionPayload
|
|
566
|
-
dcqlPayload?:
|
|
565
|
+
definitionPayload?: IPresentationDefinition;
|
|
566
|
+
dcqlPayload?: DcqlQueryPayload;
|
|
567
567
|
createdAt: Date;
|
|
568
568
|
lastUpdatedAt: Date;
|
|
569
569
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typeorm, { BaseEntity as BaseEntity$8, FindOptionsWhere, FindOptionsOrder, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
|
|
3
3
|
import { IIdentifier } from '@veramo/core';
|
|
4
|
-
import { CredentialRole,
|
|
4
|
+
import { CredentialRole, DcqlQueryPayload, StatusListType, IIssuer, StatusListDriverType, StatusListCredentialIdMode, CredentialProofFormat, StatusListCredential, StatusListIndexingDirection, StatusPurpose2021, RequireOneOf, ICredentialStatus, HasherSync, LoggingEventType, LogLevel, System, SubSystem, ActionType, ActionSubType, InitiatorType, SystemCorrelationIdType, OrPromise, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
|
|
5
5
|
import { AuditLoggingEvent, ActivityLoggingEvent, PartialAuditLoggingEvent, PartialActivityLoggingEvent, PartyCorrelationType, CredentialType } from '@sphereon/ssi-sdk.core';
|
|
6
6
|
import { IPresentationDefinition } from '@sphereon/pex';
|
|
7
7
|
|
|
@@ -562,8 +562,8 @@ type PresentationDefinitionItem = {
|
|
|
562
562
|
version: string;
|
|
563
563
|
name?: string;
|
|
564
564
|
purpose?: string;
|
|
565
|
-
definitionPayload
|
|
566
|
-
dcqlPayload?:
|
|
565
|
+
definitionPayload?: IPresentationDefinition;
|
|
566
|
+
dcqlPayload?: DcqlQueryPayload;
|
|
567
567
|
createdAt: Date;
|
|
568
568
|
lastUpdatedAt: Date;
|
|
569
569
|
};
|