@purpleschool/multisite 0.0.30 → 0.0.32
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/build/commands/page/create-page.command.d.ts +8 -0
- package/build/commands/page/create-page.command.d.ts.map +1 -1
- package/build/commands/page/find-page-by-alias.command.d.ts +16 -0
- package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -1
- package/build/commands/page/find-page-by-criteria.command.d.ts +5 -0
- package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -1
- package/build/commands/page/find-page.command.d.ts +11 -0
- package/build/commands/page/find-page.command.d.ts.map +1 -1
- package/build/commands/page/update-page.command.d.ts +8 -0
- package/build/commands/page/update-page.command.d.ts.map +1 -1
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +5 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -1
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +5 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -1
- package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts +2 -1
- package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts.map +1 -1
- package/build/constants/user-to-product/enums/user-to-product-status.enum.js +1 -0
- package/build/models/page.schema.d.ts +6 -0
- package/build/models/page.schema.d.ts.map +1 -1
- package/build/models/page.schema.js +1 -0
- package/build/models/user-to-product.schema.d.ts +3 -0
- package/build/models/user-to-product.schema.d.ts.map +1 -1
- package/build/models/user-to-product.schema.js +1 -0
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +5 -0
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts.map +1 -1
- package/build/queries/subscription/get-subscriptions-summary.command.js +1 -0
- package/build/queries/user/get-my-products.command.d.ts +5 -0
- package/build/queries/user/get-my-products.command.d.ts.map +1 -1
- package/build/queries/user/get-my-products.command.js +1 -0
- package/constants/user-to-product/enums/user-to-product-status.enum.ts +1 -0
- package/models/page.schema.ts +1 -0
- package/models/user-to-product.schema.ts +1 -0
- package/package.json +1 -1
- package/queries/subscription/get-subscriptions-summary.command.ts +1 -0
- package/queries/user/get-my-products.command.ts +1 -0
|
@@ -9,6 +9,7 @@ export declare namespace CreatePageCommand {
|
|
|
9
9
|
seoTextMd: z.ZodString;
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
12
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
createdAt: z.ZodDate;
|
|
13
14
|
updatedAt: z.ZodDate;
|
|
14
15
|
}, "createdAt" | "updatedAt" | "uuid">, "strip", z.ZodTypeAny, {
|
|
@@ -19,6 +20,7 @@ export declare namespace CreatePageCommand {
|
|
|
19
20
|
seoTextMd: string;
|
|
20
21
|
alias: string;
|
|
21
22
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
23
|
+
toolOptionId?: string | null | undefined;
|
|
22
24
|
}, {
|
|
23
25
|
metaTitle: string;
|
|
24
26
|
metaDescription: string;
|
|
@@ -27,6 +29,7 @@ export declare namespace CreatePageCommand {
|
|
|
27
29
|
seoTextMd: string;
|
|
28
30
|
alias: string;
|
|
29
31
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
32
|
+
toolOptionId?: string | null | undefined;
|
|
30
33
|
}>;
|
|
31
34
|
type Request = z.infer<typeof RequestSchema>;
|
|
32
35
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -39,6 +42,7 @@ export declare namespace CreatePageCommand {
|
|
|
39
42
|
seoTextMd: z.ZodString;
|
|
40
43
|
alias: z.ZodString;
|
|
41
44
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
45
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
46
|
createdAt: z.ZodDate;
|
|
43
47
|
updatedAt: z.ZodDate;
|
|
44
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,6 +54,7 @@ export declare namespace CreatePageCommand {
|
|
|
50
54
|
seoTextMd: string;
|
|
51
55
|
alias: string;
|
|
52
56
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
57
|
+
toolOptionId?: string | null | undefined;
|
|
53
58
|
createdAt: Date;
|
|
54
59
|
updatedAt: Date;
|
|
55
60
|
}, {
|
|
@@ -61,6 +66,7 @@ export declare namespace CreatePageCommand {
|
|
|
61
66
|
seoTextMd: string;
|
|
62
67
|
alias: string;
|
|
63
68
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
69
|
+
toolOptionId?: string | null | undefined;
|
|
64
70
|
createdAt: Date;
|
|
65
71
|
updatedAt: Date;
|
|
66
72
|
}>;
|
|
@@ -74,6 +80,7 @@ export declare namespace CreatePageCommand {
|
|
|
74
80
|
seoTextMd: string;
|
|
75
81
|
alias: string;
|
|
76
82
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
83
|
+
toolOptionId?: string | null | undefined;
|
|
77
84
|
createdAt: Date;
|
|
78
85
|
updatedAt: Date;
|
|
79
86
|
};
|
|
@@ -87,6 +94,7 @@ export declare namespace CreatePageCommand {
|
|
|
87
94
|
seoTextMd: string;
|
|
88
95
|
alias: string;
|
|
89
96
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
97
|
+
toolOptionId?: string | null | undefined;
|
|
90
98
|
createdAt: Date;
|
|
91
99
|
updatedAt: Date;
|
|
92
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -9,6 +9,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
9
9
|
seoTextMd: z.ZodString;
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
12
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
createdAt: z.ZodDate;
|
|
13
14
|
updatedAt: z.ZodDate;
|
|
14
15
|
}, "alias">, "strip", z.ZodTypeAny, {
|
|
@@ -27,6 +28,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
27
28
|
seoTextMd: z.ZodString;
|
|
28
29
|
alias: z.ZodString;
|
|
29
30
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
31
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
createdAt: z.ZodDate;
|
|
31
33
|
updatedAt: z.ZodDate;
|
|
32
34
|
} & {
|
|
@@ -61,6 +63,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
61
63
|
seoTextMd: string;
|
|
62
64
|
alias: string;
|
|
63
65
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
66
|
+
toolOptionId?: string | null | undefined;
|
|
64
67
|
createdAt: Date;
|
|
65
68
|
updatedAt: Date;
|
|
66
69
|
questions: {
|
|
@@ -80,6 +83,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
80
83
|
seoTextMd: string;
|
|
81
84
|
alias: string;
|
|
82
85
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
86
|
+
toolOptionId?: string | null | undefined;
|
|
83
87
|
createdAt: Date;
|
|
84
88
|
updatedAt: Date;
|
|
85
89
|
questions: {
|
|
@@ -101,6 +105,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
101
105
|
seoTextMd: string;
|
|
102
106
|
alias: string;
|
|
103
107
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
108
|
+
toolOptionId?: string | null | undefined;
|
|
104
109
|
createdAt: Date;
|
|
105
110
|
updatedAt: Date;
|
|
106
111
|
questions: {
|
|
@@ -122,6 +127,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
122
127
|
seoTextMd: string;
|
|
123
128
|
alias: string;
|
|
124
129
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
130
|
+
toolOptionId?: string | null | undefined;
|
|
125
131
|
createdAt: Date;
|
|
126
132
|
updatedAt: Date;
|
|
127
133
|
questions: {
|
|
@@ -145,6 +151,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
145
151
|
seoTextMd: z.ZodString;
|
|
146
152
|
alias: z.ZodString;
|
|
147
153
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
154
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
155
|
createdAt: z.ZodDate;
|
|
149
156
|
updatedAt: z.ZodDate;
|
|
150
157
|
} & {
|
|
@@ -179,6 +186,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
179
186
|
seoTextMd: string;
|
|
180
187
|
alias: string;
|
|
181
188
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
189
|
+
toolOptionId?: string | null | undefined;
|
|
182
190
|
createdAt: Date;
|
|
183
191
|
updatedAt: Date;
|
|
184
192
|
questions: {
|
|
@@ -198,6 +206,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
198
206
|
seoTextMd: string;
|
|
199
207
|
alias: string;
|
|
200
208
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
209
|
+
toolOptionId?: string | null | undefined;
|
|
201
210
|
createdAt: Date;
|
|
202
211
|
updatedAt: Date;
|
|
203
212
|
questions: {
|
|
@@ -219,6 +228,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
219
228
|
seoTextMd: string;
|
|
220
229
|
alias: string;
|
|
221
230
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
231
|
+
toolOptionId?: string | null | undefined;
|
|
222
232
|
createdAt: Date;
|
|
223
233
|
updatedAt: Date;
|
|
224
234
|
questions: {
|
|
@@ -240,6 +250,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
240
250
|
seoTextMd: string;
|
|
241
251
|
alias: string;
|
|
242
252
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
253
|
+
toolOptionId?: string | null | undefined;
|
|
243
254
|
createdAt: Date;
|
|
244
255
|
updatedAt: Date;
|
|
245
256
|
questions: {
|
|
@@ -262,6 +273,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
262
273
|
seoTextMd: z.ZodString;
|
|
263
274
|
alias: z.ZodString;
|
|
264
275
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
276
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
277
|
createdAt: z.ZodDate;
|
|
266
278
|
updatedAt: z.ZodDate;
|
|
267
279
|
} & {
|
|
@@ -296,6 +308,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
296
308
|
seoTextMd: string;
|
|
297
309
|
alias: string;
|
|
298
310
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
311
|
+
toolOptionId?: string | null | undefined;
|
|
299
312
|
createdAt: Date;
|
|
300
313
|
updatedAt: Date;
|
|
301
314
|
questions: {
|
|
@@ -315,6 +328,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
315
328
|
seoTextMd: string;
|
|
316
329
|
alias: string;
|
|
317
330
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
331
|
+
toolOptionId?: string | null | undefined;
|
|
318
332
|
createdAt: Date;
|
|
319
333
|
updatedAt: Date;
|
|
320
334
|
questions: {
|
|
@@ -336,6 +350,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
336
350
|
seoTextMd: string;
|
|
337
351
|
alias: string;
|
|
338
352
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
353
|
+
toolOptionId?: string | null | undefined;
|
|
339
354
|
createdAt: Date;
|
|
340
355
|
updatedAt: Date;
|
|
341
356
|
questions: {
|
|
@@ -357,6 +372,7 @@ export declare namespace FindPageByAliasCommand {
|
|
|
357
372
|
seoTextMd: string;
|
|
358
373
|
alias: string;
|
|
359
374
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
375
|
+
toolOptionId?: string | null | undefined;
|
|
360
376
|
createdAt: Date;
|
|
361
377
|
updatedAt: Date;
|
|
362
378
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,aAAa;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE9B,CAAC;IAEH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEhE,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE"}
|
|
@@ -34,6 +34,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
34
34
|
seoTextMd: z.ZodString;
|
|
35
35
|
alias: z.ZodString;
|
|
36
36
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof TOOL_TYPE>>>;
|
|
37
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
38
|
createdAt: z.ZodDate;
|
|
38
39
|
updatedAt: z.ZodDate;
|
|
39
40
|
} & {
|
|
@@ -68,6 +69,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
68
69
|
seoTextMd: string;
|
|
69
70
|
alias: string;
|
|
70
71
|
toolType?: TOOL_TYPE | null | undefined;
|
|
72
|
+
toolOptionId?: string | null | undefined;
|
|
71
73
|
createdAt: Date;
|
|
72
74
|
updatedAt: Date;
|
|
73
75
|
questions: {
|
|
@@ -87,6 +89,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
87
89
|
seoTextMd: string;
|
|
88
90
|
alias: string;
|
|
89
91
|
toolType?: TOOL_TYPE | null | undefined;
|
|
92
|
+
toolOptionId?: string | null | undefined;
|
|
90
93
|
createdAt: Date;
|
|
91
94
|
updatedAt: Date;
|
|
92
95
|
questions: {
|
|
@@ -110,6 +113,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
110
113
|
seoTextMd: string;
|
|
111
114
|
alias: string;
|
|
112
115
|
toolType?: TOOL_TYPE | null | undefined;
|
|
116
|
+
toolOptionId?: string | null | undefined;
|
|
113
117
|
createdAt: Date;
|
|
114
118
|
updatedAt: Date;
|
|
115
119
|
questions: {
|
|
@@ -133,6 +137,7 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
133
137
|
seoTextMd: string;
|
|
134
138
|
alias: string;
|
|
135
139
|
toolType?: TOOL_TYPE | null | undefined;
|
|
140
|
+
toolOptionId?: string | null | undefined;
|
|
136
141
|
createdAt: Date;
|
|
137
142
|
updatedAt: Date;
|
|
138
143
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -9,6 +9,7 @@ export declare namespace FindPageCommand {
|
|
|
9
9
|
seoTextMd: z.ZodString;
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
12
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
createdAt: z.ZodDate;
|
|
13
14
|
updatedAt: z.ZodDate;
|
|
14
15
|
}, "uuid">, "strip", z.ZodTypeAny, {
|
|
@@ -27,6 +28,7 @@ export declare namespace FindPageCommand {
|
|
|
27
28
|
seoTextMd: z.ZodString;
|
|
28
29
|
alias: z.ZodString;
|
|
29
30
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
31
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
createdAt: z.ZodDate;
|
|
31
33
|
updatedAt: z.ZodDate;
|
|
32
34
|
} & {
|
|
@@ -61,6 +63,7 @@ export declare namespace FindPageCommand {
|
|
|
61
63
|
seoTextMd: string;
|
|
62
64
|
alias: string;
|
|
63
65
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
66
|
+
toolOptionId?: string | null | undefined;
|
|
64
67
|
createdAt: Date;
|
|
65
68
|
updatedAt: Date;
|
|
66
69
|
questions: {
|
|
@@ -80,6 +83,7 @@ export declare namespace FindPageCommand {
|
|
|
80
83
|
seoTextMd: string;
|
|
81
84
|
alias: string;
|
|
82
85
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
86
|
+
toolOptionId?: string | null | undefined;
|
|
83
87
|
createdAt: Date;
|
|
84
88
|
updatedAt: Date;
|
|
85
89
|
questions: {
|
|
@@ -101,6 +105,7 @@ export declare namespace FindPageCommand {
|
|
|
101
105
|
seoTextMd: string;
|
|
102
106
|
alias: string;
|
|
103
107
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
108
|
+
toolOptionId?: string | null | undefined;
|
|
104
109
|
createdAt: Date;
|
|
105
110
|
updatedAt: Date;
|
|
106
111
|
questions: {
|
|
@@ -122,6 +127,7 @@ export declare namespace FindPageCommand {
|
|
|
122
127
|
seoTextMd: string;
|
|
123
128
|
alias: string;
|
|
124
129
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
130
|
+
toolOptionId?: string | null | undefined;
|
|
125
131
|
createdAt: Date;
|
|
126
132
|
updatedAt: Date;
|
|
127
133
|
questions: {
|
|
@@ -145,6 +151,7 @@ export declare namespace FindPageCommand {
|
|
|
145
151
|
seoTextMd: z.ZodString;
|
|
146
152
|
alias: z.ZodString;
|
|
147
153
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
154
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
155
|
createdAt: z.ZodDate;
|
|
149
156
|
updatedAt: z.ZodDate;
|
|
150
157
|
} & {
|
|
@@ -179,6 +186,7 @@ export declare namespace FindPageCommand {
|
|
|
179
186
|
seoTextMd: string;
|
|
180
187
|
alias: string;
|
|
181
188
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
189
|
+
toolOptionId?: string | null | undefined;
|
|
182
190
|
createdAt: Date;
|
|
183
191
|
updatedAt: Date;
|
|
184
192
|
questions: {
|
|
@@ -198,6 +206,7 @@ export declare namespace FindPageCommand {
|
|
|
198
206
|
seoTextMd: string;
|
|
199
207
|
alias: string;
|
|
200
208
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
209
|
+
toolOptionId?: string | null | undefined;
|
|
201
210
|
createdAt: Date;
|
|
202
211
|
updatedAt: Date;
|
|
203
212
|
questions: {
|
|
@@ -219,6 +228,7 @@ export declare namespace FindPageCommand {
|
|
|
219
228
|
seoTextMd: string;
|
|
220
229
|
alias: string;
|
|
221
230
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
231
|
+
toolOptionId?: string | null | undefined;
|
|
222
232
|
createdAt: Date;
|
|
223
233
|
updatedAt: Date;
|
|
224
234
|
questions: {
|
|
@@ -240,6 +250,7 @@ export declare namespace FindPageCommand {
|
|
|
240
250
|
seoTextMd: string;
|
|
241
251
|
alias: string;
|
|
242
252
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
253
|
+
toolOptionId?: string | null | undefined;
|
|
243
254
|
createdAt: Date;
|
|
244
255
|
updatedAt: Date;
|
|
245
256
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,eAAe,CAAC;IACtB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"find-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,eAAe,CAAC;IACtB,MAAM,aAAa;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE/B,CAAC;IAEH,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACrE"}
|
|
@@ -8,6 +8,7 @@ export declare namespace UpdatePageCommand {
|
|
|
8
8
|
seoTextMd: z.ZodOptional<z.ZodString>;
|
|
9
9
|
alias: z.ZodOptional<z.ZodString>;
|
|
10
10
|
toolType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>>;
|
|
11
|
+
toolOptionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
12
13
|
metaTitle?: string | undefined;
|
|
13
14
|
metaDescription?: string | undefined;
|
|
@@ -16,6 +17,7 @@ export declare namespace UpdatePageCommand {
|
|
|
16
17
|
seoTextMd?: string | undefined;
|
|
17
18
|
alias?: string | undefined;
|
|
18
19
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
20
|
+
toolOptionId?: string | null | undefined;
|
|
19
21
|
}, {
|
|
20
22
|
metaTitle?: string | undefined;
|
|
21
23
|
metaDescription?: string | undefined;
|
|
@@ -24,6 +26,7 @@ export declare namespace UpdatePageCommand {
|
|
|
24
26
|
seoTextMd?: string | undefined;
|
|
25
27
|
alias?: string | undefined;
|
|
26
28
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
29
|
+
toolOptionId?: string | null | undefined;
|
|
27
30
|
}>;
|
|
28
31
|
type Request = z.infer<typeof RequestSchema>;
|
|
29
32
|
const RequestParamSchema: z.ZodObject<{
|
|
@@ -44,6 +47,7 @@ export declare namespace UpdatePageCommand {
|
|
|
44
47
|
seoTextMd: z.ZodString;
|
|
45
48
|
alias: z.ZodString;
|
|
46
49
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
|
|
50
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
51
|
createdAt: z.ZodDate;
|
|
48
52
|
updatedAt: z.ZodDate;
|
|
49
53
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,6 +59,7 @@ export declare namespace UpdatePageCommand {
|
|
|
55
59
|
seoTextMd: string;
|
|
56
60
|
alias: string;
|
|
57
61
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
62
|
+
toolOptionId?: string | null | undefined;
|
|
58
63
|
createdAt: Date;
|
|
59
64
|
updatedAt: Date;
|
|
60
65
|
}, {
|
|
@@ -66,6 +71,7 @@ export declare namespace UpdatePageCommand {
|
|
|
66
71
|
seoTextMd: string;
|
|
67
72
|
alias: string;
|
|
68
73
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
74
|
+
toolOptionId?: string | null | undefined;
|
|
69
75
|
createdAt: Date;
|
|
70
76
|
updatedAt: Date;
|
|
71
77
|
}>;
|
|
@@ -79,6 +85,7 @@ export declare namespace UpdatePageCommand {
|
|
|
79
85
|
seoTextMd: string;
|
|
80
86
|
alias: string;
|
|
81
87
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
88
|
+
toolOptionId?: string | null | undefined;
|
|
82
89
|
createdAt: Date;
|
|
83
90
|
updatedAt: Date;
|
|
84
91
|
};
|
|
@@ -92,6 +99,7 @@ export declare namespace UpdatePageCommand {
|
|
|
92
99
|
seoTextMd: string;
|
|
93
100
|
alias: string;
|
|
94
101
|
toolType?: import("../..").TOOL_TYPE | null | undefined;
|
|
102
|
+
toolOptionId?: string | null | undefined;
|
|
95
103
|
createdAt: Date;
|
|
96
104
|
updatedAt: Date;
|
|
97
105
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/update-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/update-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;MAId,CAAC;IAEb,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -18,6 +18,7 @@ export declare namespace GetUserToProductByUuidCommand {
|
|
|
18
18
|
initTokenBalance: z.ZodNumber;
|
|
19
19
|
tokenBalance: z.ZodNumber;
|
|
20
20
|
status: z.ZodNativeEnum<typeof import("../..").USER_TO_PRODUCT_STATUS>;
|
|
21
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
21
22
|
createdAt: z.ZodDate;
|
|
22
23
|
updatedAt: z.ZodDate;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29,6 +30,7 @@ export declare namespace GetUserToProductByUuidCommand {
|
|
|
29
30
|
initTokenBalance: number;
|
|
30
31
|
tokenBalance: number;
|
|
31
32
|
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
33
|
+
expiresAt: Date | null;
|
|
32
34
|
createdAt: Date;
|
|
33
35
|
updatedAt: Date;
|
|
34
36
|
}, {
|
|
@@ -40,6 +42,7 @@ export declare namespace GetUserToProductByUuidCommand {
|
|
|
40
42
|
initTokenBalance: number;
|
|
41
43
|
tokenBalance: number;
|
|
42
44
|
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
45
|
+
expiresAt: Date | null;
|
|
43
46
|
createdAt: Date;
|
|
44
47
|
updatedAt: Date;
|
|
45
48
|
}>;
|
|
@@ -53,6 +56,7 @@ export declare namespace GetUserToProductByUuidCommand {
|
|
|
53
56
|
initTokenBalance: number;
|
|
54
57
|
tokenBalance: number;
|
|
55
58
|
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
59
|
+
expiresAt: Date | null;
|
|
56
60
|
createdAt: Date;
|
|
57
61
|
updatedAt: Date;
|
|
58
62
|
};
|
|
@@ -66,6 +70,7 @@ export declare namespace GetUserToProductByUuidCommand {
|
|
|
66
70
|
initTokenBalance: number;
|
|
67
71
|
tokenBalance: number;
|
|
68
72
|
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
73
|
+
expiresAt: Date | null;
|
|
69
74
|
createdAt: Date;
|
|
70
75
|
updatedAt: Date;
|
|
71
76
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-to-product-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/get-user-to-product-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-user-to-product-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/get-user-to-product-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -36,6 +36,7 @@ export declare namespace UpdateUserToProductCommand {
|
|
|
36
36
|
initTokenBalance: z.ZodNumber;
|
|
37
37
|
tokenBalance: z.ZodNumber;
|
|
38
38
|
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
39
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
39
40
|
createdAt: z.ZodDate;
|
|
40
41
|
updatedAt: z.ZodDate;
|
|
41
42
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -47,6 +48,7 @@ export declare namespace UpdateUserToProductCommand {
|
|
|
47
48
|
initTokenBalance: number;
|
|
48
49
|
tokenBalance: number;
|
|
49
50
|
status: USER_TO_PRODUCT_STATUS;
|
|
51
|
+
expiresAt: Date | null;
|
|
50
52
|
createdAt: Date;
|
|
51
53
|
updatedAt: Date;
|
|
52
54
|
}, {
|
|
@@ -58,6 +60,7 @@ export declare namespace UpdateUserToProductCommand {
|
|
|
58
60
|
initTokenBalance: number;
|
|
59
61
|
tokenBalance: number;
|
|
60
62
|
status: USER_TO_PRODUCT_STATUS;
|
|
63
|
+
expiresAt: Date | null;
|
|
61
64
|
createdAt: Date;
|
|
62
65
|
updatedAt: Date;
|
|
63
66
|
}>;
|
|
@@ -71,6 +74,7 @@ export declare namespace UpdateUserToProductCommand {
|
|
|
71
74
|
initTokenBalance: number;
|
|
72
75
|
tokenBalance: number;
|
|
73
76
|
status: USER_TO_PRODUCT_STATUS;
|
|
77
|
+
expiresAt: Date | null;
|
|
74
78
|
createdAt: Date;
|
|
75
79
|
updatedAt: Date;
|
|
76
80
|
};
|
|
@@ -84,6 +88,7 @@ export declare namespace UpdateUserToProductCommand {
|
|
|
84
88
|
initTokenBalance: number;
|
|
85
89
|
tokenBalance: number;
|
|
86
90
|
status: USER_TO_PRODUCT_STATUS;
|
|
91
|
+
expiresAt: Date | null;
|
|
87
92
|
createdAt: Date;
|
|
88
93
|
updatedAt: Date;
|
|
89
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-to-product.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/update-user-to-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;;;;MAKxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"update-user-to-product.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/update-user-to-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;;;;MAKxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-to-product-status.enum.d.ts","sourceRoot":"","sources":["../../../../constants/user-to-product/enums/user-to-product-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAC9B,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"user-to-product-status.enum.d.ts","sourceRoot":"","sources":["../../../../constants/user-to-product/enums/user-to-product-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAC9B,MAAM,WAAW;IACjB,OAAO,YAAY;CACtB"}
|
|
@@ -4,4 +4,5 @@ exports.USER_TO_PRODUCT_STATUS = void 0;
|
|
|
4
4
|
var USER_TO_PRODUCT_STATUS;
|
|
5
5
|
(function (USER_TO_PRODUCT_STATUS) {
|
|
6
6
|
USER_TO_PRODUCT_STATUS["ACTIVE"] = "active";
|
|
7
|
+
USER_TO_PRODUCT_STATUS["EXPIRED"] = "expired";
|
|
7
8
|
})(USER_TO_PRODUCT_STATUS || (exports.USER_TO_PRODUCT_STATUS = USER_TO_PRODUCT_STATUS = {}));
|
|
@@ -9,6 +9,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
9
9
|
seoTextMd: z.ZodString;
|
|
10
10
|
alias: z.ZodString;
|
|
11
11
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof TOOL_TYPE>>>;
|
|
12
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
createdAt: z.ZodDate;
|
|
13
14
|
updatedAt: z.ZodDate;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20,6 +21,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
20
21
|
seoTextMd: string;
|
|
21
22
|
alias: string;
|
|
22
23
|
toolType?: TOOL_TYPE | null | undefined;
|
|
24
|
+
toolOptionId?: string | null | undefined;
|
|
23
25
|
createdAt: Date;
|
|
24
26
|
updatedAt: Date;
|
|
25
27
|
}, {
|
|
@@ -31,6 +33,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
31
33
|
seoTextMd: string;
|
|
32
34
|
alias: string;
|
|
33
35
|
toolType?: TOOL_TYPE | null | undefined;
|
|
36
|
+
toolOptionId?: string | null | undefined;
|
|
34
37
|
createdAt: Date;
|
|
35
38
|
updatedAt: Date;
|
|
36
39
|
}>;
|
|
@@ -43,6 +46,7 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
|
|
|
43
46
|
seoTextMd: z.ZodString;
|
|
44
47
|
alias: z.ZodString;
|
|
45
48
|
toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof TOOL_TYPE>>>;
|
|
49
|
+
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
50
|
createdAt: z.ZodDate;
|
|
47
51
|
updatedAt: z.ZodDate;
|
|
48
52
|
} & {
|
|
@@ -77,6 +81,7 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
|
|
|
77
81
|
seoTextMd: string;
|
|
78
82
|
alias: string;
|
|
79
83
|
toolType?: TOOL_TYPE | null | undefined;
|
|
84
|
+
toolOptionId?: string | null | undefined;
|
|
80
85
|
createdAt: Date;
|
|
81
86
|
updatedAt: Date;
|
|
82
87
|
questions: {
|
|
@@ -96,6 +101,7 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
|
|
|
96
101
|
seoTextMd: string;
|
|
97
102
|
alias: string;
|
|
98
103
|
toolType?: TOOL_TYPE | null | undefined;
|
|
104
|
+
toolOptionId?: string | null | undefined;
|
|
99
105
|
createdAt: Date;
|
|
100
106
|
updatedAt: Date;
|
|
101
107
|
questions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.schema.d.ts","sourceRoot":"","sources":["../../models/page.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"page.schema.d.ts","sourceRoot":"","sources":["../../models/page.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElC,CAAC"}
|
|
@@ -13,6 +13,7 @@ exports.PageSchema = zod_1.z.object({
|
|
|
13
13
|
seoTextMd: zod_1.z.string().min(3).max(16384),
|
|
14
14
|
alias: zod_1.z.string().min(3).max(16384),
|
|
15
15
|
toolType: zod_1.z.nativeEnum(constants_1.TOOL_TYPE).nullable().optional(),
|
|
16
|
+
toolOptionId: zod_1.z.string().uuid().nullable().optional(),
|
|
16
17
|
createdAt: zod_1.z.date(),
|
|
17
18
|
updatedAt: zod_1.z.date(),
|
|
18
19
|
});
|
|
@@ -9,6 +9,7 @@ export declare const UserToProductSchema: z.ZodObject<{
|
|
|
9
9
|
initTokenBalance: z.ZodNumber;
|
|
10
10
|
tokenBalance: z.ZodNumber;
|
|
11
11
|
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
12
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
12
13
|
createdAt: z.ZodDate;
|
|
13
14
|
updatedAt: z.ZodDate;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20,6 +21,7 @@ export declare const UserToProductSchema: z.ZodObject<{
|
|
|
20
21
|
initTokenBalance: number;
|
|
21
22
|
tokenBalance: number;
|
|
22
23
|
status: USER_TO_PRODUCT_STATUS;
|
|
24
|
+
expiresAt: Date | null;
|
|
23
25
|
createdAt: Date;
|
|
24
26
|
updatedAt: Date;
|
|
25
27
|
}, {
|
|
@@ -31,6 +33,7 @@ export declare const UserToProductSchema: z.ZodObject<{
|
|
|
31
33
|
initTokenBalance: number;
|
|
32
34
|
tokenBalance: number;
|
|
33
35
|
status: USER_TO_PRODUCT_STATUS;
|
|
36
|
+
expiresAt: Date | null;
|
|
34
37
|
createdAt: Date;
|
|
35
38
|
updatedAt: Date;
|
|
36
39
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-to-product.schema.d.ts","sourceRoot":"","sources":["../../models/user-to-product.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"user-to-product.schema.d.ts","sourceRoot":"","sources":["../../models/user-to-product.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC"}
|
|
@@ -12,6 +12,7 @@ exports.UserToProductSchema = zod_1.z.object({
|
|
|
12
12
|
initTokenBalance: zod_1.z.number().int().min(0),
|
|
13
13
|
tokenBalance: zod_1.z.number().int().min(0),
|
|
14
14
|
status: zod_1.z.nativeEnum(constants_1.USER_TO_PRODUCT_STATUS),
|
|
15
|
+
expiresAt: zod_1.z.date().nullable(),
|
|
15
16
|
createdAt: zod_1.z.date(),
|
|
16
17
|
updatedAt: zod_1.z.date(),
|
|
17
18
|
});
|
|
@@ -116,6 +116,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
116
116
|
initTokenBalance: z.ZodNumber;
|
|
117
117
|
tokenBalance: z.ZodNumber;
|
|
118
118
|
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
119
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
119
120
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodString]>;
|
|
120
121
|
product: z.ZodObject<{
|
|
121
122
|
uuid: z.ZodString;
|
|
@@ -162,6 +163,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
162
163
|
initTokenBalance: number;
|
|
163
164
|
tokenBalance: number;
|
|
164
165
|
status: USER_TO_PRODUCT_STATUS;
|
|
166
|
+
expiresAt: Date | null;
|
|
165
167
|
createdAt: string | Date;
|
|
166
168
|
product: {
|
|
167
169
|
uuid: string;
|
|
@@ -180,6 +182,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
180
182
|
initTokenBalance: number;
|
|
181
183
|
tokenBalance: number;
|
|
182
184
|
status: USER_TO_PRODUCT_STATUS;
|
|
185
|
+
expiresAt: Date | null;
|
|
183
186
|
createdAt: string | Date;
|
|
184
187
|
product: {
|
|
185
188
|
uuid: string;
|
|
@@ -235,6 +238,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
235
238
|
initTokenBalance: number;
|
|
236
239
|
tokenBalance: number;
|
|
237
240
|
status: USER_TO_PRODUCT_STATUS;
|
|
241
|
+
expiresAt: Date | null;
|
|
238
242
|
createdAt: string | Date;
|
|
239
243
|
product: {
|
|
240
244
|
uuid: string;
|
|
@@ -284,6 +288,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
284
288
|
initTokenBalance: number;
|
|
285
289
|
tokenBalance: number;
|
|
286
290
|
status: USER_TO_PRODUCT_STATUS;
|
|
291
|
+
expiresAt: Date | null;
|
|
287
292
|
createdAt: string | Date;
|
|
288
293
|
product: {
|
|
289
294
|
uuid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriptions-summary.command.d.ts","sourceRoot":"","sources":["../../../queries/subscription/get-subscriptions-summary.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-subscriptions-summary.command.d.ts","sourceRoot":"","sources":["../../../queries/subscription/get-subscriptions-summary.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AA4BtF,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -23,6 +23,7 @@ const UserToProductSummarySchema = zod_1.z.object({
|
|
|
23
23
|
initTokenBalance: zod_1.z.number().int(),
|
|
24
24
|
tokenBalance: zod_1.z.number().int(),
|
|
25
25
|
status: zod_1.z.nativeEnum(constants_1.USER_TO_PRODUCT_STATUS),
|
|
26
|
+
expiresAt: zod_1.z.date().nullable(),
|
|
26
27
|
createdAt: zod_1.z.date().or(zod_1.z.string().datetime()),
|
|
27
28
|
product: models_1.ProductSchema,
|
|
28
29
|
});
|
|
@@ -7,6 +7,7 @@ export declare namespace GetMyProductsCommand {
|
|
|
7
7
|
initTokenBalance: z.ZodNumber;
|
|
8
8
|
tokenBalance: z.ZodNumber;
|
|
9
9
|
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
10
|
+
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
10
11
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodString]>;
|
|
11
12
|
product: z.ZodObject<{
|
|
12
13
|
uuid: z.ZodString;
|
|
@@ -53,6 +54,7 @@ export declare namespace GetMyProductsCommand {
|
|
|
53
54
|
initTokenBalance: number;
|
|
54
55
|
tokenBalance: number;
|
|
55
56
|
status: USER_TO_PRODUCT_STATUS;
|
|
57
|
+
expiresAt: Date | null;
|
|
56
58
|
createdAt: string | Date;
|
|
57
59
|
product: {
|
|
58
60
|
uuid: string;
|
|
@@ -71,6 +73,7 @@ export declare namespace GetMyProductsCommand {
|
|
|
71
73
|
initTokenBalance: number;
|
|
72
74
|
tokenBalance: number;
|
|
73
75
|
status: USER_TO_PRODUCT_STATUS;
|
|
76
|
+
expiresAt: Date | null;
|
|
74
77
|
createdAt: string | Date;
|
|
75
78
|
product: {
|
|
76
79
|
uuid: string;
|
|
@@ -91,6 +94,7 @@ export declare namespace GetMyProductsCommand {
|
|
|
91
94
|
initTokenBalance: number;
|
|
92
95
|
tokenBalance: number;
|
|
93
96
|
status: USER_TO_PRODUCT_STATUS;
|
|
97
|
+
expiresAt: Date | null;
|
|
94
98
|
createdAt: string | Date;
|
|
95
99
|
product: {
|
|
96
100
|
uuid: string;
|
|
@@ -111,6 +115,7 @@ export declare namespace GetMyProductsCommand {
|
|
|
111
115
|
initTokenBalance: number;
|
|
112
116
|
tokenBalance: number;
|
|
113
117
|
status: USER_TO_PRODUCT_STATUS;
|
|
118
|
+
expiresAt: Date | null;
|
|
114
119
|
createdAt: string | Date;
|
|
115
120
|
product: {
|
|
116
121
|
uuid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-products.command.d.ts","sourceRoot":"","sources":["../../../queries/user/get-my-products.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-my-products.command.d.ts","sourceRoot":"","sources":["../../../queries/user/get-my-products.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -12,6 +12,7 @@ var GetMyProductsCommand;
|
|
|
12
12
|
initTokenBalance: zod_1.z.number().int(),
|
|
13
13
|
tokenBalance: zod_1.z.number().int(),
|
|
14
14
|
status: zod_1.z.nativeEnum(constants_1.USER_TO_PRODUCT_STATUS),
|
|
15
|
+
expiresAt: zod_1.z.date().nullable(),
|
|
15
16
|
createdAt: zod_1.z.date().or(zod_1.z.string().datetime()),
|
|
16
17
|
product: models_1.ProductSchema,
|
|
17
18
|
})),
|
package/models/page.schema.ts
CHANGED
|
@@ -11,6 +11,7 @@ export const PageSchema = z.object({
|
|
|
11
11
|
seoTextMd: z.string().min(3).max(16384),
|
|
12
12
|
alias: z.string().min(3).max(16384),
|
|
13
13
|
toolType: z.nativeEnum(TOOL_TYPE).nullable().optional(),
|
|
14
|
+
toolOptionId: z.string().uuid().nullable().optional(),
|
|
14
15
|
createdAt: z.date(),
|
|
15
16
|
updatedAt: z.date(),
|
|
16
17
|
});
|
|
@@ -10,6 +10,7 @@ export const UserToProductSchema = z.object({
|
|
|
10
10
|
initTokenBalance: z.number().int().min(0),
|
|
11
11
|
tokenBalance: z.number().int().min(0),
|
|
12
12
|
status: z.nativeEnum(USER_TO_PRODUCT_STATUS),
|
|
13
|
+
expiresAt: z.date().nullable(),
|
|
13
14
|
createdAt: z.date(),
|
|
14
15
|
updatedAt: z.date(),
|
|
15
16
|
});
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ const UserToProductSummarySchema = z.object({
|
|
|
23
23
|
initTokenBalance: z.number().int(),
|
|
24
24
|
tokenBalance: z.number().int(),
|
|
25
25
|
status: z.nativeEnum(USER_TO_PRODUCT_STATUS),
|
|
26
|
+
expiresAt: z.date().nullable(),
|
|
26
27
|
createdAt: z.date().or(z.string().datetime()),
|
|
27
28
|
product: ProductSchema,
|
|
28
29
|
});
|
|
@@ -10,6 +10,7 @@ export namespace GetMyProductsCommand {
|
|
|
10
10
|
initTokenBalance: z.number().int(),
|
|
11
11
|
tokenBalance: z.number().int(),
|
|
12
12
|
status: z.nativeEnum(USER_TO_PRODUCT_STATUS),
|
|
13
|
+
expiresAt: z.date().nullable(),
|
|
13
14
|
createdAt: z.date().or(z.string().datetime()),
|
|
14
15
|
product: ProductSchema,
|
|
15
16
|
}),
|