@purpleschool/gptbot-tools 0.2.88 → 0.3.88-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/html-page-builder/commands/get-html-page-builder-price-calculation-data.command.d.ts +31 -7
- package/build/html-page-builder/commands/get-html-page-builder-price-calculation-data.command.js +30 -3
- package/build/html-page-builder/commands/html-page-builder-answer-questions.command.d.ts +244 -0
- package/build/html-page-builder/commands/html-page-builder-answer-questions.command.js +23 -0
- package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +138 -8
- package/build/html-page-builder/commands/html-page-builder-execute.command.js +18 -0
- package/build/html-page-builder/commands/index.d.ts +2 -1
- package/build/html-page-builder/commands/index.js +2 -1
- package/build/html-page-builder/commands/update-html-page-builder-session-favorite.command.d.ts +128 -8
- package/build/html-page-builder/commands/update-html-page-builder-session-reaction.command.d.ts +242 -0
- package/build/html-page-builder/commands/update-html-page-builder-session-reaction.command.js +22 -0
- package/build/html-page-builder/commands/update-html-page-builder-session-title.command.d.ts +128 -8
- package/build/html-page-builder/enums/html-page-builder-catalog-sort.enum.d.ts +4 -0
- package/build/html-page-builder/enums/html-page-builder-catalog-sort.enum.js +9 -0
- package/build/html-page-builder/enums/html-page-builder-font-tag.enum.d.ts +5 -0
- package/build/html-page-builder/enums/html-page-builder-font-tag.enum.js +10 -0
- package/build/html-page-builder/enums/html-page-builder-generation-step.enum.d.ts +15 -0
- package/build/html-page-builder/enums/html-page-builder-generation-step.enum.js +17 -0
- package/build/html-page-builder/enums/html-page-builder-question-type.enum.d.ts +12 -0
- package/build/html-page-builder/enums/html-page-builder-question-type.enum.js +16 -0
- package/build/html-page-builder/enums/html-page-builder-session-status.enum.d.ts +19 -0
- package/build/html-page-builder/enums/html-page-builder-session-status.enum.js +23 -0
- package/build/html-page-builder/enums/html-page-builder-style-tag.enum.d.ts +8 -0
- package/build/html-page-builder/enums/html-page-builder-style-tag.enum.js +12 -0
- package/build/html-page-builder/enums/index.d.ts +6 -1
- package/build/html-page-builder/enums/index.js +6 -1
- package/build/html-page-builder/models/html-page-builder-clarification.schema.d.ts +40 -0
- package/build/html-page-builder/models/html-page-builder-clarification.schema.js +32 -0
- package/build/html-page-builder/models/html-page-builder-config.schema.d.ts +109 -0
- package/build/html-page-builder/models/html-page-builder-config.schema.js +19 -1
- package/build/html-page-builder/models/html-page-builder-font.schema.d.ts +24 -0
- package/build/html-page-builder/models/html-page-builder-font.schema.js +19 -0
- package/build/html-page-builder/models/html-page-builder-job.schema.d.ts +78 -3
- package/build/html-page-builder/models/html-page-builder-job.schema.js +50 -3
- package/build/html-page-builder/models/html-page-builder-page.schema.d.ts +25 -0
- package/build/html-page-builder/models/html-page-builder-page.schema.js +13 -0
- package/build/html-page-builder/models/html-page-builder-preset.schema.d.ts +58 -0
- package/build/html-page-builder/models/html-page-builder-preset.schema.js +23 -0
- package/build/html-page-builder/models/html-page-builder-session.schema.d.ts +67 -7
- package/build/html-page-builder/models/html-page-builder-session.schema.js +15 -3
- package/build/html-page-builder/models/html-page-builder-shared-site.schema.d.ts +12 -0
- package/build/html-page-builder/models/html-page-builder-shared-site.schema.js +16 -0
- package/build/html-page-builder/models/html-page-builder-sitemap.schema.d.ts +31 -0
- package/build/html-page-builder/models/html-page-builder-sitemap.schema.js +17 -0
- package/build/html-page-builder/models/html-page-builder-style.schema.d.ts +16 -0
- package/build/html-page-builder/models/html-page-builder-style.schema.js +19 -0
- package/build/html-page-builder/models/html-page-builder-token-usage.schema.d.ts +35 -0
- package/build/html-page-builder/models/html-page-builder-token-usage.schema.js +21 -0
- package/build/html-page-builder/models/index.d.ts +8 -0
- package/build/html-page-builder/models/index.js +8 -0
- package/build/html-page-builder/queries/find-html-page-builder-font-by-id.query.d.ts +55 -0
- package/build/html-page-builder/queries/find-html-page-builder-font-by-id.query.js +15 -0
- package/build/html-page-builder/queries/find-html-page-builder-fonts.query.d.ts +69 -0
- package/build/html-page-builder/queries/find-html-page-builder-fonts.query.js +28 -0
- package/build/html-page-builder/queries/find-html-page-builder-presets.query.d.ts +136 -0
- package/build/html-page-builder/queries/find-html-page-builder-presets.query.js +21 -0
- package/build/html-page-builder/queries/find-html-page-builder-session-by-id.query.d.ts +128 -8
- package/build/html-page-builder/queries/find-html-page-builder-sessions.query.d.ts +133 -12
- package/build/html-page-builder/queries/find-html-page-builder-sessions.query.js +2 -1
- package/build/html-page-builder/queries/find-html-page-builder-style-by-id.query.d.ts +39 -0
- package/build/html-page-builder/queries/find-html-page-builder-style-by-id.query.js +15 -0
- package/build/html-page-builder/queries/find-html-page-builder-styles.query.d.ts +53 -0
- package/build/html-page-builder/queries/find-html-page-builder-styles.query.js +28 -0
- package/build/html-page-builder/queries/get-html-page-builder-config.query.d.ts +196 -0
- package/build/html-page-builder/queries/get-shared-html-page-builder-site.query.d.ts +20 -0
- package/build/html-page-builder/queries/get-shared-html-page-builder-site.query.js +15 -0
- package/build/html-page-builder/queries/index.d.ts +6 -0
- package/build/html-page-builder/queries/index.js +6 -0
- package/build/html-page-builder/routes/html-page-builder.amqp.routes.d.ts +8 -1
- package/build/html-page-builder/routes/html-page-builder.amqp.routes.js +11 -1
- package/build/tools/models/global-tools-config.schema.d.ts +98 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +196 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +196 -0
- package/build/tools/queries/get-tools-with-configs.query.d.ts +196 -0
- package/package.json +1 -1
- package/build/html-page-builder/commands/create-html-page-builder-session.command.d.ts +0 -118
- package/build/html-page-builder/commands/create-html-page-builder-session.command.js +0 -28
- package/build/html-page-builder/enums/html-page-builder-session-stage.enum.d.ts +0 -4
- package/build/html-page-builder/enums/html-page-builder-session-stage.enum.js +0 -8
package/build/html-page-builder/commands/update-html-page-builder-session-title.command.d.ts
CHANGED
|
@@ -12,10 +12,28 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
12
12
|
data: z.ZodOptional<z.ZodType<{
|
|
13
13
|
uuid: string;
|
|
14
14
|
title: string;
|
|
15
|
-
status: import("
|
|
16
|
-
stage: import("..").HTML_PAGE_BUILDER_SESSION_STAGE;
|
|
15
|
+
status: import("..").HTML_PAGE_BUILDER_SESSION_STATUS;
|
|
17
16
|
currentHtml?: string | null | undefined;
|
|
17
|
+
currentJobId?: string | null | undefined;
|
|
18
|
+
currentJob?: {
|
|
19
|
+
uuid: string;
|
|
20
|
+
status: import("../..").JOB_STATUS;
|
|
21
|
+
previewUrl?: string | undefined;
|
|
22
|
+
files?: {
|
|
23
|
+
stylesheet: string;
|
|
24
|
+
script: string;
|
|
25
|
+
pages: {
|
|
26
|
+
slug: string;
|
|
27
|
+
url: string;
|
|
28
|
+
}[];
|
|
29
|
+
} | undefined;
|
|
30
|
+
error: string | null;
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
completedAt?: Date | null | undefined;
|
|
33
|
+
} | null | undefined;
|
|
18
34
|
lastUsedModelId?: string | null | undefined;
|
|
35
|
+
reaction: import("../..").USER_REACTION | null;
|
|
36
|
+
dislikeReason: string | null;
|
|
19
37
|
userId?: string | null | undefined;
|
|
20
38
|
unregisteredUserId?: string | null | undefined;
|
|
21
39
|
isDeleted: boolean;
|
|
@@ -27,16 +45,45 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
27
45
|
userPrompt: string;
|
|
28
46
|
title: string;
|
|
29
47
|
generatedHtml?: string | null | undefined;
|
|
48
|
+
generatedPages?: {
|
|
49
|
+
slug: string;
|
|
50
|
+
title: string;
|
|
51
|
+
html: string;
|
|
52
|
+
order: number;
|
|
53
|
+
isHome: boolean;
|
|
54
|
+
}[] | null | undefined;
|
|
55
|
+
previewUrl?: string | undefined;
|
|
56
|
+
files?: {
|
|
57
|
+
stylesheet: string;
|
|
58
|
+
script: string;
|
|
59
|
+
pages: {
|
|
60
|
+
slug: string;
|
|
61
|
+
url: string;
|
|
62
|
+
}[];
|
|
63
|
+
} | undefined;
|
|
30
64
|
status: import("../..").JOB_STATUS;
|
|
31
65
|
error: string | null;
|
|
32
66
|
internalError?: string | null | undefined;
|
|
33
67
|
price: number;
|
|
34
|
-
reaction: import("../..").USER_REACTION | null;
|
|
35
|
-
dislikeReason: string | null;
|
|
36
68
|
inputTokens?: number | null | undefined;
|
|
37
69
|
outputTokens?: number | null | undefined;
|
|
38
70
|
totalTokens?: number | null | undefined;
|
|
39
71
|
tokenReservationId?: string | null | undefined;
|
|
72
|
+
questions: {
|
|
73
|
+
id: string;
|
|
74
|
+
question: string;
|
|
75
|
+
type: import("..").HTML_PAGE_BUILDER_QUESTION_TYPE;
|
|
76
|
+
options: string[];
|
|
77
|
+
recommendedAnswer: string;
|
|
78
|
+
allowCustomAnswer: boolean;
|
|
79
|
+
}[];
|
|
80
|
+
answers: {
|
|
81
|
+
questionId: string;
|
|
82
|
+
answers: string[];
|
|
83
|
+
}[];
|
|
84
|
+
styleId?: string | null | undefined;
|
|
85
|
+
fontId?: string | null | undefined;
|
|
86
|
+
accentColor: string;
|
|
40
87
|
userId?: string | null | undefined;
|
|
41
88
|
unregisteredUserId?: string | null | undefined;
|
|
42
89
|
params: {
|
|
@@ -51,21 +98,52 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
51
98
|
content?: string | null | undefined;
|
|
52
99
|
contentLength?: number | null | undefined;
|
|
53
100
|
}[];
|
|
101
|
+
pagesCount?: number | undefined;
|
|
102
|
+
clarifications: {
|
|
103
|
+
question: string;
|
|
104
|
+
answer: string;
|
|
105
|
+
}[];
|
|
106
|
+
mock?: boolean | undefined;
|
|
54
107
|
};
|
|
55
108
|
isDeleted: boolean;
|
|
56
109
|
createdAt: Date;
|
|
57
110
|
completedAt?: Date | null | undefined;
|
|
58
111
|
updatedAt: Date;
|
|
59
112
|
}[] | undefined;
|
|
113
|
+
pages?: {
|
|
114
|
+
slug: string;
|
|
115
|
+
title: string;
|
|
116
|
+
html: string;
|
|
117
|
+
order: number;
|
|
118
|
+
isHome: boolean;
|
|
119
|
+
}[] | undefined;
|
|
60
120
|
createdAt: Date;
|
|
61
121
|
updatedAt: Date;
|
|
62
122
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
63
123
|
uuid: string;
|
|
64
124
|
title: string;
|
|
65
|
-
status: import("
|
|
66
|
-
stage: import("..").HTML_PAGE_BUILDER_SESSION_STAGE;
|
|
125
|
+
status: import("..").HTML_PAGE_BUILDER_SESSION_STATUS;
|
|
67
126
|
currentHtml?: string | null | undefined;
|
|
127
|
+
currentJobId?: string | null | undefined;
|
|
128
|
+
currentJob?: {
|
|
129
|
+
uuid: string;
|
|
130
|
+
status: import("../..").JOB_STATUS;
|
|
131
|
+
previewUrl?: string | undefined;
|
|
132
|
+
files?: {
|
|
133
|
+
stylesheet: string;
|
|
134
|
+
script: string;
|
|
135
|
+
pages: {
|
|
136
|
+
slug: string;
|
|
137
|
+
url: string;
|
|
138
|
+
}[];
|
|
139
|
+
} | undefined;
|
|
140
|
+
error: string | null;
|
|
141
|
+
createdAt: Date;
|
|
142
|
+
completedAt?: Date | null | undefined;
|
|
143
|
+
} | null | undefined;
|
|
68
144
|
lastUsedModelId?: string | null | undefined;
|
|
145
|
+
reaction: import("../..").USER_REACTION | null;
|
|
146
|
+
dislikeReason: string | null;
|
|
69
147
|
userId?: string | null | undefined;
|
|
70
148
|
unregisteredUserId?: string | null | undefined;
|
|
71
149
|
isDeleted: boolean;
|
|
@@ -77,16 +155,45 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
77
155
|
userPrompt: string;
|
|
78
156
|
title: string;
|
|
79
157
|
generatedHtml?: string | null | undefined;
|
|
158
|
+
generatedPages?: {
|
|
159
|
+
slug: string;
|
|
160
|
+
title: string;
|
|
161
|
+
html: string;
|
|
162
|
+
order: number;
|
|
163
|
+
isHome: boolean;
|
|
164
|
+
}[] | null | undefined;
|
|
165
|
+
previewUrl?: string | undefined;
|
|
166
|
+
files?: {
|
|
167
|
+
stylesheet: string;
|
|
168
|
+
script: string;
|
|
169
|
+
pages: {
|
|
170
|
+
slug: string;
|
|
171
|
+
url: string;
|
|
172
|
+
}[];
|
|
173
|
+
} | undefined;
|
|
80
174
|
status: import("../..").JOB_STATUS;
|
|
81
175
|
error: string | null;
|
|
82
176
|
internalError?: string | null | undefined;
|
|
83
177
|
price: number;
|
|
84
|
-
reaction: import("../..").USER_REACTION | null;
|
|
85
|
-
dislikeReason: string | null;
|
|
86
178
|
inputTokens?: number | null | undefined;
|
|
87
179
|
outputTokens?: number | null | undefined;
|
|
88
180
|
totalTokens?: number | null | undefined;
|
|
89
181
|
tokenReservationId?: string | null | undefined;
|
|
182
|
+
questions: {
|
|
183
|
+
id: string;
|
|
184
|
+
question: string;
|
|
185
|
+
type: import("..").HTML_PAGE_BUILDER_QUESTION_TYPE;
|
|
186
|
+
options: string[];
|
|
187
|
+
recommendedAnswer: string;
|
|
188
|
+
allowCustomAnswer: boolean;
|
|
189
|
+
}[];
|
|
190
|
+
answers: {
|
|
191
|
+
questionId: string;
|
|
192
|
+
answers: string[];
|
|
193
|
+
}[];
|
|
194
|
+
styleId?: string | null | undefined;
|
|
195
|
+
fontId?: string | null | undefined;
|
|
196
|
+
accentColor: string;
|
|
90
197
|
userId?: string | null | undefined;
|
|
91
198
|
unregisteredUserId?: string | null | undefined;
|
|
92
199
|
params: {
|
|
@@ -101,12 +208,25 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
101
208
|
content?: string | null | undefined;
|
|
102
209
|
contentLength?: number | null | undefined;
|
|
103
210
|
}[];
|
|
211
|
+
pagesCount?: number | undefined;
|
|
212
|
+
clarifications: {
|
|
213
|
+
question: string;
|
|
214
|
+
answer: string;
|
|
215
|
+
}[];
|
|
216
|
+
mock?: boolean | undefined;
|
|
104
217
|
};
|
|
105
218
|
isDeleted: boolean;
|
|
106
219
|
createdAt: Date;
|
|
107
220
|
completedAt?: Date | null | undefined;
|
|
108
221
|
updatedAt: Date;
|
|
109
222
|
}[] | undefined;
|
|
223
|
+
pages?: {
|
|
224
|
+
slug: string;
|
|
225
|
+
title: string;
|
|
226
|
+
html: string;
|
|
227
|
+
order: number;
|
|
228
|
+
isHome: boolean;
|
|
229
|
+
}[] | undefined;
|
|
110
230
|
createdAt: Date;
|
|
111
231
|
updatedAt: Date;
|
|
112
232
|
}, unknown>>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_CATALOG_SORT = void 0;
|
|
4
|
+
// Shared by the style and font catalogs: both are browsed the same way
|
|
5
|
+
var HTML_PAGE_BUILDER_CATALOG_SORT;
|
|
6
|
+
(function (HTML_PAGE_BUILDER_CATALOG_SORT) {
|
|
7
|
+
HTML_PAGE_BUILDER_CATALOG_SORT["POPULARITY"] = "POPULARITY";
|
|
8
|
+
HTML_PAGE_BUILDER_CATALOG_SORT["NEW"] = "NEW";
|
|
9
|
+
})(HTML_PAGE_BUILDER_CATALOG_SORT || (exports.HTML_PAGE_BUILDER_CATALOG_SORT = HTML_PAGE_BUILDER_CATALOG_SORT = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_FONT_TAG = void 0;
|
|
4
|
+
// Grouping comes from the design: 7 basic, 4 accent, 4 elegant faces
|
|
5
|
+
var HTML_PAGE_BUILDER_FONT_TAG;
|
|
6
|
+
(function (HTML_PAGE_BUILDER_FONT_TAG) {
|
|
7
|
+
HTML_PAGE_BUILDER_FONT_TAG["BASIC"] = "BASIC";
|
|
8
|
+
HTML_PAGE_BUILDER_FONT_TAG["ACCENT"] = "ACCENT";
|
|
9
|
+
HTML_PAGE_BUILDER_FONT_TAG["ELEGANT"] = "ELEGANT";
|
|
10
|
+
})(HTML_PAGE_BUILDER_FONT_TAG || (exports.HTML_PAGE_BUILDER_FONT_TAG = HTML_PAGE_BUILDER_FONT_TAG = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A provider call of a run, named so the tokens it burned can be attributed to it.
|
|
3
|
+
*
|
|
4
|
+
* One run makes several: the questions run on a model of their own, a multi-page site is planned
|
|
5
|
+
* first and then written page by page. A single total cannot say which of them is expensive, and
|
|
6
|
+
* cannot be turned back into money either — the steps do not share a tariff.
|
|
7
|
+
*/
|
|
8
|
+
export declare const HTML_PAGE_BUILDER_GENERATION_STEP: {
|
|
9
|
+
readonly CLARIFICATIONS: 'clarifications';
|
|
10
|
+
readonly SITEMAP: 'sitemap';
|
|
11
|
+
readonly HOME_PAGE: 'home-page';
|
|
12
|
+
readonly SUB_PAGE: 'sub-page';
|
|
13
|
+
readonly SINGLE_PAGE: 'single-page';
|
|
14
|
+
};
|
|
15
|
+
export type HTML_PAGE_BUILDER_GENERATION_STEP = (typeof HTML_PAGE_BUILDER_GENERATION_STEP)[keyof typeof HTML_PAGE_BUILDER_GENERATION_STEP];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_GENERATION_STEP = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* A provider call of a run, named so the tokens it burned can be attributed to it.
|
|
6
|
+
*
|
|
7
|
+
* One run makes several: the questions run on a model of their own, a multi-page site is planned
|
|
8
|
+
* first and then written page by page. A single total cannot say which of them is expensive, and
|
|
9
|
+
* cannot be turned back into money either — the steps do not share a tariff.
|
|
10
|
+
*/
|
|
11
|
+
exports.HTML_PAGE_BUILDER_GENERATION_STEP = {
|
|
12
|
+
CLARIFICATIONS: 'clarifications',
|
|
13
|
+
SITEMAP: 'sitemap',
|
|
14
|
+
HOME_PAGE: 'home-page',
|
|
15
|
+
SUB_PAGE: 'sub-page',
|
|
16
|
+
SINGLE_PAGE: 'single-page',
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shape of the answer a clarifying question expects. The model picks it per question:
|
|
3
|
+
* how the answer is collected is part of what is being asked.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum HTML_PAGE_BUILDER_QUESTION_TYPE {
|
|
6
|
+
/** Exactly one of `options` */
|
|
7
|
+
SINGLE = "single",
|
|
8
|
+
/** One or more of `options` */
|
|
9
|
+
MULTI = "multi",
|
|
10
|
+
/** Free text; `options` may still be offered as examples */
|
|
11
|
+
TEXT = "text"
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_QUESTION_TYPE = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Shape of the answer a clarifying question expects. The model picks it per question:
|
|
6
|
+
* how the answer is collected is part of what is being asked.
|
|
7
|
+
*/
|
|
8
|
+
var HTML_PAGE_BUILDER_QUESTION_TYPE;
|
|
9
|
+
(function (HTML_PAGE_BUILDER_QUESTION_TYPE) {
|
|
10
|
+
/** Exactly one of `options` */
|
|
11
|
+
HTML_PAGE_BUILDER_QUESTION_TYPE["SINGLE"] = "single";
|
|
12
|
+
/** One or more of `options` */
|
|
13
|
+
HTML_PAGE_BUILDER_QUESTION_TYPE["MULTI"] = "multi";
|
|
14
|
+
/** Free text; `options` may still be offered as examples */
|
|
15
|
+
HTML_PAGE_BUILDER_QUESTION_TYPE["TEXT"] = "text";
|
|
16
|
+
})(HTML_PAGE_BUILDER_QUESTION_TYPE || (exports.HTML_PAGE_BUILDER_QUESTION_TYPE = HTML_PAGE_BUILDER_QUESTION_TYPE = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status of a html-page-builder session, and the only progress signal the client has: it polls
|
|
3
|
+
* `sessions.get` and renders the phase this reports.
|
|
4
|
+
*
|
|
5
|
+
* Deliberately separate from the shared `JOB_STATUS`: a session now passes through two provider
|
|
6
|
+
* phases with a human in between, and no other tool has that shape. Values that exist in both
|
|
7
|
+
* enums are spelled identically, so rows written before this enum stay valid.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum HTML_PAGE_BUILDER_SESSION_STATUS {
|
|
10
|
+
PENDING = "pending",
|
|
11
|
+
/** The model is writing the clarifying questions. Seconds. */
|
|
12
|
+
CLARIFYING = "clarifying",
|
|
13
|
+
/** Questions are ready and the session waits for the user. Indefinite — nobody is charged for waiting. */
|
|
14
|
+
AWAITING_ANSWERS = "awaiting_answers",
|
|
15
|
+
/** The model is writing the site. Minutes. */
|
|
16
|
+
GENERATING = "generating",
|
|
17
|
+
COMPLETED = "completed",
|
|
18
|
+
FAILED = "failed"
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_SESSION_STATUS = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Status of a html-page-builder session, and the only progress signal the client has: it polls
|
|
6
|
+
* `sessions.get` and renders the phase this reports.
|
|
7
|
+
*
|
|
8
|
+
* Deliberately separate from the shared `JOB_STATUS`: a session now passes through two provider
|
|
9
|
+
* phases with a human in between, and no other tool has that shape. Values that exist in both
|
|
10
|
+
* enums are spelled identically, so rows written before this enum stay valid.
|
|
11
|
+
*/
|
|
12
|
+
var HTML_PAGE_BUILDER_SESSION_STATUS;
|
|
13
|
+
(function (HTML_PAGE_BUILDER_SESSION_STATUS) {
|
|
14
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["PENDING"] = "pending";
|
|
15
|
+
/** The model is writing the clarifying questions. Seconds. */
|
|
16
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["CLARIFYING"] = "clarifying";
|
|
17
|
+
/** Questions are ready and the session waits for the user. Indefinite — nobody is charged for waiting. */
|
|
18
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["AWAITING_ANSWERS"] = "awaiting_answers";
|
|
19
|
+
/** The model is writing the site. Minutes. */
|
|
20
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["GENERATING"] = "generating";
|
|
21
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["COMPLETED"] = "completed";
|
|
22
|
+
HTML_PAGE_BUILDER_SESSION_STATUS["FAILED"] = "failed";
|
|
23
|
+
})(HTML_PAGE_BUILDER_SESSION_STATUS || (exports.HTML_PAGE_BUILDER_SESSION_STATUS = HTML_PAGE_BUILDER_SESSION_STATUS = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HTML_PAGE_BUILDER_STYLE_TAG = void 0;
|
|
4
|
+
var HTML_PAGE_BUILDER_STYLE_TAG;
|
|
5
|
+
(function (HTML_PAGE_BUILDER_STYLE_TAG) {
|
|
6
|
+
HTML_PAGE_BUILDER_STYLE_TAG["BUSINESS"] = "BUSINESS";
|
|
7
|
+
HTML_PAGE_BUILDER_STYLE_TAG["CREATIVE"] = "CREATIVE";
|
|
8
|
+
HTML_PAGE_BUILDER_STYLE_TAG["SHOPS"] = "SHOPS";
|
|
9
|
+
HTML_PAGE_BUILDER_STYLE_TAG["DARK"] = "DARK";
|
|
10
|
+
HTML_PAGE_BUILDER_STYLE_TAG["LIGHT"] = "LIGHT";
|
|
11
|
+
HTML_PAGE_BUILDER_STYLE_TAG["PORTFOLIO"] = "PORTFOLIO";
|
|
12
|
+
})(HTML_PAGE_BUILDER_STYLE_TAG || (exports.HTML_PAGE_BUILDER_STYLE_TAG = HTML_PAGE_BUILDER_STYLE_TAG = {}));
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export * from './html-page-builder-session-
|
|
1
|
+
export * from './html-page-builder-session-status.enum';
|
|
2
|
+
export * from './html-page-builder-question-type.enum';
|
|
3
|
+
export * from './html-page-builder-style-tag.enum';
|
|
4
|
+
export * from './html-page-builder-font-tag.enum';
|
|
5
|
+
export * from './html-page-builder-catalog-sort.enum';
|
|
6
|
+
export * from './html-page-builder-generation-step.enum';
|
|
@@ -14,4 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./html-page-builder-session-
|
|
17
|
+
__exportStar(require("./html-page-builder-session-status.enum"), exports);
|
|
18
|
+
__exportStar(require("./html-page-builder-question-type.enum"), exports);
|
|
19
|
+
__exportStar(require("./html-page-builder-style-tag.enum"), exports);
|
|
20
|
+
__exportStar(require("./html-page-builder-font-tag.enum"), exports);
|
|
21
|
+
__exportStar(require("./html-page-builder-catalog-sort.enum"), exports);
|
|
22
|
+
__exportStar(require("./html-page-builder-generation-step.enum"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTML_PAGE_BUILDER_QUESTION_TYPE } from '../enums';
|
|
3
|
+
export declare const HtmlPageBuilderClarificationQuestionSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
question: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<typeof HTML_PAGE_BUILDER_QUESTION_TYPE>;
|
|
7
|
+
options: z.ZodArray<z.ZodString>;
|
|
8
|
+
recommendedAnswer: z.ZodString;
|
|
9
|
+
allowCustomAnswer: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type HtmlPageBuilderClarificationQuestion = z.infer<typeof HtmlPageBuilderClarificationQuestionSchema>;
|
|
12
|
+
export declare const HtmlPageBuilderClarificationQuestionsSchema: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
question: z.ZodString;
|
|
15
|
+
type: z.ZodEnum<typeof HTML_PAGE_BUILDER_QUESTION_TYPE>;
|
|
16
|
+
options: z.ZodArray<z.ZodString>;
|
|
17
|
+
recommendedAnswer: z.ZodString;
|
|
18
|
+
allowCustomAnswer: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
export type HtmlPageBuilderClarificationQuestions = z.infer<typeof HtmlPageBuilderClarificationQuestionsSchema>;
|
|
21
|
+
export declare const HtmlPageBuilderClarificationAnswerSchema: z.ZodObject<{
|
|
22
|
+
questionId: z.ZodString;
|
|
23
|
+
answers: z.ZodArray<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type HtmlPageBuilderClarificationAnswer = z.infer<typeof HtmlPageBuilderClarificationAnswerSchema>;
|
|
26
|
+
export declare const HtmlPageBuilderClarificationAnswersSchema: z.ZodArray<z.ZodObject<{
|
|
27
|
+
questionId: z.ZodString;
|
|
28
|
+
answers: z.ZodArray<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
export type HtmlPageBuilderClarificationAnswers = z.infer<typeof HtmlPageBuilderClarificationAnswersSchema>;
|
|
31
|
+
export declare const HtmlPageBuilderClarificationBriefItemSchema: z.ZodObject<{
|
|
32
|
+
question: z.ZodString;
|
|
33
|
+
answer: z.ZodString;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type HtmlPageBuilderClarificationBriefItem = z.infer<typeof HtmlPageBuilderClarificationBriefItemSchema>;
|
|
36
|
+
export declare const HtmlPageBuilderClarificationBriefSchema: z.ZodArray<z.ZodObject<{
|
|
37
|
+
question: z.ZodString;
|
|
38
|
+
answer: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
export type HtmlPageBuilderClarificationBrief = z.infer<typeof HtmlPageBuilderClarificationBriefSchema>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HtmlPageBuilderClarificationBriefSchema = exports.HtmlPageBuilderClarificationBriefItemSchema = exports.HtmlPageBuilderClarificationAnswersSchema = exports.HtmlPageBuilderClarificationAnswerSchema = exports.HtmlPageBuilderClarificationQuestionsSchema = exports.HtmlPageBuilderClarificationQuestionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../enums");
|
|
6
|
+
exports.HtmlPageBuilderClarificationQuestionSchema = zod_1.z.object({
|
|
7
|
+
id: zod_1.z.string(),
|
|
8
|
+
question: zod_1.z.string(),
|
|
9
|
+
// How the answer is collected; `options` stays populated for TEXT as examples
|
|
10
|
+
type: zod_1.z.enum(enums_1.HTML_PAGE_BUILDER_QUESTION_TYPE),
|
|
11
|
+
options: zod_1.z.array(zod_1.z.string()),
|
|
12
|
+
// One of `options`: what the model would pick itself. Used verbatim when the user skips
|
|
13
|
+
// the question, so the brief is never empty.
|
|
14
|
+
recommendedAnswer: zod_1.z.string(),
|
|
15
|
+
allowCustomAnswer: zod_1.z.boolean(),
|
|
16
|
+
});
|
|
17
|
+
exports.HtmlPageBuilderClarificationQuestionsSchema = zod_1.z.array(exports.HtmlPageBuilderClarificationQuestionSchema);
|
|
18
|
+
exports.HtmlPageBuilderClarificationAnswerSchema = zod_1.z.object({
|
|
19
|
+
questionId: zod_1.z.string(),
|
|
20
|
+
/**
|
|
21
|
+
* A list even for a single choice: multi-select must not be flattened into one string on the
|
|
22
|
+
* client, or the server could not tell two picks from one answer containing a comma.
|
|
23
|
+
* Bounds are applied here because this text lands in the paid prompt.
|
|
24
|
+
*/
|
|
25
|
+
answers: zod_1.z.array(zod_1.z.string().max(500)).max(10),
|
|
26
|
+
});
|
|
27
|
+
exports.HtmlPageBuilderClarificationAnswersSchema = zod_1.z.array(exports.HtmlPageBuilderClarificationAnswerSchema);
|
|
28
|
+
exports.HtmlPageBuilderClarificationBriefItemSchema = zod_1.z.object({
|
|
29
|
+
question: zod_1.z.string(),
|
|
30
|
+
answer: zod_1.z.string(),
|
|
31
|
+
});
|
|
32
|
+
exports.HtmlPageBuilderClarificationBriefSchema = zod_1.z.array(exports.HtmlPageBuilderClarificationBriefItemSchema);
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { HTML_PAGE_BUILDER_FONT_TAG, HTML_PAGE_BUILDER_STYLE_TAG } from '../enums';
|
|
3
|
+
export declare const HtmlPageBuilderStyleTagOptionSchema: z.ZodObject<{
|
|
4
|
+
tag: z.ZodEnum<typeof HTML_PAGE_BUILDER_STYLE_TAG>;
|
|
5
|
+
label: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const HtmlPageBuilderFontTagOptionSchema: z.ZodObject<{
|
|
8
|
+
tag: z.ZodEnum<typeof HTML_PAGE_BUILDER_FONT_TAG>;
|
|
9
|
+
label: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
2
11
|
export declare const HtmlPageBuilderConfigSchema: z.ZodObject<{
|
|
3
12
|
models: z.ZodArray<z.ZodObject<{
|
|
4
13
|
uuid: z.ZodString;
|
|
@@ -25,5 +34,105 @@ export declare const HtmlPageBuilderConfigSchema: z.ZodObject<{
|
|
|
25
34
|
updatedAt: z.ZodDate;
|
|
26
35
|
}, z.core.$strip>>;
|
|
27
36
|
maxAttachmentsCount: z.ZodNumber;
|
|
37
|
+
styleTags: z.ZodArray<z.ZodObject<{
|
|
38
|
+
tag: z.ZodEnum<typeof HTML_PAGE_BUILDER_STYLE_TAG>;
|
|
39
|
+
label: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
fontTags: z.ZodArray<z.ZodObject<{
|
|
42
|
+
tag: z.ZodEnum<typeof HTML_PAGE_BUILDER_FONT_TAG>;
|
|
43
|
+
label: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
46
|
+
uuid: z.ZodUUID;
|
|
47
|
+
code: z.ZodString;
|
|
48
|
+
title: z.ZodString;
|
|
49
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
previewUrl: z.ZodString;
|
|
51
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
tags: z.ZodArray<z.ZodEnum<typeof HTML_PAGE_BUILDER_STYLE_TAG>>;
|
|
53
|
+
popularity: z.ZodNumber;
|
|
54
|
+
order: z.ZodNumber;
|
|
55
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
56
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
fonts: z.ZodArray<z.ZodObject<{
|
|
59
|
+
uuid: z.ZodUUID;
|
|
60
|
+
code: z.ZodString;
|
|
61
|
+
title: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
icons: z.ZodObject<{
|
|
64
|
+
light: z.ZodObject<{
|
|
65
|
+
svg: z.ZodString;
|
|
66
|
+
png: z.ZodString;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
dark: z.ZodObject<{
|
|
69
|
+
svg: z.ZodString;
|
|
70
|
+
png: z.ZodString;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
tags: z.ZodArray<z.ZodEnum<typeof HTML_PAGE_BUILDER_FONT_TAG>>;
|
|
74
|
+
popularity: z.ZodNumber;
|
|
75
|
+
order: z.ZodNumber;
|
|
76
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
77
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
80
|
+
uuid: z.ZodUUID;
|
|
81
|
+
code: z.ZodString;
|
|
82
|
+
title: z.ZodString;
|
|
83
|
+
prompt: z.ZodString;
|
|
84
|
+
icons: z.ZodObject<{
|
|
85
|
+
light: z.ZodObject<{
|
|
86
|
+
svg: z.ZodString;
|
|
87
|
+
png: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
dark: z.ZodObject<{
|
|
90
|
+
svg: z.ZodString;
|
|
91
|
+
png: z.ZodString;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
styleId: z.ZodUUID;
|
|
95
|
+
fontId: z.ZodUUID;
|
|
96
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
uuid: z.ZodUUID;
|
|
98
|
+
code: z.ZodString;
|
|
99
|
+
title: z.ZodString;
|
|
100
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
previewUrl: z.ZodString;
|
|
102
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
|
+
tags: z.ZodArray<z.ZodEnum<typeof HTML_PAGE_BUILDER_STYLE_TAG>>;
|
|
104
|
+
popularity: z.ZodNumber;
|
|
105
|
+
order: z.ZodNumber;
|
|
106
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
107
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
uuid: z.ZodUUID;
|
|
111
|
+
code: z.ZodString;
|
|
112
|
+
title: z.ZodString;
|
|
113
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
icons: z.ZodObject<{
|
|
115
|
+
light: z.ZodObject<{
|
|
116
|
+
svg: z.ZodString;
|
|
117
|
+
png: z.ZodString;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
dark: z.ZodObject<{
|
|
120
|
+
svg: z.ZodString;
|
|
121
|
+
png: z.ZodString;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
tags: z.ZodArray<z.ZodEnum<typeof HTML_PAGE_BUILDER_FONT_TAG>>;
|
|
125
|
+
popularity: z.ZodNumber;
|
|
126
|
+
order: z.ZodNumber;
|
|
127
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
128
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
pagesCount: z.ZodNumber;
|
|
131
|
+
order: z.ZodNumber;
|
|
132
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
133
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
28
135
|
}, z.core.$strip>;
|
|
29
136
|
export type HtmlPageBuilderConfig = z.infer<typeof HtmlPageBuilderConfigSchema>;
|
|
137
|
+
export type HtmlPageBuilderStyleTagOption = z.infer<typeof HtmlPageBuilderStyleTagOptionSchema>;
|
|
138
|
+
export type HtmlPageBuilderFontTagOption = z.infer<typeof HtmlPageBuilderFontTagOptionSchema>;
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtmlPageBuilderConfigSchema = void 0;
|
|
3
|
+
exports.HtmlPageBuilderConfigSchema = exports.HtmlPageBuilderFontTagOptionSchema = exports.HtmlPageBuilderStyleTagOptionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../enums");
|
|
6
|
+
const html_page_builder_font_schema_1 = require("./html-page-builder-font.schema");
|
|
5
7
|
const html_page_builder_model_schema_1 = require("./html-page-builder-model.schema");
|
|
8
|
+
const html_page_builder_preset_schema_1 = require("./html-page-builder-preset.schema");
|
|
9
|
+
const html_page_builder_style_schema_1 = require("./html-page-builder-style.schema");
|
|
10
|
+
exports.HtmlPageBuilderStyleTagOptionSchema = zod_1.z.object({
|
|
11
|
+
tag: zod_1.z.enum(enums_1.HTML_PAGE_BUILDER_STYLE_TAG),
|
|
12
|
+
label: zod_1.z.string(),
|
|
13
|
+
});
|
|
14
|
+
exports.HtmlPageBuilderFontTagOptionSchema = zod_1.z.object({
|
|
15
|
+
tag: zod_1.z.enum(enums_1.HTML_PAGE_BUILDER_FONT_TAG),
|
|
16
|
+
label: zod_1.z.string(),
|
|
17
|
+
});
|
|
6
18
|
exports.HtmlPageBuilderConfigSchema = zod_1.z.object({
|
|
7
19
|
models: zod_1.z.array(html_page_builder_model_schema_1.HtmlPageBuilderModelSchema),
|
|
8
20
|
maxAttachmentsCount: zod_1.z.number(),
|
|
21
|
+
styleTags: zod_1.z.array(exports.HtmlPageBuilderStyleTagOptionSchema),
|
|
22
|
+
fontTags: zod_1.z.array(exports.HtmlPageBuilderFontTagOptionSchema),
|
|
23
|
+
// The whole catalog: small enough to ship in one response, so the start screen needs no extra calls
|
|
24
|
+
styles: zod_1.z.array(html_page_builder_style_schema_1.HtmlPageBuilderStyleSchema),
|
|
25
|
+
fonts: zod_1.z.array(html_page_builder_font_schema_1.HtmlPageBuilderFontSchema),
|
|
26
|
+
presets: zod_1.z.array(html_page_builder_preset_schema_1.HtmlPageBuilderPresetSchema),
|
|
9
27
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTML_PAGE_BUILDER_FONT_TAG } from '../enums';
|
|
3
|
+
export declare const HtmlPageBuilderFontSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
icons: z.ZodObject<{
|
|
9
|
+
light: z.ZodObject<{
|
|
10
|
+
svg: z.ZodString;
|
|
11
|
+
png: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
dark: z.ZodObject<{
|
|
14
|
+
svg: z.ZodString;
|
|
15
|
+
png: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
tags: z.ZodArray<z.ZodEnum<typeof HTML_PAGE_BUILDER_FONT_TAG>>;
|
|
19
|
+
popularity: z.ZodNumber;
|
|
20
|
+
order: z.ZodNumber;
|
|
21
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
22
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type HtmlPageBuilderFont = z.infer<typeof HtmlPageBuilderFontSchema>;
|