@cntrl-site/sdk 1.28.0-1 → 1.28.0-2

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/lib/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export { KeyframeType } from './types/keyframe/Keyframe';
12
12
  export type { Article } from './types/article/Article';
13
13
  export type { Section, SectionHeight } from './types/article/Section';
14
14
  export type { Item, ImageItem, ItemAny, CustomItem, ItemCommonParamsMap, ItemLayoutParamsMap, RectangleItem, StickyParams, VideoItem, RichTextItem, Link, VimeoEmbedItem, YoutubeEmbedItem, GroupItem, CodeEmbedItem, CompoundItem, ComponentItem, FillLayer, ScrollPlaybackFrameData } from './types/article/Item';
15
- export type { StructuredBlock, ComponentStructuredBlock, RichTextStructuredBlock, ImageStructuredBlock, VimeoEmbedStructuredBlock, YoutubeEmbedStructuredBlock } from './types/article/StructuredBlock';
15
+ export type { StructuredBlock, ComponentStructuredBlock, RichTextStructuredBlock, ImageStructuredBlock, VimeoEmbedStructuredBlock, YoutubeEmbedStructuredBlock, StructuredBlockAny } from './types/article/StructuredBlock';
16
16
  export type { RichTextBlock, RichTextEntity, RichTextStyle } from './types/article/RichText';
17
17
  export type { ItemArea } from './types/article/ItemArea';
18
18
  export type { ItemState, ItemStateParams, StateParams, ItemStatesMap } from './types/article/ItemState';
@@ -90,6 +90,7 @@ export declare const StructuredBlockImageCommonParamsSchema: z.ZodObject<{
90
90
  type: "vec2";
91
91
  shaderParam: string;
92
92
  }>]>, "many">;
93
+ FXTextures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
93
94
  }, "strip", z.ZodTypeAny, {
94
95
  url: string;
95
96
  hasGLEffect: boolean;
@@ -113,6 +114,7 @@ export declare const StructuredBlockImageCommonParamsSchema: z.ZodObject<{
113
114
  pointerEvents?: "never" | "when_visible" | "always" | undefined;
114
115
  isPlaceholder?: boolean | undefined;
115
116
  caption?: string | undefined;
117
+ FXTextures?: string[] | undefined;
116
118
  }, {
117
119
  url: string;
118
120
  hasGLEffect: boolean;
@@ -136,6 +138,7 @@ export declare const StructuredBlockImageCommonParamsSchema: z.ZodObject<{
136
138
  pointerEvents?: "never" | "when_visible" | "always" | undefined;
137
139
  isPlaceholder?: boolean | undefined;
138
140
  caption?: string | undefined;
141
+ FXTextures?: string[] | undefined;
139
142
  }>;
140
143
  export declare const StructuredBlockRichTextLayoutParamsSchema: z.ZodObject<{
141
144
  rangeStyles: z.ZodArray<z.ZodObject<{
@@ -28,7 +28,8 @@ const FXParamsSchema = zod_1.z.object({
28
28
  hasGLEffect: zod_1.z.boolean(),
29
29
  fragmentShader: zod_1.z.string().nullable(),
30
30
  shaderName: zod_1.z.string().nullable(),
31
- FXControls: zod_1.z.array(Item_schema_1.FXControlSchema)
31
+ FXControls: zod_1.z.array(Item_schema_1.FXControlSchema),
32
+ FXTextures: zod_1.z.array(zod_1.z.string()).optional()
32
33
  });
33
34
  exports.StructuredBlockImageCommonParamsSchema = zod_1.z.object({
34
35
  url: zod_1.z.string().min(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.28.0-1",
3
+ "version": "1.28.0-2",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",