@blitzreels/contracts 0.2.16 → 0.2.18
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/dist/carousel-board-api.d.ts +3585 -0
- package/dist/carousel-board-api.d.ts.map +1 -0
- package/dist/carousel-board-api.js +463 -0
- package/dist/carousel-board-api.js.map +1 -0
- package/dist/carousel-board-deck.d.ts +176 -0
- package/dist/carousel-board-deck.d.ts.map +1 -0
- package/dist/carousel-board-deck.js +572 -0
- package/dist/carousel-board-deck.js.map +1 -0
- package/dist/carousel-board-generate.d.ts +305 -0
- package/dist/carousel-board-generate.d.ts.map +1 -0
- package/dist/carousel-board-generate.js +219 -0
- package/dist/carousel-board-generate.js.map +1 -0
- package/dist/carousel-board-images.d.ts +34 -0
- package/dist/carousel-board-images.d.ts.map +1 -0
- package/dist/carousel-board-images.js +263 -0
- package/dist/carousel-board-images.js.map +1 -0
- package/dist/carousel-board-layout.d.ts +57 -0
- package/dist/carousel-board-layout.d.ts.map +1 -0
- package/dist/carousel-board-layout.js +226 -0
- package/dist/carousel-board-layout.js.map +1 -0
- package/dist/carousel-board-revert.d.ts +15 -0
- package/dist/carousel-board-revert.d.ts.map +1 -0
- package/dist/carousel-board-revert.js +232 -0
- package/dist/carousel-board-revert.js.map +1 -0
- package/dist/carousel-board-templates.d.ts +42 -0
- package/dist/carousel-board-templates.d.ts.map +1 -0
- package/dist/carousel-board-templates.js +6860 -0
- package/dist/carousel-board-templates.js.map +1 -0
- package/dist/carousel-board.d.ts +5893 -0
- package/dist/carousel-board.d.ts.map +1 -0
- package/dist/carousel-board.js +741 -0
- package/dist/carousel-board.js.map +1 -0
- package/dist/carousels-contract.d.ts +2 -0
- package/dist/carousels-contract.d.ts.map +1 -1
- package/dist/carousels-contract.js +1 -1
- package/dist/carousels-contract.js.map +1 -1
- package/dist/content-intelligence-contract.d.ts +2040 -0
- package/dist/content-intelligence-contract.d.ts.map +1 -0
- package/dist/content-intelligence-contract.js +396 -0
- package/dist/content-intelligence-contract.js.map +1 -0
- package/dist/creative-composition-edit.d.ts +31 -0
- package/dist/creative-composition-edit.d.ts.map +1 -1
- package/dist/creative-composition-edit.js +49 -2
- package/dist/creative-composition-edit.js.map +1 -1
- package/dist/creative-composition-structure.d.ts.map +1 -1
- package/dist/creative-composition-structure.js +6 -0
- package/dist/creative-composition-structure.js.map +1 -1
- package/dist/creative-composition-types.d.ts +4 -0
- package/dist/creative-composition-types.d.ts.map +1 -1
- package/dist/creative-element-contract.d.ts.map +1 -1
- package/dist/creative-element-contract.js +8 -0
- package/dist/creative-element-contract.js.map +1 -1
- package/dist/creative-style-contract.d.ts +1 -0
- package/dist/creative-style-contract.d.ts.map +1 -1
- package/dist/creative-style-contract.js +4 -0
- package/dist/creative-style-contract.js.map +1 -1
- package/dist/creative-text-runs.d.ts +116 -0
- package/dist/creative-text-runs.d.ts.map +1 -0
- package/dist/creative-text-runs.js +239 -0
- package/dist/creative-text-runs.js.map +1 -0
- package/dist/editor-command-contract.d.ts +30 -0
- package/dist/editor-command-contract.d.ts.map +1 -1
- package/dist/generation-image-size.d.ts +2 -0
- package/dist/generation-image-size.d.ts.map +1 -1
- package/dist/generation-image-size.js +1 -0
- package/dist/generation-image-size.js.map +1 -1
- package/dist/generation-resolution.d.ts.map +1 -1
- package/dist/generation-resolution.js +21 -14
- package/dist/generation-resolution.js.map +1 -1
- package/dist/hook-suggestions.d.ts +116 -0
- package/dist/hook-suggestions.d.ts.map +1 -0
- package/dist/hook-suggestions.js +64 -0
- package/dist/hook-suggestions.js.map +1 -0
- package/dist/index.d.ts +13 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/metered-operations.d.ts +36 -0
- package/dist/metered-operations.d.ts.map +1 -1
- package/dist/metered-operations.js +21 -0
- package/dist/metered-operations.js.map +1 -1
- package/dist/model-prices.d.ts +4 -0
- package/dist/model-prices.d.ts.map +1 -1
- package/dist/model-prices.js +22 -2
- package/dist/model-prices.js.map +1 -1
- package/dist/publishing-contract.d.ts.map +1 -1
- package/dist/publishing-contract.js +1 -0
- package/dist/publishing-contract.js.map +1 -1
- package/dist/video-transformation.d.ts +56 -0
- package/dist/video-transformation.d.ts.map +1 -1
- package/dist/video-transformation.js +41 -0
- package/dist/video-transformation.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type CarouselBoard, type CarouselBoardFrame, type CarouselBoardTheme } from "./carousel-board.js";
|
|
3
|
+
/**
|
|
4
|
+
* Structured copy for a whole carousel. A model (or a person) fills this from a
|
|
5
|
+
* brand, website or brief; `buildCarouselBoardDeck` turns it into a themed,
|
|
6
|
+
* fully editable board without any rendering or layout decisions.
|
|
7
|
+
*/
|
|
8
|
+
export declare const carouselBoardDeckSchema: z.ZodObject<{
|
|
9
|
+
hook: z.ZodObject<{
|
|
10
|
+
kicker: z.ZodNullable<z.ZodString>;
|
|
11
|
+
headline: z.ZodString;
|
|
12
|
+
photo: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
slides: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
|
+
kind: z.ZodLiteral<"tips">;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
items: z.ZodArray<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19
|
+
kind: z.ZodLiteral<"checklist">;
|
|
20
|
+
title: z.ZodString;
|
|
21
|
+
items: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"step">;
|
|
24
|
+
label: z.ZodString;
|
|
25
|
+
title: z.ZodString;
|
|
26
|
+
body: z.ZodString;
|
|
27
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"tools">;
|
|
29
|
+
title: z.ZodString;
|
|
30
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
note: z.ZodString;
|
|
33
|
+
}, z.core.$strict>>;
|
|
34
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
35
|
+
kind: z.ZodLiteral<"quote">;
|
|
36
|
+
quote: z.ZodString;
|
|
37
|
+
author: z.ZodString;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
kind: z.ZodLiteral<"stat">;
|
|
40
|
+
number: z.ZodString;
|
|
41
|
+
label: z.ZodString;
|
|
42
|
+
source: z.ZodNullable<z.ZodString>;
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
+
kind: z.ZodLiteral<"post">;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
handle: z.ZodString;
|
|
47
|
+
text: z.ZodString;
|
|
48
|
+
meta: z.ZodNullable<z.ZodString>;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
kind: z.ZodLiteral<"compare">;
|
|
51
|
+
title: z.ZodString;
|
|
52
|
+
leftLabel: z.ZodString;
|
|
53
|
+
left: z.ZodArray<z.ZodString>;
|
|
54
|
+
rightLabel: z.ZodString;
|
|
55
|
+
right: z.ZodArray<z.ZodString>;
|
|
56
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
+
kind: z.ZodLiteral<"myth_fact">;
|
|
58
|
+
myth: z.ZodString;
|
|
59
|
+
fact: z.ZodString;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"swap">;
|
|
62
|
+
title: z.ZodString;
|
|
63
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
64
|
+
from: z.ZodString;
|
|
65
|
+
to: z.ZodString;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
+
kind: z.ZodLiteral<"timeline">;
|
|
69
|
+
title: z.ZodString;
|
|
70
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
71
|
+
when: z.ZodString;
|
|
72
|
+
step: z.ZodString;
|
|
73
|
+
}, z.core.$strict>>;
|
|
74
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
+
kind: z.ZodLiteral<"faq">;
|
|
76
|
+
title: z.ZodString;
|
|
77
|
+
items: z.ZodArray<z.ZodObject<{
|
|
78
|
+
q: z.ZodString;
|
|
79
|
+
a: z.ZodString;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"cheat_sheet">;
|
|
83
|
+
title: z.ZodString;
|
|
84
|
+
items: z.ZodArray<z.ZodObject<{
|
|
85
|
+
term: z.ZodString;
|
|
86
|
+
note: z.ZodString;
|
|
87
|
+
}, z.core.$strict>>;
|
|
88
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
89
|
+
kind: z.ZodLiteral<"bar_chart">;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
note: z.ZodNullable<z.ZodString>;
|
|
92
|
+
bars: z.ZodArray<z.ZodObject<{
|
|
93
|
+
label: z.ZodString;
|
|
94
|
+
value: z.ZodString;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
97
|
+
kind: z.ZodLiteral<"stat_grid">;
|
|
98
|
+
kicker: z.ZodNullable<z.ZodString>;
|
|
99
|
+
title: z.ZodString;
|
|
100
|
+
kpis: z.ZodArray<z.ZodObject<{
|
|
101
|
+
value: z.ZodString;
|
|
102
|
+
label: z.ZodString;
|
|
103
|
+
}, z.core.$strict>>;
|
|
104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
105
|
+
kind: z.ZodLiteral<"testimonial">;
|
|
106
|
+
quote: z.ZodString;
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
role: z.ZodString;
|
|
109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
110
|
+
kind: z.ZodLiteral<"case_study">;
|
|
111
|
+
title: z.ZodString;
|
|
112
|
+
problem: z.ZodString;
|
|
113
|
+
fix: z.ZodString;
|
|
114
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
115
|
+
value: z.ZodString;
|
|
116
|
+
label: z.ZodString;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
119
|
+
kind: z.ZodLiteral<"chat">;
|
|
120
|
+
contact: z.ZodString;
|
|
121
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
122
|
+
from: z.ZodEnum<{
|
|
123
|
+
me: "me";
|
|
124
|
+
them: "them";
|
|
125
|
+
}>;
|
|
126
|
+
text: z.ZodString;
|
|
127
|
+
}, z.core.$strict>>;
|
|
128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"receipt">;
|
|
130
|
+
headline: z.ZodString;
|
|
131
|
+
items: z.ZodArray<z.ZodObject<{
|
|
132
|
+
item: z.ZodString;
|
|
133
|
+
cost: z.ZodString;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
total: z.ZodString;
|
|
136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"framework">;
|
|
138
|
+
title: z.ZodString;
|
|
139
|
+
xLabel: z.ZodString;
|
|
140
|
+
yLabel: z.ZodString;
|
|
141
|
+
quadrants: z.ZodArray<z.ZodObject<{
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
note: z.ZodString;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
146
|
+
kind: z.ZodLiteral<"chapter">;
|
|
147
|
+
number: z.ZodString;
|
|
148
|
+
chapter: z.ZodString;
|
|
149
|
+
title: z.ZodString;
|
|
150
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
151
|
+
kind: z.ZodLiteral<"poll">;
|
|
152
|
+
question: z.ZodString;
|
|
153
|
+
options: z.ZodArray<z.ZodObject<{
|
|
154
|
+
option: z.ZodString;
|
|
155
|
+
pct: z.ZodString;
|
|
156
|
+
}, z.core.$strict>>;
|
|
157
|
+
cta: z.ZodString;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
kind: z.ZodLiteral<"photo">;
|
|
160
|
+
photo: z.ZodNullable<z.ZodString>;
|
|
161
|
+
lines: z.ZodArray<z.ZodString>;
|
|
162
|
+
}, z.core.$strict>], "kind">>;
|
|
163
|
+
cta: z.ZodObject<{
|
|
164
|
+
headline: z.ZodString;
|
|
165
|
+
button: z.ZodString;
|
|
166
|
+
note: z.ZodNullable<z.ZodString>;
|
|
167
|
+
product: z.ZodNullable<z.ZodString>;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
export type CarouselBoardDeck = z.infer<typeof carouselBoardDeckSchema>;
|
|
171
|
+
export declare function buildCarouselBoardDeck({ frame, theme, deck, }: {
|
|
172
|
+
frame: CarouselBoardFrame;
|
|
173
|
+
theme: CarouselBoardTheme;
|
|
174
|
+
deck: CarouselBoardDeck;
|
|
175
|
+
}): CarouselBoard;
|
|
176
|
+
//# sourceMappingURL=carousel-board-deck.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel-board-deck.d.ts","sourceRoot":"","sources":["../src/carousel-board-deck.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAC;AAM7B;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyOzB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAmBxE,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,KAAK,EACL,IAAI,GACL,EAAE;IACD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,IAAI,EAAE,iBAAiB,CAAC;CACzB,GAAG,aAAa,CAuWhB"}
|