@wix/auto_sdk_faq_question-entry 1.0.40 → 1.0.42
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 +802 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +275 -29
- package/build/cjs/index.typings.js +652 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +270 -26
- package/build/cjs/meta.js +649 -12
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +793 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +275 -29
- package/build/es/index.typings.mjs +643 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +270 -26
- package/build/es/meta.mjs +640 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +802 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +275 -29
- package/build/internal/cjs/index.typings.js +652 -13
- 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 +649 -12
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +793 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +275 -29
- package/build/internal/es/index.typings.mjs +643 -13
- 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 +640 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -164,6 +164,10 @@ interface Node extends NodeDataOneOf {
|
|
|
164
164
|
layoutCellData?: LayoutCellData;
|
|
165
165
|
/** Data for a shape node. */
|
|
166
166
|
shapeData?: ShapeData;
|
|
167
|
+
/** Data for a card node. */
|
|
168
|
+
cardData?: CardData;
|
|
169
|
+
/** Data for a table of contents node. */
|
|
170
|
+
tocData?: TocData;
|
|
167
171
|
/** 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. */
|
|
168
172
|
type?: NodeTypeWithLiterals;
|
|
169
173
|
/** Node ID. */
|
|
@@ -233,6 +237,10 @@ interface NodeDataOneOf {
|
|
|
233
237
|
layoutCellData?: LayoutCellData;
|
|
234
238
|
/** Data for a shape node. */
|
|
235
239
|
shapeData?: ShapeData;
|
|
240
|
+
/** Data for a card node. */
|
|
241
|
+
cardData?: CardData;
|
|
242
|
+
/** Data for a table of contents node. */
|
|
243
|
+
tocData?: TocData;
|
|
236
244
|
}
|
|
237
245
|
declare enum NodeType {
|
|
238
246
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -269,10 +277,12 @@ declare enum NodeType {
|
|
|
269
277
|
CAPTION = "CAPTION",
|
|
270
278
|
LAYOUT = "LAYOUT",
|
|
271
279
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
272
|
-
SHAPE = "SHAPE"
|
|
280
|
+
SHAPE = "SHAPE",
|
|
281
|
+
CARD = "CARD",
|
|
282
|
+
TOC = "TOC"
|
|
273
283
|
}
|
|
274
284
|
/** @enumType */
|
|
275
|
-
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';
|
|
285
|
+
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';
|
|
276
286
|
interface NodeStyle {
|
|
277
287
|
/** The top padding value in pixels. */
|
|
278
288
|
paddingTop?: string | null;
|
|
@@ -293,6 +303,55 @@ interface ButtonData {
|
|
|
293
303
|
/** Button link details. */
|
|
294
304
|
link?: Link;
|
|
295
305
|
}
|
|
306
|
+
/** Background type */
|
|
307
|
+
declare enum BackgroundType {
|
|
308
|
+
/** Solid color background */
|
|
309
|
+
COLOR = "COLOR",
|
|
310
|
+
/** Gradient background */
|
|
311
|
+
GRADIENT = "GRADIENT"
|
|
312
|
+
}
|
|
313
|
+
/** @enumType */
|
|
314
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
|
|
315
|
+
interface Gradient {
|
|
316
|
+
/** Gradient type. */
|
|
317
|
+
type?: GradientTypeWithLiterals;
|
|
318
|
+
/**
|
|
319
|
+
* Color stops for the gradient.
|
|
320
|
+
* @maxSize 1000
|
|
321
|
+
*/
|
|
322
|
+
stops?: Stop[];
|
|
323
|
+
/** Angle in degrees for linear gradient (0-360). */
|
|
324
|
+
angle?: number | null;
|
|
325
|
+
/**
|
|
326
|
+
* Horizontal center position for radial gradient (0-100).
|
|
327
|
+
* @max 100
|
|
328
|
+
*/
|
|
329
|
+
centerX?: number | null;
|
|
330
|
+
/**
|
|
331
|
+
* Vertical center position for radial gradient (0-100).
|
|
332
|
+
* @max 100
|
|
333
|
+
*/
|
|
334
|
+
centerY?: number | null;
|
|
335
|
+
}
|
|
336
|
+
/** Gradient type. */
|
|
337
|
+
declare enum GradientType {
|
|
338
|
+
/** Linear gradient. */
|
|
339
|
+
LINEAR = "LINEAR",
|
|
340
|
+
/** Radial gradient. */
|
|
341
|
+
RADIAL = "RADIAL"
|
|
342
|
+
}
|
|
343
|
+
/** @enumType */
|
|
344
|
+
type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
345
|
+
/** A single color stop in the gradient. */
|
|
346
|
+
interface Stop {
|
|
347
|
+
/**
|
|
348
|
+
* Stop color as hex value.
|
|
349
|
+
* @format COLOR_HEX
|
|
350
|
+
*/
|
|
351
|
+
color?: string | null;
|
|
352
|
+
/** Stop position (0-1). */
|
|
353
|
+
position?: number | null;
|
|
354
|
+
}
|
|
296
355
|
interface Border {
|
|
297
356
|
/**
|
|
298
357
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
@@ -322,6 +381,18 @@ interface Colors {
|
|
|
322
381
|
*/
|
|
323
382
|
background?: string | null;
|
|
324
383
|
}
|
|
384
|
+
/** Background styling (color or gradient) */
|
|
385
|
+
interface Background {
|
|
386
|
+
/** Background type. */
|
|
387
|
+
type?: BackgroundTypeWithLiterals;
|
|
388
|
+
/**
|
|
389
|
+
* Background color as a hexadecimal value.
|
|
390
|
+
* @format COLOR_HEX
|
|
391
|
+
*/
|
|
392
|
+
color?: string | null;
|
|
393
|
+
/** Gradient configuration. */
|
|
394
|
+
gradient?: Gradient;
|
|
395
|
+
}
|
|
325
396
|
interface PluginContainerData {
|
|
326
397
|
/** The width of the node when it's displayed. */
|
|
327
398
|
width?: PluginContainerDataWidth;
|
|
@@ -442,17 +513,23 @@ interface Styles {
|
|
|
442
513
|
*/
|
|
443
514
|
textColorHover?: string | null;
|
|
444
515
|
/**
|
|
445
|
-
*
|
|
516
|
+
* Deprecated: Use `background` instead.
|
|
446
517
|
* @format COLOR_HEX
|
|
518
|
+
* @deprecated
|
|
447
519
|
*/
|
|
448
520
|
backgroundColor?: string | null;
|
|
449
521
|
/**
|
|
450
|
-
*
|
|
522
|
+
* Deprecated: Use `backgroundHover` instead.
|
|
451
523
|
* @format COLOR_HEX
|
|
524
|
+
* @deprecated
|
|
452
525
|
*/
|
|
453
526
|
backgroundColorHover?: string | null;
|
|
454
527
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
455
528
|
buttonSize?: string | null;
|
|
529
|
+
/** Background styling (color or gradient). */
|
|
530
|
+
background?: Background;
|
|
531
|
+
/** Background styling for hover state (color or gradient). */
|
|
532
|
+
backgroundHover?: Background;
|
|
456
533
|
}
|
|
457
534
|
interface Link extends LinkDataOneOf {
|
|
458
535
|
/** The absolute URL for the linked document. */
|
|
@@ -834,6 +911,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
834
911
|
* @deprecated
|
|
835
912
|
*/
|
|
836
913
|
isAdsense?: boolean | null;
|
|
914
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
915
|
+
widgetId?: string;
|
|
837
916
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
838
917
|
containerData?: PluginContainerData;
|
|
839
918
|
/** The type of HTML code. */
|
|
@@ -852,14 +931,17 @@ interface HTMLDataDataOneOf {
|
|
|
852
931
|
* @deprecated
|
|
853
932
|
*/
|
|
854
933
|
isAdsense?: boolean | null;
|
|
934
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
935
|
+
widgetId?: string;
|
|
855
936
|
}
|
|
856
937
|
declare enum Source {
|
|
857
938
|
HTML = "HTML",
|
|
858
939
|
ADSENSE = "ADSENSE",
|
|
859
|
-
AI = "AI"
|
|
940
|
+
AI = "AI",
|
|
941
|
+
AI_WIDGET = "AI_WIDGET"
|
|
860
942
|
}
|
|
861
943
|
/** @enumType */
|
|
862
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
944
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
863
945
|
interface ImageData {
|
|
864
946
|
/** Styling for the image's container. */
|
|
865
947
|
containerData?: PluginContainerData;
|
|
@@ -1089,7 +1171,7 @@ interface OptionLayout {
|
|
|
1089
1171
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1090
1172
|
enableImage?: boolean | null;
|
|
1091
1173
|
}
|
|
1092
|
-
declare enum
|
|
1174
|
+
declare enum PollDesignBackgroundType {
|
|
1093
1175
|
/** Color background type */
|
|
1094
1176
|
COLOR = "COLOR",
|
|
1095
1177
|
/** Image background type */
|
|
@@ -1098,8 +1180,8 @@ declare enum BackgroundType {
|
|
|
1098
1180
|
GRADIENT = "GRADIENT"
|
|
1099
1181
|
}
|
|
1100
1182
|
/** @enumType */
|
|
1101
|
-
type
|
|
1102
|
-
interface
|
|
1183
|
+
type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
1184
|
+
interface BackgroundGradient {
|
|
1103
1185
|
/** The gradient angle in degrees. */
|
|
1104
1186
|
angle?: number | null;
|
|
1105
1187
|
/**
|
|
@@ -1113,7 +1195,7 @@ interface Gradient {
|
|
|
1113
1195
|
*/
|
|
1114
1196
|
lastColor?: string | null;
|
|
1115
1197
|
}
|
|
1116
|
-
interface
|
|
1198
|
+
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1117
1199
|
/**
|
|
1118
1200
|
* The background color as a hexademical value.
|
|
1119
1201
|
* @format COLOR_HEX
|
|
@@ -1122,12 +1204,12 @@ interface Background extends BackgroundBackgroundOneOf {
|
|
|
1122
1204
|
/** An image to use for the background. */
|
|
1123
1205
|
image?: Media;
|
|
1124
1206
|
/** Details for a gradient background. */
|
|
1125
|
-
gradient?:
|
|
1207
|
+
gradient?: BackgroundGradient;
|
|
1126
1208
|
/** Background type. For each option, include the relevant details. */
|
|
1127
|
-
type?:
|
|
1209
|
+
type?: PollDesignBackgroundTypeWithLiterals;
|
|
1128
1210
|
}
|
|
1129
1211
|
/** @oneof */
|
|
1130
|
-
interface
|
|
1212
|
+
interface PollDesignBackgroundBackgroundOneOf {
|
|
1131
1213
|
/**
|
|
1132
1214
|
* The background color as a hexademical value.
|
|
1133
1215
|
* @format COLOR_HEX
|
|
@@ -1136,11 +1218,11 @@ interface BackgroundBackgroundOneOf {
|
|
|
1136
1218
|
/** An image to use for the background. */
|
|
1137
1219
|
image?: Media;
|
|
1138
1220
|
/** Details for a gradient background. */
|
|
1139
|
-
gradient?:
|
|
1221
|
+
gradient?: BackgroundGradient;
|
|
1140
1222
|
}
|
|
1141
1223
|
interface PollDesign {
|
|
1142
1224
|
/** Background styling. */
|
|
1143
|
-
background?:
|
|
1225
|
+
background?: PollDesignBackground;
|
|
1144
1226
|
/** Border radius in pixels. */
|
|
1145
1227
|
borderRadius?: number | null;
|
|
1146
1228
|
}
|
|
@@ -1823,12 +1905,13 @@ interface CaptionData {
|
|
|
1823
1905
|
}
|
|
1824
1906
|
interface LayoutData {
|
|
1825
1907
|
/**
|
|
1826
|
-
*
|
|
1908
|
+
* Deprecated: Use `background` instead.
|
|
1827
1909
|
* @format COLOR_HEX
|
|
1910
|
+
* @deprecated
|
|
1828
1911
|
*/
|
|
1829
1912
|
backgroundColor?: string | null;
|
|
1830
1913
|
/** Background image. */
|
|
1831
|
-
backgroundImage?:
|
|
1914
|
+
backgroundImage?: LayoutDataBackgroundImage;
|
|
1832
1915
|
/**
|
|
1833
1916
|
* Border color as a hexadecimal value.
|
|
1834
1917
|
* @format COLOR_HEX
|
|
@@ -1836,15 +1919,16 @@ interface LayoutData {
|
|
|
1836
1919
|
borderColor?: string | null;
|
|
1837
1920
|
/** Border width in pixels. */
|
|
1838
1921
|
borderWidth?: number | null;
|
|
1839
|
-
/** Border */
|
|
1922
|
+
/** Border radius in pixels. */
|
|
1840
1923
|
borderRadius?: number | null;
|
|
1841
1924
|
/**
|
|
1842
|
-
*
|
|
1925
|
+
* Deprecated: Use `backdrop` instead.
|
|
1843
1926
|
* @format COLOR_HEX
|
|
1927
|
+
* @deprecated
|
|
1844
1928
|
*/
|
|
1845
1929
|
backdropColor?: string | null;
|
|
1846
|
-
/** Backdrop image.
|
|
1847
|
-
backdropImage?:
|
|
1930
|
+
/** Backdrop image. */
|
|
1931
|
+
backdropImage?: LayoutDataBackgroundImage;
|
|
1848
1932
|
/** Backdrop top padding. */
|
|
1849
1933
|
backdropPaddingTop?: number | null;
|
|
1850
1934
|
/** Backdrop bottom padding */
|
|
@@ -1868,8 +1952,12 @@ interface LayoutData {
|
|
|
1868
1952
|
designTarget?: DesignTargetWithLiterals;
|
|
1869
1953
|
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1870
1954
|
banner?: Banner;
|
|
1955
|
+
/** Background styling (color or gradient). */
|
|
1956
|
+
background?: LayoutDataBackground;
|
|
1957
|
+
/** Backdrop styling (color or gradient). */
|
|
1958
|
+
backdrop?: Backdrop;
|
|
1871
1959
|
}
|
|
1872
|
-
declare enum
|
|
1960
|
+
declare enum ImageScalingScaling {
|
|
1873
1961
|
/** Auto image scaling */
|
|
1874
1962
|
AUTO = "AUTO",
|
|
1875
1963
|
/** Contain image scaling */
|
|
@@ -1878,7 +1966,7 @@ declare enum Scaling {
|
|
|
1878
1966
|
COVER = "COVER"
|
|
1879
1967
|
}
|
|
1880
1968
|
/** @enumType */
|
|
1881
|
-
type
|
|
1969
|
+
type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
1882
1970
|
declare enum ImagePosition {
|
|
1883
1971
|
/** Image positioned at the center */
|
|
1884
1972
|
CENTER = "CENTER",
|
|
@@ -1909,13 +1997,31 @@ declare enum Origin {
|
|
|
1909
1997
|
}
|
|
1910
1998
|
/** @enumType */
|
|
1911
1999
|
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1912
|
-
|
|
2000
|
+
/** Background type */
|
|
2001
|
+
declare enum LayoutDataBackgroundType {
|
|
2002
|
+
/** Solid color background */
|
|
2003
|
+
COLOR = "COLOR",
|
|
2004
|
+
/** Gradient background */
|
|
2005
|
+
GRADIENT = "GRADIENT"
|
|
2006
|
+
}
|
|
2007
|
+
/** @enumType */
|
|
2008
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2009
|
+
/** Backdrop type */
|
|
2010
|
+
declare enum BackdropType {
|
|
2011
|
+
/** Solid color backdrop */
|
|
2012
|
+
COLOR = "COLOR",
|
|
2013
|
+
/** Gradient backdrop */
|
|
2014
|
+
GRADIENT = "GRADIENT"
|
|
2015
|
+
}
|
|
2016
|
+
/** @enumType */
|
|
2017
|
+
type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
2018
|
+
interface LayoutDataBackgroundImage {
|
|
1913
2019
|
/** Background image. */
|
|
1914
2020
|
media?: Media;
|
|
1915
2021
|
/** Background image opacity. */
|
|
1916
2022
|
opacity?: number | null;
|
|
1917
2023
|
/** Background image scaling. */
|
|
1918
|
-
scaling?:
|
|
2024
|
+
scaling?: ImageScalingScalingWithLiterals;
|
|
1919
2025
|
/** Position of background. Defaults to `CENTER`. */
|
|
1920
2026
|
position?: ImagePositionWithLiterals;
|
|
1921
2027
|
}
|
|
@@ -1949,6 +2055,30 @@ interface Banner {
|
|
|
1949
2055
|
/** Origin of the banner */
|
|
1950
2056
|
origin?: OriginWithLiterals;
|
|
1951
2057
|
}
|
|
2058
|
+
/** Background styling (color or gradient) */
|
|
2059
|
+
interface LayoutDataBackground {
|
|
2060
|
+
/** Background type. */
|
|
2061
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2062
|
+
/**
|
|
2063
|
+
* Background color as a hexadecimal value.
|
|
2064
|
+
* @format COLOR_HEX
|
|
2065
|
+
*/
|
|
2066
|
+
color?: string | null;
|
|
2067
|
+
/** Gradient configuration. */
|
|
2068
|
+
gradient?: Gradient;
|
|
2069
|
+
}
|
|
2070
|
+
/** Backdrop styling (color or gradient) */
|
|
2071
|
+
interface Backdrop {
|
|
2072
|
+
/** Backdrop type. */
|
|
2073
|
+
type?: BackdropTypeWithLiterals;
|
|
2074
|
+
/**
|
|
2075
|
+
* Backdrop color as a hexadecimal value.
|
|
2076
|
+
* @format COLOR_HEX
|
|
2077
|
+
*/
|
|
2078
|
+
color?: string | null;
|
|
2079
|
+
/** Gradient configuration. */
|
|
2080
|
+
gradient?: Gradient;
|
|
2081
|
+
}
|
|
1952
2082
|
interface LayoutCellData {
|
|
1953
2083
|
/** Size of the cell in 12 columns grid. */
|
|
1954
2084
|
colSpan?: number | null;
|
|
@@ -1970,6 +2100,120 @@ interface ShapeDataStyles {
|
|
|
1970
2100
|
/** Map of original color keys to their new color values. */
|
|
1971
2101
|
colors?: Record<string, string>;
|
|
1972
2102
|
}
|
|
2103
|
+
interface CardData {
|
|
2104
|
+
/** Background styling (color or gradient). */
|
|
2105
|
+
background?: CardDataBackground;
|
|
2106
|
+
/** Background image. */
|
|
2107
|
+
backgroundImage?: BackgroundImage;
|
|
2108
|
+
}
|
|
2109
|
+
declare enum Scaling {
|
|
2110
|
+
/** Auto image scaling */
|
|
2111
|
+
AUTO = "AUTO",
|
|
2112
|
+
/** Contain image scaling */
|
|
2113
|
+
CONTAIN = "CONTAIN",
|
|
2114
|
+
/** Cover image scaling */
|
|
2115
|
+
COVER = "COVER"
|
|
2116
|
+
}
|
|
2117
|
+
/** @enumType */
|
|
2118
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
2119
|
+
declare enum ImagePositionPosition {
|
|
2120
|
+
/** Image positioned at the center */
|
|
2121
|
+
CENTER = "CENTER",
|
|
2122
|
+
/** Image positioned on the left */
|
|
2123
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
2124
|
+
/** Image positioned on the right */
|
|
2125
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
2126
|
+
/** Image positioned at the center top */
|
|
2127
|
+
TOP = "TOP",
|
|
2128
|
+
/** Image positioned at the top left */
|
|
2129
|
+
TOP_LEFT = "TOP_LEFT",
|
|
2130
|
+
/** Image positioned at the top right */
|
|
2131
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
2132
|
+
/** Image positioned at the center bottom */
|
|
2133
|
+
BOTTOM = "BOTTOM",
|
|
2134
|
+
/** Image positioned at the bottom left */
|
|
2135
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
2136
|
+
/** Image positioned at the bottom right */
|
|
2137
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
2138
|
+
}
|
|
2139
|
+
/** @enumType */
|
|
2140
|
+
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2141
|
+
/** Background type */
|
|
2142
|
+
declare enum CardDataBackgroundType {
|
|
2143
|
+
/** Solid color background */
|
|
2144
|
+
COLOR = "COLOR",
|
|
2145
|
+
/** Gradient background */
|
|
2146
|
+
GRADIENT = "GRADIENT"
|
|
2147
|
+
}
|
|
2148
|
+
/** @enumType */
|
|
2149
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2150
|
+
/** Background styling (color or gradient) */
|
|
2151
|
+
interface CardDataBackground {
|
|
2152
|
+
/** Background type. */
|
|
2153
|
+
type?: CardDataBackgroundTypeWithLiterals;
|
|
2154
|
+
/**
|
|
2155
|
+
* Background color as a hexadecimal value.
|
|
2156
|
+
* @format COLOR_HEX
|
|
2157
|
+
*/
|
|
2158
|
+
color?: string | null;
|
|
2159
|
+
/** Gradient configuration. */
|
|
2160
|
+
gradient?: Gradient;
|
|
2161
|
+
}
|
|
2162
|
+
interface BackgroundImage {
|
|
2163
|
+
/** Background image. */
|
|
2164
|
+
media?: Media;
|
|
2165
|
+
/** Background image opacity. */
|
|
2166
|
+
opacity?: number | null;
|
|
2167
|
+
/** Background image scaling. */
|
|
2168
|
+
scaling?: ScalingWithLiterals;
|
|
2169
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
2170
|
+
position?: ImagePositionPositionWithLiterals;
|
|
2171
|
+
}
|
|
2172
|
+
interface TocData {
|
|
2173
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2174
|
+
includedHeadings?: number[];
|
|
2175
|
+
/** List style. Default: PLAIN. */
|
|
2176
|
+
listStyle?: ListStyleWithLiterals;
|
|
2177
|
+
/** Optional override for the font size in pixels. */
|
|
2178
|
+
fontSize?: number | null;
|
|
2179
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2180
|
+
itemSpacing?: number | null;
|
|
2181
|
+
/**
|
|
2182
|
+
* Optional override for the text color.
|
|
2183
|
+
* @format COLOR_HEX
|
|
2184
|
+
*/
|
|
2185
|
+
color?: string | null;
|
|
2186
|
+
/** Indentation style. Default: NESTED. */
|
|
2187
|
+
indentation?: IndentationWithLiterals;
|
|
2188
|
+
}
|
|
2189
|
+
/** List style. */
|
|
2190
|
+
declare enum ListStyle {
|
|
2191
|
+
/** No markers (default) */
|
|
2192
|
+
PLAIN = "PLAIN",
|
|
2193
|
+
/** Numbered list */
|
|
2194
|
+
NUMBERED = "NUMBERED",
|
|
2195
|
+
/** Alphabetic letters */
|
|
2196
|
+
LETTERS = "LETTERS",
|
|
2197
|
+
/** Roman numerals */
|
|
2198
|
+
ROMAN = "ROMAN",
|
|
2199
|
+
/** Bulleted list */
|
|
2200
|
+
BULLETED = "BULLETED",
|
|
2201
|
+
/** Alphabetical index */
|
|
2202
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2203
|
+
/** Alphabetical index (compact top-row only) */
|
|
2204
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2205
|
+
}
|
|
2206
|
+
/** @enumType */
|
|
2207
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2208
|
+
/** Indentation style. */
|
|
2209
|
+
declare enum Indentation {
|
|
2210
|
+
/** Sub-headings indented under parents (default) */
|
|
2211
|
+
NESTED = "NESTED",
|
|
2212
|
+
/** All items at the same level */
|
|
2213
|
+
FLAT = "FLAT"
|
|
2214
|
+
}
|
|
2215
|
+
/** @enumType */
|
|
2216
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
1973
2217
|
interface Metadata {
|
|
1974
2218
|
/** Schema version. */
|
|
1975
2219
|
version?: number;
|
|
@@ -2941,9 +3185,11 @@ type QuestionEntryQuery = {
|
|
|
2941
3185
|
}[];
|
|
2942
3186
|
};
|
|
2943
3187
|
declare const utils: {
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
3188
|
+
query: {
|
|
3189
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<QuestionEntry, QuestionEntryQuerySpec, QuestionEntryQuery>;
|
|
3190
|
+
Filter: _wix_sdk_types.FilterFactory<QuestionEntry, QuestionEntryQuerySpec>;
|
|
3191
|
+
Sort: _wix_sdk_types.SortFactory<QuestionEntryQuerySpec>;
|
|
3192
|
+
};
|
|
2947
3193
|
};
|
|
2948
3194
|
/**
|
|
2949
3195
|
* Deletes multiple question entries.
|
|
@@ -3025,4 +3271,4 @@ interface BulkUpdateQuestionEntryOptions {
|
|
|
3025
3271
|
returnFullEntity?: boolean | null;
|
|
3026
3272
|
}
|
|
3027
3273
|
|
|
3028
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type
|
|
3274
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, 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 BulkActionMetadata, type BulkDeleteQuestionEntriesRequest, type BulkDeleteQuestionEntriesResponse, type BulkUpdateQuestionEntryOptions, type BulkUpdateQuestionEntryRequest, type BulkUpdateQuestionEntryResponse, type BulkUpdateQuestionEntryResult, 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 CommonQueryWithEntityContext, ContentFormat, type ContentFormatWithLiterals, type CreateQuestionEntryRequest, type CreateQuestionEntryResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteQuestionEntryRequest, type DeleteQuestionEntryResponse, type Design, DesignTarget, type DesignTargetWithLiterals, 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 ExtendedFields, FieldSet, type FieldSetWithLiterals, 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 GetQuestionEntryRequest, type GetQuestionEntryResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, 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 Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Label, 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 ListQuestionEntriesOptions, type ListQuestionEntriesRequest, type ListQuestionEntriesResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedQuestionEntry, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type PagingMetadataV2, type ParagraphData, 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 QueryQuestionEntriesOptions, type QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, type QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, type QueryQuestionEntriesRequestFieldSetWithLiterals, type QueryQuestionEntriesResponse, type QuestionEntriesQueryBuilder, type QuestionEntriesQueryResult, type QuestionEntry, type QuestionEntryAnswerOneOf, type QuestionEntryCreatedEnvelope, type QuestionEntryDeletedEnvelope, type QuestionEntryQuery, type QuestionEntryQuerySpec, type QuestionEntryUpdatedEnvelope, QuestionStatus, type QuestionStatusWithLiterals, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SetQuestionEntryLabelsOptions, type SetQuestionEntryLabelsRequest, type SetQuestionEntryLabelsResponse, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, 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 UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateQuestionEntry, type UpdateQuestionEntryRequest, type UpdateQuestionEntryResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, typedQueryQuestionEntries, updateExtendedFields, updateQuestionEntry, utils };
|