@purpleschool/multisite 0.0.16 → 0.0.18

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.
Files changed (37) hide show
  1. package/build/commands/page/create-page.command.d.ts +0 -100
  2. package/build/commands/page/create-page.command.d.ts.map +1 -1
  3. package/build/commands/page/find-page-by-alias.command.d.ts +0 -200
  4. package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -1
  5. package/build/commands/page/find-page-by-criteria.command.d.ts +0 -63
  6. package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -1
  7. package/build/commands/page/find-page-by-criteria.command.js +0 -2
  8. package/build/commands/page/find-page.command.d.ts +0 -141
  9. package/build/commands/page/find-page.command.d.ts.map +1 -1
  10. package/build/commands/page/update-page.command.d.ts +0 -100
  11. package/build/commands/page/update-page.command.d.ts.map +1 -1
  12. package/build/constants/page/index.d.ts +1 -1
  13. package/build/constants/page/index.d.ts.map +1 -1
  14. package/build/constants/page/index.js +0 -15
  15. package/build/constants/user-to-subscription/enums/index.d.ts +1 -0
  16. package/build/constants/user-to-subscription/enums/index.d.ts.map +1 -1
  17. package/build/constants/user-to-subscription/enums/index.js +1 -0
  18. package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.d.ts +5 -0
  19. package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.d.ts.map +1 -0
  20. package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.js +8 -0
  21. package/build/models/page.schema.d.ts +0 -129
  22. package/build/models/page.schema.d.ts.map +1 -1
  23. package/build/models/page.schema.js +1 -19
  24. package/build/models/subscription.schema.d.ts +2 -2
  25. package/build/queries/subscription/find-subscriptions.command.d.ts +4 -4
  26. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +6 -6
  27. package/build/queries/user/get-my-subscriptions.command.d.ts +6 -6
  28. package/commands/page/find-page-by-criteria.command.ts +0 -2
  29. package/constants/page/index.ts +1 -1
  30. package/constants/user-to-subscription/enums/index.ts +1 -0
  31. package/constants/user-to-subscription/enums/user-to-subscription-type.enum.ts +4 -0
  32. package/models/page.schema.ts +0 -22
  33. package/package.json +1 -1
  34. package/build/constants/page/enums/page-type.enum.d.ts +0 -6
  35. package/build/constants/page/enums/page-type.enum.d.ts.map +0 -1
  36. package/build/constants/page/enums/page-type.enum.js +0 -9
  37. package/constants/page/enums/page-type.enum.ts +0 -5
@@ -8,63 +8,22 @@ export declare namespace CreatePageCommand {
8
8
  subTitle: z.ZodString;
9
9
  seoTextMd: z.ZodString;
10
10
  alias: z.ZodString;
11
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
12
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
14
- }, "strip", z.ZodTypeAny, {
15
- type: import("../..").PageType.WRITER_TOOL;
16
- }, {
17
- type: import("../..").PageType.WRITER_TOOL;
18
- }>, z.ZodObject<{
19
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
20
- }, "strip", z.ZodTypeAny, {
21
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
22
- }, {
23
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
24
- }>, z.ZodObject<{
25
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
26
- writerDocumentTypeId: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
29
- writerDocumentTypeId: string;
30
- }, {
31
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
32
- writerDocumentTypeId: string;
33
- }>]>;
34
11
  createdAt: z.ZodDate;
35
12
  updatedAt: z.ZodDate;
36
13
  }, "uuid" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
37
- type: import("../..").PageType;
38
14
  title: string;
39
15
  metaTitle: string;
40
16
  metaDescription: string;
41
17
  subTitle: string;
42
18
  seoTextMd: string;
43
19
  alias: string;
44
- metadata: {
45
- type: import("../..").PageType.WRITER_TOOL;
46
- } | {
47
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
48
- } | {
49
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
50
- writerDocumentTypeId: string;
51
- };
52
20
  }, {
53
- type: import("../..").PageType;
54
21
  title: string;
55
22
  metaTitle: string;
56
23
  metaDescription: string;
57
24
  subTitle: string;
58
25
  seoTextMd: string;
59
26
  alias: string;
60
- metadata: {
61
- type: import("../..").PageType.WRITER_TOOL;
62
- } | {
63
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
64
- } | {
65
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
66
- writerDocumentTypeId: string;
67
- };
68
27
  }>;
69
28
  type Request = z.infer<typeof RequestSchema>;
70
29
  const ResponseSchema: z.ZodObject<{
@@ -76,34 +35,10 @@ export declare namespace CreatePageCommand {
76
35
  subTitle: z.ZodString;
77
36
  seoTextMd: z.ZodString;
78
37
  alias: z.ZodString;
79
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
80
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
81
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
82
- }, "strip", z.ZodTypeAny, {
83
- type: import("../..").PageType.WRITER_TOOL;
84
- }, {
85
- type: import("../..").PageType.WRITER_TOOL;
86
- }>, z.ZodObject<{
87
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
88
- }, "strip", z.ZodTypeAny, {
89
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
90
- }, {
91
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
92
- }>, z.ZodObject<{
93
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
94
- writerDocumentTypeId: z.ZodString;
95
- }, "strip", z.ZodTypeAny, {
96
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
97
- writerDocumentTypeId: string;
98
- }, {
99
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
100
- writerDocumentTypeId: string;
101
- }>]>;
102
38
  createdAt: z.ZodDate;
103
39
  updatedAt: z.ZodDate;
104
40
  }, "strip", z.ZodTypeAny, {
105
41
  uuid: string;
106
- type: import("../..").PageType;
107
42
  title: string;
108
43
  createdAt: Date;
109
44
  updatedAt: Date;
@@ -112,17 +47,8 @@ export declare namespace CreatePageCommand {
112
47
  subTitle: string;
113
48
  seoTextMd: string;
114
49
  alias: string;
115
- metadata: {
116
- type: import("../..").PageType.WRITER_TOOL;
117
- } | {
118
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
119
- } | {
120
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
121
- writerDocumentTypeId: string;
122
- };
123
50
  }, {
124
51
  uuid: string;
125
- type: import("../..").PageType;
126
52
  title: string;
127
53
  createdAt: Date;
128
54
  updatedAt: Date;
@@ -131,19 +57,10 @@ export declare namespace CreatePageCommand {
131
57
  subTitle: string;
132
58
  seoTextMd: string;
133
59
  alias: string;
134
- metadata: {
135
- type: import("../..").PageType.WRITER_TOOL;
136
- } | {
137
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
138
- } | {
139
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
140
- writerDocumentTypeId: string;
141
- };
142
60
  }>;
143
61
  }, "strip", z.ZodTypeAny, {
144
62
  data: {
145
63
  uuid: string;
146
- type: import("../..").PageType;
147
64
  title: string;
148
65
  createdAt: Date;
149
66
  updatedAt: Date;
@@ -152,19 +69,10 @@ export declare namespace CreatePageCommand {
152
69
  subTitle: string;
153
70
  seoTextMd: string;
154
71
  alias: string;
155
- metadata: {
156
- type: import("../..").PageType.WRITER_TOOL;
157
- } | {
158
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
159
- } | {
160
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
161
- writerDocumentTypeId: string;
162
- };
163
72
  };
164
73
  }, {
165
74
  data: {
166
75
  uuid: string;
167
- type: import("../..").PageType;
168
76
  title: string;
169
77
  createdAt: Date;
170
78
  updatedAt: Date;
@@ -173,14 +81,6 @@ export declare namespace CreatePageCommand {
173
81
  subTitle: string;
174
82
  seoTextMd: string;
175
83
  alias: string;
176
- metadata: {
177
- type: import("../..").PageType.WRITER_TOOL;
178
- } | {
179
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
180
- } | {
181
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
182
- writerDocumentTypeId: string;
183
- };
184
84
  };
185
85
  }>;
186
86
  type Response = z.infer<typeof ResponseSchema>;
@@ -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"}
@@ -8,29 +8,6 @@ export declare namespace FindPageByAliasCommand {
8
8
  subTitle: z.ZodString;
9
9
  seoTextMd: z.ZodString;
10
10
  alias: z.ZodString;
11
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
12
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
14
- }, "strip", z.ZodTypeAny, {
15
- type: import("../..").PageType.WRITER_TOOL;
16
- }, {
17
- type: import("../..").PageType.WRITER_TOOL;
18
- }>, z.ZodObject<{
19
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
20
- }, "strip", z.ZodTypeAny, {
21
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
22
- }, {
23
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
24
- }>, z.ZodObject<{
25
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
26
- writerDocumentTypeId: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
29
- writerDocumentTypeId: string;
30
- }, {
31
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
32
- writerDocumentTypeId: string;
33
- }>]>;
34
11
  createdAt: z.ZodDate;
35
12
  updatedAt: z.ZodDate;
36
13
  }, "alias">, "strip", z.ZodTypeAny, {
@@ -48,29 +25,6 @@ export declare namespace FindPageByAliasCommand {
48
25
  subTitle: z.ZodString;
49
26
  seoTextMd: z.ZodString;
50
27
  alias: z.ZodString;
51
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
52
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
53
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
54
- }, "strip", z.ZodTypeAny, {
55
- type: import("../..").PageType.WRITER_TOOL;
56
- }, {
57
- type: import("../..").PageType.WRITER_TOOL;
58
- }>, z.ZodObject<{
59
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
60
- }, "strip", z.ZodTypeAny, {
61
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
62
- }, {
63
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
64
- }>, z.ZodObject<{
65
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
66
- writerDocumentTypeId: z.ZodString;
67
- }, "strip", z.ZodTypeAny, {
68
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
69
- writerDocumentTypeId: string;
70
- }, {
71
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
72
- writerDocumentTypeId: string;
73
- }>]>;
74
28
  createdAt: z.ZodDate;
75
29
  updatedAt: z.ZodDate;
76
30
  } & {
@@ -98,7 +52,6 @@ export declare namespace FindPageByAliasCommand {
98
52
  }>, "many">;
99
53
  }, "strip", z.ZodTypeAny, {
100
54
  uuid: string;
101
- type: import("../..").PageType;
102
55
  title: string;
103
56
  createdAt: Date;
104
57
  updatedAt: Date;
@@ -107,14 +60,6 @@ export declare namespace FindPageByAliasCommand {
107
60
  subTitle: string;
108
61
  seoTextMd: string;
109
62
  alias: string;
110
- metadata: {
111
- type: import("../..").PageType.WRITER_TOOL;
112
- } | {
113
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
114
- } | {
115
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
116
- writerDocumentTypeId: string;
117
- };
118
63
  questions: {
119
64
  uuid: string;
120
65
  createdAt: Date;
@@ -125,7 +70,6 @@ export declare namespace FindPageByAliasCommand {
125
70
  }[];
126
71
  }, {
127
72
  uuid: string;
128
- type: import("../..").PageType;
129
73
  title: string;
130
74
  createdAt: Date;
131
75
  updatedAt: Date;
@@ -134,14 +78,6 @@ export declare namespace FindPageByAliasCommand {
134
78
  subTitle: string;
135
79
  seoTextMd: string;
136
80
  alias: string;
137
- metadata: {
138
- type: import("../..").PageType.WRITER_TOOL;
139
- } | {
140
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
141
- } | {
142
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
143
- writerDocumentTypeId: string;
144
- };
145
81
  questions: {
146
82
  uuid: string;
147
83
  createdAt: Date;
@@ -154,7 +90,6 @@ export declare namespace FindPageByAliasCommand {
154
90
  }, "strip", z.ZodTypeAny, {
155
91
  data: {
156
92
  uuid: string;
157
- type: import("../..").PageType;
158
93
  title: string;
159
94
  createdAt: Date;
160
95
  updatedAt: Date;
@@ -163,14 +98,6 @@ export declare namespace FindPageByAliasCommand {
163
98
  subTitle: string;
164
99
  seoTextMd: string;
165
100
  alias: string;
166
- metadata: {
167
- type: import("../..").PageType.WRITER_TOOL;
168
- } | {
169
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
170
- } | {
171
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
172
- writerDocumentTypeId: string;
173
- };
174
101
  questions: {
175
102
  uuid: string;
176
103
  createdAt: Date;
@@ -183,7 +110,6 @@ export declare namespace FindPageByAliasCommand {
183
110
  }, {
184
111
  data: {
185
112
  uuid: string;
186
- type: import("../..").PageType;
187
113
  title: string;
188
114
  createdAt: Date;
189
115
  updatedAt: Date;
@@ -192,14 +118,6 @@ export declare namespace FindPageByAliasCommand {
192
118
  subTitle: string;
193
119
  seoTextMd: string;
194
120
  alias: string;
195
- metadata: {
196
- type: import("../..").PageType.WRITER_TOOL;
197
- } | {
198
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
199
- } | {
200
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
201
- writerDocumentTypeId: string;
202
- };
203
121
  questions: {
204
122
  uuid: string;
205
123
  createdAt: Date;
@@ -220,29 +138,6 @@ export declare namespace FindPageByAliasCommand {
220
138
  subTitle: z.ZodString;
221
139
  seoTextMd: z.ZodString;
222
140
  alias: z.ZodString;
223
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
224
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
225
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
226
- }, "strip", z.ZodTypeAny, {
227
- type: import("../..").PageType.WRITER_TOOL;
228
- }, {
229
- type: import("../..").PageType.WRITER_TOOL;
230
- }>, z.ZodObject<{
231
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
232
- }, "strip", z.ZodTypeAny, {
233
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
234
- }, {
235
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
236
- }>, z.ZodObject<{
237
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
238
- writerDocumentTypeId: z.ZodString;
239
- }, "strip", z.ZodTypeAny, {
240
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
241
- writerDocumentTypeId: string;
242
- }, {
243
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
244
- writerDocumentTypeId: string;
245
- }>]>;
246
141
  createdAt: z.ZodDate;
247
142
  updatedAt: z.ZodDate;
248
143
  } & {
@@ -270,7 +165,6 @@ export declare namespace FindPageByAliasCommand {
270
165
  }>, "many">;
271
166
  }, "strip", z.ZodTypeAny, {
272
167
  uuid: string;
273
- type: import("../..").PageType;
274
168
  title: string;
275
169
  createdAt: Date;
276
170
  updatedAt: Date;
@@ -279,14 +173,6 @@ export declare namespace FindPageByAliasCommand {
279
173
  subTitle: string;
280
174
  seoTextMd: string;
281
175
  alias: string;
282
- metadata: {
283
- type: import("../..").PageType.WRITER_TOOL;
284
- } | {
285
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
286
- } | {
287
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
288
- writerDocumentTypeId: string;
289
- };
290
176
  questions: {
291
177
  uuid: string;
292
178
  createdAt: Date;
@@ -297,7 +183,6 @@ export declare namespace FindPageByAliasCommand {
297
183
  }[];
298
184
  }, {
299
185
  uuid: string;
300
- type: import("../..").PageType;
301
186
  title: string;
302
187
  createdAt: Date;
303
188
  updatedAt: Date;
@@ -306,14 +191,6 @@ export declare namespace FindPageByAliasCommand {
306
191
  subTitle: string;
307
192
  seoTextMd: string;
308
193
  alias: string;
309
- metadata: {
310
- type: import("../..").PageType.WRITER_TOOL;
311
- } | {
312
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
313
- } | {
314
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
315
- writerDocumentTypeId: string;
316
- };
317
194
  questions: {
318
195
  uuid: string;
319
196
  createdAt: Date;
@@ -326,7 +203,6 @@ export declare namespace FindPageByAliasCommand {
326
203
  }, "strip", z.ZodTypeAny, {
327
204
  data: {
328
205
  uuid: string;
329
- type: import("../..").PageType;
330
206
  title: string;
331
207
  createdAt: Date;
332
208
  updatedAt: Date;
@@ -335,14 +211,6 @@ export declare namespace FindPageByAliasCommand {
335
211
  subTitle: string;
336
212
  seoTextMd: string;
337
213
  alias: string;
338
- metadata: {
339
- type: import("../..").PageType.WRITER_TOOL;
340
- } | {
341
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
342
- } | {
343
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
344
- writerDocumentTypeId: string;
345
- };
346
214
  questions: {
347
215
  uuid: string;
348
216
  createdAt: Date;
@@ -355,7 +223,6 @@ export declare namespace FindPageByAliasCommand {
355
223
  }, {
356
224
  data: {
357
225
  uuid: string;
358
- type: import("../..").PageType;
359
226
  title: string;
360
227
  createdAt: Date;
361
228
  updatedAt: Date;
@@ -364,14 +231,6 @@ export declare namespace FindPageByAliasCommand {
364
231
  subTitle: string;
365
232
  seoTextMd: string;
366
233
  alias: string;
367
- metadata: {
368
- type: import("../..").PageType.WRITER_TOOL;
369
- } | {
370
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
371
- } | {
372
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
373
- writerDocumentTypeId: string;
374
- };
375
234
  questions: {
376
235
  uuid: string;
377
236
  createdAt: Date;
@@ -391,29 +250,6 @@ export declare namespace FindPageByAliasCommand {
391
250
  subTitle: z.ZodString;
392
251
  seoTextMd: z.ZodString;
393
252
  alias: z.ZodString;
394
- type: z.ZodNativeEnum<typeof import("../..").PageType>;
395
- metadata: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
396
- type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
397
- }, "strip", z.ZodTypeAny, {
398
- type: import("../..").PageType.WRITER_TOOL;
399
- }, {
400
- type: import("../..").PageType.WRITER_TOOL;
401
- }>, z.ZodObject<{
402
- type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
403
- }, "strip", z.ZodTypeAny, {
404
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
405
- }, {
406
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
407
- }>, z.ZodObject<{
408
- type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
409
- writerDocumentTypeId: z.ZodString;
410
- }, "strip", z.ZodTypeAny, {
411
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
412
- writerDocumentTypeId: string;
413
- }, {
414
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
415
- writerDocumentTypeId: string;
416
- }>]>;
417
253
  createdAt: z.ZodDate;
418
254
  updatedAt: z.ZodDate;
419
255
  } & {
@@ -441,7 +277,6 @@ export declare namespace FindPageByAliasCommand {
441
277
  }>, "many">;
442
278
  }, "strip", z.ZodTypeAny, {
443
279
  uuid: string;
444
- type: import("../..").PageType;
445
280
  title: string;
446
281
  createdAt: Date;
447
282
  updatedAt: Date;
@@ -450,14 +285,6 @@ export declare namespace FindPageByAliasCommand {
450
285
  subTitle: string;
451
286
  seoTextMd: string;
452
287
  alias: string;
453
- metadata: {
454
- type: import("../..").PageType.WRITER_TOOL;
455
- } | {
456
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
457
- } | {
458
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
459
- writerDocumentTypeId: string;
460
- };
461
288
  questions: {
462
289
  uuid: string;
463
290
  createdAt: Date;
@@ -468,7 +295,6 @@ export declare namespace FindPageByAliasCommand {
468
295
  }[];
469
296
  }, {
470
297
  uuid: string;
471
- type: import("../..").PageType;
472
298
  title: string;
473
299
  createdAt: Date;
474
300
  updatedAt: Date;
@@ -477,14 +303,6 @@ export declare namespace FindPageByAliasCommand {
477
303
  subTitle: string;
478
304
  seoTextMd: string;
479
305
  alias: string;
480
- metadata: {
481
- type: import("../..").PageType.WRITER_TOOL;
482
- } | {
483
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
484
- } | {
485
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
486
- writerDocumentTypeId: string;
487
- };
488
306
  questions: {
489
307
  uuid: string;
490
308
  createdAt: Date;
@@ -497,7 +315,6 @@ export declare namespace FindPageByAliasCommand {
497
315
  }, "strip", z.ZodTypeAny, {
498
316
  data: {
499
317
  uuid: string;
500
- type: import("../..").PageType;
501
318
  title: string;
502
319
  createdAt: Date;
503
320
  updatedAt: Date;
@@ -506,14 +323,6 @@ export declare namespace FindPageByAliasCommand {
506
323
  subTitle: string;
507
324
  seoTextMd: string;
508
325
  alias: string;
509
- metadata: {
510
- type: import("../..").PageType.WRITER_TOOL;
511
- } | {
512
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
513
- } | {
514
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
515
- writerDocumentTypeId: string;
516
- };
517
326
  questions: {
518
327
  uuid: string;
519
328
  createdAt: Date;
@@ -526,7 +335,6 @@ export declare namespace FindPageByAliasCommand {
526
335
  }, {
527
336
  data: {
528
337
  uuid: string;
529
- type: import("../..").PageType;
530
338
  title: string;
531
339
  createdAt: Date;
532
340
  updatedAt: Date;
@@ -535,14 +343,6 @@ export declare namespace FindPageByAliasCommand {
535
343
  subTitle: string;
536
344
  seoTextMd: string;
537
345
  alias: string;
538
- metadata: {
539
- type: import("../..").PageType.WRITER_TOOL;
540
- } | {
541
- type: import("../..").PageType.EDU_TASK_SOLVING_TOOL;
542
- } | {
543
- type: import("../..").PageType.WRITER_DOCUMENT_TYPE;
544
- writerDocumentTypeId: string;
545
- };
546
346
  questions: {
547
347
  uuid: string;
548
348
  createdAt: Date;
@@ -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"}