@wix/auto_sdk_comments_comments 1.0.52 → 1.0.54
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +2780 -81
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +271 -27
- package/build/cjs/index.typings.js +1702 -53
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +270 -26
- package/build/cjs/meta.js +1702 -53
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +2771 -81
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +271 -27
- package/build/es/index.typings.mjs +1693 -53
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +270 -26
- package/build/es/meta.mjs +1693 -53
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +2780 -81
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +271 -27
- package/build/internal/cjs/index.typings.js +1702 -53
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +270 -26
- package/build/internal/cjs/meta.js +1702 -53
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +2771 -81
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +271 -27
- package/build/internal/es/index.typings.mjs +1693 -53
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +270 -26
- package/build/internal/es/meta.mjs +1693 -53
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -201,6 +201,10 @@ interface Node extends NodeDataOneOf {
|
|
|
201
201
|
layoutCellData?: LayoutCellData;
|
|
202
202
|
/** Data for a shape node. */
|
|
203
203
|
shapeData?: ShapeData;
|
|
204
|
+
/** Data for a card node. */
|
|
205
|
+
cardData?: CardData;
|
|
206
|
+
/** Data for a table of contents node. */
|
|
207
|
+
tocData?: TocData;
|
|
204
208
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
205
209
|
type?: NodeTypeWithLiterals;
|
|
206
210
|
/** Node ID. */
|
|
@@ -270,6 +274,10 @@ interface NodeDataOneOf {
|
|
|
270
274
|
layoutCellData?: LayoutCellData;
|
|
271
275
|
/** Data for a shape node. */
|
|
272
276
|
shapeData?: ShapeData;
|
|
277
|
+
/** Data for a card node. */
|
|
278
|
+
cardData?: CardData;
|
|
279
|
+
/** Data for a table of contents node. */
|
|
280
|
+
tocData?: TocData;
|
|
273
281
|
}
|
|
274
282
|
declare enum NodeType {
|
|
275
283
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -306,10 +314,12 @@ declare enum NodeType {
|
|
|
306
314
|
CAPTION = "CAPTION",
|
|
307
315
|
LAYOUT = "LAYOUT",
|
|
308
316
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
309
|
-
SHAPE = "SHAPE"
|
|
317
|
+
SHAPE = "SHAPE",
|
|
318
|
+
CARD = "CARD",
|
|
319
|
+
TOC = "TOC"
|
|
310
320
|
}
|
|
311
321
|
/** @enumType */
|
|
312
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
|
|
322
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
313
323
|
interface NodeStyle {
|
|
314
324
|
/** The top padding value in pixels. */
|
|
315
325
|
paddingTop?: string | null;
|
|
@@ -330,6 +340,55 @@ interface ButtonData {
|
|
|
330
340
|
/** Button link details. */
|
|
331
341
|
link?: Link;
|
|
332
342
|
}
|
|
343
|
+
/** Background type */
|
|
344
|
+
declare enum BackgroundType {
|
|
345
|
+
/** Solid color background */
|
|
346
|
+
COLOR = "COLOR",
|
|
347
|
+
/** Gradient background */
|
|
348
|
+
GRADIENT = "GRADIENT"
|
|
349
|
+
}
|
|
350
|
+
/** @enumType */
|
|
351
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
|
|
352
|
+
interface Gradient {
|
|
353
|
+
/** Gradient type. */
|
|
354
|
+
type?: GradientTypeWithLiterals;
|
|
355
|
+
/**
|
|
356
|
+
* Color stops for the gradient.
|
|
357
|
+
* @maxSize 1000
|
|
358
|
+
*/
|
|
359
|
+
stops?: Stop[];
|
|
360
|
+
/** Angle in degrees for linear gradient (0-360). */
|
|
361
|
+
angle?: number | null;
|
|
362
|
+
/**
|
|
363
|
+
* Horizontal center position for radial gradient (0-100).
|
|
364
|
+
* @max 100
|
|
365
|
+
*/
|
|
366
|
+
centerX?: number | null;
|
|
367
|
+
/**
|
|
368
|
+
* Vertical center position for radial gradient (0-100).
|
|
369
|
+
* @max 100
|
|
370
|
+
*/
|
|
371
|
+
centerY?: number | null;
|
|
372
|
+
}
|
|
373
|
+
/** Gradient type. */
|
|
374
|
+
declare enum GradientType {
|
|
375
|
+
/** Linear gradient. */
|
|
376
|
+
LINEAR = "LINEAR",
|
|
377
|
+
/** Radial gradient. */
|
|
378
|
+
RADIAL = "RADIAL"
|
|
379
|
+
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
382
|
+
/** A single color stop in the gradient. */
|
|
383
|
+
interface Stop {
|
|
384
|
+
/**
|
|
385
|
+
* Stop color as hex value.
|
|
386
|
+
* @format COLOR_HEX
|
|
387
|
+
*/
|
|
388
|
+
color?: string | null;
|
|
389
|
+
/** Stop position (0-1). */
|
|
390
|
+
position?: number | null;
|
|
391
|
+
}
|
|
333
392
|
interface Border {
|
|
334
393
|
/**
|
|
335
394
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
@@ -359,6 +418,18 @@ interface Colors {
|
|
|
359
418
|
*/
|
|
360
419
|
background?: string | null;
|
|
361
420
|
}
|
|
421
|
+
/** Background styling (color or gradient) */
|
|
422
|
+
interface Background {
|
|
423
|
+
/** Background type. */
|
|
424
|
+
type?: BackgroundTypeWithLiterals;
|
|
425
|
+
/**
|
|
426
|
+
* Background color as a hexadecimal value.
|
|
427
|
+
* @format COLOR_HEX
|
|
428
|
+
*/
|
|
429
|
+
color?: string | null;
|
|
430
|
+
/** Gradient configuration. */
|
|
431
|
+
gradient?: Gradient;
|
|
432
|
+
}
|
|
362
433
|
interface PluginContainerData {
|
|
363
434
|
/** The width of the node when it's displayed. */
|
|
364
435
|
width?: PluginContainerDataWidth;
|
|
@@ -479,17 +550,23 @@ interface Styles {
|
|
|
479
550
|
*/
|
|
480
551
|
textColorHover?: string | null;
|
|
481
552
|
/**
|
|
482
|
-
*
|
|
553
|
+
* Deprecated: Use `background` instead.
|
|
483
554
|
* @format COLOR_HEX
|
|
555
|
+
* @deprecated
|
|
484
556
|
*/
|
|
485
557
|
backgroundColor?: string | null;
|
|
486
558
|
/**
|
|
487
|
-
*
|
|
559
|
+
* Deprecated: Use `backgroundHover` instead.
|
|
488
560
|
* @format COLOR_HEX
|
|
561
|
+
* @deprecated
|
|
489
562
|
*/
|
|
490
563
|
backgroundColorHover?: string | null;
|
|
491
564
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
492
565
|
buttonSize?: string | null;
|
|
566
|
+
/** Background styling (color or gradient). */
|
|
567
|
+
background?: Background;
|
|
568
|
+
/** Background styling for hover state (color or gradient). */
|
|
569
|
+
backgroundHover?: Background;
|
|
493
570
|
}
|
|
494
571
|
interface Link extends LinkDataOneOf {
|
|
495
572
|
/** The absolute URL for the linked document. */
|
|
@@ -871,6 +948,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
871
948
|
* @deprecated
|
|
872
949
|
*/
|
|
873
950
|
isAdsense?: boolean | null;
|
|
951
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
952
|
+
widgetId?: string;
|
|
874
953
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
875
954
|
containerData?: PluginContainerData;
|
|
876
955
|
/** The type of HTML code. */
|
|
@@ -889,14 +968,17 @@ interface HTMLDataDataOneOf {
|
|
|
889
968
|
* @deprecated
|
|
890
969
|
*/
|
|
891
970
|
isAdsense?: boolean | null;
|
|
971
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
972
|
+
widgetId?: string;
|
|
892
973
|
}
|
|
893
974
|
declare enum Source {
|
|
894
975
|
HTML = "HTML",
|
|
895
976
|
ADSENSE = "ADSENSE",
|
|
896
|
-
AI = "AI"
|
|
977
|
+
AI = "AI",
|
|
978
|
+
AI_WIDGET = "AI_WIDGET"
|
|
897
979
|
}
|
|
898
980
|
/** @enumType */
|
|
899
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
981
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
900
982
|
interface ImageData {
|
|
901
983
|
/** Styling for the image's container. */
|
|
902
984
|
containerData?: PluginContainerData;
|
|
@@ -1126,7 +1208,7 @@ interface OptionLayout {
|
|
|
1126
1208
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1127
1209
|
enableImage?: boolean | null;
|
|
1128
1210
|
}
|
|
1129
|
-
declare enum
|
|
1211
|
+
declare enum PollDesignBackgroundType {
|
|
1130
1212
|
/** Color background type */
|
|
1131
1213
|
COLOR = "COLOR",
|
|
1132
1214
|
/** Image background type */
|
|
@@ -1135,8 +1217,8 @@ declare enum BackgroundType {
|
|
|
1135
1217
|
GRADIENT = "GRADIENT"
|
|
1136
1218
|
}
|
|
1137
1219
|
/** @enumType */
|
|
1138
|
-
type
|
|
1139
|
-
interface
|
|
1220
|
+
type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
1221
|
+
interface BackgroundGradient {
|
|
1140
1222
|
/** The gradient angle in degrees. */
|
|
1141
1223
|
angle?: number | null;
|
|
1142
1224
|
/**
|
|
@@ -1150,7 +1232,7 @@ interface Gradient {
|
|
|
1150
1232
|
*/
|
|
1151
1233
|
lastColor?: string | null;
|
|
1152
1234
|
}
|
|
1153
|
-
interface
|
|
1235
|
+
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1154
1236
|
/**
|
|
1155
1237
|
* The background color as a hexademical value.
|
|
1156
1238
|
* @format COLOR_HEX
|
|
@@ -1159,12 +1241,12 @@ interface Background extends BackgroundBackgroundOneOf {
|
|
|
1159
1241
|
/** An image to use for the background. */
|
|
1160
1242
|
image?: Media;
|
|
1161
1243
|
/** Details for a gradient background. */
|
|
1162
|
-
gradient?:
|
|
1244
|
+
gradient?: BackgroundGradient;
|
|
1163
1245
|
/** Background type. For each option, include the relevant details. */
|
|
1164
|
-
type?:
|
|
1246
|
+
type?: PollDesignBackgroundTypeWithLiterals;
|
|
1165
1247
|
}
|
|
1166
1248
|
/** @oneof */
|
|
1167
|
-
interface
|
|
1249
|
+
interface PollDesignBackgroundBackgroundOneOf {
|
|
1168
1250
|
/**
|
|
1169
1251
|
* The background color as a hexademical value.
|
|
1170
1252
|
* @format COLOR_HEX
|
|
@@ -1173,11 +1255,11 @@ interface BackgroundBackgroundOneOf {
|
|
|
1173
1255
|
/** An image to use for the background. */
|
|
1174
1256
|
image?: Media;
|
|
1175
1257
|
/** Details for a gradient background. */
|
|
1176
|
-
gradient?:
|
|
1258
|
+
gradient?: BackgroundGradient;
|
|
1177
1259
|
}
|
|
1178
1260
|
interface PollDesign {
|
|
1179
1261
|
/** Background styling. */
|
|
1180
|
-
background?:
|
|
1262
|
+
background?: PollDesignBackground;
|
|
1181
1263
|
/** Border radius in pixels. */
|
|
1182
1264
|
borderRadius?: number | null;
|
|
1183
1265
|
}
|
|
@@ -1860,12 +1942,13 @@ interface CaptionData {
|
|
|
1860
1942
|
}
|
|
1861
1943
|
interface LayoutData {
|
|
1862
1944
|
/**
|
|
1863
|
-
*
|
|
1945
|
+
* Deprecated: Use `background` instead.
|
|
1864
1946
|
* @format COLOR_HEX
|
|
1947
|
+
* @deprecated
|
|
1865
1948
|
*/
|
|
1866
1949
|
backgroundColor?: string | null;
|
|
1867
1950
|
/** Background image. */
|
|
1868
|
-
backgroundImage?:
|
|
1951
|
+
backgroundImage?: LayoutDataBackgroundImage;
|
|
1869
1952
|
/**
|
|
1870
1953
|
* Border color as a hexadecimal value.
|
|
1871
1954
|
* @format COLOR_HEX
|
|
@@ -1873,15 +1956,16 @@ interface LayoutData {
|
|
|
1873
1956
|
borderColor?: string | null;
|
|
1874
1957
|
/** Border width in pixels. */
|
|
1875
1958
|
borderWidth?: number | null;
|
|
1876
|
-
/** Border */
|
|
1959
|
+
/** Border radius in pixels. */
|
|
1877
1960
|
borderRadius?: number | null;
|
|
1878
1961
|
/**
|
|
1879
|
-
*
|
|
1962
|
+
* Deprecated: Use `backdrop` instead.
|
|
1880
1963
|
* @format COLOR_HEX
|
|
1964
|
+
* @deprecated
|
|
1881
1965
|
*/
|
|
1882
1966
|
backdropColor?: string | null;
|
|
1883
|
-
/** Backdrop image.
|
|
1884
|
-
backdropImage?:
|
|
1967
|
+
/** Backdrop image. */
|
|
1968
|
+
backdropImage?: LayoutDataBackgroundImage;
|
|
1885
1969
|
/** Backdrop top padding. */
|
|
1886
1970
|
backdropPaddingTop?: number | null;
|
|
1887
1971
|
/** Backdrop bottom padding */
|
|
@@ -1905,8 +1989,12 @@ interface LayoutData {
|
|
|
1905
1989
|
designTarget?: DesignTargetWithLiterals;
|
|
1906
1990
|
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1907
1991
|
banner?: Banner;
|
|
1992
|
+
/** Background styling (color or gradient). */
|
|
1993
|
+
background?: LayoutDataBackground;
|
|
1994
|
+
/** Backdrop styling (color or gradient). */
|
|
1995
|
+
backdrop?: Backdrop;
|
|
1908
1996
|
}
|
|
1909
|
-
declare enum
|
|
1997
|
+
declare enum ImageScalingScaling {
|
|
1910
1998
|
/** Auto image scaling */
|
|
1911
1999
|
AUTO = "AUTO",
|
|
1912
2000
|
/** Contain image scaling */
|
|
@@ -1915,7 +2003,7 @@ declare enum Scaling {
|
|
|
1915
2003
|
COVER = "COVER"
|
|
1916
2004
|
}
|
|
1917
2005
|
/** @enumType */
|
|
1918
|
-
type
|
|
2006
|
+
type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
1919
2007
|
declare enum ImagePosition {
|
|
1920
2008
|
/** Image positioned at the center */
|
|
1921
2009
|
CENTER = "CENTER",
|
|
@@ -1946,13 +2034,31 @@ declare enum Origin {
|
|
|
1946
2034
|
}
|
|
1947
2035
|
/** @enumType */
|
|
1948
2036
|
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1949
|
-
|
|
2037
|
+
/** Background type */
|
|
2038
|
+
declare enum LayoutDataBackgroundType {
|
|
2039
|
+
/** Solid color background */
|
|
2040
|
+
COLOR = "COLOR",
|
|
2041
|
+
/** Gradient background */
|
|
2042
|
+
GRADIENT = "GRADIENT"
|
|
2043
|
+
}
|
|
2044
|
+
/** @enumType */
|
|
2045
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2046
|
+
/** Backdrop type */
|
|
2047
|
+
declare enum BackdropType {
|
|
2048
|
+
/** Solid color backdrop */
|
|
2049
|
+
COLOR = "COLOR",
|
|
2050
|
+
/** Gradient backdrop */
|
|
2051
|
+
GRADIENT = "GRADIENT"
|
|
2052
|
+
}
|
|
2053
|
+
/** @enumType */
|
|
2054
|
+
type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
2055
|
+
interface LayoutDataBackgroundImage {
|
|
1950
2056
|
/** Background image. */
|
|
1951
2057
|
media?: Media;
|
|
1952
2058
|
/** Background image opacity. */
|
|
1953
2059
|
opacity?: number | null;
|
|
1954
2060
|
/** Background image scaling. */
|
|
1955
|
-
scaling?:
|
|
2061
|
+
scaling?: ImageScalingScalingWithLiterals;
|
|
1956
2062
|
/** Position of background. Defaults to `CENTER`. */
|
|
1957
2063
|
position?: ImagePositionWithLiterals;
|
|
1958
2064
|
}
|
|
@@ -1986,6 +2092,30 @@ interface Banner {
|
|
|
1986
2092
|
/** Origin of the banner */
|
|
1987
2093
|
origin?: OriginWithLiterals;
|
|
1988
2094
|
}
|
|
2095
|
+
/** Background styling (color or gradient) */
|
|
2096
|
+
interface LayoutDataBackground {
|
|
2097
|
+
/** Background type. */
|
|
2098
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2099
|
+
/**
|
|
2100
|
+
* Background color as a hexadecimal value.
|
|
2101
|
+
* @format COLOR_HEX
|
|
2102
|
+
*/
|
|
2103
|
+
color?: string | null;
|
|
2104
|
+
/** Gradient configuration. */
|
|
2105
|
+
gradient?: Gradient;
|
|
2106
|
+
}
|
|
2107
|
+
/** Backdrop styling (color or gradient) */
|
|
2108
|
+
interface Backdrop {
|
|
2109
|
+
/** Backdrop type. */
|
|
2110
|
+
type?: BackdropTypeWithLiterals;
|
|
2111
|
+
/**
|
|
2112
|
+
* Backdrop color as a hexadecimal value.
|
|
2113
|
+
* @format COLOR_HEX
|
|
2114
|
+
*/
|
|
2115
|
+
color?: string | null;
|
|
2116
|
+
/** Gradient configuration. */
|
|
2117
|
+
gradient?: Gradient;
|
|
2118
|
+
}
|
|
1989
2119
|
interface LayoutCellData {
|
|
1990
2120
|
/** Size of the cell in 12 columns grid. */
|
|
1991
2121
|
colSpan?: number | null;
|
|
@@ -2007,6 +2137,120 @@ interface ShapeDataStyles {
|
|
|
2007
2137
|
/** Map of original color keys to their new color values. */
|
|
2008
2138
|
colors?: Record<string, string>;
|
|
2009
2139
|
}
|
|
2140
|
+
interface CardData {
|
|
2141
|
+
/** Background styling (color or gradient). */
|
|
2142
|
+
background?: CardDataBackground;
|
|
2143
|
+
/** Background image. */
|
|
2144
|
+
backgroundImage?: BackgroundImage;
|
|
2145
|
+
}
|
|
2146
|
+
declare enum Scaling {
|
|
2147
|
+
/** Auto image scaling */
|
|
2148
|
+
AUTO = "AUTO",
|
|
2149
|
+
/** Contain image scaling */
|
|
2150
|
+
CONTAIN = "CONTAIN",
|
|
2151
|
+
/** Cover image scaling */
|
|
2152
|
+
COVER = "COVER"
|
|
2153
|
+
}
|
|
2154
|
+
/** @enumType */
|
|
2155
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
2156
|
+
declare enum ImagePositionPosition {
|
|
2157
|
+
/** Image positioned at the center */
|
|
2158
|
+
CENTER = "CENTER",
|
|
2159
|
+
/** Image positioned on the left */
|
|
2160
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
2161
|
+
/** Image positioned on the right */
|
|
2162
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
2163
|
+
/** Image positioned at the center top */
|
|
2164
|
+
TOP = "TOP",
|
|
2165
|
+
/** Image positioned at the top left */
|
|
2166
|
+
TOP_LEFT = "TOP_LEFT",
|
|
2167
|
+
/** Image positioned at the top right */
|
|
2168
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
2169
|
+
/** Image positioned at the center bottom */
|
|
2170
|
+
BOTTOM = "BOTTOM",
|
|
2171
|
+
/** Image positioned at the bottom left */
|
|
2172
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
2173
|
+
/** Image positioned at the bottom right */
|
|
2174
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
2175
|
+
}
|
|
2176
|
+
/** @enumType */
|
|
2177
|
+
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2178
|
+
/** Background type */
|
|
2179
|
+
declare enum CardDataBackgroundType {
|
|
2180
|
+
/** Solid color background */
|
|
2181
|
+
COLOR = "COLOR",
|
|
2182
|
+
/** Gradient background */
|
|
2183
|
+
GRADIENT = "GRADIENT"
|
|
2184
|
+
}
|
|
2185
|
+
/** @enumType */
|
|
2186
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2187
|
+
/** Background styling (color or gradient) */
|
|
2188
|
+
interface CardDataBackground {
|
|
2189
|
+
/** Background type. */
|
|
2190
|
+
type?: CardDataBackgroundTypeWithLiterals;
|
|
2191
|
+
/**
|
|
2192
|
+
* Background color as a hexadecimal value.
|
|
2193
|
+
* @format COLOR_HEX
|
|
2194
|
+
*/
|
|
2195
|
+
color?: string | null;
|
|
2196
|
+
/** Gradient configuration. */
|
|
2197
|
+
gradient?: Gradient;
|
|
2198
|
+
}
|
|
2199
|
+
interface BackgroundImage {
|
|
2200
|
+
/** Background image. */
|
|
2201
|
+
media?: Media;
|
|
2202
|
+
/** Background image opacity. */
|
|
2203
|
+
opacity?: number | null;
|
|
2204
|
+
/** Background image scaling. */
|
|
2205
|
+
scaling?: ScalingWithLiterals;
|
|
2206
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
2207
|
+
position?: ImagePositionPositionWithLiterals;
|
|
2208
|
+
}
|
|
2209
|
+
interface TocData {
|
|
2210
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2211
|
+
includedHeadings?: number[];
|
|
2212
|
+
/** List style. Default: PLAIN. */
|
|
2213
|
+
listStyle?: ListStyleWithLiterals;
|
|
2214
|
+
/** Optional override for the font size in pixels. */
|
|
2215
|
+
fontSize?: number | null;
|
|
2216
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2217
|
+
itemSpacing?: number | null;
|
|
2218
|
+
/**
|
|
2219
|
+
* Optional override for the text color.
|
|
2220
|
+
* @format COLOR_HEX
|
|
2221
|
+
*/
|
|
2222
|
+
color?: string | null;
|
|
2223
|
+
/** Indentation style. Default: NESTED. */
|
|
2224
|
+
indentation?: IndentationWithLiterals;
|
|
2225
|
+
}
|
|
2226
|
+
/** List style. */
|
|
2227
|
+
declare enum ListStyle {
|
|
2228
|
+
/** No markers (default) */
|
|
2229
|
+
PLAIN = "PLAIN",
|
|
2230
|
+
/** Numbered list */
|
|
2231
|
+
NUMBERED = "NUMBERED",
|
|
2232
|
+
/** Alphabetic letters */
|
|
2233
|
+
LETTERS = "LETTERS",
|
|
2234
|
+
/** Roman numerals */
|
|
2235
|
+
ROMAN = "ROMAN",
|
|
2236
|
+
/** Bulleted list */
|
|
2237
|
+
BULLETED = "BULLETED",
|
|
2238
|
+
/** Alphabetical index */
|
|
2239
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2240
|
+
/** Alphabetical index (compact top-row only) */
|
|
2241
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2242
|
+
}
|
|
2243
|
+
/** @enumType */
|
|
2244
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2245
|
+
/** Indentation style. */
|
|
2246
|
+
declare enum Indentation {
|
|
2247
|
+
/** Sub-headings indented under parents (default) */
|
|
2248
|
+
NESTED = "NESTED",
|
|
2249
|
+
/** All items at the same level */
|
|
2250
|
+
FLAT = "FLAT"
|
|
2251
|
+
}
|
|
2252
|
+
/** @enumType */
|
|
2253
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2010
2254
|
interface Metadata {
|
|
2011
2255
|
/** Schema version. */
|
|
2012
2256
|
version?: number;
|
|
@@ -3915,7 +4159,7 @@ type CommentQuery = {
|
|
|
3915
4159
|
declare const utils: {
|
|
3916
4160
|
query: {
|
|
3917
4161
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Comment, CommentQuerySpec, CommentQuery>;
|
|
3918
|
-
Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>;
|
|
4162
|
+
Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>;
|
|
3919
4163
|
Sort: _wix_sdk_types.SortFactory<CommentQuerySpec>;
|
|
3920
4164
|
};
|
|
3921
4165
|
};
|
|
@@ -4142,4 +4386,4 @@ interface BulkMoveCommentByFilterOptions {
|
|
|
4142
4386
|
destination?: Destination;
|
|
4143
4387
|
}
|
|
4144
4388
|
|
|
4145
|
-
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Background, type
|
|
4389
|
+
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeleteCommentOptions, type BulkDeleteCommentRequest, type BulkDeleteCommentResponse, type BulkHideCommentOptions, type BulkHideCommentRequest, type BulkHideCommentResponse, type BulkModerateDraftContentOptions, type BulkModerateDraftContentRequest, type BulkModerateDraftContentResponse, type BulkMoveCommentByFilterOptions, type BulkMoveCommentByFilterRequest, type BulkMoveCommentByFilterResponse, type BulkPublishCommentOptions, type BulkPublishCommentRequest, type BulkPublishCommentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type Comment, type CommentAuthor, type CommentAuthorIdentityOneOf, type CommentContent, type CommentContentChanged, type CommentContentChangedEnvelope, type CommentCreatedEnvelope, type CommentDeleted, type CommentDeletedEnvelope, type CommentHidden, type CommentHiddenEnvelope, type CommentMarked, type CommentMarkedEnvelope, type CommentModerated, type CommentMoved, type CommentMovedEnvelope, type CommentPublished, type CommentPublishedEnvelope, type CommentQuery, type CommentQuerySpec, type CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, type CommonQueryWithEntityContext, type ContactDetails, type ContentAuthor, type ContentAuthorAuthorOneOf, type CountCommentsApplicationErrors, type CountCommentsOptions, type CountCommentsRequest, type CountCommentsResponse, type CreateCommentApplicationErrors, type CreateCommentRequest, type CreateCommentResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetCommentRequest, type GetCommentResponse, type GetCommentThreadOptions, type GetCommentThreadRequest, type GetCommentThreadResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type HideCommentRequest, type HideCommentResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InternalDocument, type InternalDocumentUpdateByFilterOperation, type InternalDocumentUpdateOperation, type InternalUpdateExistingOperation, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListCommentsByResourceCursorPaging, type ListCommentsByResourceOptions, type ListCommentsByResourceRequest, type ListCommentsByResourceResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkCommentRequest, type MarkCommentResponse, type Media, type Mention, type MentionData, type MentionIdentityOneOf, type MessageEnvelope, type Metadata, type ModerateDraftContentOptions, type ModerateDraftContentRequest, type ModerateDraftContentResponse, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Page, type Pages, type ParagraphData, type ParentComment, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type PublishCommentRequest, type PublishCommentResponse, type QueryCommentsOptions, type QueryCommentsRequest, type QueryCommentsResponse, type Rel, type RepliesListResponse, type ReplySort, ReplySortOrder, type ReplySortOrderWithLiterals, Resizing, type ResizingWithLiterals, type ResourceCommentCountChanged, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type URI, type URIs, type UnmarkCommentRequest, type UnmarkCommentResponse, type UpdateComment, type UpdateCommentApplicationErrors, type UpdateCommentRequest, type UpdateCommentResponse, type UpdateInternalDocumentsEvent, type UpdateInternalDocumentsEventOperationOneOf, type VersionedDeleteByIdsOperation, type VersionedDocumentId, type VersionedDocumentUpdateOperation, VersioningMode, type VersioningModeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, type VoteSummary, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkDeleteComment, bulkHideComment, bulkModerateDraftContent, bulkMoveCommentByFilter, bulkPublishComment, countComments, createComment, deleteComment, getComment, getCommentThread, hideComment, listCommentsByResource, markComment, moderateDraftContent, onCommentContentChanged, onCommentCreated, onCommentDeleted, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, typedQueryComments, unmarkComment, updateComment, utils };
|