@wix/auto_sdk_blog_posts 1.0.173 → 1.0.174
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 +49 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +107 -7
- package/build/cjs/index.typings.js +38 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +106 -2
- package/build/cjs/meta.js +37 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +14 -14
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +47 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +107 -7
- package/build/es/index.typings.mjs +36 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +106 -2
- package/build/es/meta.mjs +35 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +14 -14
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +49 -14
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +107 -7
- package/build/internal/cjs/index.typings.js +38 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +106 -2
- package/build/internal/cjs/meta.js +37 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +14 -14
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +47 -14
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +107 -7
- package/build/internal/es/index.typings.mjs +36 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +106 -2
- package/build/internal/es/meta.mjs +35 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +14 -14
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { QueryPostCountStatsOptions, QueryPostCountStatsResponse, GetTotalPostsOptions, GetTotalPostsResponse, GetPostOptions, GetPostResponse, GetPostBySlugOptions, GetPostBySlugResponse, ListPostsOptions, ListPostsResponse, GetPostMetricsResponse, PostLikedEnvelope, PostUnlikedEnvelope, PostCreatedEnvelope, PostDeletedEnvelope, PostUpdatedEnvelope, PostQuery, QueryPostsOptions, typedQueryPosts, PostsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostCountsRequest, GetPostCountsResponse, GetPostMetricsRequest, GetPostRequest, GetPostsSort, GetPostsSortWithLiterals, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Post, PostCategoriesUpdated, PostCount, PostCountInfo, PostCountPerMonth, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostFieldFieldWithLiterals, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostQuerySpec, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, PricingData, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsRequestOrderWithLiterals, QueryPublicationsCountStatsResponse, Reactions, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, ScheduledPostPublished, SeoSchema, Settings, ShapeData, ShapeDataStyles, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostCountsRequest, GetPostCountsResponse, GetPostMetricsRequest, GetPostRequest, GetPostsSort, GetPostsSortWithLiterals, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, LayerEffect, LayerEffectWithLiterals, Layers, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Post, PostCategoriesUpdated, PostCount, PostCountInfo, PostCountPerMonth, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostFieldFieldWithLiterals, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostQuerySpec, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, PricingData, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsRequestOrderWithLiterals, QueryPublicationsCountStatsResponse, Reactions, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, ScheduledPostPublished, SectionDivider, SeoSchema, Settings, Shape, ShapeData, ShapeDataStyles, ShapeWithLiterals, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
|
|
6
6
|
interface QueryPostCountStatsSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -46,6 +46,7 @@ __export(index_exports, {
|
|
|
46
46
|
ImageScalingScaling: () => ImageScalingScaling,
|
|
47
47
|
Indentation: () => Indentation,
|
|
48
48
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
49
|
+
LayerEffect: () => LayerEffect,
|
|
49
50
|
Layout: () => Layout,
|
|
50
51
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
51
52
|
LayoutType: () => LayoutType,
|
|
@@ -71,6 +72,7 @@ __export(index_exports, {
|
|
|
71
72
|
Resizing: () => Resizing,
|
|
72
73
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
73
74
|
Scaling: () => Scaling,
|
|
75
|
+
Shape: () => Shape,
|
|
74
76
|
SmartBlockDataType: () => SmartBlockDataType,
|
|
75
77
|
SortOrder: () => SortOrder,
|
|
76
78
|
Source: () => Source,
|
|
@@ -1590,6 +1592,39 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1590
1592
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1591
1593
|
return BannerPosition2;
|
|
1592
1594
|
})(BannerPosition || {});
|
|
1595
|
+
var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
|
|
1596
|
+
LayerEffect2["CENTER"] = "CENTER";
|
|
1597
|
+
LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
|
|
1598
|
+
LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
|
|
1599
|
+
return LayerEffect2;
|
|
1600
|
+
})(LayerEffect || {});
|
|
1601
|
+
var Shape = /* @__PURE__ */ ((Shape2) => {
|
|
1602
|
+
Shape2["ELLIPSE"] = "ELLIPSE";
|
|
1603
|
+
Shape2["TILT"] = "TILT";
|
|
1604
|
+
Shape2["LIQUID"] = "LIQUID";
|
|
1605
|
+
Shape2["LEFT_WAVE"] = "LEFT_WAVE";
|
|
1606
|
+
Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
|
|
1607
|
+
Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
|
|
1608
|
+
Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
|
|
1609
|
+
Shape2["DUNES"] = "DUNES";
|
|
1610
|
+
Shape2["WAVES"] = "WAVES";
|
|
1611
|
+
Shape2["TRIANGLE"] = "TRIANGLE";
|
|
1612
|
+
Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
|
|
1613
|
+
Shape2["PLANTS"] = "PLANTS";
|
|
1614
|
+
Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
|
|
1615
|
+
Shape2["PIXELS"] = "PIXELS";
|
|
1616
|
+
Shape2["PAINT"] = "PAINT";
|
|
1617
|
+
Shape2["CLOUDS"] = "CLOUDS";
|
|
1618
|
+
Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
|
|
1619
|
+
Shape2["STRIPES"] = "STRIPES";
|
|
1620
|
+
Shape2["BLOBS"] = "BLOBS";
|
|
1621
|
+
Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
|
|
1622
|
+
Shape2["HILL"] = "HILL";
|
|
1623
|
+
Shape2["BRUSH"] = "BRUSH";
|
|
1624
|
+
Shape2["PEAKS"] = "PEAKS";
|
|
1625
|
+
Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
|
|
1626
|
+
return Shape2;
|
|
1627
|
+
})(Shape || {});
|
|
1593
1628
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1594
1629
|
BackdropType2["COLOR"] = "COLOR";
|
|
1595
1630
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -2090,9 +2125,7 @@ async function typedQueryPosts(query, options) {
|
|
|
2090
2125
|
}
|
|
2091
2126
|
}
|
|
2092
2127
|
var utils = {
|
|
2093
|
-
query:
|
|
2094
|
-
...(0, import_query_builder_utils.createQueryUtils)()
|
|
2095
|
-
}
|
|
2128
|
+
query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
|
|
2096
2129
|
};
|
|
2097
2130
|
async function getPostMetrics2(postId) {
|
|
2098
2131
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -2178,7 +2211,7 @@ function getPostMetrics3(httpClient) {
|
|
|
2178
2211
|
{ httpClient }
|
|
2179
2212
|
);
|
|
2180
2213
|
}
|
|
2181
|
-
var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
2214
|
+
var onPostLiked = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2182
2215
|
"wix.blog.v3.post_liked",
|
|
2183
2216
|
true,
|
|
2184
2217
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2191,7 +2224,7 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
|
|
|
2191
2224
|
["entity.rich_content"]
|
|
2192
2225
|
)
|
|
2193
2226
|
)();
|
|
2194
|
-
var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
2227
|
+
var onPostUnliked = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2195
2228
|
"wix.blog.v3.post_unliked",
|
|
2196
2229
|
true,
|
|
2197
2230
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2204,7 +2237,7 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
|
|
|
2204
2237
|
["entity.rich_content"]
|
|
2205
2238
|
)
|
|
2206
2239
|
)();
|
|
2207
|
-
var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
2240
|
+
var onPostCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2208
2241
|
"wix.blog.v3.post_created",
|
|
2209
2242
|
true,
|
|
2210
2243
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2366,7 +2399,7 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
2366
2399
|
["entity.rich_content"]
|
|
2367
2400
|
)
|
|
2368
2401
|
)();
|
|
2369
|
-
var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
2402
|
+
var onPostDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2370
2403
|
"wix.blog.v3.post_deleted",
|
|
2371
2404
|
true,
|
|
2372
2405
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2528,7 +2561,7 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
2528
2561
|
["entity.rich_content"]
|
|
2529
2562
|
)
|
|
2530
2563
|
)();
|
|
2531
|
-
var onPostUpdated = (0, import_sdk_types.EventDefinition)(
|
|
2564
|
+
var onPostUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2532
2565
|
"wix.blog.v3.post_updated",
|
|
2533
2566
|
true,
|
|
2534
2567
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -2696,7 +2729,7 @@ var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
|
2696
2729
|
var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
|
|
2697
2730
|
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
2698
2731
|
function customQueryPosts(httpClient) {
|
|
2699
|
-
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
2732
|
+
const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
|
|
2700
2733
|
builderQueryFunction: (options) => queryPosts3(httpClient)(options),
|
|
2701
2734
|
typedQueryFunction: (query, options) => typedQueryPosts2(httpClient)(query, options),
|
|
2702
2735
|
hasOptionsParameter: true
|
|
@@ -2713,11 +2746,11 @@ var getPostBySlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
2713
2746
|
var listPosts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listPosts3);
|
|
2714
2747
|
var getPostMetrics4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getPostMetrics3);
|
|
2715
2748
|
var queryPosts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryPosts);
|
|
2716
|
-
var onPostLiked2 = (0, import_event_definition_modules.createEventModule)(onPostLiked);
|
|
2717
|
-
var onPostUnliked2 = (0, import_event_definition_modules.createEventModule)(onPostUnliked);
|
|
2718
|
-
var onPostCreated2 = (0, import_event_definition_modules.createEventModule)(onPostCreated);
|
|
2719
|
-
var onPostDeleted2 = (0, import_event_definition_modules.createEventModule)(onPostDeleted);
|
|
2720
|
-
var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPostUpdated);
|
|
2749
|
+
var onPostLiked2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostLiked);
|
|
2750
|
+
var onPostUnliked2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostUnliked);
|
|
2751
|
+
var onPostCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostCreated);
|
|
2752
|
+
var onPostDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostDeleted);
|
|
2753
|
+
var onPostUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostUpdated);
|
|
2721
2754
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2722
2755
|
0 && (module.exports = {
|
|
2723
2756
|
Alignment,
|
|
@@ -2746,6 +2779,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
2746
2779
|
ImageScalingScaling,
|
|
2747
2780
|
Indentation,
|
|
2748
2781
|
InitialExpandedItems,
|
|
2782
|
+
LayerEffect,
|
|
2749
2783
|
Layout,
|
|
2750
2784
|
LayoutDataBackgroundType,
|
|
2751
2785
|
LayoutType,
|
|
@@ -2771,6 +2805,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
|
2771
2805
|
Resizing,
|
|
2772
2806
|
ResponsivenessBehaviour,
|
|
2773
2807
|
Scaling,
|
|
2808
|
+
Shape,
|
|
2774
2809
|
SmartBlockDataType,
|
|
2775
2810
|
SortOrder,
|
|
2776
2811
|
Source,
|