@blitzreels/contracts 0.2.18 → 0.2.19

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 (56) hide show
  1. package/dist/carousel-board-api.d.ts +4 -1
  2. package/dist/carousel-board-api.d.ts.map +1 -1
  3. package/dist/carousel-board-api.js +4 -3
  4. package/dist/carousel-board-api.js.map +1 -1
  5. package/dist/carousel-board-deck.d.ts +13 -1
  6. package/dist/carousel-board-deck.d.ts.map +1 -1
  7. package/dist/carousel-board-deck.js +91 -36
  8. package/dist/carousel-board-deck.js.map +1 -1
  9. package/dist/carousel-board-generate.d.ts +205 -3
  10. package/dist/carousel-board-generate.d.ts.map +1 -1
  11. package/dist/carousel-board-generate.js +208 -1
  12. package/dist/carousel-board-generate.js.map +1 -1
  13. package/dist/carousel-board-images.d.ts +8 -4
  14. package/dist/carousel-board-images.d.ts.map +1 -1
  15. package/dist/carousel-board-images.js +103 -44
  16. package/dist/carousel-board-images.js.map +1 -1
  17. package/dist/carousel-board-templates.d.ts.map +1 -1
  18. package/dist/carousel-board-templates.js +101 -6
  19. package/dist/carousel-board-templates.js.map +1 -1
  20. package/dist/clip-batch-quote.d.ts +46 -0
  21. package/dist/clip-batch-quote.d.ts.map +1 -0
  22. package/dist/clip-batch-quote.js +63 -0
  23. package/dist/clip-batch-quote.js.map +1 -0
  24. package/dist/clip-batch-status.d.ts +77 -0
  25. package/dist/clip-batch-status.d.ts.map +1 -0
  26. package/dist/clip-batch-status.js +62 -0
  27. package/dist/clip-batch-status.js.map +1 -0
  28. package/dist/credits-balance.d.ts +34 -0
  29. package/dist/credits-balance.d.ts.map +1 -0
  30. package/dist/credits-balance.js +35 -0
  31. package/dist/credits-balance.js.map +1 -0
  32. package/dist/index.d.ts +4 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +4 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/metered-operations.d.ts +33 -0
  37. package/dist/metered-operations.d.ts.map +1 -1
  38. package/dist/metered-operations.js +29 -0
  39. package/dist/metered-operations.js.map +1 -1
  40. package/dist/model-prices.d.ts +2 -0
  41. package/dist/model-prices.d.ts.map +1 -1
  42. package/dist/model-prices.js +2 -0
  43. package/dist/model-prices.js.map +1 -1
  44. package/dist/narrated-video-source.d.ts +2 -0
  45. package/dist/narrated-video-source.d.ts.map +1 -1
  46. package/dist/narration-sequence.d.ts +4 -0
  47. package/dist/narration-sequence.d.ts.map +1 -1
  48. package/dist/narration-take-contract.d.ts +8 -0
  49. package/dist/narration-take-contract.d.ts.map +1 -1
  50. package/dist/narration-take-contract.js +2 -0
  51. package/dist/narration-take-contract.js.map +1 -1
  52. package/dist/ugc-format-catalog.d.ts +253 -0
  53. package/dist/ugc-format-catalog.d.ts.map +1 -0
  54. package/dist/ugc-format-catalog.js +172 -0
  55. package/dist/ugc-format-catalog.js.map +1 -0
  56. package/package.json +1 -1
@@ -0,0 +1,253 @@
1
+ /** Genre packs the faceless plan accepts as `genre`. The app's pack registry must match this list exactly. */
2
+ export declare const UGC_GENRE_PACK_IDS: readonly ["ugc-selfie-ad", "animated-story-tutorial", "pixar-product-ad", "pixar-culture-skit", "dark-wild-documentary", "creator-multiworld-ad", "live-action-family-skit"];
3
+ export type UgcGenrePackId = (typeof UGC_GENRE_PACK_IDS)[number];
4
+ /** Formats of the first UGC Studio, generated by its own Trigger task rather than a genre pack. */
5
+ export declare const LEGACY_UGC_FORMAT_IDS: readonly ["talking_head", "before_after", "slideshow"];
6
+ export type LegacyUgcFormatId = (typeof LEGACY_UGC_FORMAT_IDS)[number];
7
+ export declare const UGC_FORMAT_RELEASE_STATES: readonly ["ready", "admin_preview"];
8
+ export type UgcFormatRelease = (typeof UGC_FORMAT_RELEASE_STATES)[number];
9
+ /** The page that offers a format: realistic creator ads in AI UGC, every other look in Faceless video. */
10
+ export declare const UGC_FORMAT_SURFACES: readonly ["ugc", "faceless"];
11
+ export type UgcFormatSurface = (typeof UGC_FORMAT_SURFACES)[number];
12
+ export type UgcFormat = {
13
+ /** The genre pack id, or the legacy format id when the format has no genre pack. */
14
+ id: UgcGenrePackId | LegacyUgcFormatId;
15
+ /** Null: the format cannot run on the faceless plan path (`genre`). */
16
+ genre_pack_id: UgcGenrePackId | null;
17
+ /** The legacy UGC Studio format this entry replaces or is. */
18
+ legacy_format_id: LegacyUgcFormatId | null;
19
+ /** Copy lives at `dashboard.aiCreators.ugcFormats.<message_key>.{title,description}`. */
20
+ message_key: string;
21
+ /** Workspace characters (avatars) passed as `character_ids`. 0 lets the planner invent the cast. */
22
+ avatars: {
23
+ min: number;
24
+ max: number;
25
+ };
26
+ /** The format shows the product itself (photos or a screen recording). */
27
+ needs_product_media: boolean;
28
+ /** Two or more on-screen speakers with lip-synced lines. */
29
+ dialogue: boolean;
30
+ /** An off-screen narrator voice carries the film. Without it, the avatar speaks in its own voice. */
31
+ narrator_voice: boolean;
32
+ duration_seconds: {
33
+ min: number;
34
+ max: number;
35
+ default: number;
36
+ };
37
+ /** Passed as the faceless `visual_style`; the genre pack refines it. */
38
+ visual_style: string;
39
+ release: UgcFormatRelease;
40
+ surface: UgcFormatSurface;
41
+ /** A real BlitzReels output in `public/`, or null when none exists yet. */
42
+ example: {
43
+ video_path: string;
44
+ poster_path: string;
45
+ } | null;
46
+ };
47
+ export declare const UGC_FORMAT_CATALOG: readonly [{
48
+ readonly id: "ugc-selfie-ad";
49
+ readonly genre_pack_id: "ugc-selfie-ad";
50
+ readonly legacy_format_id: "talking_head";
51
+ readonly message_key: "ugcSelfieAd";
52
+ readonly avatars: {
53
+ readonly min: 1;
54
+ readonly max: 1;
55
+ };
56
+ readonly needs_product_media: true;
57
+ readonly dialogue: false;
58
+ readonly narrator_voice: false;
59
+ readonly duration_seconds: {
60
+ readonly min: 10;
61
+ readonly max: 30;
62
+ readonly default: 15;
63
+ };
64
+ readonly visual_style: "realistic front-camera phone selfie video, natural available light, unpolished everyday look";
65
+ readonly release: "ready";
66
+ readonly surface: "ugc";
67
+ readonly example: {
68
+ readonly video_path: "/ai-creators/examples/talking-head.mp4";
69
+ readonly poster_path: "/ai-creators/examples/talking-head.webp";
70
+ };
71
+ }, {
72
+ readonly id: "pixar-product-ad";
73
+ readonly genre_pack_id: "pixar-product-ad";
74
+ readonly legacy_format_id: null;
75
+ readonly message_key: "pixarProductAd";
76
+ readonly avatars: {
77
+ readonly min: 0;
78
+ readonly max: 2;
79
+ };
80
+ readonly needs_product_media: true;
81
+ readonly dialogue: false;
82
+ readonly narrator_voice: true;
83
+ readonly duration_seconds: {
84
+ readonly min: 20;
85
+ readonly max: 60;
86
+ readonly default: 30;
87
+ };
88
+ readonly visual_style: "stylized 3D feature-animation look, warm soft lighting";
89
+ readonly release: "ready";
90
+ readonly surface: "faceless";
91
+ readonly example: {
92
+ readonly video_path: "/videos/faceless-examples/pixar-ugc-360w.mp4";
93
+ readonly poster_path: "/videos/faceless-examples/pixar-ugc-poster.jpg";
94
+ };
95
+ }, {
96
+ readonly id: "pixar-culture-skit";
97
+ readonly genre_pack_id: "pixar-culture-skit";
98
+ readonly legacy_format_id: null;
99
+ readonly message_key: "pixarCultureSkit";
100
+ readonly avatars: {
101
+ readonly min: 0;
102
+ readonly max: 3;
103
+ };
104
+ readonly needs_product_media: false;
105
+ readonly dialogue: true;
106
+ readonly narrator_voice: false;
107
+ readonly duration_seconds: {
108
+ readonly min: 10;
109
+ readonly max: 30;
110
+ readonly default: 20;
111
+ };
112
+ readonly visual_style: "stylized 3D feature-animation look, warm domestic interiors";
113
+ readonly release: "admin_preview";
114
+ readonly surface: "faceless";
115
+ readonly example: null;
116
+ }, {
117
+ readonly id: "creator-multiworld-ad";
118
+ readonly genre_pack_id: "creator-multiworld-ad";
119
+ readonly legacy_format_id: null;
120
+ readonly message_key: "creatorMultiworldAd";
121
+ readonly avatars: {
122
+ readonly min: 1;
123
+ readonly max: 3;
124
+ };
125
+ readonly needs_product_media: true;
126
+ readonly dialogue: true;
127
+ readonly narrator_voice: false;
128
+ readonly duration_seconds: {
129
+ readonly min: 30;
130
+ readonly max: 60;
131
+ readonly default: 45;
132
+ };
133
+ readonly visual_style: "cinematic live-action, consistent lens and grade across worlds";
134
+ readonly release: "admin_preview";
135
+ readonly surface: "faceless";
136
+ readonly example: null;
137
+ }, {
138
+ readonly id: "live-action-family-skit";
139
+ readonly genre_pack_id: "live-action-family-skit";
140
+ readonly legacy_format_id: null;
141
+ readonly message_key: "liveActionFamilySkit";
142
+ readonly avatars: {
143
+ readonly min: 1;
144
+ readonly max: 4;
145
+ };
146
+ readonly needs_product_media: false;
147
+ readonly dialogue: true;
148
+ readonly narrator_voice: false;
149
+ readonly duration_seconds: {
150
+ readonly min: 15;
151
+ readonly max: 30;
152
+ readonly default: 25;
153
+ };
154
+ readonly visual_style: "live-action, natural daylight, true white balance, high-end phone camera look";
155
+ readonly release: "admin_preview";
156
+ readonly surface: "faceless";
157
+ readonly example: null;
158
+ }, {
159
+ readonly id: "dark-wild-documentary";
160
+ readonly genre_pack_id: "dark-wild-documentary";
161
+ readonly legacy_format_id: null;
162
+ readonly message_key: "darkWildDocumentary";
163
+ readonly avatars: {
164
+ readonly min: 0;
165
+ readonly max: 0;
166
+ };
167
+ readonly needs_product_media: false;
168
+ readonly dialogue: false;
169
+ readonly narrator_voice: true;
170
+ readonly duration_seconds: {
171
+ readonly min: 80;
172
+ readonly max: 120;
173
+ readonly default: 90;
174
+ };
175
+ readonly visual_style: "photoreal wildlife documentary, dark natural grade";
176
+ readonly release: "ready";
177
+ readonly surface: "faceless";
178
+ readonly example: null;
179
+ }, {
180
+ readonly id: "animated-story-tutorial";
181
+ readonly genre_pack_id: "animated-story-tutorial";
182
+ readonly legacy_format_id: null;
183
+ readonly message_key: "animatedStoryTutorial";
184
+ readonly avatars: {
185
+ readonly min: 1;
186
+ readonly max: 3;
187
+ };
188
+ readonly needs_product_media: true;
189
+ readonly dialogue: true;
190
+ readonly narrator_voice: false;
191
+ readonly duration_seconds: {
192
+ readonly min: 30;
193
+ readonly max: 120;
194
+ readonly default: 60;
195
+ };
196
+ readonly visual_style: "stylized 3D feature-animation look, warm practical lights";
197
+ readonly release: "admin_preview";
198
+ readonly surface: "faceless";
199
+ readonly example: null;
200
+ }, {
201
+ readonly id: "before_after";
202
+ readonly genre_pack_id: null;
203
+ readonly legacy_format_id: "before_after";
204
+ readonly message_key: "beforeAfter";
205
+ readonly avatars: {
206
+ readonly min: 1;
207
+ readonly max: 1;
208
+ };
209
+ readonly needs_product_media: true;
210
+ readonly dialogue: false;
211
+ readonly narrator_voice: false;
212
+ readonly duration_seconds: {
213
+ readonly min: 15;
214
+ readonly max: 30;
215
+ readonly default: 20;
216
+ };
217
+ readonly visual_style: "realistic phone video, natural light";
218
+ readonly release: "admin_preview";
219
+ readonly surface: "ugc";
220
+ readonly example: {
221
+ readonly video_path: "/ai-creators/examples/before-after.mp4";
222
+ readonly poster_path: "/ai-creators/examples/before-after.webp";
223
+ };
224
+ }, {
225
+ readonly id: "slideshow";
226
+ readonly genre_pack_id: null;
227
+ readonly legacy_format_id: "slideshow";
228
+ readonly message_key: "slideshow";
229
+ readonly avatars: {
230
+ readonly min: 1;
231
+ readonly max: 1;
232
+ };
233
+ readonly needs_product_media: true;
234
+ readonly dialogue: false;
235
+ readonly narrator_voice: false;
236
+ readonly duration_seconds: {
237
+ readonly min: 15;
238
+ readonly max: 30;
239
+ readonly default: 25;
240
+ };
241
+ readonly visual_style: "realistic phone photos, natural light";
242
+ readonly release: "admin_preview";
243
+ readonly surface: "ugc";
244
+ readonly example: {
245
+ readonly video_path: "/ai-creators/examples/slideshow.mp4";
246
+ readonly poster_path: "/ai-creators/examples/slideshow.webp";
247
+ };
248
+ }];
249
+ export type UgcFormatId = (typeof UGC_FORMAT_CATALOG)[number]["id"];
250
+ export declare function findUgcFormat({ id }: {
251
+ id: string;
252
+ }): UgcFormat | null;
253
+ //# sourceMappingURL=ugc-format-catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ugc-format-catalog.d.ts","sourceRo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AE,CAAC;iBAAE,GAAG,EAAE,CAAC;;;;;;iBAIL,GAAG,EAAE,EAAE;iBAAE,GAAG,EAAE,EAAE;iBAAE,OAAO,EAAE,EAAE;;2BACnC,uCAAuC;sBAC5C,eAAe;sBACf,KAAK;;iBAEZ,UAAU,EAAE,qCAAqC;iBACjD,WAAW,EAAE,sCAAsC;;EAGhB,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAEpE,wBAAgB,aAAa,CAAC,EAAE,EAAE,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,CAEtE"}
@@ -0,0 +1,172 @@
1
+ /** Genre packs the faceless plan accepts as `genre`. The app's pack registry must match this list exactly. */
2
+ export const UGC_GENRE_PACK_IDS = [
3
+ "ugc-selfie-ad",
4
+ "animated-story-tutorial",
5
+ "pixar-product-ad",
6
+ "pixar-culture-skit",
7
+ "dark-wild-documentary",
8
+ "creator-multiworld-ad",
9
+ "live-action-family-skit",
10
+ ];
11
+ /** Formats of the first UGC Studio, generated by its own Trigger task rather than a genre pack. */
12
+ export const LEGACY_UGC_FORMAT_IDS = [
13
+ "talking_head",
14
+ "before_after",
15
+ "slideshow",
16
+ ];
17
+ export const UGC_FORMAT_RELEASE_STATES = ["ready", "admin_preview"];
18
+ /** The page that offers a format: realistic creator ads in AI UGC, every other look in Faceless video. */
19
+ export const UGC_FORMAT_SURFACES = ["ugc", "faceless"];
20
+ export const UGC_FORMAT_CATALOG = [
21
+ {
22
+ id: "ugc-selfie-ad",
23
+ genre_pack_id: "ugc-selfie-ad",
24
+ legacy_format_id: "talking_head",
25
+ message_key: "ugcSelfieAd",
26
+ avatars: { min: 1, max: 1 },
27
+ needs_product_media: true,
28
+ dialogue: false,
29
+ narrator_voice: false,
30
+ duration_seconds: { min: 10, max: 30, default: 15 },
31
+ visual_style: "realistic front-camera phone selfie video, natural available light, unpolished everyday look",
32
+ release: "ready",
33
+ surface: "ugc",
34
+ example: {
35
+ video_path: "/ai-creators/examples/talking-head.mp4",
36
+ poster_path: "/ai-creators/examples/talking-head.webp",
37
+ },
38
+ },
39
+ {
40
+ id: "pixar-product-ad",
41
+ genre_pack_id: "pixar-product-ad",
42
+ legacy_format_id: null,
43
+ message_key: "pixarProductAd",
44
+ avatars: { min: 0, max: 2 },
45
+ needs_product_media: true,
46
+ dialogue: false,
47
+ narrator_voice: true,
48
+ duration_seconds: { min: 20, max: 60, default: 30 },
49
+ visual_style: "stylized 3D feature-animation look, warm soft lighting",
50
+ release: "ready",
51
+ surface: "faceless",
52
+ example: {
53
+ video_path: "/videos/faceless-examples/pixar-ugc-360w.mp4",
54
+ poster_path: "/videos/faceless-examples/pixar-ugc-poster.jpg",
55
+ },
56
+ },
57
+ {
58
+ id: "pixar-culture-skit",
59
+ genre_pack_id: "pixar-culture-skit",
60
+ legacy_format_id: null,
61
+ message_key: "pixarCultureSkit",
62
+ avatars: { min: 0, max: 3 },
63
+ needs_product_media: false,
64
+ dialogue: true,
65
+ narrator_voice: false,
66
+ duration_seconds: { min: 10, max: 30, default: 20 },
67
+ visual_style: "stylized 3D feature-animation look, warm domestic interiors",
68
+ release: "admin_preview",
69
+ surface: "faceless",
70
+ example: null,
71
+ },
72
+ {
73
+ id: "creator-multiworld-ad",
74
+ genre_pack_id: "creator-multiworld-ad",
75
+ legacy_format_id: null,
76
+ message_key: "creatorMultiworldAd",
77
+ avatars: { min: 1, max: 3 },
78
+ needs_product_media: true,
79
+ dialogue: true,
80
+ narrator_voice: false,
81
+ duration_seconds: { min: 30, max: 60, default: 45 },
82
+ visual_style: "cinematic live-action, consistent lens and grade across worlds",
83
+ release: "admin_preview",
84
+ surface: "faceless",
85
+ example: null,
86
+ },
87
+ {
88
+ id: "live-action-family-skit",
89
+ genre_pack_id: "live-action-family-skit",
90
+ legacy_format_id: null,
91
+ message_key: "liveActionFamilySkit",
92
+ avatars: { min: 1, max: 4 },
93
+ needs_product_media: false,
94
+ dialogue: true,
95
+ narrator_voice: false,
96
+ duration_seconds: { min: 15, max: 30, default: 25 },
97
+ visual_style: "live-action, natural daylight, true white balance, high-end phone camera look",
98
+ release: "admin_preview",
99
+ surface: "faceless",
100
+ example: null,
101
+ },
102
+ {
103
+ id: "dark-wild-documentary",
104
+ genre_pack_id: "dark-wild-documentary",
105
+ legacy_format_id: null,
106
+ message_key: "darkWildDocumentary",
107
+ avatars: { min: 0, max: 0 },
108
+ needs_product_media: false,
109
+ dialogue: false,
110
+ narrator_voice: true,
111
+ duration_seconds: { min: 80, max: 120, default: 90 },
112
+ visual_style: "photoreal wildlife documentary, dark natural grade",
113
+ release: "ready",
114
+ surface: "faceless",
115
+ example: null,
116
+ },
117
+ {
118
+ id: "animated-story-tutorial",
119
+ genre_pack_id: "animated-story-tutorial",
120
+ legacy_format_id: null,
121
+ message_key: "animatedStoryTutorial",
122
+ avatars: { min: 1, max: 3 },
123
+ needs_product_media: true,
124
+ dialogue: true,
125
+ narrator_voice: false,
126
+ duration_seconds: { min: 30, max: 120, default: 60 },
127
+ visual_style: "stylized 3D feature-animation look, warm practical lights",
128
+ release: "admin_preview",
129
+ surface: "faceless",
130
+ example: null,
131
+ },
132
+ {
133
+ id: "before_after",
134
+ genre_pack_id: null,
135
+ legacy_format_id: "before_after",
136
+ message_key: "beforeAfter",
137
+ avatars: { min: 1, max: 1 },
138
+ needs_product_media: true,
139
+ dialogue: false,
140
+ narrator_voice: false,
141
+ duration_seconds: { min: 15, max: 30, default: 20 },
142
+ visual_style: "realistic phone video, natural light",
143
+ release: "admin_preview",
144
+ surface: "ugc",
145
+ example: {
146
+ video_path: "/ai-creators/examples/before-after.mp4",
147
+ poster_path: "/ai-creators/examples/before-after.webp",
148
+ },
149
+ },
150
+ {
151
+ id: "slideshow",
152
+ genre_pack_id: null,
153
+ legacy_format_id: "slideshow",
154
+ message_key: "slideshow",
155
+ avatars: { min: 1, max: 1 },
156
+ needs_product_media: true,
157
+ dialogue: false,
158
+ narrator_voice: false,
159
+ duration_seconds: { min: 15, max: 30, default: 25 },
160
+ visual_style: "realistic phone photos, natural light",
161
+ release: "admin_preview",
162
+ surface: "ugc",
163
+ example: {
164
+ video_path: "/ai-creators/examples/slideshow.mp4",
165
+ poster_path: "/ai-creators/examples/slideshow.webp",
166
+ },
167
+ },
168
+ ];
169
+ export function findUgcFormat({ id }) {
170
+ return UGC_FORMAT_CATALOG.find((format) => format.id === id) ?? null;
171
+ }
172
+ //# sourceMappingURL=ugc-format-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ugc-format-catalog.js","sourceRoot":"","sources":["../src/ugc-format-catalog.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,eAAe;IACf,yBAAyB;IACzB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,yBAAyB;CACjB,CAAC;AAGX,mGAAmG;AACnG,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,cAAc;IACd,cAAc;IACd,WAAW;CACH,CAAC;AAGX,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,OAAO,EAAE,eAAe,CAAU,CAAC;AAG7E,0GAA0G;AAC1G,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAU,CAAC;AA6BhE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,EAAE,EAAE,eAAe;QACnB,aAAa,EAAE,eAAe;QAC9B,gBAAgB,EAAE,cAAc;QAChC,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE;QAC3B,mBAAmB,EAAE,IAAI;QACzB,QAAQ,EAAE,KAAK;QACf,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG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QAC3B,mBAAmB,EAAE,IAAI;QACzB,QAAQ,EAAE,KAAK;QACf,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACnD,YAAY,EAAE,uCAAuC;QACrD,OAAO,EAAE,eAAe;QACxB,OAAO,EAAE,KAAK;QACd,OAAO,EAAE;YACP,UAAU,EAAE,qCAAqC;YACjD,WAAW,EAAE,sCAAsC;SACpD;KACF;CACsC,CAAC;AAI1C,MAAM,UAAU,aAAa,CAAC,EAAE,EAAE,EAAkB;IAClD,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,IAAI,CAAC;AACvE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blitzreels/contracts",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "Transport-independent factual contracts for BlitzReels editing operations.",
5
5
  "homepage": "https://blitzreels.com/",
6
6
  "license": "SEE LICENSE IN LICENSE",