@purpleschool/multisite 0.0.30 → 0.0.31

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.
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;;;;;;;;;;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"}
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"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElC,CAAC"}
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
  });
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/multisite",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "Multisite API contracts (DTO schemas, routes, constants)",
5
5
  "type": "commonjs",
6
6
  "main": "build/index.js",