@wix/auto_sdk_blog_posts 1.0.122 → 1.0.124

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.
@@ -4171,7 +4171,128 @@ interface PostsQueryBuilder {
4171
4171
  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>>;
4172
4172
  interface PostQuerySpec extends QuerySpec {
4173
4173
  paging: 'cursor';
4174
- wql: [];
4174
+ wql: [
4175
+ {
4176
+ fields: ['_id'];
4177
+ operators: ['$eq', '$hasSome', '$in', '$ne', '$nin'];
4178
+ sort: 'BOTH';
4179
+ },
4180
+ {
4181
+ fields: ['title'];
4182
+ operators: [
4183
+ '$eq',
4184
+ '$exists',
4185
+ '$gt',
4186
+ '$gte',
4187
+ '$hasSome',
4188
+ '$in',
4189
+ '$lt',
4190
+ '$lte',
4191
+ '$ne',
4192
+ '$startsWith'
4193
+ ];
4194
+ sort: 'BOTH';
4195
+ },
4196
+ {
4197
+ fields: ['firstPublishedDate'];
4198
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4199
+ sort: 'BOTH';
4200
+ },
4201
+ {
4202
+ fields: ['lastPublishedDate'];
4203
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4204
+ sort: 'BOTH';
4205
+ },
4206
+ {
4207
+ fields: ['slug'];
4208
+ operators: [
4209
+ '$eq',
4210
+ '$gt',
4211
+ '$gte',
4212
+ '$hasAll',
4213
+ '$hasSome',
4214
+ '$lt',
4215
+ '$lte',
4216
+ '$ne'
4217
+ ];
4218
+ sort: 'BOTH';
4219
+ },
4220
+ {
4221
+ fields: ['featured'];
4222
+ operators: ['$eq', '$ne'];
4223
+ sort: 'BOTH';
4224
+ },
4225
+ {
4226
+ fields: ['pinned'];
4227
+ operators: ['$eq', '$ne'];
4228
+ sort: 'BOTH';
4229
+ },
4230
+ {
4231
+ fields: ['categoryIds'];
4232
+ operators: ['$hasAll', '$hasSome'];
4233
+ sort: 'NONE';
4234
+ },
4235
+ {
4236
+ fields: ['memberId'];
4237
+ operators: ['$eq', '$hasSome', '$ne'];
4238
+ sort: 'NONE';
4239
+ },
4240
+ {
4241
+ fields: ['hashtags'];
4242
+ operators: ['$hasAll', '$hasSome'];
4243
+ sort: 'NONE';
4244
+ },
4245
+ {
4246
+ fields: ['commentingEnabled'];
4247
+ operators: ['$eq', '$ne'];
4248
+ sort: 'BOTH';
4249
+ },
4250
+ {
4251
+ fields: ['minutesToRead'];
4252
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4253
+ sort: 'NONE';
4254
+ },
4255
+ {
4256
+ fields: ['tagIds'];
4257
+ operators: ['$hasAll', '$hasSome'];
4258
+ sort: 'NONE';
4259
+ },
4260
+ {
4261
+ fields: ['pricingPlanIds'];
4262
+ operators: ['$hasAll', '$hasSome'];
4263
+ sort: 'NONE';
4264
+ },
4265
+ {
4266
+ fields: ['language'];
4267
+ operators: ['$eq', '$exists', '$hasSome', '$in', '$ne'];
4268
+ sort: 'NONE';
4269
+ },
4270
+ {
4271
+ fields: ['translationId'];
4272
+ operators: ['$eq', '$exists', '$in', '$ne'];
4273
+ sort: 'NONE';
4274
+ },
4275
+ {
4276
+ fields: ['metrics.views'];
4277
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4278
+ sort: 'BOTH';
4279
+ },
4280
+ {
4281
+ fields: ['metrics.comments'];
4282
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4283
+ sort: 'BOTH';
4284
+ },
4285
+ {
4286
+ fields: ['metrics.likes'];
4287
+ operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];
4288
+ sort: 'BOTH';
4289
+ },
4290
+ {
4291
+ fields: ['media.displayed'];
4292
+ operators: ['$eq', '$ne'];
4293
+ sort: 'NONE';
4294
+ }
4295
+ ];
4175
4296
  }
4176
4297
  type CommonQueryWithEntityContext = Query<Post, PostQuerySpec>;
4177
4298
  type PostQuery = {