@wix/auto_sdk_comments_comments 1.0.51 → 1.0.53
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 +2494 -36
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +217 -24
- package/build/cjs/index.typings.js +1533 -35
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +215 -24
- package/build/cjs/meta.js +1533 -35
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +2487 -36
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +217 -24
- package/build/es/index.typings.mjs +1526 -35
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +215 -24
- package/build/es/meta.mjs +1526 -35
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +2494 -36
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +217 -24
- package/build/internal/cjs/index.typings.js +1533 -35
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +215 -24
- package/build/internal/cjs/meta.js +1533 -35
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +2487 -36
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +217 -24
- package/build/internal/es/index.typings.mjs +1526 -35
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +215 -24
- package/build/internal/es/meta.mjs +1526 -35
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -58,6 +58,8 @@ interface Comment {
|
|
|
58
58
|
resourceId?: string | null;
|
|
59
59
|
/** Published comment content. */
|
|
60
60
|
content?: CommentContent;
|
|
61
|
+
/** Unpublished comment content. */
|
|
62
|
+
draftContent?: CommentContent;
|
|
61
63
|
/**
|
|
62
64
|
* Comment's author.
|
|
63
65
|
* @immutable
|
|
@@ -199,6 +201,8 @@ interface Node extends NodeDataOneOf {
|
|
|
199
201
|
layoutCellData?: LayoutCellData;
|
|
200
202
|
/** Data for a shape node. */
|
|
201
203
|
shapeData?: ShapeData;
|
|
204
|
+
/** Data for a card node. */
|
|
205
|
+
cardData?: CardData;
|
|
202
206
|
/** 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. */
|
|
203
207
|
type?: NodeTypeWithLiterals;
|
|
204
208
|
/** Node ID. */
|
|
@@ -268,6 +272,8 @@ interface NodeDataOneOf {
|
|
|
268
272
|
layoutCellData?: LayoutCellData;
|
|
269
273
|
/** Data for a shape node. */
|
|
270
274
|
shapeData?: ShapeData;
|
|
275
|
+
/** Data for a card node. */
|
|
276
|
+
cardData?: CardData;
|
|
271
277
|
}
|
|
272
278
|
declare enum NodeType {
|
|
273
279
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -304,10 +310,11 @@ declare enum NodeType {
|
|
|
304
310
|
CAPTION = "CAPTION",
|
|
305
311
|
LAYOUT = "LAYOUT",
|
|
306
312
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
307
|
-
SHAPE = "SHAPE"
|
|
313
|
+
SHAPE = "SHAPE",
|
|
314
|
+
CARD = "CARD"
|
|
308
315
|
}
|
|
309
316
|
/** @enumType */
|
|
310
|
-
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';
|
|
317
|
+
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';
|
|
311
318
|
interface NodeStyle {
|
|
312
319
|
/** The top padding value in pixels. */
|
|
313
320
|
paddingTop?: string | null;
|
|
@@ -477,17 +484,23 @@ interface Styles {
|
|
|
477
484
|
*/
|
|
478
485
|
textColorHover?: string | null;
|
|
479
486
|
/**
|
|
480
|
-
*
|
|
487
|
+
* Deprecated: Use `background` instead.
|
|
481
488
|
* @format COLOR_HEX
|
|
489
|
+
* @deprecated
|
|
482
490
|
*/
|
|
483
491
|
backgroundColor?: string | null;
|
|
484
492
|
/**
|
|
485
|
-
*
|
|
493
|
+
* Deprecated: Use `backgroundHover` instead.
|
|
486
494
|
* @format COLOR_HEX
|
|
495
|
+
* @deprecated
|
|
487
496
|
*/
|
|
488
497
|
backgroundColorHover?: string | null;
|
|
489
498
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
490
499
|
buttonSize?: string | null;
|
|
500
|
+
/** Background styling (color or gradient). */
|
|
501
|
+
background?: Background;
|
|
502
|
+
/** Background styling for hover state (color or gradient). */
|
|
503
|
+
backgroundHover?: Background;
|
|
491
504
|
}
|
|
492
505
|
interface Link extends LinkDataOneOf {
|
|
493
506
|
/** The absolute URL for the linked document. */
|
|
@@ -1124,7 +1137,7 @@ interface OptionLayout {
|
|
|
1124
1137
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1125
1138
|
enableImage?: boolean | null;
|
|
1126
1139
|
}
|
|
1127
|
-
declare enum
|
|
1140
|
+
declare enum PollDesignBackgroundType {
|
|
1128
1141
|
/** Color background type */
|
|
1129
1142
|
COLOR = "COLOR",
|
|
1130
1143
|
/** Image background type */
|
|
@@ -1133,8 +1146,8 @@ declare enum BackgroundType {
|
|
|
1133
1146
|
GRADIENT = "GRADIENT"
|
|
1134
1147
|
}
|
|
1135
1148
|
/** @enumType */
|
|
1136
|
-
type
|
|
1137
|
-
interface
|
|
1149
|
+
type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
1150
|
+
interface BackgroundGradient {
|
|
1138
1151
|
/** The gradient angle in degrees. */
|
|
1139
1152
|
angle?: number | null;
|
|
1140
1153
|
/**
|
|
@@ -1148,7 +1161,7 @@ interface Gradient {
|
|
|
1148
1161
|
*/
|
|
1149
1162
|
lastColor?: string | null;
|
|
1150
1163
|
}
|
|
1151
|
-
interface
|
|
1164
|
+
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1152
1165
|
/**
|
|
1153
1166
|
* The background color as a hexademical value.
|
|
1154
1167
|
* @format COLOR_HEX
|
|
@@ -1157,12 +1170,12 @@ interface Background extends BackgroundBackgroundOneOf {
|
|
|
1157
1170
|
/** An image to use for the background. */
|
|
1158
1171
|
image?: Media;
|
|
1159
1172
|
/** Details for a gradient background. */
|
|
1160
|
-
gradient?:
|
|
1173
|
+
gradient?: BackgroundGradient;
|
|
1161
1174
|
/** Background type. For each option, include the relevant details. */
|
|
1162
|
-
type?:
|
|
1175
|
+
type?: PollDesignBackgroundTypeWithLiterals;
|
|
1163
1176
|
}
|
|
1164
1177
|
/** @oneof */
|
|
1165
|
-
interface
|
|
1178
|
+
interface PollDesignBackgroundBackgroundOneOf {
|
|
1166
1179
|
/**
|
|
1167
1180
|
* The background color as a hexademical value.
|
|
1168
1181
|
* @format COLOR_HEX
|
|
@@ -1171,11 +1184,11 @@ interface BackgroundBackgroundOneOf {
|
|
|
1171
1184
|
/** An image to use for the background. */
|
|
1172
1185
|
image?: Media;
|
|
1173
1186
|
/** Details for a gradient background. */
|
|
1174
|
-
gradient?:
|
|
1187
|
+
gradient?: BackgroundGradient;
|
|
1175
1188
|
}
|
|
1176
1189
|
interface PollDesign {
|
|
1177
1190
|
/** Background styling. */
|
|
1178
|
-
background?:
|
|
1191
|
+
background?: PollDesignBackground;
|
|
1179
1192
|
/** Border radius in pixels. */
|
|
1180
1193
|
borderRadius?: number | null;
|
|
1181
1194
|
}
|
|
@@ -1858,12 +1871,13 @@ interface CaptionData {
|
|
|
1858
1871
|
}
|
|
1859
1872
|
interface LayoutData {
|
|
1860
1873
|
/**
|
|
1861
|
-
*
|
|
1874
|
+
* Deprecated: Use `background` instead.
|
|
1862
1875
|
* @format COLOR_HEX
|
|
1876
|
+
* @deprecated
|
|
1863
1877
|
*/
|
|
1864
1878
|
backgroundColor?: string | null;
|
|
1865
1879
|
/** Background image. */
|
|
1866
|
-
backgroundImage?:
|
|
1880
|
+
backgroundImage?: LayoutDataBackgroundImage;
|
|
1867
1881
|
/**
|
|
1868
1882
|
* Border color as a hexadecimal value.
|
|
1869
1883
|
* @format COLOR_HEX
|
|
@@ -1871,15 +1885,16 @@ interface LayoutData {
|
|
|
1871
1885
|
borderColor?: string | null;
|
|
1872
1886
|
/** Border width in pixels. */
|
|
1873
1887
|
borderWidth?: number | null;
|
|
1874
|
-
/** Border */
|
|
1888
|
+
/** Border radius in pixels. */
|
|
1875
1889
|
borderRadius?: number | null;
|
|
1876
1890
|
/**
|
|
1877
|
-
*
|
|
1891
|
+
* Deprecated: Use `backdrop` instead.
|
|
1878
1892
|
* @format COLOR_HEX
|
|
1893
|
+
* @deprecated
|
|
1879
1894
|
*/
|
|
1880
1895
|
backdropColor?: string | null;
|
|
1881
|
-
/** Backdrop image.
|
|
1882
|
-
backdropImage?:
|
|
1896
|
+
/** Backdrop image. */
|
|
1897
|
+
backdropImage?: LayoutDataBackgroundImage;
|
|
1883
1898
|
/** Backdrop top padding. */
|
|
1884
1899
|
backdropPaddingTop?: number | null;
|
|
1885
1900
|
/** Backdrop bottom padding */
|
|
@@ -1903,8 +1918,12 @@ interface LayoutData {
|
|
|
1903
1918
|
designTarget?: DesignTargetWithLiterals;
|
|
1904
1919
|
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1905
1920
|
banner?: Banner;
|
|
1921
|
+
/** Background styling (color or gradient). */
|
|
1922
|
+
background?: LayoutDataBackground;
|
|
1923
|
+
/** Backdrop styling (color or gradient). */
|
|
1924
|
+
backdrop?: Backdrop;
|
|
1906
1925
|
}
|
|
1907
|
-
declare enum
|
|
1926
|
+
declare enum ImageScalingScaling {
|
|
1908
1927
|
/** Auto image scaling */
|
|
1909
1928
|
AUTO = "AUTO",
|
|
1910
1929
|
/** Contain image scaling */
|
|
@@ -1913,7 +1932,7 @@ declare enum Scaling {
|
|
|
1913
1932
|
COVER = "COVER"
|
|
1914
1933
|
}
|
|
1915
1934
|
/** @enumType */
|
|
1916
|
-
type
|
|
1935
|
+
type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
1917
1936
|
declare enum ImagePosition {
|
|
1918
1937
|
/** Image positioned at the center */
|
|
1919
1938
|
CENTER = "CENTER",
|
|
@@ -1944,13 +1963,13 @@ declare enum Origin {
|
|
|
1944
1963
|
}
|
|
1945
1964
|
/** @enumType */
|
|
1946
1965
|
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1947
|
-
interface
|
|
1966
|
+
interface LayoutDataBackgroundImage {
|
|
1948
1967
|
/** Background image. */
|
|
1949
1968
|
media?: Media;
|
|
1950
1969
|
/** Background image opacity. */
|
|
1951
1970
|
opacity?: number | null;
|
|
1952
1971
|
/** Background image scaling. */
|
|
1953
|
-
scaling?:
|
|
1972
|
+
scaling?: ImageScalingScalingWithLiterals;
|
|
1954
1973
|
/** Position of background. Defaults to `CENTER`. */
|
|
1955
1974
|
position?: ImagePositionWithLiterals;
|
|
1956
1975
|
}
|
|
@@ -2615,6 +2634,178 @@ interface AccountInfo {
|
|
|
2615
2634
|
*/
|
|
2616
2635
|
siteId?: string | null;
|
|
2617
2636
|
}
|
|
2637
|
+
/** Background type */
|
|
2638
|
+
declare enum BackgroundType {
|
|
2639
|
+
/** Solid color background */
|
|
2640
|
+
COLOR = "COLOR",
|
|
2641
|
+
/** Gradient background */
|
|
2642
|
+
GRADIENT = "GRADIENT"
|
|
2643
|
+
}
|
|
2644
|
+
/** @enumType */
|
|
2645
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
|
|
2646
|
+
interface Gradient {
|
|
2647
|
+
/** Gradient type. */
|
|
2648
|
+
type?: GradientTypeWithLiterals;
|
|
2649
|
+
/**
|
|
2650
|
+
* Color stops for the gradient.
|
|
2651
|
+
* @maxSize 1000
|
|
2652
|
+
*/
|
|
2653
|
+
stops?: Stop[];
|
|
2654
|
+
/** Angle in degrees for linear gradient (0-360). */
|
|
2655
|
+
angle?: number | null;
|
|
2656
|
+
/**
|
|
2657
|
+
* Horizontal center position for radial gradient (0-100).
|
|
2658
|
+
* @max 100
|
|
2659
|
+
*/
|
|
2660
|
+
centerX?: number | null;
|
|
2661
|
+
/**
|
|
2662
|
+
* Vertical center position for radial gradient (0-100).
|
|
2663
|
+
* @max 100
|
|
2664
|
+
*/
|
|
2665
|
+
centerY?: number | null;
|
|
2666
|
+
}
|
|
2667
|
+
/** Gradient type. */
|
|
2668
|
+
declare enum GradientType {
|
|
2669
|
+
/** Linear gradient. */
|
|
2670
|
+
LINEAR = "LINEAR",
|
|
2671
|
+
/** Radial gradient. */
|
|
2672
|
+
RADIAL = "RADIAL"
|
|
2673
|
+
}
|
|
2674
|
+
/** @enumType */
|
|
2675
|
+
type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
2676
|
+
/** A single color stop in the gradient. */
|
|
2677
|
+
interface Stop {
|
|
2678
|
+
/**
|
|
2679
|
+
* Stop color as hex value.
|
|
2680
|
+
* @format COLOR_HEX
|
|
2681
|
+
*/
|
|
2682
|
+
color?: string | null;
|
|
2683
|
+
/** Stop position (0-1). */
|
|
2684
|
+
position?: number | null;
|
|
2685
|
+
}
|
|
2686
|
+
/** Background styling (color or gradient) */
|
|
2687
|
+
interface Background {
|
|
2688
|
+
/** Background type. */
|
|
2689
|
+
type?: BackgroundTypeWithLiterals;
|
|
2690
|
+
/**
|
|
2691
|
+
* Background color as a hexadecimal value.
|
|
2692
|
+
* @format COLOR_HEX
|
|
2693
|
+
*/
|
|
2694
|
+
color?: string | null;
|
|
2695
|
+
/** Gradient configuration. */
|
|
2696
|
+
gradient?: Gradient;
|
|
2697
|
+
}
|
|
2698
|
+
/** Background type */
|
|
2699
|
+
declare enum LayoutDataBackgroundType {
|
|
2700
|
+
/** Solid color background */
|
|
2701
|
+
COLOR = "COLOR",
|
|
2702
|
+
/** Gradient background */
|
|
2703
|
+
GRADIENT = "GRADIENT"
|
|
2704
|
+
}
|
|
2705
|
+
/** @enumType */
|
|
2706
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2707
|
+
/** Backdrop type */
|
|
2708
|
+
declare enum BackdropType {
|
|
2709
|
+
/** Solid color backdrop */
|
|
2710
|
+
COLOR = "COLOR",
|
|
2711
|
+
/** Gradient backdrop */
|
|
2712
|
+
GRADIENT = "GRADIENT"
|
|
2713
|
+
}
|
|
2714
|
+
/** @enumType */
|
|
2715
|
+
type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
2716
|
+
/** Background styling (color or gradient) */
|
|
2717
|
+
interface LayoutDataBackground {
|
|
2718
|
+
/** Background type. */
|
|
2719
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2720
|
+
/**
|
|
2721
|
+
* Background color as a hexadecimal value.
|
|
2722
|
+
* @format COLOR_HEX
|
|
2723
|
+
*/
|
|
2724
|
+
color?: string | null;
|
|
2725
|
+
/** Gradient configuration. */
|
|
2726
|
+
gradient?: Gradient;
|
|
2727
|
+
}
|
|
2728
|
+
/** Backdrop styling (color or gradient) */
|
|
2729
|
+
interface Backdrop {
|
|
2730
|
+
/** Backdrop type. */
|
|
2731
|
+
type?: BackdropTypeWithLiterals;
|
|
2732
|
+
/**
|
|
2733
|
+
* Backdrop color as a hexadecimal value.
|
|
2734
|
+
* @format COLOR_HEX
|
|
2735
|
+
*/
|
|
2736
|
+
color?: string | null;
|
|
2737
|
+
/** Gradient configuration. */
|
|
2738
|
+
gradient?: Gradient;
|
|
2739
|
+
}
|
|
2740
|
+
interface CardData {
|
|
2741
|
+
/** Background styling (color or gradient). */
|
|
2742
|
+
background?: CardDataBackground;
|
|
2743
|
+
/** Background image. */
|
|
2744
|
+
backgroundImage?: BackgroundImage;
|
|
2745
|
+
}
|
|
2746
|
+
declare enum Scaling {
|
|
2747
|
+
/** Auto image scaling */
|
|
2748
|
+
AUTO = "AUTO",
|
|
2749
|
+
/** Contain image scaling */
|
|
2750
|
+
CONTAIN = "CONTAIN",
|
|
2751
|
+
/** Cover image scaling */
|
|
2752
|
+
COVER = "COVER"
|
|
2753
|
+
}
|
|
2754
|
+
/** @enumType */
|
|
2755
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
2756
|
+
declare enum ImagePositionPosition {
|
|
2757
|
+
/** Image positioned at the center */
|
|
2758
|
+
CENTER = "CENTER",
|
|
2759
|
+
/** Image positioned on the left */
|
|
2760
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
2761
|
+
/** Image positioned on the right */
|
|
2762
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
2763
|
+
/** Image positioned at the center top */
|
|
2764
|
+
TOP = "TOP",
|
|
2765
|
+
/** Image positioned at the top left */
|
|
2766
|
+
TOP_LEFT = "TOP_LEFT",
|
|
2767
|
+
/** Image positioned at the top right */
|
|
2768
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
2769
|
+
/** Image positioned at the center bottom */
|
|
2770
|
+
BOTTOM = "BOTTOM",
|
|
2771
|
+
/** Image positioned at the bottom left */
|
|
2772
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
2773
|
+
/** Image positioned at the bottom right */
|
|
2774
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
2775
|
+
}
|
|
2776
|
+
/** @enumType */
|
|
2777
|
+
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2778
|
+
/** Background type */
|
|
2779
|
+
declare enum CardDataBackgroundType {
|
|
2780
|
+
/** Solid color background */
|
|
2781
|
+
COLOR = "COLOR",
|
|
2782
|
+
/** Gradient background */
|
|
2783
|
+
GRADIENT = "GRADIENT"
|
|
2784
|
+
}
|
|
2785
|
+
/** @enumType */
|
|
2786
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2787
|
+
/** Background styling (color or gradient) */
|
|
2788
|
+
interface CardDataBackground {
|
|
2789
|
+
/** Background type. */
|
|
2790
|
+
type?: CardDataBackgroundTypeWithLiterals;
|
|
2791
|
+
/**
|
|
2792
|
+
* Background color as a hexadecimal value.
|
|
2793
|
+
* @format COLOR_HEX
|
|
2794
|
+
*/
|
|
2795
|
+
color?: string | null;
|
|
2796
|
+
/** Gradient configuration. */
|
|
2797
|
+
gradient?: Gradient;
|
|
2798
|
+
}
|
|
2799
|
+
interface BackgroundImage {
|
|
2800
|
+
/** Background image. */
|
|
2801
|
+
media?: Media;
|
|
2802
|
+
/** Background image opacity. */
|
|
2803
|
+
opacity?: number | null;
|
|
2804
|
+
/** Background image scaling. */
|
|
2805
|
+
scaling?: ScalingWithLiterals;
|
|
2806
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
2807
|
+
position?: ImagePositionPositionWithLiterals;
|
|
2808
|
+
}
|
|
2618
2809
|
interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
|
|
2619
2810
|
/** insert/update documents */
|
|
2620
2811
|
update?: InternalDocumentUpdateOperation;
|
|
@@ -3611,6 +3802,8 @@ interface UpdateComment {
|
|
|
3611
3802
|
resourceId?: string | null;
|
|
3612
3803
|
/** Published comment content. */
|
|
3613
3804
|
content?: CommentContent;
|
|
3805
|
+
/** Unpublished comment content. */
|
|
3806
|
+
draftContent?: CommentContent;
|
|
3614
3807
|
/**
|
|
3615
3808
|
* Comment's author.
|
|
3616
3809
|
* @immutable
|
|
@@ -4138,4 +4331,4 @@ interface BulkMoveCommentByFilterOptions {
|
|
|
4138
4331
|
destination?: Destination;
|
|
4139
4332
|
}
|
|
4140
4333
|
|
|
4141
|
-
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
|
|
4334
|
+
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, 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, 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, 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 };
|