@did-space/core 1.0.48 → 1.0.49
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/cjs/meta/template/preview/app.d.ts +3 -4
- package/dist/cjs/meta/template/preview/blog.d.ts +3 -4
- package/dist/cjs/meta/template/preview/bookmark.d.ts +3 -4
- package/dist/cjs/meta/template/preview/default.d.ts +27 -36
- package/dist/cjs/meta/template/preview/docs.d.ts +3 -4
- package/dist/cjs/meta/template/preview/nft.d.ts +3 -4
- package/dist/cjs/meta/template/preview/passport.d.ts +3 -4
- package/dist/cjs/meta/template/preview/post.d.ts +3 -4
- package/dist/cjs/meta/template/preview/profile.d.ts +3 -4
- package/dist/cjs/meta/template/preview/project.d.ts +3 -4
- package/dist/cjs/model/audit-log.d.ts +3 -4
- package/dist/es/meta/template/preview/app.d.ts +3 -4
- package/dist/es/meta/template/preview/blog.d.ts +3 -4
- package/dist/es/meta/template/preview/bookmark.d.ts +3 -4
- package/dist/es/meta/template/preview/default.d.ts +27 -36
- package/dist/es/meta/template/preview/docs.d.ts +3 -4
- package/dist/es/meta/template/preview/nft.d.ts +3 -4
- package/dist/es/meta/template/preview/passport.d.ts +3 -4
- package/dist/es/meta/template/preview/post.d.ts +3 -4
- package/dist/es/meta/template/preview/profile.d.ts +3 -4
- package/dist/es/meta/template/preview/project.d.ts +3 -4
- package/dist/es/model/audit-log.d.ts +3 -4
- package/package.json +7 -7
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const AppPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const AppPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"app">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
logo: z.ZodString;
|
|
9
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
9
|
template: "app";
|
|
11
10
|
did: string;
|
|
12
11
|
name: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BlogPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const BlogPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"blog">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "blog";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BookmarkPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const BookmarkPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"bookmark">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "bookmark";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"app">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
logo: z.ZodString;
|
|
9
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
9
|
template: "app";
|
|
11
10
|
did: string;
|
|
12
11
|
name: string;
|
|
@@ -16,15 +15,14 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
16
15
|
did: string;
|
|
17
16
|
name: string;
|
|
18
17
|
logo: string;
|
|
19
|
-
}>, z.ZodObject<
|
|
20
|
-
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">]>;
|
|
18
|
+
}>, z.ZodObject<{
|
|
21
19
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
22
|
-
}
|
|
20
|
+
} & {
|
|
23
21
|
template: z.ZodLiteral<"nft">;
|
|
24
22
|
name: z.ZodString;
|
|
25
23
|
image: z.ZodString;
|
|
26
24
|
chainHost: z.ZodString;
|
|
27
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
26
|
template: "nft";
|
|
29
27
|
did: string;
|
|
30
28
|
name: string;
|
|
@@ -36,15 +34,14 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
36
34
|
name: string;
|
|
37
35
|
image: string;
|
|
38
36
|
chainHost: string;
|
|
39
|
-
}>, z.ZodObject<
|
|
40
|
-
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">]>;
|
|
37
|
+
}>, z.ZodObject<{
|
|
41
38
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
42
|
-
}
|
|
39
|
+
} & {
|
|
43
40
|
template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
|
|
44
41
|
avatar: z.ZodString;
|
|
45
42
|
fullname: z.ZodString;
|
|
46
43
|
email: z.ZodString;
|
|
47
|
-
}
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
45
|
template: "profile";
|
|
49
46
|
did: string;
|
|
50
47
|
avatar: string;
|
|
@@ -56,10 +53,9 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
56
53
|
fullname: string;
|
|
57
54
|
email: string;
|
|
58
55
|
template?: "profile" | undefined;
|
|
59
|
-
}>, z.ZodObject<
|
|
60
|
-
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">]>;
|
|
56
|
+
}>, z.ZodObject<{
|
|
61
57
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
62
|
-
}
|
|
58
|
+
} & {
|
|
63
59
|
template: z.ZodLiteral<"passport">;
|
|
64
60
|
image: z.ZodString;
|
|
65
61
|
type: z.ZodArray<z.ZodString, "many">;
|
|
@@ -68,7 +64,7 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
68
64
|
issuedAt: z.ZodString;
|
|
69
65
|
issuedTo: z.ZodString;
|
|
70
66
|
verified: z.ZodBoolean;
|
|
71
|
-
}
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
68
|
type: string[];
|
|
73
69
|
template: "passport";
|
|
74
70
|
did: string;
|
|
@@ -88,16 +84,15 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
88
84
|
issuedAt: string;
|
|
89
85
|
issuedTo: string;
|
|
90
86
|
verified: boolean;
|
|
91
|
-
}>, z.ZodObject<
|
|
92
|
-
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">]>;
|
|
87
|
+
}>, z.ZodObject<{
|
|
93
88
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
94
|
-
}
|
|
89
|
+
} & {
|
|
95
90
|
template: z.ZodLiteral<"post">;
|
|
96
91
|
title: z.ZodString;
|
|
97
92
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
98
93
|
url: z.ZodString;
|
|
99
94
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
100
|
-
}
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
96
|
template: "post";
|
|
102
97
|
did: string;
|
|
103
98
|
title: string;
|
|
@@ -111,17 +106,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
111
106
|
url: string;
|
|
112
107
|
createdAt: string;
|
|
113
108
|
tags?: string[] | undefined;
|
|
114
|
-
}>, z.ZodObject<
|
|
115
|
-
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">]>;
|
|
109
|
+
}>, z.ZodObject<{
|
|
116
110
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
117
|
-
}
|
|
111
|
+
} & {
|
|
118
112
|
template: z.ZodLiteral<"blog">;
|
|
119
113
|
title: z.ZodString;
|
|
120
114
|
image: z.ZodString;
|
|
121
115
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
122
116
|
url: z.ZodString;
|
|
123
117
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
124
|
-
}
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
119
|
template: "blog";
|
|
126
120
|
did: string;
|
|
127
121
|
title: string;
|
|
@@ -137,17 +131,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
137
131
|
url: string;
|
|
138
132
|
createdAt: string;
|
|
139
133
|
tags?: string[] | undefined;
|
|
140
|
-
}>, z.ZodObject<
|
|
141
|
-
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">]>;
|
|
134
|
+
}>, z.ZodObject<{
|
|
142
135
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
143
|
-
}
|
|
136
|
+
} & {
|
|
144
137
|
template: z.ZodLiteral<"bookmark">;
|
|
145
138
|
title: z.ZodString;
|
|
146
139
|
image: z.ZodString;
|
|
147
140
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
148
141
|
url: z.ZodString;
|
|
149
142
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
150
|
-
}
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
144
|
template: "bookmark";
|
|
152
145
|
did: string;
|
|
153
146
|
title: string;
|
|
@@ -163,17 +156,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
163
156
|
url: string;
|
|
164
157
|
createdAt: string;
|
|
165
158
|
tags?: string[] | undefined;
|
|
166
|
-
}>, z.ZodObject<
|
|
167
|
-
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">]>;
|
|
159
|
+
}>, z.ZodObject<{
|
|
168
160
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
169
|
-
}
|
|
161
|
+
} & {
|
|
170
162
|
template: z.ZodLiteral<"project">;
|
|
171
163
|
name: z.ZodString;
|
|
172
164
|
description: z.ZodOptional<z.ZodString>;
|
|
173
165
|
image: z.ZodString;
|
|
174
166
|
url: z.ZodString;
|
|
175
167
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
176
|
-
}
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
177
169
|
template: "project";
|
|
178
170
|
did: string;
|
|
179
171
|
name: string;
|
|
@@ -189,17 +181,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
189
181
|
url: string;
|
|
190
182
|
createdAt: string;
|
|
191
183
|
description?: string | undefined;
|
|
192
|
-
}>, z.ZodObject<
|
|
193
|
-
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">]>;
|
|
184
|
+
}>, z.ZodObject<{
|
|
194
185
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
195
|
-
}
|
|
186
|
+
} & {
|
|
196
187
|
template: z.ZodLiteral<"doc">;
|
|
197
188
|
title: z.ZodString;
|
|
198
189
|
image: z.ZodString;
|
|
199
190
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
200
191
|
url: z.ZodString;
|
|
201
192
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
202
|
-
}
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
194
|
template: "doc";
|
|
204
195
|
did: string;
|
|
205
196
|
title: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const DocPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const DocPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"doc">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "doc";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const NftPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const NftPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"nft">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
chainHost: z.ZodString;
|
|
10
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
template: "nft";
|
|
12
11
|
did: string;
|
|
13
12
|
name: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const PassportPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PassportPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"passport">;
|
|
7
6
|
image: z.ZodString;
|
|
8
7
|
type: z.ZodArray<z.ZodString, "many">;
|
|
@@ -11,7 +10,7 @@ export declare const PassportPreviewTemplateSchema: z.ZodObject<z.objectUtil.ext
|
|
|
11
10
|
issuedAt: z.ZodString;
|
|
12
11
|
issuedTo: z.ZodString;
|
|
13
12
|
verified: z.ZodBoolean;
|
|
14
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
14
|
type: string[];
|
|
16
15
|
template: "passport";
|
|
17
16
|
did: string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const PostPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PostPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"post">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9
8
|
url: z.ZodString;
|
|
10
9
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
11
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
11
|
template: "post";
|
|
13
12
|
did: string;
|
|
14
13
|
title: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ProfilePreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const ProfilePreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
|
|
7
6
|
avatar: z.ZodString;
|
|
8
7
|
fullname: z.ZodString;
|
|
9
8
|
email: z.ZodString;
|
|
10
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
template: "profile";
|
|
12
11
|
did: string;
|
|
13
12
|
avatar: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ProjectPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const ProjectPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"project">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
description: z.ZodOptional<z.ZodString>;
|
|
9
8
|
image: z.ZodString;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "project";
|
|
14
13
|
did: string;
|
|
15
14
|
name: string;
|
|
@@ -363,8 +363,7 @@ export declare const AuditLogSchema: z.ZodObject<{
|
|
|
363
363
|
reason?: string | undefined;
|
|
364
364
|
env?: Record<string, any> | undefined;
|
|
365
365
|
}>;
|
|
366
|
-
export declare const CreationAuditLogSchema: z.ZodObject<
|
|
367
|
-
id: z.ZodString;
|
|
366
|
+
export declare const CreationAuditLogSchema: z.ZodObject<{
|
|
368
367
|
actionType: z.ZodNativeEnum<typeof AuditLogAction>;
|
|
369
368
|
entityId: z.ZodString;
|
|
370
369
|
entityName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -494,9 +493,9 @@ export declare const CreationAuditLogSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
494
493
|
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
495
494
|
createdAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
496
495
|
updatedAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
497
|
-
}
|
|
496
|
+
} & {
|
|
498
497
|
id: z.ZodOptional<z.ZodString>;
|
|
499
|
-
}
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
499
|
status: AuditLogStatus;
|
|
501
500
|
createdAt: string;
|
|
502
501
|
updatedAt: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const AppPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const AppPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"app">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
logo: z.ZodString;
|
|
9
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
9
|
template: "app";
|
|
11
10
|
did: string;
|
|
12
11
|
name: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BlogPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const BlogPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"blog">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "blog";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BookmarkPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const BookmarkPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"bookmark">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "bookmark";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"app">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
logo: z.ZodString;
|
|
9
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
9
|
template: "app";
|
|
11
10
|
did: string;
|
|
12
11
|
name: string;
|
|
@@ -16,15 +15,14 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
16
15
|
did: string;
|
|
17
16
|
name: string;
|
|
18
17
|
logo: string;
|
|
19
|
-
}>, z.ZodObject<
|
|
20
|
-
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">]>;
|
|
18
|
+
}>, z.ZodObject<{
|
|
21
19
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
22
|
-
}
|
|
20
|
+
} & {
|
|
23
21
|
template: z.ZodLiteral<"nft">;
|
|
24
22
|
name: z.ZodString;
|
|
25
23
|
image: z.ZodString;
|
|
26
24
|
chainHost: z.ZodString;
|
|
27
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
26
|
template: "nft";
|
|
29
27
|
did: string;
|
|
30
28
|
name: string;
|
|
@@ -36,15 +34,14 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
36
34
|
name: string;
|
|
37
35
|
image: string;
|
|
38
36
|
chainHost: string;
|
|
39
|
-
}>, z.ZodObject<
|
|
40
|
-
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">]>;
|
|
37
|
+
}>, z.ZodObject<{
|
|
41
38
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
42
|
-
}
|
|
39
|
+
} & {
|
|
43
40
|
template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
|
|
44
41
|
avatar: z.ZodString;
|
|
45
42
|
fullname: z.ZodString;
|
|
46
43
|
email: z.ZodString;
|
|
47
|
-
}
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
45
|
template: "profile";
|
|
49
46
|
did: string;
|
|
50
47
|
avatar: string;
|
|
@@ -56,10 +53,9 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
56
53
|
fullname: string;
|
|
57
54
|
email: string;
|
|
58
55
|
template?: "profile" | undefined;
|
|
59
|
-
}>, z.ZodObject<
|
|
60
|
-
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">]>;
|
|
56
|
+
}>, z.ZodObject<{
|
|
61
57
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
62
|
-
}
|
|
58
|
+
} & {
|
|
63
59
|
template: z.ZodLiteral<"passport">;
|
|
64
60
|
image: z.ZodString;
|
|
65
61
|
type: z.ZodArray<z.ZodString, "many">;
|
|
@@ -68,7 +64,7 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
68
64
|
issuedAt: z.ZodString;
|
|
69
65
|
issuedTo: z.ZodString;
|
|
70
66
|
verified: z.ZodBoolean;
|
|
71
|
-
}
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
68
|
type: string[];
|
|
73
69
|
template: "passport";
|
|
74
70
|
did: string;
|
|
@@ -88,16 +84,15 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
88
84
|
issuedAt: string;
|
|
89
85
|
issuedTo: string;
|
|
90
86
|
verified: boolean;
|
|
91
|
-
}>, z.ZodObject<
|
|
92
|
-
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">]>;
|
|
87
|
+
}>, z.ZodObject<{
|
|
93
88
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
94
|
-
}
|
|
89
|
+
} & {
|
|
95
90
|
template: z.ZodLiteral<"post">;
|
|
96
91
|
title: z.ZodString;
|
|
97
92
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
98
93
|
url: z.ZodString;
|
|
99
94
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
100
|
-
}
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
96
|
template: "post";
|
|
102
97
|
did: string;
|
|
103
98
|
title: string;
|
|
@@ -111,17 +106,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
111
106
|
url: string;
|
|
112
107
|
createdAt: string;
|
|
113
108
|
tags?: string[] | undefined;
|
|
114
|
-
}>, z.ZodObject<
|
|
115
|
-
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">]>;
|
|
109
|
+
}>, z.ZodObject<{
|
|
116
110
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
117
|
-
}
|
|
111
|
+
} & {
|
|
118
112
|
template: z.ZodLiteral<"blog">;
|
|
119
113
|
title: z.ZodString;
|
|
120
114
|
image: z.ZodString;
|
|
121
115
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
122
116
|
url: z.ZodString;
|
|
123
117
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
124
|
-
}
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
119
|
template: "blog";
|
|
126
120
|
did: string;
|
|
127
121
|
title: string;
|
|
@@ -137,17 +131,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
137
131
|
url: string;
|
|
138
132
|
createdAt: string;
|
|
139
133
|
tags?: string[] | undefined;
|
|
140
|
-
}>, z.ZodObject<
|
|
141
|
-
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">]>;
|
|
134
|
+
}>, z.ZodObject<{
|
|
142
135
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
143
|
-
}
|
|
136
|
+
} & {
|
|
144
137
|
template: z.ZodLiteral<"bookmark">;
|
|
145
138
|
title: z.ZodString;
|
|
146
139
|
image: z.ZodString;
|
|
147
140
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
148
141
|
url: z.ZodString;
|
|
149
142
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
150
|
-
}
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
144
|
template: "bookmark";
|
|
152
145
|
did: string;
|
|
153
146
|
title: string;
|
|
@@ -163,17 +156,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
163
156
|
url: string;
|
|
164
157
|
createdAt: string;
|
|
165
158
|
tags?: string[] | undefined;
|
|
166
|
-
}>, z.ZodObject<
|
|
167
|
-
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">]>;
|
|
159
|
+
}>, z.ZodObject<{
|
|
168
160
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
169
|
-
}
|
|
161
|
+
} & {
|
|
170
162
|
template: z.ZodLiteral<"project">;
|
|
171
163
|
name: z.ZodString;
|
|
172
164
|
description: z.ZodOptional<z.ZodString>;
|
|
173
165
|
image: z.ZodString;
|
|
174
166
|
url: z.ZodString;
|
|
175
167
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
176
|
-
}
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
177
169
|
template: "project";
|
|
178
170
|
did: string;
|
|
179
171
|
name: string;
|
|
@@ -189,17 +181,16 @@ export declare const PreviewTemplateSchema: z.ZodUnion<[z.ZodObject<z.objectUtil
|
|
|
189
181
|
url: string;
|
|
190
182
|
createdAt: string;
|
|
191
183
|
description?: string | undefined;
|
|
192
|
-
}>, z.ZodObject<
|
|
193
|
-
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">]>;
|
|
184
|
+
}>, z.ZodObject<{
|
|
194
185
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
195
|
-
}
|
|
186
|
+
} & {
|
|
196
187
|
template: z.ZodLiteral<"doc">;
|
|
197
188
|
title: z.ZodString;
|
|
198
189
|
image: z.ZodString;
|
|
199
190
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
200
191
|
url: z.ZodString;
|
|
201
192
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
202
|
-
}
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
194
|
template: "doc";
|
|
204
195
|
did: string;
|
|
205
196
|
title: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const DocPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const DocPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"doc">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "doc";
|
|
14
13
|
did: string;
|
|
15
14
|
title: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const NftPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const NftPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"nft">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
image: z.ZodString;
|
|
9
8
|
chainHost: z.ZodString;
|
|
10
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
template: "nft";
|
|
12
11
|
did: string;
|
|
13
12
|
name: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const PassportPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PassportPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"passport">;
|
|
7
6
|
image: z.ZodString;
|
|
8
7
|
type: z.ZodArray<z.ZodString, "many">;
|
|
@@ -11,7 +10,7 @@ export declare const PassportPreviewTemplateSchema: z.ZodObject<z.objectUtil.ext
|
|
|
11
10
|
issuedAt: z.ZodString;
|
|
12
11
|
issuedTo: z.ZodString;
|
|
13
12
|
verified: z.ZodBoolean;
|
|
14
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
14
|
type: string[];
|
|
16
15
|
template: "passport";
|
|
17
16
|
did: string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const PostPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const PostPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"post">;
|
|
7
6
|
title: z.ZodString;
|
|
8
7
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9
8
|
url: z.ZodString;
|
|
10
9
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
11
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
11
|
template: "post";
|
|
13
12
|
did: string;
|
|
14
13
|
title: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ProfilePreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const ProfilePreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
|
|
7
6
|
avatar: z.ZodString;
|
|
8
7
|
fullname: z.ZodString;
|
|
9
8
|
email: z.ZodString;
|
|
10
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
template: "profile";
|
|
12
11
|
did: string;
|
|
13
12
|
avatar: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ProjectPreviewTemplateSchema: z.ZodObject<
|
|
3
|
-
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">]>;
|
|
2
|
+
export declare const ProjectPreviewTemplateSchema: z.ZodObject<{
|
|
4
3
|
did: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
}
|
|
4
|
+
} & {
|
|
6
5
|
template: z.ZodLiteral<"project">;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
description: z.ZodOptional<z.ZodString>;
|
|
9
8
|
image: z.ZodString;
|
|
10
9
|
url: z.ZodString;
|
|
11
10
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
template: "project";
|
|
14
13
|
did: string;
|
|
15
14
|
name: string;
|
|
@@ -363,8 +363,7 @@ export declare const AuditLogSchema: z.ZodObject<{
|
|
|
363
363
|
reason?: string | undefined;
|
|
364
364
|
env?: Record<string, any> | undefined;
|
|
365
365
|
}>;
|
|
366
|
-
export declare const CreationAuditLogSchema: z.ZodObject<
|
|
367
|
-
id: z.ZodString;
|
|
366
|
+
export declare const CreationAuditLogSchema: z.ZodObject<{
|
|
368
367
|
actionType: z.ZodNativeEnum<typeof AuditLogAction>;
|
|
369
368
|
entityId: z.ZodString;
|
|
370
369
|
entityName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -494,9 +493,9 @@ export declare const CreationAuditLogSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
494
493
|
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
495
494
|
createdAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
496
495
|
updatedAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
497
|
-
}
|
|
496
|
+
} & {
|
|
498
497
|
id: z.ZodOptional<z.ZodString>;
|
|
499
|
-
}
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
499
|
status: AuditLogStatus;
|
|
501
500
|
createdAt: string;
|
|
502
501
|
updatedAt: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@did-space/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
"watch": "npm run build -- -w"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@arcblock/did": "^1.20.
|
|
118
|
+
"@arcblock/did": "^1.20.4",
|
|
119
119
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
120
|
-
"@arcblock/validator": "^1.20.
|
|
120
|
+
"@arcblock/validator": "^1.20.4",
|
|
121
121
|
"dayjs": "^1.11.13",
|
|
122
122
|
"debug": "^4.4.0",
|
|
123
123
|
"destroy": "^1.2.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"sequelize": "^6.37.7",
|
|
132
132
|
"validator": "^13.15.0",
|
|
133
133
|
"xbytes": "^1.9.1",
|
|
134
|
-
"zod": "^3.24.
|
|
134
|
+
"zod": "^3.24.3"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
"lint-staged": "^13.3.0",
|
|
146
146
|
"ts-jest": "^28.0.8",
|
|
147
147
|
"typescript": "^4.9.5",
|
|
148
|
-
"vite": "^5.4.
|
|
149
|
-
"vitest": "^3.1.
|
|
148
|
+
"vite": "^5.4.19",
|
|
149
|
+
"vitest": "^3.1.2"
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "7ca23ad7266d76c9cea2df49787f1964ad78b06b"
|
|
152
152
|
}
|