@appeeky/open-slideshow 0.0.0-stage → 0.2.0

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 (78) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +297 -2
  3. package/dist/bin.d.ts +2 -0
  4. package/dist/bin.js +9 -0
  5. package/dist/brand.d.ts +57 -0
  6. package/dist/brand.js +263 -0
  7. package/dist/brandkit.d.ts +50 -0
  8. package/dist/brandkit.js +212 -0
  9. package/dist/cli.d.ts +1 -0
  10. package/dist/cli.js +355 -0
  11. package/dist/decks.d.ts +44 -0
  12. package/dist/decks.js +100 -0
  13. package/dist/fonts.d.ts +45 -0
  14. package/dist/fonts.js +243 -0
  15. package/dist/gallery.d.ts +35 -0
  16. package/dist/gallery.js +109 -0
  17. package/dist/ideas.d.ts +50 -0
  18. package/dist/ideas.js +146 -0
  19. package/dist/images.d.ts +62 -0
  20. package/dist/images.js +241 -0
  21. package/dist/index.d.ts +21 -0
  22. package/dist/index.js +22 -0
  23. package/dist/lint.d.ts +36 -0
  24. package/dist/lint.js +197 -0
  25. package/dist/mcp.d.ts +3 -0
  26. package/dist/mcp.js +303 -0
  27. package/dist/preview.d.ts +18 -0
  28. package/dist/preview.js +96 -0
  29. package/dist/publish.d.ts +105 -0
  30. package/dist/publish.js +406 -0
  31. package/dist/readability.d.ts +19 -0
  32. package/dist/readability.js +42 -0
  33. package/dist/render.d.ts +92 -0
  34. package/dist/render.js +647 -0
  35. package/dist/results.d.ts +89 -0
  36. package/dist/results.js +252 -0
  37. package/dist/schedule.d.ts +19 -0
  38. package/dist/schedule.js +114 -0
  39. package/dist/schema.d.ts +1159 -0
  40. package/dist/schema.js +211 -0
  41. package/dist/screenshots.d.ts +18 -0
  42. package/dist/screenshots.js +69 -0
  43. package/dist/shape.d.ts +31 -0
  44. package/dist/shape.js +169 -0
  45. package/dist/skill.d.ts +7 -0
  46. package/dist/skill.js +17 -0
  47. package/dist/templates.d.ts +47 -0
  48. package/dist/templates.js +330 -0
  49. package/dist/text.d.ts +40 -0
  50. package/dist/text.js +231 -0
  51. package/dist/themes.d.ts +43 -0
  52. package/dist/themes.js +202 -0
  53. package/dist/variants.d.ts +48 -0
  54. package/dist/variants.js +175 -0
  55. package/dist/version.d.ts +1 -0
  56. package/dist/version.js +1 -0
  57. package/dist/video.d.ts +22 -0
  58. package/dist/video.js +59 -0
  59. package/dist/viral.d.ts +12 -0
  60. package/dist/viral.js +35 -0
  61. package/dist/workspace.d.ts +85 -0
  62. package/dist/workspace.js +322 -0
  63. package/package.json +65 -4
  64. package/skills/open-slideshow/SKILL.md +65 -0
  65. package/skills/open-slideshow/references/brand.md +64 -0
  66. package/skills/open-slideshow/references/channels.md +63 -0
  67. package/skills/open-slideshow/references/ideas.md +23 -0
  68. package/skills/open-slideshow/references/images.md +61 -0
  69. package/skills/open-slideshow/references/languages.md +51 -0
  70. package/skills/open-slideshow/references/publishing.md +70 -0
  71. package/skills/open-slideshow/references/results.md +47 -0
  72. package/skills/open-slideshow/references/review.md +81 -0
  73. package/skills/open-slideshow/references/screenshots.md +26 -0
  74. package/skills/open-slideshow/references/series.md +20 -0
  75. package/skills/open-slideshow/references/templates.md +96 -0
  76. package/skills/open-slideshow/references/troubleshooting.md +92 -0
  77. package/skills/open-slideshow/references/video.md +18 -0
  78. package/skills/open-slideshow/references/writing.md +76 -0
@@ -0,0 +1,1159 @@
1
+ import { z } from "zod";
2
+ /** Deck, channel and slide ids: lowercase slugs, so they are safe as folder names on every OS. */
3
+ export declare const ID_PATTERN: RegExp;
4
+ export declare const idSchema: z.ZodEffects<z.ZodString, string, string>;
5
+ export declare const SIZES: {
6
+ readonly "4:5": {
7
+ readonly width: 1080;
8
+ readonly height: 1350;
9
+ };
10
+ readonly "1:1": {
11
+ readonly width: 1080;
12
+ readonly height: 1080;
13
+ };
14
+ readonly "9:16": {
15
+ readonly width: 1080;
16
+ readonly height: 1920;
17
+ };
18
+ };
19
+ export declare const sizeSchema: z.ZodEnum<["4:5", "1:1", "9:16"]>;
20
+ export type SizeId = z.infer<typeof sizeSchema>;
21
+ export declare const textStyleSchema: z.ZodEnum<["outline", "shadow", "plain", "box"]>;
22
+ export type TextStyle = z.infer<typeof textStyleSchema>;
23
+ export declare const hexColor: z.ZodString;
24
+ export declare const colorsSchema: z.ZodObject<{
25
+ bg: z.ZodString;
26
+ fg: z.ZodString;
27
+ accent: z.ZodString;
28
+ muted: z.ZodOptional<z.ZodString>;
29
+ card: z.ZodOptional<z.ZodString>;
30
+ }, "strict", z.ZodTypeAny, {
31
+ bg: string;
32
+ fg: string;
33
+ accent: string;
34
+ muted?: string | undefined;
35
+ card?: string | undefined;
36
+ }, {
37
+ bg: string;
38
+ fg: string;
39
+ accent: string;
40
+ muted?: string | undefined;
41
+ card?: string | undefined;
42
+ }>;
43
+ export type Colors = z.infer<typeof colorsSchema>;
44
+ /** `screenshot` shows a screenshot of the app (its image) inside a phone, with an optional title above. */
45
+ export declare const slideKindSchema: z.ZodEnum<["cover", "tip", "list", "quote", "bridge", "app", "text", "screenshot"]>;
46
+ export type SlideKind = z.infer<typeof slideKindSchema>;
47
+ export declare const slideSchema: z.ZodObject<{
48
+ kind: z.ZodEnum<["cover", "tip", "list", "quote", "bridge", "app", "text", "screenshot"]>;
49
+ title: z.ZodOptional<z.ZodString>;
50
+ body: z.ZodOptional<z.ZodString>;
51
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ list_style: z.ZodOptional<z.ZodEnum<["bullet", "check", "number"]>>;
53
+ number: z.ZodOptional<z.ZodNumber>;
54
+ image: z.ZodOptional<z.ZodString>;
55
+ focus: z.ZodOptional<z.ZodObject<{
56
+ x: z.ZodNumber;
57
+ y: z.ZodNumber;
58
+ }, "strict", z.ZodTypeAny, {
59
+ x: number;
60
+ y: number;
61
+ }, {
62
+ x: number;
63
+ y: number;
64
+ }>>;
65
+ author: z.ZodOptional<z.ZodString>;
66
+ text_style: z.ZodOptional<z.ZodEnum<["outline", "shadow", "plain", "box"]>>;
67
+ text_position: z.ZodOptional<z.ZodNumber>;
68
+ }, "strict", z.ZodTypeAny, {
69
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
70
+ number?: number | undefined;
71
+ title?: string | undefined;
72
+ body?: string | undefined;
73
+ items?: string[] | undefined;
74
+ list_style?: "number" | "bullet" | "check" | undefined;
75
+ image?: string | undefined;
76
+ focus?: {
77
+ x: number;
78
+ y: number;
79
+ } | undefined;
80
+ author?: string | undefined;
81
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
82
+ text_position?: number | undefined;
83
+ }, {
84
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
85
+ number?: number | undefined;
86
+ title?: string | undefined;
87
+ body?: string | undefined;
88
+ items?: string[] | undefined;
89
+ list_style?: "number" | "bullet" | "check" | undefined;
90
+ image?: string | undefined;
91
+ focus?: {
92
+ x: number;
93
+ y: number;
94
+ } | undefined;
95
+ author?: string | undefined;
96
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
97
+ text_position?: number | undefined;
98
+ }>;
99
+ export type Slide = z.infer<typeof slideSchema>;
100
+ export declare const hashtagSchema: z.ZodEffects<z.ZodString, string, string>;
101
+ export declare const tiktokOptionsSchema: z.ZodObject<{
102
+ privacy: z.ZodOptional<z.ZodEnum<["public", "friends", "followers", "only_me"]>>;
103
+ disclosure: z.ZodOptional<z.ZodEnum<["none", "own_brand", "paid_partnership"]>>;
104
+ inbox_draft: z.ZodOptional<z.ZodBoolean>;
105
+ auto_music: z.ZodOptional<z.ZodBoolean>;
106
+ comments: z.ZodOptional<z.ZodBoolean>;
107
+ cover_index: z.ZodOptional<z.ZodNumber>;
108
+ }, "strict", z.ZodTypeAny, {
109
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
110
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
111
+ inbox_draft?: boolean | undefined;
112
+ auto_music?: boolean | undefined;
113
+ comments?: boolean | undefined;
114
+ cover_index?: number | undefined;
115
+ }, {
116
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
117
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
118
+ inbox_draft?: boolean | undefined;
119
+ auto_music?: boolean | undefined;
120
+ comments?: boolean | undefined;
121
+ cover_index?: number | undefined;
122
+ }>;
123
+ export type TikTokOptions = z.infer<typeof tiktokOptionsSchema>;
124
+ export declare const publishRecordSchema: z.ZodObject<{
125
+ provider: z.ZodEnum<["export", "appeeky", "postiz", "spec-draft"]>;
126
+ at: z.ZodString;
127
+ render_hash: z.ZodString;
128
+ post_id: z.ZodOptional<z.ZodString>;
129
+ draft_file: z.ZodOptional<z.ZodString>;
130
+ scheduled_for: z.ZodOptional<z.ZodString>;
131
+ /** Uploads done so far, by render file name, so a retry after a failure goes on where it stopped. */
132
+ media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
133
+ }, "strict", z.ZodTypeAny, {
134
+ at: string;
135
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
136
+ render_hash: string;
137
+ post_id?: string | undefined;
138
+ draft_file?: string | undefined;
139
+ scheduled_for?: string | undefined;
140
+ media?: Record<string, string> | undefined;
141
+ }, {
142
+ at: string;
143
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
144
+ render_hash: string;
145
+ post_id?: string | undefined;
146
+ draft_file?: string | undefined;
147
+ scheduled_for?: string | undefined;
148
+ media?: Record<string, string> | undefined;
149
+ }>;
150
+ /** How a published post did, from Appeeky, a Spec repo or typed in by hand. */
151
+ export declare const resultSchema: z.ZodObject<{
152
+ at: z.ZodString;
153
+ source: z.ZodEnum<["appeeky", "spec", "manual"]>;
154
+ platform: z.ZodOptional<z.ZodString>;
155
+ views: z.ZodOptional<z.ZodNumber>;
156
+ likes: z.ZodOptional<z.ZodNumber>;
157
+ comments: z.ZodOptional<z.ZodNumber>;
158
+ shares: z.ZodOptional<z.ZodNumber>;
159
+ saves: z.ZodOptional<z.ZodNumber>;
160
+ reach: z.ZodOptional<z.ZodNumber>;
161
+ }, "strict", z.ZodTypeAny, {
162
+ at: string;
163
+ source: "appeeky" | "spec" | "manual";
164
+ comments?: number | undefined;
165
+ platform?: string | undefined;
166
+ views?: number | undefined;
167
+ likes?: number | undefined;
168
+ shares?: number | undefined;
169
+ saves?: number | undefined;
170
+ reach?: number | undefined;
171
+ }, {
172
+ at: string;
173
+ source: "appeeky" | "spec" | "manual";
174
+ comments?: number | undefined;
175
+ platform?: string | undefined;
176
+ views?: number | undefined;
177
+ likes?: number | undefined;
178
+ shares?: number | undefined;
179
+ saves?: number | undefined;
180
+ reach?: number | undefined;
181
+ }>;
182
+ export type Result = z.infer<typeof resultSchema>;
183
+ export declare const seriesSchema: z.ZodObject<{
184
+ id: z.ZodEffects<z.ZodString, string, string>;
185
+ part: z.ZodNumber;
186
+ of: z.ZodOptional<z.ZodNumber>;
187
+ /** The label on the cover, e.g. "Bölüm {part}"; {part} and {of} are filled in. Default "Part {part}". */
188
+ label: z.ZodOptional<z.ZodString>;
189
+ }, "strict", z.ZodTypeAny, {
190
+ id: string;
191
+ part: number;
192
+ of?: number | undefined;
193
+ label?: string | undefined;
194
+ }, {
195
+ id: string;
196
+ part: number;
197
+ of?: number | undefined;
198
+ label?: string | undefined;
199
+ }>;
200
+ export type Series = z.infer<typeof seriesSchema>;
201
+ export declare const deckSchema: z.ZodObject<{
202
+ version: z.ZodDefault<z.ZodLiteral<1>>;
203
+ id: z.ZodEffects<z.ZodString, string, string>;
204
+ channel: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
205
+ language: z.ZodDefault<z.ZodString>;
206
+ size: z.ZodDefault<z.ZodEnum<["4:5", "1:1", "9:16"]>>;
207
+ theme: z.ZodDefault<z.ZodString>;
208
+ /** Brand colours instead of the theme's own. */
209
+ colors: z.ZodOptional<z.ZodObject<{
210
+ bg: z.ZodString;
211
+ fg: z.ZodString;
212
+ accent: z.ZodString;
213
+ muted: z.ZodOptional<z.ZodString>;
214
+ card: z.ZodOptional<z.ZodString>;
215
+ }, "strict", z.ZodTypeAny, {
216
+ bg: string;
217
+ fg: string;
218
+ accent: string;
219
+ muted?: string | undefined;
220
+ card?: string | undefined;
221
+ }, {
222
+ bg: string;
223
+ fg: string;
224
+ accent: string;
225
+ muted?: string | undefined;
226
+ card?: string | undefined;
227
+ }>>;
228
+ full_cover: z.ZodDefault<z.ZodBoolean>;
229
+ text_style: z.ZodOptional<z.ZodEnum<["outline", "shadow", "plain", "box"]>>;
230
+ show_handle: z.ZodDefault<z.ZodBoolean>;
231
+ slides: z.ZodArray<z.ZodObject<{
232
+ kind: z.ZodEnum<["cover", "tip", "list", "quote", "bridge", "app", "text", "screenshot"]>;
233
+ title: z.ZodOptional<z.ZodString>;
234
+ body: z.ZodOptional<z.ZodString>;
235
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
236
+ list_style: z.ZodOptional<z.ZodEnum<["bullet", "check", "number"]>>;
237
+ number: z.ZodOptional<z.ZodNumber>;
238
+ image: z.ZodOptional<z.ZodString>;
239
+ focus: z.ZodOptional<z.ZodObject<{
240
+ x: z.ZodNumber;
241
+ y: z.ZodNumber;
242
+ }, "strict", z.ZodTypeAny, {
243
+ x: number;
244
+ y: number;
245
+ }, {
246
+ x: number;
247
+ y: number;
248
+ }>>;
249
+ author: z.ZodOptional<z.ZodString>;
250
+ text_style: z.ZodOptional<z.ZodEnum<["outline", "shadow", "plain", "box"]>>;
251
+ text_position: z.ZodOptional<z.ZodNumber>;
252
+ }, "strict", z.ZodTypeAny, {
253
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
254
+ number?: number | undefined;
255
+ title?: string | undefined;
256
+ body?: string | undefined;
257
+ items?: string[] | undefined;
258
+ list_style?: "number" | "bullet" | "check" | undefined;
259
+ image?: string | undefined;
260
+ focus?: {
261
+ x: number;
262
+ y: number;
263
+ } | undefined;
264
+ author?: string | undefined;
265
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
266
+ text_position?: number | undefined;
267
+ }, {
268
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
269
+ number?: number | undefined;
270
+ title?: string | undefined;
271
+ body?: string | undefined;
272
+ items?: string[] | undefined;
273
+ list_style?: "number" | "bullet" | "check" | undefined;
274
+ image?: string | undefined;
275
+ focus?: {
276
+ x: number;
277
+ y: number;
278
+ } | undefined;
279
+ author?: string | undefined;
280
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
281
+ text_position?: number | undefined;
282
+ }>, "many">;
283
+ caption: z.ZodDefault<z.ZodString>;
284
+ hashtags: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
285
+ accounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
286
+ when: z.ZodOptional<z.ZodString>;
287
+ tiktok: z.ZodOptional<z.ZodObject<{
288
+ privacy: z.ZodOptional<z.ZodEnum<["public", "friends", "followers", "only_me"]>>;
289
+ disclosure: z.ZodOptional<z.ZodEnum<["none", "own_brand", "paid_partnership"]>>;
290
+ inbox_draft: z.ZodOptional<z.ZodBoolean>;
291
+ auto_music: z.ZodOptional<z.ZodBoolean>;
292
+ comments: z.ZodOptional<z.ZodBoolean>;
293
+ cover_index: z.ZodOptional<z.ZodNumber>;
294
+ }, "strict", z.ZodTypeAny, {
295
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
296
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
297
+ inbox_draft?: boolean | undefined;
298
+ auto_music?: boolean | undefined;
299
+ comments?: boolean | undefined;
300
+ cover_index?: number | undefined;
301
+ }, {
302
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
303
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
304
+ inbox_draft?: boolean | undefined;
305
+ auto_music?: boolean | undefined;
306
+ comments?: boolean | undefined;
307
+ cover_index?: number | undefined;
308
+ }>>;
309
+ topic: z.ZodOptional<z.ZodString>;
310
+ /** The shape the deck follows (templates_list), checked by lint. */
311
+ template: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
312
+ status: z.ZodDefault<z.ZodEnum<["draft", "rendered", "published"]>>;
313
+ published: z.ZodDefault<z.ZodArray<z.ZodObject<{
314
+ provider: z.ZodEnum<["export", "appeeky", "postiz", "spec-draft"]>;
315
+ at: z.ZodString;
316
+ render_hash: z.ZodString;
317
+ post_id: z.ZodOptional<z.ZodString>;
318
+ draft_file: z.ZodOptional<z.ZodString>;
319
+ scheduled_for: z.ZodOptional<z.ZodString>;
320
+ /** Uploads done so far, by render file name, so a retry after a failure goes on where it stopped. */
321
+ media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ at: string;
324
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
325
+ render_hash: string;
326
+ post_id?: string | undefined;
327
+ draft_file?: string | undefined;
328
+ scheduled_for?: string | undefined;
329
+ media?: Record<string, string> | undefined;
330
+ }, {
331
+ at: string;
332
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
333
+ render_hash: string;
334
+ post_id?: string | undefined;
335
+ draft_file?: string | undefined;
336
+ scheduled_for?: string | undefined;
337
+ media?: Record<string, string> | undefined;
338
+ }>, "many">>;
339
+ /** How the post did, newest last (results_sync or results_record). */
340
+ results: z.ZodDefault<z.ZodArray<z.ZodObject<{
341
+ at: z.ZodString;
342
+ source: z.ZodEnum<["appeeky", "spec", "manual"]>;
343
+ platform: z.ZodOptional<z.ZodString>;
344
+ views: z.ZodOptional<z.ZodNumber>;
345
+ likes: z.ZodOptional<z.ZodNumber>;
346
+ comments: z.ZodOptional<z.ZodNumber>;
347
+ shares: z.ZodOptional<z.ZodNumber>;
348
+ saves: z.ZodOptional<z.ZodNumber>;
349
+ reach: z.ZodOptional<z.ZodNumber>;
350
+ }, "strict", z.ZodTypeAny, {
351
+ at: string;
352
+ source: "appeeky" | "spec" | "manual";
353
+ comments?: number | undefined;
354
+ platform?: string | undefined;
355
+ views?: number | undefined;
356
+ likes?: number | undefined;
357
+ shares?: number | undefined;
358
+ saves?: number | undefined;
359
+ reach?: number | undefined;
360
+ }, {
361
+ at: string;
362
+ source: "appeeky" | "spec" | "manual";
363
+ comments?: number | undefined;
364
+ platform?: string | undefined;
365
+ views?: number | undefined;
366
+ likes?: number | undefined;
367
+ shares?: number | undefined;
368
+ saves?: number | undefined;
369
+ reach?: number | undefined;
370
+ }>, "many">>;
371
+ /** A hook test: decks with the same experiment differ only in the cover; variant is a, b, c… */
372
+ experiment: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
373
+ variant: z.ZodOptional<z.ZodString>;
374
+ /** One part of a series of linked decks. */
375
+ series: z.ZodOptional<z.ZodObject<{
376
+ id: z.ZodEffects<z.ZodString, string, string>;
377
+ part: z.ZodNumber;
378
+ of: z.ZodOptional<z.ZodNumber>;
379
+ /** The label on the cover, e.g. "Bölüm {part}"; {part} and {of} are filled in. Default "Part {part}". */
380
+ label: z.ZodOptional<z.ZodString>;
381
+ }, "strict", z.ZodTypeAny, {
382
+ id: string;
383
+ part: number;
384
+ of?: number | undefined;
385
+ label?: string | undefined;
386
+ }, {
387
+ id: string;
388
+ part: number;
389
+ of?: number | undefined;
390
+ label?: string | undefined;
391
+ }>>;
392
+ /** The deck this one translates (deck_translate). */
393
+ translation_of: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
394
+ /** The deck this one posts again with a new hook (deck_repost). */
395
+ repost_of: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
396
+ /** The idea from the idea queue this deck was made from. */
397
+ idea: z.ZodOptional<z.ZodString>;
398
+ }, "strict", z.ZodTypeAny, {
399
+ status: "draft" | "rendered" | "published";
400
+ id: string;
401
+ version: 1;
402
+ language: string;
403
+ size: "4:5" | "1:1" | "9:16";
404
+ theme: string;
405
+ full_cover: boolean;
406
+ show_handle: boolean;
407
+ slides: {
408
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
409
+ number?: number | undefined;
410
+ title?: string | undefined;
411
+ body?: string | undefined;
412
+ items?: string[] | undefined;
413
+ list_style?: "number" | "bullet" | "check" | undefined;
414
+ image?: string | undefined;
415
+ focus?: {
416
+ x: number;
417
+ y: number;
418
+ } | undefined;
419
+ author?: string | undefined;
420
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
421
+ text_position?: number | undefined;
422
+ }[];
423
+ caption: string;
424
+ hashtags: string[];
425
+ accounts: string[];
426
+ published: {
427
+ at: string;
428
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
429
+ render_hash: string;
430
+ post_id?: string | undefined;
431
+ draft_file?: string | undefined;
432
+ scheduled_for?: string | undefined;
433
+ media?: Record<string, string> | undefined;
434
+ }[];
435
+ results: {
436
+ at: string;
437
+ source: "appeeky" | "spec" | "manual";
438
+ comments?: number | undefined;
439
+ platform?: string | undefined;
440
+ views?: number | undefined;
441
+ likes?: number | undefined;
442
+ shares?: number | undefined;
443
+ saves?: number | undefined;
444
+ reach?: number | undefined;
445
+ }[];
446
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
447
+ channel?: string | undefined;
448
+ colors?: {
449
+ bg: string;
450
+ fg: string;
451
+ accent: string;
452
+ muted?: string | undefined;
453
+ card?: string | undefined;
454
+ } | undefined;
455
+ when?: string | undefined;
456
+ tiktok?: {
457
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
458
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
459
+ inbox_draft?: boolean | undefined;
460
+ auto_music?: boolean | undefined;
461
+ comments?: boolean | undefined;
462
+ cover_index?: number | undefined;
463
+ } | undefined;
464
+ topic?: string | undefined;
465
+ template?: string | undefined;
466
+ experiment?: string | undefined;
467
+ variant?: string | undefined;
468
+ series?: {
469
+ id: string;
470
+ part: number;
471
+ of?: number | undefined;
472
+ label?: string | undefined;
473
+ } | undefined;
474
+ translation_of?: string | undefined;
475
+ repost_of?: string | undefined;
476
+ idea?: string | undefined;
477
+ }, {
478
+ id: string;
479
+ slides: {
480
+ kind: "cover" | "tip" | "list" | "quote" | "bridge" | "app" | "text" | "screenshot";
481
+ number?: number | undefined;
482
+ title?: string | undefined;
483
+ body?: string | undefined;
484
+ items?: string[] | undefined;
485
+ list_style?: "number" | "bullet" | "check" | undefined;
486
+ image?: string | undefined;
487
+ focus?: {
488
+ x: number;
489
+ y: number;
490
+ } | undefined;
491
+ author?: string | undefined;
492
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
493
+ text_position?: number | undefined;
494
+ }[];
495
+ status?: "draft" | "rendered" | "published" | undefined;
496
+ text_style?: "outline" | "shadow" | "plain" | "box" | undefined;
497
+ version?: 1 | undefined;
498
+ channel?: string | undefined;
499
+ language?: string | undefined;
500
+ size?: "4:5" | "1:1" | "9:16" | undefined;
501
+ theme?: string | undefined;
502
+ colors?: {
503
+ bg: string;
504
+ fg: string;
505
+ accent: string;
506
+ muted?: string | undefined;
507
+ card?: string | undefined;
508
+ } | undefined;
509
+ full_cover?: boolean | undefined;
510
+ show_handle?: boolean | undefined;
511
+ caption?: string | undefined;
512
+ hashtags?: string[] | undefined;
513
+ accounts?: string[] | undefined;
514
+ when?: string | undefined;
515
+ tiktok?: {
516
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
517
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
518
+ inbox_draft?: boolean | undefined;
519
+ auto_music?: boolean | undefined;
520
+ comments?: boolean | undefined;
521
+ cover_index?: number | undefined;
522
+ } | undefined;
523
+ topic?: string | undefined;
524
+ template?: string | undefined;
525
+ published?: {
526
+ at: string;
527
+ provider: "export" | "appeeky" | "postiz" | "spec-draft";
528
+ render_hash: string;
529
+ post_id?: string | undefined;
530
+ draft_file?: string | undefined;
531
+ scheduled_for?: string | undefined;
532
+ media?: Record<string, string> | undefined;
533
+ }[] | undefined;
534
+ results?: {
535
+ at: string;
536
+ source: "appeeky" | "spec" | "manual";
537
+ comments?: number | undefined;
538
+ platform?: string | undefined;
539
+ views?: number | undefined;
540
+ likes?: number | undefined;
541
+ shares?: number | undefined;
542
+ saves?: number | undefined;
543
+ reach?: number | undefined;
544
+ }[] | undefined;
545
+ experiment?: string | undefined;
546
+ variant?: string | undefined;
547
+ series?: {
548
+ id: string;
549
+ part: number;
550
+ of?: number | undefined;
551
+ label?: string | undefined;
552
+ } | undefined;
553
+ translation_of?: string | undefined;
554
+ repost_of?: string | undefined;
555
+ idea?: string | undefined;
556
+ }>;
557
+ export type Deck = z.infer<typeof deckSchema>;
558
+ export type DeckInput = z.input<typeof deckSchema>;
559
+ export declare const DAYS: readonly ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
560
+ export declare const scheduleSchema: z.ZodObject<{
561
+ mode: z.ZodDefault<z.ZodEnum<["window", "fixed"]>>;
562
+ days: z.ZodDefault<z.ZodArray<z.ZodEnum<["sun", "mon", "tue", "wed", "thu", "fri", "sat"]>, "many">>;
563
+ per_day: z.ZodDefault<z.ZodNumber>;
564
+ window: z.ZodDefault<z.ZodObject<{
565
+ start: z.ZodString;
566
+ end: z.ZodString;
567
+ }, "strict", z.ZodTypeAny, {
568
+ start: string;
569
+ end: string;
570
+ }, {
571
+ start: string;
572
+ end: string;
573
+ }>>;
574
+ times: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
575
+ timezone: z.ZodDefault<z.ZodString>;
576
+ prepare: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"day_before">, z.ZodLiteral<"at_post_time">, z.ZodObject<{
577
+ hours_before: z.ZodNumber;
578
+ }, "strict", z.ZodTypeAny, {
579
+ hours_before: number;
580
+ }, {
581
+ hours_before: number;
582
+ }>]>>;
583
+ min_gap: z.ZodDefault<z.ZodNumber>;
584
+ }, "strict", z.ZodTypeAny, {
585
+ window: {
586
+ start: string;
587
+ end: string;
588
+ };
589
+ mode: "window" | "fixed";
590
+ days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
591
+ per_day: number;
592
+ times: string[];
593
+ timezone: string;
594
+ prepare: "day_before" | "at_post_time" | {
595
+ hours_before: number;
596
+ };
597
+ min_gap: number;
598
+ }, {
599
+ window?: {
600
+ start: string;
601
+ end: string;
602
+ } | undefined;
603
+ mode?: "window" | "fixed" | undefined;
604
+ days?: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[] | undefined;
605
+ per_day?: number | undefined;
606
+ times?: string[] | undefined;
607
+ timezone?: string | undefined;
608
+ prepare?: "day_before" | "at_post_time" | {
609
+ hours_before: number;
610
+ } | undefined;
611
+ min_gap?: number | undefined;
612
+ }>;
613
+ export type Schedule = z.infer<typeof scheduleSchema>;
614
+ export declare const channelSchema: z.ZodObject<{
615
+ version: z.ZodDefault<z.ZodLiteral<1>>;
616
+ id: z.ZodEffects<z.ZodString, string, string>;
617
+ name: z.ZodString;
618
+ enabled: z.ZodDefault<z.ZodBoolean>;
619
+ accounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
620
+ schedule: z.ZodDefault<z.ZodObject<{
621
+ mode: z.ZodDefault<z.ZodEnum<["window", "fixed"]>>;
622
+ days: z.ZodDefault<z.ZodArray<z.ZodEnum<["sun", "mon", "tue", "wed", "thu", "fri", "sat"]>, "many">>;
623
+ per_day: z.ZodDefault<z.ZodNumber>;
624
+ window: z.ZodDefault<z.ZodObject<{
625
+ start: z.ZodString;
626
+ end: z.ZodString;
627
+ }, "strict", z.ZodTypeAny, {
628
+ start: string;
629
+ end: string;
630
+ }, {
631
+ start: string;
632
+ end: string;
633
+ }>>;
634
+ times: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
635
+ timezone: z.ZodDefault<z.ZodString>;
636
+ prepare: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"day_before">, z.ZodLiteral<"at_post_time">, z.ZodObject<{
637
+ hours_before: z.ZodNumber;
638
+ }, "strict", z.ZodTypeAny, {
639
+ hours_before: number;
640
+ }, {
641
+ hours_before: number;
642
+ }>]>>;
643
+ min_gap: z.ZodDefault<z.ZodNumber>;
644
+ }, "strict", z.ZodTypeAny, {
645
+ window: {
646
+ start: string;
647
+ end: string;
648
+ };
649
+ mode: "window" | "fixed";
650
+ days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
651
+ per_day: number;
652
+ times: string[];
653
+ timezone: string;
654
+ prepare: "day_before" | "at_post_time" | {
655
+ hours_before: number;
656
+ };
657
+ min_gap: number;
658
+ }, {
659
+ window?: {
660
+ start: string;
661
+ end: string;
662
+ } | undefined;
663
+ mode?: "window" | "fixed" | undefined;
664
+ days?: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[] | undefined;
665
+ per_day?: number | undefined;
666
+ times?: string[] | undefined;
667
+ timezone?: string | undefined;
668
+ prepare?: "day_before" | "at_post_time" | {
669
+ hours_before: number;
670
+ } | undefined;
671
+ min_gap?: number | undefined;
672
+ }>>;
673
+ content: z.ZodDefault<z.ZodObject<{
674
+ audience: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
675
+ language: z.ZodDefault<z.ZodString>;
676
+ slide_count: z.ZodDefault<z.ZodNumber>;
677
+ full_cover: z.ZodDefault<z.ZodBoolean>;
678
+ bridge: z.ZodDefault<z.ZodBoolean>;
679
+ brand: z.ZodDefault<z.ZodBoolean>;
680
+ topics: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
681
+ /** Templates to rotate through for this channel's posts; empty means any. */
682
+ templates: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
683
+ never: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
684
+ notes: z.ZodDefault<z.ZodString>;
685
+ }, "strict", z.ZodTypeAny, {
686
+ bridge: boolean;
687
+ never: string[];
688
+ language: string;
689
+ full_cover: boolean;
690
+ audience: string[];
691
+ slide_count: number;
692
+ brand: boolean;
693
+ topics: string[];
694
+ templates: string[];
695
+ notes: string;
696
+ }, {
697
+ bridge?: boolean | undefined;
698
+ never?: string[] | undefined;
699
+ language?: string | undefined;
700
+ full_cover?: boolean | undefined;
701
+ audience?: string[] | undefined;
702
+ slide_count?: number | undefined;
703
+ brand?: boolean | undefined;
704
+ topics?: string[] | undefined;
705
+ templates?: string[] | undefined;
706
+ notes?: string | undefined;
707
+ }>>;
708
+ design: z.ZodDefault<z.ZodObject<{
709
+ size: z.ZodDefault<z.ZodEnum<["4:5", "1:1", "9:16"]>>;
710
+ theme: z.ZodDefault<z.ZodString>;
711
+ colors: z.ZodOptional<z.ZodObject<{
712
+ bg: z.ZodString;
713
+ fg: z.ZodString;
714
+ accent: z.ZodString;
715
+ muted: z.ZodOptional<z.ZodString>;
716
+ card: z.ZodOptional<z.ZodString>;
717
+ }, "strict", z.ZodTypeAny, {
718
+ bg: string;
719
+ fg: string;
720
+ accent: string;
721
+ muted?: string | undefined;
722
+ card?: string | undefined;
723
+ }, {
724
+ bg: string;
725
+ fg: string;
726
+ accent: string;
727
+ muted?: string | undefined;
728
+ card?: string | undefined;
729
+ }>>;
730
+ }, "strict", z.ZodTypeAny, {
731
+ size: "4:5" | "1:1" | "9:16";
732
+ theme: string;
733
+ colors?: {
734
+ bg: string;
735
+ fg: string;
736
+ accent: string;
737
+ muted?: string | undefined;
738
+ card?: string | undefined;
739
+ } | undefined;
740
+ }, {
741
+ size?: "4:5" | "1:1" | "9:16" | undefined;
742
+ theme?: string | undefined;
743
+ colors?: {
744
+ bg: string;
745
+ fg: string;
746
+ accent: string;
747
+ muted?: string | undefined;
748
+ card?: string | undefined;
749
+ } | undefined;
750
+ }>>;
751
+ hashtags: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
752
+ tiktok: z.ZodOptional<z.ZodObject<{
753
+ privacy: z.ZodOptional<z.ZodEnum<["public", "friends", "followers", "only_me"]>>;
754
+ disclosure: z.ZodOptional<z.ZodEnum<["none", "own_brand", "paid_partnership"]>>;
755
+ inbox_draft: z.ZodOptional<z.ZodBoolean>;
756
+ auto_music: z.ZodOptional<z.ZodBoolean>;
757
+ comments: z.ZodOptional<z.ZodBoolean>;
758
+ cover_index: z.ZodOptional<z.ZodNumber>;
759
+ }, "strict", z.ZodTypeAny, {
760
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
761
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
762
+ inbox_draft?: boolean | undefined;
763
+ auto_music?: boolean | undefined;
764
+ comments?: boolean | undefined;
765
+ cover_index?: number | undefined;
766
+ }, {
767
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
768
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
769
+ inbox_draft?: boolean | undefined;
770
+ auto_music?: boolean | undefined;
771
+ comments?: boolean | undefined;
772
+ cover_index?: number | undefined;
773
+ }>>;
774
+ }, "strict", z.ZodTypeAny, {
775
+ id: string;
776
+ version: 1;
777
+ hashtags: string[];
778
+ accounts: string[];
779
+ name: string;
780
+ enabled: boolean;
781
+ schedule: {
782
+ window: {
783
+ start: string;
784
+ end: string;
785
+ };
786
+ mode: "window" | "fixed";
787
+ days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
788
+ per_day: number;
789
+ times: string[];
790
+ timezone: string;
791
+ prepare: "day_before" | "at_post_time" | {
792
+ hours_before: number;
793
+ };
794
+ min_gap: number;
795
+ };
796
+ content: {
797
+ bridge: boolean;
798
+ never: string[];
799
+ language: string;
800
+ full_cover: boolean;
801
+ audience: string[];
802
+ slide_count: number;
803
+ brand: boolean;
804
+ topics: string[];
805
+ templates: string[];
806
+ notes: string;
807
+ };
808
+ design: {
809
+ size: "4:5" | "1:1" | "9:16";
810
+ theme: string;
811
+ colors?: {
812
+ bg: string;
813
+ fg: string;
814
+ accent: string;
815
+ muted?: string | undefined;
816
+ card?: string | undefined;
817
+ } | undefined;
818
+ };
819
+ tiktok?: {
820
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
821
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
822
+ inbox_draft?: boolean | undefined;
823
+ auto_music?: boolean | undefined;
824
+ comments?: boolean | undefined;
825
+ cover_index?: number | undefined;
826
+ } | undefined;
827
+ }, {
828
+ id: string;
829
+ name: string;
830
+ version?: 1 | undefined;
831
+ hashtags?: string[] | undefined;
832
+ accounts?: string[] | undefined;
833
+ tiktok?: {
834
+ privacy?: "public" | "friends" | "followers" | "only_me" | undefined;
835
+ disclosure?: "none" | "own_brand" | "paid_partnership" | undefined;
836
+ inbox_draft?: boolean | undefined;
837
+ auto_music?: boolean | undefined;
838
+ comments?: boolean | undefined;
839
+ cover_index?: number | undefined;
840
+ } | undefined;
841
+ enabled?: boolean | undefined;
842
+ schedule?: {
843
+ window?: {
844
+ start: string;
845
+ end: string;
846
+ } | undefined;
847
+ mode?: "window" | "fixed" | undefined;
848
+ days?: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[] | undefined;
849
+ per_day?: number | undefined;
850
+ times?: string[] | undefined;
851
+ timezone?: string | undefined;
852
+ prepare?: "day_before" | "at_post_time" | {
853
+ hours_before: number;
854
+ } | undefined;
855
+ min_gap?: number | undefined;
856
+ } | undefined;
857
+ content?: {
858
+ bridge?: boolean | undefined;
859
+ never?: string[] | undefined;
860
+ language?: string | undefined;
861
+ full_cover?: boolean | undefined;
862
+ audience?: string[] | undefined;
863
+ slide_count?: number | undefined;
864
+ brand?: boolean | undefined;
865
+ topics?: string[] | undefined;
866
+ templates?: string[] | undefined;
867
+ notes?: string | undefined;
868
+ } | undefined;
869
+ design?: {
870
+ size?: "4:5" | "1:1" | "9:16" | undefined;
871
+ theme?: string | undefined;
872
+ colors?: {
873
+ bg: string;
874
+ fg: string;
875
+ accent: string;
876
+ muted?: string | undefined;
877
+ card?: string | undefined;
878
+ } | undefined;
879
+ } | undefined;
880
+ }>;
881
+ export type Channel = z.infer<typeof channelSchema>;
882
+ export declare const brandSchema: z.ZodObject<{
883
+ name: z.ZodOptional<z.ZodString>;
884
+ handle: z.ZodOptional<z.ZodString>;
885
+ one_liner: z.ZodOptional<z.ZodString>;
886
+ audience: z.ZodOptional<z.ZodString>;
887
+ tone: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
888
+ voice_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
889
+ words_to_use: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
890
+ words_to_avoid: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
891
+ claims_allowed: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
892
+ claims_never: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
893
+ cta: z.ZodOptional<z.ZodString>;
894
+ colors: z.ZodOptional<z.ZodObject<{
895
+ bg: z.ZodString;
896
+ fg: z.ZodString;
897
+ accent: z.ZodString;
898
+ muted: z.ZodOptional<z.ZodString>;
899
+ card: z.ZodOptional<z.ZodString>;
900
+ }, "strict", z.ZodTypeAny, {
901
+ bg: string;
902
+ fg: string;
903
+ accent: string;
904
+ muted?: string | undefined;
905
+ card?: string | undefined;
906
+ }, {
907
+ bg: string;
908
+ fg: string;
909
+ accent: string;
910
+ muted?: string | undefined;
911
+ card?: string | undefined;
912
+ }>>;
913
+ icon: z.ZodOptional<z.ZodString>;
914
+ notes: z.ZodOptional<z.ZodString>;
915
+ }, "strict", z.ZodTypeAny, {
916
+ tone: string[];
917
+ voice_examples: string[];
918
+ words_to_use: string[];
919
+ words_to_avoid: string[];
920
+ claims_allowed: string[];
921
+ claims_never: string[];
922
+ colors?: {
923
+ bg: string;
924
+ fg: string;
925
+ accent: string;
926
+ muted?: string | undefined;
927
+ card?: string | undefined;
928
+ } | undefined;
929
+ name?: string | undefined;
930
+ audience?: string | undefined;
931
+ notes?: string | undefined;
932
+ handle?: string | undefined;
933
+ one_liner?: string | undefined;
934
+ cta?: string | undefined;
935
+ icon?: string | undefined;
936
+ }, {
937
+ colors?: {
938
+ bg: string;
939
+ fg: string;
940
+ accent: string;
941
+ muted?: string | undefined;
942
+ card?: string | undefined;
943
+ } | undefined;
944
+ name?: string | undefined;
945
+ audience?: string | undefined;
946
+ notes?: string | undefined;
947
+ handle?: string | undefined;
948
+ one_liner?: string | undefined;
949
+ tone?: string[] | undefined;
950
+ voice_examples?: string[] | undefined;
951
+ words_to_use?: string[] | undefined;
952
+ words_to_avoid?: string[] | undefined;
953
+ claims_allowed?: string[] | undefined;
954
+ claims_never?: string[] | undefined;
955
+ cta?: string | undefined;
956
+ icon?: string | undefined;
957
+ }>;
958
+ export type Brand = z.infer<typeof brandSchema>;
959
+ export declare const settingsSchema: z.ZodObject<{
960
+ version: z.ZodDefault<z.ZodLiteral<1>>;
961
+ app: z.ZodDefault<z.ZodObject<{
962
+ name: z.ZodOptional<z.ZodString>;
963
+ app_store_id: z.ZodOptional<z.ZodString>;
964
+ play_package: z.ZodOptional<z.ZodString>;
965
+ country: z.ZodDefault<z.ZodString>;
966
+ }, "strict", z.ZodTypeAny, {
967
+ country: string;
968
+ name?: string | undefined;
969
+ app_store_id?: string | undefined;
970
+ play_package?: string | undefined;
971
+ }, {
972
+ name?: string | undefined;
973
+ app_store_id?: string | undefined;
974
+ play_package?: string | undefined;
975
+ country?: string | undefined;
976
+ }>>;
977
+ brand: z.ZodDefault<z.ZodObject<{
978
+ name: z.ZodOptional<z.ZodString>;
979
+ handle: z.ZodOptional<z.ZodString>;
980
+ one_liner: z.ZodOptional<z.ZodString>;
981
+ audience: z.ZodOptional<z.ZodString>;
982
+ tone: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
983
+ voice_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
984
+ words_to_use: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
985
+ words_to_avoid: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
986
+ claims_allowed: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
987
+ claims_never: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
988
+ cta: z.ZodOptional<z.ZodString>;
989
+ colors: z.ZodOptional<z.ZodObject<{
990
+ bg: z.ZodString;
991
+ fg: z.ZodString;
992
+ accent: z.ZodString;
993
+ muted: z.ZodOptional<z.ZodString>;
994
+ card: z.ZodOptional<z.ZodString>;
995
+ }, "strict", z.ZodTypeAny, {
996
+ bg: string;
997
+ fg: string;
998
+ accent: string;
999
+ muted?: string | undefined;
1000
+ card?: string | undefined;
1001
+ }, {
1002
+ bg: string;
1003
+ fg: string;
1004
+ accent: string;
1005
+ muted?: string | undefined;
1006
+ card?: string | undefined;
1007
+ }>>;
1008
+ icon: z.ZodOptional<z.ZodString>;
1009
+ notes: z.ZodOptional<z.ZodString>;
1010
+ }, "strict", z.ZodTypeAny, {
1011
+ tone: string[];
1012
+ voice_examples: string[];
1013
+ words_to_use: string[];
1014
+ words_to_avoid: string[];
1015
+ claims_allowed: string[];
1016
+ claims_never: string[];
1017
+ colors?: {
1018
+ bg: string;
1019
+ fg: string;
1020
+ accent: string;
1021
+ muted?: string | undefined;
1022
+ card?: string | undefined;
1023
+ } | undefined;
1024
+ name?: string | undefined;
1025
+ audience?: string | undefined;
1026
+ notes?: string | undefined;
1027
+ handle?: string | undefined;
1028
+ one_liner?: string | undefined;
1029
+ cta?: string | undefined;
1030
+ icon?: string | undefined;
1031
+ }, {
1032
+ colors?: {
1033
+ bg: string;
1034
+ fg: string;
1035
+ accent: string;
1036
+ muted?: string | undefined;
1037
+ card?: string | undefined;
1038
+ } | undefined;
1039
+ name?: string | undefined;
1040
+ audience?: string | undefined;
1041
+ notes?: string | undefined;
1042
+ handle?: string | undefined;
1043
+ one_liner?: string | undefined;
1044
+ tone?: string[] | undefined;
1045
+ voice_examples?: string[] | undefined;
1046
+ words_to_use?: string[] | undefined;
1047
+ words_to_avoid?: string[] | undefined;
1048
+ claims_allowed?: string[] | undefined;
1049
+ claims_never?: string[] | undefined;
1050
+ cta?: string | undefined;
1051
+ icon?: string | undefined;
1052
+ }>>;
1053
+ defaults: z.ZodDefault<z.ZodObject<{
1054
+ size: z.ZodDefault<z.ZodEnum<["4:5", "1:1", "9:16"]>>;
1055
+ theme: z.ZodDefault<z.ZodString>;
1056
+ language: z.ZodDefault<z.ZodString>;
1057
+ }, "strict", z.ZodTypeAny, {
1058
+ language: string;
1059
+ size: "4:5" | "1:1" | "9:16";
1060
+ theme: string;
1061
+ }, {
1062
+ language?: string | undefined;
1063
+ size?: "4:5" | "1:1" | "9:16" | undefined;
1064
+ theme?: string | undefined;
1065
+ }>>;
1066
+ banned_phrases: z.ZodDefault<z.ZodObject<{
1067
+ add: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1068
+ remove: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1069
+ }, "strict", z.ZodTypeAny, {
1070
+ add: string[];
1071
+ remove: string[];
1072
+ }, {
1073
+ add?: string[] | undefined;
1074
+ remove?: string[] | undefined;
1075
+ }>>;
1076
+ /** Turn the built-in banned-phrase warning into an error. */
1077
+ strict_phrases: z.ZodDefault<z.ZodBoolean>;
1078
+ }, "strict", z.ZodTypeAny, {
1079
+ app: {
1080
+ country: string;
1081
+ name?: string | undefined;
1082
+ app_store_id?: string | undefined;
1083
+ play_package?: string | undefined;
1084
+ };
1085
+ version: 1;
1086
+ brand: {
1087
+ tone: string[];
1088
+ voice_examples: string[];
1089
+ words_to_use: string[];
1090
+ words_to_avoid: string[];
1091
+ claims_allowed: string[];
1092
+ claims_never: string[];
1093
+ colors?: {
1094
+ bg: string;
1095
+ fg: string;
1096
+ accent: string;
1097
+ muted?: string | undefined;
1098
+ card?: string | undefined;
1099
+ } | undefined;
1100
+ name?: string | undefined;
1101
+ audience?: string | undefined;
1102
+ notes?: string | undefined;
1103
+ handle?: string | undefined;
1104
+ one_liner?: string | undefined;
1105
+ cta?: string | undefined;
1106
+ icon?: string | undefined;
1107
+ };
1108
+ defaults: {
1109
+ language: string;
1110
+ size: "4:5" | "1:1" | "9:16";
1111
+ theme: string;
1112
+ };
1113
+ banned_phrases: {
1114
+ add: string[];
1115
+ remove: string[];
1116
+ };
1117
+ strict_phrases: boolean;
1118
+ }, {
1119
+ app?: {
1120
+ name?: string | undefined;
1121
+ app_store_id?: string | undefined;
1122
+ play_package?: string | undefined;
1123
+ country?: string | undefined;
1124
+ } | undefined;
1125
+ version?: 1 | undefined;
1126
+ brand?: {
1127
+ colors?: {
1128
+ bg: string;
1129
+ fg: string;
1130
+ accent: string;
1131
+ muted?: string | undefined;
1132
+ card?: string | undefined;
1133
+ } | undefined;
1134
+ name?: string | undefined;
1135
+ audience?: string | undefined;
1136
+ notes?: string | undefined;
1137
+ handle?: string | undefined;
1138
+ one_liner?: string | undefined;
1139
+ tone?: string[] | undefined;
1140
+ voice_examples?: string[] | undefined;
1141
+ words_to_use?: string[] | undefined;
1142
+ words_to_avoid?: string[] | undefined;
1143
+ claims_allowed?: string[] | undefined;
1144
+ claims_never?: string[] | undefined;
1145
+ cta?: string | undefined;
1146
+ icon?: string | undefined;
1147
+ } | undefined;
1148
+ defaults?: {
1149
+ language?: string | undefined;
1150
+ size?: "4:5" | "1:1" | "9:16" | undefined;
1151
+ theme?: string | undefined;
1152
+ } | undefined;
1153
+ banned_phrases?: {
1154
+ add?: string[] | undefined;
1155
+ remove?: string[] | undefined;
1156
+ } | undefined;
1157
+ strict_phrases?: boolean | undefined;
1158
+ }>;
1159
+ export type Settings = z.infer<typeof settingsSchema>;