@sphereon/ssi-sdk.issuance-branding 0.33.1-feature.vcdm2.tsup.32 → 0.33.1-next.2
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/agent/IssuanceBranding.d.ts +56 -0
- package/dist/agent/IssuanceBranding.d.ts.map +1 -0
- package/dist/agent/IssuanceBranding.js +288 -0
- package/dist/agent/IssuanceBranding.js.map +1 -0
- package/dist/index.d.ts +4 -148
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -1489
- package/dist/index.js.map +1 -1
- package/dist/{index.d.cts → ssi-sdk.issuance-branding.d.ts} +188 -152
- package/dist/tsdoc-metadata.json +11 -0
- package/dist/types/IIssuanceBranding.d.ts +92 -0
- package/dist/types/IIssuanceBranding.d.ts.map +1 -0
- package/dist/types/IIssuanceBranding.js +3 -0
- package/dist/types/IIssuanceBranding.js.map +1 -0
- package/package.json +13 -24
- package/dist/index.cjs +0 -1522
- package/dist/index.cjs.map +0 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { IAgentContext, IPluginMethodMap } from '@veramo/core';
|
|
2
|
+
import { ICredentialBranding, IIssuerBranding, IBasicImageDimensions, FindCredentialBrandingArgs, FindIssuerBrandingArgs, FindCredentialLocaleBrandingArgs, FindIssuerLocaleBrandingArgs, ILocaleBranding, ICredentialLocaleBranding, IIssuerLocaleBranding, IBasicCredentialLocaleBranding, IBasicIssuerLocaleBranding } from '@sphereon/ssi-sdk.data-store';
|
|
3
|
+
export interface IIssuanceBranding extends IPluginMethodMap {
|
|
4
|
+
ibAddCredentialBranding(args: IAddCredentialBrandingArgs, context: IRequiredContext): Promise<ICredentialBranding>;
|
|
5
|
+
ibGetCredentialBranding(args: IGetCredentialBrandingArgs): Promise<Array<ICredentialBranding>>;
|
|
6
|
+
ibUpdateCredentialBranding(args: IUpdateCredentialBrandingArgs, context: IRequiredContext): Promise<ICredentialBranding>;
|
|
7
|
+
ibRemoveCredentialBranding(args: IRemoveCredentialBrandingArgs, context: IRequiredContext): Promise<IDeletionResult>;
|
|
8
|
+
ibAddCredentialLocaleBranding(args: IAddCredentialLocaleBrandingArgs, context: IRequiredContext): Promise<ICredentialBranding>;
|
|
9
|
+
ibGetCredentialLocaleBranding(args: IGetCredentialLocaleBrandingArgs): Promise<Array<ICredentialLocaleBranding>>;
|
|
10
|
+
ibRemoveCredentialLocaleBranding(args: IRemoveCredentialLocaleBrandingArgs, context: IRequiredContext): Promise<IDeletionResult>;
|
|
11
|
+
ibUpdateCredentialLocaleBranding(args: IUpdateCredentialLocaleBrandingArgs, context: IRequiredContext): Promise<ICredentialLocaleBranding>;
|
|
12
|
+
ibCredentialLocaleBrandingFrom(args: ICredentialBrandingFromArgs, context: IRequiredContext): Promise<IBasicCredentialLocaleBranding>;
|
|
13
|
+
ibAddIssuerBranding(args: IAddIssuerBrandingArgs, context: IRequiredContext): Promise<IIssuerBranding>;
|
|
14
|
+
ibGetIssuerBranding(args: IGetIssuerBrandingArgs): Promise<Array<IIssuerBranding>>;
|
|
15
|
+
ibUpdateIssuerBranding(args: IUpdateIssuerBrandingArgs, context: IRequiredContext): Promise<IIssuerBranding>;
|
|
16
|
+
ibRemoveIssuerBranding(args: IRemoveIssuerBrandingArgs, context: IRequiredContext): Promise<IDeletionResult>;
|
|
17
|
+
ibAddIssuerLocaleBranding(args: IAddIssuerLocaleBrandingArgs, context: IRequiredContext): Promise<IIssuerBranding>;
|
|
18
|
+
ibGetIssuerLocaleBranding(args: IGetIssuerLocaleBrandingArgs): Promise<Array<IIssuerLocaleBranding>>;
|
|
19
|
+
ibRemoveIssuerLocaleBranding(args: IRemoveIssuerLocaleBrandingArgs, context: IRequiredContext): Promise<IDeletionResult>;
|
|
20
|
+
ibUpdateIssuerLocaleBranding(args: IUpdateIssuerLocaleBrandingArgs, context: IRequiredContext): Promise<IIssuerLocaleBranding>;
|
|
21
|
+
ibIssuerLocaleBrandingFrom(args: IIssuerBrandingFromArgs, context: IRequiredContext): Promise<IBasicIssuerLocaleBranding>;
|
|
22
|
+
}
|
|
23
|
+
export interface IGetCredentialBrandingArgs {
|
|
24
|
+
filter?: FindCredentialBrandingArgs;
|
|
25
|
+
}
|
|
26
|
+
export interface IAdditionalImageAttributes {
|
|
27
|
+
mediaType?: string;
|
|
28
|
+
dataUri?: string;
|
|
29
|
+
dimensions: IBasicImageDimensions;
|
|
30
|
+
}
|
|
31
|
+
export interface IUpdateCredentialBrandingArgs {
|
|
32
|
+
credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
|
|
33
|
+
}
|
|
34
|
+
export interface IRemoveCredentialBrandingArgs {
|
|
35
|
+
filter: FindCredentialBrandingArgs;
|
|
36
|
+
}
|
|
37
|
+
export interface IUpdateIssuerBrandingArgs {
|
|
38
|
+
issuerBranding: Omit<IIssuerBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
|
|
39
|
+
}
|
|
40
|
+
export interface IRemoveIssuerBrandingArgs {
|
|
41
|
+
filter: FindIssuerBrandingArgs;
|
|
42
|
+
}
|
|
43
|
+
export interface IAddIssuerBrandingArgs {
|
|
44
|
+
issuerCorrelationId: string;
|
|
45
|
+
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
46
|
+
}
|
|
47
|
+
export interface IGetIssuerBrandingArgs {
|
|
48
|
+
filter?: FindIssuerBrandingArgs;
|
|
49
|
+
}
|
|
50
|
+
export interface IAddCredentialBrandingArgs {
|
|
51
|
+
issuerCorrelationId: string;
|
|
52
|
+
vcHash: string;
|
|
53
|
+
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
54
|
+
}
|
|
55
|
+
export interface IAddCredentialLocaleBrandingArgs {
|
|
56
|
+
credentialBrandingId: string;
|
|
57
|
+
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
58
|
+
}
|
|
59
|
+
export interface IAddIssuerLocaleBrandingArgs {
|
|
60
|
+
issuerBrandingId: string;
|
|
61
|
+
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
62
|
+
}
|
|
63
|
+
export interface IGetCredentialLocaleBrandingArgs {
|
|
64
|
+
filter?: FindCredentialLocaleBrandingArgs;
|
|
65
|
+
}
|
|
66
|
+
export interface IGetIssuerLocaleBrandingArgs {
|
|
67
|
+
filter?: FindIssuerLocaleBrandingArgs;
|
|
68
|
+
}
|
|
69
|
+
export interface IRemoveCredentialLocaleBrandingArgs {
|
|
70
|
+
filter: FindCredentialLocaleBrandingArgs;
|
|
71
|
+
}
|
|
72
|
+
export interface IRemoveIssuerLocaleBrandingArgs {
|
|
73
|
+
filter: FindIssuerLocaleBrandingArgs;
|
|
74
|
+
}
|
|
75
|
+
export interface IUpdateCredentialLocaleBrandingArgs {
|
|
76
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
77
|
+
}
|
|
78
|
+
export interface IUpdateIssuerLocaleBrandingArgs {
|
|
79
|
+
localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
|
|
80
|
+
}
|
|
81
|
+
export interface ICredentialBrandingFromArgs {
|
|
82
|
+
localeBranding: IBasicCredentialLocaleBranding;
|
|
83
|
+
}
|
|
84
|
+
export interface IIssuerBrandingFromArgs {
|
|
85
|
+
localeBranding: IBasicIssuerLocaleBranding;
|
|
86
|
+
}
|
|
87
|
+
export interface IDeletionResult {
|
|
88
|
+
result: boolean;
|
|
89
|
+
error?: string;
|
|
90
|
+
}
|
|
91
|
+
export type IRequiredContext = IAgentContext<never>;
|
|
92
|
+
//# sourceMappingURL=IIssuanceBranding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IIssuanceBranding.d.ts","sourceRoot":"","sources":["../../src/types/IIssuanceBranding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,qB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,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,8BAA8B,CAAA;CAC/C;AAED,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,0BAA0B,CAAA;CAC3C;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IIssuanceBranding.js","sourceRoot":"","sources":["../../src/types/IIssuanceBranding.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,45 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.issuance-branding",
|
|
3
|
-
"version": "0.33.1-
|
|
3
|
+
"version": "0.33.1-next.2+6f7f40b9",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
"react-native": "./dist/index.js",
|
|
11
|
-
"import": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js"
|
|
14
|
-
},
|
|
15
|
-
"require": {
|
|
16
|
-
"types": "./dist/index.d.cts",
|
|
17
|
-
"require": "./dist/index.cjs"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
20
7
|
"veramo": {
|
|
21
8
|
"pluginInterfaces": {
|
|
22
9
|
"IIssuanceBranding": "./src/types/IIssuanceBranding.ts"
|
|
23
10
|
}
|
|
24
11
|
},
|
|
25
12
|
"scripts": {
|
|
26
|
-
"build": "
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"build:clean": "tsc --build --clean && tsc --build",
|
|
27
15
|
"generate-plugin-schema": "ts-node ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
|
|
28
16
|
},
|
|
29
17
|
"dependencies": {
|
|
30
|
-
"@sphereon/ssi-sdk.core": "
|
|
31
|
-
"@sphereon/ssi-sdk.data-store": "
|
|
18
|
+
"@sphereon/ssi-sdk.core": "0.33.1-next.2+6f7f40b9",
|
|
19
|
+
"@sphereon/ssi-sdk.data-store": "0.33.1-next.2+6f7f40b9",
|
|
32
20
|
"debug": "^4.3.5",
|
|
33
|
-
"typeorm": "0.3.
|
|
21
|
+
"typeorm": "^0.3.21"
|
|
34
22
|
},
|
|
35
23
|
"devDependencies": {
|
|
36
|
-
"@sphereon/ssi-sdk.agent-config": "
|
|
24
|
+
"@sphereon/ssi-sdk.agent-config": "0.33.1-next.2+6f7f40b9",
|
|
37
25
|
"@veramo/remote-client": "4.2.0",
|
|
38
26
|
"@veramo/remote-server": "4.2.0"
|
|
39
27
|
},
|
|
40
28
|
"files": [
|
|
41
|
-
"dist",
|
|
42
|
-
"src",
|
|
29
|
+
"dist/**/*",
|
|
30
|
+
"src/**/*",
|
|
43
31
|
"README.md",
|
|
44
32
|
"plugin.schema.json",
|
|
45
33
|
"LICENSE"
|
|
@@ -61,5 +49,6 @@
|
|
|
61
49
|
"OID4VCI",
|
|
62
50
|
"SSI"
|
|
63
51
|
],
|
|
64
|
-
"
|
|
52
|
+
"nx": {},
|
|
53
|
+
"gitHead": "6f7f40b94beb385369fede046c3912bd0c053408"
|
|
65
54
|
}
|