@wix/auto_sdk_blog_posts 1.0.181 → 1.0.182
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.js +19 -19
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +166 -166
- package/build/cjs/index.typings.js +19 -19
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +166 -166
- package/build/cjs/meta.js +19 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +19 -19
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +166 -166
- package/build/es/index.typings.mjs +19 -19
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +166 -166
- package/build/es/meta.mjs +19 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +220 -220
- package/build/internal/cjs/meta.d.ts +220 -220
- package/build/internal/es/index.typings.d.mts +220 -220
- package/build/internal/es/meta.d.mts +220 -220
- package/package.json +2 -2
|
@@ -3546,172 +3546,6 @@ interface GetTotalPostsResponse {
|
|
|
3546
3546
|
/** Total amount of published posts. */
|
|
3547
3547
|
total?: number;
|
|
3548
3548
|
}
|
|
3549
|
-
interface ListDemoPostsRequest {
|
|
3550
|
-
/**
|
|
3551
|
-
* Whether to return only featured posts.
|
|
3552
|
-
*
|
|
3553
|
-
* Default: `false`
|
|
3554
|
-
*/
|
|
3555
|
-
featured?: boolean;
|
|
3556
|
-
/**
|
|
3557
|
-
* Hashtag filter.
|
|
3558
|
-
*
|
|
3559
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3560
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
3561
|
-
* @maxSize 100
|
|
3562
|
-
* @maxLength 100
|
|
3563
|
-
*/
|
|
3564
|
-
hashtags?: string[];
|
|
3565
|
-
/**
|
|
3566
|
-
* Category filter.
|
|
3567
|
-
*
|
|
3568
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3569
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
3570
|
-
* @maxSize 50
|
|
3571
|
-
* @format GUID
|
|
3572
|
-
*/
|
|
3573
|
-
categoryIds?: string[];
|
|
3574
|
-
/**
|
|
3575
|
-
* Tag filter.
|
|
3576
|
-
*
|
|
3577
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3578
|
-
* If omitted, all posts with or without tags are returned.
|
|
3579
|
-
* @maxSize 50
|
|
3580
|
-
* @format GUID
|
|
3581
|
-
*/
|
|
3582
|
-
tagIds?: string[];
|
|
3583
|
-
/**
|
|
3584
|
-
* Sorting options.
|
|
3585
|
-
*
|
|
3586
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3587
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3588
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3589
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3590
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3591
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3592
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3593
|
-
* - `RATING`: reserved for internal use.
|
|
3594
|
-
*
|
|
3595
|
-
* Default: `FEED`
|
|
3596
|
-
*/
|
|
3597
|
-
sort?: GetPostsSortWithLiterals;
|
|
3598
|
-
/** Pagination options. */
|
|
3599
|
-
paging?: BlogPaging;
|
|
3600
|
-
/**
|
|
3601
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
3602
|
-
* This parameter will be removed on June 30, 2023.
|
|
3603
|
-
*
|
|
3604
|
-
* List of post fields to be included in the response.
|
|
3605
|
-
* @maxSize 20
|
|
3606
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3607
|
-
* This parameter will be removed on June 30, 2023.
|
|
3608
|
-
*
|
|
3609
|
-
* List of post fields to be included in the response.
|
|
3610
|
-
* @replacedBy fieldsets
|
|
3611
|
-
* @targetRemovalDate 2024-06-30
|
|
3612
|
-
*/
|
|
3613
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3614
|
-
/**
|
|
3615
|
-
* Language filter.
|
|
3616
|
-
*
|
|
3617
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3618
|
-
* Pass a language to only receive posts that are in that language.
|
|
3619
|
-
* If omitted, posts in all languages are returned.
|
|
3620
|
-
* @format LANGUAGE_TAG
|
|
3621
|
-
*/
|
|
3622
|
-
language?: string | null;
|
|
3623
|
-
/**
|
|
3624
|
-
* Post owner's member ID.
|
|
3625
|
-
* @format GUID
|
|
3626
|
-
*/
|
|
3627
|
-
memberId?: string | null;
|
|
3628
|
-
/**
|
|
3629
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3630
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3631
|
-
* only the post’s base fields are returned.
|
|
3632
|
-
* @maxSize 20
|
|
3633
|
-
*/
|
|
3634
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3635
|
-
}
|
|
3636
|
-
declare enum GetPostsSort {
|
|
3637
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3638
|
-
FEED = "FEED",
|
|
3639
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3640
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3641
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3642
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3643
|
-
/** Ordered by total number of views in descending order. */
|
|
3644
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3645
|
-
/** Ordered by total number of likes in descending order. */
|
|
3646
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3647
|
-
/** Ordered by `title` in ascending order. */
|
|
3648
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3649
|
-
/** Ordered by `title` in descending order. */
|
|
3650
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3651
|
-
}
|
|
3652
|
-
/** @enumType */
|
|
3653
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3654
|
-
interface BlogPaging {
|
|
3655
|
-
/**
|
|
3656
|
-
* Number of items to skip in the current sort order.
|
|
3657
|
-
*
|
|
3658
|
-
*
|
|
3659
|
-
* Default: `0`
|
|
3660
|
-
*/
|
|
3661
|
-
offset?: number;
|
|
3662
|
-
/**
|
|
3663
|
-
* Number of items to return.
|
|
3664
|
-
*
|
|
3665
|
-
*
|
|
3666
|
-
* Default:`50`
|
|
3667
|
-
* @min 1
|
|
3668
|
-
* @max 100
|
|
3669
|
-
*/
|
|
3670
|
-
limit?: number;
|
|
3671
|
-
/**
|
|
3672
|
-
* Pointer to the next or previous page in the list of results.
|
|
3673
|
-
* @maxLength 2000
|
|
3674
|
-
*/
|
|
3675
|
-
cursor?: string | null;
|
|
3676
|
-
}
|
|
3677
|
-
declare enum PostFieldField {
|
|
3678
|
-
UNKNOWN = "UNKNOWN",
|
|
3679
|
-
/** Includes post URL when present. */
|
|
3680
|
-
URL = "URL",
|
|
3681
|
-
/** Includes post content text string when present. */
|
|
3682
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3683
|
-
/** Includes post metrics when present. */
|
|
3684
|
-
METRICS = "METRICS",
|
|
3685
|
-
/** Includes SEO data. */
|
|
3686
|
-
SEO = "SEO",
|
|
3687
|
-
/** Includes post owner's contact ID. */
|
|
3688
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3689
|
-
/** Includes post rich content. */
|
|
3690
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3691
|
-
/** Includes post reference ID field. */
|
|
3692
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3693
|
-
}
|
|
3694
|
-
/** @enumType */
|
|
3695
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3696
|
-
interface ListDemoPostsResponse {
|
|
3697
|
-
/** List of posts. */
|
|
3698
|
-
posts?: Post[];
|
|
3699
|
-
/** Details on the paged set of results returned. */
|
|
3700
|
-
metaData?: MetaData;
|
|
3701
|
-
}
|
|
3702
|
-
interface MetaData {
|
|
3703
|
-
/** Number of items returned in this response. */
|
|
3704
|
-
count?: number;
|
|
3705
|
-
/** Requested offset. */
|
|
3706
|
-
offset?: number;
|
|
3707
|
-
/** Total number of items that match the query. */
|
|
3708
|
-
total?: number;
|
|
3709
|
-
/**
|
|
3710
|
-
* Pointer to the next or previous page in the list of results.
|
|
3711
|
-
* @maxLength 2000
|
|
3712
|
-
*/
|
|
3713
|
-
cursor?: string | null;
|
|
3714
|
-
}
|
|
3715
3549
|
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3716
3550
|
/**
|
|
3717
3551
|
* Member ID of person who triggered the counter update
|
|
@@ -3781,6 +3615,25 @@ interface GetPostRequest {
|
|
|
3781
3615
|
*/
|
|
3782
3616
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3783
3617
|
}
|
|
3618
|
+
declare enum PostFieldField {
|
|
3619
|
+
UNKNOWN = "UNKNOWN",
|
|
3620
|
+
/** Includes post URL when present. */
|
|
3621
|
+
URL = "URL",
|
|
3622
|
+
/** Includes post content text string when present. */
|
|
3623
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3624
|
+
/** Includes post metrics when present. */
|
|
3625
|
+
METRICS = "METRICS",
|
|
3626
|
+
/** Includes SEO data. */
|
|
3627
|
+
SEO = "SEO",
|
|
3628
|
+
/** Includes post owner's contact ID. */
|
|
3629
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3630
|
+
/** Includes post rich content. */
|
|
3631
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3632
|
+
/** Includes post reference ID field. */
|
|
3633
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3634
|
+
}
|
|
3635
|
+
/** @enumType */
|
|
3636
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3784
3637
|
interface GetPostResponse {
|
|
3785
3638
|
/** Retrieved post info. */
|
|
3786
3639
|
post?: Post;
|
|
@@ -3873,12 +3726,66 @@ interface ListPostsRequest {
|
|
|
3873
3726
|
*/
|
|
3874
3727
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3875
3728
|
}
|
|
3729
|
+
declare enum GetPostsSort {
|
|
3730
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3731
|
+
FEED = "FEED",
|
|
3732
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3733
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3734
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3735
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3736
|
+
/** Ordered by total number of views in descending order. */
|
|
3737
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3738
|
+
/** Ordered by total number of likes in descending order. */
|
|
3739
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3740
|
+
/** Ordered by `title` in ascending order. */
|
|
3741
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3742
|
+
/** Ordered by `title` in descending order. */
|
|
3743
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3744
|
+
}
|
|
3745
|
+
/** @enumType */
|
|
3746
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3747
|
+
interface BlogPaging {
|
|
3748
|
+
/**
|
|
3749
|
+
* Number of items to skip in the current sort order.
|
|
3750
|
+
*
|
|
3751
|
+
*
|
|
3752
|
+
* Default: `0`
|
|
3753
|
+
*/
|
|
3754
|
+
offset?: number;
|
|
3755
|
+
/**
|
|
3756
|
+
* Number of items to return.
|
|
3757
|
+
*
|
|
3758
|
+
*
|
|
3759
|
+
* Default:`50`
|
|
3760
|
+
* @min 1
|
|
3761
|
+
* @max 100
|
|
3762
|
+
*/
|
|
3763
|
+
limit?: number;
|
|
3764
|
+
/**
|
|
3765
|
+
* Pointer to the next or previous page in the list of results.
|
|
3766
|
+
* @maxLength 2000
|
|
3767
|
+
*/
|
|
3768
|
+
cursor?: string | null;
|
|
3769
|
+
}
|
|
3876
3770
|
interface ListPostsResponse {
|
|
3877
3771
|
/** List of retrieved posts. */
|
|
3878
3772
|
posts?: Post[];
|
|
3879
3773
|
/** Details on the paged set of results returned. */
|
|
3880
3774
|
metaData?: MetaData;
|
|
3881
3775
|
}
|
|
3776
|
+
interface MetaData {
|
|
3777
|
+
/** Number of items returned in this response. */
|
|
3778
|
+
count?: number;
|
|
3779
|
+
/** Requested offset. */
|
|
3780
|
+
offset?: number;
|
|
3781
|
+
/** Total number of items that match the query. */
|
|
3782
|
+
total?: number;
|
|
3783
|
+
/**
|
|
3784
|
+
* Pointer to the next or previous page in the list of results.
|
|
3785
|
+
* @maxLength 2000
|
|
3786
|
+
*/
|
|
3787
|
+
cursor?: string | null;
|
|
3788
|
+
}
|
|
3882
3789
|
interface QueryPostsRequest {
|
|
3883
3790
|
/** Query options. */
|
|
3884
3791
|
query?: PlatformQuery;
|
|
@@ -4237,6 +4144,99 @@ interface PostCount {
|
|
|
4237
4144
|
/** Number of posts. */
|
|
4238
4145
|
postCount?: number;
|
|
4239
4146
|
}
|
|
4147
|
+
interface ListDemoPostsRequest {
|
|
4148
|
+
/**
|
|
4149
|
+
* Whether to return only featured posts.
|
|
4150
|
+
*
|
|
4151
|
+
* Default: `false`
|
|
4152
|
+
*/
|
|
4153
|
+
featured?: boolean;
|
|
4154
|
+
/**
|
|
4155
|
+
* Hashtag filter.
|
|
4156
|
+
*
|
|
4157
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
4158
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
4159
|
+
* @maxSize 100
|
|
4160
|
+
* @maxLength 100
|
|
4161
|
+
*/
|
|
4162
|
+
hashtags?: string[];
|
|
4163
|
+
/**
|
|
4164
|
+
* Category filter.
|
|
4165
|
+
*
|
|
4166
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
4167
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
4168
|
+
* @maxSize 50
|
|
4169
|
+
* @format GUID
|
|
4170
|
+
*/
|
|
4171
|
+
categoryIds?: string[];
|
|
4172
|
+
/**
|
|
4173
|
+
* Tag filter.
|
|
4174
|
+
*
|
|
4175
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
4176
|
+
* If omitted, all posts with or without tags are returned.
|
|
4177
|
+
* @maxSize 50
|
|
4178
|
+
* @format GUID
|
|
4179
|
+
*/
|
|
4180
|
+
tagIds?: string[];
|
|
4181
|
+
/**
|
|
4182
|
+
* Sorting options.
|
|
4183
|
+
*
|
|
4184
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
4185
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
4186
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
4187
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
4188
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
4189
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
4190
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
4191
|
+
* - `RATING`: reserved for internal use.
|
|
4192
|
+
*
|
|
4193
|
+
* Default: `FEED`
|
|
4194
|
+
*/
|
|
4195
|
+
sort?: GetPostsSortWithLiterals;
|
|
4196
|
+
/** Pagination options. */
|
|
4197
|
+
paging?: BlogPaging;
|
|
4198
|
+
/**
|
|
4199
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
4200
|
+
* This parameter will be removed on June 30, 2023.
|
|
4201
|
+
*
|
|
4202
|
+
* List of post fields to be included in the response.
|
|
4203
|
+
* @maxSize 20
|
|
4204
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4205
|
+
* This parameter will be removed on June 30, 2023.
|
|
4206
|
+
*
|
|
4207
|
+
* List of post fields to be included in the response.
|
|
4208
|
+
* @replacedBy fieldsets
|
|
4209
|
+
* @targetRemovalDate 2024-06-30
|
|
4210
|
+
*/
|
|
4211
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4212
|
+
/**
|
|
4213
|
+
* Language filter.
|
|
4214
|
+
*
|
|
4215
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4216
|
+
* Pass a language to only receive posts that are in that language.
|
|
4217
|
+
* If omitted, posts in all languages are returned.
|
|
4218
|
+
* @format LANGUAGE_TAG
|
|
4219
|
+
*/
|
|
4220
|
+
language?: string | null;
|
|
4221
|
+
/**
|
|
4222
|
+
* Post owner's member ID.
|
|
4223
|
+
* @format GUID
|
|
4224
|
+
*/
|
|
4225
|
+
memberId?: string | null;
|
|
4226
|
+
/**
|
|
4227
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4228
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4229
|
+
* only the post’s base fields are returned.
|
|
4230
|
+
* @maxSize 20
|
|
4231
|
+
*/
|
|
4232
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4233
|
+
}
|
|
4234
|
+
interface ListDemoPostsResponse {
|
|
4235
|
+
/** List of posts. */
|
|
4236
|
+
posts?: Post[];
|
|
4237
|
+
/** Details on the paged set of results returned. */
|
|
4238
|
+
metaData?: MetaData;
|
|
4239
|
+
}
|
|
4240
4240
|
interface BaseEventMetadata {
|
|
4241
4241
|
/**
|
|
4242
4242
|
* App instance ID.
|
|
@@ -1728,17 +1728,14 @@ var Order = /* @__PURE__ */ ((Order2) => {
|
|
|
1728
1728
|
Order2["NEWEST"] = "NEWEST";
|
|
1729
1729
|
return Order2;
|
|
1730
1730
|
})(Order || {});
|
|
1731
|
-
var
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
GetPostsSort2["RATING"] = "RATING";
|
|
1740
|
-
return GetPostsSort2;
|
|
1741
|
-
})(GetPostsSort || {});
|
|
1731
|
+
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1732
|
+
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1733
|
+
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
1734
|
+
Field2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1735
|
+
Field2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1736
|
+
Field2["RATING_COUNT"] = "RATING_COUNT";
|
|
1737
|
+
return Field2;
|
|
1738
|
+
})(Field || {});
|
|
1742
1739
|
var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
1743
1740
|
PostFieldField2["UNKNOWN"] = "UNKNOWN";
|
|
1744
1741
|
PostFieldField2["COUNTERS"] = "COUNTERS";
|
|
@@ -1762,14 +1759,17 @@ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
|
|
|
1762
1759
|
PostFieldField2["IMAGE"] = "IMAGE";
|
|
1763
1760
|
return PostFieldField2;
|
|
1764
1761
|
})(PostFieldField || {});
|
|
1765
|
-
var
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1762
|
+
var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
|
|
1763
|
+
GetPostsSort2["FEED"] = "FEED";
|
|
1764
|
+
GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1765
|
+
GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
1766
|
+
GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
|
|
1767
|
+
GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
|
|
1768
|
+
GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
|
|
1769
|
+
GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
|
|
1770
|
+
GetPostsSort2["RATING"] = "RATING";
|
|
1771
|
+
return GetPostsSort2;
|
|
1772
|
+
})(GetPostsSort || {});
|
|
1773
1773
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1774
1774
|
SortOrder2["ASC"] = "ASC";
|
|
1775
1775
|
SortOrder2["DESC"] = "DESC";
|