@wix/auto_sdk_blog_posts 1.0.169 → 1.0.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +15 -11
- package/build/cjs/index.js +31 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +87 -22
- package/build/cjs/index.typings.js +21 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +58 -5
- package/build/cjs/meta.js +15 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +84 -82
- package/build/cjs/schemas.js +153 -147
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +30 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +87 -22
- package/build/es/index.typings.mjs +20 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +58 -5
- package/build/es/meta.mjs +14 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +84 -82
- package/build/es/schemas.mjs +153 -147
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +31 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +87 -22
- package/build/internal/cjs/index.typings.js +21 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +58 -5
- package/build/internal/cjs/meta.js +15 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +84 -82
- package/build/internal/cjs/schemas.js +153 -147
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +30 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +87 -22
- package/build/internal/es/index.typings.mjs +20 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +58 -5
- package/build/internal/es/meta.mjs +14 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +84 -82
- package/build/internal/es/schemas.mjs +153 -147
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -859,17 +859,27 @@ interface Rel {
|
|
|
859
859
|
interface Animation {
|
|
860
860
|
/** Animation kind. */
|
|
861
861
|
type?: TypeWithLiterals;
|
|
862
|
-
/** Entrance animation, played once when the node first enters the viewport. */
|
|
862
|
+
/** Entrance animation, played once when the node first enters the viewport (VIEW). */
|
|
863
863
|
entrance?: EntranceAnimation;
|
|
864
|
-
/** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
|
|
864
|
+
/** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
|
|
865
865
|
loop?: LoopAnimation;
|
|
866
|
+
/**
|
|
867
|
+
* POINTER carries its fields directly on the union member in the JTD wall, hence
|
|
868
|
+
* flat fields here (ts-proto camelCase must equal the JTD property names). A future
|
|
869
|
+
* SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
|
|
870
|
+
*/
|
|
871
|
+
effect?: PointerEffect;
|
|
872
|
+
/** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
|
|
873
|
+
transitionDuration?: number | null;
|
|
866
874
|
}
|
|
867
875
|
declare enum Type {
|
|
868
876
|
/** Animations that play while the node is in view. */
|
|
869
|
-
VIEW = "VIEW"
|
|
877
|
+
VIEW = "VIEW",
|
|
878
|
+
/** Animations driven by the visitor's mouse position. */
|
|
879
|
+
POINTER = "POINTER"
|
|
870
880
|
}
|
|
871
881
|
/** @enumType */
|
|
872
|
-
type TypeWithLiterals = Type | 'VIEW';
|
|
882
|
+
type TypeWithLiterals = Type | 'VIEW' | 'POINTER';
|
|
873
883
|
interface EntranceAnimation {
|
|
874
884
|
/** The entrance effect to play. */
|
|
875
885
|
effect?: EntranceEffect;
|
|
@@ -989,6 +999,49 @@ declare enum LoopEffectType {
|
|
|
989
999
|
}
|
|
990
1000
|
/** @enumType */
|
|
991
1001
|
type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
|
|
1002
|
+
interface PointerEffect {
|
|
1003
|
+
/** The mouse effect type. */
|
|
1004
|
+
type?: PointerEffectTypeWithLiterals;
|
|
1005
|
+
/** Reacts away from the pointer instead of toward it. */
|
|
1006
|
+
inverted?: boolean | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.
|
|
1009
|
+
* @maxLength 20
|
|
1010
|
+
*/
|
|
1011
|
+
axis?: string | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
|
|
1014
|
+
* @maxLength 8
|
|
1015
|
+
*/
|
|
1016
|
+
direction?: string | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Motion style: GENTLE, MODERATE, or INTENSE.
|
|
1019
|
+
* @maxLength 100
|
|
1020
|
+
*/
|
|
1021
|
+
easing?: string | null;
|
|
1022
|
+
}
|
|
1023
|
+
declare enum PointerEffectType {
|
|
1024
|
+
/** Drifts loosely after the pointer with a light rotation. */
|
|
1025
|
+
AIRY = "AIRY",
|
|
1026
|
+
/** Squashes and stretches toward the pointer. */
|
|
1027
|
+
BLOB = "BLOB",
|
|
1028
|
+
/** Shifts after the pointer while blurring. */
|
|
1029
|
+
BLUR = "BLUR",
|
|
1030
|
+
/** Scales as the pointer approaches. */
|
|
1031
|
+
SCALE = "SCALE",
|
|
1032
|
+
/** Skews toward the pointer. */
|
|
1033
|
+
SKEW = "SKEW",
|
|
1034
|
+
/** Rotates around a pivot edge or axis, following the pointer. */
|
|
1035
|
+
SWIVEL = "SWIVEL",
|
|
1036
|
+
/** Tilts in 3D perspective toward the pointer. */
|
|
1037
|
+
TILT_3D = "TILT_3D",
|
|
1038
|
+
/** Follows the pointer's position. */
|
|
1039
|
+
TRACK = "TRACK",
|
|
1040
|
+
/** Follows the pointer with a 3D depth motion. */
|
|
1041
|
+
TRACK_3D = "TRACK_3D"
|
|
1042
|
+
}
|
|
1043
|
+
/** @enumType */
|
|
1044
|
+
type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
|
|
992
1045
|
interface CodeBlockData {
|
|
993
1046
|
/** Styling for the code block's text. */
|
|
994
1047
|
textStyle?: TextStyle;
|
|
@@ -4584,13 +4637,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4584
4637
|
/**
|
|
4585
4638
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4586
4639
|
*
|
|
4587
|
-
*
|
|
4588
|
-
* The
|
|
4589
|
-
*
|
|
4590
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4591
|
-
*
|
|
4592
|
-
*
|
|
4640
|
+
*
|
|
4641
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
4642
|
+
*
|
|
4643
|
+
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
|
|
4644
|
+
*
|
|
4645
|
+
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
|
|
4593
4646
|
* @public
|
|
4647
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
4594
4648
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4595
4649
|
* @applicableIdentity APP
|
|
4596
4650
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4631,6 +4685,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4631
4685
|
/**
|
|
4632
4686
|
* Retrieves the total amount of published posts of the blog.
|
|
4633
4687
|
* @public
|
|
4688
|
+
* @param options - Language Options.
|
|
4634
4689
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4635
4690
|
* @applicableIdentity APP
|
|
4636
4691
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4651,12 +4706,12 @@ interface GetTotalPostsOptions {
|
|
|
4651
4706
|
* @param postId - Post ID.
|
|
4652
4707
|
* @public
|
|
4653
4708
|
* @requiredField postId
|
|
4709
|
+
* @param options - Options specifying which fields to return.
|
|
4654
4710
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4655
4711
|
* @applicableIdentity APP
|
|
4656
|
-
* @returns Retrieved post info.
|
|
4657
4712
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4658
4713
|
*/
|
|
4659
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4714
|
+
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
|
|
4660
4715
|
interface GetPostOptions {
|
|
4661
4716
|
/**
|
|
4662
4717
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4676,6 +4731,7 @@ interface GetPostOptions {
|
|
|
4676
4731
|
* @param slug - Slug of the post to retrieve.
|
|
4677
4732
|
* @public
|
|
4678
4733
|
* @requiredField slug
|
|
4734
|
+
* @param options - Options specifying which fields to return.
|
|
4679
4735
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4680
4736
|
* @applicableIdentity APP
|
|
4681
4737
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4703,6 +4759,7 @@ interface GetPostBySlugOptions {
|
|
|
4703
4759
|
* - `paging.limit` is `50`.
|
|
4704
4760
|
* - `paging.offset` is `0`.
|
|
4705
4761
|
* @public
|
|
4762
|
+
* @param options - Sort, filter, and paging options.
|
|
4706
4763
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4707
4764
|
* @applicableIdentity APP
|
|
4708
4765
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4773,18 +4830,26 @@ interface ListPostsOptions {
|
|
|
4773
4830
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4774
4831
|
}
|
|
4775
4832
|
/**
|
|
4776
|
-
*
|
|
4833
|
+
* Creates a query to retrieve a list of posts.
|
|
4777
4834
|
*
|
|
4778
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4779
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4780
|
-
* - `paging.limit` is `50`.
|
|
4781
|
-
* - `paging.offset` is `0`.
|
|
4782
4835
|
*
|
|
4783
|
-
*
|
|
4784
|
-
*
|
|
4785
|
-
*
|
|
4786
|
-
*
|
|
4836
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4837
|
+
*
|
|
4838
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4839
|
+
*
|
|
4840
|
+
* You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
|
|
4841
|
+
*
|
|
4842
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4843
|
+
* + `limit(50)`
|
|
4844
|
+
* + `descending('firstPublishedDate')`
|
|
4845
|
+
*
|
|
4846
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4847
|
+
*
|
|
4848
|
+
* To learn how to query posts, refer to the table below.
|
|
4849
|
+
*
|
|
4850
|
+
* The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
|
|
4787
4851
|
* @public
|
|
4852
|
+
* @param options - Options specifying which fields to return.
|
|
4788
4853
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4789
4854
|
* @applicableIdentity APP
|
|
4790
4855
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -5127,4 +5192,4 @@ declare const utils: {
|
|
|
5127
5192
|
*/
|
|
5128
5193
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
5129
5194
|
|
|
5130
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
5195
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
@@ -61,6 +61,7 @@ __export(index_typings_exports, {
|
|
|
61
61
|
Origin: () => Origin,
|
|
62
62
|
Placement: () => Placement,
|
|
63
63
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
64
|
+
PointerEffectType: () => PointerEffectType,
|
|
64
65
|
PollDesignBackgroundType: () => PollDesignBackgroundType,
|
|
65
66
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
66
67
|
PollLayoutType: () => PollLayoutType,
|
|
@@ -1271,6 +1272,7 @@ var Target = /* @__PURE__ */ ((Target2) => {
|
|
|
1271
1272
|
})(Target || {});
|
|
1272
1273
|
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1273
1274
|
Type2["VIEW"] = "VIEW";
|
|
1275
|
+
Type2["POINTER"] = "POINTER";
|
|
1274
1276
|
return Type2;
|
|
1275
1277
|
})(Type || {});
|
|
1276
1278
|
var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
|
|
@@ -1310,6 +1312,18 @@ var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
|
|
|
1310
1312
|
LoopEffectType2["WIGGLE"] = "WIGGLE";
|
|
1311
1313
|
return LoopEffectType2;
|
|
1312
1314
|
})(LoopEffectType || {});
|
|
1315
|
+
var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
|
|
1316
|
+
PointerEffectType2["AIRY"] = "AIRY";
|
|
1317
|
+
PointerEffectType2["BLOB"] = "BLOB";
|
|
1318
|
+
PointerEffectType2["BLUR"] = "BLUR";
|
|
1319
|
+
PointerEffectType2["SCALE"] = "SCALE";
|
|
1320
|
+
PointerEffectType2["SKEW"] = "SKEW";
|
|
1321
|
+
PointerEffectType2["SWIVEL"] = "SWIVEL";
|
|
1322
|
+
PointerEffectType2["TILT_3D"] = "TILT_3D";
|
|
1323
|
+
PointerEffectType2["TRACK"] = "TRACK";
|
|
1324
|
+
PointerEffectType2["TRACK_3D"] = "TRACK_3D";
|
|
1325
|
+
return PointerEffectType2;
|
|
1326
|
+
})(PointerEffectType || {});
|
|
1313
1327
|
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
1314
1328
|
TextAlignment2["AUTO"] = "AUTO";
|
|
1315
1329
|
TextAlignment2["LEFT"] = "LEFT";
|
|
@@ -1819,8 +1833,8 @@ async function getPost2(postId, options) {
|
|
|
1819
1833
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1820
1834
|
}
|
|
1821
1835
|
]),
|
|
1822
|
-
["post.richContent"]
|
|
1823
|
-
)
|
|
1836
|
+
["post.richContent", "post.rich_content"]
|
|
1837
|
+
);
|
|
1824
1838
|
} catch (err) {
|
|
1825
1839
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1826
1840
|
err,
|
|
@@ -1867,7 +1881,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1867
1881
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1868
1882
|
}
|
|
1869
1883
|
]),
|
|
1870
|
-
["post.richContent"]
|
|
1884
|
+
["post.richContent", "post.rich_content"]
|
|
1871
1885
|
);
|
|
1872
1886
|
} catch (err) {
|
|
1873
1887
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1926,7 +1940,7 @@ async function listPosts2(options) {
|
|
|
1926
1940
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1927
1941
|
}
|
|
1928
1942
|
]),
|
|
1929
|
-
["posts.richContent"]
|
|
1943
|
+
["posts.richContent", "posts.rich_content"]
|
|
1930
1944
|
);
|
|
1931
1945
|
} catch (err) {
|
|
1932
1946
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1996,7 +2010,7 @@ function queryPosts2(options) {
|
|
|
1996
2010
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1997
2011
|
}
|
|
1998
2012
|
]),
|
|
1999
|
-
["posts.richContent"]
|
|
2013
|
+
["posts.richContent", "posts.rich_content"]
|
|
2000
2014
|
);
|
|
2001
2015
|
return {
|
|
2002
2016
|
items: transformedData?.posts,
|
|
@@ -2044,7 +2058,7 @@ async function typedQueryPosts(query, options) {
|
|
|
2044
2058
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
2045
2059
|
}
|
|
2046
2060
|
]),
|
|
2047
|
-
["posts.richContent"]
|
|
2061
|
+
["posts.richContent", "posts.rich_content"]
|
|
2048
2062
|
);
|
|
2049
2063
|
} catch (err) {
|
|
2050
2064
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -2131,6 +2145,7 @@ async function getPostMetrics2(postId) {
|
|
|
2131
2145
|
Origin,
|
|
2132
2146
|
Placement,
|
|
2133
2147
|
PluginContainerDataAlignment,
|
|
2148
|
+
PointerEffectType,
|
|
2134
2149
|
PollDesignBackgroundType,
|
|
2135
2150
|
PollLayoutDirection,
|
|
2136
2151
|
PollLayoutType,
|