@cntrl-site/sdk 1.28.0-2 → 1.28.0-4
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 +2 -1
- package/lib/schemas/article/Article.schema.d.ts +12 -12
- package/lib/schemas/article/ElementLayoutParams.schema.d.ts +1219 -0
- package/lib/schemas/article/ElementLayoutParams.schema.js +91 -0
- package/lib/schemas/article/Interaction.schema.d.ts +8 -8
- package/lib/schemas/article/Item.schema.d.ts +0 -72
- package/lib/schemas/article/Item.schema.js +12 -90
- package/lib/schemas/article/ItemArea.schema.d.ts +2 -2
- package/lib/schemas/article/ItemBase.schema.d.ts +4 -4
- package/lib/schemas/article/RichTextItem.schema.d.ts +4 -4
- package/lib/schemas/article/StructuredBlock.schema.js +5 -4
- package/lib/schemas/keyframe/Keyframes.schema.d.ts +8 -8
- package/lib/types/article/Item.d.ts +3 -210
- package/lib/types/article/ItemState.d.ts +1 -1
- package/lib/types/article/Params.type.d.ts +211 -0
- package/lib/types/article/Params.type.js +2 -0
- package/lib/types/article/StructuredBlock.d.ts +1 -1
- package/lib/types/keyframe/Keyframe.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RichTextBlock, RichTextStyle, TextAlign, TextTransform, VerticalAlign } from './RichText';
|
|
2
1
|
import { ArticleItemType } from './ArticleItemType';
|
|
3
|
-
import {
|
|
2
|
+
import { ItemArea } from './ItemArea';
|
|
4
3
|
import { ItemState } from './ItemState';
|
|
5
|
-
import { FXControlAny } from './FX';
|
|
6
4
|
import { CompoundSettings } from './CompoundSettings';
|
|
5
|
+
import { StickyParams, Link, ImageCommonParams, VideoCommonParams, RichTextCommonParams, RectangleCommonParams, VimeoEmbedCommonParams, YoutubeEmbedCommonParams, CustomCommonParams, GroupCommonParams, CompoundCommonParams, CodeEmbedCommonParams, ComponentCommonParams, ImageLayoutParams, VideoLayoutParams, RichTextLayoutParams, RectangleLayoutParams, VimeoEmbedLayoutParams, YoutubeEmbedLayoutParams, CustomLayoutParams, GroupLayoutParams, CompoundLayoutParams, CodeEmbedLayoutParams, ComponentLayoutParams } from './Params.type';
|
|
7
6
|
export type ItemAny = Item<ArticleItemType>;
|
|
7
|
+
type LayoutIdentifier = string;
|
|
8
8
|
export interface Item<T extends ArticleItemType> {
|
|
9
9
|
id: string;
|
|
10
10
|
type: T;
|
|
@@ -44,213 +44,6 @@ export interface ItemLayoutParamsMap {
|
|
|
44
44
|
[ArticleItemType.CodeEmbed]: CodeEmbedLayoutParams;
|
|
45
45
|
[ArticleItemType.Component]: ComponentLayoutParams;
|
|
46
46
|
}
|
|
47
|
-
interface CommonParamsBase {
|
|
48
|
-
pointerEvents?: 'never' | 'when_visible' | 'always';
|
|
49
|
-
}
|
|
50
|
-
export interface MediaCommonParams extends CommonParamsBase {
|
|
51
|
-
url: string;
|
|
52
|
-
hasGLEffect?: boolean;
|
|
53
|
-
fragmentShader: string | null;
|
|
54
|
-
FXControls?: FXControlAny[];
|
|
55
|
-
FXTextures?: string[];
|
|
56
|
-
}
|
|
57
|
-
interface VideoCommonParams extends MediaCommonParams {
|
|
58
|
-
coverUrl: string | null;
|
|
59
|
-
scrollPlaybackFrameData?: ScrollPlaybackFrameData | null;
|
|
60
|
-
}
|
|
61
|
-
interface ImageCommonParams extends MediaCommonParams {
|
|
62
|
-
}
|
|
63
|
-
interface RichTextCommonParams extends CommonParamsBase {
|
|
64
|
-
text: string;
|
|
65
|
-
blocks?: RichTextBlock[];
|
|
66
|
-
}
|
|
67
|
-
interface RectangleCommonParams extends CommonParamsBase {
|
|
68
|
-
ratioLock: boolean;
|
|
69
|
-
}
|
|
70
|
-
interface CustomCommonParams extends CommonParamsBase {
|
|
71
|
-
name: string;
|
|
72
|
-
}
|
|
73
|
-
interface GroupCommonParams extends CommonParamsBase {
|
|
74
|
-
}
|
|
75
|
-
interface CompoundCommonParams extends CommonParamsBase {
|
|
76
|
-
overflow: 'hidden' | 'visible';
|
|
77
|
-
}
|
|
78
|
-
interface CodeEmbedCommonParams extends CommonParamsBase {
|
|
79
|
-
html: string;
|
|
80
|
-
scale: boolean;
|
|
81
|
-
iframe: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface VimeoEmbedCommonParams extends CommonParamsBase {
|
|
84
|
-
url: string;
|
|
85
|
-
coverUrl: string | null;
|
|
86
|
-
}
|
|
87
|
-
export interface YoutubeEmbedCommonParams extends CommonParamsBase {
|
|
88
|
-
url: string;
|
|
89
|
-
coverUrl: string | null;
|
|
90
|
-
}
|
|
91
|
-
interface ComponentCommonParams extends CommonParamsBase {
|
|
92
|
-
componentId: string;
|
|
93
|
-
content?: any;
|
|
94
|
-
parameters?: Record<string, any>;
|
|
95
|
-
}
|
|
96
|
-
export interface MediaLayoutParams {
|
|
97
|
-
opacity: number;
|
|
98
|
-
radius: number;
|
|
99
|
-
strokeWidth: number;
|
|
100
|
-
strokeFill: FillLayer[];
|
|
101
|
-
blur: number;
|
|
102
|
-
isDraggable?: boolean;
|
|
103
|
-
blendMode?: string;
|
|
104
|
-
}
|
|
105
|
-
interface CustomLayoutParams {
|
|
106
|
-
isDraggable?: boolean;
|
|
107
|
-
blendMode?: string;
|
|
108
|
-
}
|
|
109
|
-
interface GroupLayoutParams {
|
|
110
|
-
opacity: number;
|
|
111
|
-
blur: number;
|
|
112
|
-
isDraggable?: boolean;
|
|
113
|
-
blendMode?: string;
|
|
114
|
-
}
|
|
115
|
-
interface CompoundLayoutParams {
|
|
116
|
-
opacity: number;
|
|
117
|
-
isDraggable?: boolean;
|
|
118
|
-
blendMode?: string;
|
|
119
|
-
}
|
|
120
|
-
interface CodeEmbedLayoutParams {
|
|
121
|
-
areaAnchor: AreaAnchor;
|
|
122
|
-
opacity: number;
|
|
123
|
-
blur: number;
|
|
124
|
-
isDraggable?: boolean;
|
|
125
|
-
blendMode?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface VimeoEmbedLayoutParams {
|
|
128
|
-
play: 'on-hover' | 'on-click' | 'auto';
|
|
129
|
-
controls: boolean;
|
|
130
|
-
loop: boolean;
|
|
131
|
-
muted: boolean;
|
|
132
|
-
pictureInPicture: boolean;
|
|
133
|
-
radius: number;
|
|
134
|
-
blur: number;
|
|
135
|
-
opacity: number;
|
|
136
|
-
blendMode?: string;
|
|
137
|
-
}
|
|
138
|
-
export interface YoutubeEmbedLayoutParams {
|
|
139
|
-
play: 'on-hover' | 'on-click' | 'auto';
|
|
140
|
-
controls: boolean;
|
|
141
|
-
loop: boolean;
|
|
142
|
-
radius: number;
|
|
143
|
-
blur: number;
|
|
144
|
-
opacity: number;
|
|
145
|
-
blendMode?: string;
|
|
146
|
-
}
|
|
147
|
-
interface ImageLayoutParams extends MediaLayoutParams {
|
|
148
|
-
}
|
|
149
|
-
interface VideoLayoutParams extends MediaLayoutParams {
|
|
150
|
-
play: 'on-hover' | 'on-click' | 'auto';
|
|
151
|
-
muted: boolean;
|
|
152
|
-
controls: boolean;
|
|
153
|
-
scrollPlayback: ScrollPlaybackParams | null;
|
|
154
|
-
}
|
|
155
|
-
interface RichTextLayoutParams {
|
|
156
|
-
rangeStyles?: RichTextStyle[];
|
|
157
|
-
textAlign: TextAlign;
|
|
158
|
-
sizing: string;
|
|
159
|
-
blur: number;
|
|
160
|
-
fontSize: number;
|
|
161
|
-
lineHeight: number;
|
|
162
|
-
letterSpacing: number;
|
|
163
|
-
wordSpacing: number;
|
|
164
|
-
textTransform: TextTransform;
|
|
165
|
-
verticalAlign: VerticalAlign;
|
|
166
|
-
color: string;
|
|
167
|
-
typeFace: string;
|
|
168
|
-
fontStyle: string;
|
|
169
|
-
fontWeight: number;
|
|
170
|
-
fontVariant: string;
|
|
171
|
-
isDraggable?: boolean;
|
|
172
|
-
blendMode?: string;
|
|
173
|
-
}
|
|
174
|
-
interface RectangleLayoutParams {
|
|
175
|
-
radius: number;
|
|
176
|
-
strokeWidth: number;
|
|
177
|
-
fill: FillLayer[];
|
|
178
|
-
strokeFill: FillLayer[];
|
|
179
|
-
blur: number;
|
|
180
|
-
backdropBlur: number;
|
|
181
|
-
blurMode: 'default' | 'backdrop';
|
|
182
|
-
isDraggable?: boolean;
|
|
183
|
-
blendMode?: string;
|
|
184
|
-
}
|
|
185
|
-
export type FillLayer = SolidFillLayer | LinearGradientFillLayer | RadialGradientFillLayer | ConicGradientFillLayer | ImageLayer;
|
|
186
|
-
type ColorPoint = {
|
|
187
|
-
id: string;
|
|
188
|
-
value: string;
|
|
189
|
-
position: number;
|
|
190
|
-
};
|
|
191
|
-
export type SolidFillLayer = {
|
|
192
|
-
id: string;
|
|
193
|
-
type: 'solid';
|
|
194
|
-
value: string;
|
|
195
|
-
};
|
|
196
|
-
export type LinearGradientFillLayer = {
|
|
197
|
-
id: string;
|
|
198
|
-
type: 'linear-gradient';
|
|
199
|
-
colors: ColorPoint[];
|
|
200
|
-
start: [number, number];
|
|
201
|
-
end: [number, number];
|
|
202
|
-
angle: number;
|
|
203
|
-
};
|
|
204
|
-
export type RadialGradientFillLayer = {
|
|
205
|
-
id: string;
|
|
206
|
-
type: 'radial-gradient';
|
|
207
|
-
colors: ColorPoint[];
|
|
208
|
-
diameter: number;
|
|
209
|
-
center: [number, number];
|
|
210
|
-
angle: number;
|
|
211
|
-
};
|
|
212
|
-
export type ConicGradientFillLayer = {
|
|
213
|
-
id: string;
|
|
214
|
-
type: 'conic-gradient';
|
|
215
|
-
colors: ColorPoint[];
|
|
216
|
-
center: [number, number];
|
|
217
|
-
angle: number;
|
|
218
|
-
};
|
|
219
|
-
export type ImageLayer = {
|
|
220
|
-
id: string;
|
|
221
|
-
type: 'image';
|
|
222
|
-
src: string;
|
|
223
|
-
behavior: string;
|
|
224
|
-
backgroundSize: number;
|
|
225
|
-
opacity: number;
|
|
226
|
-
rotation?: number;
|
|
227
|
-
};
|
|
228
|
-
export interface ScrollPlaybackParams {
|
|
229
|
-
from: number;
|
|
230
|
-
to: number;
|
|
231
|
-
}
|
|
232
|
-
export interface ScrollPlaybackFrameData {
|
|
233
|
-
status: 'processing' | 'ready' | 'error';
|
|
234
|
-
batchId?: string;
|
|
235
|
-
frameCount?: number;
|
|
236
|
-
frameRate?: number;
|
|
237
|
-
framesUrl?: string;
|
|
238
|
-
frameFormat?: string;
|
|
239
|
-
}
|
|
240
|
-
export interface StickyParams {
|
|
241
|
-
from: number;
|
|
242
|
-
to?: number;
|
|
243
|
-
}
|
|
244
|
-
export interface Link {
|
|
245
|
-
url: string;
|
|
246
|
-
target: string;
|
|
247
|
-
}
|
|
248
|
-
type LayoutIdentifier = string;
|
|
249
|
-
export interface ComponentLayoutParams {
|
|
250
|
-
parameters?: any;
|
|
251
|
-
opacity: number;
|
|
252
|
-
blur: number;
|
|
253
|
-
}
|
|
254
47
|
export type VideoItem = Item<ArticleItemType.Video>;
|
|
255
48
|
export type RectangleItem = Item<ArticleItemType.Rectangle>;
|
|
256
49
|
export type ImageItem = Item<ArticleItemType.Image>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArticleItemType } from './ArticleItemType';
|
|
2
|
-
import { FillLayer } from './
|
|
2
|
+
import { FillLayer } from './Params.type';
|
|
3
3
|
import { StructuredBlockType } from './StructuredBlockType';
|
|
4
4
|
type StateId = string;
|
|
5
5
|
export type ItemState<T extends ArticleItemType | StructuredBlockType> = Record<StateId, ItemStatesMap[T]>;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { FXControlAny } from './FX';
|
|
2
|
+
import { AreaAnchor } from './ItemArea';
|
|
3
|
+
import { RichTextBlock, RichTextStyle, TextAlign, TextTransform, VerticalAlign } from './RichText';
|
|
4
|
+
interface CommonParamsBase {
|
|
5
|
+
pointerEvents?: 'never' | 'when_visible' | 'always';
|
|
6
|
+
}
|
|
7
|
+
export interface MediaCommonParams extends CommonParamsBase {
|
|
8
|
+
url: string;
|
|
9
|
+
hasGLEffect?: boolean;
|
|
10
|
+
fragmentShader: string | null;
|
|
11
|
+
FXControls?: FXControlAny[];
|
|
12
|
+
FXTextures?: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface VideoCommonParams extends MediaCommonParams {
|
|
15
|
+
coverUrl: string | null;
|
|
16
|
+
scrollPlaybackFrameData?: ScrollPlaybackFrameData | null;
|
|
17
|
+
}
|
|
18
|
+
export interface ImageCommonParams extends MediaCommonParams {
|
|
19
|
+
}
|
|
20
|
+
export interface RichTextCommonParams extends CommonParamsBase {
|
|
21
|
+
text: string;
|
|
22
|
+
blocks?: RichTextBlock[];
|
|
23
|
+
}
|
|
24
|
+
export interface RectangleCommonParams extends CommonParamsBase {
|
|
25
|
+
ratioLock: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface CustomCommonParams extends CommonParamsBase {
|
|
28
|
+
name: string;
|
|
29
|
+
}
|
|
30
|
+
export interface GroupCommonParams extends CommonParamsBase {
|
|
31
|
+
}
|
|
32
|
+
export interface CompoundCommonParams extends CommonParamsBase {
|
|
33
|
+
overflow: 'hidden' | 'visible';
|
|
34
|
+
}
|
|
35
|
+
export interface CodeEmbedCommonParams extends CommonParamsBase {
|
|
36
|
+
html: string;
|
|
37
|
+
scale: boolean;
|
|
38
|
+
iframe: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface VimeoEmbedCommonParams extends CommonParamsBase {
|
|
41
|
+
url: string;
|
|
42
|
+
coverUrl: string | null;
|
|
43
|
+
}
|
|
44
|
+
export interface YoutubeEmbedCommonParams extends CommonParamsBase {
|
|
45
|
+
url: string;
|
|
46
|
+
coverUrl: string | null;
|
|
47
|
+
}
|
|
48
|
+
export interface ComponentCommonParams extends CommonParamsBase {
|
|
49
|
+
componentId: string;
|
|
50
|
+
content?: any;
|
|
51
|
+
parameters?: Record<string, any>;
|
|
52
|
+
}
|
|
53
|
+
export interface MediaLayoutParams {
|
|
54
|
+
opacity: number;
|
|
55
|
+
radius: number;
|
|
56
|
+
strokeWidth: number;
|
|
57
|
+
strokeFill: FillLayer[];
|
|
58
|
+
blur: number;
|
|
59
|
+
isDraggable?: boolean;
|
|
60
|
+
blendMode?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface CustomLayoutParams {
|
|
63
|
+
isDraggable?: boolean;
|
|
64
|
+
blendMode?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface GroupLayoutParams {
|
|
67
|
+
opacity: number;
|
|
68
|
+
blur: number;
|
|
69
|
+
isDraggable?: boolean;
|
|
70
|
+
blendMode?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface CompoundLayoutParams {
|
|
73
|
+
opacity: number;
|
|
74
|
+
isDraggable?: boolean;
|
|
75
|
+
blendMode?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface CodeEmbedLayoutParams {
|
|
78
|
+
areaAnchor: AreaAnchor;
|
|
79
|
+
opacity: number;
|
|
80
|
+
blur: number;
|
|
81
|
+
isDraggable?: boolean;
|
|
82
|
+
blendMode?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface VimeoEmbedLayoutParams {
|
|
85
|
+
play: 'on-hover' | 'on-click' | 'auto';
|
|
86
|
+
controls: boolean;
|
|
87
|
+
loop: boolean;
|
|
88
|
+
muted: boolean;
|
|
89
|
+
pictureInPicture: boolean;
|
|
90
|
+
radius: number;
|
|
91
|
+
blur: number;
|
|
92
|
+
opacity: number;
|
|
93
|
+
blendMode?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface YoutubeEmbedLayoutParams {
|
|
96
|
+
play: 'on-hover' | 'on-click' | 'auto';
|
|
97
|
+
controls: boolean;
|
|
98
|
+
loop: boolean;
|
|
99
|
+
radius: number;
|
|
100
|
+
blur: number;
|
|
101
|
+
opacity: number;
|
|
102
|
+
blendMode?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface ImageLayoutParams extends MediaLayoutParams {
|
|
105
|
+
}
|
|
106
|
+
export interface VideoLayoutParams extends MediaLayoutParams {
|
|
107
|
+
play: 'on-hover' | 'on-click' | 'auto';
|
|
108
|
+
muted: boolean;
|
|
109
|
+
controls: boolean;
|
|
110
|
+
scrollPlayback: ScrollPlaybackParams | null;
|
|
111
|
+
}
|
|
112
|
+
export interface RichTextLayoutParams {
|
|
113
|
+
rangeStyles?: RichTextStyle[];
|
|
114
|
+
textAlign: TextAlign;
|
|
115
|
+
sizing: string;
|
|
116
|
+
blur: number;
|
|
117
|
+
fontSize: number;
|
|
118
|
+
lineHeight: number;
|
|
119
|
+
letterSpacing: number;
|
|
120
|
+
wordSpacing: number;
|
|
121
|
+
textTransform: TextTransform;
|
|
122
|
+
verticalAlign: VerticalAlign;
|
|
123
|
+
color: string;
|
|
124
|
+
typeFace: string;
|
|
125
|
+
fontStyle: string;
|
|
126
|
+
fontWeight: number;
|
|
127
|
+
fontVariant: string;
|
|
128
|
+
isDraggable?: boolean;
|
|
129
|
+
blendMode?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface RectangleLayoutParams {
|
|
132
|
+
radius: number;
|
|
133
|
+
strokeWidth: number;
|
|
134
|
+
fill: FillLayer[];
|
|
135
|
+
strokeFill: FillLayer[];
|
|
136
|
+
blur: number;
|
|
137
|
+
backdropBlur: number;
|
|
138
|
+
blurMode: 'default' | 'backdrop';
|
|
139
|
+
isDraggable?: boolean;
|
|
140
|
+
blendMode?: string;
|
|
141
|
+
}
|
|
142
|
+
export type FillLayer = SolidFillLayer | LinearGradientFillLayer | RadialGradientFillLayer | ConicGradientFillLayer | ImageLayer;
|
|
143
|
+
type ColorPoint = {
|
|
144
|
+
id: string;
|
|
145
|
+
value: string;
|
|
146
|
+
position: number;
|
|
147
|
+
};
|
|
148
|
+
export type SolidFillLayer = {
|
|
149
|
+
id: string;
|
|
150
|
+
type: 'solid';
|
|
151
|
+
value: string;
|
|
152
|
+
};
|
|
153
|
+
export type LinearGradientFillLayer = {
|
|
154
|
+
id: string;
|
|
155
|
+
type: 'linear-gradient';
|
|
156
|
+
colors: ColorPoint[];
|
|
157
|
+
start: [number, number];
|
|
158
|
+
end: [number, number];
|
|
159
|
+
angle: number;
|
|
160
|
+
};
|
|
161
|
+
export type RadialGradientFillLayer = {
|
|
162
|
+
id: string;
|
|
163
|
+
type: 'radial-gradient';
|
|
164
|
+
colors: ColorPoint[];
|
|
165
|
+
diameter: number;
|
|
166
|
+
center: [number, number];
|
|
167
|
+
angle: number;
|
|
168
|
+
};
|
|
169
|
+
export type ConicGradientFillLayer = {
|
|
170
|
+
id: string;
|
|
171
|
+
type: 'conic-gradient';
|
|
172
|
+
colors: ColorPoint[];
|
|
173
|
+
center: [number, number];
|
|
174
|
+
angle: number;
|
|
175
|
+
};
|
|
176
|
+
export type ImageLayer = {
|
|
177
|
+
id: string;
|
|
178
|
+
type: 'image';
|
|
179
|
+
src: string;
|
|
180
|
+
behavior: string;
|
|
181
|
+
backgroundSize: number;
|
|
182
|
+
opacity: number;
|
|
183
|
+
rotation?: number;
|
|
184
|
+
};
|
|
185
|
+
export interface ScrollPlaybackParams {
|
|
186
|
+
from: number;
|
|
187
|
+
to: number;
|
|
188
|
+
}
|
|
189
|
+
export interface ScrollPlaybackFrameData {
|
|
190
|
+
status: 'processing' | 'ready' | 'error';
|
|
191
|
+
batchId?: string;
|
|
192
|
+
frameCount?: number;
|
|
193
|
+
frameRate?: number;
|
|
194
|
+
framesUrl?: string;
|
|
195
|
+
frameFormat?: string;
|
|
196
|
+
}
|
|
197
|
+
export interface StickyParams {
|
|
198
|
+
from: number;
|
|
199
|
+
to?: number;
|
|
200
|
+
}
|
|
201
|
+
export interface Link {
|
|
202
|
+
url: string;
|
|
203
|
+
target: string;
|
|
204
|
+
}
|
|
205
|
+
export interface ComponentLayoutParams {
|
|
206
|
+
parameters?: any;
|
|
207
|
+
opacity: number;
|
|
208
|
+
sizing?: string;
|
|
209
|
+
blur: number;
|
|
210
|
+
}
|
|
211
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RichTextBlock, RichTextStyle } from './RichText';
|
|
2
2
|
import { ItemState } from './ItemState';
|
|
3
3
|
import { StructuredBlockType } from './StructuredBlockType';
|
|
4
|
-
import { ComponentLayoutParams, MediaCommonParams, MediaLayoutParams, VimeoEmbedCommonParams, VimeoEmbedLayoutParams, YoutubeEmbedCommonParams, YoutubeEmbedLayoutParams } from './
|
|
4
|
+
import { ComponentLayoutParams, MediaCommonParams, MediaLayoutParams, VimeoEmbedCommonParams, VimeoEmbedLayoutParams, YoutubeEmbedCommonParams, YoutubeEmbedLayoutParams } from './Params.type';
|
|
5
5
|
type LayoutIdentifier = string;
|
|
6
6
|
export interface StructuredBlockArea {
|
|
7
7
|
width?: number;
|