@procivis/one-react-native-components 0.3.106 → 0.3.115
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/lib/commonjs/components/backup/preview-credentials.js.map +1 -1
- package/lib/commonjs/components/credential/credential.js.map +1 -1
- package/lib/commonjs/components/entity/EntityButtons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-attributes.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details-with-buttons.js +2 -2
- package/lib/commonjs/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details.js +3 -3
- package/lib/commonjs/components/entity/entity-details.js.map +1 -1
- package/lib/commonjs/components/history/history-details-screen.js +10 -10
- package/lib/commonjs/components/history/history-details-screen.js.map +1 -1
- package/lib/commonjs/components/history/history-list-item-icon.js +14 -8
- package/lib/commonjs/components/history/history-list-item-icon.js.map +1 -1
- package/lib/commonjs/components/history/history-list-item.js.map +1 -1
- package/lib/commonjs/components/history/history-list-screen.js.map +1 -1
- package/lib/commonjs/components/history/history-list-section-header.js +1 -1
- package/lib/commonjs/components/history/history-list-section-header.js.map +1 -1
- package/lib/commonjs/components/history/history-list.js.map +1 -1
- package/lib/commonjs/components/proof-request/v1/select-credential.js.map +1 -1
- package/lib/commonjs/components/proof-request/v1/share-credential.js +1 -1
- package/lib/commonjs/components/proof-request/v1/share-credential.js.map +1 -1
- package/lib/commonjs/components/proof-request/v2/select-credential-v2.js.map +1 -1
- package/lib/commonjs/components/proof-request/v2/share-credential-v2-group.js.map +1 -1
- package/lib/commonjs/components/proof-request/v2/share-credential-v2.js.map +1 -1
- package/lib/commonjs/ui-components/control/checkbox.js +2 -1
- package/lib/commonjs/ui-components/control/checkbox.js.map +1 -1
- package/lib/commonjs/ui-components/control/switch.js +2 -2
- package/lib/commonjs/ui-components/control/switch.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-section-header.js +1 -1
- package/lib/commonjs/ui-components/history/history-section-header.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-section-list-item.js +1 -1
- package/lib/commonjs/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/commonjs/utils/history.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/backup.js +2 -2
- package/lib/commonjs/utils/hooks/core/backup.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/cache.js +10 -10
- package/lib/commonjs/utils/hooks/core/cache.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-config.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-init.js +4 -2
- package/lib/commonjs/utils/hooks/core/core-init.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credential-schemas.js +1 -1
- package/lib/commonjs/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credentials.js +4 -4
- package/lib/commonjs/utils/hooks/core/credentials.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/dids.js +2 -2
- package/lib/commonjs/utils/hooks/core/dids.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/history.js +1 -1
- package/lib/commonjs/utils/hooks/core/history.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/identifiers.js +2 -2
- package/lib/commonjs/utils/hooks/core/identifiers.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/index.js +22 -0
- package/lib/commonjs/utils/hooks/core/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proof-schemas.js +1 -1
- package/lib/commonjs/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proofs.js +11 -11
- package/lib/commonjs/utils/hooks/core/proofs.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/trust-entity.js +1 -1
- package/lib/commonjs/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/trust-list.js +32 -0
- package/lib/commonjs/utils/hooks/core/trust-list.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/verifier-instance.js +52 -0
- package/lib/commonjs/utils/hooks/core/verifier-instance.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/wallet-unit.js +38 -3
- package/lib/commonjs/utils/hooks/core/wallet-unit.js.map +1 -1
- package/lib/commonjs/utils/hooks/revocation/credential-status.js +1 -1
- package/lib/commonjs/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-images.js +3 -3
- package/lib/commonjs/utils/parsers/credential-images.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-sharing-v2.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential.js +9 -9
- package/lib/commonjs/utils/parsers/credential.js.map +1 -1
- package/lib/commonjs/utils/parsers/query.js +2 -2
- package/lib/commonjs/utils/parsers/query.js.map +1 -1
- package/lib/module/components/backup/preview-credentials.js.map +1 -1
- package/lib/module/components/credential/credential.js.map +1 -1
- package/lib/module/components/entity/EntityButtons.js.map +1 -1
- package/lib/module/components/entity/entity-attributes.js.map +1 -1
- package/lib/module/components/entity/entity-details-with-buttons.js +3 -3
- package/lib/module/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/module/components/entity/entity-details.js +4 -4
- package/lib/module/components/entity/entity-details.js.map +1 -1
- package/lib/module/components/history/history-details-screen.js +11 -11
- package/lib/module/components/history/history-details-screen.js.map +1 -1
- package/lib/module/components/history/history-list-item-icon.js +15 -9
- package/lib/module/components/history/history-list-item-icon.js.map +1 -1
- package/lib/module/components/history/history-list-item.js.map +1 -1
- package/lib/module/components/history/history-list-screen.js.map +1 -1
- package/lib/module/components/history/history-list-section-header.js +1 -1
- package/lib/module/components/history/history-list-section-header.js.map +1 -1
- package/lib/module/components/history/history-list.js.map +1 -1
- package/lib/module/components/proof-request/v1/select-credential.js.map +1 -1
- package/lib/module/components/proof-request/v1/share-credential.js +2 -2
- package/lib/module/components/proof-request/v1/share-credential.js.map +1 -1
- package/lib/module/components/proof-request/v2/select-credential-v2.js.map +1 -1
- package/lib/module/components/proof-request/v2/share-credential-v2-group.js.map +1 -1
- package/lib/module/components/proof-request/v2/share-credential-v2.js.map +1 -1
- package/lib/module/ui-components/control/checkbox.js +2 -1
- package/lib/module/ui-components/control/checkbox.js.map +1 -1
- package/lib/module/ui-components/control/switch.js +3 -3
- package/lib/module/ui-components/control/switch.js.map +1 -1
- package/lib/module/ui-components/history/history-section-header.js +1 -1
- package/lib/module/ui-components/history/history-section-header.js.map +1 -1
- package/lib/module/ui-components/history/history-section-list-item.js +1 -1
- package/lib/module/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/module/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/module/utils/history.js.map +1 -1
- package/lib/module/utils/hooks/core/backup.js +3 -3
- package/lib/module/utils/hooks/core/backup.js.map +1 -1
- package/lib/module/utils/hooks/core/cache.js +11 -11
- package/lib/module/utils/hooks/core/cache.js.map +1 -1
- package/lib/module/utils/hooks/core/core-config.js.map +1 -1
- package/lib/module/utils/hooks/core/core-init.js +4 -2
- package/lib/module/utils/hooks/core/core-init.js.map +1 -1
- package/lib/module/utils/hooks/core/credential-schemas.js +1 -1
- package/lib/module/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/credentials.js +5 -5
- package/lib/module/utils/hooks/core/credentials.js.map +1 -1
- package/lib/module/utils/hooks/core/dids.js +3 -3
- package/lib/module/utils/hooks/core/dids.js.map +1 -1
- package/lib/module/utils/hooks/core/history.js +1 -1
- package/lib/module/utils/hooks/core/history.js.map +1 -1
- package/lib/module/utils/hooks/core/identifiers.js +3 -3
- package/lib/module/utils/hooks/core/identifiers.js.map +1 -1
- package/lib/module/utils/hooks/core/index.js +2 -0
- package/lib/module/utils/hooks/core/index.js.map +1 -1
- package/lib/module/utils/hooks/core/proof-schemas.js +1 -1
- package/lib/module/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/proofs.js +12 -12
- package/lib/module/utils/hooks/core/proofs.js.map +1 -1
- package/lib/module/utils/hooks/core/trust-entity.js +2 -2
- package/lib/module/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/module/utils/hooks/core/trust-list.js +24 -0
- package/lib/module/utils/hooks/core/trust-list.js.map +1 -0
- package/lib/module/utils/hooks/core/verifier-instance.js +43 -0
- package/lib/module/utils/hooks/core/verifier-instance.js.map +1 -0
- package/lib/module/utils/hooks/core/wallet-unit.js +36 -3
- package/lib/module/utils/hooks/core/wallet-unit.js.map +1 -1
- package/lib/module/utils/hooks/revocation/credential-status.js +2 -2
- package/lib/module/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/module/utils/parsers/credential-images.js +4 -4
- package/lib/module/utils/parsers/credential-images.js.map +1 -1
- package/lib/module/utils/parsers/credential-sharing-v2.js.map +1 -1
- package/lib/module/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/module/utils/parsers/credential.js +10 -10
- package/lib/module/utils/parsers/credential.js.map +1 -1
- package/lib/module/utils/parsers/query.js +2 -2
- package/lib/module/utils/parsers/query.js.map +1 -1
- package/lib/typescript/components/backup/preview-credentials.d.ts +2 -2
- package/lib/typescript/components/credential/credential.d.ts +2 -2
- package/lib/typescript/components/entity/EntityButtons.d.ts +2 -2
- package/lib/typescript/components/entity/entity-attributes.d.ts +2 -2
- package/lib/typescript/components/entity/entity-details-with-buttons.d.ts +3 -3
- package/lib/typescript/components/entity/entity-details.d.ts +5 -5
- package/lib/typescript/components/history/history-details-screen.d.ts +2 -2
- package/lib/typescript/components/history/history-list-item-icon.d.ts +3 -3
- package/lib/typescript/components/history/history-list-item.d.ts +5 -5
- package/lib/typescript/components/history/history-list-screen.d.ts +4 -4
- package/lib/typescript/components/history/history-list.d.ts +5 -5
- package/lib/typescript/components/proof-request/v1/select-credential.d.ts +2 -2
- package/lib/typescript/components/proof-request/v1/share-credential.d.ts +6 -6
- package/lib/typescript/components/proof-request/v2/select-credential-v2.d.ts +3 -3
- package/lib/typescript/components/proof-request/v2/share-credential-v2-group.d.ts +4 -4
- package/lib/typescript/components/proof-request/v2/share-credential-v2.d.ts +5 -5
- package/lib/typescript/ui-components/control/checkbox.d.ts +1 -1
- package/lib/typescript/ui-components/screens/nerd-mode-screen.d.ts +2 -2
- package/lib/typescript/utils/history.d.ts +3 -3
- package/lib/typescript/utils/hooks/core/backup.d.ts +3 -3
- package/lib/typescript/utils/hooks/core/cache.d.ts +2 -2
- package/lib/typescript/utils/hooks/core/core-config.d.ts +4 -4
- package/lib/typescript/utils/hooks/core/core-init.d.ts +1 -1
- package/lib/typescript/utils/hooks/core/credential-schemas.d.ts +6 -6
- package/lib/typescript/utils/hooks/core/credentials.d.ts +9 -16
- package/lib/typescript/utils/hooks/core/dids.d.ts +2 -2
- package/lib/typescript/utils/hooks/core/history.d.ts +2 -2
- package/lib/typescript/utils/hooks/core/identifiers.d.ts +3 -3
- package/lib/typescript/utils/hooks/core/index.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/proof-schemas.d.ts +7 -7
- package/lib/typescript/utils/hooks/core/proofs.d.ts +9 -9
- package/lib/typescript/utils/hooks/core/trust-entity.d.ts +5 -5
- package/lib/typescript/utils/hooks/core/trust-list.d.ts +5 -0
- package/lib/typescript/utils/hooks/core/verifier-instance.d.ts +8 -0
- package/lib/typescript/utils/hooks/core/wallet-unit.d.ts +11 -5
- package/lib/typescript/utils/parsers/credential-images.d.ts +2 -2
- package/lib/typescript/utils/parsers/credential-sharing-v2.d.ts +7 -7
- package/lib/typescript/utils/parsers/credential-sharing.d.ts +8 -8
- package/lib/typescript/utils/parsers/credential.d.ts +11 -11
- package/lib/typescript/utils/parsers/query.d.ts +8 -8
- package/package.json +3 -3
- package/src/components/backup/preview-credentials.tsx +2 -2
- package/src/components/credential/credential.tsx +2 -2
- package/src/components/entity/EntityButtons.tsx +2 -2
- package/src/components/entity/entity-attributes.tsx +2 -2
- package/src/components/entity/entity-details-with-buttons.tsx +6 -11
- package/src/components/entity/entity-details.tsx +16 -17
- package/src/components/history/history-details-screen.tsx +13 -13
- package/src/components/history/history-list-item-icon.tsx +17 -15
- package/src/components/history/history-list-item.tsx +5 -9
- package/src/components/history/history-list-screen.tsx +4 -4
- package/src/components/history/history-list-section-header.tsx +1 -1
- package/src/components/history/history-list.tsx +6 -6
- package/src/components/proof-request/v1/select-credential.tsx +2 -2
- package/src/components/proof-request/v1/share-credential.tsx +11 -13
- package/src/components/proof-request/v2/select-credential-v2.tsx +3 -6
- package/src/components/proof-request/v2/share-credential-v2-group.tsx +10 -10
- package/src/components/proof-request/v2/share-credential-v2.tsx +9 -9
- package/src/ui-components/control/checkbox.tsx +13 -11
- package/src/ui-components/control/switch.tsx +23 -21
- package/src/ui-components/detail/detail.stories.tsx +1 -1
- package/src/ui-components/history/history-section-header.tsx +1 -1
- package/src/ui-components/history/history-section-list-item.tsx +1 -1
- package/src/ui-components/screens/nerd-mode-screen.tsx +2 -2
- package/src/utils/history.ts +4 -4
- package/src/utils/hooks/core/backup.ts +3 -3
- package/src/utils/hooks/core/cache.ts +13 -13
- package/src/utils/hooks/core/core-config.ts +3 -3
- package/src/utils/hooks/core/core-init.ts +3 -4
- package/src/utils/hooks/core/credential-schemas.ts +5 -8
- package/src/utils/hooks/core/credentials.ts +16 -32
- package/src/utils/hooks/core/dids.ts +4 -4
- package/src/utils/hooks/core/history.ts +3 -3
- package/src/utils/hooks/core/identifiers.ts +4 -8
- package/src/utils/hooks/core/index.ts +2 -0
- package/src/utils/hooks/core/proof-schemas.ts +16 -22
- package/src/utils/hooks/core/proofs.ts +33 -34
- package/src/utils/hooks/core/trust-entity.ts +8 -10
- package/src/utils/hooks/core/trust-list.ts +29 -0
- package/src/utils/hooks/core/verifier-instance.ts +54 -0
- package/src/utils/hooks/core/wallet-unit.ts +47 -14
- package/src/utils/hooks/revocation/credential-status.ts +2 -2
- package/src/utils/parsers/credential-images.tsx +6 -10
- package/src/utils/parsers/credential-sharing-v2.tsx +20 -22
- package/src/utils/parsers/credential-sharing.tsx +28 -28
- package/src/utils/parsers/credential.ts +43 -43
- package/src/utils/parsers/query.ts +22 -16
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
Claim,
|
|
3
|
+
ClaimValue,
|
|
4
|
+
CoreConfig,
|
|
5
|
+
CredentialQueryFailureHint,
|
|
6
|
+
PresentationDefinitionV2Claim,
|
|
7
|
+
PresentationDefinitionV2ClaimValue,
|
|
8
|
+
PresentationDefinitionV2Credential,
|
|
9
9
|
} from '@procivis/react-native-one-core';
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from '.';
|
|
28
28
|
import { ShareCredentialCardLabels, validityCheckedCardFromCredential } from './credential-sharing';
|
|
29
29
|
|
|
30
|
-
const v2ClaimValueToClaimValue = (value:
|
|
30
|
+
const v2ClaimValueToClaimValue = (value: PresentationDefinitionV2ClaimValue): ClaimValue => {
|
|
31
31
|
if (value.type_ !== 'NESTED') {
|
|
32
32
|
return value;
|
|
33
33
|
}
|
|
@@ -37,7 +37,7 @@ const v2ClaimValueToClaimValue = (value: PresentationDefinitionV2ClaimValueBindi
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
const v2PresentationClaimToClaim = (claim:
|
|
40
|
+
const v2PresentationClaimToClaim = (claim: PresentationDefinitionV2Claim): Claim => {
|
|
41
41
|
return {
|
|
42
42
|
schema: claim.schema,
|
|
43
43
|
path: claim.path,
|
|
@@ -46,7 +46,7 @@ const v2PresentationClaimToClaim = (claim: PresentationDefinitionV2ClaimBindingD
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
const getAttributeSelectorStatus = (
|
|
49
|
-
claim:
|
|
49
|
+
claim: PresentationDefinitionV2Claim,
|
|
50
50
|
selected: boolean,
|
|
51
51
|
force: boolean,
|
|
52
52
|
): SelectorStatus | undefined => {
|
|
@@ -66,11 +66,11 @@ const getAttributeSelectorStatus = (
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export const shareCredentialCardAttributeFromV2Claim = (
|
|
69
|
-
claim:
|
|
69
|
+
claim: PresentationDefinitionV2Claim,
|
|
70
70
|
selection: string[] | undefined,
|
|
71
71
|
parentShared: boolean,
|
|
72
72
|
parentUserSelected: boolean,
|
|
73
|
-
config:
|
|
73
|
+
config: CoreConfig,
|
|
74
74
|
testID: string,
|
|
75
75
|
nested?: boolean,
|
|
76
76
|
listValue?: boolean,
|
|
@@ -133,7 +133,7 @@ export const shareCredentialCardAttributeFromV2Claim = (
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
export const missingCredentialCardFromFailureHint = (
|
|
136
|
-
failureHint:
|
|
136
|
+
failureHint: CredentialQueryFailureHint | undefined,
|
|
137
137
|
notice: CredentialCardNotice | undefined,
|
|
138
138
|
testID: string,
|
|
139
139
|
labels: ShareCredentialCardLabels,
|
|
@@ -154,12 +154,12 @@ export const missingCredentialCardFromFailureHint = (
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
export const shareCredentialCardFromV2PresentationCredential = (
|
|
157
|
-
credential:
|
|
158
|
-
failureHint:
|
|
157
|
+
credential: PresentationDefinitionV2Credential | undefined,
|
|
158
|
+
failureHint: CredentialQueryFailureHint | undefined,
|
|
159
159
|
expanded: boolean,
|
|
160
160
|
multipleCredentialsAvailable: boolean,
|
|
161
161
|
selectedFields: string[] | undefined,
|
|
162
|
-
config:
|
|
162
|
+
config: CoreConfig,
|
|
163
163
|
testID: string,
|
|
164
164
|
labels: ShareCredentialCardLabels,
|
|
165
165
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -200,10 +200,10 @@ export const shareCredentialCardFromV2PresentationCredential = (
|
|
|
200
200
|
};
|
|
201
201
|
|
|
202
202
|
export const selectCredentialCardFromV2Credential = (
|
|
203
|
-
credential:
|
|
203
|
+
credential: PresentationDefinitionV2Credential,
|
|
204
204
|
selected: boolean,
|
|
205
205
|
multiple: boolean,
|
|
206
|
-
config:
|
|
206
|
+
config: CoreConfig,
|
|
207
207
|
testID: string,
|
|
208
208
|
labels: ShareCredentialCardLabels,
|
|
209
209
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -247,15 +247,13 @@ export const selectCredentialCardFromV2Credential = (
|
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
|
|
250
|
-
export const getV2CredentialClaimAllSubpaths = (claim:
|
|
250
|
+
export const getV2CredentialClaimAllSubpaths = (claim: PresentationDefinitionV2Claim): string[] => {
|
|
251
251
|
if (claim.value.type_ !== 'NESTED') {
|
|
252
252
|
return [claim.path];
|
|
253
253
|
}
|
|
254
254
|
return [claim.path, ...claim.value.value.flatMap(getV2CredentialClaimAllSubpaths)];
|
|
255
255
|
};
|
|
256
256
|
|
|
257
|
-
export const getV2CredentialAvailablePaths = (
|
|
258
|
-
credential: PresentationDefinitionV2CredentialDetailBindingDto,
|
|
259
|
-
): string[] => {
|
|
257
|
+
export const getV2CredentialAvailablePaths = (credential: PresentationDefinitionV2Credential): string[] => {
|
|
260
258
|
return credential.claims.flatMap(getV2CredentialClaimAllSubpaths);
|
|
261
259
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
Claim,
|
|
3
|
+
CoreConfig,
|
|
4
|
+
CredentialDetail,
|
|
5
|
+
PresentationDefinitionField,
|
|
6
|
+
PresentationDefinitionRequestedCredential,
|
|
7
7
|
} from '@procivis/react-native-one-core';
|
|
8
8
|
import React from 'react';
|
|
9
9
|
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
} from './credential';
|
|
30
30
|
|
|
31
31
|
export const validityCheckedCardFromCredential = (
|
|
32
|
-
credential:
|
|
32
|
+
credential: CredentialDetail,
|
|
33
33
|
expanded: boolean,
|
|
34
34
|
multipleCredentialsAvailable: boolean,
|
|
35
|
-
config:
|
|
35
|
+
config: CoreConfig,
|
|
36
36
|
notice: CredentialCardNotice | undefined,
|
|
37
37
|
testID: string,
|
|
38
38
|
labels: ShareCredentialCardLabels,
|
|
@@ -66,7 +66,7 @@ export const validityCheckedCardFromCredential = (
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export const missingCredentialCardFromRequest = (
|
|
69
|
-
request:
|
|
69
|
+
request: PresentationDefinitionRequestedCredential,
|
|
70
70
|
notice: CredentialCardNotice | undefined,
|
|
71
71
|
testID: string,
|
|
72
72
|
labels: ShareCredentialCardLabels,
|
|
@@ -88,17 +88,17 @@ export const missingCredentialCardFromRequest = (
|
|
|
88
88
|
|
|
89
89
|
interface DisplayedAttribute {
|
|
90
90
|
claim?: FlatClaim;
|
|
91
|
-
field?:
|
|
91
|
+
field?: PresentationDefinitionField;
|
|
92
92
|
id: string;
|
|
93
93
|
selected?: boolean;
|
|
94
94
|
status: SelectorStatus;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
const getAttributeSelectorStatus = (
|
|
98
|
-
field:
|
|
98
|
+
field: PresentationDefinitionField,
|
|
99
99
|
validityState: ValidityState,
|
|
100
|
-
credential?:
|
|
101
|
-
claim?:
|
|
100
|
+
credential?: CredentialDetail,
|
|
101
|
+
claim?: Claim,
|
|
102
102
|
selected?: boolean,
|
|
103
103
|
): SelectorStatus => {
|
|
104
104
|
if (!credential || validityState !== ValidityState.Valid) {
|
|
@@ -117,12 +117,12 @@ const getAttributeSelectorStatus = (
|
|
|
117
117
|
return selected ? SelectorStatus.SelectedCheckmark : SelectorStatus.Empty;
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
type FlatClaim =
|
|
120
|
+
type FlatClaim = Claim & {
|
|
121
121
|
isArrayElement?: boolean;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
// Returns a spread list of all claims with their full JSON path as key, including all intermediate objects
|
|
125
|
-
const spreadClaims = (claims:
|
|
125
|
+
const spreadClaims = (claims: Claim[]): FlatClaim[] => {
|
|
126
126
|
return claims.reduce((acc, claim) => {
|
|
127
127
|
const result = [claim];
|
|
128
128
|
if (claim.value.type_ === 'NESTED') {
|
|
@@ -137,9 +137,9 @@ const spreadClaims = (claims: ClaimBindingDto[]): FlatClaim[] => {
|
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
const getDisplayedAttributes = (
|
|
140
|
-
request:
|
|
140
|
+
request: PresentationDefinitionRequestedCredential,
|
|
141
141
|
validityState: ValidityState,
|
|
142
|
-
credential?:
|
|
142
|
+
credential?: CredentialDetail,
|
|
143
143
|
selectiveDisclosureSupported?: boolean,
|
|
144
144
|
selectedFields?: string[],
|
|
145
145
|
): DisplayedAttribute[] => {
|
|
@@ -172,8 +172,8 @@ const getDisplayedAttributes = (
|
|
|
172
172
|
};
|
|
173
173
|
|
|
174
174
|
const getFullyNestedFields = (
|
|
175
|
-
fields:
|
|
176
|
-
credentialId:
|
|
175
|
+
fields: PresentationDefinitionRequestedCredential['fields'],
|
|
176
|
+
credentialId: CredentialDetail['id'],
|
|
177
177
|
) => {
|
|
178
178
|
const allKeys = fields.filter((field) => credentialId in field.keyMap).map((field) => field.keyMap[credentialId]);
|
|
179
179
|
|
|
@@ -185,11 +185,11 @@ const getFullyNestedFields = (
|
|
|
185
185
|
|
|
186
186
|
export const shareCredentialCardAttributeFromClaim = (
|
|
187
187
|
id: string,
|
|
188
|
-
config:
|
|
188
|
+
config: CoreConfig,
|
|
189
189
|
testID: string,
|
|
190
190
|
labels: ShareCredentialCardLabels,
|
|
191
191
|
claim?: FlatClaim,
|
|
192
|
-
field?:
|
|
192
|
+
field?: PresentationDefinitionField,
|
|
193
193
|
): CredentialAttribute => {
|
|
194
194
|
if (claim) {
|
|
195
195
|
return {
|
|
@@ -250,12 +250,12 @@ export type ShareCredentialCardLabels = CardLabels & {
|
|
|
250
250
|
};
|
|
251
251
|
|
|
252
252
|
export const shareCredentialCardFromCredential = (
|
|
253
|
-
credential:
|
|
253
|
+
credential: CredentialDetail | undefined,
|
|
254
254
|
expanded: boolean,
|
|
255
255
|
multipleCredentialsAvailable: boolean,
|
|
256
|
-
request:
|
|
256
|
+
request: PresentationDefinitionRequestedCredential,
|
|
257
257
|
selectedFields: string[] | undefined,
|
|
258
|
-
config:
|
|
258
|
+
config: CoreConfig,
|
|
259
259
|
testID: string,
|
|
260
260
|
labels: ShareCredentialCardLabels,
|
|
261
261
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -316,11 +316,11 @@ export const shareCredentialCardFromCredential = (
|
|
|
316
316
|
|
|
317
317
|
export const selectCredentialCardAttributeFromClaim = (
|
|
318
318
|
id: string,
|
|
319
|
-
config:
|
|
319
|
+
config: CoreConfig,
|
|
320
320
|
testID: string,
|
|
321
321
|
labels: ShareCredentialCardLabels,
|
|
322
322
|
claim?: FlatClaim,
|
|
323
|
-
field?:
|
|
323
|
+
field?: PresentationDefinitionField,
|
|
324
324
|
): CredentialAttribute => {
|
|
325
325
|
const attribute = shareCredentialCardAttributeFromClaim(id, config, testID, labels, claim, field);
|
|
326
326
|
if (!claim) {
|
|
@@ -333,10 +333,10 @@ export const selectCredentialCardAttributeFromClaim = (
|
|
|
333
333
|
};
|
|
334
334
|
|
|
335
335
|
export const selectCredentialCardFromCredential = (
|
|
336
|
-
credential:
|
|
336
|
+
credential: CredentialDetail,
|
|
337
337
|
selected: boolean,
|
|
338
|
-
request:
|
|
339
|
-
config:
|
|
338
|
+
request: PresentationDefinitionRequestedCredential,
|
|
339
|
+
config: CoreConfig,
|
|
340
340
|
testID: string,
|
|
341
341
|
labels: ShareCredentialCardLabels,
|
|
342
342
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
Claim,
|
|
3
|
+
CoreConfig,
|
|
4
|
+
CredentialDetail,
|
|
5
|
+
CredentialListItem,
|
|
6
|
+
CredentialSchemaListItem,
|
|
7
|
+
CredentialState,
|
|
8
|
+
DataType,
|
|
9
|
+
FormatFeature,
|
|
10
10
|
} from '@procivis/react-native-one-core';
|
|
11
11
|
import { FC } from 'react';
|
|
12
12
|
import { SvgProps } from 'react-native-svg';
|
|
@@ -30,27 +30,27 @@ export enum ValidityState {
|
|
|
30
30
|
Valid = 'valid',
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export const getValidityState = (credential:
|
|
34
|
-
if (credential?.state ===
|
|
33
|
+
export const getValidityState = (credential: CredentialListItem | undefined) => {
|
|
34
|
+
if (credential?.state === CredentialState.REVOKED) {
|
|
35
35
|
return ValidityState.Revoked;
|
|
36
36
|
}
|
|
37
|
-
if (credential?.state ===
|
|
37
|
+
if (credential?.state === CredentialState.SUSPENDED) {
|
|
38
38
|
return ValidityState.Suspended;
|
|
39
39
|
}
|
|
40
40
|
return ValidityState.Valid;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export const supportsSelectiveDisclosure = (
|
|
44
|
-
credential:
|
|
45
|
-
config:
|
|
44
|
+
credential: CredentialListItem | undefined,
|
|
45
|
+
config: CoreConfig | undefined,
|
|
46
46
|
) => {
|
|
47
47
|
const formatConfig = credential && config?.format[credential.schema.format];
|
|
48
48
|
return formatConfig
|
|
49
|
-
? Boolean(formatConfig.capabilities?.features?.includes(
|
|
49
|
+
? Boolean(formatConfig.capabilities?.features?.includes(FormatFeature.SelectiveDisclosure))
|
|
50
50
|
: undefined;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
export const findClaimByPath = (path: string | undefined, claims:
|
|
53
|
+
export const findClaimByPath = (path: string | undefined, claims: Claim[]): Claim | undefined => {
|
|
54
54
|
if (!path) {
|
|
55
55
|
return undefined;
|
|
56
56
|
}
|
|
@@ -68,12 +68,12 @@ export const findClaimByPath = (path: string | undefined, claims: ClaimBindingDt
|
|
|
68
68
|
return undefined;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
const formatCredentialDetail = (claim:
|
|
71
|
+
const formatCredentialDetail = (claim: Claim, config: CoreConfig, testID: string): string => {
|
|
72
72
|
const attributeValue = detailsCardAttributeValueFromClaim(claim, config, testID);
|
|
73
73
|
return attributeValue.value ?? '';
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
export const hasMsoValidityIssues = (credential:
|
|
76
|
+
export const hasMsoValidityIssues = (credential: CredentialDetail): boolean => {
|
|
77
77
|
const mdocMsoValidityIssue = Boolean(
|
|
78
78
|
credential.mdocMsoValidity?.nextUpdate && new Date(credential.mdocMsoValidity.nextUpdate) < new Date(),
|
|
79
79
|
);
|
|
@@ -89,9 +89,9 @@ export type CardHeaderLabels = {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
const credentialDetailFromCredential = (
|
|
92
|
-
credential:
|
|
93
|
-
claims:
|
|
94
|
-
config:
|
|
92
|
+
credential: CredentialDetail,
|
|
93
|
+
claims: Claim[] = [],
|
|
94
|
+
config: CoreConfig,
|
|
95
95
|
testID: string,
|
|
96
96
|
labels: CardHeaderLabels,
|
|
97
97
|
): {
|
|
@@ -104,7 +104,7 @@ const credentialDetailFromCredential = (
|
|
|
104
104
|
const { layoutProperties } = credential.schema;
|
|
105
105
|
|
|
106
106
|
switch (credential.state) {
|
|
107
|
-
case
|
|
107
|
+
case CredentialState.SUSPENDED:
|
|
108
108
|
return {
|
|
109
109
|
credentialDetailPrimary: credential.suspendEndDate
|
|
110
110
|
? labels.suspendedUntil(formatDateTimeLocalized(new Date(credential.suspendEndDate))!)
|
|
@@ -112,7 +112,7 @@ const credentialDetailFromCredential = (
|
|
|
112
112
|
credentialDetailTestID: concatTestID(testID, 'suspended'),
|
|
113
113
|
statusIcon: CredentialWarningIcon,
|
|
114
114
|
};
|
|
115
|
-
case
|
|
115
|
+
case CredentialState.REVOKED:
|
|
116
116
|
return {
|
|
117
117
|
credentialDetailPrimary: labels.revoked,
|
|
118
118
|
credentialDetailErrorColor: true,
|
|
@@ -153,9 +153,9 @@ const credentialDetailFromCredential = (
|
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
export const cardHeaderFromCredential = (
|
|
156
|
-
credential:
|
|
157
|
-
claims:
|
|
158
|
-
config:
|
|
156
|
+
credential: CredentialDetail,
|
|
157
|
+
claims: Claim[] = [],
|
|
158
|
+
config: CoreConfig,
|
|
159
159
|
testID: string,
|
|
160
160
|
labels: CardHeaderLabels,
|
|
161
161
|
): Omit<CredentialHeaderProps, 'style'> => {
|
|
@@ -193,9 +193,9 @@ export type CardLabels = CardHeaderLabels & {
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
export const getCredentialCardPropsFromCredential = (
|
|
196
|
-
credential:
|
|
197
|
-
claims:
|
|
198
|
-
config:
|
|
196
|
+
credential: CredentialDetail,
|
|
197
|
+
claims: Claim[] = [],
|
|
198
|
+
config: CoreConfig,
|
|
199
199
|
notice: CredentialCardNotice | undefined,
|
|
200
200
|
testID: string,
|
|
201
201
|
labels: CardLabels,
|
|
@@ -224,8 +224,8 @@ export const getCredentialCardPropsFromCredential = (
|
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
export const detailsCardAttributeFromClaim = (
|
|
227
|
-
claim:
|
|
228
|
-
config:
|
|
227
|
+
claim: Claim,
|
|
228
|
+
config: CoreConfig,
|
|
229
229
|
testID: string,
|
|
230
230
|
): CredentialAttribute => {
|
|
231
231
|
const value = detailsCardAttributeValueFromClaim(claim, config, testID);
|
|
@@ -238,21 +238,21 @@ export const detailsCardAttributeFromClaim = (
|
|
|
238
238
|
};
|
|
239
239
|
|
|
240
240
|
const detailsCardAttributeValueFromClaim = (
|
|
241
|
-
claim:
|
|
242
|
-
config:
|
|
241
|
+
claim: Claim,
|
|
242
|
+
config: CoreConfig,
|
|
243
243
|
testID: string,
|
|
244
244
|
): CredentialAttributeValue => {
|
|
245
245
|
const typeConfig = config?.datatype[claim.schema.datatype];
|
|
246
246
|
|
|
247
247
|
if (claim.schema.array) {
|
|
248
248
|
return {
|
|
249
|
-
values: ((claim.value.value as
|
|
249
|
+
values: ((claim.value.value as Claim[]) || []).map((arrayValue, index) => {
|
|
250
250
|
return detailsCardAttributeFromClaim(arrayValue, config, concatTestID(testID, index.toString()));
|
|
251
251
|
}),
|
|
252
252
|
};
|
|
253
253
|
} else {
|
|
254
254
|
switch (typeConfig?.type) {
|
|
255
|
-
case
|
|
255
|
+
case DataType.Object: {
|
|
256
256
|
if (claim.value.type_ !== 'NESTED') {
|
|
257
257
|
return { attributes: [] };
|
|
258
258
|
}
|
|
@@ -262,7 +262,7 @@ const detailsCardAttributeValueFromClaim = (
|
|
|
262
262
|
),
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
case
|
|
265
|
+
case DataType.Date: {
|
|
266
266
|
if (!claim.value.value) {
|
|
267
267
|
// Don't try to parse empty values (which will return "Invalid Date")
|
|
268
268
|
return { testID: testID, value: String(claim.value.value) };
|
|
@@ -273,8 +273,8 @@ const detailsCardAttributeValueFromClaim = (
|
|
|
273
273
|
value: formatDateLocalized(new Date(date)) ?? date,
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
|
-
case
|
|
277
|
-
case
|
|
276
|
+
case DataType.Picture: // fallback
|
|
277
|
+
case DataType.SwiyuPicture: {
|
|
278
278
|
if (typeConfig.params?.showAs === 'IMAGE') {
|
|
279
279
|
return { image: { uri: claim.value.value as string }, testID: testID };
|
|
280
280
|
} else {
|
|
@@ -292,8 +292,8 @@ export type CredentialDetailsCardPropsWithoutWidth = Omit<CredentialDetailsCardP
|
|
|
292
292
|
};
|
|
293
293
|
|
|
294
294
|
export const detailsCardFromCredential = (
|
|
295
|
-
credential:
|
|
296
|
-
config:
|
|
295
|
+
credential: CredentialDetail,
|
|
296
|
+
config: CoreConfig,
|
|
297
297
|
testID: string,
|
|
298
298
|
labels: CardLabels,
|
|
299
299
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -301,9 +301,9 @@ export const detailsCardFromCredential = (
|
|
|
301
301
|
};
|
|
302
302
|
|
|
303
303
|
export const detailsCardFromCredentialWithClaims = (
|
|
304
|
-
credential:
|
|
305
|
-
claims:
|
|
306
|
-
config:
|
|
304
|
+
credential: CredentialDetail,
|
|
305
|
+
claims: Claim[],
|
|
306
|
+
config: CoreConfig,
|
|
307
307
|
testID: string,
|
|
308
308
|
labels: CardLabels,
|
|
309
309
|
): CredentialDetailsCardPropsWithoutWidth => {
|
|
@@ -402,7 +402,7 @@ function parseBase64Image(image: string | undefined) {
|
|
|
402
402
|
return image ? '__BASE64IMAGE__' : '';
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export function getCredentialSchemaWithoutImages<T extends
|
|
405
|
+
export function getCredentialSchemaWithoutImages<T extends CredentialSchemaListItem>(credentialSchema: T): T {
|
|
406
406
|
return {
|
|
407
407
|
...credentialSchema,
|
|
408
408
|
layoutProperties: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
CredentialListQuery,
|
|
3
|
+
CredentialSchemaListQuery,
|
|
4
|
+
DidListQuery,
|
|
5
|
+
HistoryListQuery,
|
|
6
|
+
IdentifierListQuery,
|
|
7
|
+
ProofListQuery,
|
|
8
|
+
ProofSchemaListQuery,
|
|
9
9
|
} from '@procivis/react-native-one-core';
|
|
10
10
|
|
|
11
11
|
type QueryKey<ListQuery, ParamList> = ParamList extends ReadonlyArray<keyof ListQuery> // all params are inside the ListQuery
|
|
@@ -22,7 +22,7 @@ function getQueryKey<ListQuery extends {}, ParamList extends ReadonlyArray<keyof
|
|
|
22
22
|
return params.map((param) => queryParams[param]) as QueryKey<ListQuery, ParamList>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export const getQueryKeyFromCredentialListQueryParams = (queryParams: Partial<
|
|
25
|
+
export const getQueryKeyFromCredentialListQueryParams = (queryParams: Partial<CredentialListQuery> = {}) => {
|
|
26
26
|
return getQueryKey(queryParams, [
|
|
27
27
|
'page',
|
|
28
28
|
'pageSize',
|
|
@@ -50,10 +50,12 @@ export const getQueryKeyFromCredentialListQueryParams = (queryParams: Partial<Cr
|
|
|
50
50
|
]);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
export const getQueryKeyFromHistoryListQueryParams = (queryParams: Partial<
|
|
53
|
+
export const getQueryKeyFromHistoryListQueryParams = (queryParams: Partial<HistoryListQuery> = {}) => {
|
|
54
54
|
return getQueryKey(queryParams, [
|
|
55
55
|
'page',
|
|
56
56
|
'pageSize',
|
|
57
|
+
'sort',
|
|
58
|
+
'sortDirection',
|
|
57
59
|
'organisationId',
|
|
58
60
|
'entityIds',
|
|
59
61
|
'actions',
|
|
@@ -63,6 +65,7 @@ export const getQueryKeyFromHistoryListQueryParams = (queryParams: Partial<Histo
|
|
|
63
65
|
'identifierId',
|
|
64
66
|
'credentialId',
|
|
65
67
|
'credentialSchemaId',
|
|
68
|
+
'proofId',
|
|
66
69
|
'proofSchemaId',
|
|
67
70
|
'search',
|
|
68
71
|
'users',
|
|
@@ -70,7 +73,7 @@ export const getQueryKeyFromHistoryListQueryParams = (queryParams: Partial<Histo
|
|
|
70
73
|
};
|
|
71
74
|
|
|
72
75
|
export const getQueryKeyFromCredentialSchemaListQueryParams = (
|
|
73
|
-
queryParams: Partial<
|
|
76
|
+
queryParams: Partial<CredentialSchemaListQuery> = {},
|
|
74
77
|
) => {
|
|
75
78
|
return getQueryKey(queryParams, [
|
|
76
79
|
'page',
|
|
@@ -91,9 +94,7 @@ export const getQueryKeyFromCredentialSchemaListQueryParams = (
|
|
|
91
94
|
]);
|
|
92
95
|
};
|
|
93
96
|
|
|
94
|
-
export const getQueryKeyFromProofSchemaListQueryParams = (
|
|
95
|
-
queryParams: Partial<ListProofSchemasFiltersBindingDto> = {},
|
|
96
|
-
) => {
|
|
97
|
+
export const getQueryKeyFromProofSchemaListQueryParams = (queryParams: Partial<ProofSchemaListQuery> = {}) => {
|
|
97
98
|
return getQueryKey(queryParams, [
|
|
98
99
|
'page',
|
|
99
100
|
'pageSize',
|
|
@@ -111,7 +112,7 @@ export const getQueryKeyFromProofSchemaListQueryParams = (
|
|
|
111
112
|
]);
|
|
112
113
|
};
|
|
113
114
|
|
|
114
|
-
export const getQueryKeyFromProofListQueryParams = (queryParams: Partial<
|
|
115
|
+
export const getQueryKeyFromProofListQueryParams = (queryParams: Partial<ProofListQuery> = {}) => {
|
|
115
116
|
return getQueryKey(queryParams, [
|
|
116
117
|
'page',
|
|
117
118
|
'pageSize',
|
|
@@ -136,7 +137,7 @@ export const getQueryKeyFromProofListQueryParams = (queryParams: Partial<ProofLi
|
|
|
136
137
|
]);
|
|
137
138
|
};
|
|
138
139
|
|
|
139
|
-
export const getQueryKeyFromDidListQueryParams = (queryParams: Partial<
|
|
140
|
+
export const getQueryKeyFromDidListQueryParams = (queryParams: Partial<DidListQuery> = {}) => {
|
|
140
141
|
return getQueryKey(queryParams, [
|
|
141
142
|
'page',
|
|
142
143
|
'pageSize',
|
|
@@ -156,11 +157,12 @@ export const getQueryKeyFromDidListQueryParams = (queryParams: Partial<DidListQu
|
|
|
156
157
|
]);
|
|
157
158
|
};
|
|
158
159
|
|
|
159
|
-
export const getQueryKeyFromIdentifierListQueryParams = (queryParams: Partial<
|
|
160
|
+
export const getQueryKeyFromIdentifierListQueryParams = (queryParams: Partial<IdentifierListQuery> = {}) => {
|
|
160
161
|
return getQueryKey(queryParams, [
|
|
161
162
|
'page',
|
|
162
163
|
'pageSize',
|
|
163
164
|
'organisationId',
|
|
165
|
+
'ids',
|
|
164
166
|
'sort',
|
|
165
167
|
'sortDirection',
|
|
166
168
|
'name',
|
|
@@ -172,6 +174,10 @@ export const getQueryKeyFromIdentifierListQueryParams = (queryParams: Partial<Id
|
|
|
172
174
|
'keyAlgorithms',
|
|
173
175
|
'keyRoles',
|
|
174
176
|
'keyStorages',
|
|
177
|
+
'certificateRoles',
|
|
178
|
+
'certificateRolesMatchMode',
|
|
179
|
+
'trustIssuanceSchemaId',
|
|
180
|
+
'trustVerificationSchemaId',
|
|
175
181
|
'createdDateAfter',
|
|
176
182
|
'createdDateBefore',
|
|
177
183
|
'lastModifiedAfter',
|