@wix/metro-common-builders 1.0.1577 → 1.0.1579

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.
@@ -1793,11 +1793,15 @@ declare namespace $requests {
1793
1793
  export interface IPaging {
1794
1794
  type?: $requests.wix.api.Paging.Type;
1795
1795
  pagingMetadataField?: string;
1796
+ cursorPagingMetadataField?: string;
1797
+ offsetPagingMetadataField?: string;
1796
1798
  }
1797
1799
  export class Paging implements IPaging {
1798
1800
  constructor(data?: IPaging);
1799
1801
  type?: $requests.wix.api.Paging.Type;
1800
1802
  pagingMetadataField?: string;
1803
+ cursorPagingMetadataField?: string;
1804
+ offsetPagingMetadataField?: string;
1801
1805
  static __$$generatedFromProtobuf$$__: Symbol;
1802
1806
  }
1803
1807
  export namespace Paging {
@@ -1805,6 +1809,7 @@ declare namespace $requests {
1805
1809
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1806
1810
  OFFSET = "OFFSET",
1807
1811
  CURSOR = "CURSOR",
1812
+ BOTH = "BOTH",
1808
1813
  }
1809
1814
  }
1810
1815
  export interface ICustomActionOptions {
@@ -1893,6 +1898,8 @@ declare namespace $requests {
1893
1898
  }
1894
1899
  export interface IQueryMethodOptions {
1895
1900
  queryField?: string;
1901
+ cursorQueryField?: string;
1902
+ offsetQueryField?: string;
1896
1903
  itemsField?: string;
1897
1904
  paging?: $requests.wix.api.IPaging;
1898
1905
  wql?: $requests.wix.api.IWql;
@@ -1902,6 +1909,8 @@ declare namespace $requests {
1902
1909
  export class QueryMethodOptions implements IQueryMethodOptions {
1903
1910
  constructor(data?: IQueryMethodOptions);
1904
1911
  queryField?: string;
1912
+ cursorQueryField?: string;
1913
+ offsetQueryField?: string;
1905
1914
  itemsField?: string;
1906
1915
  paging?: $requests.wix.api.IPaging;
1907
1916
  wql?: $requests.wix.api.IWql;
@@ -1911,6 +1920,8 @@ declare namespace $requests {
1911
1920
  }
1912
1921
  export interface ISearchMethodOptions {
1913
1922
  searchField?: string;
1923
+ cursorSearchField?: string;
1924
+ offsetSearchField?: string;
1914
1925
  itemsField?: string;
1915
1926
  paging?: $requests.wix.api.IPaging;
1916
1927
  wql?: $requests.wix.api.IWql;
@@ -1921,6 +1932,8 @@ declare namespace $requests {
1921
1932
  export class SearchMethodOptions implements ISearchMethodOptions {
1922
1933
  constructor(data?: ISearchMethodOptions);
1923
1934
  searchField?: string;
1935
+ cursorSearchField?: string;
1936
+ offsetSearchField?: string;
1924
1937
  itemsField?: string;
1925
1938
  paging?: $requests.wix.api.IPaging;
1926
1939
  wql?: $requests.wix.api.IWql;
@@ -5660,11 +5673,15 @@ declare namespace $responses {
5660
5673
  export interface IPaging {
5661
5674
  type: $responses.wix.api.Paging.Type;
5662
5675
  pagingMetadataField: string;
5676
+ cursorPagingMetadataField: string;
5677
+ offsetPagingMetadataField: string;
5663
5678
  }
5664
5679
  export class Paging implements IPaging {
5665
5680
  constructor(data?: IPaging);
5666
5681
  type: $responses.wix.api.Paging.Type;
5667
5682
  pagingMetadataField: string;
5683
+ cursorPagingMetadataField: string;
5684
+ offsetPagingMetadataField: string;
5668
5685
  static __$$generatedFromProtobuf$$__: Symbol;
5669
5686
  }
5670
5687
  export namespace Paging {
@@ -5672,6 +5689,7 @@ declare namespace $responses {
5672
5689
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
5673
5690
  OFFSET = "OFFSET",
5674
5691
  CURSOR = "CURSOR",
5692
+ BOTH = "BOTH",
5675
5693
  }
5676
5694
  }
5677
5695
  export interface ICustomActionOptions {
@@ -5760,6 +5778,8 @@ declare namespace $responses {
5760
5778
  }
5761
5779
  export interface IQueryMethodOptions {
5762
5780
  queryField: string;
5781
+ cursorQueryField: string;
5782
+ offsetQueryField: string;
5763
5783
  itemsField: string;
5764
5784
  paging?: $responses.wix.api.IPaging;
5765
5785
  wql?: $responses.wix.api.IWql;
@@ -5769,6 +5789,8 @@ declare namespace $responses {
5769
5789
  export class QueryMethodOptions implements IQueryMethodOptions {
5770
5790
  constructor(data?: IQueryMethodOptions);
5771
5791
  queryField: string;
5792
+ cursorQueryField: string;
5793
+ offsetQueryField: string;
5772
5794
  itemsField: string;
5773
5795
  paging?: $responses.wix.api.IPaging;
5774
5796
  wql?: $responses.wix.api.IWql;
@@ -5778,6 +5800,8 @@ declare namespace $responses {
5778
5800
  }
5779
5801
  export interface ISearchMethodOptions {
5780
5802
  searchField: string;
5803
+ cursorSearchField: string;
5804
+ offsetSearchField: string;
5781
5805
  itemsField: string;
5782
5806
  paging?: $responses.wix.api.IPaging;
5783
5807
  wql?: $responses.wix.api.IWql;
@@ -5788,6 +5812,8 @@ declare namespace $responses {
5788
5812
  export class SearchMethodOptions implements ISearchMethodOptions {
5789
5813
  constructor(data?: ISearchMethodOptions);
5790
5814
  searchField: string;
5815
+ cursorSearchField: string;
5816
+ offsetSearchField: string;
5791
5817
  itemsField: string;
5792
5818
  paging?: $responses.wix.api.IPaging;
5793
5819
  wql?: $responses.wix.api.IWql;
@@ -1814,11 +1814,15 @@ declare namespace $wrapper {
1814
1814
  export interface IPaging {
1815
1815
  type?: ($wrapper.wix.api.Paging.Type | null);
1816
1816
  pagingMetadataField?: (string | null);
1817
+ cursorPagingMetadataField?: (string | null);
1818
+ offsetPagingMetadataField?: (string | null);
1817
1819
  }
1818
1820
  export class Paging implements IPaging {
1819
1821
  constructor(data?: IPaging);
1820
1822
  type?: ($wrapper.wix.api.Paging.Type | null);
1821
1823
  pagingMetadataField?: (string | null);
1824
+ cursorPagingMetadataField?: (string | null);
1825
+ offsetPagingMetadataField?: (string | null);
1822
1826
  static __$$generatedFromProtobuf$$__: Symbol;
1823
1827
  }
1824
1828
  export namespace Paging {
@@ -1826,6 +1830,7 @@ declare namespace $wrapper {
1826
1830
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1827
1831
  OFFSET = "OFFSET",
1828
1832
  CURSOR = "CURSOR",
1833
+ BOTH = "BOTH",
1829
1834
  }
1830
1835
  }
1831
1836
  export interface ICustomActionOptions {
@@ -1914,6 +1919,8 @@ declare namespace $wrapper {
1914
1919
  }
1915
1920
  export interface IQueryMethodOptions {
1916
1921
  queryField?: (string | null);
1922
+ cursorQueryField?: (string | null);
1923
+ offsetQueryField?: (string | null);
1917
1924
  itemsField?: (string | null);
1918
1925
  paging?: ($wrapper.wix.api.IPaging | null);
1919
1926
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1923,6 +1930,8 @@ declare namespace $wrapper {
1923
1930
  export class QueryMethodOptions implements IQueryMethodOptions {
1924
1931
  constructor(data?: IQueryMethodOptions);
1925
1932
  queryField?: (string | null);
1933
+ cursorQueryField?: (string | null);
1934
+ offsetQueryField?: (string | null);
1926
1935
  itemsField?: (string | null);
1927
1936
  paging?: ($wrapper.wix.api.IPaging | null);
1928
1937
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1932,6 +1941,8 @@ declare namespace $wrapper {
1932
1941
  }
1933
1942
  export interface ISearchMethodOptions {
1934
1943
  searchField?: (string | null);
1944
+ cursorSearchField?: (string | null);
1945
+ offsetSearchField?: (string | null);
1935
1946
  itemsField?: (string | null);
1936
1947
  paging?: ($wrapper.wix.api.IPaging | null);
1937
1948
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1942,6 +1953,8 @@ declare namespace $wrapper {
1942
1953
  export class SearchMethodOptions implements ISearchMethodOptions {
1943
1954
  constructor(data?: ISearchMethodOptions);
1944
1955
  searchField?: (string | null);
1956
+ cursorSearchField?: (string | null);
1957
+ offsetSearchField?: (string | null);
1945
1958
  itemsField?: (string | null);
1946
1959
  paging?: ($wrapper.wix.api.IPaging | null);
1947
1960
  wql?: ($wrapper.wix.api.IWql | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': '761885d02d130118a8bc094eb5c51ec49d889d1f'
13
+ 'contentHash': 'dcdc91171a3f01e7ea88bd97a1ca1a330a56783e'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -4865,6 +4865,22 @@ $root.__lookup = function (pbjs) {
4865
4865
  'pagingMetadataField': {
4866
4866
  'type': 'string',
4867
4867
  'id': 2,
4868
+ 'options': { 'deprecated': true },
4869
+ 'comment': null,
4870
+ 'parsedOptions': [{
4871
+ 'deprecated': true,
4872
+ '__comment': null
4873
+ }]
4874
+ },
4875
+ 'cursorPagingMetadataField': {
4876
+ 'type': 'string',
4877
+ 'id': 3,
4878
+ 'comment': null,
4879
+ 'parsedOptions': null
4880
+ },
4881
+ 'offsetPagingMetadataField': {
4882
+ 'type': 'string',
4883
+ 'id': 4,
4868
4884
  'comment': null,
4869
4885
  'parsedOptions': null
4870
4886
  }
@@ -4874,13 +4890,15 @@ $root.__lookup = function (pbjs) {
4874
4890
  'values': {
4875
4891
  'UNKNOWN_TYPE': 0,
4876
4892
  'OFFSET': 1,
4877
- 'CURSOR': 2
4893
+ 'CURSOR': 2,
4894
+ 'BOTH': 3
4878
4895
  },
4879
4896
  'comment': null,
4880
4897
  'comments': {
4881
4898
  'UNKNOWN_TYPE': null,
4882
4899
  'OFFSET': null,
4883
- 'CURSOR': null
4900
+ 'CURSOR': null,
4901
+ 'BOTH': null
4884
4902
  }
4885
4903
  }
4886
4904
  },
@@ -5060,6 +5078,22 @@ $root.__lookup = function (pbjs) {
5060
5078
  'queryField': {
5061
5079
  'type': 'string',
5062
5080
  'id': 1,
5081
+ 'options': { 'deprecated': true },
5082
+ 'comment': null,
5083
+ 'parsedOptions': [{
5084
+ 'deprecated': true,
5085
+ '__comment': null
5086
+ }]
5087
+ },
5088
+ 'cursorQueryField': {
5089
+ 'type': 'string',
5090
+ 'id': 7,
5091
+ 'comment': null,
5092
+ 'parsedOptions': null
5093
+ },
5094
+ 'offsetQueryField': {
5095
+ 'type': 'string',
5096
+ 'id': 8,
5063
5097
  'comment': null,
5064
5098
  'parsedOptions': null
5065
5099
  },
@@ -5116,6 +5150,22 @@ $root.__lookup = function (pbjs) {
5116
5150
  'searchField': {
5117
5151
  'type': 'string',
5118
5152
  'id': 1,
5153
+ 'options': { 'deprecated': true },
5154
+ 'comment': null,
5155
+ 'parsedOptions': [{
5156
+ 'deprecated': true,
5157
+ '__comment': null
5158
+ }]
5159
+ },
5160
+ 'cursorSearchField': {
5161
+ 'type': 'string',
5162
+ 'id': 8,
5163
+ 'comment': null,
5164
+ 'parsedOptions': null
5165
+ },
5166
+ 'offsetSearchField': {
5167
+ 'type': 'string',
5168
+ 'id': 9,
5119
5169
  'comment': null,
5120
5170
  'parsedOptions': null
5121
5171
  },
@@ -28995,6 +29045,8 @@ $root.wix = (function () {
28995
29045
  constructor(props) {
28996
29046
  this.type = props && props.type;
28997
29047
  this.pagingMetadataField = props && props.pagingMetadataField;
29048
+ this.cursorPagingMetadataField = props && props.cursorPagingMetadataField;
29049
+ this.offsetPagingMetadataField = props && props.offsetPagingMetadataField;
28998
29050
  }
28999
29051
  static toJSON(obj, helper, withDefaults) {
29000
29052
  if (obj == null) {
@@ -29011,6 +29063,16 @@ $root.wix = (function () {
29011
29063
  } else if (withDefaults) {
29012
29064
  json['pagingMetadataField'] = '';
29013
29065
  }
29066
+ if (obj['cursorPagingMetadataField'] != null) {
29067
+ json['cursorPagingMetadataField'] = obj['cursorPagingMetadataField'];
29068
+ } else if (withDefaults) {
29069
+ json['cursorPagingMetadataField'] = '';
29070
+ }
29071
+ if (obj['offsetPagingMetadataField'] != null) {
29072
+ json['offsetPagingMetadataField'] = obj['offsetPagingMetadataField'];
29073
+ } else if (withDefaults) {
29074
+ json['offsetPagingMetadataField'] = '';
29075
+ }
29014
29076
  return json;
29015
29077
  }
29016
29078
  }
@@ -29031,6 +29093,20 @@ $root.wix = (function () {
29031
29093
  } else {
29032
29094
  delete result['pagingMetadataField'];
29033
29095
  }
29096
+ if (json['cursorPagingMetadataField'] != null) {
29097
+ result['cursorPagingMetadataField'] = json['cursorPagingMetadataField'];
29098
+ } else if (withDefaults !== false) {
29099
+ result['cursorPagingMetadataField'] = '';
29100
+ } else {
29101
+ delete result['cursorPagingMetadataField'];
29102
+ }
29103
+ if (json['offsetPagingMetadataField'] != null) {
29104
+ result['offsetPagingMetadataField'] = json['offsetPagingMetadataField'];
29105
+ } else if (withDefaults !== false) {
29106
+ result['offsetPagingMetadataField'] = '';
29107
+ } else {
29108
+ delete result['offsetPagingMetadataField'];
29109
+ }
29034
29110
  return result;
29035
29111
  } else
29036
29112
  return json;
@@ -29046,6 +29122,12 @@ $root.wix = (function () {
29046
29122
  if (obj['pagingMetadataField'] != null) {
29047
29123
  grpc['pagingMetadataField'] = obj['pagingMetadataField'];
29048
29124
  }
29125
+ if (obj['cursorPagingMetadataField'] != null) {
29126
+ grpc['cursorPagingMetadataField'] = obj['cursorPagingMetadataField'];
29127
+ }
29128
+ if (obj['offsetPagingMetadataField'] != null) {
29129
+ grpc['offsetPagingMetadataField'] = obj['offsetPagingMetadataField'];
29130
+ }
29049
29131
  return grpc;
29050
29132
  }
29051
29133
  }
@@ -29064,6 +29146,16 @@ $root.wix = (function () {
29064
29146
  } else {
29065
29147
  result['pagingMetadataField'] = '';
29066
29148
  }
29149
+ if (grpc['cursorPagingMetadataField'] != null) {
29150
+ result['cursorPagingMetadataField'] = grpc['cursorPagingMetadataField'];
29151
+ } else {
29152
+ result['cursorPagingMetadataField'] = '';
29153
+ }
29154
+ if (grpc['offsetPagingMetadataField'] != null) {
29155
+ result['offsetPagingMetadataField'] = grpc['offsetPagingMetadataField'];
29156
+ } else {
29157
+ result['offsetPagingMetadataField'] = '';
29158
+ }
29067
29159
  return result;
29068
29160
  }
29069
29161
  }
@@ -29074,7 +29166,9 @@ $root.wix = (function () {
29074
29166
  'OFFSET': 'OFFSET',
29075
29167
  1: 'OFFSET',
29076
29168
  'CURSOR': 'CURSOR',
29077
- 2: 'CURSOR'
29169
+ 2: 'CURSOR',
29170
+ 'BOTH': 'BOTH',
29171
+ 3: 'BOTH'
29078
29172
  };
29079
29173
  Paging.Type = {
29080
29174
  'UNKNOWN_TYPE': 'UNKNOWN_TYPE',
@@ -29082,7 +29176,9 @@ $root.wix = (function () {
29082
29176
  'OFFSET': 'OFFSET',
29083
29177
  1: 'OFFSET',
29084
29178
  'CURSOR': 'CURSOR',
29085
- 2: 'CURSOR'
29179
+ 2: 'CURSOR',
29180
+ 'BOTH': 'BOTH',
29181
+ 3: 'BOTH'
29086
29182
  };
29087
29183
  __builtIn.Object.defineProperty(Paging.prototype, '__proto', {
29088
29184
  value: pbjs => {
@@ -29978,6 +30074,8 @@ $root.wix = (function () {
29978
30074
  class QueryMethodOptions {
29979
30075
  constructor(props) {
29980
30076
  this.queryField = props && props.queryField;
30077
+ this.cursorQueryField = props && props.cursorQueryField;
30078
+ this.offsetQueryField = props && props.offsetQueryField;
29981
30079
  this.itemsField = props && props.itemsField;
29982
30080
  this.paging = props && props.paging;
29983
30081
  this.wql = props && props.wql;
@@ -29994,6 +30092,16 @@ $root.wix = (function () {
29994
30092
  } else if (withDefaults) {
29995
30093
  json['queryField'] = '';
29996
30094
  }
30095
+ if (obj['cursorQueryField'] != null) {
30096
+ json['cursorQueryField'] = obj['cursorQueryField'];
30097
+ } else if (withDefaults) {
30098
+ json['cursorQueryField'] = '';
30099
+ }
30100
+ if (obj['offsetQueryField'] != null) {
30101
+ json['offsetQueryField'] = obj['offsetQueryField'];
30102
+ } else if (withDefaults) {
30103
+ json['offsetQueryField'] = '';
30104
+ }
29997
30105
  if (obj['itemsField'] != null) {
29998
30106
  json['itemsField'] = obj['itemsField'];
29999
30107
  } else if (withDefaults) {
@@ -30034,6 +30142,20 @@ $root.wix = (function () {
30034
30142
  } else {
30035
30143
  delete result['queryField'];
30036
30144
  }
30145
+ if (json['cursorQueryField'] != null) {
30146
+ result['cursorQueryField'] = json['cursorQueryField'];
30147
+ } else if (withDefaults !== false) {
30148
+ result['cursorQueryField'] = '';
30149
+ } else {
30150
+ delete result['cursorQueryField'];
30151
+ }
30152
+ if (json['offsetQueryField'] != null) {
30153
+ result['offsetQueryField'] = json['offsetQueryField'];
30154
+ } else if (withDefaults !== false) {
30155
+ result['offsetQueryField'] = '';
30156
+ } else {
30157
+ delete result['offsetQueryField'];
30158
+ }
30037
30159
  if (json['itemsField'] != null) {
30038
30160
  result['itemsField'] = json['itemsField'];
30039
30161
  } else if (withDefaults !== false) {
@@ -30083,6 +30205,12 @@ $root.wix = (function () {
30083
30205
  if (obj['queryField'] != null) {
30084
30206
  grpc['queryField'] = obj['queryField'];
30085
30207
  }
30208
+ if (obj['cursorQueryField'] != null) {
30209
+ grpc['cursorQueryField'] = obj['cursorQueryField'];
30210
+ }
30211
+ if (obj['offsetQueryField'] != null) {
30212
+ grpc['offsetQueryField'] = obj['offsetQueryField'];
30213
+ }
30086
30214
  if (obj['itemsField'] != null) {
30087
30215
  grpc['itemsField'] = obj['itemsField'];
30088
30216
  }
@@ -30113,6 +30241,16 @@ $root.wix = (function () {
30113
30241
  } else {
30114
30242
  result['queryField'] = '';
30115
30243
  }
30244
+ if (grpc['cursorQueryField'] != null) {
30245
+ result['cursorQueryField'] = grpc['cursorQueryField'];
30246
+ } else {
30247
+ result['cursorQueryField'] = '';
30248
+ }
30249
+ if (grpc['offsetQueryField'] != null) {
30250
+ result['offsetQueryField'] = grpc['offsetQueryField'];
30251
+ } else {
30252
+ result['offsetQueryField'] = '';
30253
+ }
30116
30254
  if (grpc['itemsField'] != null) {
30117
30255
  result['itemsField'] = grpc['itemsField'];
30118
30256
  } else {
@@ -30172,6 +30310,8 @@ $root.wix = (function () {
30172
30310
  class SearchMethodOptions {
30173
30311
  constructor(props) {
30174
30312
  this.searchField = props && props.searchField;
30313
+ this.cursorSearchField = props && props.cursorSearchField;
30314
+ this.offsetSearchField = props && props.offsetSearchField;
30175
30315
  this.itemsField = props && props.itemsField;
30176
30316
  this.paging = props && props.paging;
30177
30317
  this.wql = props && props.wql;
@@ -30189,6 +30329,16 @@ $root.wix = (function () {
30189
30329
  } else if (withDefaults) {
30190
30330
  json['searchField'] = '';
30191
30331
  }
30332
+ if (obj['cursorSearchField'] != null) {
30333
+ json['cursorSearchField'] = obj['cursorSearchField'];
30334
+ } else if (withDefaults) {
30335
+ json['cursorSearchField'] = '';
30336
+ }
30337
+ if (obj['offsetSearchField'] != null) {
30338
+ json['offsetSearchField'] = obj['offsetSearchField'];
30339
+ } else if (withDefaults) {
30340
+ json['offsetSearchField'] = '';
30341
+ }
30192
30342
  if (obj['itemsField'] != null) {
30193
30343
  json['itemsField'] = obj['itemsField'];
30194
30344
  } else if (withDefaults) {
@@ -30236,6 +30386,20 @@ $root.wix = (function () {
30236
30386
  } else {
30237
30387
  delete result['searchField'];
30238
30388
  }
30389
+ if (json['cursorSearchField'] != null) {
30390
+ result['cursorSearchField'] = json['cursorSearchField'];
30391
+ } else if (withDefaults !== false) {
30392
+ result['cursorSearchField'] = '';
30393
+ } else {
30394
+ delete result['cursorSearchField'];
30395
+ }
30396
+ if (json['offsetSearchField'] != null) {
30397
+ result['offsetSearchField'] = json['offsetSearchField'];
30398
+ } else if (withDefaults !== false) {
30399
+ result['offsetSearchField'] = '';
30400
+ } else {
30401
+ delete result['offsetSearchField'];
30402
+ }
30239
30403
  if (json['itemsField'] != null) {
30240
30404
  result['itemsField'] = json['itemsField'];
30241
30405
  } else if (withDefaults !== false) {
@@ -30294,6 +30458,12 @@ $root.wix = (function () {
30294
30458
  if (obj['searchField'] != null) {
30295
30459
  grpc['searchField'] = obj['searchField'];
30296
30460
  }
30461
+ if (obj['cursorSearchField'] != null) {
30462
+ grpc['cursorSearchField'] = obj['cursorSearchField'];
30463
+ }
30464
+ if (obj['offsetSearchField'] != null) {
30465
+ grpc['offsetSearchField'] = obj['offsetSearchField'];
30466
+ }
30297
30467
  if (obj['itemsField'] != null) {
30298
30468
  grpc['itemsField'] = obj['itemsField'];
30299
30469
  }
@@ -30329,6 +30499,16 @@ $root.wix = (function () {
30329
30499
  } else {
30330
30500
  result['searchField'] = '';
30331
30501
  }
30502
+ if (grpc['cursorSearchField'] != null) {
30503
+ result['cursorSearchField'] = grpc['cursorSearchField'];
30504
+ } else {
30505
+ result['cursorSearchField'] = '';
30506
+ }
30507
+ if (grpc['offsetSearchField'] != null) {
30508
+ result['offsetSearchField'] = grpc['offsetSearchField'];
30509
+ } else {
30510
+ result['offsetSearchField'] = '';
30511
+ }
30332
30512
  if (grpc['itemsField'] != null) {
30333
30513
  result['itemsField'] = grpc['itemsField'];
30334
30514
  } else {
@@ -1793,11 +1793,15 @@ declare namespace $requests {
1793
1793
  export interface IPaging {
1794
1794
  type: $requests.wix.api.Paging.Type;
1795
1795
  pagingMetadataField: string;
1796
+ cursorPagingMetadataField: string;
1797
+ offsetPagingMetadataField: string;
1796
1798
  }
1797
1799
  export class Paging implements IPaging {
1798
1800
  constructor(data?: IPaging);
1799
1801
  type: $requests.wix.api.Paging.Type;
1800
1802
  pagingMetadataField: string;
1803
+ cursorPagingMetadataField: string;
1804
+ offsetPagingMetadataField: string;
1801
1805
  static __$$generatedFromProtobuf$$__: Symbol;
1802
1806
  }
1803
1807
  export namespace Paging {
@@ -1805,6 +1809,7 @@ declare namespace $requests {
1805
1809
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1806
1810
  OFFSET = "OFFSET",
1807
1811
  CURSOR = "CURSOR",
1812
+ BOTH = "BOTH",
1808
1813
  }
1809
1814
  }
1810
1815
  export interface ICustomActionOptions {
@@ -1893,6 +1898,8 @@ declare namespace $requests {
1893
1898
  }
1894
1899
  export interface IQueryMethodOptions {
1895
1900
  queryField: string;
1901
+ cursorQueryField: string;
1902
+ offsetQueryField: string;
1896
1903
  itemsField: string;
1897
1904
  paging?: $requests.wix.api.IPaging;
1898
1905
  wql?: $requests.wix.api.IWql;
@@ -1902,6 +1909,8 @@ declare namespace $requests {
1902
1909
  export class QueryMethodOptions implements IQueryMethodOptions {
1903
1910
  constructor(data?: IQueryMethodOptions);
1904
1911
  queryField: string;
1912
+ cursorQueryField: string;
1913
+ offsetQueryField: string;
1905
1914
  itemsField: string;
1906
1915
  paging?: $requests.wix.api.IPaging;
1907
1916
  wql?: $requests.wix.api.IWql;
@@ -1911,6 +1920,8 @@ declare namespace $requests {
1911
1920
  }
1912
1921
  export interface ISearchMethodOptions {
1913
1922
  searchField: string;
1923
+ cursorSearchField: string;
1924
+ offsetSearchField: string;
1914
1925
  itemsField: string;
1915
1926
  paging?: $requests.wix.api.IPaging;
1916
1927
  wql?: $requests.wix.api.IWql;
@@ -1921,6 +1932,8 @@ declare namespace $requests {
1921
1932
  export class SearchMethodOptions implements ISearchMethodOptions {
1922
1933
  constructor(data?: ISearchMethodOptions);
1923
1934
  searchField: string;
1935
+ cursorSearchField: string;
1936
+ offsetSearchField: string;
1924
1937
  itemsField: string;
1925
1938
  paging?: $requests.wix.api.IPaging;
1926
1939
  wql?: $requests.wix.api.IWql;
@@ -5660,11 +5673,15 @@ declare namespace $responses {
5660
5673
  export interface IPaging {
5661
5674
  type?: $responses.wix.api.Paging.Type;
5662
5675
  pagingMetadataField?: string;
5676
+ cursorPagingMetadataField?: string;
5677
+ offsetPagingMetadataField?: string;
5663
5678
  }
5664
5679
  export class Paging implements IPaging {
5665
5680
  constructor(data?: IPaging);
5666
5681
  type?: $responses.wix.api.Paging.Type;
5667
5682
  pagingMetadataField?: string;
5683
+ cursorPagingMetadataField?: string;
5684
+ offsetPagingMetadataField?: string;
5668
5685
  static __$$generatedFromProtobuf$$__: Symbol;
5669
5686
  }
5670
5687
  export namespace Paging {
@@ -5672,6 +5689,7 @@ declare namespace $responses {
5672
5689
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
5673
5690
  OFFSET = "OFFSET",
5674
5691
  CURSOR = "CURSOR",
5692
+ BOTH = "BOTH",
5675
5693
  }
5676
5694
  }
5677
5695
  export interface ICustomActionOptions {
@@ -5760,6 +5778,8 @@ declare namespace $responses {
5760
5778
  }
5761
5779
  export interface IQueryMethodOptions {
5762
5780
  queryField?: string;
5781
+ cursorQueryField?: string;
5782
+ offsetQueryField?: string;
5763
5783
  itemsField?: string;
5764
5784
  paging?: $responses.wix.api.IPaging;
5765
5785
  wql?: $responses.wix.api.IWql;
@@ -5769,6 +5789,8 @@ declare namespace $responses {
5769
5789
  export class QueryMethodOptions implements IQueryMethodOptions {
5770
5790
  constructor(data?: IQueryMethodOptions);
5771
5791
  queryField?: string;
5792
+ cursorQueryField?: string;
5793
+ offsetQueryField?: string;
5772
5794
  itemsField?: string;
5773
5795
  paging?: $responses.wix.api.IPaging;
5774
5796
  wql?: $responses.wix.api.IWql;
@@ -5778,6 +5800,8 @@ declare namespace $responses {
5778
5800
  }
5779
5801
  export interface ISearchMethodOptions {
5780
5802
  searchField?: string;
5803
+ cursorSearchField?: string;
5804
+ offsetSearchField?: string;
5781
5805
  itemsField?: string;
5782
5806
  paging?: $responses.wix.api.IPaging;
5783
5807
  wql?: $responses.wix.api.IWql;
@@ -5788,6 +5812,8 @@ declare namespace $responses {
5788
5812
  export class SearchMethodOptions implements ISearchMethodOptions {
5789
5813
  constructor(data?: ISearchMethodOptions);
5790
5814
  searchField?: string;
5815
+ cursorSearchField?: string;
5816
+ offsetSearchField?: string;
5791
5817
  itemsField?: string;
5792
5818
  paging?: $responses.wix.api.IPaging;
5793
5819
  wql?: $responses.wix.api.IWql;
@@ -1793,11 +1793,15 @@ declare namespace $requests {
1793
1793
  export interface IPaging {
1794
1794
  type?: $requests.wix.api.Paging.Type;
1795
1795
  pagingMetadataField?: string;
1796
+ cursorPagingMetadataField?: string;
1797
+ offsetPagingMetadataField?: string;
1796
1798
  }
1797
1799
  export class Paging implements IPaging {
1798
1800
  constructor(data?: IPaging);
1799
1801
  type?: $requests.wix.api.Paging.Type;
1800
1802
  pagingMetadataField?: string;
1803
+ cursorPagingMetadataField?: string;
1804
+ offsetPagingMetadataField?: string;
1801
1805
  static __$$generatedFromProtobuf$$__: Symbol;
1802
1806
  }
1803
1807
  export namespace Paging {
@@ -1805,6 +1809,7 @@ declare namespace $requests {
1805
1809
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1806
1810
  OFFSET = "OFFSET",
1807
1811
  CURSOR = "CURSOR",
1812
+ BOTH = "BOTH",
1808
1813
  }
1809
1814
  }
1810
1815
  export interface ICustomActionOptions {
@@ -1893,6 +1898,8 @@ declare namespace $requests {
1893
1898
  }
1894
1899
  export interface IQueryMethodOptions {
1895
1900
  queryField?: string;
1901
+ cursorQueryField?: string;
1902
+ offsetQueryField?: string;
1896
1903
  itemsField?: string;
1897
1904
  paging?: $requests.wix.api.IPaging;
1898
1905
  wql?: $requests.wix.api.IWql;
@@ -1902,6 +1909,8 @@ declare namespace $requests {
1902
1909
  export class QueryMethodOptions implements IQueryMethodOptions {
1903
1910
  constructor(data?: IQueryMethodOptions);
1904
1911
  queryField?: string;
1912
+ cursorQueryField?: string;
1913
+ offsetQueryField?: string;
1905
1914
  itemsField?: string;
1906
1915
  paging?: $requests.wix.api.IPaging;
1907
1916
  wql?: $requests.wix.api.IWql;
@@ -1911,6 +1920,8 @@ declare namespace $requests {
1911
1920
  }
1912
1921
  export interface ISearchMethodOptions {
1913
1922
  searchField?: string;
1923
+ cursorSearchField?: string;
1924
+ offsetSearchField?: string;
1914
1925
  itemsField?: string;
1915
1926
  paging?: $requests.wix.api.IPaging;
1916
1927
  wql?: $requests.wix.api.IWql;
@@ -1921,6 +1932,8 @@ declare namespace $requests {
1921
1932
  export class SearchMethodOptions implements ISearchMethodOptions {
1922
1933
  constructor(data?: ISearchMethodOptions);
1923
1934
  searchField?: string;
1935
+ cursorSearchField?: string;
1936
+ offsetSearchField?: string;
1924
1937
  itemsField?: string;
1925
1938
  paging?: $requests.wix.api.IPaging;
1926
1939
  wql?: $requests.wix.api.IWql;
@@ -5660,11 +5673,15 @@ declare namespace $responses {
5660
5673
  export interface IPaging {
5661
5674
  type: $responses.wix.api.Paging.Type;
5662
5675
  pagingMetadataField: string;
5676
+ cursorPagingMetadataField: string;
5677
+ offsetPagingMetadataField: string;
5663
5678
  }
5664
5679
  export class Paging implements IPaging {
5665
5680
  constructor(data?: IPaging);
5666
5681
  type: $responses.wix.api.Paging.Type;
5667
5682
  pagingMetadataField: string;
5683
+ cursorPagingMetadataField: string;
5684
+ offsetPagingMetadataField: string;
5668
5685
  static __$$generatedFromProtobuf$$__: Symbol;
5669
5686
  }
5670
5687
  export namespace Paging {
@@ -5672,6 +5689,7 @@ declare namespace $responses {
5672
5689
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
5673
5690
  OFFSET = "OFFSET",
5674
5691
  CURSOR = "CURSOR",
5692
+ BOTH = "BOTH",
5675
5693
  }
5676
5694
  }
5677
5695
  export interface ICustomActionOptions {
@@ -5760,6 +5778,8 @@ declare namespace $responses {
5760
5778
  }
5761
5779
  export interface IQueryMethodOptions {
5762
5780
  queryField: string;
5781
+ cursorQueryField: string;
5782
+ offsetQueryField: string;
5763
5783
  itemsField: string;
5764
5784
  paging?: $responses.wix.api.IPaging;
5765
5785
  wql?: $responses.wix.api.IWql;
@@ -5769,6 +5789,8 @@ declare namespace $responses {
5769
5789
  export class QueryMethodOptions implements IQueryMethodOptions {
5770
5790
  constructor(data?: IQueryMethodOptions);
5771
5791
  queryField: string;
5792
+ cursorQueryField: string;
5793
+ offsetQueryField: string;
5772
5794
  itemsField: string;
5773
5795
  paging?: $responses.wix.api.IPaging;
5774
5796
  wql?: $responses.wix.api.IWql;
@@ -5778,6 +5800,8 @@ declare namespace $responses {
5778
5800
  }
5779
5801
  export interface ISearchMethodOptions {
5780
5802
  searchField: string;
5803
+ cursorSearchField: string;
5804
+ offsetSearchField: string;
5781
5805
  itemsField: string;
5782
5806
  paging?: $responses.wix.api.IPaging;
5783
5807
  wql?: $responses.wix.api.IWql;
@@ -5788,6 +5812,8 @@ declare namespace $responses {
5788
5812
  export class SearchMethodOptions implements ISearchMethodOptions {
5789
5813
  constructor(data?: ISearchMethodOptions);
5790
5814
  searchField: string;
5815
+ cursorSearchField: string;
5816
+ offsetSearchField: string;
5791
5817
  itemsField: string;
5792
5818
  paging?: $responses.wix.api.IPaging;
5793
5819
  wql?: $responses.wix.api.IWql;
@@ -1814,11 +1814,15 @@ declare namespace $wrapper {
1814
1814
  export interface IPaging {
1815
1815
  type?: ($wrapper.wix.api.Paging.Type | null);
1816
1816
  pagingMetadataField?: (string | null);
1817
+ cursorPagingMetadataField?: (string | null);
1818
+ offsetPagingMetadataField?: (string | null);
1817
1819
  }
1818
1820
  export class Paging implements IPaging {
1819
1821
  constructor(data?: IPaging);
1820
1822
  type?: ($wrapper.wix.api.Paging.Type | null);
1821
1823
  pagingMetadataField?: (string | null);
1824
+ cursorPagingMetadataField?: (string | null);
1825
+ offsetPagingMetadataField?: (string | null);
1822
1826
  static __$$generatedFromProtobuf$$__: Symbol;
1823
1827
  }
1824
1828
  export namespace Paging {
@@ -1826,6 +1830,7 @@ declare namespace $wrapper {
1826
1830
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1827
1831
  OFFSET = "OFFSET",
1828
1832
  CURSOR = "CURSOR",
1833
+ BOTH = "BOTH",
1829
1834
  }
1830
1835
  }
1831
1836
  export interface ICustomActionOptions {
@@ -1914,6 +1919,8 @@ declare namespace $wrapper {
1914
1919
  }
1915
1920
  export interface IQueryMethodOptions {
1916
1921
  queryField?: (string | null);
1922
+ cursorQueryField?: (string | null);
1923
+ offsetQueryField?: (string | null);
1917
1924
  itemsField?: (string | null);
1918
1925
  paging?: ($wrapper.wix.api.IPaging | null);
1919
1926
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1923,6 +1930,8 @@ declare namespace $wrapper {
1923
1930
  export class QueryMethodOptions implements IQueryMethodOptions {
1924
1931
  constructor(data?: IQueryMethodOptions);
1925
1932
  queryField?: (string | null);
1933
+ cursorQueryField?: (string | null);
1934
+ offsetQueryField?: (string | null);
1926
1935
  itemsField?: (string | null);
1927
1936
  paging?: ($wrapper.wix.api.IPaging | null);
1928
1937
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1932,6 +1941,8 @@ declare namespace $wrapper {
1932
1941
  }
1933
1942
  export interface ISearchMethodOptions {
1934
1943
  searchField?: (string | null);
1944
+ cursorSearchField?: (string | null);
1945
+ offsetSearchField?: (string | null);
1935
1946
  itemsField?: (string | null);
1936
1947
  paging?: ($wrapper.wix.api.IPaging | null);
1937
1948
  wql?: ($wrapper.wix.api.IWql | null);
@@ -1942,6 +1953,8 @@ declare namespace $wrapper {
1942
1953
  export class SearchMethodOptions implements ISearchMethodOptions {
1943
1954
  constructor(data?: ISearchMethodOptions);
1944
1955
  searchField?: (string | null);
1956
+ cursorSearchField?: (string | null);
1957
+ offsetSearchField?: (string | null);
1945
1958
  itemsField?: (string | null);
1946
1959
  paging?: ($wrapper.wix.api.IPaging | null);
1947
1960
  wql?: ($wrapper.wix.api.IWql | null);
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1157',
13
- 'contentHash': '761885d02d130118a8bc094eb5c51ec49d889d1f'
13
+ 'contentHash': 'dcdc91171a3f01e7ea88bd97a1ca1a330a56783e'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -4865,6 +4865,22 @@ $root.__lookup = function (pbjs) {
4865
4865
  'pagingMetadataField': {
4866
4866
  'type': 'string',
4867
4867
  'id': 2,
4868
+ 'options': { 'deprecated': true },
4869
+ 'comment': null,
4870
+ 'parsedOptions': [{
4871
+ 'deprecated': true,
4872
+ '__comment': null
4873
+ }]
4874
+ },
4875
+ 'cursorPagingMetadataField': {
4876
+ 'type': 'string',
4877
+ 'id': 3,
4878
+ 'comment': null,
4879
+ 'parsedOptions': null
4880
+ },
4881
+ 'offsetPagingMetadataField': {
4882
+ 'type': 'string',
4883
+ 'id': 4,
4868
4884
  'comment': null,
4869
4885
  'parsedOptions': null
4870
4886
  }
@@ -4874,13 +4890,15 @@ $root.__lookup = function (pbjs) {
4874
4890
  'values': {
4875
4891
  'UNKNOWN_TYPE': 0,
4876
4892
  'OFFSET': 1,
4877
- 'CURSOR': 2
4893
+ 'CURSOR': 2,
4894
+ 'BOTH': 3
4878
4895
  },
4879
4896
  'comment': null,
4880
4897
  'comments': {
4881
4898
  'UNKNOWN_TYPE': null,
4882
4899
  'OFFSET': null,
4883
- 'CURSOR': null
4900
+ 'CURSOR': null,
4901
+ 'BOTH': null
4884
4902
  }
4885
4903
  }
4886
4904
  },
@@ -5060,6 +5078,22 @@ $root.__lookup = function (pbjs) {
5060
5078
  'queryField': {
5061
5079
  'type': 'string',
5062
5080
  'id': 1,
5081
+ 'options': { 'deprecated': true },
5082
+ 'comment': null,
5083
+ 'parsedOptions': [{
5084
+ 'deprecated': true,
5085
+ '__comment': null
5086
+ }]
5087
+ },
5088
+ 'cursorQueryField': {
5089
+ 'type': 'string',
5090
+ 'id': 7,
5091
+ 'comment': null,
5092
+ 'parsedOptions': null
5093
+ },
5094
+ 'offsetQueryField': {
5095
+ 'type': 'string',
5096
+ 'id': 8,
5063
5097
  'comment': null,
5064
5098
  'parsedOptions': null
5065
5099
  },
@@ -5116,6 +5150,22 @@ $root.__lookup = function (pbjs) {
5116
5150
  'searchField': {
5117
5151
  'type': 'string',
5118
5152
  'id': 1,
5153
+ 'options': { 'deprecated': true },
5154
+ 'comment': null,
5155
+ 'parsedOptions': [{
5156
+ 'deprecated': true,
5157
+ '__comment': null
5158
+ }]
5159
+ },
5160
+ 'cursorSearchField': {
5161
+ 'type': 'string',
5162
+ 'id': 8,
5163
+ 'comment': null,
5164
+ 'parsedOptions': null
5165
+ },
5166
+ 'offsetSearchField': {
5167
+ 'type': 'string',
5168
+ 'id': 9,
5119
5169
  'comment': null,
5120
5170
  'parsedOptions': null
5121
5171
  },
@@ -28995,6 +29045,8 @@ $root.wix = (function () {
28995
29045
  constructor(props) {
28996
29046
  this.type = props && props.type;
28997
29047
  this.pagingMetadataField = props && props.pagingMetadataField;
29048
+ this.cursorPagingMetadataField = props && props.cursorPagingMetadataField;
29049
+ this.offsetPagingMetadataField = props && props.offsetPagingMetadataField;
28998
29050
  }
28999
29051
  static toJSON(obj, helper, withDefaults) {
29000
29052
  if (obj == null) {
@@ -29011,6 +29063,16 @@ $root.wix = (function () {
29011
29063
  } else if (withDefaults) {
29012
29064
  json['pagingMetadataField'] = '';
29013
29065
  }
29066
+ if (obj['cursorPagingMetadataField'] != null) {
29067
+ json['cursorPagingMetadataField'] = obj['cursorPagingMetadataField'];
29068
+ } else if (withDefaults) {
29069
+ json['cursorPagingMetadataField'] = '';
29070
+ }
29071
+ if (obj['offsetPagingMetadataField'] != null) {
29072
+ json['offsetPagingMetadataField'] = obj['offsetPagingMetadataField'];
29073
+ } else if (withDefaults) {
29074
+ json['offsetPagingMetadataField'] = '';
29075
+ }
29014
29076
  return json;
29015
29077
  }
29016
29078
  }
@@ -29031,6 +29093,20 @@ $root.wix = (function () {
29031
29093
  } else {
29032
29094
  delete result['pagingMetadataField'];
29033
29095
  }
29096
+ if (json['cursorPagingMetadataField'] != null) {
29097
+ result['cursorPagingMetadataField'] = json['cursorPagingMetadataField'];
29098
+ } else if (withDefaults !== false) {
29099
+ result['cursorPagingMetadataField'] = '';
29100
+ } else {
29101
+ delete result['cursorPagingMetadataField'];
29102
+ }
29103
+ if (json['offsetPagingMetadataField'] != null) {
29104
+ result['offsetPagingMetadataField'] = json['offsetPagingMetadataField'];
29105
+ } else if (withDefaults !== false) {
29106
+ result['offsetPagingMetadataField'] = '';
29107
+ } else {
29108
+ delete result['offsetPagingMetadataField'];
29109
+ }
29034
29110
  return result;
29035
29111
  } else
29036
29112
  return json;
@@ -29046,6 +29122,12 @@ $root.wix = (function () {
29046
29122
  if (obj['pagingMetadataField'] != null) {
29047
29123
  grpc['pagingMetadataField'] = obj['pagingMetadataField'];
29048
29124
  }
29125
+ if (obj['cursorPagingMetadataField'] != null) {
29126
+ grpc['cursorPagingMetadataField'] = obj['cursorPagingMetadataField'];
29127
+ }
29128
+ if (obj['offsetPagingMetadataField'] != null) {
29129
+ grpc['offsetPagingMetadataField'] = obj['offsetPagingMetadataField'];
29130
+ }
29049
29131
  return grpc;
29050
29132
  }
29051
29133
  }
@@ -29064,6 +29146,16 @@ $root.wix = (function () {
29064
29146
  } else {
29065
29147
  result['pagingMetadataField'] = '';
29066
29148
  }
29149
+ if (grpc['cursorPagingMetadataField'] != null) {
29150
+ result['cursorPagingMetadataField'] = grpc['cursorPagingMetadataField'];
29151
+ } else {
29152
+ result['cursorPagingMetadataField'] = '';
29153
+ }
29154
+ if (grpc['offsetPagingMetadataField'] != null) {
29155
+ result['offsetPagingMetadataField'] = grpc['offsetPagingMetadataField'];
29156
+ } else {
29157
+ result['offsetPagingMetadataField'] = '';
29158
+ }
29067
29159
  return result;
29068
29160
  }
29069
29161
  }
@@ -29074,7 +29166,9 @@ $root.wix = (function () {
29074
29166
  'OFFSET': 'OFFSET',
29075
29167
  1: 'OFFSET',
29076
29168
  'CURSOR': 'CURSOR',
29077
- 2: 'CURSOR'
29169
+ 2: 'CURSOR',
29170
+ 'BOTH': 'BOTH',
29171
+ 3: 'BOTH'
29078
29172
  };
29079
29173
  Paging.Type = {
29080
29174
  'UNKNOWN_TYPE': 'UNKNOWN_TYPE',
@@ -29082,7 +29176,9 @@ $root.wix = (function () {
29082
29176
  'OFFSET': 'OFFSET',
29083
29177
  1: 'OFFSET',
29084
29178
  'CURSOR': 'CURSOR',
29085
- 2: 'CURSOR'
29179
+ 2: 'CURSOR',
29180
+ 'BOTH': 'BOTH',
29181
+ 3: 'BOTH'
29086
29182
  };
29087
29183
  __builtIn.Object.defineProperty(Paging.prototype, '__proto', {
29088
29184
  value: pbjs => {
@@ -29978,6 +30074,8 @@ $root.wix = (function () {
29978
30074
  class QueryMethodOptions {
29979
30075
  constructor(props) {
29980
30076
  this.queryField = props && props.queryField;
30077
+ this.cursorQueryField = props && props.cursorQueryField;
30078
+ this.offsetQueryField = props && props.offsetQueryField;
29981
30079
  this.itemsField = props && props.itemsField;
29982
30080
  this.paging = props && props.paging;
29983
30081
  this.wql = props && props.wql;
@@ -29994,6 +30092,16 @@ $root.wix = (function () {
29994
30092
  } else if (withDefaults) {
29995
30093
  json['queryField'] = '';
29996
30094
  }
30095
+ if (obj['cursorQueryField'] != null) {
30096
+ json['cursorQueryField'] = obj['cursorQueryField'];
30097
+ } else if (withDefaults) {
30098
+ json['cursorQueryField'] = '';
30099
+ }
30100
+ if (obj['offsetQueryField'] != null) {
30101
+ json['offsetQueryField'] = obj['offsetQueryField'];
30102
+ } else if (withDefaults) {
30103
+ json['offsetQueryField'] = '';
30104
+ }
29997
30105
  if (obj['itemsField'] != null) {
29998
30106
  json['itemsField'] = obj['itemsField'];
29999
30107
  } else if (withDefaults) {
@@ -30034,6 +30142,20 @@ $root.wix = (function () {
30034
30142
  } else {
30035
30143
  delete result['queryField'];
30036
30144
  }
30145
+ if (json['cursorQueryField'] != null) {
30146
+ result['cursorQueryField'] = json['cursorQueryField'];
30147
+ } else if (withDefaults !== false) {
30148
+ result['cursorQueryField'] = '';
30149
+ } else {
30150
+ delete result['cursorQueryField'];
30151
+ }
30152
+ if (json['offsetQueryField'] != null) {
30153
+ result['offsetQueryField'] = json['offsetQueryField'];
30154
+ } else if (withDefaults !== false) {
30155
+ result['offsetQueryField'] = '';
30156
+ } else {
30157
+ delete result['offsetQueryField'];
30158
+ }
30037
30159
  if (json['itemsField'] != null) {
30038
30160
  result['itemsField'] = json['itemsField'];
30039
30161
  } else if (withDefaults !== false) {
@@ -30083,6 +30205,12 @@ $root.wix = (function () {
30083
30205
  if (obj['queryField'] != null) {
30084
30206
  grpc['queryField'] = obj['queryField'];
30085
30207
  }
30208
+ if (obj['cursorQueryField'] != null) {
30209
+ grpc['cursorQueryField'] = obj['cursorQueryField'];
30210
+ }
30211
+ if (obj['offsetQueryField'] != null) {
30212
+ grpc['offsetQueryField'] = obj['offsetQueryField'];
30213
+ }
30086
30214
  if (obj['itemsField'] != null) {
30087
30215
  grpc['itemsField'] = obj['itemsField'];
30088
30216
  }
@@ -30113,6 +30241,16 @@ $root.wix = (function () {
30113
30241
  } else {
30114
30242
  result['queryField'] = '';
30115
30243
  }
30244
+ if (grpc['cursorQueryField'] != null) {
30245
+ result['cursorQueryField'] = grpc['cursorQueryField'];
30246
+ } else {
30247
+ result['cursorQueryField'] = '';
30248
+ }
30249
+ if (grpc['offsetQueryField'] != null) {
30250
+ result['offsetQueryField'] = grpc['offsetQueryField'];
30251
+ } else {
30252
+ result['offsetQueryField'] = '';
30253
+ }
30116
30254
  if (grpc['itemsField'] != null) {
30117
30255
  result['itemsField'] = grpc['itemsField'];
30118
30256
  } else {
@@ -30172,6 +30310,8 @@ $root.wix = (function () {
30172
30310
  class SearchMethodOptions {
30173
30311
  constructor(props) {
30174
30312
  this.searchField = props && props.searchField;
30313
+ this.cursorSearchField = props && props.cursorSearchField;
30314
+ this.offsetSearchField = props && props.offsetSearchField;
30175
30315
  this.itemsField = props && props.itemsField;
30176
30316
  this.paging = props && props.paging;
30177
30317
  this.wql = props && props.wql;
@@ -30189,6 +30329,16 @@ $root.wix = (function () {
30189
30329
  } else if (withDefaults) {
30190
30330
  json['searchField'] = '';
30191
30331
  }
30332
+ if (obj['cursorSearchField'] != null) {
30333
+ json['cursorSearchField'] = obj['cursorSearchField'];
30334
+ } else if (withDefaults) {
30335
+ json['cursorSearchField'] = '';
30336
+ }
30337
+ if (obj['offsetSearchField'] != null) {
30338
+ json['offsetSearchField'] = obj['offsetSearchField'];
30339
+ } else if (withDefaults) {
30340
+ json['offsetSearchField'] = '';
30341
+ }
30192
30342
  if (obj['itemsField'] != null) {
30193
30343
  json['itemsField'] = obj['itemsField'];
30194
30344
  } else if (withDefaults) {
@@ -30236,6 +30386,20 @@ $root.wix = (function () {
30236
30386
  } else {
30237
30387
  delete result['searchField'];
30238
30388
  }
30389
+ if (json['cursorSearchField'] != null) {
30390
+ result['cursorSearchField'] = json['cursorSearchField'];
30391
+ } else if (withDefaults !== false) {
30392
+ result['cursorSearchField'] = '';
30393
+ } else {
30394
+ delete result['cursorSearchField'];
30395
+ }
30396
+ if (json['offsetSearchField'] != null) {
30397
+ result['offsetSearchField'] = json['offsetSearchField'];
30398
+ } else if (withDefaults !== false) {
30399
+ result['offsetSearchField'] = '';
30400
+ } else {
30401
+ delete result['offsetSearchField'];
30402
+ }
30239
30403
  if (json['itemsField'] != null) {
30240
30404
  result['itemsField'] = json['itemsField'];
30241
30405
  } else if (withDefaults !== false) {
@@ -30294,6 +30458,12 @@ $root.wix = (function () {
30294
30458
  if (obj['searchField'] != null) {
30295
30459
  grpc['searchField'] = obj['searchField'];
30296
30460
  }
30461
+ if (obj['cursorSearchField'] != null) {
30462
+ grpc['cursorSearchField'] = obj['cursorSearchField'];
30463
+ }
30464
+ if (obj['offsetSearchField'] != null) {
30465
+ grpc['offsetSearchField'] = obj['offsetSearchField'];
30466
+ }
30297
30467
  if (obj['itemsField'] != null) {
30298
30468
  grpc['itemsField'] = obj['itemsField'];
30299
30469
  }
@@ -30329,6 +30499,16 @@ $root.wix = (function () {
30329
30499
  } else {
30330
30500
  result['searchField'] = '';
30331
30501
  }
30502
+ if (grpc['cursorSearchField'] != null) {
30503
+ result['cursorSearchField'] = grpc['cursorSearchField'];
30504
+ } else {
30505
+ result['cursorSearchField'] = '';
30506
+ }
30507
+ if (grpc['offsetSearchField'] != null) {
30508
+ result['offsetSearchField'] = grpc['offsetSearchField'];
30509
+ } else {
30510
+ result['offsetSearchField'] = '';
30511
+ }
30332
30512
  if (grpc['itemsField'] != null) {
30333
30513
  result['itemsField'] = grpc['itemsField'];
30334
30514
  } else {
@@ -1793,11 +1793,15 @@ declare namespace $requests {
1793
1793
  export interface IPaging {
1794
1794
  type: $requests.wix.api.Paging.Type;
1795
1795
  pagingMetadataField: string;
1796
+ cursorPagingMetadataField: string;
1797
+ offsetPagingMetadataField: string;
1796
1798
  }
1797
1799
  export class Paging implements IPaging {
1798
1800
  constructor(data?: IPaging);
1799
1801
  type: $requests.wix.api.Paging.Type;
1800
1802
  pagingMetadataField: string;
1803
+ cursorPagingMetadataField: string;
1804
+ offsetPagingMetadataField: string;
1801
1805
  static __$$generatedFromProtobuf$$__: Symbol;
1802
1806
  }
1803
1807
  export namespace Paging {
@@ -1805,6 +1809,7 @@ declare namespace $requests {
1805
1809
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
1806
1810
  OFFSET = "OFFSET",
1807
1811
  CURSOR = "CURSOR",
1812
+ BOTH = "BOTH",
1808
1813
  }
1809
1814
  }
1810
1815
  export interface ICustomActionOptions {
@@ -1893,6 +1898,8 @@ declare namespace $requests {
1893
1898
  }
1894
1899
  export interface IQueryMethodOptions {
1895
1900
  queryField: string;
1901
+ cursorQueryField: string;
1902
+ offsetQueryField: string;
1896
1903
  itemsField: string;
1897
1904
  paging?: $requests.wix.api.IPaging;
1898
1905
  wql?: $requests.wix.api.IWql;
@@ -1902,6 +1909,8 @@ declare namespace $requests {
1902
1909
  export class QueryMethodOptions implements IQueryMethodOptions {
1903
1910
  constructor(data?: IQueryMethodOptions);
1904
1911
  queryField: string;
1912
+ cursorQueryField: string;
1913
+ offsetQueryField: string;
1905
1914
  itemsField: string;
1906
1915
  paging?: $requests.wix.api.IPaging;
1907
1916
  wql?: $requests.wix.api.IWql;
@@ -1911,6 +1920,8 @@ declare namespace $requests {
1911
1920
  }
1912
1921
  export interface ISearchMethodOptions {
1913
1922
  searchField: string;
1923
+ cursorSearchField: string;
1924
+ offsetSearchField: string;
1914
1925
  itemsField: string;
1915
1926
  paging?: $requests.wix.api.IPaging;
1916
1927
  wql?: $requests.wix.api.IWql;
@@ -1921,6 +1932,8 @@ declare namespace $requests {
1921
1932
  export class SearchMethodOptions implements ISearchMethodOptions {
1922
1933
  constructor(data?: ISearchMethodOptions);
1923
1934
  searchField: string;
1935
+ cursorSearchField: string;
1936
+ offsetSearchField: string;
1924
1937
  itemsField: string;
1925
1938
  paging?: $requests.wix.api.IPaging;
1926
1939
  wql?: $requests.wix.api.IWql;
@@ -5660,11 +5673,15 @@ declare namespace $responses {
5660
5673
  export interface IPaging {
5661
5674
  type?: $responses.wix.api.Paging.Type;
5662
5675
  pagingMetadataField?: string;
5676
+ cursorPagingMetadataField?: string;
5677
+ offsetPagingMetadataField?: string;
5663
5678
  }
5664
5679
  export class Paging implements IPaging {
5665
5680
  constructor(data?: IPaging);
5666
5681
  type?: $responses.wix.api.Paging.Type;
5667
5682
  pagingMetadataField?: string;
5683
+ cursorPagingMetadataField?: string;
5684
+ offsetPagingMetadataField?: string;
5668
5685
  static __$$generatedFromProtobuf$$__: Symbol;
5669
5686
  }
5670
5687
  export namespace Paging {
@@ -5672,6 +5689,7 @@ declare namespace $responses {
5672
5689
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
5673
5690
  OFFSET = "OFFSET",
5674
5691
  CURSOR = "CURSOR",
5692
+ BOTH = "BOTH",
5675
5693
  }
5676
5694
  }
5677
5695
  export interface ICustomActionOptions {
@@ -5760,6 +5778,8 @@ declare namespace $responses {
5760
5778
  }
5761
5779
  export interface IQueryMethodOptions {
5762
5780
  queryField?: string;
5781
+ cursorQueryField?: string;
5782
+ offsetQueryField?: string;
5763
5783
  itemsField?: string;
5764
5784
  paging?: $responses.wix.api.IPaging;
5765
5785
  wql?: $responses.wix.api.IWql;
@@ -5769,6 +5789,8 @@ declare namespace $responses {
5769
5789
  export class QueryMethodOptions implements IQueryMethodOptions {
5770
5790
  constructor(data?: IQueryMethodOptions);
5771
5791
  queryField?: string;
5792
+ cursorQueryField?: string;
5793
+ offsetQueryField?: string;
5772
5794
  itemsField?: string;
5773
5795
  paging?: $responses.wix.api.IPaging;
5774
5796
  wql?: $responses.wix.api.IWql;
@@ -5778,6 +5800,8 @@ declare namespace $responses {
5778
5800
  }
5779
5801
  export interface ISearchMethodOptions {
5780
5802
  searchField?: string;
5803
+ cursorSearchField?: string;
5804
+ offsetSearchField?: string;
5781
5805
  itemsField?: string;
5782
5806
  paging?: $responses.wix.api.IPaging;
5783
5807
  wql?: $responses.wix.api.IWql;
@@ -5788,6 +5812,8 @@ declare namespace $responses {
5788
5812
  export class SearchMethodOptions implements ISearchMethodOptions {
5789
5813
  constructor(data?: ISearchMethodOptions);
5790
5814
  searchField?: string;
5815
+ cursorSearchField?: string;
5816
+ offsetSearchField?: string;
5791
5817
  itemsField?: string;
5792
5818
  paging?: $responses.wix.api.IPaging;
5793
5819
  wql?: $responses.wix.api.IWql;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1577",
3
+ "version": "1.0.1579",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Eli Ponyatovski",
@@ -33,7 +33,7 @@
33
33
  "*.{js,ts}": "yoshi lint"
34
34
  },
35
35
  "dependencies": {
36
- "@wix/metro-runtime": "1.1932.0",
36
+ "@wix/metro-runtime": "1.1934.0",
37
37
  "long": "^5.1.0"
38
38
  },
39
39
  "devDependencies": {
@@ -71,5 +71,5 @@
71
71
  "wallaby": {
72
72
  "autoDetect": true
73
73
  },
74
- "falconPackageHash": "c3bdcb5c9eb22c2cb1c0accf1f82e3e3cbaea701744693ca13f1db80"
74
+ "falconPackageHash": "677f14b0b5116b48fb8c1a36896d200ed6784f443babad580b129971"
75
75
  }