waha-shared 1.0.357 → 1.0.359

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.
@@ -36,6 +36,7 @@ export declare const ArticleSchema: z.ZodObject<{
36
36
  autoplay: z.ZodOptional<z.ZodBoolean>;
37
37
  loop: z.ZodOptional<z.ZodBoolean>;
38
38
  disableControls: z.ZodOptional<z.ZodBoolean>;
39
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
39
40
  }, z.core.$strip>>;
40
41
  impactStoryRegion: z.ZodOptional<z.ZodEnum<{
41
42
  "North America": "North America";
@@ -92,6 +93,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
92
93
  autoplay: z.ZodOptional<z.ZodBoolean>;
93
94
  loop: z.ZodOptional<z.ZodBoolean>;
94
95
  disableControls: z.ZodOptional<z.ZodBoolean>;
96
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
95
97
  }, z.core.$strip>>;
96
98
  impactStoryRegion: z.ZodOptional<z.ZodEnum<{
97
99
  "North America": "North America";
@@ -151,6 +153,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
151
153
  autoplay: z.ZodOptional<z.ZodBoolean>;
152
154
  loop: z.ZodOptional<z.ZodBoolean>;
153
155
  disableControls: z.ZodOptional<z.ZodBoolean>;
156
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
154
157
  }, z.core.$strip>>;
155
158
  impactStoryRegion: z.ZodOptional<z.ZodEnum<{
156
159
  "North America": "North America";
@@ -53,6 +53,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
53
53
  autoplay: z.ZodOptional<z.ZodBoolean>;
54
54
  loop: z.ZodOptional<z.ZodBoolean>;
55
55
  disableControls: z.ZodOptional<z.ZodBoolean>;
56
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
56
57
  }, z.core.$strip>>;
57
58
  textInput: z.ZodOptional<z.ZodObject<{
58
59
  show: z.ZodBoolean;
@@ -127,6 +128,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
127
128
  autoplay: z.ZodOptional<z.ZodBoolean>;
128
129
  loop: z.ZodOptional<z.ZodBoolean>;
129
130
  disableControls: z.ZodOptional<z.ZodBoolean>;
131
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
130
132
  }, z.core.$strip>>;
131
133
  textInput: z.ZodOptional<z.ZodObject<{
132
134
  show: z.ZodBoolean;
@@ -203,6 +205,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
203
205
  autoplay: z.ZodOptional<z.ZodBoolean>;
204
206
  loop: z.ZodOptional<z.ZodBoolean>;
205
207
  disableControls: z.ZodOptional<z.ZodBoolean>;
208
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
206
209
  }, z.core.$strip>>;
207
210
  textInput: z.ZodOptional<z.ZodObject<{
208
211
  show: z.ZodBoolean;
@@ -16,6 +16,7 @@ export declare const VideoSchema: z.ZodOptional<z.ZodObject<{
16
16
  autoplay: z.ZodOptional<z.ZodBoolean>;
17
17
  loop: z.ZodOptional<z.ZodBoolean>;
18
18
  disableControls: z.ZodOptional<z.ZodBoolean>;
19
+ aspectRatio: z.ZodOptional<z.ZodNumber>;
19
20
  }, z.core.$strip>>;
20
21
  export declare const CategorySchema: z.ZodEnum<{
21
22
  "Case Studies": "Case Studies";
@@ -32,6 +32,11 @@ exports.VideoSchema = zod_1.default
32
32
  autoplay: zod_1.default.boolean().optional(),
33
33
  loop: zod_1.default.boolean().optional(),
34
34
  disableControls: zod_1.default.boolean().optional(),
35
+ aspectRatio: zod_1.default
36
+ .number()
37
+ .positive()
38
+ .describe('Width / height of the video. Defaults to 16/9. Use values < 1 for portrait videos (e.g. 9/16).')
39
+ .optional(),
35
40
  })
36
41
  .describe('Optional video to embed on the page.')
37
42
  .optional();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.357",
3
+ "version": "1.0.359",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",