@wix/blog_posts
Advanced tools
Comparing version 1.0.65 to 1.0.66
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./src/blog-v3-post-posts.context"), exports); | ||
__exportStar(require("./src/blog-v3-post-posts.context.js"), exports); | ||
//# sourceMappingURL=context.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./src/blog-v3-post-posts.context"), exports); | ||
__exportStar(require("./src/blog-v3-post-posts.context.js"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.universal'; | ||
export * from './src/blog-v3-post-posts.universal.js'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./src/blog-v3-post-posts.universal"), exports); | ||
__exportStar(require("./src/blog-v3-post-posts.universal.js"), exports); | ||
//# sourceMappingURL=index.typings.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.meta'; | ||
export * from './src/blog-v3-post-posts.meta.js'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./src/blog-v3-post-posts.meta"), exports); | ||
__exportStar(require("./src/blog-v3-post-posts.meta.js"), exports); | ||
//# sourceMappingURL=meta.js.map |
@@ -1,9 +0,9 @@ | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post-posts.public'; | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post-posts.public.js'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public.js'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public.js'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public.js'; | ||
export declare const getPost: MaybeContext<BuildRESTFunction<typeof publicGetPost> & typeof publicGetPost>; | ||
@@ -16,33 +16,23 @@ export declare const getPostBySlug: MaybeContext<BuildRESTFunction<typeof publicGetPostBySlug> & typeof publicGetPostBySlug>; | ||
export declare const getTotalPosts: MaybeContext<BuildRESTFunction<typeof publicGetTotalPosts> & typeof publicGetTotalPosts>; | ||
export { publicOnPostCreated }; | ||
export type _publicOnPostCreatedType = typeof publicOnPostCreated; | ||
/** | ||
* Triggered when a post is created. | ||
*/ | ||
export declare const onPostCreated: ReturnType<typeof createEventModule<_publicOnPostCreatedType>>; | ||
export { publicOnPostDeleted }; | ||
export type _publicOnPostDeletedType = typeof publicOnPostDeleted; | ||
export declare const onPostCreated: ReturnType<typeof createEventModule<typeof publicOnPostCreated>>; | ||
/** | ||
* Triggered when a post is deleted. | ||
*/ | ||
export declare const onPostDeleted: ReturnType<typeof createEventModule<_publicOnPostDeletedType>>; | ||
export { publicOnPostLiked }; | ||
export type _publicOnPostLikedType = typeof publicOnPostLiked; | ||
export declare const onPostDeleted: ReturnType<typeof createEventModule<typeof publicOnPostDeleted>>; | ||
/** | ||
* Triggered when a post is liked. | ||
*/ | ||
export declare const onPostLiked: ReturnType<typeof createEventModule<_publicOnPostLikedType>>; | ||
export { publicOnPostUnliked }; | ||
export type _publicOnPostUnlikedType = typeof publicOnPostUnliked; | ||
export declare const onPostLiked: ReturnType<typeof createEventModule<typeof publicOnPostLiked>>; | ||
/** | ||
* Triggered when a post is unliked. | ||
*/ | ||
export declare const onPostUnliked: ReturnType<typeof createEventModule<_publicOnPostUnlikedType>>; | ||
export { publicOnPostUpdated }; | ||
export type _publicOnPostUpdatedType = typeof publicOnPostUpdated; | ||
export declare const onPostUnliked: ReturnType<typeof createEventModule<typeof publicOnPostUnliked>>; | ||
/** | ||
* Triggered when a post is updated. | ||
*/ | ||
export declare const onPostUpdated: ReturnType<typeof createEventModule<_publicOnPostUpdatedType>>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, FocalPoint, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, CaptionData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, PostTranslation, OldBlogMigratedEvent, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, ListDemoPostsRequest, BlogPaging, ListDemoPostsResponse, MetaData, ListTemplatesRequest, ListTemplatesResponse, Category, CategoryTranslation, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, LikePostRequest, LikePostResponse, UnlikePostRequest, UnlikePostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostResponseNonNullableFields, GetPostBySlugResponseNonNullableFields, ListPostsResponseNonNullableFields, QueryPostsResponseNonNullableFields, GetPostMetricsResponseNonNullableFields, QueryPostCountStatsResponseNonNullableFields, GetTotalPostsResponseNonNullableFields, BaseEventMetadata, EventMetadata, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post-posts.universal'; | ||
export declare const onPostUpdated: ReturnType<typeof createEventModule<typeof publicOnPostUpdated>>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal.js'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, FocalPoint, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, CaptionData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, PostTranslation, OldBlogMigratedEvent, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, ListDemoPostsRequest, BlogPaging, ListDemoPostsResponse, MetaData, PostCategoriesUpdated, PostTagsUpdated, ListTemplatesRequest, ListTemplatesResponse, Category, CategoryTranslation, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, LikePostRequest, LikePostResponse, UnlikePostRequest, UnlikePostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostResponseNonNullableFields, GetPostBySlugResponseNonNullableFields, ListPostsResponseNonNullableFields, QueryPostsResponseNonNullableFields, GetPostMetricsResponseNonNullableFields, QueryPostCountStatsResponseNonNullableFields, GetTotalPostsResponseNonNullableFields, BaseEventMetadata, EventMetadata, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post-posts.universal.js'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetPostTemplatesSort = exports.PostFieldField = exports.GetPostsSort = exports.WebhookIdentityType = exports.ModerationStatusStatus = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.Target = exports.Type = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.onPostUpdated = exports.publicOnPostUpdated = exports.onPostUnliked = exports.publicOnPostUnliked = exports.onPostLiked = exports.publicOnPostLiked = exports.onPostDeleted = exports.publicOnPostDeleted = exports.onPostCreated = exports.publicOnPostCreated = exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0; | ||
exports.Order = exports.QueryPublicationsCountStatsRequestOrder = exports.SortOrder = exports.Field = exports.Status = exports.Origin = void 0; | ||
const blog_v3_post_posts_public_1 = require("./blog-v3-post-posts.public"); | ||
exports.QueryPublicationsCountStatsRequestOrder = exports.SortOrder = exports.Field = exports.Status = exports.Origin = exports.GetPostTemplatesSort = exports.PostFieldField = exports.GetPostsSort = exports.WebhookIdentityType = exports.ModerationStatusStatus = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.Target = exports.Type = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.onPostUpdated = exports.onPostUnliked = exports.onPostLiked = exports.onPostDeleted = exports.onPostCreated = exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0; | ||
exports.Order = void 0; | ||
const blog_v3_post_posts_public_js_1 = require("./blog-v3-post-posts.public.js"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules"); | ||
const blog_v3_post_posts_public_2 = require("./blog-v3-post-posts.public"); | ||
Object.defineProperty(exports, "publicOnPostCreated", { enumerable: true, get: function () { return blog_v3_post_posts_public_2.onPostCreated; } }); | ||
const blog_v3_post_posts_public_3 = require("./blog-v3-post-posts.public"); | ||
Object.defineProperty(exports, "publicOnPostDeleted", { enumerable: true, get: function () { return blog_v3_post_posts_public_3.onPostDeleted; } }); | ||
const blog_v3_post_posts_public_4 = require("./blog-v3-post-posts.public"); | ||
Object.defineProperty(exports, "publicOnPostLiked", { enumerable: true, get: function () { return blog_v3_post_posts_public_4.onPostLiked; } }); | ||
const blog_v3_post_posts_public_5 = require("./blog-v3-post-posts.public"); | ||
Object.defineProperty(exports, "publicOnPostUnliked", { enumerable: true, get: function () { return blog_v3_post_posts_public_5.onPostUnliked; } }); | ||
const blog_v3_post_posts_public_6 = require("./blog-v3-post-posts.public"); | ||
Object.defineProperty(exports, "publicOnPostUpdated", { enumerable: true, get: function () { return blog_v3_post_posts_public_6.onPostUpdated; } }); | ||
exports.getPost = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.getPost); | ||
exports.getPostBySlug = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.getPostBySlug); | ||
exports.listPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.listPosts); | ||
exports.queryPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.queryPosts); | ||
exports.getPostMetrics = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.getPostMetrics); | ||
exports.queryPostCountStats = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.queryPostCountStats); | ||
exports.getTotalPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_1.getTotalPosts); | ||
const blog_v3_post_posts_public_js_2 = require("./blog-v3-post-posts.public.js"); | ||
const blog_v3_post_posts_public_js_3 = require("./blog-v3-post-posts.public.js"); | ||
const blog_v3_post_posts_public_js_4 = require("./blog-v3-post-posts.public.js"); | ||
const blog_v3_post_posts_public_js_5 = require("./blog-v3-post-posts.public.js"); | ||
const blog_v3_post_posts_public_js_6 = require("./blog-v3-post-posts.public.js"); | ||
exports.getPost = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.getPost); | ||
exports.getPostBySlug = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.getPostBySlug); | ||
exports.listPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.listPosts); | ||
exports.queryPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.queryPosts); | ||
exports.getPostMetrics = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.getPostMetrics); | ||
exports.queryPostCountStats = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.queryPostCountStats); | ||
exports.getTotalPosts = (0, rest_modules_1.createRESTModule)(blog_v3_post_posts_public_js_1.getTotalPosts); | ||
/** | ||
* Triggered when a post is created. | ||
*/ | ||
exports.onPostCreated = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_2.onPostCreated); | ||
exports.onPostCreated = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_js_2.onPostCreated); | ||
/** | ||
* Triggered when a post is deleted. | ||
*/ | ||
exports.onPostDeleted = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_3.onPostDeleted); | ||
exports.onPostDeleted = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_js_3.onPostDeleted); | ||
/** | ||
* Triggered when a post is liked. | ||
*/ | ||
exports.onPostLiked = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_4.onPostLiked); | ||
exports.onPostLiked = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_js_4.onPostLiked); | ||
/** | ||
* Triggered when a post is unliked. | ||
*/ | ||
exports.onPostUnliked = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_5.onPostUnliked); | ||
exports.onPostUnliked = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_js_5.onPostUnliked); | ||
/** | ||
* Triggered when a post is updated. | ||
*/ | ||
exports.onPostUpdated = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_6.onPostUpdated); | ||
var blog_v3_post_posts_universal_1 = require("./blog-v3-post-posts.universal"); | ||
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.NodeType; } }); | ||
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.WidthType; } }); | ||
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.PluginContainerDataAlignment; } }); | ||
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Type; } }); | ||
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Target; } }); | ||
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.TextAlignment; } }); | ||
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.LineStyle; } }); | ||
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Width; } }); | ||
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Alignment; } }); | ||
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.ViewMode; } }); | ||
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.LayoutType; } }); | ||
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Orientation; } }); | ||
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Crop; } }); | ||
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.ThumbnailsAlignment; } }); | ||
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Source; } }); | ||
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.MapType; } }); | ||
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.ViewRole; } }); | ||
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.VoteRole; } }); | ||
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.PollLayoutType; } }); | ||
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.PollLayoutDirection; } }); | ||
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.BackgroundType; } }); | ||
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.DecorationType; } }); | ||
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.FontType; } }); | ||
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.AppType; } }); | ||
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.InitialExpandedItems; } }); | ||
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Direction; } }); | ||
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.VerticalAlignment; } }); | ||
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.NullValue; } }); | ||
Object.defineProperty(exports, "ModerationStatusStatus", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.ModerationStatusStatus; } }); | ||
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.WebhookIdentityType; } }); | ||
Object.defineProperty(exports, "GetPostsSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.GetPostsSort; } }); | ||
Object.defineProperty(exports, "PostFieldField", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.PostFieldField; } }); | ||
Object.defineProperty(exports, "GetPostTemplatesSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.GetPostTemplatesSort; } }); | ||
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Origin; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Status; } }); | ||
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Field; } }); | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.SortOrder; } }); | ||
Object.defineProperty(exports, "QueryPublicationsCountStatsRequestOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.QueryPublicationsCountStatsRequestOrder; } }); | ||
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return blog_v3_post_posts_universal_1.Order; } }); | ||
exports.onPostUpdated = (0, event_definition_modules_1.createEventModule)(blog_v3_post_posts_public_js_6.onPostUpdated); | ||
var blog_v3_post_posts_universal_js_1 = require("./blog-v3-post-posts.universal.js"); | ||
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.NodeType; } }); | ||
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.WidthType; } }); | ||
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.PluginContainerDataAlignment; } }); | ||
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Type; } }); | ||
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Target; } }); | ||
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.TextAlignment; } }); | ||
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.LineStyle; } }); | ||
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Width; } }); | ||
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Alignment; } }); | ||
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.ViewMode; } }); | ||
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.LayoutType; } }); | ||
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Orientation; } }); | ||
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Crop; } }); | ||
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.ThumbnailsAlignment; } }); | ||
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Source; } }); | ||
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.MapType; } }); | ||
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.ViewRole; } }); | ||
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.VoteRole; } }); | ||
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.PollLayoutType; } }); | ||
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.PollLayoutDirection; } }); | ||
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.BackgroundType; } }); | ||
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.DecorationType; } }); | ||
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.FontType; } }); | ||
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.AppType; } }); | ||
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.InitialExpandedItems; } }); | ||
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Direction; } }); | ||
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.VerticalAlignment; } }); | ||
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.NullValue; } }); | ||
Object.defineProperty(exports, "ModerationStatusStatus", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.ModerationStatusStatus; } }); | ||
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.WebhookIdentityType; } }); | ||
Object.defineProperty(exports, "GetPostsSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.GetPostsSort; } }); | ||
Object.defineProperty(exports, "PostFieldField", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.PostFieldField; } }); | ||
Object.defineProperty(exports, "GetPostTemplatesSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.GetPostTemplatesSort; } }); | ||
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Origin; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Status; } }); | ||
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Field; } }); | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.SortOrder; } }); | ||
Object.defineProperty(exports, "QueryPublicationsCountStatsRequestOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.QueryPublicationsCountStatsRequestOrder; } }); | ||
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_1.Order; } }); | ||
//# sourceMappingURL=blog-v3-post-posts.context.js.map |
@@ -1,3 +0,3 @@ | ||
import * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types'; | ||
import * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-posts.universal'; | ||
import * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types.js'; | ||
import * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-posts.universal.js'; | ||
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = { | ||
@@ -4,0 +4,0 @@ getUrl: (context: any) => string; |
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0; | ||
const ambassadorWixBlogV3Post = __importStar(require("./blog-v3-post-posts.http")); | ||
const ambassadorWixBlogV3Post = __importStar(require("./blog-v3-post-posts.http.js")); | ||
function getPost() { | ||
@@ -30,0 +30,0 @@ const payload = { postId: ':postId' }; |
import { EventDefinition, HttpClient } from '@wix/sdk-types'; | ||
import { GetPostBySlugOptions, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostResponse, GetPostResponseNonNullableFields, GetTotalPostsOptions, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, ListPostsOptions, ListPostsResponse, ListPostsResponseNonNullableFields, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions } from './blog-v3-post-posts.universal'; | ||
import { GetPostBySlugOptions, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostResponse, GetPostResponseNonNullableFields, GetTotalPostsOptions, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, ListPostsOptions, ListPostsResponse, ListPostsResponseNonNullableFields, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions } from './blog-v3-post-posts.universal.js'; | ||
export declare const __metadata: { | ||
@@ -128,2 +128,2 @@ PACKAGE_NAME: string; | ||
export declare const onPostUpdated: EventDefinition<PostUpdatedEnvelope, "wix.blog.v3.post_updated">; | ||
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetPostBySlugOptions, GetPostBySlugRequest, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsRequest, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostRequest, GetPostResponse, GetPostResponseNonNullableFields, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsOptions, GetTotalPostsRequest, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsOptions, ListPostsRequest, ListPostsResponse, ListPostsResponseNonNullableFields, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Post, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostCreatedEnvelope, PostDeletedEnvelope, PostFieldField, PostLiked, PostLikedEnvelope, PostLikedInitiatorOneOf, PostOwnerChanged, PostTranslation, PostUnliked, PostUnlikedEnvelope, PostUnlikedInitiatorOneOf, PostUpdatedEnvelope, PostsQueryBuilder, PostsQueryResult, QueryPostCountStatsOptions, QueryPostCountStatsRequest, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions, QueryPostsRequest, QueryPostsResponse, QueryPostsResponseNonNullableFields, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, RestoreInfo, RichContent, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-post-posts.universal'; | ||
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetPostBySlugOptions, GetPostBySlugRequest, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsRequest, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostRequest, GetPostResponse, GetPostResponseNonNullableFields, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsOptions, GetTotalPostsRequest, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsOptions, ListPostsRequest, ListPostsResponse, ListPostsResponseNonNullableFields, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Post, PostCategoriesUpdated, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostCreatedEnvelope, PostDeletedEnvelope, PostFieldField, PostLiked, PostLikedEnvelope, PostLikedInitiatorOneOf, PostOwnerChanged, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedEnvelope, PostUnlikedInitiatorOneOf, PostUpdatedEnvelope, PostsQueryBuilder, PostsQueryResult, QueryPostCountStatsOptions, QueryPostCountStatsRequest, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions, QueryPostsRequest, QueryPostsResponse, QueryPostsResponseNonNullableFields, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, RestoreInfo, RichContent, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-post-posts.universal.js'; |
@@ -15,6 +15,6 @@ "use strict"; | ||
const sdk_types_1 = require("@wix/sdk-types"); | ||
const blog_v3_post_posts_universal_1 = require("./blog-v3-post-posts.universal"); | ||
const blog_v3_post_posts_universal_js_1 = require("./blog-v3-post-posts.universal.js"); | ||
exports.__metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
function getPost(httpClient) { | ||
return (postId, options) => (0, blog_v3_post_posts_universal_1.getPost)(postId, options, | ||
return (postId, options) => (0, blog_v3_post_posts_universal_js_1.getPost)(postId, options, | ||
// @ts-ignore | ||
@@ -25,3 +25,3 @@ { httpClient }); | ||
function getPostBySlug(httpClient) { | ||
return (slug, options) => (0, blog_v3_post_posts_universal_1.getPostBySlug)(slug, options, | ||
return (slug, options) => (0, blog_v3_post_posts_universal_js_1.getPostBySlug)(slug, options, | ||
// @ts-ignore | ||
@@ -32,3 +32,3 @@ { httpClient }); | ||
function listPosts(httpClient) { | ||
return (options) => (0, blog_v3_post_posts_universal_1.listPosts)(options, | ||
return (options) => (0, blog_v3_post_posts_universal_js_1.listPosts)(options, | ||
// @ts-ignore | ||
@@ -39,3 +39,3 @@ { httpClient }); | ||
function queryPosts(httpClient) { | ||
return (options) => (0, blog_v3_post_posts_universal_1.queryPosts)(options, | ||
return (options) => (0, blog_v3_post_posts_universal_js_1.queryPosts)(options, | ||
// @ts-ignore | ||
@@ -46,3 +46,3 @@ { httpClient }); | ||
function getPostMetrics(httpClient) { | ||
return (postId) => (0, blog_v3_post_posts_universal_1.getPostMetrics)(postId, | ||
return (postId) => (0, blog_v3_post_posts_universal_js_1.getPostMetrics)(postId, | ||
// @ts-ignore | ||
@@ -53,3 +53,3 @@ { httpClient }); | ||
function queryPostCountStats(httpClient) { | ||
return (options) => (0, blog_v3_post_posts_universal_1.queryPostCountStats)(options, | ||
return (options) => (0, blog_v3_post_posts_universal_js_1.queryPostCountStats)(options, | ||
// @ts-ignore | ||
@@ -60,3 +60,3 @@ { httpClient }); | ||
function getTotalPosts(httpClient) { | ||
return (options) => (0, blog_v3_post_posts_universal_1.getTotalPosts)(options, | ||
return (options) => (0, blog_v3_post_posts_universal_js_1.getTotalPosts)(options, | ||
// @ts-ignore | ||
@@ -139,8 +139,8 @@ { httpClient }); | ||
paths: [ | ||
{ path: 'undefined.firstPublishedDate' }, | ||
{ path: 'undefined.lastPublishedDate' }, | ||
{ path: 'undefined.richContent.metadata.createdTimestamp' }, | ||
{ path: 'undefined.richContent.metadata.updatedTimestamp' }, | ||
{ path: 'undefined.moderationDetails.submittedDate' }, | ||
{ path: 'undefined.moderationDetails.moderationDate' }, | ||
{ path: 'entity.firstPublishedDate' }, | ||
{ path: 'entity.lastPublishedDate' }, | ||
{ path: 'entity.richContent.metadata.createdTimestamp' }, | ||
{ path: 'entity.richContent.metadata.updatedTimestamp' }, | ||
{ path: 'entity.moderationDetails.submittedDate' }, | ||
{ path: 'entity.moderationDetails.moderationDate' }, | ||
{ path: 'metadata.eventTime' }, | ||
@@ -151,6 +151,3 @@ ], | ||
transformFn: page_url_1.transformRESTPageURLToSDKPageURL, | ||
paths: [ | ||
{ path: 'undefined.url' }, | ||
{ path: 'undefined.translations.url' }, | ||
], | ||
paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }], | ||
}, | ||
@@ -160,5 +157,5 @@ { | ||
paths: [ | ||
{ path: 'undefined.heroImage' }, | ||
{ path: 'undefined.coverMedia.image' }, | ||
{ path: 'undefined.media.wixMedia.image' }, | ||
{ path: 'entity.heroImage' }, | ||
{ path: 'entity.coverMedia.image' }, | ||
{ path: 'entity.media.wixMedia.image' }, | ||
], | ||
@@ -168,7 +165,7 @@ }, | ||
transformFn: bytes_1.transformRESTBytesToSDKBytes, | ||
paths: [{ path: 'undefined.richContentCompressed' }], | ||
paths: [{ path: 'entity.richContentCompressed' }], | ||
}, | ||
{ | ||
transformFn: video_1.transformRESTVideoToSDKVideo, | ||
paths: [{ path: 'undefined.coverMedia.video' }], | ||
paths: [{ path: 'entity.coverMedia.video' }], | ||
}, | ||
@@ -178,36 +175,28 @@ { | ||
paths: [ | ||
{ path: 'undefined.metrics.averageRating' }, | ||
{ path: 'entity.metrics.averageRating' }, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.image.media.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.image.media.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.video.media.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.video.media.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.video.thumbnail.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration', | ||
}, | ||
{ path: 'entity.richContent.nodes.galleryData.options.item.ratio' }, | ||
{ path: 'entity.richContent.nodes.imageData.image.duration' }, | ||
{ path: 'entity.richContent.nodes.mapData.mapSettings.lat' }, | ||
{ path: 'entity.richContent.nodes.mapData.mapSettings.lng' }, | ||
{ path: 'entity.richContent.nodes.pollData.poll.image.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.options.item.ratio', | ||
path: 'entity.richContent.nodes.pollData.poll.options.image.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.imageData.image.duration' }, | ||
{ path: 'undefined.richContent.nodes.mapData.mapSettings.lat' }, | ||
{ path: 'undefined.richContent.nodes.mapData.mapSettings.lng' }, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.poll.image.duration', | ||
path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.poll.options.image.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.design.poll.background.image.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.appEmbedData.image.duration' }, | ||
{ path: 'undefined.richContent.nodes.videoData.video.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.videoData.thumbnail.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.audioData.audio.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.audioData.coverImage.duration', | ||
}, | ||
{ path: 'entity.richContent.nodes.appEmbedData.image.duration' }, | ||
{ path: 'entity.richContent.nodes.videoData.video.duration' }, | ||
{ path: 'entity.richContent.nodes.videoData.thumbnail.duration' }, | ||
{ path: 'entity.richContent.nodes.audioData.audio.duration' }, | ||
{ path: 'entity.richContent.nodes.audioData.coverImage.duration' }, | ||
], | ||
@@ -217,3 +206,3 @@ }, | ||
transformFn: video_v2_1.transformRESTVideoV2ToSDKVideoV2, | ||
paths: [{ path: 'undefined.media.wixMedia.videoV2' }], | ||
paths: [{ path: 'entity.media.wixMedia.videoV2' }], | ||
}, | ||
@@ -302,42 +291,42 @@ ]), ['entity.rich_content']))(); | ||
]), ['entity.rich_content']))(); | ||
var blog_v3_post_posts_universal_2 = require("./blog-v3-post-posts.universal"); | ||
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Alignment; } }); | ||
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.AppType; } }); | ||
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.BackgroundType; } }); | ||
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Crop; } }); | ||
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.DecorationType; } }); | ||
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Direction; } }); | ||
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Field; } }); | ||
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.FontType; } }); | ||
Object.defineProperty(exports, "GetPostTemplatesSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.GetPostTemplatesSort; } }); | ||
Object.defineProperty(exports, "GetPostsSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.GetPostsSort; } }); | ||
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.InitialExpandedItems; } }); | ||
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.LayoutType; } }); | ||
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.LineStyle; } }); | ||
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.MapType; } }); | ||
Object.defineProperty(exports, "ModerationStatusStatus", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.ModerationStatusStatus; } }); | ||
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.NodeType; } }); | ||
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.NullValue; } }); | ||
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Order; } }); | ||
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Orientation; } }); | ||
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Origin; } }); | ||
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.PluginContainerDataAlignment; } }); | ||
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.PollLayoutDirection; } }); | ||
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.PollLayoutType; } }); | ||
Object.defineProperty(exports, "PostFieldField", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.PostFieldField; } }); | ||
Object.defineProperty(exports, "QueryPublicationsCountStatsRequestOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.QueryPublicationsCountStatsRequestOrder; } }); | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.SortOrder; } }); | ||
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Source; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Status; } }); | ||
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Target; } }); | ||
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.TextAlignment; } }); | ||
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.ThumbnailsAlignment; } }); | ||
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Type; } }); | ||
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.VerticalAlignment; } }); | ||
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.ViewMode; } }); | ||
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.ViewRole; } }); | ||
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.VoteRole; } }); | ||
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.WebhookIdentityType; } }); | ||
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.Width; } }); | ||
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_2.WidthType; } }); | ||
var blog_v3_post_posts_universal_js_2 = require("./blog-v3-post-posts.universal.js"); | ||
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Alignment; } }); | ||
Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.AppType; } }); | ||
Object.defineProperty(exports, "BackgroundType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.BackgroundType; } }); | ||
Object.defineProperty(exports, "Crop", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Crop; } }); | ||
Object.defineProperty(exports, "DecorationType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.DecorationType; } }); | ||
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Direction; } }); | ||
Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Field; } }); | ||
Object.defineProperty(exports, "FontType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.FontType; } }); | ||
Object.defineProperty(exports, "GetPostTemplatesSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.GetPostTemplatesSort; } }); | ||
Object.defineProperty(exports, "GetPostsSort", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.GetPostsSort; } }); | ||
Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.InitialExpandedItems; } }); | ||
Object.defineProperty(exports, "LayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.LayoutType; } }); | ||
Object.defineProperty(exports, "LineStyle", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.LineStyle; } }); | ||
Object.defineProperty(exports, "MapType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.MapType; } }); | ||
Object.defineProperty(exports, "ModerationStatusStatus", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.ModerationStatusStatus; } }); | ||
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.NodeType; } }); | ||
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.NullValue; } }); | ||
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Order; } }); | ||
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Orientation; } }); | ||
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Origin; } }); | ||
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.PluginContainerDataAlignment; } }); | ||
Object.defineProperty(exports, "PollLayoutDirection", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.PollLayoutDirection; } }); | ||
Object.defineProperty(exports, "PollLayoutType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.PollLayoutType; } }); | ||
Object.defineProperty(exports, "PostFieldField", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.PostFieldField; } }); | ||
Object.defineProperty(exports, "QueryPublicationsCountStatsRequestOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.QueryPublicationsCountStatsRequestOrder; } }); | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.SortOrder; } }); | ||
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Source; } }); | ||
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Status; } }); | ||
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Target; } }); | ||
Object.defineProperty(exports, "TextAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.TextAlignment; } }); | ||
Object.defineProperty(exports, "ThumbnailsAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.ThumbnailsAlignment; } }); | ||
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Type; } }); | ||
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.VerticalAlignment; } }); | ||
Object.defineProperty(exports, "ViewMode", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.ViewMode; } }); | ||
Object.defineProperty(exports, "ViewRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.ViewRole; } }); | ||
Object.defineProperty(exports, "VoteRole", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.VoteRole; } }); | ||
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.WebhookIdentityType; } }); | ||
Object.defineProperty(exports, "Width", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.Width; } }); | ||
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return blog_v3_post_posts_universal_js_2.WidthType; } }); | ||
//# sourceMappingURL=blog-v3-post-posts.public.js.map |
@@ -30,3 +30,3 @@ "use strict"; | ||
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys"); | ||
const ambassadorWixBlogV3Post = __importStar(require("./blog-v3-post-posts.http")); | ||
const ambassadorWixBlogV3Post = __importStar(require("./blog-v3-post-posts.http.js")); | ||
// @ts-ignore | ||
@@ -33,0 +33,0 @@ const image_1 = require("@wix/sdk-runtime/transformations/image"); |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; |
@@ -1,2 +0,2 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; | ||
//# sourceMappingURL=context.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; |
@@ -1,2 +0,2 @@ | ||
export * from './src/blog-v3-post-posts.context'; | ||
export * from './src/blog-v3-post-posts.context.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.universal'; | ||
export * from './src/blog-v3-post-posts.universal.js'; |
@@ -1,2 +0,2 @@ | ||
export * from './src/blog-v3-post-posts.universal'; | ||
export * from './src/blog-v3-post-posts.universal.js'; | ||
//# sourceMappingURL=index.typings.js.map |
@@ -1,1 +0,1 @@ | ||
export * from './src/blog-v3-post-posts.meta'; | ||
export * from './src/blog-v3-post-posts.meta.js'; |
@@ -1,2 +0,2 @@ | ||
export * from './src/blog-v3-post-posts.meta'; | ||
export * from './src/blog-v3-post-posts.meta.js'; | ||
//# sourceMappingURL=meta.js.map |
@@ -1,9 +0,9 @@ | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post-posts.public'; | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post-posts.public.js'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public.js'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public.js'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public.js'; | ||
export declare const getPost: MaybeContext<BuildRESTFunction<typeof publicGetPost> & typeof publicGetPost>; | ||
@@ -16,33 +16,23 @@ export declare const getPostBySlug: MaybeContext<BuildRESTFunction<typeof publicGetPostBySlug> & typeof publicGetPostBySlug>; | ||
export declare const getTotalPosts: MaybeContext<BuildRESTFunction<typeof publicGetTotalPosts> & typeof publicGetTotalPosts>; | ||
export { publicOnPostCreated }; | ||
export type _publicOnPostCreatedType = typeof publicOnPostCreated; | ||
/** | ||
* Triggered when a post is created. | ||
*/ | ||
export declare const onPostCreated: ReturnType<typeof createEventModule<_publicOnPostCreatedType>>; | ||
export { publicOnPostDeleted }; | ||
export type _publicOnPostDeletedType = typeof publicOnPostDeleted; | ||
export declare const onPostCreated: ReturnType<typeof createEventModule<typeof publicOnPostCreated>>; | ||
/** | ||
* Triggered when a post is deleted. | ||
*/ | ||
export declare const onPostDeleted: ReturnType<typeof createEventModule<_publicOnPostDeletedType>>; | ||
export { publicOnPostLiked }; | ||
export type _publicOnPostLikedType = typeof publicOnPostLiked; | ||
export declare const onPostDeleted: ReturnType<typeof createEventModule<typeof publicOnPostDeleted>>; | ||
/** | ||
* Triggered when a post is liked. | ||
*/ | ||
export declare const onPostLiked: ReturnType<typeof createEventModule<_publicOnPostLikedType>>; | ||
export { publicOnPostUnliked }; | ||
export type _publicOnPostUnlikedType = typeof publicOnPostUnliked; | ||
export declare const onPostLiked: ReturnType<typeof createEventModule<typeof publicOnPostLiked>>; | ||
/** | ||
* Triggered when a post is unliked. | ||
*/ | ||
export declare const onPostUnliked: ReturnType<typeof createEventModule<_publicOnPostUnlikedType>>; | ||
export { publicOnPostUpdated }; | ||
export type _publicOnPostUpdatedType = typeof publicOnPostUpdated; | ||
export declare const onPostUnliked: ReturnType<typeof createEventModule<typeof publicOnPostUnliked>>; | ||
/** | ||
* Triggered when a post is updated. | ||
*/ | ||
export declare const onPostUpdated: ReturnType<typeof createEventModule<_publicOnPostUpdatedType>>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, FocalPoint, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, CaptionData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, PostTranslation, OldBlogMigratedEvent, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, ListDemoPostsRequest, BlogPaging, ListDemoPostsResponse, MetaData, ListTemplatesRequest, ListTemplatesResponse, Category, CategoryTranslation, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, LikePostRequest, LikePostResponse, UnlikePostRequest, UnlikePostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostResponseNonNullableFields, GetPostBySlugResponseNonNullableFields, ListPostsResponseNonNullableFields, QueryPostsResponseNonNullableFields, GetPostMetricsResponseNonNullableFields, QueryPostCountStatsResponseNonNullableFields, GetTotalPostsResponseNonNullableFields, BaseEventMetadata, EventMetadata, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post-posts.universal'; | ||
export declare const onPostUpdated: ReturnType<typeof createEventModule<typeof publicOnPostUpdated>>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal.js'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, FocalPoint, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, SpoilerData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, CaptionData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, PostTranslation, OldBlogMigratedEvent, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, ListDemoPostsRequest, BlogPaging, ListDemoPostsResponse, MetaData, PostCategoriesUpdated, PostTagsUpdated, ListTemplatesRequest, ListTemplatesResponse, Category, CategoryTranslation, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, LikePostRequest, LikePostResponse, UnlikePostRequest, UnlikePostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostResponseNonNullableFields, GetPostBySlugResponseNonNullableFields, ListPostsResponseNonNullableFields, QueryPostsResponseNonNullableFields, GetPostMetricsResponseNonNullableFields, QueryPostCountStatsResponseNonNullableFields, GetTotalPostsResponseNonNullableFields, BaseEventMetadata, EventMetadata, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post-posts.universal.js'; |
@@ -1,9 +0,9 @@ | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts, } from './blog-v3-post-posts.public'; | ||
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts, } from './blog-v3-post-posts.public.js'; | ||
import { createRESTModule } from '@wix/sdk-runtime/rest-modules'; | ||
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public'; | ||
import { onPostCreated as publicOnPostCreated } from './blog-v3-post-posts.public.js'; | ||
import { onPostDeleted as publicOnPostDeleted } from './blog-v3-post-posts.public.js'; | ||
import { onPostLiked as publicOnPostLiked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUnliked as publicOnPostUnliked } from './blog-v3-post-posts.public.js'; | ||
import { onPostUpdated as publicOnPostUpdated } from './blog-v3-post-posts.public.js'; | ||
export const getPost = /*#__PURE__*/ createRESTModule(publicGetPost); | ||
@@ -16,3 +16,2 @@ export const getPostBySlug = /*#__PURE__*/ createRESTModule(publicGetPostBySlug); | ||
export const getTotalPosts = /*#__PURE__*/ createRESTModule(publicGetTotalPosts); | ||
export { publicOnPostCreated }; | ||
/** | ||
@@ -22,3 +21,2 @@ * Triggered when a post is created. | ||
export const onPostCreated = createEventModule(publicOnPostCreated); | ||
export { publicOnPostDeleted }; | ||
/** | ||
@@ -28,3 +26,2 @@ * Triggered when a post is deleted. | ||
export const onPostDeleted = createEventModule(publicOnPostDeleted); | ||
export { publicOnPostLiked }; | ||
/** | ||
@@ -34,3 +31,2 @@ * Triggered when a post is liked. | ||
export const onPostLiked = createEventModule(publicOnPostLiked); | ||
export { publicOnPostUnliked }; | ||
/** | ||
@@ -40,3 +36,2 @@ * Triggered when a post is unliked. | ||
export const onPostUnliked = createEventModule(publicOnPostUnliked); | ||
export { publicOnPostUpdated }; | ||
/** | ||
@@ -46,3 +41,3 @@ * Triggered when a post is updated. | ||
export const onPostUpdated = createEventModule(publicOnPostUpdated); | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal'; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, WebhookIdentityType, GetPostsSort, PostFieldField, GetPostTemplatesSort, Origin, Status, Field, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post-posts.universal.js'; | ||
//# sourceMappingURL=blog-v3-post-posts.context.js.map |
@@ -1,3 +0,3 @@ | ||
import * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types'; | ||
import * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-posts.universal'; | ||
import * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types.js'; | ||
import * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-posts.universal.js'; | ||
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = { | ||
@@ -4,0 +4,0 @@ getUrl: (context: any) => string; |
@@ -1,2 +0,2 @@ | ||
import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http'; | ||
import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http.js'; | ||
export function getPost() { | ||
@@ -3,0 +3,0 @@ const payload = { postId: ':postId' }; |
import { EventDefinition, HttpClient } from '@wix/sdk-types'; | ||
import { GetPostBySlugOptions, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostResponse, GetPostResponseNonNullableFields, GetTotalPostsOptions, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, ListPostsOptions, ListPostsResponse, ListPostsResponseNonNullableFields, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions } from './blog-v3-post-posts.universal'; | ||
import { GetPostBySlugOptions, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostResponse, GetPostResponseNonNullableFields, GetTotalPostsOptions, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, ListPostsOptions, ListPostsResponse, ListPostsResponseNonNullableFields, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions } from './blog-v3-post-posts.universal.js'; | ||
export declare const __metadata: { | ||
@@ -128,2 +128,2 @@ PACKAGE_NAME: string; | ||
export declare const onPostUpdated: EventDefinition<PostUpdatedEnvelope, "wix.blog.v3.post_updated">; | ||
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetPostBySlugOptions, GetPostBySlugRequest, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsRequest, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostRequest, GetPostResponse, GetPostResponseNonNullableFields, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsOptions, GetTotalPostsRequest, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsOptions, ListPostsRequest, ListPostsResponse, ListPostsResponseNonNullableFields, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Post, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostCreatedEnvelope, PostDeletedEnvelope, PostFieldField, PostLiked, PostLikedEnvelope, PostLikedInitiatorOneOf, PostOwnerChanged, PostTranslation, PostUnliked, PostUnlikedEnvelope, PostUnlikedInitiatorOneOf, PostUpdatedEnvelope, PostsQueryBuilder, PostsQueryResult, QueryPostCountStatsOptions, QueryPostCountStatsRequest, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions, QueryPostsRequest, QueryPostsResponse, QueryPostsResponseNonNullableFields, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, RestoreInfo, RichContent, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-post-posts.universal'; | ||
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GalleryData, GalleryOptions, GetPostBySlugOptions, GetPostBySlugRequest, GetPostBySlugResponse, GetPostBySlugResponseNonNullableFields, GetPostMetricsRequest, GetPostMetricsResponse, GetPostMetricsResponseNonNullableFields, GetPostOptions, GetPostRequest, GetPostResponse, GetPostResponseNonNullableFields, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsOptions, GetTotalPostsRequest, GetTotalPostsResponse, GetTotalPostsResponseNonNullableFields, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsOptions, ListPostsRequest, ListPostsResponse, ListPostsResponseNonNullableFields, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Post, PostCategoriesUpdated, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostCreatedEnvelope, PostDeletedEnvelope, PostFieldField, PostLiked, PostLikedEnvelope, PostLikedInitiatorOneOf, PostOwnerChanged, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedEnvelope, PostUnlikedInitiatorOneOf, PostUpdatedEnvelope, PostsQueryBuilder, PostsQueryResult, QueryPostCountStatsOptions, QueryPostCountStatsRequest, QueryPostCountStatsResponse, QueryPostCountStatsResponseNonNullableFields, QueryPostsOptions, QueryPostsRequest, QueryPostsResponse, QueryPostsResponseNonNullableFields, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, RestoreInfo, RichContent, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia, } from './blog-v3-post-posts.universal.js'; |
@@ -11,3 +11,3 @@ import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys'; | ||
import { EventDefinition } from '@wix/sdk-types'; | ||
import { getPost as universalGetPost, getPostBySlug as universalGetPostBySlug, getPostMetrics as universalGetPostMetrics, getTotalPosts as universalGetTotalPosts, listPosts as universalListPosts, queryPostCountStats as universalQueryPostCountStats, queryPosts as universalQueryPosts, } from './blog-v3-post-posts.universal'; | ||
import { getPost as universalGetPost, getPostBySlug as universalGetPostBySlug, getPostMetrics as universalGetPostMetrics, getTotalPosts as universalGetTotalPosts, listPosts as universalListPosts, queryPostCountStats as universalQueryPostCountStats, queryPosts as universalQueryPosts, } from './blog-v3-post-posts.universal.js'; | ||
export const __metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
@@ -122,8 +122,8 @@ export function getPost(httpClient) { | ||
paths: [ | ||
{ path: 'undefined.firstPublishedDate' }, | ||
{ path: 'undefined.lastPublishedDate' }, | ||
{ path: 'undefined.richContent.metadata.createdTimestamp' }, | ||
{ path: 'undefined.richContent.metadata.updatedTimestamp' }, | ||
{ path: 'undefined.moderationDetails.submittedDate' }, | ||
{ path: 'undefined.moderationDetails.moderationDate' }, | ||
{ path: 'entity.firstPublishedDate' }, | ||
{ path: 'entity.lastPublishedDate' }, | ||
{ path: 'entity.richContent.metadata.createdTimestamp' }, | ||
{ path: 'entity.richContent.metadata.updatedTimestamp' }, | ||
{ path: 'entity.moderationDetails.submittedDate' }, | ||
{ path: 'entity.moderationDetails.moderationDate' }, | ||
{ path: 'metadata.eventTime' }, | ||
@@ -134,6 +134,3 @@ ], | ||
transformFn: transformRESTPageURLToSDKPageURL, | ||
paths: [ | ||
{ path: 'undefined.url' }, | ||
{ path: 'undefined.translations.url' }, | ||
], | ||
paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }], | ||
}, | ||
@@ -143,5 +140,5 @@ { | ||
paths: [ | ||
{ path: 'undefined.heroImage' }, | ||
{ path: 'undefined.coverMedia.image' }, | ||
{ path: 'undefined.media.wixMedia.image' }, | ||
{ path: 'entity.heroImage' }, | ||
{ path: 'entity.coverMedia.image' }, | ||
{ path: 'entity.media.wixMedia.image' }, | ||
], | ||
@@ -151,7 +148,7 @@ }, | ||
transformFn: transformRESTBytesToSDKBytes, | ||
paths: [{ path: 'undefined.richContentCompressed' }], | ||
paths: [{ path: 'entity.richContentCompressed' }], | ||
}, | ||
{ | ||
transformFn: transformRESTVideoToSDKVideo, | ||
paths: [{ path: 'undefined.coverMedia.video' }], | ||
paths: [{ path: 'entity.coverMedia.video' }], | ||
}, | ||
@@ -161,36 +158,28 @@ { | ||
paths: [ | ||
{ path: 'undefined.metrics.averageRating' }, | ||
{ path: 'entity.metrics.averageRating' }, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.image.media.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.image.media.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.video.media.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.video.media.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.items.video.thumbnail.duration', | ||
path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration', | ||
}, | ||
{ path: 'entity.richContent.nodes.galleryData.options.item.ratio' }, | ||
{ path: 'entity.richContent.nodes.imageData.image.duration' }, | ||
{ path: 'entity.richContent.nodes.mapData.mapSettings.lat' }, | ||
{ path: 'entity.richContent.nodes.mapData.mapSettings.lng' }, | ||
{ path: 'entity.richContent.nodes.pollData.poll.image.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.galleryData.options.item.ratio', | ||
path: 'entity.richContent.nodes.pollData.poll.options.image.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.imageData.image.duration' }, | ||
{ path: 'undefined.richContent.nodes.mapData.mapSettings.lat' }, | ||
{ path: 'undefined.richContent.nodes.mapData.mapSettings.lng' }, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.poll.image.duration', | ||
path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.poll.options.image.duration', | ||
}, | ||
{ | ||
path: 'undefined.richContent.nodes.pollData.design.poll.background.image.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.appEmbedData.image.duration' }, | ||
{ path: 'undefined.richContent.nodes.videoData.video.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.videoData.thumbnail.duration', | ||
}, | ||
{ path: 'undefined.richContent.nodes.audioData.audio.duration' }, | ||
{ | ||
path: 'undefined.richContent.nodes.audioData.coverImage.duration', | ||
}, | ||
{ path: 'entity.richContent.nodes.appEmbedData.image.duration' }, | ||
{ path: 'entity.richContent.nodes.videoData.video.duration' }, | ||
{ path: 'entity.richContent.nodes.videoData.thumbnail.duration' }, | ||
{ path: 'entity.richContent.nodes.audioData.audio.duration' }, | ||
{ path: 'entity.richContent.nodes.audioData.coverImage.duration' }, | ||
], | ||
@@ -200,3 +189,3 @@ }, | ||
transformFn: transformRESTVideoV2ToSDKVideoV2, | ||
paths: [{ path: 'undefined.media.wixMedia.videoV2' }], | ||
paths: [{ path: 'entity.media.wixMedia.videoV2' }], | ||
}, | ||
@@ -285,3 +274,3 @@ ]), ['entity.rich_content']))(); | ||
]), ['entity.rich_content']))(); | ||
export { Alignment, AppType, BackgroundType, Crop, DecorationType, Direction, Field, FontType, GetPostTemplatesSort, GetPostsSort, InitialExpandedItems, LayoutType, LineStyle, MapType, ModerationStatusStatus, NodeType, NullValue, Order, Orientation, Origin, PluginContainerDataAlignment, PollLayoutDirection, PollLayoutType, PostFieldField, QueryPublicationsCountStatsRequestOrder, SortOrder, Source, Status, Target, TextAlignment, ThumbnailsAlignment, Type, VerticalAlignment, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, } from './blog-v3-post-posts.universal'; | ||
export { Alignment, AppType, BackgroundType, Crop, DecorationType, Direction, Field, FontType, GetPostTemplatesSort, GetPostsSort, InitialExpandedItems, LayoutType, LineStyle, MapType, ModerationStatusStatus, NodeType, NullValue, Order, Orientation, Origin, PluginContainerDataAlignment, PollLayoutDirection, PollLayoutType, PostFieldField, QueryPublicationsCountStatsRequestOrder, SortOrder, Source, Status, Target, TextAlignment, ThumbnailsAlignment, Type, VerticalAlignment, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, } from './blog-v3-post-posts.universal.js'; | ||
//# sourceMappingURL=blog-v3-post-posts.public.js.map |
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error'; | ||
import { queryBuilder } from '@wix/sdk-runtime/query-builder'; | ||
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys'; | ||
import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http'; | ||
import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http.js'; | ||
// @ts-ignore | ||
@@ -6,0 +6,0 @@ import { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image'; |
{ | ||
"sideEffects": false, | ||
"module": "../build/es/meta.js", | ||
"main": "../build/cjs/meta.js", | ||
"typings": "../build/cjs/meta.d.ts", | ||
"typesBundle": "../type-bundles/meta.bundle.d.ts" | ||
"main": "../build/cjs/meta.js" | ||
} |
{ | ||
"name": "@wix/blog_posts", | ||
"version": "1.0.65", | ||
"version": "1.0.66", | ||
"publishConfig": { | ||
@@ -12,12 +12,25 @@ "registry": "https://registry.npmjs.org/", | ||
"sideEffects": false, | ||
"module": "build/es/index.js", | ||
"main": "build/cjs/index.js", | ||
"typings": "./build/cjs/index.d.ts", | ||
"typesBundle": "./type-bundles/index.bundle.d.ts", | ||
"main": "./build/cjs/index.js", | ||
"types": "./build/es/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./build/es/index.js", | ||
"require": "./build/cjs/index.js", | ||
"types": "./build/es/index.d.ts" | ||
}, | ||
"./meta": { | ||
"import": "./build/es/meta.js", | ||
"require": "./build/cjs/meta.js", | ||
"types": "./build/es/meta.d.ts" | ||
}, | ||
"./context": { | ||
"import": "./build/es/context.js", | ||
"require": "./build/cjs/context.js", | ||
"types": "./build/es/context.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"build", | ||
"frontend/package.json", | ||
"meta", | ||
"context", | ||
"type-bundles" | ||
"service-plugins" | ||
], | ||
@@ -29,11 +42,6 @@ "dependencies": { | ||
"devDependencies": { | ||
"glob": "^10.4.1", | ||
"rollup": "^4.18.0", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"typescript": "^5.3.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles && npm run build:validate-dts", | ||
"build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'", | ||
"build:validate-dts": "tsc type-bundles/*.d.ts --noEmit", | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json", | ||
"test": ":" | ||
@@ -51,3 +59,3 @@ }, | ||
}, | ||
"falconPackageHash": "bb6894842e3122e4c981f787fd0f44942cba859a8ac0e3888a4fe975" | ||
"falconPackageHash": "510122127a1288387d8399f6185e1325ad3479df46bbac11b9a244f2" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1
870863
63
20274