@wix/auto_sdk_faq_question-entry 1.0.39 → 1.0.41
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 +745 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +218 -27
- package/build/cjs/index.typings.js +601 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +213 -24
- package/build/cjs/meta.js +598 -12
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +738 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +218 -27
- package/build/es/index.typings.mjs +594 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +213 -24
- package/build/es/meta.mjs +591 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +745 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +218 -27
- package/build/internal/cjs/index.typings.js +601 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +213 -24
- package/build/internal/cjs/meta.js +598 -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 +738 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +218 -27
- package/build/internal/es/index.typings.mjs +594 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +213 -24
- package/build/internal/es/meta.mjs +591 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -164,6 +164,8 @@ 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;
|
|
167
169
|
/** 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
170
|
type?: NodeTypeWithLiterals;
|
|
169
171
|
/** Node ID. */
|
|
@@ -233,6 +235,8 @@ interface NodeDataOneOf {
|
|
|
233
235
|
layoutCellData?: LayoutCellData;
|
|
234
236
|
/** Data for a shape node. */
|
|
235
237
|
shapeData?: ShapeData;
|
|
238
|
+
/** Data for a card node. */
|
|
239
|
+
cardData?: CardData;
|
|
236
240
|
}
|
|
237
241
|
declare enum NodeType {
|
|
238
242
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -269,10 +273,11 @@ declare enum NodeType {
|
|
|
269
273
|
CAPTION = "CAPTION",
|
|
270
274
|
LAYOUT = "LAYOUT",
|
|
271
275
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
272
|
-
SHAPE = "SHAPE"
|
|
276
|
+
SHAPE = "SHAPE",
|
|
277
|
+
CARD = "CARD"
|
|
273
278
|
}
|
|
274
279
|
/** @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';
|
|
280
|
+
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';
|
|
276
281
|
interface NodeStyle {
|
|
277
282
|
/** The top padding value in pixels. */
|
|
278
283
|
paddingTop?: string | null;
|
|
@@ -293,6 +298,55 @@ interface ButtonData {
|
|
|
293
298
|
/** Button link details. */
|
|
294
299
|
link?: Link;
|
|
295
300
|
}
|
|
301
|
+
/** Background type */
|
|
302
|
+
declare enum BackgroundType {
|
|
303
|
+
/** Solid color background */
|
|
304
|
+
COLOR = "COLOR",
|
|
305
|
+
/** Gradient background */
|
|
306
|
+
GRADIENT = "GRADIENT"
|
|
307
|
+
}
|
|
308
|
+
/** @enumType */
|
|
309
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
|
|
310
|
+
interface Gradient {
|
|
311
|
+
/** Gradient type. */
|
|
312
|
+
type?: GradientTypeWithLiterals;
|
|
313
|
+
/**
|
|
314
|
+
* Color stops for the gradient.
|
|
315
|
+
* @maxSize 1000
|
|
316
|
+
*/
|
|
317
|
+
stops?: Stop[];
|
|
318
|
+
/** Angle in degrees for linear gradient (0-360). */
|
|
319
|
+
angle?: number | null;
|
|
320
|
+
/**
|
|
321
|
+
* Horizontal center position for radial gradient (0-100).
|
|
322
|
+
* @max 100
|
|
323
|
+
*/
|
|
324
|
+
centerX?: number | null;
|
|
325
|
+
/**
|
|
326
|
+
* Vertical center position for radial gradient (0-100).
|
|
327
|
+
* @max 100
|
|
328
|
+
*/
|
|
329
|
+
centerY?: number | null;
|
|
330
|
+
}
|
|
331
|
+
/** Gradient type. */
|
|
332
|
+
declare enum GradientType {
|
|
333
|
+
/** Linear gradient. */
|
|
334
|
+
LINEAR = "LINEAR",
|
|
335
|
+
/** Radial gradient. */
|
|
336
|
+
RADIAL = "RADIAL"
|
|
337
|
+
}
|
|
338
|
+
/** @enumType */
|
|
339
|
+
type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
340
|
+
/** A single color stop in the gradient. */
|
|
341
|
+
interface Stop {
|
|
342
|
+
/**
|
|
343
|
+
* Stop color as hex value.
|
|
344
|
+
* @format COLOR_HEX
|
|
345
|
+
*/
|
|
346
|
+
color?: string | null;
|
|
347
|
+
/** Stop position (0-1). */
|
|
348
|
+
position?: number | null;
|
|
349
|
+
}
|
|
296
350
|
interface Border {
|
|
297
351
|
/**
|
|
298
352
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
@@ -322,6 +376,18 @@ interface Colors {
|
|
|
322
376
|
*/
|
|
323
377
|
background?: string | null;
|
|
324
378
|
}
|
|
379
|
+
/** Background styling (color or gradient) */
|
|
380
|
+
interface Background {
|
|
381
|
+
/** Background type. */
|
|
382
|
+
type?: BackgroundTypeWithLiterals;
|
|
383
|
+
/**
|
|
384
|
+
* Background color as a hexadecimal value.
|
|
385
|
+
* @format COLOR_HEX
|
|
386
|
+
*/
|
|
387
|
+
color?: string | null;
|
|
388
|
+
/** Gradient configuration. */
|
|
389
|
+
gradient?: Gradient;
|
|
390
|
+
}
|
|
325
391
|
interface PluginContainerData {
|
|
326
392
|
/** The width of the node when it's displayed. */
|
|
327
393
|
width?: PluginContainerDataWidth;
|
|
@@ -442,17 +508,23 @@ interface Styles {
|
|
|
442
508
|
*/
|
|
443
509
|
textColorHover?: string | null;
|
|
444
510
|
/**
|
|
445
|
-
*
|
|
511
|
+
* Deprecated: Use `background` instead.
|
|
446
512
|
* @format COLOR_HEX
|
|
513
|
+
* @deprecated
|
|
447
514
|
*/
|
|
448
515
|
backgroundColor?: string | null;
|
|
449
516
|
/**
|
|
450
|
-
*
|
|
517
|
+
* Deprecated: Use `backgroundHover` instead.
|
|
451
518
|
* @format COLOR_HEX
|
|
519
|
+
* @deprecated
|
|
452
520
|
*/
|
|
453
521
|
backgroundColorHover?: string | null;
|
|
454
522
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
455
523
|
buttonSize?: string | null;
|
|
524
|
+
/** Background styling (color or gradient). */
|
|
525
|
+
background?: Background;
|
|
526
|
+
/** Background styling for hover state (color or gradient). */
|
|
527
|
+
backgroundHover?: Background;
|
|
456
528
|
}
|
|
457
529
|
interface Link extends LinkDataOneOf {
|
|
458
530
|
/** The absolute URL for the linked document. */
|
|
@@ -1089,7 +1161,7 @@ interface OptionLayout {
|
|
|
1089
1161
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1090
1162
|
enableImage?: boolean | null;
|
|
1091
1163
|
}
|
|
1092
|
-
declare enum
|
|
1164
|
+
declare enum PollDesignBackgroundType {
|
|
1093
1165
|
/** Color background type */
|
|
1094
1166
|
COLOR = "COLOR",
|
|
1095
1167
|
/** Image background type */
|
|
@@ -1098,8 +1170,8 @@ declare enum BackgroundType {
|
|
|
1098
1170
|
GRADIENT = "GRADIENT"
|
|
1099
1171
|
}
|
|
1100
1172
|
/** @enumType */
|
|
1101
|
-
type
|
|
1102
|
-
interface
|
|
1173
|
+
type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
1174
|
+
interface BackgroundGradient {
|
|
1103
1175
|
/** The gradient angle in degrees. */
|
|
1104
1176
|
angle?: number | null;
|
|
1105
1177
|
/**
|
|
@@ -1113,7 +1185,7 @@ interface Gradient {
|
|
|
1113
1185
|
*/
|
|
1114
1186
|
lastColor?: string | null;
|
|
1115
1187
|
}
|
|
1116
|
-
interface
|
|
1188
|
+
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1117
1189
|
/**
|
|
1118
1190
|
* The background color as a hexademical value.
|
|
1119
1191
|
* @format COLOR_HEX
|
|
@@ -1122,12 +1194,12 @@ interface Background extends BackgroundBackgroundOneOf {
|
|
|
1122
1194
|
/** An image to use for the background. */
|
|
1123
1195
|
image?: Media;
|
|
1124
1196
|
/** Details for a gradient background. */
|
|
1125
|
-
gradient?:
|
|
1197
|
+
gradient?: BackgroundGradient;
|
|
1126
1198
|
/** Background type. For each option, include the relevant details. */
|
|
1127
|
-
type?:
|
|
1199
|
+
type?: PollDesignBackgroundTypeWithLiterals;
|
|
1128
1200
|
}
|
|
1129
1201
|
/** @oneof */
|
|
1130
|
-
interface
|
|
1202
|
+
interface PollDesignBackgroundBackgroundOneOf {
|
|
1131
1203
|
/**
|
|
1132
1204
|
* The background color as a hexademical value.
|
|
1133
1205
|
* @format COLOR_HEX
|
|
@@ -1136,11 +1208,11 @@ interface BackgroundBackgroundOneOf {
|
|
|
1136
1208
|
/** An image to use for the background. */
|
|
1137
1209
|
image?: Media;
|
|
1138
1210
|
/** Details for a gradient background. */
|
|
1139
|
-
gradient?:
|
|
1211
|
+
gradient?: BackgroundGradient;
|
|
1140
1212
|
}
|
|
1141
1213
|
interface PollDesign {
|
|
1142
1214
|
/** Background styling. */
|
|
1143
|
-
background?:
|
|
1215
|
+
background?: PollDesignBackground;
|
|
1144
1216
|
/** Border radius in pixels. */
|
|
1145
1217
|
borderRadius?: number | null;
|
|
1146
1218
|
}
|
|
@@ -1823,12 +1895,13 @@ interface CaptionData {
|
|
|
1823
1895
|
}
|
|
1824
1896
|
interface LayoutData {
|
|
1825
1897
|
/**
|
|
1826
|
-
*
|
|
1898
|
+
* Deprecated: Use `background` instead.
|
|
1827
1899
|
* @format COLOR_HEX
|
|
1900
|
+
* @deprecated
|
|
1828
1901
|
*/
|
|
1829
1902
|
backgroundColor?: string | null;
|
|
1830
1903
|
/** Background image. */
|
|
1831
|
-
backgroundImage?:
|
|
1904
|
+
backgroundImage?: LayoutDataBackgroundImage;
|
|
1832
1905
|
/**
|
|
1833
1906
|
* Border color as a hexadecimal value.
|
|
1834
1907
|
* @format COLOR_HEX
|
|
@@ -1836,15 +1909,16 @@ interface LayoutData {
|
|
|
1836
1909
|
borderColor?: string | null;
|
|
1837
1910
|
/** Border width in pixels. */
|
|
1838
1911
|
borderWidth?: number | null;
|
|
1839
|
-
/** Border */
|
|
1912
|
+
/** Border radius in pixels. */
|
|
1840
1913
|
borderRadius?: number | null;
|
|
1841
1914
|
/**
|
|
1842
|
-
*
|
|
1915
|
+
* Deprecated: Use `backdrop` instead.
|
|
1843
1916
|
* @format COLOR_HEX
|
|
1917
|
+
* @deprecated
|
|
1844
1918
|
*/
|
|
1845
1919
|
backdropColor?: string | null;
|
|
1846
|
-
/** Backdrop image.
|
|
1847
|
-
backdropImage?:
|
|
1920
|
+
/** Backdrop image. */
|
|
1921
|
+
backdropImage?: LayoutDataBackgroundImage;
|
|
1848
1922
|
/** Backdrop top padding. */
|
|
1849
1923
|
backdropPaddingTop?: number | null;
|
|
1850
1924
|
/** Backdrop bottom padding */
|
|
@@ -1868,8 +1942,12 @@ interface LayoutData {
|
|
|
1868
1942
|
designTarget?: DesignTargetWithLiterals;
|
|
1869
1943
|
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1870
1944
|
banner?: Banner;
|
|
1945
|
+
/** Background styling (color or gradient). */
|
|
1946
|
+
background?: LayoutDataBackground;
|
|
1947
|
+
/** Backdrop styling (color or gradient). */
|
|
1948
|
+
backdrop?: Backdrop;
|
|
1871
1949
|
}
|
|
1872
|
-
declare enum
|
|
1950
|
+
declare enum ImageScalingScaling {
|
|
1873
1951
|
/** Auto image scaling */
|
|
1874
1952
|
AUTO = "AUTO",
|
|
1875
1953
|
/** Contain image scaling */
|
|
@@ -1878,7 +1956,7 @@ declare enum Scaling {
|
|
|
1878
1956
|
COVER = "COVER"
|
|
1879
1957
|
}
|
|
1880
1958
|
/** @enumType */
|
|
1881
|
-
type
|
|
1959
|
+
type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
1882
1960
|
declare enum ImagePosition {
|
|
1883
1961
|
/** Image positioned at the center */
|
|
1884
1962
|
CENTER = "CENTER",
|
|
@@ -1909,13 +1987,31 @@ declare enum Origin {
|
|
|
1909
1987
|
}
|
|
1910
1988
|
/** @enumType */
|
|
1911
1989
|
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1912
|
-
|
|
1990
|
+
/** Background type */
|
|
1991
|
+
declare enum LayoutDataBackgroundType {
|
|
1992
|
+
/** Solid color background */
|
|
1993
|
+
COLOR = "COLOR",
|
|
1994
|
+
/** Gradient background */
|
|
1995
|
+
GRADIENT = "GRADIENT"
|
|
1996
|
+
}
|
|
1997
|
+
/** @enumType */
|
|
1998
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
1999
|
+
/** Backdrop type */
|
|
2000
|
+
declare enum BackdropType {
|
|
2001
|
+
/** Solid color backdrop */
|
|
2002
|
+
COLOR = "COLOR",
|
|
2003
|
+
/** Gradient backdrop */
|
|
2004
|
+
GRADIENT = "GRADIENT"
|
|
2005
|
+
}
|
|
2006
|
+
/** @enumType */
|
|
2007
|
+
type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
2008
|
+
interface LayoutDataBackgroundImage {
|
|
1913
2009
|
/** Background image. */
|
|
1914
2010
|
media?: Media;
|
|
1915
2011
|
/** Background image opacity. */
|
|
1916
2012
|
opacity?: number | null;
|
|
1917
2013
|
/** Background image scaling. */
|
|
1918
|
-
scaling?:
|
|
2014
|
+
scaling?: ImageScalingScalingWithLiterals;
|
|
1919
2015
|
/** Position of background. Defaults to `CENTER`. */
|
|
1920
2016
|
position?: ImagePositionWithLiterals;
|
|
1921
2017
|
}
|
|
@@ -1949,6 +2045,30 @@ interface Banner {
|
|
|
1949
2045
|
/** Origin of the banner */
|
|
1950
2046
|
origin?: OriginWithLiterals;
|
|
1951
2047
|
}
|
|
2048
|
+
/** Background styling (color or gradient) */
|
|
2049
|
+
interface LayoutDataBackground {
|
|
2050
|
+
/** Background type. */
|
|
2051
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2052
|
+
/**
|
|
2053
|
+
* Background color as a hexadecimal value.
|
|
2054
|
+
* @format COLOR_HEX
|
|
2055
|
+
*/
|
|
2056
|
+
color?: string | null;
|
|
2057
|
+
/** Gradient configuration. */
|
|
2058
|
+
gradient?: Gradient;
|
|
2059
|
+
}
|
|
2060
|
+
/** Backdrop styling (color or gradient) */
|
|
2061
|
+
interface Backdrop {
|
|
2062
|
+
/** Backdrop type. */
|
|
2063
|
+
type?: BackdropTypeWithLiterals;
|
|
2064
|
+
/**
|
|
2065
|
+
* Backdrop color as a hexadecimal value.
|
|
2066
|
+
* @format COLOR_HEX
|
|
2067
|
+
*/
|
|
2068
|
+
color?: string | null;
|
|
2069
|
+
/** Gradient configuration. */
|
|
2070
|
+
gradient?: Gradient;
|
|
2071
|
+
}
|
|
1952
2072
|
interface LayoutCellData {
|
|
1953
2073
|
/** Size of the cell in 12 columns grid. */
|
|
1954
2074
|
colSpan?: number | null;
|
|
@@ -1970,6 +2090,75 @@ interface ShapeDataStyles {
|
|
|
1970
2090
|
/** Map of original color keys to their new color values. */
|
|
1971
2091
|
colors?: Record<string, string>;
|
|
1972
2092
|
}
|
|
2093
|
+
interface CardData {
|
|
2094
|
+
/** Background styling (color or gradient). */
|
|
2095
|
+
background?: CardDataBackground;
|
|
2096
|
+
/** Background image. */
|
|
2097
|
+
backgroundImage?: BackgroundImage;
|
|
2098
|
+
}
|
|
2099
|
+
declare enum Scaling {
|
|
2100
|
+
/** Auto image scaling */
|
|
2101
|
+
AUTO = "AUTO",
|
|
2102
|
+
/** Contain image scaling */
|
|
2103
|
+
CONTAIN = "CONTAIN",
|
|
2104
|
+
/** Cover image scaling */
|
|
2105
|
+
COVER = "COVER"
|
|
2106
|
+
}
|
|
2107
|
+
/** @enumType */
|
|
2108
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
2109
|
+
declare enum ImagePositionPosition {
|
|
2110
|
+
/** Image positioned at the center */
|
|
2111
|
+
CENTER = "CENTER",
|
|
2112
|
+
/** Image positioned on the left */
|
|
2113
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
2114
|
+
/** Image positioned on the right */
|
|
2115
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
2116
|
+
/** Image positioned at the center top */
|
|
2117
|
+
TOP = "TOP",
|
|
2118
|
+
/** Image positioned at the top left */
|
|
2119
|
+
TOP_LEFT = "TOP_LEFT",
|
|
2120
|
+
/** Image positioned at the top right */
|
|
2121
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
2122
|
+
/** Image positioned at the center bottom */
|
|
2123
|
+
BOTTOM = "BOTTOM",
|
|
2124
|
+
/** Image positioned at the bottom left */
|
|
2125
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
2126
|
+
/** Image positioned at the bottom right */
|
|
2127
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
2128
|
+
}
|
|
2129
|
+
/** @enumType */
|
|
2130
|
+
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2131
|
+
/** Background type */
|
|
2132
|
+
declare enum CardDataBackgroundType {
|
|
2133
|
+
/** Solid color background */
|
|
2134
|
+
COLOR = "COLOR",
|
|
2135
|
+
/** Gradient background */
|
|
2136
|
+
GRADIENT = "GRADIENT"
|
|
2137
|
+
}
|
|
2138
|
+
/** @enumType */
|
|
2139
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2140
|
+
/** Background styling (color or gradient) */
|
|
2141
|
+
interface CardDataBackground {
|
|
2142
|
+
/** Background type. */
|
|
2143
|
+
type?: CardDataBackgroundTypeWithLiterals;
|
|
2144
|
+
/**
|
|
2145
|
+
* Background color as a hexadecimal value.
|
|
2146
|
+
* @format COLOR_HEX
|
|
2147
|
+
*/
|
|
2148
|
+
color?: string | null;
|
|
2149
|
+
/** Gradient configuration. */
|
|
2150
|
+
gradient?: Gradient;
|
|
2151
|
+
}
|
|
2152
|
+
interface BackgroundImage {
|
|
2153
|
+
/** Background image. */
|
|
2154
|
+
media?: Media;
|
|
2155
|
+
/** Background image opacity. */
|
|
2156
|
+
opacity?: number | null;
|
|
2157
|
+
/** Background image scaling. */
|
|
2158
|
+
scaling?: ScalingWithLiterals;
|
|
2159
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
2160
|
+
position?: ImagePositionPositionWithLiterals;
|
|
2161
|
+
}
|
|
1973
2162
|
interface Metadata {
|
|
1974
2163
|
/** Schema version. */
|
|
1975
2164
|
version?: number;
|
|
@@ -2941,9 +3130,11 @@ type QuestionEntryQuery = {
|
|
|
2941
3130
|
}[];
|
|
2942
3131
|
};
|
|
2943
3132
|
declare const utils: {
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
3133
|
+
query: {
|
|
3134
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<QuestionEntry, QuestionEntryQuerySpec, QuestionEntryQuery>;
|
|
3135
|
+
Filter: _wix_sdk_types.FilterFactory<QuestionEntry, QuestionEntryQuerySpec>;
|
|
3136
|
+
Sort: _wix_sdk_types.SortFactory<QuestionEntryQuerySpec>;
|
|
3137
|
+
};
|
|
2947
3138
|
};
|
|
2948
3139
|
/**
|
|
2949
3140
|
* Deletes multiple question entries.
|
|
@@ -3025,4 +3216,4 @@ interface BulkUpdateQuestionEntryOptions {
|
|
|
3025
3216
|
returnFullEntity?: boolean | null;
|
|
3026
3217
|
}
|
|
3027
3218
|
|
|
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
|
|
3219
|
+
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, 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, 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, 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 };
|