@wix/auto_sdk_blog_posts 1.0.122 → 1.0.123

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.
@@ -4164,7 +4164,128 @@ interface PostsQueryBuilder {
4164
4164
  declare function typedQueryPosts(query: PostQuery, options?: QueryPostsOptions): Promise<NonNullablePaths<QueryPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges`, 6>>;
4165
4165
  interface PostQuerySpec extends QuerySpec {
4166
4166
  paging: 'cursor';
4167
- wql: [];
4167
+ wql: [
4168
+ {
4169
+ fields: ['_id'];
4170
+ operators: ['$eq', '$hasSome', '$in', '$ne', '$nin'];
4171
+ sort: 'BOTH';
4172
+ },
4173
+ {
4174
+ fields: ['title'];
4175
+ operators: [
4176
+ '$eq',
4177
+ '$exists',
4178
+ '$gt',
4179
+ '$gte',
4180
+ '$hasSome',
4181
+ '$in',
4182
+ '$lt',
4183
+ '$lte',
4184
+ '$ne',
4185
+ '$startsWith'
4186
+ ];
4187
+ sort: 'BOTH';
4188
+ },
4189
+ {
4190
+ fields: ['firstPublishedDate'];
4191
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4192
+ sort: 'BOTH';
4193
+ },
4194
+ {
4195
+ fields: ['lastPublishedDate'];
4196
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4197
+ sort: 'BOTH';
4198
+ },
4199
+ {
4200
+ fields: ['slug'];
4201
+ operators: [
4202
+ '$eq',
4203
+ '$gt',
4204
+ '$gte',
4205
+ '$hasAll',
4206
+ '$hasSome',
4207
+ '$lt',
4208
+ '$lte',
4209
+ '$ne'
4210
+ ];
4211
+ sort: 'BOTH';
4212
+ },
4213
+ {
4214
+ fields: ['featured'];
4215
+ operators: ['$eq', '$ne'];
4216
+ sort: 'BOTH';
4217
+ },
4218
+ {
4219
+ fields: ['pinned'];
4220
+ operators: ['$eq', '$ne'];
4221
+ sort: 'BOTH';
4222
+ },
4223
+ {
4224
+ fields: ['categoryIds'];
4225
+ operators: ['$hasAll', '$hasSome'];
4226
+ sort: 'NONE';
4227
+ },
4228
+ {
4229
+ fields: ['memberId'];
4230
+ operators: ['$eq', '$hasSome', '$ne'];
4231
+ sort: 'NONE';
4232
+ },
4233
+ {
4234
+ fields: ['hashtags'];
4235
+ operators: ['$hasAll', '$hasSome'];
4236
+ sort: 'NONE';
4237
+ },
4238
+ {
4239
+ fields: ['commentingEnabled'];
4240
+ operators: ['$eq', '$ne'];
4241
+ sort: 'BOTH';
4242
+ },
4243
+ {
4244
+ fields: ['minutesToRead'];
4245
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4246
+ sort: 'NONE';
4247
+ },
4248
+ {
4249
+ fields: ['tagIds'];
4250
+ operators: ['$hasAll', '$hasSome'];
4251
+ sort: 'NONE';
4252
+ },
4253
+ {
4254
+ fields: ['pricingPlanIds'];
4255
+ operators: ['$hasAll', '$hasSome'];
4256
+ sort: 'NONE';
4257
+ },
4258
+ {
4259
+ fields: ['language'];
4260
+ operators: ['$eq', '$exists', '$hasSome', '$in', '$ne'];
4261
+ sort: 'NONE';
4262
+ },
4263
+ {
4264
+ fields: ['translationId'];
4265
+ operators: ['$eq', '$exists', '$in', '$ne'];
4266
+ sort: 'NONE';
4267
+ },
4268
+ {
4269
+ fields: ['metrics.views'];
4270
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4271
+ sort: 'BOTH';
4272
+ },
4273
+ {
4274
+ fields: ['metrics.comments'];
4275
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4276
+ sort: 'BOTH';
4277
+ },
4278
+ {
4279
+ fields: ['metrics.likes'];
4280
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4281
+ sort: 'BOTH';
4282
+ },
4283
+ {
4284
+ fields: ['media.displayed'];
4285
+ operators: ['$eq', '$ne'];
4286
+ sort: 'NONE';
4287
+ }
4288
+ ];
4168
4289
  }
4169
4290
  type CommonQueryWithEntityContext = Query<Post, PostQuerySpec>;
4170
4291
  type PostQuery = {
@@ -297,6 +297,10 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opt
297
297
  {
298
298
  srcPath: "/_api/communities-blog-node-api",
299
299
  destPath: ""
300
+ },
301
+ {
302
+ srcPath: "/_api/communities-blog-node-api/v3/multilingual",
303
+ destPath: "/v3/multilingual"
300
304
  }
301
305
  ],
302
306
  "social-blog._base_domain_": [