@wix/auto_sdk_editor-branches_branches 1.0.48 → 1.0.49

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.
@@ -199,39 +199,33 @@ interface QueryBranchesRequest {
199
199
  query?: CursorQuery;
200
200
  }
201
201
  interface CursorQuery extends CursorQueryPagingMethodOneOf {
202
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
203
- cursorPaging?: CursorPaging;
204
202
  /**
205
- * Filter object in the following format: `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"}}`.
206
- *
207
- * Filterable fields:
203
+ * Cursor paging options.
208
204
  *
209
- * - `type`,
210
- * - `name`,
211
- * - `updatedDate`,
212
- * - `createdDate`,
213
- * - `lastPublishDate`,
214
- * - `sourceBranchProperties.branchId`,
215
- * - `sourceBranchProperties.branchRevision`
205
+ * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).
206
+ */
207
+ cursorPaging?: CursorPaging;
208
+ /**
209
+ * Filter object.
216
210
  *
217
- * All operators are valid.
211
+ * Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).
218
212
  */
219
213
  filter?: Record<string, any> | null;
220
214
  /**
221
- * Sort object in the following format: `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`.
222
- *
223
- * Sortable fields:
215
+ * Sort object.
224
216
  *
225
- * - `updatedDate`,
226
- * - `createdDate`,
227
- * - `lastPublishDate`
217
+ * Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).
228
218
  * @maxSize 5
229
219
  */
230
220
  sort?: Sorting[];
231
221
  }
232
222
  /** @oneof */
233
223
  interface CursorQueryPagingMethodOneOf {
234
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
224
+ /**
225
+ * Cursor paging options.
226
+ *
227
+ * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).
228
+ */
235
229
  cursorPaging?: CursorPaging;
236
230
  }
237
231
  interface Sorting {
@@ -1502,7 +1496,9 @@ interface BranchQuerySpec extends QuerySpec {
1502
1496
  type CommonQueryWithEntityContext = Query<Branch, BranchQuerySpec>;
1503
1497
  type BranchQuery = {
1504
1498
  /**
1505
- Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
1499
+ Cursor paging options.
1500
+
1501
+ Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).
1506
1502
  */
1507
1503
  cursorPaging?: {
1508
1504
  /**
@@ -1520,29 +1516,15 @@ type BranchQuery = {
1520
1516
  cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
1521
1517
  };
1522
1518
  /**
1523
- Filter object in the following format: `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"}}`.
1519
+ Filter object.
1524
1520
 
1525
- Filterable fields:
1526
-
1527
- - `type`,
1528
- - `name`,
1529
- - `updatedDate`,
1530
- - `createdDate`,
1531
- - `lastPublishDate`,
1532
- - `sourceBranchProperties.branchId`,
1533
- - `sourceBranchProperties.branchRevision`
1534
-
1535
- All operators are valid.
1521
+ Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).
1536
1522
  */
1537
1523
  filter?: CommonQueryWithEntityContext['filter'] | null;
1538
1524
  /**
1539
- Sort object in the following format: `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`.
1540
-
1541
- Sortable fields:
1525
+ Sort object.
1542
1526
 
1543
- - `updatedDate`,
1544
- - `createdDate`,
1545
- - `lastPublishDate`
1527
+ Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).
1546
1528
  @maxSize: 5
1547
1529
  */
1548
1530
  sort?: {