@wix/auto_sdk_quick-pages_contents 1.0.1 → 1.0.3
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 +112 -5
- package/build/cjs/index.js +88 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +88 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +279 -5
- package/build/cjs/meta.js +512 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +112 -5
- package/build/es/index.mjs +84 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +84 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +279 -5
- package/build/es/meta.mjs +462 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +88 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +112 -5
- package/build/internal/cjs/index.typings.js +88 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +279 -5
- package/build/internal/cjs/meta.js +512 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +84 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +112 -5
- package/build/internal/es/index.typings.mjs +84 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +279 -5
- package/build/internal/es/meta.mjs +462 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -582,7 +582,9 @@ interface Node extends NodeDataOneOf {
|
|
|
582
582
|
blockquoteData?: BlockquoteData;
|
|
583
583
|
/** Data for a caption node. */
|
|
584
584
|
captionData?: CaptionData;
|
|
585
|
-
/**
|
|
585
|
+
/** Data for a layout node. Reserved for future use. */
|
|
586
|
+
layoutData?: LayoutData;
|
|
587
|
+
/** Data for a cell node. */
|
|
586
588
|
layoutCellData?: LayoutCellData;
|
|
587
589
|
/** 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. */
|
|
588
590
|
type?: NodeTypeWithLiterals;
|
|
@@ -647,7 +649,9 @@ interface NodeDataOneOf {
|
|
|
647
649
|
blockquoteData?: BlockquoteData;
|
|
648
650
|
/** Data for a caption node. */
|
|
649
651
|
captionData?: CaptionData;
|
|
650
|
-
/**
|
|
652
|
+
/** Data for a layout node. Reserved for future use. */
|
|
653
|
+
layoutData?: LayoutData;
|
|
654
|
+
/** Data for a cell node. */
|
|
651
655
|
layoutCellData?: LayoutCellData;
|
|
652
656
|
}
|
|
653
657
|
declare enum NodeType {
|
|
@@ -1270,10 +1274,11 @@ interface HTMLDataDataOneOf {
|
|
|
1270
1274
|
}
|
|
1271
1275
|
declare enum Source {
|
|
1272
1276
|
HTML = "HTML",
|
|
1273
|
-
ADSENSE = "ADSENSE"
|
|
1277
|
+
ADSENSE = "ADSENSE",
|
|
1278
|
+
AI = "AI"
|
|
1274
1279
|
}
|
|
1275
1280
|
/** @enumType */
|
|
1276
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
|
|
1281
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
1277
1282
|
interface ImageData {
|
|
1278
1283
|
/** Styling for the image's container. */
|
|
1279
1284
|
containerData?: PluginContainerData;
|
|
@@ -2203,6 +2208,108 @@ interface BlockquoteData {
|
|
|
2203
2208
|
interface CaptionData {
|
|
2204
2209
|
textStyle?: V1TextStyle;
|
|
2205
2210
|
}
|
|
2211
|
+
interface LayoutData {
|
|
2212
|
+
/**
|
|
2213
|
+
* Background color as a hexadecimal value.
|
|
2214
|
+
* @format COLOR_HEX
|
|
2215
|
+
*/
|
|
2216
|
+
backgroundColor?: string | null;
|
|
2217
|
+
/** Background image. */
|
|
2218
|
+
backgroundImage?: BackgroundImage;
|
|
2219
|
+
/**
|
|
2220
|
+
* Border color as a hexadecimal value.
|
|
2221
|
+
* @format COLOR_HEX
|
|
2222
|
+
*/
|
|
2223
|
+
borderColor?: string | null;
|
|
2224
|
+
/** Border width in pixels. */
|
|
2225
|
+
borderWidth?: number | null;
|
|
2226
|
+
/** Border */
|
|
2227
|
+
borderRadius?: number | null;
|
|
2228
|
+
/**
|
|
2229
|
+
* Backdrop color as a hexadecimal value.
|
|
2230
|
+
* @format COLOR_HEX
|
|
2231
|
+
*/
|
|
2232
|
+
backdropColor?: string | null;
|
|
2233
|
+
/** Backdrop image.radius in pixels. */
|
|
2234
|
+
backdropImage?: BackgroundImage;
|
|
2235
|
+
/** Backdrop top padding. */
|
|
2236
|
+
backdropPaddingTop?: number | null;
|
|
2237
|
+
/** Backdrop bottom padding */
|
|
2238
|
+
backdropPaddingBottom?: number | null;
|
|
2239
|
+
/** Horizontal and vertical gap between columns */
|
|
2240
|
+
gap?: number | null;
|
|
2241
|
+
/**
|
|
2242
|
+
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left
|
|
2243
|
+
* @maxSize 4
|
|
2244
|
+
*/
|
|
2245
|
+
cellPadding?: number[];
|
|
2246
|
+
/** Vertical alignment for the cell's items. */
|
|
2247
|
+
cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
|
|
2248
|
+
/** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
|
|
2249
|
+
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
2250
|
+
/** Size in pixels when responsiveness_behaviour applies */
|
|
2251
|
+
responsivenessBreakpoint?: number | null;
|
|
2252
|
+
}
|
|
2253
|
+
declare enum Scaling {
|
|
2254
|
+
/** Auto image scaling */
|
|
2255
|
+
AUTO = "AUTO",
|
|
2256
|
+
/** Contain image scaling */
|
|
2257
|
+
CONTAIN = "CONTAIN",
|
|
2258
|
+
/** Cover image scaling */
|
|
2259
|
+
COVER = "COVER"
|
|
2260
|
+
}
|
|
2261
|
+
/** @enumType */
|
|
2262
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
2263
|
+
declare enum LayoutDataImagePosition {
|
|
2264
|
+
/** Image positioned at the center */
|
|
2265
|
+
CENTER = "CENTER",
|
|
2266
|
+
/** Image positioned on the left */
|
|
2267
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
2268
|
+
/** Image positioned on the right */
|
|
2269
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
2270
|
+
/** Image positioned at the center top */
|
|
2271
|
+
TOP = "TOP",
|
|
2272
|
+
/** Image positioned at the top left */
|
|
2273
|
+
TOP_LEFT = "TOP_LEFT",
|
|
2274
|
+
/** Image positioned at the top right */
|
|
2275
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
2276
|
+
/** Image positioned at the center bottom */
|
|
2277
|
+
BOTTOM = "BOTTOM",
|
|
2278
|
+
/** Image positioned at the bottom left */
|
|
2279
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
2280
|
+
/** Image positioned at the bottom right */
|
|
2281
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
2282
|
+
}
|
|
2283
|
+
/** @enumType */
|
|
2284
|
+
type LayoutDataImagePositionWithLiterals = LayoutDataImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2285
|
+
interface BackgroundImage {
|
|
2286
|
+
/** Background image. */
|
|
2287
|
+
media?: Media;
|
|
2288
|
+
/** Background image opacity. */
|
|
2289
|
+
opacity?: number | null;
|
|
2290
|
+
/** Background image scaling. */
|
|
2291
|
+
scaling?: ScalingWithLiterals;
|
|
2292
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
2293
|
+
position?: LayoutDataImagePositionWithLiterals;
|
|
2294
|
+
}
|
|
2295
|
+
declare enum VerticalAlignmentAlignment {
|
|
2296
|
+
/** Top alignment */
|
|
2297
|
+
TOP = "TOP",
|
|
2298
|
+
/** Middle alignment */
|
|
2299
|
+
MIDDLE = "MIDDLE",
|
|
2300
|
+
/** Bottom alignment */
|
|
2301
|
+
BOTTOM = "BOTTOM"
|
|
2302
|
+
}
|
|
2303
|
+
/** @enumType */
|
|
2304
|
+
type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
2305
|
+
declare enum ResponsivenessBehaviour {
|
|
2306
|
+
/** Stacking of columns */
|
|
2307
|
+
STACK = "STACK",
|
|
2308
|
+
/** Wrapping of columns */
|
|
2309
|
+
WRAP = "WRAP"
|
|
2310
|
+
}
|
|
2311
|
+
/** @enumType */
|
|
2312
|
+
type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
|
|
2206
2313
|
interface LayoutCellData {
|
|
2207
2314
|
/** Size of the cell in 12 columns grid. */
|
|
2208
2315
|
colSpan?: number | null;
|
|
@@ -2625,4 +2732,4 @@ interface ContentsQueryBuilder {
|
|
|
2625
2732
|
find: () => Promise<ContentsQueryResult>;
|
|
2626
2733
|
}
|
|
2627
2734
|
|
|
2628
|
-
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundTypeOptionsOneOf, type BackgroundGradient, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type Button, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type Center, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type Content, type ContentsQueryBuilder, type ContentsQueryResult, type CreateContentRequest, type CreateContentResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, 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 FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetContentRequest, type GetContentResponse, type GetLatestContentByPageIdRequest, type GetLatestContentByPageIdResponse, type Gradient, type GradientGradientTypeOptionsOneOf, type GradientStop, GradientType, type GradientTypeWithLiterals, Group, type GroupWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Hover, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageBorder, type ImageData, type ImageDataStyles, type ImageDataStylesBorder, type ImageOptions, ImagePosition, type ImagePositionWithLiterals, ImageScaling, type ImageScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemImage, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type LockLatestContentByPageIdRequest, type LockLatestContentByPageIdResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, 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, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataDesign, 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 QueryContentsRequest, type QueryContentsResponse, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type SubmitContentOptions, type SubmitContentRequest, type SubmitContentResponse, 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 Typography, type V1TextStyle, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals };
|
|
2735
|
+
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundTypeOptionsOneOf, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type Button, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type Center, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type Content, type ContentsQueryBuilder, type ContentsQueryResult, type CreateContentRequest, type CreateContentResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, 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 FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetContentRequest, type GetContentResponse, type GetLatestContentByPageIdRequest, type GetLatestContentByPageIdResponse, type Gradient, type GradientGradientTypeOptionsOneOf, type GradientStop, GradientType, type GradientTypeWithLiterals, Group, type GroupWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Hover, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageBorder, type ImageData, type ImageDataStyles, type ImageDataStylesBorder, type ImageOptions, ImagePosition, type ImagePositionWithLiterals, ImageScaling, type ImageScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemImage, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutDataImagePosition, type LayoutDataImagePositionWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type LockLatestContentByPageIdRequest, type LockLatestContentByPageIdResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, 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, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataDesign, 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 QueryContentsRequest, type QueryContentsResponse, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type SubmitContentOptions, type SubmitContentRequest, type SubmitContentResponse, 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 Typography, type V1TextStyle, 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 };
|
package/build/cjs/index.js
CHANGED
|
@@ -39,6 +39,7 @@ __export(index_exports, {
|
|
|
39
39
|
ImageScaling: () => ImageScaling,
|
|
40
40
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
41
41
|
Layout: () => Layout,
|
|
42
|
+
LayoutDataImagePosition: () => LayoutDataImagePosition,
|
|
42
43
|
LayoutType: () => LayoutType,
|
|
43
44
|
LineStyle: () => LineStyle,
|
|
44
45
|
MapType: () => MapType,
|
|
@@ -52,6 +53,8 @@ __export(index_exports, {
|
|
|
52
53
|
PollLayoutType: () => PollLayoutType,
|
|
53
54
|
Position: () => Position,
|
|
54
55
|
Resizing: () => Resizing,
|
|
56
|
+
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
57
|
+
Scaling: () => Scaling,
|
|
55
58
|
SortOrder: () => SortOrder,
|
|
56
59
|
Source: () => Source,
|
|
57
60
|
StylesPosition: () => StylesPosition,
|
|
@@ -60,6 +63,7 @@ __export(index_exports, {
|
|
|
60
63
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
61
64
|
Type: () => Type,
|
|
62
65
|
VerticalAlignment: () => VerticalAlignment,
|
|
66
|
+
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
63
67
|
ViewMode: () => ViewMode,
|
|
64
68
|
ViewRole: () => ViewRole,
|
|
65
69
|
VoteRole: () => VoteRole,
|
|
@@ -112,6 +116,9 @@ function getContent(payload) {
|
|
|
112
116
|
method: "GET",
|
|
113
117
|
methodFqn: "wix.quickpages.content.v1.ContentService.GetContent",
|
|
114
118
|
packageName: PACKAGE_NAME,
|
|
119
|
+
migrationOptions: {
|
|
120
|
+
optInTransformResponse: true
|
|
121
|
+
},
|
|
115
122
|
url: resolveWixQuickpagesContentV1ContentServiceUrl({
|
|
116
123
|
protoPath: "/v1/contents/{contentId}",
|
|
117
124
|
data: payload,
|
|
@@ -214,6 +221,12 @@ function getContent(payload) {
|
|
|
214
221
|
{ path: "content.richContent.nodes.audioData.audio.duration" },
|
|
215
222
|
{
|
|
216
223
|
path: "content.richContent.nodes.audioData.coverImage.duration"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
path: "content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
217
230
|
}
|
|
218
231
|
]
|
|
219
232
|
}
|
|
@@ -297,7 +310,11 @@ function submitContent(payload) {
|
|
|
297
310
|
{ path: "richContent.nodes.videoData.video.duration" },
|
|
298
311
|
{ path: "richContent.nodes.videoData.thumbnail.duration" },
|
|
299
312
|
{ path: "richContent.nodes.audioData.audio.duration" },
|
|
300
|
-
{ path: "richContent.nodes.audioData.coverImage.duration" }
|
|
313
|
+
{ path: "richContent.nodes.audioData.coverImage.duration" },
|
|
314
|
+
{
|
|
315
|
+
path: "richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
316
|
+
},
|
|
317
|
+
{ path: "richContent.nodes.layoutData.backdropImage.media.duration" }
|
|
301
318
|
]
|
|
302
319
|
},
|
|
303
320
|
{
|
|
@@ -313,6 +330,9 @@ function submitContent(payload) {
|
|
|
313
330
|
method: "POST",
|
|
314
331
|
methodFqn: "wix.quickpages.content.v1.ContentService.SubmitContent",
|
|
315
332
|
packageName: PACKAGE_NAME,
|
|
333
|
+
migrationOptions: {
|
|
334
|
+
optInTransformResponse: true
|
|
335
|
+
},
|
|
316
336
|
url: resolveWixQuickpagesContentV1ContentServiceUrl({
|
|
317
337
|
protoPath: "/v1/contents/submit",
|
|
318
338
|
data: serializedData,
|
|
@@ -415,6 +435,12 @@ function submitContent(payload) {
|
|
|
415
435
|
{ path: "content.richContent.nodes.audioData.audio.duration" },
|
|
416
436
|
{
|
|
417
437
|
path: "content.richContent.nodes.audioData.coverImage.duration"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
path: "content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
418
444
|
}
|
|
419
445
|
]
|
|
420
446
|
}
|
|
@@ -431,6 +457,9 @@ function getLatestContentByPageId(payload) {
|
|
|
431
457
|
method: "GET",
|
|
432
458
|
methodFqn: "wix.quickpages.content.v1.ContentService.GetLatestContentByPageId",
|
|
433
459
|
packageName: PACKAGE_NAME,
|
|
460
|
+
migrationOptions: {
|
|
461
|
+
optInTransformResponse: true
|
|
462
|
+
},
|
|
434
463
|
url: resolveWixQuickpagesContentV1ContentServiceUrl({
|
|
435
464
|
protoPath: "/v1/contents/page/{pageId}",
|
|
436
465
|
data: payload,
|
|
@@ -533,6 +562,12 @@ function getLatestContentByPageId(payload) {
|
|
|
533
562
|
{ path: "content.richContent.nodes.audioData.audio.duration" },
|
|
534
563
|
{
|
|
535
564
|
path: "content.richContent.nodes.audioData.coverImage.duration"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
path: "content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
536
571
|
}
|
|
537
572
|
]
|
|
538
573
|
}
|
|
@@ -549,6 +584,9 @@ function lockLatestContentByPageId(payload) {
|
|
|
549
584
|
method: "PATCH",
|
|
550
585
|
methodFqn: "wix.quickpages.content.v1.ContentService.LockLatestContentByPageId",
|
|
551
586
|
packageName: PACKAGE_NAME,
|
|
587
|
+
migrationOptions: {
|
|
588
|
+
optInTransformResponse: true
|
|
589
|
+
},
|
|
552
590
|
url: resolveWixQuickpagesContentV1ContentServiceUrl({
|
|
553
591
|
protoPath: "/v1/contents/page/{pageId}/lock",
|
|
554
592
|
data: payload,
|
|
@@ -651,6 +689,12 @@ function lockLatestContentByPageId(payload) {
|
|
|
651
689
|
{ path: "content.richContent.nodes.audioData.audio.duration" },
|
|
652
690
|
{
|
|
653
691
|
path: "content.richContent.nodes.audioData.coverImage.duration"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
path: "content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
654
698
|
}
|
|
655
699
|
]
|
|
656
700
|
}
|
|
@@ -667,6 +711,9 @@ function queryContents(payload) {
|
|
|
667
711
|
method: "GET",
|
|
668
712
|
methodFqn: "wix.quickpages.content.v1.ContentService.QueryContents",
|
|
669
713
|
packageName: PACKAGE_NAME,
|
|
714
|
+
migrationOptions: {
|
|
715
|
+
optInTransformResponse: true
|
|
716
|
+
},
|
|
670
717
|
url: resolveWixQuickpagesContentV1ContentServiceUrl({
|
|
671
718
|
protoPath: "/v1/contents/query",
|
|
672
719
|
data: payload,
|
|
@@ -771,6 +818,12 @@ function queryContents(payload) {
|
|
|
771
818
|
{ path: "contents.richContent.nodes.audioData.audio.duration" },
|
|
772
819
|
{
|
|
773
820
|
path: "contents.richContent.nodes.audioData.coverImage.duration"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
path: "contents.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
path: "contents.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
774
827
|
}
|
|
775
828
|
]
|
|
776
829
|
}
|
|
@@ -983,6 +1036,7 @@ var GIFType = /* @__PURE__ */ ((GIFType2) => {
|
|
|
983
1036
|
var Source = /* @__PURE__ */ ((Source2) => {
|
|
984
1037
|
Source2["HTML"] = "HTML";
|
|
985
1038
|
Source2["ADSENSE"] = "ADSENSE";
|
|
1039
|
+
Source2["AI"] = "AI";
|
|
986
1040
|
return Source2;
|
|
987
1041
|
})(Source || {});
|
|
988
1042
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -1111,6 +1165,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
1111
1165
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
1112
1166
|
return NullValue2;
|
|
1113
1167
|
})(NullValue || {});
|
|
1168
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
1169
|
+
Scaling2["AUTO"] = "AUTO";
|
|
1170
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
1171
|
+
Scaling2["COVER"] = "COVER";
|
|
1172
|
+
return Scaling2;
|
|
1173
|
+
})(Scaling || {});
|
|
1174
|
+
var LayoutDataImagePosition = /* @__PURE__ */ ((LayoutDataImagePosition2) => {
|
|
1175
|
+
LayoutDataImagePosition2["CENTER"] = "CENTER";
|
|
1176
|
+
LayoutDataImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
1177
|
+
LayoutDataImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
1178
|
+
LayoutDataImagePosition2["TOP"] = "TOP";
|
|
1179
|
+
LayoutDataImagePosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
1180
|
+
LayoutDataImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
1181
|
+
LayoutDataImagePosition2["BOTTOM"] = "BOTTOM";
|
|
1182
|
+
LayoutDataImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
1183
|
+
LayoutDataImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1184
|
+
return LayoutDataImagePosition2;
|
|
1185
|
+
})(LayoutDataImagePosition || {});
|
|
1186
|
+
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1187
|
+
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1188
|
+
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
1189
|
+
VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
|
|
1190
|
+
return VerticalAlignmentAlignment2;
|
|
1191
|
+
})(VerticalAlignmentAlignment || {});
|
|
1192
|
+
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
1193
|
+
ResponsivenessBehaviour2["STACK"] = "STACK";
|
|
1194
|
+
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
1195
|
+
return ResponsivenessBehaviour2;
|
|
1196
|
+
})(ResponsivenessBehaviour || {});
|
|
1114
1197
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1115
1198
|
SortOrder2["ASC"] = "ASC";
|
|
1116
1199
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1352,6 +1435,7 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
1352
1435
|
ImageScaling,
|
|
1353
1436
|
InitialExpandedItems,
|
|
1354
1437
|
Layout,
|
|
1438
|
+
LayoutDataImagePosition,
|
|
1355
1439
|
LayoutType,
|
|
1356
1440
|
LineStyle,
|
|
1357
1441
|
MapType,
|
|
@@ -1365,6 +1449,8 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
1365
1449
|
PollLayoutType,
|
|
1366
1450
|
Position,
|
|
1367
1451
|
Resizing,
|
|
1452
|
+
ResponsivenessBehaviour,
|
|
1453
|
+
Scaling,
|
|
1368
1454
|
SortOrder,
|
|
1369
1455
|
Source,
|
|
1370
1456
|
StylesPosition,
|
|
@@ -1373,6 +1459,7 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
1373
1459
|
ThumbnailsAlignment,
|
|
1374
1460
|
Type,
|
|
1375
1461
|
VerticalAlignment,
|
|
1462
|
+
VerticalAlignmentAlignment,
|
|
1376
1463
|
ViewMode,
|
|
1377
1464
|
ViewRole,
|
|
1378
1465
|
VoteRole,
|