@blocklet/did-space-js 1.0.46 → 1.0.47
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.
|
@@ -10,12 +10,10 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
10
10
|
* @description 预览模板的数据
|
|
11
11
|
*/
|
|
12
12
|
data: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
13
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
13
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
14
14
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
15
15
|
}, {
|
|
16
|
-
template: z.ZodLiteral<"app">;
|
|
17
|
-
* @description 预览模板的数据
|
|
18
|
-
*/
|
|
16
|
+
template: z.ZodLiteral<"app">;
|
|
19
17
|
name: z.ZodString;
|
|
20
18
|
logo: z.ZodString;
|
|
21
19
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -29,7 +27,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
29
27
|
name: string;
|
|
30
28
|
logo: string;
|
|
31
29
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
32
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
30
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
33
31
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
34
32
|
}, {
|
|
35
33
|
template: z.ZodLiteral<"nft">;
|
|
@@ -49,7 +47,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
49
47
|
image: string;
|
|
50
48
|
chainHost: string;
|
|
51
49
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
52
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
50
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
53
51
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
54
52
|
}, {
|
|
55
53
|
template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
|
|
@@ -69,7 +67,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
69
67
|
email: string;
|
|
70
68
|
template?: "profile" | undefined;
|
|
71
69
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
72
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
70
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
73
71
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
74
72
|
}, {
|
|
75
73
|
template: z.ZodLiteral<"passport">;
|
|
@@ -101,7 +99,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
101
99
|
issuedTo: string;
|
|
102
100
|
verified: boolean;
|
|
103
101
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
104
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
102
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
105
103
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
106
104
|
}, {
|
|
107
105
|
template: z.ZodLiteral<"post">;
|
|
@@ -124,7 +122,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
124
122
|
createdAt: string;
|
|
125
123
|
tags?: string[] | undefined;
|
|
126
124
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
127
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
125
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
128
126
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
129
127
|
}, {
|
|
130
128
|
template: z.ZodLiteral<"blog">;
|
|
@@ -150,7 +148,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
150
148
|
createdAt: string;
|
|
151
149
|
tags?: string[] | undefined;
|
|
152
150
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
153
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
151
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
154
152
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
155
153
|
}, {
|
|
156
154
|
template: z.ZodLiteral<"bookmark">;
|
|
@@ -176,7 +174,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
176
174
|
createdAt: string;
|
|
177
175
|
tags?: string[] | undefined;
|
|
178
176
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
179
|
-
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
|
|
177
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
180
178
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
181
179
|
}, {
|
|
182
180
|
template: z.ZodLiteral<"project">;
|
|
@@ -201,6 +199,32 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
201
199
|
url: string;
|
|
202
200
|
createdAt: string;
|
|
203
201
|
description?: string | undefined;
|
|
202
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
203
|
+
template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"post">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">, z.ZodLiteral<"doc">]>;
|
|
204
|
+
did: z.ZodEffects<z.ZodString, string, string>;
|
|
205
|
+
}, {
|
|
206
|
+
template: z.ZodLiteral<"doc">;
|
|
207
|
+
title: z.ZodString;
|
|
208
|
+
image: z.ZodString;
|
|
209
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
210
|
+
url: z.ZodString;
|
|
211
|
+
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
212
|
+
}>, "strip", z.ZodTypeAny, {
|
|
213
|
+
template: "doc";
|
|
214
|
+
did: string;
|
|
215
|
+
title: string;
|
|
216
|
+
image: string;
|
|
217
|
+
tags: string[];
|
|
218
|
+
url: string;
|
|
219
|
+
createdAt: string;
|
|
220
|
+
}, {
|
|
221
|
+
template: "doc";
|
|
222
|
+
did: string;
|
|
223
|
+
title: string;
|
|
224
|
+
image: string;
|
|
225
|
+
url: string;
|
|
226
|
+
createdAt: string;
|
|
227
|
+
tags?: string[] | undefined;
|
|
204
228
|
}>]>;
|
|
205
229
|
/**
|
|
206
230
|
* @description 存储元数据
|
|
@@ -288,6 +312,14 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
288
312
|
url: string;
|
|
289
313
|
createdAt: string;
|
|
290
314
|
description?: string | undefined;
|
|
315
|
+
} | {
|
|
316
|
+
template: "doc";
|
|
317
|
+
did: string;
|
|
318
|
+
title: string;
|
|
319
|
+
image: string;
|
|
320
|
+
tags: string[];
|
|
321
|
+
url: string;
|
|
322
|
+
createdAt: string;
|
|
291
323
|
};
|
|
292
324
|
metadata: Record<string, any>;
|
|
293
325
|
key: string;
|
|
@@ -357,6 +389,14 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
|
|
|
357
389
|
url: string;
|
|
358
390
|
createdAt: string;
|
|
359
391
|
description?: string | undefined;
|
|
392
|
+
} | {
|
|
393
|
+
template: "doc";
|
|
394
|
+
did: string;
|
|
395
|
+
title: string;
|
|
396
|
+
image: string;
|
|
397
|
+
url: string;
|
|
398
|
+
createdAt: string;
|
|
399
|
+
tags?: string[] | undefined;
|
|
360
400
|
};
|
|
361
401
|
key: string;
|
|
362
402
|
metadata?: Record<string, any> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/did-space-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@arcblock/jwt": "^1.19.20",
|
|
34
34
|
"@arcblock/validator": "^1.19.20",
|
|
35
35
|
"@blocklet/env": "^1.16.42-beta-20250413-121549-22e9a196",
|
|
36
|
-
"@did-space/core": "^1.0.
|
|
36
|
+
"@did-space/core": "^1.0.47",
|
|
37
37
|
"@ocap/mcrypto": "^1.19.20",
|
|
38
38
|
"@ocap/util": "^1.19.20",
|
|
39
39
|
"@ocap/wallet": "^1.19.20",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"ts-jest": "^28.0.8",
|
|
78
78
|
"typescript": "^4.9.5"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "8e5a637e9dd1ed906a7999056313857d0ca07ed2"
|
|
81
81
|
}
|