@idelio/contracts 0.1.0-beta.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.
@@ -0,0 +1,333 @@
1
+ import { z } from "zod";
2
+ export declare const brandStyles: readonly ["modern", "minimal", "bold", "playful", "elegant", "corporate", "luxury", "organic", "geometric", "handcrafted", "brutalist", "editorial", "retro", "vintage", "futuristic", "timeless", "art_deco", "y2k", "calm", "energetic", "warm", "technical", "rebellious", "premium"];
3
+ export type BrandStyle = (typeof brandStyles)[number];
4
+ export declare const MAX_BRAND_STYLES = 5;
5
+ export declare const BRAND_STYLES: Record<BrandStyle, {
6
+ label: string;
7
+ hint: string;
8
+ }>;
9
+ export declare const brandStyleGroupIds: readonly ["character", "aesthetic", "era", "energy"];
10
+ export type BrandStyleGroupId = (typeof brandStyleGroupIds)[number];
11
+ export interface BrandStyleGroup {
12
+ id: BrandStyleGroupId;
13
+ label: string;
14
+ styles: readonly BrandStyle[];
15
+ }
16
+ export declare const DEFAULT_STYLE_GROUP_ID: BrandStyleGroupId;
17
+ export declare const brandStyleGroups: readonly BrandStyleGroup[];
18
+ export declare const paletteIds: readonly ["indigo", "teal", "amber", "forest", "rose", "slate", "midnight", "coral", "sand", "plum", "ocean", "citrus", "mono_warm", "berry"];
19
+ export type PaletteId = (typeof paletteIds)[number];
20
+ export interface PaletteDirection {
21
+ id: PaletteId;
22
+ name: string;
23
+ desc: string;
24
+ colors: readonly [string, string, string, string, string];
25
+ mood: readonly string[];
26
+ }
27
+ export declare const paletteDirections: readonly PaletteDirection[];
28
+ export declare const CUSTOM_PALETTE_DEFAULT: readonly string[];
29
+ export declare const fontPairIds: readonly ["sora_inter", "fraunces_inter", "space_inter", "playfair_source", "dmserif_dmsans", "outfit_inter", "manrope_manrope", "bricolage_inter", "instrument_inter", "archivo_archivo", "lora_lato", "syne_inter", "epilogue_inter", "ibmplex_ibmplex", "jost_inter", "newsreader_inter", "chivo_chivo", "unbounded_inter", "figtree_figtree", "spectral_inter"];
30
+ export type FontPairId = (typeof fontPairIds)[number];
31
+ export declare const fontPairCategories: readonly ["geometric", "editorial", "technical", "humanist", "display"];
32
+ export type FontPairCategory = (typeof fontPairCategories)[number];
33
+ export interface FontFace {
34
+ family: string;
35
+ fontsourcePackage: string;
36
+ weights: string;
37
+ license: "OFL" | "Apache-2.0";
38
+ }
39
+ export interface FontPair {
40
+ id: FontPairId;
41
+ name: string;
42
+ desc: string;
43
+ category: FontPairCategory;
44
+ heading: FontFace;
45
+ body: FontFace;
46
+ }
47
+ export declare const fontPairs: readonly FontPair[];
48
+ export declare const logoMarkStyles: readonly ["geometric", "rounded", "circular", "sharp", "monogram", "lettermark", "abstract", "emblem", "organic", "line", "gradient", "wordmark_only"];
49
+ export type LogoMarkStyle = (typeof logoMarkStyles)[number];
50
+ export declare const LOGO_MARK_STYLES: Record<LogoMarkStyle, {
51
+ label: string;
52
+ desc: string;
53
+ category?: FontPairCategory;
54
+ previewPath: string;
55
+ }>;
56
+ export declare const logoLockups: readonly ["horizontal", "stacked", "icon_only"];
57
+ export type LogoLockup = (typeof logoLockups)[number];
58
+ export declare const LOGO_LOCKUPS: Record<LogoLockup, {
59
+ label: string;
60
+ desc: string;
61
+ }>;
62
+ export declare const AI_CHOICE: "ai";
63
+ export declare const hexColorSchema: z.ZodString;
64
+ export declare const colorDirectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
65
+ mode: z.ZodLiteral<"ai">;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ mode: z.ZodLiteral<"preset">;
68
+ preset_id: z.ZodEnum<{
69
+ indigo: "indigo";
70
+ teal: "teal";
71
+ amber: "amber";
72
+ forest: "forest";
73
+ rose: "rose";
74
+ slate: "slate";
75
+ midnight: "midnight";
76
+ coral: "coral";
77
+ sand: "sand";
78
+ plum: "plum";
79
+ ocean: "ocean";
80
+ citrus: "citrus";
81
+ mono_warm: "mono_warm";
82
+ berry: "berry";
83
+ }>;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ mode: z.ZodLiteral<"custom">;
86
+ colors: z.ZodArray<z.ZodString>;
87
+ }, z.core.$strict>], "mode">;
88
+ export type ColorDirection = z.infer<typeof colorDirectionSchema>;
89
+ export declare const typographyDirectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
90
+ mode: z.ZodLiteral<"ai">;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ mode: z.ZodLiteral<"preset">;
93
+ preset_id: z.ZodEnum<{
94
+ sora_inter: "sora_inter";
95
+ fraunces_inter: "fraunces_inter";
96
+ space_inter: "space_inter";
97
+ playfair_source: "playfair_source";
98
+ dmserif_dmsans: "dmserif_dmsans";
99
+ outfit_inter: "outfit_inter";
100
+ manrope_manrope: "manrope_manrope";
101
+ bricolage_inter: "bricolage_inter";
102
+ instrument_inter: "instrument_inter";
103
+ archivo_archivo: "archivo_archivo";
104
+ lora_lato: "lora_lato";
105
+ syne_inter: "syne_inter";
106
+ epilogue_inter: "epilogue_inter";
107
+ ibmplex_ibmplex: "ibmplex_ibmplex";
108
+ jost_inter: "jost_inter";
109
+ newsreader_inter: "newsreader_inter";
110
+ chivo_chivo: "chivo_chivo";
111
+ unbounded_inter: "unbounded_inter";
112
+ figtree_figtree: "figtree_figtree";
113
+ spectral_inter: "spectral_inter";
114
+ }>;
115
+ }, z.core.$strict>], "mode">;
116
+ export type TypographyDirection = z.infer<typeof typographyDirectionSchema>;
117
+ export declare const logoDirectionSchema: z.ZodObject<{
118
+ style: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
119
+ organic: "organic";
120
+ geometric: "geometric";
121
+ rounded: "rounded";
122
+ circular: "circular";
123
+ sharp: "sharp";
124
+ monogram: "monogram";
125
+ lettermark: "lettermark";
126
+ abstract: "abstract";
127
+ emblem: "emblem";
128
+ line: "line";
129
+ gradient: "gradient";
130
+ wordmark_only: "wordmark_only";
131
+ }>]>>;
132
+ lockup: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
133
+ horizontal: "horizontal";
134
+ stacked: "stacked";
135
+ icon_only: "icon_only";
136
+ }>]>>;
137
+ include_tagline: z.ZodDefault<z.ZodBoolean>;
138
+ }, z.core.$strict>;
139
+ export type LogoDirection = z.infer<typeof logoDirectionSchema>;
140
+ export declare const creativeDirectionSchema: z.ZodObject<{
141
+ styles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
142
+ modern: "modern";
143
+ minimal: "minimal";
144
+ bold: "bold";
145
+ playful: "playful";
146
+ elegant: "elegant";
147
+ corporate: "corporate";
148
+ luxury: "luxury";
149
+ organic: "organic";
150
+ geometric: "geometric";
151
+ handcrafted: "handcrafted";
152
+ brutalist: "brutalist";
153
+ editorial: "editorial";
154
+ retro: "retro";
155
+ vintage: "vintage";
156
+ futuristic: "futuristic";
157
+ timeless: "timeless";
158
+ art_deco: "art_deco";
159
+ y2k: "y2k";
160
+ calm: "calm";
161
+ energetic: "energetic";
162
+ warm: "warm";
163
+ technical: "technical";
164
+ rebellious: "rebellious";
165
+ premium: "premium";
166
+ }>>>;
167
+ color: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ mode: z.ZodLiteral<"ai">;
169
+ }, z.core.$strict>, z.ZodObject<{
170
+ mode: z.ZodLiteral<"preset">;
171
+ preset_id: z.ZodEnum<{
172
+ indigo: "indigo";
173
+ teal: "teal";
174
+ amber: "amber";
175
+ forest: "forest";
176
+ rose: "rose";
177
+ slate: "slate";
178
+ midnight: "midnight";
179
+ coral: "coral";
180
+ sand: "sand";
181
+ plum: "plum";
182
+ ocean: "ocean";
183
+ citrus: "citrus";
184
+ mono_warm: "mono_warm";
185
+ berry: "berry";
186
+ }>;
187
+ }, z.core.$strict>, z.ZodObject<{
188
+ mode: z.ZodLiteral<"custom">;
189
+ colors: z.ZodArray<z.ZodString>;
190
+ }, z.core.$strict>], "mode">>;
191
+ typography: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
192
+ mode: z.ZodLiteral<"ai">;
193
+ }, z.core.$strict>, z.ZodObject<{
194
+ mode: z.ZodLiteral<"preset">;
195
+ preset_id: z.ZodEnum<{
196
+ sora_inter: "sora_inter";
197
+ fraunces_inter: "fraunces_inter";
198
+ space_inter: "space_inter";
199
+ playfair_source: "playfair_source";
200
+ dmserif_dmsans: "dmserif_dmsans";
201
+ outfit_inter: "outfit_inter";
202
+ manrope_manrope: "manrope_manrope";
203
+ bricolage_inter: "bricolage_inter";
204
+ instrument_inter: "instrument_inter";
205
+ archivo_archivo: "archivo_archivo";
206
+ lora_lato: "lora_lato";
207
+ syne_inter: "syne_inter";
208
+ epilogue_inter: "epilogue_inter";
209
+ ibmplex_ibmplex: "ibmplex_ibmplex";
210
+ jost_inter: "jost_inter";
211
+ newsreader_inter: "newsreader_inter";
212
+ chivo_chivo: "chivo_chivo";
213
+ unbounded_inter: "unbounded_inter";
214
+ figtree_figtree: "figtree_figtree";
215
+ spectral_inter: "spectral_inter";
216
+ }>;
217
+ }, z.core.$strict>], "mode">>;
218
+ logo: z.ZodOptional<z.ZodObject<{
219
+ style: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
220
+ organic: "organic";
221
+ geometric: "geometric";
222
+ rounded: "rounded";
223
+ circular: "circular";
224
+ sharp: "sharp";
225
+ monogram: "monogram";
226
+ lettermark: "lettermark";
227
+ abstract: "abstract";
228
+ emblem: "emblem";
229
+ line: "line";
230
+ gradient: "gradient";
231
+ wordmark_only: "wordmark_only";
232
+ }>]>>;
233
+ lockup: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
234
+ horizontal: "horizontal";
235
+ stacked: "stacked";
236
+ icon_only: "icon_only";
237
+ }>]>>;
238
+ include_tagline: z.ZodDefault<z.ZodBoolean>;
239
+ }, z.core.$strict>>;
240
+ }, z.core.$strict>;
241
+ export type CreativeDirection = z.infer<typeof creativeDirectionSchema>;
242
+ export declare const DEFAULT_CREATIVE_DIRECTION: CreativeDirection;
243
+ export declare const SHORTLIST_SIZES: {
244
+ readonly palettes: 12;
245
+ readonly font_pairs: 8;
246
+ readonly logo_styles: 6;
247
+ };
248
+ export declare const creativeDirectionsRequestSchema: z.ZodObject<{
249
+ prompt: z.ZodString;
250
+ styles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
251
+ modern: "modern";
252
+ minimal: "minimal";
253
+ bold: "bold";
254
+ playful: "playful";
255
+ elegant: "elegant";
256
+ corporate: "corporate";
257
+ luxury: "luxury";
258
+ organic: "organic";
259
+ geometric: "geometric";
260
+ handcrafted: "handcrafted";
261
+ brutalist: "brutalist";
262
+ editorial: "editorial";
263
+ retro: "retro";
264
+ vintage: "vintage";
265
+ futuristic: "futuristic";
266
+ timeless: "timeless";
267
+ art_deco: "art_deco";
268
+ y2k: "y2k";
269
+ calm: "calm";
270
+ energetic: "energetic";
271
+ warm: "warm";
272
+ technical: "technical";
273
+ rebellious: "rebellious";
274
+ premium: "premium";
275
+ }>>>;
276
+ }, z.core.$strict>;
277
+ export type CreativeDirectionsRequest = z.infer<typeof creativeDirectionsRequestSchema>;
278
+ export declare const creativeDirectionsResponseSchema: z.ZodObject<{
279
+ palettes: z.ZodArray<z.ZodEnum<{
280
+ indigo: "indigo";
281
+ teal: "teal";
282
+ amber: "amber";
283
+ forest: "forest";
284
+ rose: "rose";
285
+ slate: "slate";
286
+ midnight: "midnight";
287
+ coral: "coral";
288
+ sand: "sand";
289
+ plum: "plum";
290
+ ocean: "ocean";
291
+ citrus: "citrus";
292
+ mono_warm: "mono_warm";
293
+ berry: "berry";
294
+ }>>;
295
+ font_pairs: z.ZodArray<z.ZodEnum<{
296
+ sora_inter: "sora_inter";
297
+ fraunces_inter: "fraunces_inter";
298
+ space_inter: "space_inter";
299
+ playfair_source: "playfair_source";
300
+ dmserif_dmsans: "dmserif_dmsans";
301
+ outfit_inter: "outfit_inter";
302
+ manrope_manrope: "manrope_manrope";
303
+ bricolage_inter: "bricolage_inter";
304
+ instrument_inter: "instrument_inter";
305
+ archivo_archivo: "archivo_archivo";
306
+ lora_lato: "lora_lato";
307
+ syne_inter: "syne_inter";
308
+ epilogue_inter: "epilogue_inter";
309
+ ibmplex_ibmplex: "ibmplex_ibmplex";
310
+ jost_inter: "jost_inter";
311
+ newsreader_inter: "newsreader_inter";
312
+ chivo_chivo: "chivo_chivo";
313
+ unbounded_inter: "unbounded_inter";
314
+ figtree_figtree: "figtree_figtree";
315
+ spectral_inter: "spectral_inter";
316
+ }>>;
317
+ logo_styles: z.ZodArray<z.ZodEnum<{
318
+ organic: "organic";
319
+ geometric: "geometric";
320
+ rounded: "rounded";
321
+ circular: "circular";
322
+ sharp: "sharp";
323
+ monogram: "monogram";
324
+ lettermark: "lettermark";
325
+ abstract: "abstract";
326
+ emblem: "emblem";
327
+ line: "line";
328
+ gradient: "gradient";
329
+ wordmark_only: "wordmark_only";
330
+ }>>;
331
+ rationale: z.ZodOptional<z.ZodString>;
332
+ }, z.core.$strict>;
333
+ export type CreativeDirectionsResponse = z.infer<typeof creativeDirectionsResponseSchema>;