@wix/auto_sdk_blog_posts 1.0.36 → 1.0.37
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 +2 -2
@@ -482,7 +482,7 @@ interface ButtonData {
|
|
482
482
|
/** Styling for the button's container. */
|
483
483
|
containerData?: PluginContainerData;
|
484
484
|
/** The button type. */
|
485
|
-
type?:
|
485
|
+
type?: ButtonDataTypeWithLiterals;
|
486
486
|
/** Styling for the button. */
|
487
487
|
styles?: Styles;
|
488
488
|
/** The text to display on the button. */
|
@@ -575,14 +575,14 @@ interface Height {
|
|
575
575
|
/** A custom height value in pixels. */
|
576
576
|
custom?: string | null;
|
577
577
|
}
|
578
|
-
declare enum
|
578
|
+
declare enum ButtonDataType {
|
579
579
|
/** Regular link button */
|
580
580
|
LINK = "LINK",
|
581
581
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
582
582
|
ACTION = "ACTION"
|
583
583
|
}
|
584
584
|
/** @enumType */
|
585
|
-
type
|
585
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
586
586
|
interface Styles {
|
587
587
|
/** Border attributes. */
|
588
588
|
border?: Border;
|
@@ -668,7 +668,7 @@ interface DividerData {
|
|
668
668
|
/** Divider width. */
|
669
669
|
width?: WidthWithLiterals;
|
670
670
|
/** Divider alignment. */
|
671
|
-
alignment?:
|
671
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
672
672
|
}
|
673
673
|
declare enum LineStyle {
|
674
674
|
/** Single Line */
|
@@ -692,7 +692,7 @@ declare enum Width {
|
|
692
692
|
}
|
693
693
|
/** @enumType */
|
694
694
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
695
|
-
declare enum
|
695
|
+
declare enum DividerDataAlignment {
|
696
696
|
/** Center alignment */
|
697
697
|
CENTER = "CENTER",
|
698
698
|
/** Left alignment */
|
@@ -701,7 +701,7 @@ declare enum Alignment {
|
|
701
701
|
RIGHT = "RIGHT"
|
702
702
|
}
|
703
703
|
/** @enumType */
|
704
|
-
type
|
704
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
705
705
|
interface FileData {
|
706
706
|
/** Styling for the file's container. */
|
707
707
|
containerData?: PluginContainerData;
|
@@ -826,7 +826,7 @@ interface ItemDataOneOf {
|
|
826
826
|
}
|
827
827
|
interface GalleryOptions {
|
828
828
|
/** Gallery layout. */
|
829
|
-
layout?:
|
829
|
+
layout?: GalleryOptionsLayout;
|
830
830
|
/** Styling for gallery items. */
|
831
831
|
item?: ItemStyle;
|
832
832
|
/** Styling for gallery thumbnail images. */
|
@@ -886,7 +886,7 @@ declare enum ThumbnailsAlignment {
|
|
886
886
|
}
|
887
887
|
/** @enumType */
|
888
888
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
889
|
-
interface
|
889
|
+
interface GalleryOptionsLayout {
|
890
890
|
/** Gallery layout type. */
|
891
891
|
type?: LayoutTypeWithLiterals;
|
892
892
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
@@ -1042,7 +1042,7 @@ interface LinkPreviewData {
|
|
1042
1042
|
/** The preview content as HTML. */
|
1043
1043
|
html?: string | null;
|
1044
1044
|
}
|
1045
|
-
declare enum
|
1045
|
+
declare enum StylesPosition {
|
1046
1046
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
1047
1047
|
START = "START",
|
1048
1048
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
@@ -1053,7 +1053,7 @@ declare enum Position {
|
|
1053
1053
|
HIDDEN = "HIDDEN"
|
1054
1054
|
}
|
1055
1055
|
/** @enumType */
|
1056
|
-
type
|
1056
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
1057
1057
|
interface LinkPreviewDataStyles {
|
1058
1058
|
/**
|
1059
1059
|
* Background color as a hexadecimal value.
|
@@ -1085,7 +1085,7 @@ interface LinkPreviewDataStyles {
|
|
1085
1085
|
*/
|
1086
1086
|
borderColor?: string | null;
|
1087
1087
|
/** Position of thumbnail. Defaults to `START`. */
|
1088
|
-
thumbnailPosition?:
|
1088
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
1089
1089
|
}
|
1090
1090
|
interface MapData {
|
1091
1091
|
/** Styling for the map's container. */
|
@@ -1432,6 +1432,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
1432
1432
|
/** Data for embedded Wix Events content. */
|
1433
1433
|
eventData?: EventData;
|
1434
1434
|
}
|
1435
|
+
declare enum Position {
|
1436
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
1437
|
+
START = "START",
|
1438
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
1439
|
+
END = "END",
|
1440
|
+
/** Image positioned at the top */
|
1441
|
+
TOP = "TOP"
|
1442
|
+
}
|
1443
|
+
/** @enumType */
|
1444
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
1445
|
+
declare enum AspectRatio {
|
1446
|
+
/** 1:1 aspect ratio */
|
1447
|
+
SQUARE = "SQUARE",
|
1448
|
+
/** 16:9 aspect ratio */
|
1449
|
+
RECTANGLE = "RECTANGLE"
|
1450
|
+
}
|
1451
|
+
/** @enumType */
|
1452
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
1453
|
+
declare enum Resizing {
|
1454
|
+
/** Fill the container, may crop the image */
|
1455
|
+
FILL = "FILL",
|
1456
|
+
/** Fit the image within the container */
|
1457
|
+
FIT = "FIT"
|
1458
|
+
}
|
1459
|
+
/** @enumType */
|
1460
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
1461
|
+
declare enum Placement {
|
1462
|
+
/** Ribbon placed on the image */
|
1463
|
+
IMAGE = "IMAGE",
|
1464
|
+
/** Ribbon placed on the product information */
|
1465
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
1466
|
+
}
|
1467
|
+
/** @enumType */
|
1468
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
1469
|
+
declare enum Type {
|
1470
|
+
/** Card with visible border and background */
|
1471
|
+
CONTAINED = "CONTAINED",
|
1472
|
+
/** Card without visible border */
|
1473
|
+
FRAMELESS = "FRAMELESS"
|
1474
|
+
}
|
1475
|
+
/** @enumType */
|
1476
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
1477
|
+
declare enum Alignment {
|
1478
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
1479
|
+
START = "START",
|
1480
|
+
/** Content centered */
|
1481
|
+
CENTER = "CENTER",
|
1482
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
1483
|
+
END = "END"
|
1484
|
+
}
|
1485
|
+
/** @enumType */
|
1486
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
1487
|
+
declare enum Layout {
|
1488
|
+
/** Elements stacked vertically */
|
1489
|
+
STACKED = "STACKED",
|
1490
|
+
/** Elements arranged horizontally */
|
1491
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
1492
|
+
}
|
1493
|
+
/** @enumType */
|
1494
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
1435
1495
|
declare enum AppType {
|
1436
1496
|
PRODUCT = "PRODUCT",
|
1437
1497
|
EVENT = "EVENT",
|
@@ -1449,6 +1509,122 @@ interface EventData {
|
|
1449
1509
|
/** Event location. */
|
1450
1510
|
location?: string | null;
|
1451
1511
|
}
|
1512
|
+
interface ButtonStyles {
|
1513
|
+
/** Text to display on the button. */
|
1514
|
+
buttonText?: string | null;
|
1515
|
+
/** Border width in pixels. */
|
1516
|
+
borderWidth?: number | null;
|
1517
|
+
/** Border radius in pixels. */
|
1518
|
+
borderRadius?: number | null;
|
1519
|
+
/**
|
1520
|
+
* Border color as a hexadecimal value.
|
1521
|
+
* @format COLOR_HEX
|
1522
|
+
*/
|
1523
|
+
borderColor?: string | null;
|
1524
|
+
/**
|
1525
|
+
* Text color as a hexadecimal value.
|
1526
|
+
* @format COLOR_HEX
|
1527
|
+
*/
|
1528
|
+
textColor?: string | null;
|
1529
|
+
/**
|
1530
|
+
* Background color as a hexadecimal value.
|
1531
|
+
* @format COLOR_HEX
|
1532
|
+
*/
|
1533
|
+
backgroundColor?: string | null;
|
1534
|
+
/**
|
1535
|
+
* Border color as a hexadecimal value (hover state).
|
1536
|
+
* @format COLOR_HEX
|
1537
|
+
*/
|
1538
|
+
borderColorHover?: string | null;
|
1539
|
+
/**
|
1540
|
+
* Text color as a hexadecimal value (hover state).
|
1541
|
+
* @format COLOR_HEX
|
1542
|
+
*/
|
1543
|
+
textColorHover?: string | null;
|
1544
|
+
/**
|
1545
|
+
* Background color as a hexadecimal value (hover state).
|
1546
|
+
* @format COLOR_HEX
|
1547
|
+
*/
|
1548
|
+
backgroundColorHover?: string | null;
|
1549
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
1550
|
+
buttonSize?: string | null;
|
1551
|
+
}
|
1552
|
+
interface ImageStyles {
|
1553
|
+
/** Whether to hide the image. */
|
1554
|
+
hideImage?: boolean | null;
|
1555
|
+
/** Position of image. Defaults to `START`. */
|
1556
|
+
imagePosition?: PositionWithLiterals;
|
1557
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
1558
|
+
aspectRatio?: AspectRatioWithLiterals;
|
1559
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
1560
|
+
resizing?: ResizingWithLiterals;
|
1561
|
+
/**
|
1562
|
+
* Image border color as a hexadecimal value.
|
1563
|
+
* @format COLOR_HEX
|
1564
|
+
*/
|
1565
|
+
borderColor?: string | null;
|
1566
|
+
/** Image border width in pixels. */
|
1567
|
+
borderWidth?: number | null;
|
1568
|
+
/** Image border radius in pixels. */
|
1569
|
+
borderRadius?: number | null;
|
1570
|
+
}
|
1571
|
+
interface RibbonStyles {
|
1572
|
+
/** Text to display on the ribbon. */
|
1573
|
+
ribbonText?: string | null;
|
1574
|
+
/**
|
1575
|
+
* Ribbon background color as a hexadecimal value.
|
1576
|
+
* @format COLOR_HEX
|
1577
|
+
*/
|
1578
|
+
backgroundColor?: string | null;
|
1579
|
+
/**
|
1580
|
+
* Ribbon text color as a hexadecimal value.
|
1581
|
+
* @format COLOR_HEX
|
1582
|
+
*/
|
1583
|
+
textColor?: string | null;
|
1584
|
+
/**
|
1585
|
+
* Ribbon border color as a hexadecimal value.
|
1586
|
+
* @format COLOR_HEX
|
1587
|
+
*/
|
1588
|
+
borderColor?: string | null;
|
1589
|
+
/** Ribbon border width in pixels. */
|
1590
|
+
borderWidth?: number | null;
|
1591
|
+
/** Ribbon border radius in pixels. */
|
1592
|
+
borderRadius?: number | null;
|
1593
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
1594
|
+
ribbonPlacement?: PlacementWithLiterals;
|
1595
|
+
}
|
1596
|
+
interface CardStyles {
|
1597
|
+
/**
|
1598
|
+
* Card background color as a hexadecimal value.
|
1599
|
+
* @format COLOR_HEX
|
1600
|
+
*/
|
1601
|
+
backgroundColor?: string | null;
|
1602
|
+
/**
|
1603
|
+
* Card border color as a hexadecimal value.
|
1604
|
+
* @format COLOR_HEX
|
1605
|
+
*/
|
1606
|
+
borderColor?: string | null;
|
1607
|
+
/** Card border width in pixels. */
|
1608
|
+
borderWidth?: number | null;
|
1609
|
+
/** Card border radius in pixels. */
|
1610
|
+
borderRadius?: number | null;
|
1611
|
+
/** Card type. Defaults to `CONTAINED`. */
|
1612
|
+
type?: TypeWithLiterals;
|
1613
|
+
/** Content alignment. Defaults to `START`. */
|
1614
|
+
alignment?: AlignmentWithLiterals;
|
1615
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
1616
|
+
titlePriceLayout?: LayoutWithLiterals;
|
1617
|
+
/**
|
1618
|
+
* Title text color as a hexadecimal value.
|
1619
|
+
* @format COLOR_HEX
|
1620
|
+
*/
|
1621
|
+
titleColor?: string | null;
|
1622
|
+
/**
|
1623
|
+
* Text color as a hexadecimal value.
|
1624
|
+
* @format COLOR_HEX
|
1625
|
+
*/
|
1626
|
+
textColor?: string | null;
|
1627
|
+
}
|
1452
1628
|
interface VideoData {
|
1453
1629
|
/** Styling for the video's container. */
|
1454
1630
|
containerData?: PluginContainerData;
|
@@ -3719,4 +3895,4 @@ interface PostsQueryBuilder {
|
|
3719
3895
|
*/
|
3720
3896
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`>>;
|
3721
3897
|
|
3722
|
-
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,
|
3898
|
+
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,
|