@wix/auto_sdk_quick-pages_contents 1.0.17 → 1.0.18
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 +39 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +60 -5
- package/build/cjs/index.typings.js +39 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +60 -5
- package/build/cjs/meta.js +39 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +37 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +60 -5
- package/build/es/index.typings.mjs +37 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +60 -5
- package/build/es/meta.mjs +37 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +39 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +60 -5
- package/build/internal/cjs/index.typings.js +39 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +60 -5
- package/build/internal/cjs/meta.js +39 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +37 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +60 -5
- package/build/internal/es/index.typings.mjs +37 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +60 -5
- package/build/internal/es/meta.mjs +37 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +5 -4
|
@@ -579,6 +579,8 @@ interface Node extends NodeDataOneOf {
|
|
|
579
579
|
shapeData?: ShapeData;
|
|
580
580
|
/** Data for a card node. */
|
|
581
581
|
cardData?: CardData;
|
|
582
|
+
/** Data for a table of contents node. */
|
|
583
|
+
tocData?: TocData;
|
|
582
584
|
/** 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. */
|
|
583
585
|
type?: NodeTypeWithLiterals;
|
|
584
586
|
/** Node ID. */
|
|
@@ -650,6 +652,8 @@ interface NodeDataOneOf {
|
|
|
650
652
|
shapeData?: ShapeData;
|
|
651
653
|
/** Data for a card node. */
|
|
652
654
|
cardData?: CardData;
|
|
655
|
+
/** Data for a table of contents node. */
|
|
656
|
+
tocData?: TocData;
|
|
653
657
|
}
|
|
654
658
|
declare enum NodeType {
|
|
655
659
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -687,10 +691,11 @@ declare enum NodeType {
|
|
|
687
691
|
LAYOUT = "LAYOUT",
|
|
688
692
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
689
693
|
SHAPE = "SHAPE",
|
|
690
|
-
CARD = "CARD"
|
|
694
|
+
CARD = "CARD",
|
|
695
|
+
TOC = "TOC"
|
|
691
696
|
}
|
|
692
697
|
/** @enumType */
|
|
693
|
-
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';
|
|
698
|
+
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';
|
|
694
699
|
interface NodeStyle {
|
|
695
700
|
/** The top padding value in pixels. */
|
|
696
701
|
paddingTop?: string | null;
|
|
@@ -1319,6 +1324,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
1319
1324
|
* @deprecated
|
|
1320
1325
|
*/
|
|
1321
1326
|
isAdsense?: boolean | null;
|
|
1327
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1328
|
+
widgetId?: string;
|
|
1322
1329
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
1323
1330
|
containerData?: PluginContainerData;
|
|
1324
1331
|
/** The type of HTML code. */
|
|
@@ -1337,14 +1344,17 @@ interface HTMLDataDataOneOf {
|
|
|
1337
1344
|
* @deprecated
|
|
1338
1345
|
*/
|
|
1339
1346
|
isAdsense?: boolean | null;
|
|
1347
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1348
|
+
widgetId?: string;
|
|
1340
1349
|
}
|
|
1341
1350
|
declare enum Source {
|
|
1342
1351
|
HTML = "HTML",
|
|
1343
1352
|
ADSENSE = "ADSENSE",
|
|
1344
|
-
AI = "AI"
|
|
1353
|
+
AI = "AI",
|
|
1354
|
+
AI_WIDGET = "AI_WIDGET"
|
|
1345
1355
|
}
|
|
1346
1356
|
/** @enumType */
|
|
1347
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
1357
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
1348
1358
|
interface ImageData {
|
|
1349
1359
|
/** Styling for the image's container. */
|
|
1350
1360
|
containerData?: PluginContainerData;
|
|
@@ -2572,6 +2582,51 @@ interface BackgroundImage {
|
|
|
2572
2582
|
/** Position of background. Defaults to `CENTER`. */
|
|
2573
2583
|
position?: ImagePositionPositionWithLiterals;
|
|
2574
2584
|
}
|
|
2585
|
+
interface TocData {
|
|
2586
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2587
|
+
includedHeadings?: number[];
|
|
2588
|
+
/** List style. Default: PLAIN. */
|
|
2589
|
+
listStyle?: ListStyleWithLiterals;
|
|
2590
|
+
/** Optional override for the font size in pixels. */
|
|
2591
|
+
fontSize?: number | null;
|
|
2592
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2593
|
+
itemSpacing?: number | null;
|
|
2594
|
+
/**
|
|
2595
|
+
* Optional override for the text color.
|
|
2596
|
+
* @format COLOR_HEX
|
|
2597
|
+
*/
|
|
2598
|
+
color?: string | null;
|
|
2599
|
+
/** Indentation style. Default: NESTED. */
|
|
2600
|
+
indentation?: IndentationWithLiterals;
|
|
2601
|
+
}
|
|
2602
|
+
/** List style. */
|
|
2603
|
+
declare enum ListStyle {
|
|
2604
|
+
/** No markers (default) */
|
|
2605
|
+
PLAIN = "PLAIN",
|
|
2606
|
+
/** Numbered list */
|
|
2607
|
+
NUMBERED = "NUMBERED",
|
|
2608
|
+
/** Alphabetic letters */
|
|
2609
|
+
LETTERS = "LETTERS",
|
|
2610
|
+
/** Roman numerals */
|
|
2611
|
+
ROMAN = "ROMAN",
|
|
2612
|
+
/** Bulleted list */
|
|
2613
|
+
BULLETED = "BULLETED",
|
|
2614
|
+
/** Alphabetical index */
|
|
2615
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2616
|
+
/** Alphabetical index (compact top-row only) */
|
|
2617
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2618
|
+
}
|
|
2619
|
+
/** @enumType */
|
|
2620
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2621
|
+
/** Indentation style. */
|
|
2622
|
+
declare enum Indentation {
|
|
2623
|
+
/** Sub-headings indented under parents (default) */
|
|
2624
|
+
NESTED = "NESTED",
|
|
2625
|
+
/** All items at the same level */
|
|
2626
|
+
FLAT = "FLAT"
|
|
2627
|
+
}
|
|
2628
|
+
/** @enumType */
|
|
2629
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2575
2630
|
interface Metadata {
|
|
2576
2631
|
/** Schema version. */
|
|
2577
2632
|
version?: number;
|
|
@@ -3078,4 +3133,4 @@ declare const utils: {
|
|
|
3078
3133
|
};
|
|
3079
3134
|
};
|
|
3080
3135
|
|
|
3081
|
-
export { type AccountInfo, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundBackgroundTypeOptionsOneOf, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type Button, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type Center, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type CommonQueryWithEntityContext, type Content, type ContentQuery, type ContentQuerySpec, 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, 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 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 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, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScaling, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemImage, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, 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, Origin, type OriginWithLiterals, 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, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBackground, StylesBackgroundType, type StylesBackgroundTypeWithLiterals, 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 V1Gradient, V1GradientType, type V1GradientTypeWithLiterals, 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, typedQueryContents, utils };
|
|
3136
|
+
export { type AccountInfo, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundBackgroundTypeOptionsOneOf, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type Button, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type Center, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type CommonQueryWithEntityContext, type Content, type ContentQuery, type ContentQuerySpec, 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, 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 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 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, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScaling, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemImage, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutDataImagePosition, type LayoutDataImagePositionWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, ListStyle, type ListStyleWithLiterals, 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, Origin, type OriginWithLiterals, 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, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBackground, StylesBackgroundType, type StylesBackgroundTypeWithLiterals, 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 TocData, Type, type TypeWithLiterals, type Typography, type V1Gradient, V1GradientType, type V1GradientTypeWithLiterals, 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, typedQueryContents, utils };
|
|
@@ -42,12 +42,14 @@ __export(index_typings_exports, {
|
|
|
42
42
|
ImagePositionPosition: () => ImagePositionPosition,
|
|
43
43
|
ImageScaling: () => ImageScaling,
|
|
44
44
|
ImageScalingScaling: () => ImageScalingScaling,
|
|
45
|
+
Indentation: () => Indentation,
|
|
45
46
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
46
47
|
Layout: () => Layout,
|
|
47
48
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
48
49
|
LayoutDataImagePosition: () => LayoutDataImagePosition,
|
|
49
50
|
LayoutType: () => LayoutType,
|
|
50
51
|
LineStyle: () => LineStyle,
|
|
52
|
+
ListStyle: () => ListStyle,
|
|
51
53
|
MapType: () => MapType,
|
|
52
54
|
NodeType: () => NodeType,
|
|
53
55
|
NullValue: () => NullValue,
|
|
@@ -287,7 +289,9 @@ function getContent(payload) {
|
|
|
287
289
|
},
|
|
288
290
|
{
|
|
289
291
|
path: "content.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
290
|
-
}
|
|
292
|
+
},
|
|
293
|
+
{ path: "content.richContent.nodes.tocData.fontSize" },
|
|
294
|
+
{ path: "content.richContent.nodes.tocData.itemSpacing" }
|
|
291
295
|
]
|
|
292
296
|
}
|
|
293
297
|
])
|
|
@@ -409,7 +413,9 @@ function submitContent(payload) {
|
|
|
409
413
|
{
|
|
410
414
|
path: "richContent.nodes.cardData.background.gradient.stops.position"
|
|
411
415
|
},
|
|
412
|
-
{ path: "richContent.nodes.cardData.backgroundImage.media.duration" }
|
|
416
|
+
{ path: "richContent.nodes.cardData.backgroundImage.media.duration" },
|
|
417
|
+
{ path: "richContent.nodes.tocData.fontSize" },
|
|
418
|
+
{ path: "richContent.nodes.tocData.itemSpacing" }
|
|
413
419
|
]
|
|
414
420
|
},
|
|
415
421
|
{
|
|
@@ -585,7 +591,9 @@ function submitContent(payload) {
|
|
|
585
591
|
},
|
|
586
592
|
{
|
|
587
593
|
path: "content.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
588
|
-
}
|
|
594
|
+
},
|
|
595
|
+
{ path: "content.richContent.nodes.tocData.fontSize" },
|
|
596
|
+
{ path: "content.richContent.nodes.tocData.itemSpacing" }
|
|
589
597
|
]
|
|
590
598
|
}
|
|
591
599
|
])
|
|
@@ -761,7 +769,9 @@ function getLatestContentByPageId(payload) {
|
|
|
761
769
|
},
|
|
762
770
|
{
|
|
763
771
|
path: "content.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
764
|
-
}
|
|
772
|
+
},
|
|
773
|
+
{ path: "content.richContent.nodes.tocData.fontSize" },
|
|
774
|
+
{ path: "content.richContent.nodes.tocData.itemSpacing" }
|
|
765
775
|
]
|
|
766
776
|
}
|
|
767
777
|
])
|
|
@@ -937,7 +947,9 @@ function lockLatestContentByPageId(payload) {
|
|
|
937
947
|
},
|
|
938
948
|
{
|
|
939
949
|
path: "content.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
940
|
-
}
|
|
950
|
+
},
|
|
951
|
+
{ path: "content.richContent.nodes.tocData.fontSize" },
|
|
952
|
+
{ path: "content.richContent.nodes.tocData.itemSpacing" }
|
|
941
953
|
]
|
|
942
954
|
}
|
|
943
955
|
])
|
|
@@ -1115,7 +1127,9 @@ function queryContents(payload) {
|
|
|
1115
1127
|
},
|
|
1116
1128
|
{
|
|
1117
1129
|
path: "contents.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1118
|
-
}
|
|
1130
|
+
},
|
|
1131
|
+
{ path: "contents.richContent.nodes.tocData.fontSize" },
|
|
1132
|
+
{ path: "contents.richContent.nodes.tocData.itemSpacing" }
|
|
1119
1133
|
]
|
|
1120
1134
|
}
|
|
1121
1135
|
]),
|
|
@@ -1224,6 +1238,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
1224
1238
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
1225
1239
|
NodeType2["SHAPE"] = "SHAPE";
|
|
1226
1240
|
NodeType2["CARD"] = "CARD";
|
|
1241
|
+
NodeType2["TOC"] = "TOC";
|
|
1227
1242
|
return NodeType2;
|
|
1228
1243
|
})(NodeType || {});
|
|
1229
1244
|
var StylesBackgroundType = /* @__PURE__ */ ((StylesBackgroundType2) => {
|
|
@@ -1334,6 +1349,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
1334
1349
|
Source2["HTML"] = "HTML";
|
|
1335
1350
|
Source2["ADSENSE"] = "ADSENSE";
|
|
1336
1351
|
Source2["AI"] = "AI";
|
|
1352
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
1337
1353
|
return Source2;
|
|
1338
1354
|
})(Source || {});
|
|
1339
1355
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -1535,6 +1551,21 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
|
1535
1551
|
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1536
1552
|
return CardDataBackgroundType2;
|
|
1537
1553
|
})(CardDataBackgroundType || {});
|
|
1554
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
1555
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
1556
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
1557
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
1558
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
1559
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
1560
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
1561
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
1562
|
+
return ListStyle2;
|
|
1563
|
+
})(ListStyle || {});
|
|
1564
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
1565
|
+
Indentation2["NESTED"] = "NESTED";
|
|
1566
|
+
Indentation2["FLAT"] = "FLAT";
|
|
1567
|
+
return Indentation2;
|
|
1568
|
+
})(Indentation || {});
|
|
1538
1569
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1539
1570
|
SortOrder2["ASC"] = "ASC";
|
|
1540
1571
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1764,12 +1795,14 @@ var utils = {
|
|
|
1764
1795
|
ImagePositionPosition,
|
|
1765
1796
|
ImageScaling,
|
|
1766
1797
|
ImageScalingScaling,
|
|
1798
|
+
Indentation,
|
|
1767
1799
|
InitialExpandedItems,
|
|
1768
1800
|
Layout,
|
|
1769
1801
|
LayoutDataBackgroundType,
|
|
1770
1802
|
LayoutDataImagePosition,
|
|
1771
1803
|
LayoutType,
|
|
1772
1804
|
LineStyle,
|
|
1805
|
+
ListStyle,
|
|
1773
1806
|
MapType,
|
|
1774
1807
|
NodeType,
|
|
1775
1808
|
NullValue,
|