@purpleschool/student-works 1.5.7 → 1.5.8

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.
@@ -7,6 +7,8 @@ export declare namespace CreatePageCommand {
7
7
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
8
8
  }, z.core.$strip>, z.ZodObject<{
9
9
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
10
12
  }, z.core.$strip>, z.ZodObject<{
11
13
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
12
14
  writerDocumentTypeId: z.ZodString;
@@ -32,6 +34,8 @@ export declare namespace CreatePageCommand {
32
34
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
33
35
  }, z.core.$strip>, z.ZodObject<{
34
36
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
35
39
  }, z.core.$strip>, z.ZodObject<{
36
40
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
37
41
  writerDocumentTypeId: z.ZodString;
@@ -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;;;;;;;;;;;;;;;;qBAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;qBAEzB,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;;;;;;;;;;;;;;;;;;qBAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -18,6 +18,8 @@ export declare namespace FindPageByAliasCommand {
18
18
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
19
19
  }, z.core.$strip>, z.ZodObject<{
20
20
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
21
23
  }, z.core.$strip>, z.ZodObject<{
22
24
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
23
25
  writerDocumentTypeId: z.ZodString;
@@ -49,6 +51,8 @@ export declare namespace FindPageByAliasCommand {
49
51
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
50
52
  }, z.core.$strip>, z.ZodObject<{
51
53
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
52
56
  }, z.core.$strip>, z.ZodObject<{
53
57
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
54
58
  writerDocumentTypeId: z.ZodString;
@@ -79,6 +83,8 @@ export declare namespace FindPageByAliasCommand {
79
83
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
80
84
  }, z.core.$strip>, z.ZodObject<{
81
85
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
82
88
  }, z.core.$strip>, z.ZodObject<{
83
89
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
84
90
  writerDocumentTypeId: z.ZodString;
@@ -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;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE9B,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;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE9B,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"}
@@ -24,6 +24,8 @@ export declare namespace FindPageByCriteriaCommand {
24
24
  type: z.ZodLiteral<PageType.WRITER_TOOL>;
25
25
  }, z.core.$strip>, z.ZodObject<{
26
26
  type: z.ZodLiteral<PageType.EDU_TASK_SOLVING_TOOL>;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ type: z.ZodLiteral<PageType.PRESENTATION_TOOL>;
27
29
  }, z.core.$strip>, z.ZodObject<{
28
30
  type: z.ZodLiteral<PageType.WRITER_DOCUMENT_TYPE>;
29
31
  writerDocumentTypeId: z.ZodString;
@@ -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,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;qBAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAIzB,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,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;qBAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -18,6 +18,8 @@ export declare namespace FindPageCommand {
18
18
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
19
19
  }, z.core.$strip>, z.ZodObject<{
20
20
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
21
23
  }, z.core.$strip>, z.ZodObject<{
22
24
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
23
25
  writerDocumentTypeId: z.ZodString;
@@ -49,6 +51,8 @@ export declare namespace FindPageCommand {
49
51
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
50
52
  }, z.core.$strip>, z.ZodObject<{
51
53
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
52
56
  }, z.core.$strip>, z.ZodObject<{
53
57
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
54
58
  writerDocumentTypeId: z.ZodString;
@@ -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;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE/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;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE/B,CAAC;IAEH,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACrE"}
@@ -7,6 +7,8 @@ export declare namespace UpdatePageCommand {
7
7
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
8
8
  }, z.core.$strip>, z.ZodObject<{
9
9
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
10
12
  }, z.core.$strip>, z.ZodObject<{
11
13
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
12
14
  writerDocumentTypeId: z.ZodString;
@@ -36,6 +38,8 @@ export declare namespace UpdatePageCommand {
36
38
  type: z.ZodLiteral<import("../..").PageType.WRITER_TOOL>;
37
39
  }, z.core.$strip>, z.ZodObject<{
38
40
  type: z.ZodLiteral<import("../..").PageType.EDU_TASK_SOLVING_TOOL>;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ type: z.ZodLiteral<import("../..").PageType.PRESENTATION_TOOL>;
39
43
  }, z.core.$strip>, z.ZodObject<{
40
44
  type: z.ZodLiteral<import("../..").PageType.WRITER_DOCUMENT_TYPE>;
41
45
  writerDocumentTypeId: z.ZodString;
@@ -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;;;;;;;;;;;;;;;;qBAId,CAAC;IAEb,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;qBAE7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;qBAEzB,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;;;;;;;;;;;;;;;;;;qBAId,CAAC;IAEb,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;qBAE7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1,6 +1,7 @@
1
1
  export declare enum PageType {
2
2
  WRITER_TOOL = "WRITER_TOOL",
3
3
  EDU_TASK_SOLVING_TOOL = "EDU_TASK_SOLVING_TOOL",
4
+ PRESENTATION_TOOL = "PRESENTATION_TOOL",
4
5
  WRITER_DOCUMENT_TYPE = "WRITER_DOCUMENT_TYPE"
5
6
  }
6
7
  //# sourceMappingURL=page-type.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"page-type.enum.d.ts","sourceRoot":"","sources":["../../../../constants/page/enums/page-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,WAAW,gBAAgB;IAC3B,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;CAChD"}
1
+ {"version":3,"file":"page-type.enum.d.ts","sourceRoot":"","sources":["../../../../constants/page/enums/page-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,WAAW,gBAAgB;IAC3B,qBAAqB,0BAA0B;IAC/C,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;CAChD"}
@@ -5,5 +5,6 @@ var PageType;
5
5
  (function (PageType) {
6
6
  PageType["WRITER_TOOL"] = "WRITER_TOOL";
7
7
  PageType["EDU_TASK_SOLVING_TOOL"] = "EDU_TASK_SOLVING_TOOL";
8
+ PageType["PRESENTATION_TOOL"] = "PRESENTATION_TOOL";
8
9
  PageType["WRITER_DOCUMENT_TYPE"] = "WRITER_DOCUMENT_TYPE";
9
10
  })(PageType || (exports.PageType = PageType = {}));
@@ -6,6 +6,9 @@ export declare const WriterToolPageMetadataSchema: z.ZodObject<{
6
6
  export declare const EduTaskSolvingToolPageMetadataSchema: z.ZodObject<{
7
7
  type: z.ZodLiteral<PageType.EDU_TASK_SOLVING_TOOL>;
8
8
  }, z.core.$strip>;
9
+ export declare const PresentationToolPageMetadataSchema: z.ZodObject<{
10
+ type: z.ZodLiteral<PageType.PRESENTATION_TOOL>;
11
+ }, z.core.$strip>;
9
12
  export declare const WriterDocumentTypePageMetadataSchema: z.ZodObject<{
10
13
  type: z.ZodLiteral<PageType.WRITER_DOCUMENT_TYPE>;
11
14
  writerDocumentTypeId: z.ZodString;
@@ -14,6 +17,8 @@ export declare const PageMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
17
  type: z.ZodLiteral<PageType.WRITER_TOOL>;
15
18
  }, z.core.$strip>, z.ZodObject<{
16
19
  type: z.ZodLiteral<PageType.EDU_TASK_SOLVING_TOOL>;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ type: z.ZodLiteral<PageType.PRESENTATION_TOOL>;
17
22
  }, z.core.$strip>, z.ZodObject<{
18
23
  type: z.ZodLiteral<PageType.WRITER_DOCUMENT_TYPE>;
19
24
  writerDocumentTypeId: z.ZodString;
@@ -31,6 +36,8 @@ export declare const PageSchema: z.ZodObject<{
31
36
  type: z.ZodLiteral<PageType.WRITER_TOOL>;
32
37
  }, z.core.$strip>, z.ZodObject<{
33
38
  type: z.ZodLiteral<PageType.EDU_TASK_SOLVING_TOOL>;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ type: z.ZodLiteral<PageType.PRESENTATION_TOOL>;
34
41
  }, z.core.$strip>, z.ZodObject<{
35
42
  type: z.ZodLiteral<PageType.WRITER_DOCUMENT_TYPE>;
36
43
  writerDocumentTypeId: z.ZodString;
@@ -51,6 +58,8 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
51
58
  type: z.ZodLiteral<PageType.WRITER_TOOL>;
52
59
  }, z.core.$strip>, z.ZodObject<{
53
60
  type: z.ZodLiteral<PageType.EDU_TASK_SOLVING_TOOL>;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ type: z.ZodLiteral<PageType.PRESENTATION_TOOL>;
54
63
  }, z.core.$strip>, z.ZodObject<{
55
64
  type: z.ZodLiteral<PageType.WRITER_DOCUMENT_TYPE>;
56
65
  writerDocumentTypeId: z.ZodString;
@@ -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;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,4BAA4B;;iBAEvC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;iBAE/C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;2BAI7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;iBAYrB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAElC,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;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,4BAA4B;;iBAEvC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;iBAE/C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;2BAK7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;iBAYrB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAElC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PageWithQuestionsSchema = exports.PageSchema = exports.PageMetadataSchema = exports.WriterDocumentTypePageMetadataSchema = exports.EduTaskSolvingToolPageMetadataSchema = exports.WriterToolPageMetadataSchema = void 0;
3
+ exports.PageWithQuestionsSchema = exports.PageSchema = exports.PageMetadataSchema = exports.WriterDocumentTypePageMetadataSchema = exports.PresentationToolPageMetadataSchema = exports.EduTaskSolvingToolPageMetadataSchema = exports.WriterToolPageMetadataSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const constants_1 = require("../constants");
6
6
  const page_question_schema_1 = require("./page-question.schema");
@@ -10,6 +10,9 @@ exports.WriterToolPageMetadataSchema = zod_1.z.object({
10
10
  exports.EduTaskSolvingToolPageMetadataSchema = zod_1.z.object({
11
11
  type: zod_1.z.literal(constants_1.PageType.EDU_TASK_SOLVING_TOOL),
12
12
  });
13
+ exports.PresentationToolPageMetadataSchema = zod_1.z.object({
14
+ type: zod_1.z.literal(constants_1.PageType.PRESENTATION_TOOL),
15
+ });
13
16
  exports.WriterDocumentTypePageMetadataSchema = zod_1.z.object({
14
17
  type: zod_1.z.literal(constants_1.PageType.WRITER_DOCUMENT_TYPE),
15
18
  writerDocumentTypeId: zod_1.z.string().uuid(),
@@ -17,6 +20,7 @@ exports.WriterDocumentTypePageMetadataSchema = zod_1.z.object({
17
20
  exports.PageMetadataSchema = zod_1.z.discriminatedUnion('type', [
18
21
  exports.WriterToolPageMetadataSchema,
19
22
  exports.EduTaskSolvingToolPageMetadataSchema,
23
+ exports.PresentationToolPageMetadataSchema,
20
24
  exports.WriterDocumentTypePageMetadataSchema,
21
25
  ]);
22
26
  exports.PageSchema = zod_1.z.object({
@@ -1,5 +1,6 @@
1
1
  export enum PageType {
2
2
  WRITER_TOOL = 'WRITER_TOOL',
3
3
  EDU_TASK_SOLVING_TOOL = 'EDU_TASK_SOLVING_TOOL',
4
+ PRESENTATION_TOOL = 'PRESENTATION_TOOL',
4
5
  WRITER_DOCUMENT_TYPE = 'WRITER_DOCUMENT_TYPE',
5
6
  }
@@ -10,6 +10,10 @@ export const EduTaskSolvingToolPageMetadataSchema = z.object({
10
10
  type: z.literal(PageType.EDU_TASK_SOLVING_TOOL),
11
11
  });
12
12
 
13
+ export const PresentationToolPageMetadataSchema = z.object({
14
+ type: z.literal(PageType.PRESENTATION_TOOL),
15
+ });
16
+
13
17
  export const WriterDocumentTypePageMetadataSchema = z.object({
14
18
  type: z.literal(PageType.WRITER_DOCUMENT_TYPE),
15
19
  writerDocumentTypeId: z.string().uuid(),
@@ -18,6 +22,7 @@ export const WriterDocumentTypePageMetadataSchema = z.object({
18
22
  export const PageMetadataSchema = z.discriminatedUnion('type', [
19
23
  WriterToolPageMetadataSchema,
20
24
  EduTaskSolvingToolPageMetadataSchema,
25
+ PresentationToolPageMetadataSchema,
21
26
  WriterDocumentTypePageMetadataSchema,
22
27
  ]);
23
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/student-works",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",