@purpleschool/gptbot 0.18.6-stage-2 → 0.18.7-stage-2
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/tools/presentation/get-presentation-config.command.d.ts +10 -0
- package/build/models/tools/presentation/index.d.ts +1 -0
- package/build/models/tools/presentation/index.js +1 -0
- package/build/models/tools/presentation/presentation-config.schema.d.ts +10 -0
- package/build/models/tools/presentation/presentation-config.schema.js +2 -0
- package/build/models/tools/presentation/presentation-preset.schema.d.ts +13 -0
- package/build/models/tools/presentation/presentation-preset.schema.js +15 -0
- package/package.json +1 -1
|
@@ -29,6 +29,16 @@ export declare namespace GetPresentationConfigCommand {
|
|
|
29
29
|
createdAt: z.ZodDate;
|
|
30
30
|
updatedAt: z.ZodDate;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodUUID;
|
|
34
|
+
code: z.ZodString;
|
|
35
|
+
title: z.ZodString;
|
|
36
|
+
prompt: z.ZodString;
|
|
37
|
+
templateId: z.ZodUUID;
|
|
38
|
+
slideCount: z.ZodNumber;
|
|
39
|
+
targetAudience: z.ZodEnum<typeof import("../../..").PRESENTATION_TARGET_AUDIENCE>;
|
|
40
|
+
order: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>>;
|
|
32
42
|
aiActions: z.ZodArray<z.ZodObject<{
|
|
33
43
|
uuid: z.ZodString;
|
|
34
44
|
type: z.ZodEnum<typeof import("../../..").PRESENTATION_AI_ACTION_TYPE>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './pptx-export-payload.schema';
|
|
2
2
|
export * from './presentation-template.schema';
|
|
3
|
+
export * from './presentation-preset.schema';
|
|
3
4
|
export * from './presentation.schema';
|
|
4
5
|
export * from './slide-content-edit.schema';
|
|
5
6
|
export * from './slide-content-type.schema';
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./pptx-export-payload.schema"), exports);
|
|
18
18
|
__exportStar(require("./presentation-template.schema"), exports);
|
|
19
|
+
__exportStar(require("./presentation-preset.schema"), exports);
|
|
19
20
|
__exportStar(require("./presentation.schema"), exports);
|
|
20
21
|
__exportStar(require("./slide-content-edit.schema"), exports);
|
|
21
22
|
__exportStar(require("./slide-content-type.schema"), exports);
|
|
@@ -27,6 +27,16 @@ export declare const PresentationConfigSchema: z.ZodObject<{
|
|
|
27
27
|
createdAt: z.ZodDate;
|
|
28
28
|
updatedAt: z.ZodDate;
|
|
29
29
|
}, z.core.$strip>>;
|
|
30
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
31
|
+
uuid: z.ZodUUID;
|
|
32
|
+
code: z.ZodString;
|
|
33
|
+
title: z.ZodString;
|
|
34
|
+
prompt: z.ZodString;
|
|
35
|
+
templateId: z.ZodUUID;
|
|
36
|
+
slideCount: z.ZodNumber;
|
|
37
|
+
targetAudience: z.ZodEnum<typeof import("../../..").PRESENTATION_TARGET_AUDIENCE>;
|
|
38
|
+
order: z.ZodNumber;
|
|
39
|
+
}, z.core.$strip>>;
|
|
30
40
|
aiActions: z.ZodArray<z.ZodObject<{
|
|
31
41
|
uuid: z.ZodString;
|
|
32
42
|
type: z.ZodEnum<typeof import("../../..").PRESENTATION_AI_ACTION_TYPE>;
|
|
@@ -5,11 +5,13 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const slide_content_type_schema_1 = require("./slide-content-type.schema");
|
|
6
6
|
const language_1 = require("../language");
|
|
7
7
|
const presentation_template_schema_1 = require("./presentation-template.schema");
|
|
8
|
+
const presentation_preset_schema_1 = require("./presentation-preset.schema");
|
|
8
9
|
const presentation_ai_action_schema_1 = require("./presentation-ai-action.schema");
|
|
9
10
|
exports.PresentationConfigSchema = zod_1.z.object({
|
|
10
11
|
slideContentTypes: zod_1.z.array(slide_content_type_schema_1.SlideContentTypeSchema),
|
|
11
12
|
languages: zod_1.z.array(language_1.LanguageSchema),
|
|
12
13
|
templates: zod_1.z.array(presentation_template_schema_1.PresentationTemplateSchema),
|
|
14
|
+
presets: zod_1.z.array(presentation_preset_schema_1.PresentationPresetSchema),
|
|
13
15
|
aiActions: zod_1.z.array(presentation_ai_action_schema_1.PresentationAiActionSchema),
|
|
14
16
|
slideGenerationPrice: zod_1.z.number(),
|
|
15
17
|
maxSlides: zod_1.z.number(),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { PRESENTATION_TARGET_AUDIENCE } from '../../../constants';
|
|
3
|
+
export declare const PresentationPresetSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
prompt: z.ZodString;
|
|
8
|
+
templateId: z.ZodUUID;
|
|
9
|
+
slideCount: z.ZodNumber;
|
|
10
|
+
targetAudience: z.ZodEnum<typeof PRESENTATION_TARGET_AUDIENCE>;
|
|
11
|
+
order: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type PresentationPreset = z.infer<typeof PresentationPresetSchema>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PresentationPresetSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
exports.PresentationPresetSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.uuid(),
|
|
8
|
+
code: zod_1.z.string(),
|
|
9
|
+
title: zod_1.z.string(),
|
|
10
|
+
prompt: zod_1.z.string(),
|
|
11
|
+
templateId: zod_1.z.uuid(),
|
|
12
|
+
slideCount: zod_1.z.number().int(),
|
|
13
|
+
targetAudience: zod_1.z.enum(constants_1.PRESENTATION_TARGET_AUDIENCE),
|
|
14
|
+
order: zod_1.z.number().int(),
|
|
15
|
+
});
|