@wix/auto_sdk_blog_posts 1.0.36 → 1.0.38
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 +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +188 -12
- package/build/cjs/index.typings.js +69 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +188 -12
- package/build/es/index.typings.mjs +62 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +188 -12
- package/build/internal/cjs/index.typings.js +69 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +188 -12
- package/build/internal/es/index.typings.mjs +62 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -8
- package/package.json +3 -2
@@ -489,7 +489,7 @@ interface ButtonData {
|
|
489
489
|
/** Styling for the button's container. */
|
490
490
|
containerData?: PluginContainerData;
|
491
491
|
/** The button type. */
|
492
|
-
type?:
|
492
|
+
type?: ButtonDataTypeWithLiterals;
|
493
493
|
/** Styling for the button. */
|
494
494
|
styles?: Styles;
|
495
495
|
/** The text to display on the button. */
|
@@ -582,14 +582,14 @@ interface Height {
|
|
582
582
|
/** A custom height value in pixels. */
|
583
583
|
custom?: string | null;
|
584
584
|
}
|
585
|
-
declare enum
|
585
|
+
declare enum ButtonDataType {
|
586
586
|
/** Regular link button */
|
587
587
|
LINK = "LINK",
|
588
588
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
589
589
|
ACTION = "ACTION"
|
590
590
|
}
|
591
591
|
/** @enumType */
|
592
|
-
type
|
592
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
593
593
|
interface Styles {
|
594
594
|
/** Border attributes. */
|
595
595
|
border?: Border;
|
@@ -675,7 +675,7 @@ interface DividerData {
|
|
675
675
|
/** Divider width. */
|
676
676
|
width?: WidthWithLiterals;
|
677
677
|
/** Divider alignment. */
|
678
|
-
alignment?:
|
678
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
679
679
|
}
|
680
680
|
declare enum LineStyle {
|
681
681
|
/** Single Line */
|
@@ -699,7 +699,7 @@ declare enum Width {
|
|
699
699
|
}
|
700
700
|
/** @enumType */
|
701
701
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
702
|
-
declare enum
|
702
|
+
declare enum DividerDataAlignment {
|
703
703
|
/** Center alignment */
|
704
704
|
CENTER = "CENTER",
|
705
705
|
/** Left alignment */
|
@@ -708,7 +708,7 @@ declare enum Alignment {
|
|
708
708
|
RIGHT = "RIGHT"
|
709
709
|
}
|
710
710
|
/** @enumType */
|
711
|
-
type
|
711
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
712
712
|
interface FileData {
|
713
713
|
/** Styling for the file's container. */
|
714
714
|
containerData?: PluginContainerData;
|
@@ -833,7 +833,7 @@ interface ItemDataOneOf {
|
|
833
833
|
}
|
834
834
|
interface GalleryOptions {
|
835
835
|
/** Gallery layout. */
|
836
|
-
layout?:
|
836
|
+
layout?: GalleryOptionsLayout;
|
837
837
|
/** Styling for gallery items. */
|
838
838
|
item?: ItemStyle;
|
839
839
|
/** Styling for gallery thumbnail images. */
|
@@ -893,7 +893,7 @@ declare enum ThumbnailsAlignment {
|
|
893
893
|
}
|
894
894
|
/** @enumType */
|
895
895
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
896
|
-
interface
|
896
|
+
interface GalleryOptionsLayout {
|
897
897
|
/** Gallery layout type. */
|
898
898
|
type?: LayoutTypeWithLiterals;
|
899
899
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
@@ -1049,7 +1049,7 @@ interface LinkPreviewData {
|
|
1049
1049
|
/** The preview content as HTML. */
|
1050
1050
|
html?: string | null;
|
1051
1051
|
}
|
1052
|
-
declare enum
|
1052
|
+
declare enum StylesPosition {
|
1053
1053
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
1054
1054
|
START = "START",
|
1055
1055
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
@@ -1060,7 +1060,7 @@ declare enum Position {
|
|
1060
1060
|
HIDDEN = "HIDDEN"
|
1061
1061
|
}
|
1062
1062
|
/** @enumType */
|
1063
|
-
type
|
1063
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
1064
1064
|
interface LinkPreviewDataStyles {
|
1065
1065
|
/**
|
1066
1066
|
* Background color as a hexadecimal value.
|
@@ -1092,7 +1092,7 @@ interface LinkPreviewDataStyles {
|
|
1092
1092
|
*/
|
1093
1093
|
borderColor?: string | null;
|
1094
1094
|
/** Position of thumbnail. Defaults to `START`. */
|
1095
|
-
thumbnailPosition?:
|
1095
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
1096
1096
|
}
|
1097
1097
|
interface MapData {
|
1098
1098
|
/** Styling for the map's container. */
|
@@ -1439,6 +1439,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
1439
1439
|
/** Data for embedded Wix Events content. */
|
1440
1440
|
eventData?: EventData;
|
1441
1441
|
}
|
1442
|
+
declare enum Position {
|
1443
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
1444
|
+
START = "START",
|
1445
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
1446
|
+
END = "END",
|
1447
|
+
/** Image positioned at the top */
|
1448
|
+
TOP = "TOP"
|
1449
|
+
}
|
1450
|
+
/** @enumType */
|
1451
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
1452
|
+
declare enum AspectRatio {
|
1453
|
+
/** 1:1 aspect ratio */
|
1454
|
+
SQUARE = "SQUARE",
|
1455
|
+
/** 16:9 aspect ratio */
|
1456
|
+
RECTANGLE = "RECTANGLE"
|
1457
|
+
}
|
1458
|
+
/** @enumType */
|
1459
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
1460
|
+
declare enum Resizing {
|
1461
|
+
/** Fill the container, may crop the image */
|
1462
|
+
FILL = "FILL",
|
1463
|
+
/** Fit the image within the container */
|
1464
|
+
FIT = "FIT"
|
1465
|
+
}
|
1466
|
+
/** @enumType */
|
1467
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
1468
|
+
declare enum Placement {
|
1469
|
+
/** Ribbon placed on the image */
|
1470
|
+
IMAGE = "IMAGE",
|
1471
|
+
/** Ribbon placed on the product information */
|
1472
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
1473
|
+
}
|
1474
|
+
/** @enumType */
|
1475
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
1476
|
+
declare enum Type {
|
1477
|
+
/** Card with visible border and background */
|
1478
|
+
CONTAINED = "CONTAINED",
|
1479
|
+
/** Card without visible border */
|
1480
|
+
FRAMELESS = "FRAMELESS"
|
1481
|
+
}
|
1482
|
+
/** @enumType */
|
1483
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
1484
|
+
declare enum Alignment {
|
1485
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
1486
|
+
START = "START",
|
1487
|
+
/** Content centered */
|
1488
|
+
CENTER = "CENTER",
|
1489
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
1490
|
+
END = "END"
|
1491
|
+
}
|
1492
|
+
/** @enumType */
|
1493
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
1494
|
+
declare enum Layout {
|
1495
|
+
/** Elements stacked vertically */
|
1496
|
+
STACKED = "STACKED",
|
1497
|
+
/** Elements arranged horizontally */
|
1498
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
1499
|
+
}
|
1500
|
+
/** @enumType */
|
1501
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
1442
1502
|
declare enum AppType {
|
1443
1503
|
PRODUCT = "PRODUCT",
|
1444
1504
|
EVENT = "EVENT",
|
@@ -1456,6 +1516,122 @@ interface EventData {
|
|
1456
1516
|
/** Event location. */
|
1457
1517
|
location?: string | null;
|
1458
1518
|
}
|
1519
|
+
interface ButtonStyles {
|
1520
|
+
/** Text to display on the button. */
|
1521
|
+
buttonText?: string | null;
|
1522
|
+
/** Border width in pixels. */
|
1523
|
+
borderWidth?: number | null;
|
1524
|
+
/** Border radius in pixels. */
|
1525
|
+
borderRadius?: number | null;
|
1526
|
+
/**
|
1527
|
+
* Border color as a hexadecimal value.
|
1528
|
+
* @format COLOR_HEX
|
1529
|
+
*/
|
1530
|
+
borderColor?: string | null;
|
1531
|
+
/**
|
1532
|
+
* Text color as a hexadecimal value.
|
1533
|
+
* @format COLOR_HEX
|
1534
|
+
*/
|
1535
|
+
textColor?: string | null;
|
1536
|
+
/**
|
1537
|
+
* Background color as a hexadecimal value.
|
1538
|
+
* @format COLOR_HEX
|
1539
|
+
*/
|
1540
|
+
backgroundColor?: string | null;
|
1541
|
+
/**
|
1542
|
+
* Border color as a hexadecimal value (hover state).
|
1543
|
+
* @format COLOR_HEX
|
1544
|
+
*/
|
1545
|
+
borderColorHover?: string | null;
|
1546
|
+
/**
|
1547
|
+
* Text color as a hexadecimal value (hover state).
|
1548
|
+
* @format COLOR_HEX
|
1549
|
+
*/
|
1550
|
+
textColorHover?: string | null;
|
1551
|
+
/**
|
1552
|
+
* Background color as a hexadecimal value (hover state).
|
1553
|
+
* @format COLOR_HEX
|
1554
|
+
*/
|
1555
|
+
backgroundColorHover?: string | null;
|
1556
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
1557
|
+
buttonSize?: string | null;
|
1558
|
+
}
|
1559
|
+
interface ImageStyles {
|
1560
|
+
/** Whether to hide the image. */
|
1561
|
+
hideImage?: boolean | null;
|
1562
|
+
/** Position of image. Defaults to `START`. */
|
1563
|
+
imagePosition?: PositionWithLiterals;
|
1564
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
1565
|
+
aspectRatio?: AspectRatioWithLiterals;
|
1566
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
1567
|
+
resizing?: ResizingWithLiterals;
|
1568
|
+
/**
|
1569
|
+
* Image border color as a hexadecimal value.
|
1570
|
+
* @format COLOR_HEX
|
1571
|
+
*/
|
1572
|
+
borderColor?: string | null;
|
1573
|
+
/** Image border width in pixels. */
|
1574
|
+
borderWidth?: number | null;
|
1575
|
+
/** Image border radius in pixels. */
|
1576
|
+
borderRadius?: number | null;
|
1577
|
+
}
|
1578
|
+
interface RibbonStyles {
|
1579
|
+
/** Text to display on the ribbon. */
|
1580
|
+
ribbonText?: string | null;
|
1581
|
+
/**
|
1582
|
+
* Ribbon background color as a hexadecimal value.
|
1583
|
+
* @format COLOR_HEX
|
1584
|
+
*/
|
1585
|
+
backgroundColor?: string | null;
|
1586
|
+
/**
|
1587
|
+
* Ribbon text color as a hexadecimal value.
|
1588
|
+
* @format COLOR_HEX
|
1589
|
+
*/
|
1590
|
+
textColor?: string | null;
|
1591
|
+
/**
|
1592
|
+
* Ribbon border color as a hexadecimal value.
|
1593
|
+
* @format COLOR_HEX
|
1594
|
+
*/
|
1595
|
+
borderColor?: string | null;
|
1596
|
+
/** Ribbon border width in pixels. */
|
1597
|
+
borderWidth?: number | null;
|
1598
|
+
/** Ribbon border radius in pixels. */
|
1599
|
+
borderRadius?: number | null;
|
1600
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
1601
|
+
ribbonPlacement?: PlacementWithLiterals;
|
1602
|
+
}
|
1603
|
+
interface CardStyles {
|
1604
|
+
/**
|
1605
|
+
* Card background color as a hexadecimal value.
|
1606
|
+
* @format COLOR_HEX
|
1607
|
+
*/
|
1608
|
+
backgroundColor?: string | null;
|
1609
|
+
/**
|
1610
|
+
* Card border color as a hexadecimal value.
|
1611
|
+
* @format COLOR_HEX
|
1612
|
+
*/
|
1613
|
+
borderColor?: string | null;
|
1614
|
+
/** Card border width in pixels. */
|
1615
|
+
borderWidth?: number | null;
|
1616
|
+
/** Card border radius in pixels. */
|
1617
|
+
borderRadius?: number | null;
|
1618
|
+
/** Card type. Defaults to `CONTAINED`. */
|
1619
|
+
type?: TypeWithLiterals;
|
1620
|
+
/** Content alignment. Defaults to `START`. */
|
1621
|
+
alignment?: AlignmentWithLiterals;
|
1622
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
1623
|
+
titlePriceLayout?: LayoutWithLiterals;
|
1624
|
+
/**
|
1625
|
+
* Title text color as a hexadecimal value.
|
1626
|
+
* @format COLOR_HEX
|
1627
|
+
*/
|
1628
|
+
titleColor?: string | null;
|
1629
|
+
/**
|
1630
|
+
* Text color as a hexadecimal value.
|
1631
|
+
* @format COLOR_HEX
|
1632
|
+
*/
|
1633
|
+
textColor?: string | null;
|
1634
|
+
}
|
1459
1635
|
interface VideoData {
|
1460
1636
|
/** Styling for the video's container. */
|
1461
1637
|
containerData?: PluginContainerData;
|
@@ -3726,4 +3902,4 @@ interface PostsQueryBuilder {
|
|
3726
3902
|
*/
|
3727
3903
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`>>;
|
3728
3904
|
|
3729
|
-
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkGetPostMetricsRequest, type BulkGetPostMetricsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, type CaptionData, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword,
|
3905
|
+
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkGetPostMetricsRequest, type BulkGetPostMetricsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, 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 DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type OldBlogMigratedEvent, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type ScheduledPostPublished, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
|
@@ -893,11 +893,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
893
893
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
894
894
|
return PluginContainerDataAlignment2;
|
895
895
|
})(PluginContainerDataAlignment || {});
|
896
|
-
var
|
897
|
-
|
898
|
-
|
899
|
-
return
|
900
|
-
})(
|
896
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
897
|
+
ButtonDataType2["LINK"] = "LINK";
|
898
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
899
|
+
return ButtonDataType2;
|
900
|
+
})(ButtonDataType || {});
|
901
901
|
var Target = /* @__PURE__ */ ((Target2) => {
|
902
902
|
Target2["SELF"] = "SELF";
|
903
903
|
Target2["BLANK"] = "BLANK";
|
@@ -926,12 +926,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
926
926
|
Width2["SMALL"] = "SMALL";
|
927
927
|
return Width2;
|
928
928
|
})(Width || {});
|
929
|
-
var
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
return
|
934
|
-
})(
|
929
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
930
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
931
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
932
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
933
|
+
return DividerDataAlignment2;
|
934
|
+
})(DividerDataAlignment || {});
|
935
935
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
936
936
|
ViewMode2["NONE"] = "NONE";
|
937
937
|
ViewMode2["FULL"] = "FULL";
|
@@ -979,13 +979,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
979
979
|
Source2["ADSENSE"] = "ADSENSE";
|
980
980
|
return Source2;
|
981
981
|
})(Source || {});
|
982
|
-
var
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
return
|
988
|
-
})(
|
982
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
983
|
+
StylesPosition2["START"] = "START";
|
984
|
+
StylesPosition2["END"] = "END";
|
985
|
+
StylesPosition2["TOP"] = "TOP";
|
986
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
987
|
+
return StylesPosition2;
|
988
|
+
})(StylesPosition || {});
|
989
989
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
990
990
|
MapType2["ROADMAP"] = "ROADMAP";
|
991
991
|
MapType2["SATELITE"] = "SATELITE";
|
@@ -1038,6 +1038,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
1038
1038
|
FontType2["EM"] = "EM";
|
1039
1039
|
return FontType2;
|
1040
1040
|
})(FontType || {});
|
1041
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
1042
|
+
Position2["START"] = "START";
|
1043
|
+
Position2["END"] = "END";
|
1044
|
+
Position2["TOP"] = "TOP";
|
1045
|
+
return Position2;
|
1046
|
+
})(Position || {});
|
1047
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
1048
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
1049
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
1050
|
+
return AspectRatio2;
|
1051
|
+
})(AspectRatio || {});
|
1052
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
1053
|
+
Resizing2["FILL"] = "FILL";
|
1054
|
+
Resizing2["FIT"] = "FIT";
|
1055
|
+
return Resizing2;
|
1056
|
+
})(Resizing || {});
|
1057
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
1058
|
+
Placement2["IMAGE"] = "IMAGE";
|
1059
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
1060
|
+
return Placement2;
|
1061
|
+
})(Placement || {});
|
1062
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
1063
|
+
Type2["CONTAINED"] = "CONTAINED";
|
1064
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
1065
|
+
return Type2;
|
1066
|
+
})(Type || {});
|
1067
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
1068
|
+
Alignment2["START"] = "START";
|
1069
|
+
Alignment2["CENTER"] = "CENTER";
|
1070
|
+
Alignment2["END"] = "END";
|
1071
|
+
return Alignment2;
|
1072
|
+
})(Alignment || {});
|
1073
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
1074
|
+
Layout2["STACKED"] = "STACKED";
|
1075
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
1076
|
+
return Layout2;
|
1077
|
+
})(Layout || {});
|
1041
1078
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
1042
1079
|
AppType2["PRODUCT"] = "PRODUCT";
|
1043
1080
|
AppType2["EVENT"] = "EVENT";
|
@@ -1509,16 +1546,20 @@ async function getPostMetrics2(postId) {
|
|
1509
1546
|
export {
|
1510
1547
|
Alignment,
|
1511
1548
|
AppType,
|
1549
|
+
AspectRatio,
|
1512
1550
|
BackgroundType,
|
1551
|
+
ButtonDataType,
|
1513
1552
|
Crop,
|
1514
1553
|
DecorationType,
|
1515
1554
|
Direction,
|
1555
|
+
DividerDataAlignment,
|
1516
1556
|
Field,
|
1517
1557
|
FontType,
|
1518
1558
|
GIFType,
|
1519
1559
|
GetPostTemplatesSort,
|
1520
1560
|
GetPostsSort,
|
1521
1561
|
InitialExpandedItems,
|
1562
|
+
Layout,
|
1522
1563
|
LayoutType,
|
1523
1564
|
LineStyle,
|
1524
1565
|
MapType,
|
@@ -1528,15 +1569,18 @@ export {
|
|
1528
1569
|
Order,
|
1529
1570
|
Orientation,
|
1530
1571
|
Origin,
|
1572
|
+
Placement,
|
1531
1573
|
PluginContainerDataAlignment,
|
1532
1574
|
PollLayoutDirection,
|
1533
1575
|
PollLayoutType,
|
1534
1576
|
Position,
|
1535
1577
|
PostFieldField,
|
1536
1578
|
QueryPublicationsCountStatsRequestOrder,
|
1579
|
+
Resizing,
|
1537
1580
|
SortOrder,
|
1538
1581
|
Source,
|
1539
1582
|
Status,
|
1583
|
+
StylesPosition,
|
1540
1584
|
Target,
|
1541
1585
|
TextAlignment,
|
1542
1586
|
ThumbnailsAlignment,
|