@sphereon/ssi-sdk.data-store-types 0.36.1-next.115 → 0.36.1-next.129
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.d.cts
CHANGED
|
@@ -12,6 +12,7 @@ interface ILocaleBranding {
|
|
|
12
12
|
description?: string;
|
|
13
13
|
background?: IBackgroundAttributes;
|
|
14
14
|
text?: ITextAttributes;
|
|
15
|
+
state?: string;
|
|
15
16
|
createdAt: Date;
|
|
16
17
|
lastUpdatedAt: Date;
|
|
17
18
|
}
|
|
@@ -67,9 +68,10 @@ interface IBasicCredentialClaim extends Omit<ICredentialClaim, 'id'> {
|
|
|
67
68
|
interface IPartialCredentialClaim extends Partial<ICredentialClaim> {
|
|
68
69
|
}
|
|
69
70
|
interface ICredentialLocaleBranding extends ILocaleBranding {
|
|
71
|
+
state: string;
|
|
70
72
|
claims?: Array<ICredentialClaim>;
|
|
71
73
|
}
|
|
72
|
-
interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims'> {
|
|
74
|
+
interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims' | 'state'> {
|
|
73
75
|
logo?: IBasicImageAttributes;
|
|
74
76
|
background?: IBasicBackgroundAttributes;
|
|
75
77
|
text?: IBasicTextAttributes;
|
|
@@ -86,10 +88,11 @@ interface ICredentialBranding {
|
|
|
86
88
|
issuerCorrelationId: string;
|
|
87
89
|
vcHash: string;
|
|
88
90
|
localeBranding: Array<ICredentialLocaleBranding>;
|
|
91
|
+
state: string;
|
|
89
92
|
createdAt: Date;
|
|
90
93
|
lastUpdatedAt: Date;
|
|
91
94
|
}
|
|
92
|
-
interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
95
|
+
interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding' | 'state'> {
|
|
93
96
|
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
94
97
|
}
|
|
95
98
|
interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
@@ -147,9 +150,14 @@ interface IAddCredentialBrandingArgs {
|
|
|
147
150
|
}
|
|
148
151
|
interface IGetCredentialBrandingArgs {
|
|
149
152
|
filter?: FindCredentialBrandingArgs;
|
|
153
|
+
/**
|
|
154
|
+
* Map of credential branding id to previously received state. When provided, only branding records whose state differs
|
|
155
|
+
* or are not present in this map will be returned.
|
|
156
|
+
*/
|
|
157
|
+
knownStates?: Record<string, string>;
|
|
150
158
|
}
|
|
151
159
|
interface IUpdateCredentialBrandingArgs {
|
|
152
|
-
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
|
|
160
|
+
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
153
161
|
}
|
|
154
162
|
interface IRemoveCredentialBrandingArgs {
|
|
155
163
|
filter: FindCredentialBrandingArgs;
|
|
@@ -159,7 +167,7 @@ interface IAddCredentialLocaleBrandingArgs {
|
|
|
159
167
|
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
160
168
|
}
|
|
161
169
|
interface IUpdateCredentialLocaleBrandingArgs {
|
|
162
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
170
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
163
171
|
}
|
|
164
172
|
interface IRemoveCredentialLocaleBrandingArgs {
|
|
165
173
|
filter: FindCredentialLocaleBrandingArgs;
|
|
@@ -185,7 +193,7 @@ interface IAddIssuerLocaleBrandingArgs {
|
|
|
185
193
|
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
186
194
|
}
|
|
187
195
|
interface IUpdateIssuerLocaleBrandingArgs {
|
|
188
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
196
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
189
197
|
}
|
|
190
198
|
interface IRemoveIssuerLocaleBrandingArgs {
|
|
191
199
|
filter: FindIssuerLocaleBrandingArgs;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ interface ILocaleBranding {
|
|
|
12
12
|
description?: string;
|
|
13
13
|
background?: IBackgroundAttributes;
|
|
14
14
|
text?: ITextAttributes;
|
|
15
|
+
state?: string;
|
|
15
16
|
createdAt: Date;
|
|
16
17
|
lastUpdatedAt: Date;
|
|
17
18
|
}
|
|
@@ -67,9 +68,10 @@ interface IBasicCredentialClaim extends Omit<ICredentialClaim, 'id'> {
|
|
|
67
68
|
interface IPartialCredentialClaim extends Partial<ICredentialClaim> {
|
|
68
69
|
}
|
|
69
70
|
interface ICredentialLocaleBranding extends ILocaleBranding {
|
|
71
|
+
state: string;
|
|
70
72
|
claims?: Array<ICredentialClaim>;
|
|
71
73
|
}
|
|
72
|
-
interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims'> {
|
|
74
|
+
interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims' | 'state'> {
|
|
73
75
|
logo?: IBasicImageAttributes;
|
|
74
76
|
background?: IBasicBackgroundAttributes;
|
|
75
77
|
text?: IBasicTextAttributes;
|
|
@@ -86,10 +88,11 @@ interface ICredentialBranding {
|
|
|
86
88
|
issuerCorrelationId: string;
|
|
87
89
|
vcHash: string;
|
|
88
90
|
localeBranding: Array<ICredentialLocaleBranding>;
|
|
91
|
+
state: string;
|
|
89
92
|
createdAt: Date;
|
|
90
93
|
lastUpdatedAt: Date;
|
|
91
94
|
}
|
|
92
|
-
interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
95
|
+
interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding' | 'state'> {
|
|
93
96
|
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
94
97
|
}
|
|
95
98
|
interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
@@ -147,9 +150,14 @@ interface IAddCredentialBrandingArgs {
|
|
|
147
150
|
}
|
|
148
151
|
interface IGetCredentialBrandingArgs {
|
|
149
152
|
filter?: FindCredentialBrandingArgs;
|
|
153
|
+
/**
|
|
154
|
+
* Map of credential branding id to previously received state. When provided, only branding records whose state differs
|
|
155
|
+
* or are not present in this map will be returned.
|
|
156
|
+
*/
|
|
157
|
+
knownStates?: Record<string, string>;
|
|
150
158
|
}
|
|
151
159
|
interface IUpdateCredentialBrandingArgs {
|
|
152
|
-
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
|
|
160
|
+
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
153
161
|
}
|
|
154
162
|
interface IRemoveCredentialBrandingArgs {
|
|
155
163
|
filter: FindCredentialBrandingArgs;
|
|
@@ -159,7 +167,7 @@ interface IAddCredentialLocaleBrandingArgs {
|
|
|
159
167
|
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
160
168
|
}
|
|
161
169
|
interface IUpdateCredentialLocaleBrandingArgs {
|
|
162
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
170
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
163
171
|
}
|
|
164
172
|
interface IRemoveCredentialLocaleBrandingArgs {
|
|
165
173
|
filter: FindCredentialLocaleBrandingArgs;
|
|
@@ -185,7 +193,7 @@ interface IAddIssuerLocaleBrandingArgs {
|
|
|
185
193
|
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
186
194
|
}
|
|
187
195
|
interface IUpdateIssuerLocaleBrandingArgs {
|
|
188
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
196
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>;
|
|
189
197
|
}
|
|
190
198
|
interface IRemoveIssuerLocaleBrandingArgs {
|
|
191
199
|
filter: FindIssuerLocaleBrandingArgs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.data-store-types",
|
|
3
|
-
"version": "0.36.1-next.
|
|
3
|
+
"version": "0.36.1-next.129+2a4f4386",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@sphereon/ssi-sdk.core": "0.36.1-next.
|
|
25
|
-
"@sphereon/ssi-types": "0.36.1-next.
|
|
24
|
+
"@sphereon/ssi-sdk.core": "0.36.1-next.129+2a4f4386",
|
|
25
|
+
"@sphereon/ssi-types": "0.36.1-next.129+2a4f4386",
|
|
26
26
|
"dcql": "1.0.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-next.
|
|
29
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-next.129+2a4f4386"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"PostgreSQL",
|
|
48
48
|
"Contact Store"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "2a4f43863a1544f53c63485daee40bcb2abbfa81"
|
|
51
51
|
}
|
|
@@ -23,10 +23,15 @@ export interface IAddCredentialBrandingArgs {
|
|
|
23
23
|
|
|
24
24
|
export interface IGetCredentialBrandingArgs {
|
|
25
25
|
filter?: FindCredentialBrandingArgs
|
|
26
|
+
/**
|
|
27
|
+
* Map of credential branding id to previously received state. When provided, only branding records whose state differs
|
|
28
|
+
* or are not present in this map will be returned.
|
|
29
|
+
*/
|
|
30
|
+
knownStates?: Record<string, string>
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
export interface IUpdateCredentialBrandingArgs {
|
|
29
|
-
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>
|
|
34
|
+
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt' | 'state'>
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
export interface IRemoveCredentialBrandingArgs {
|
|
@@ -39,7 +44,7 @@ export interface IAddCredentialLocaleBrandingArgs {
|
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
export interface IUpdateCredentialLocaleBrandingArgs {
|
|
42
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>
|
|
47
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
export interface IRemoveCredentialLocaleBrandingArgs {
|
|
@@ -73,7 +78,7 @@ export interface IAddIssuerLocaleBrandingArgs {
|
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
export interface IUpdateIssuerLocaleBrandingArgs {
|
|
76
|
-
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>
|
|
81
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt' | 'state'>
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
export interface IRemoveIssuerLocaleBrandingArgs {
|
|
@@ -6,6 +6,7 @@ export interface ILocaleBranding {
|
|
|
6
6
|
description?: string
|
|
7
7
|
background?: IBackgroundAttributes
|
|
8
8
|
text?: ITextAttributes
|
|
9
|
+
state?: string
|
|
9
10
|
createdAt: Date
|
|
10
11
|
lastUpdatedAt: Date
|
|
11
12
|
}
|
|
@@ -61,10 +62,11 @@ export interface IBasicCredentialClaim extends Omit<ICredentialClaim, 'id'> {}
|
|
|
61
62
|
export interface IPartialCredentialClaim extends Partial<ICredentialClaim> {}
|
|
62
63
|
|
|
63
64
|
export interface ICredentialLocaleBranding extends ILocaleBranding {
|
|
65
|
+
state: string
|
|
64
66
|
claims?: Array<ICredentialClaim>
|
|
65
67
|
}
|
|
66
68
|
export interface IBasicCredentialLocaleBranding
|
|
67
|
-
extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims'> {
|
|
69
|
+
extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims' | 'state'> {
|
|
68
70
|
logo?: IBasicImageAttributes
|
|
69
71
|
background?: IBasicBackgroundAttributes
|
|
70
72
|
text?: IBasicTextAttributes
|
|
@@ -82,10 +84,11 @@ export interface ICredentialBranding {
|
|
|
82
84
|
issuerCorrelationId: string
|
|
83
85
|
vcHash: string
|
|
84
86
|
localeBranding: Array<ICredentialLocaleBranding>
|
|
87
|
+
state: string
|
|
85
88
|
createdAt: Date
|
|
86
89
|
lastUpdatedAt: Date
|
|
87
90
|
}
|
|
88
|
-
export interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
91
|
+
export interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding' | 'state'> {
|
|
89
92
|
localeBranding: Array<IBasicCredentialLocaleBranding>
|
|
90
93
|
}
|
|
91
94
|
export interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|