@wix/auto_sdk_blog_posts 1.0.173 → 1.0.175
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 +11 -15
- package/build/cjs/index.js +60 -30
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +124 -36
- package/build/cjs/index.typings.js +44 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +106 -2
- package/build/cjs/meta.js +37 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +82 -84
- package/build/cjs/schemas.js +161 -167
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +58 -30
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +124 -36
- package/build/es/index.typings.mjs +42 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +106 -2
- package/build/es/meta.mjs +35 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +82 -84
- package/build/es/schemas.mjs +161 -167
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +60 -30
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +124 -36
- package/build/internal/cjs/index.typings.js +44 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +106 -2
- package/build/internal/cjs/meta.js +37 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +82 -84
- package/build/internal/cjs/schemas.js +161 -167
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +58 -30
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +124 -36
- package/build/internal/es/index.typings.mjs +42 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +106 -2
- package/build/internal/es/meta.mjs +35 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +82 -84
- package/build/internal/es/schemas.mjs +161 -167
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -776,7 +776,7 @@ interface Animation {
|
|
|
776
776
|
/**
|
|
777
777
|
* POINTER carries its fields directly on the union member in the JTD wall, hence
|
|
778
778
|
* flat fields here (ts-proto camelCase must equal the JTD property names). A future
|
|
779
|
-
*
|
|
779
|
+
* kind that also needs an `effect` field would contend for this JSON name.
|
|
780
780
|
*/
|
|
781
781
|
effect?: PointerEffect;
|
|
782
782
|
/** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
|
|
@@ -2448,6 +2448,10 @@ interface LayoutData {
|
|
|
2448
2448
|
backdrop?: Backdrop;
|
|
2449
2449
|
/** Node animation. */
|
|
2450
2450
|
animation?: Animation;
|
|
2451
|
+
/** Shape divider at the top edge of the layout. */
|
|
2452
|
+
topDivider?: SectionDivider;
|
|
2453
|
+
/** Shape divider at the bottom edge of the layout. */
|
|
2454
|
+
bottomDivider?: SectionDivider;
|
|
2451
2455
|
}
|
|
2452
2456
|
declare enum ImageScalingScaling {
|
|
2453
2457
|
/** Auto image scaling */
|
|
@@ -2518,6 +2522,81 @@ declare enum BannerPosition {
|
|
|
2518
2522
|
}
|
|
2519
2523
|
/** @enumType */
|
|
2520
2524
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2525
|
+
/** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
|
|
2526
|
+
declare enum LayerEffect {
|
|
2527
|
+
/** Shape keeps its height, a solid filler bar pushes it away from the edge */
|
|
2528
|
+
CENTER = "CENTER",
|
|
2529
|
+
/** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */
|
|
2530
|
+
FADE_TO_TOP = "FADE_TO_TOP",
|
|
2531
|
+
/** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */
|
|
2532
|
+
FADE_TO_BOTTOM = "FADE_TO_BOTTOM"
|
|
2533
|
+
}
|
|
2534
|
+
/** @enumType */
|
|
2535
|
+
type LayerEffectWithLiterals = LayerEffect | 'CENTER' | 'FADE_TO_TOP' | 'FADE_TO_BOTTOM';
|
|
2536
|
+
/** Divider shape preset */
|
|
2537
|
+
declare enum Shape {
|
|
2538
|
+
/** Ellipse shape */
|
|
2539
|
+
ELLIPSE = "ELLIPSE",
|
|
2540
|
+
/** Tilt shape */
|
|
2541
|
+
TILT = "TILT",
|
|
2542
|
+
/** Liquid shape */
|
|
2543
|
+
LIQUID = "LIQUID",
|
|
2544
|
+
/** Left wave shape */
|
|
2545
|
+
LEFT_WAVE = "LEFT_WAVE",
|
|
2546
|
+
/** Paint scribble shape */
|
|
2547
|
+
PAINT_SCRIBBLE = "PAINT_SCRIBBLE",
|
|
2548
|
+
/** Inverted ellipse shape */
|
|
2549
|
+
INVERTED_ELLIPSE = "INVERTED_ELLIPSE",
|
|
2550
|
+
/** Right wave shape */
|
|
2551
|
+
RIGHT_WAVE = "RIGHT_WAVE",
|
|
2552
|
+
/** Dunes shape */
|
|
2553
|
+
DUNES = "DUNES",
|
|
2554
|
+
/** Waves shape */
|
|
2555
|
+
WAVES = "WAVES",
|
|
2556
|
+
/** Triangle shape */
|
|
2557
|
+
TRIANGLE = "TRIANGLE",
|
|
2558
|
+
/** Semi-ellipse shape */
|
|
2559
|
+
SEMI_ELLIPSE = "SEMI_ELLIPSE",
|
|
2560
|
+
/** Plants shape */
|
|
2561
|
+
PLANTS = "PLANTS",
|
|
2562
|
+
/** Layered ellipse shape */
|
|
2563
|
+
LAYERED_ELLIPSE = "LAYERED_ELLIPSE",
|
|
2564
|
+
/** Pixels shape */
|
|
2565
|
+
PIXELS = "PIXELS",
|
|
2566
|
+
/** Paint shape */
|
|
2567
|
+
PAINT = "PAINT",
|
|
2568
|
+
/** Clouds shape */
|
|
2569
|
+
CLOUDS = "CLOUDS",
|
|
2570
|
+
/** Optical illusion shape */
|
|
2571
|
+
OPTICAL_ILLUSION = "OPTICAL_ILLUSION",
|
|
2572
|
+
/** Stripes shape */
|
|
2573
|
+
STRIPES = "STRIPES",
|
|
2574
|
+
/** Blobs shape */
|
|
2575
|
+
BLOBS = "BLOBS",
|
|
2576
|
+
/** Semi-circles shape */
|
|
2577
|
+
SEMI_CIRCLES = "SEMI_CIRCLES",
|
|
2578
|
+
/** Hill shape */
|
|
2579
|
+
HILL = "HILL",
|
|
2580
|
+
/** Brush shape */
|
|
2581
|
+
BRUSH = "BRUSH",
|
|
2582
|
+
/** Peaks shape */
|
|
2583
|
+
PEAKS = "PEAKS",
|
|
2584
|
+
/** Angled triangle shape */
|
|
2585
|
+
ANGLED_TRIANGLE = "ANGLED_TRIANGLE"
|
|
2586
|
+
}
|
|
2587
|
+
/** @enumType */
|
|
2588
|
+
type ShapeWithLiterals = Shape | 'ELLIPSE' | 'TILT' | 'LIQUID' | 'LEFT_WAVE' | 'PAINT_SCRIBBLE' | 'INVERTED_ELLIPSE' | 'RIGHT_WAVE' | 'DUNES' | 'WAVES' | 'TRIANGLE' | 'SEMI_ELLIPSE' | 'PLANTS' | 'LAYERED_ELLIPSE' | 'PIXELS' | 'PAINT' | 'CLOUDS' | 'OPTICAL_ILLUSION' | 'STRIPES' | 'BLOBS' | 'SEMI_CIRCLES' | 'HILL' | 'BRUSH' | 'PEAKS' | 'ANGLED_TRIANGLE';
|
|
2589
|
+
/** Layers effect - stacked semi-transparent copies of the divider shape */
|
|
2590
|
+
interface Layers {
|
|
2591
|
+
/** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */
|
|
2592
|
+
count?: number | null;
|
|
2593
|
+
/** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */
|
|
2594
|
+
offsetY?: number | null;
|
|
2595
|
+
/** How the stacked layers fade relative to the base shape. */
|
|
2596
|
+
layerEffect?: LayerEffectWithLiterals;
|
|
2597
|
+
/** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */
|
|
2598
|
+
offsetX?: number | null;
|
|
2599
|
+
}
|
|
2521
2600
|
/** Backdrop type */
|
|
2522
2601
|
declare enum BackdropType {
|
|
2523
2602
|
/** Solid color backdrop */
|
|
@@ -2588,6 +2667,24 @@ interface Backdrop {
|
|
|
2588
2667
|
/** Gradient configuration. */
|
|
2589
2668
|
gradient?: Gradient;
|
|
2590
2669
|
}
|
|
2670
|
+
/** Decorative shape divider at a layout edge */
|
|
2671
|
+
interface SectionDivider {
|
|
2672
|
+
/** Divider shape preset. Determines which customization properties apply. */
|
|
2673
|
+
type?: ShapeWithLiterals;
|
|
2674
|
+
/**
|
|
2675
|
+
* Divider fill color as a hexadecimal value (may include alpha).
|
|
2676
|
+
* @maxLength 19
|
|
2677
|
+
*/
|
|
2678
|
+
color?: string | null;
|
|
2679
|
+
/** Divider height in pixels. */
|
|
2680
|
+
height?: number | null;
|
|
2681
|
+
/** Horizontal offset in pixels. */
|
|
2682
|
+
offsetX?: number | null;
|
|
2683
|
+
/** Whether the shape is flipped horizontally. */
|
|
2684
|
+
flipped?: boolean | null;
|
|
2685
|
+
/** Layers effect - stacked semi-transparent copies of the divider shape. */
|
|
2686
|
+
layers?: Layers;
|
|
2687
|
+
}
|
|
2591
2688
|
interface LayoutCellData {
|
|
2592
2689
|
/** Size of the cell in 12 columns grid. */
|
|
2593
2690
|
colSpan?: number | null;
|
|
@@ -2601,6 +2698,13 @@ interface ShapeData {
|
|
|
2601
2698
|
styles?: ShapeDataStyles;
|
|
2602
2699
|
/** Node animation. */
|
|
2603
2700
|
animation?: Animation;
|
|
2701
|
+
/** Link details for shapes that are links. */
|
|
2702
|
+
link?: Link;
|
|
2703
|
+
/**
|
|
2704
|
+
* Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.
|
|
2705
|
+
* @maxLength 1000
|
|
2706
|
+
*/
|
|
2707
|
+
altText?: string | null;
|
|
2604
2708
|
}
|
|
2605
2709
|
interface ShapeDataStyles {
|
|
2606
2710
|
/**
|
|
@@ -4250,14 +4354,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
4250
4354
|
/**
|
|
4251
4355
|
* Retrieves the number of published posts per month within a specified time range.
|
|
4252
4356
|
*
|
|
4253
|
-
*
|
|
4254
|
-
* The
|
|
4255
|
-
*
|
|
4256
|
-
*
|
|
4257
|
-
*
|
|
4258
|
-
*
|
|
4357
|
+
* The time range is set using the `rangeStart` and `months` properties.
|
|
4358
|
+
* The time range always starts on the 1st day of the month set in `rangeStart` and
|
|
4359
|
+
* includes the number of `months` following `rangeStart`.
|
|
4360
|
+
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4361
|
+
* the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
|
|
4362
|
+
* > Note: If there are no published posts in a month within the time range, 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.
|
|
4259
4363
|
* @public
|
|
4260
|
-
* @param options - Options specifying time frame, sort, and filter.
|
|
4261
4364
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4262
4365
|
* @applicableIdentity APP
|
|
4263
4366
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4298,7 +4401,6 @@ interface QueryPostCountStatsOptions {
|
|
|
4298
4401
|
/**
|
|
4299
4402
|
* Retrieves the total amount of published posts of the blog.
|
|
4300
4403
|
* @public
|
|
4301
|
-
* @param options - Language Options.
|
|
4302
4404
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4303
4405
|
* @applicableIdentity APP
|
|
4304
4406
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4319,12 +4421,12 @@ interface GetTotalPostsOptions {
|
|
|
4319
4421
|
* @param postId - Post ID.
|
|
4320
4422
|
* @public
|
|
4321
4423
|
* @requiredField postId
|
|
4322
|
-
* @param options - Options specifying which fields to return.
|
|
4323
4424
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4324
4425
|
* @applicableIdentity APP
|
|
4426
|
+
* @returns Retrieved post info.
|
|
4325
4427
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4326
4428
|
*/
|
|
4327
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4429
|
+
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
|
|
4328
4430
|
interface GetPostOptions {
|
|
4329
4431
|
/**
|
|
4330
4432
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4344,7 +4446,6 @@ interface GetPostOptions {
|
|
|
4344
4446
|
* @param slug - Slug of the post to retrieve.
|
|
4345
4447
|
* @public
|
|
4346
4448
|
* @requiredField slug
|
|
4347
|
-
* @param options - Options specifying which fields to return.
|
|
4348
4449
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4349
4450
|
* @applicableIdentity APP
|
|
4350
4451
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4372,7 +4473,6 @@ interface GetPostBySlugOptions {
|
|
|
4372
4473
|
* - `paging.limit` is `50`.
|
|
4373
4474
|
* - `paging.offset` is `0`.
|
|
4374
4475
|
* @public
|
|
4375
|
-
* @param options - Sort, filter, and paging options.
|
|
4376
4476
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4377
4477
|
* @applicableIdentity APP
|
|
4378
4478
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4443,26 +4543,18 @@ interface ListPostsOptions {
|
|
|
4443
4543
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4444
4544
|
}
|
|
4445
4545
|
/**
|
|
4446
|
-
*
|
|
4447
|
-
*
|
|
4448
|
-
*
|
|
4449
|
-
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4546
|
+
* Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
|
|
4450
4547
|
*
|
|
4451
|
-
*
|
|
4452
|
-
*
|
|
4453
|
-
*
|
|
4454
|
-
*
|
|
4455
|
-
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4456
|
-
* + `limit(50)`
|
|
4457
|
-
* + `descending('firstPublishedDate')`
|
|
4458
|
-
*
|
|
4459
|
-
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4460
|
-
*
|
|
4461
|
-
* To learn how to query posts, refer to the table below.
|
|
4548
|
+
* Query Posts runs with these defaults, which you can override:
|
|
4549
|
+
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4550
|
+
* - `paging.limit` is `50`.
|
|
4551
|
+
* - `paging.offset` is `0`.
|
|
4462
4552
|
*
|
|
4463
|
-
*
|
|
4553
|
+
* To learn about working with _Query_ endpoints, see
|
|
4554
|
+
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
4555
|
+
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
|
|
4556
|
+
* [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
4464
4557
|
* @public
|
|
4465
|
-
* @param options - Options specifying which fields to return.
|
|
4466
4558
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4467
4559
|
* @applicableIdentity APP
|
|
4468
4560
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4714,11 +4806,7 @@ type PostQuery = {
|
|
|
4714
4806
|
}[];
|
|
4715
4807
|
};
|
|
4716
4808
|
declare const utils: {
|
|
4717
|
-
query:
|
|
4718
|
-
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
|
|
4719
|
-
Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
|
|
4720
|
-
Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
|
|
4721
|
-
};
|
|
4809
|
+
query: _wix_sdk_types.QueryHelpers<Post, PostQuerySpec, PostQuery>;
|
|
4722
4810
|
};
|
|
4723
4811
|
/**
|
|
4724
4812
|
* Retrieves a post's metrics.
|
|
@@ -4733,4 +4821,4 @@ declare const utils: {
|
|
|
4733
4821
|
*/
|
|
4734
4822
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4735
4823
|
|
|
4736
|
-
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 };
|
|
4824
|
+
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, LayerEffect, type LayerEffectWithLiterals, type Layers, 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 SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, 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 };
|
|
@@ -1475,6 +1475,39 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1475
1475
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1476
1476
|
return BannerPosition2;
|
|
1477
1477
|
})(BannerPosition || {});
|
|
1478
|
+
var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
|
|
1479
|
+
LayerEffect2["CENTER"] = "CENTER";
|
|
1480
|
+
LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
|
|
1481
|
+
LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
|
|
1482
|
+
return LayerEffect2;
|
|
1483
|
+
})(LayerEffect || {});
|
|
1484
|
+
var Shape = /* @__PURE__ */ ((Shape2) => {
|
|
1485
|
+
Shape2["ELLIPSE"] = "ELLIPSE";
|
|
1486
|
+
Shape2["TILT"] = "TILT";
|
|
1487
|
+
Shape2["LIQUID"] = "LIQUID";
|
|
1488
|
+
Shape2["LEFT_WAVE"] = "LEFT_WAVE";
|
|
1489
|
+
Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
|
|
1490
|
+
Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
|
|
1491
|
+
Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
|
|
1492
|
+
Shape2["DUNES"] = "DUNES";
|
|
1493
|
+
Shape2["WAVES"] = "WAVES";
|
|
1494
|
+
Shape2["TRIANGLE"] = "TRIANGLE";
|
|
1495
|
+
Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
|
|
1496
|
+
Shape2["PLANTS"] = "PLANTS";
|
|
1497
|
+
Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
|
|
1498
|
+
Shape2["PIXELS"] = "PIXELS";
|
|
1499
|
+
Shape2["PAINT"] = "PAINT";
|
|
1500
|
+
Shape2["CLOUDS"] = "CLOUDS";
|
|
1501
|
+
Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
|
|
1502
|
+
Shape2["STRIPES"] = "STRIPES";
|
|
1503
|
+
Shape2["BLOBS"] = "BLOBS";
|
|
1504
|
+
Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
|
|
1505
|
+
Shape2["HILL"] = "HILL";
|
|
1506
|
+
Shape2["BRUSH"] = "BRUSH";
|
|
1507
|
+
Shape2["PEAKS"] = "PEAKS";
|
|
1508
|
+
Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
|
|
1509
|
+
return Shape2;
|
|
1510
|
+
})(Shape || {});
|
|
1478
1511
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1479
1512
|
BackdropType2["COLOR"] = "COLOR";
|
|
1480
1513
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1733,8 +1766,8 @@ async function getPost2(postId, options) {
|
|
|
1733
1766
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1734
1767
|
}
|
|
1735
1768
|
]),
|
|
1736
|
-
["post.richContent"
|
|
1737
|
-
);
|
|
1769
|
+
["post.richContent"]
|
|
1770
|
+
)?.post;
|
|
1738
1771
|
} catch (err) {
|
|
1739
1772
|
const transformedError = sdkTransformError(
|
|
1740
1773
|
err,
|
|
@@ -1781,7 +1814,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1781
1814
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1782
1815
|
}
|
|
1783
1816
|
]),
|
|
1784
|
-
["post.richContent"
|
|
1817
|
+
["post.richContent"]
|
|
1785
1818
|
);
|
|
1786
1819
|
} catch (err) {
|
|
1787
1820
|
const transformedError = sdkTransformError(
|
|
@@ -1840,7 +1873,7 @@ async function listPosts2(options) {
|
|
|
1840
1873
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1841
1874
|
}
|
|
1842
1875
|
]),
|
|
1843
|
-
["posts.richContent"
|
|
1876
|
+
["posts.richContent"]
|
|
1844
1877
|
);
|
|
1845
1878
|
} catch (err) {
|
|
1846
1879
|
const transformedError = sdkTransformError(
|
|
@@ -1910,7 +1943,7 @@ function queryPosts2(options) {
|
|
|
1910
1943
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1911
1944
|
}
|
|
1912
1945
|
]),
|
|
1913
|
-
["posts.richContent"
|
|
1946
|
+
["posts.richContent"]
|
|
1914
1947
|
);
|
|
1915
1948
|
return {
|
|
1916
1949
|
items: transformedData?.posts,
|
|
@@ -1958,7 +1991,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1958
1991
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1959
1992
|
}
|
|
1960
1993
|
]),
|
|
1961
|
-
["posts.richContent"
|
|
1994
|
+
["posts.richContent"]
|
|
1962
1995
|
);
|
|
1963
1996
|
} catch (err) {
|
|
1964
1997
|
const transformedError = sdkTransformError(
|
|
@@ -1975,9 +2008,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1975
2008
|
}
|
|
1976
2009
|
}
|
|
1977
2010
|
var utils = {
|
|
1978
|
-
query:
|
|
1979
|
-
...createQueryUtils()
|
|
1980
|
-
}
|
|
2011
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
1981
2012
|
};
|
|
1982
2013
|
async function getPostMetrics2(postId) {
|
|
1983
2014
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -2029,6 +2060,7 @@ export {
|
|
|
2029
2060
|
ImageScalingScaling,
|
|
2030
2061
|
Indentation,
|
|
2031
2062
|
InitialExpandedItems,
|
|
2063
|
+
LayerEffect,
|
|
2032
2064
|
Layout,
|
|
2033
2065
|
LayoutDataBackgroundType,
|
|
2034
2066
|
LayoutType,
|
|
@@ -2054,6 +2086,7 @@ export {
|
|
|
2054
2086
|
Resizing,
|
|
2055
2087
|
ResponsivenessBehaviour,
|
|
2056
2088
|
Scaling,
|
|
2089
|
+
Shape,
|
|
2057
2090
|
SmartBlockDataType,
|
|
2058
2091
|
SortOrder,
|
|
2059
2092
|
Source,
|