@wix/metro-common-builders 1.0.1563 → 1.0.1565
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/dist/es/src/proto/client/index.d.ts +32 -0
- package/dist/es/src/proto/index.d.ts +16 -0
- package/dist/es/src/proto/index.js +211 -1
- package/dist/es/src/proto/server/index.d.ts +32 -0
- package/dist/src/proto/client/index.d.ts +32 -0
- package/dist/src/proto/index.d.ts +16 -0
- package/dist/src/proto/index.js +211 -1
- package/dist/src/proto/server/index.d.ts +32 -0
- package/package.json +3 -3
|
@@ -1809,10 +1809,26 @@ declare namespace $requests {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
export interface ICustomActionOptions {
|
|
1811
1811
|
readOperation?: boolean;
|
|
1812
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1812
1813
|
}
|
|
1813
1814
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1814
1815
|
constructor(data?: ICustomActionOptions);
|
|
1815
1816
|
readOperation?: boolean;
|
|
1817
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1818
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1819
|
+
}
|
|
1820
|
+
export interface IWqlOptions {
|
|
1821
|
+
queryOptionsName?: string;
|
|
1822
|
+
filterField?: string;
|
|
1823
|
+
queryField?: string;
|
|
1824
|
+
searchField?: string;
|
|
1825
|
+
}
|
|
1826
|
+
export class WqlOptions implements IWqlOptions {
|
|
1827
|
+
constructor(data?: IWqlOptions);
|
|
1828
|
+
queryOptionsName?: string;
|
|
1829
|
+
filterField?: string;
|
|
1830
|
+
queryField?: string;
|
|
1831
|
+
searchField?: string;
|
|
1816
1832
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1817
1833
|
}
|
|
1818
1834
|
export interface ICreateMethodOptions {
|
|
@@ -5660,10 +5676,26 @@ declare namespace $responses {
|
|
|
5660
5676
|
}
|
|
5661
5677
|
export interface ICustomActionOptions {
|
|
5662
5678
|
readOperation: boolean;
|
|
5679
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5663
5680
|
}
|
|
5664
5681
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
5665
5682
|
constructor(data?: ICustomActionOptions);
|
|
5666
5683
|
readOperation: boolean;
|
|
5684
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5685
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5686
|
+
}
|
|
5687
|
+
export interface IWqlOptions {
|
|
5688
|
+
queryOptionsName: string;
|
|
5689
|
+
filterField?: string;
|
|
5690
|
+
queryField?: string;
|
|
5691
|
+
searchField?: string;
|
|
5692
|
+
}
|
|
5693
|
+
export class WqlOptions implements IWqlOptions {
|
|
5694
|
+
constructor(data?: IWqlOptions);
|
|
5695
|
+
queryOptionsName: string;
|
|
5696
|
+
filterField?: string;
|
|
5697
|
+
queryField?: string;
|
|
5698
|
+
searchField?: string;
|
|
5667
5699
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5668
5700
|
}
|
|
5669
5701
|
export interface ICreateMethodOptions {
|
|
@@ -1830,10 +1830,26 @@ declare namespace $wrapper {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
export interface ICustomActionOptions {
|
|
1832
1832
|
readOperation?: (boolean | null);
|
|
1833
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
1833
1834
|
}
|
|
1834
1835
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1835
1836
|
constructor(data?: ICustomActionOptions);
|
|
1836
1837
|
readOperation?: (boolean | null);
|
|
1838
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
1839
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1840
|
+
}
|
|
1841
|
+
export interface IWqlOptions {
|
|
1842
|
+
queryOptionsName?: (string | null);
|
|
1843
|
+
filterField?: (string | null);
|
|
1844
|
+
queryField?: (string | null);
|
|
1845
|
+
searchField?: (string | null);
|
|
1846
|
+
}
|
|
1847
|
+
export class WqlOptions implements IWqlOptions {
|
|
1848
|
+
constructor(data?: IWqlOptions);
|
|
1849
|
+
queryOptionsName?: (string | null);
|
|
1850
|
+
filterField?: (string | null);
|
|
1851
|
+
queryField?: (string | null);
|
|
1852
|
+
searchField?: (string | null);
|
|
1837
1853
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1838
1854
|
}
|
|
1839
1855
|
export interface ICreateMethodOptions {
|
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1157',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': '761885d02d130118a8bc094eb5c51ec49d889d1f'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -4893,6 +4893,51 @@ $root.__lookup = function (pbjs) {
|
|
|
4893
4893
|
'id': 1,
|
|
4894
4894
|
'comment': null,
|
|
4895
4895
|
'parsedOptions': null
|
|
4896
|
+
},
|
|
4897
|
+
'wql': {
|
|
4898
|
+
'type': 'WqlOptions',
|
|
4899
|
+
'id': 2,
|
|
4900
|
+
'comment': null,
|
|
4901
|
+
'parsedOptions': null
|
|
4902
|
+
}
|
|
4903
|
+
},
|
|
4904
|
+
'comment': null
|
|
4905
|
+
},
|
|
4906
|
+
'WqlOptions': {
|
|
4907
|
+
'oneofs': {
|
|
4908
|
+
'field': {
|
|
4909
|
+
'oneof': [
|
|
4910
|
+
'filterField',
|
|
4911
|
+
'queryField',
|
|
4912
|
+
'searchField'
|
|
4913
|
+
],
|
|
4914
|
+
'comment': null
|
|
4915
|
+
}
|
|
4916
|
+
},
|
|
4917
|
+
'fields': {
|
|
4918
|
+
'queryOptionsName': {
|
|
4919
|
+
'type': 'string',
|
|
4920
|
+
'id': 1,
|
|
4921
|
+
'comment': null,
|
|
4922
|
+
'parsedOptions': null
|
|
4923
|
+
},
|
|
4924
|
+
'filterField': {
|
|
4925
|
+
'type': 'string',
|
|
4926
|
+
'id': 2,
|
|
4927
|
+
'comment': null,
|
|
4928
|
+
'parsedOptions': null
|
|
4929
|
+
},
|
|
4930
|
+
'queryField': {
|
|
4931
|
+
'type': 'string',
|
|
4932
|
+
'id': 3,
|
|
4933
|
+
'comment': null,
|
|
4934
|
+
'parsedOptions': null
|
|
4935
|
+
},
|
|
4936
|
+
'searchField': {
|
|
4937
|
+
'type': 'string',
|
|
4938
|
+
'id': 4,
|
|
4939
|
+
'comment': null,
|
|
4940
|
+
'parsedOptions': null
|
|
4896
4941
|
}
|
|
4897
4942
|
},
|
|
4898
4943
|
'comment': null
|
|
@@ -29067,6 +29112,7 @@ $root.wix = (function () {
|
|
|
29067
29112
|
class CustomActionOptions {
|
|
29068
29113
|
constructor(props) {
|
|
29069
29114
|
this.readOperation = props && props.readOperation;
|
|
29115
|
+
this.wql = props && props.wql;
|
|
29070
29116
|
}
|
|
29071
29117
|
static toJSON(obj, helper, withDefaults) {
|
|
29072
29118
|
if (obj == null) {
|
|
@@ -29078,6 +29124,11 @@ $root.wix = (function () {
|
|
|
29078
29124
|
} else if (withDefaults) {
|
|
29079
29125
|
json['readOperation'] = false;
|
|
29080
29126
|
}
|
|
29127
|
+
if (obj['wql'] != null) {
|
|
29128
|
+
json['wql'] = $root.wix.api.WqlOptions.toJSON(obj['wql'], helper, withDefaults);
|
|
29129
|
+
} else if (withDefaults) {
|
|
29130
|
+
delete json['wql'];
|
|
29131
|
+
}
|
|
29081
29132
|
return json;
|
|
29082
29133
|
}
|
|
29083
29134
|
}
|
|
@@ -29091,6 +29142,13 @@ $root.wix = (function () {
|
|
|
29091
29142
|
} else {
|
|
29092
29143
|
delete result['readOperation'];
|
|
29093
29144
|
}
|
|
29145
|
+
if (json['wql'] != null) {
|
|
29146
|
+
result['wql'] = $root.wix.api.WqlOptions.fromJSON(json['wql'], helper);
|
|
29147
|
+
} else if (withDefaults !== false) {
|
|
29148
|
+
delete result['wql'];
|
|
29149
|
+
} else {
|
|
29150
|
+
delete result['wql'];
|
|
29151
|
+
}
|
|
29094
29152
|
return result;
|
|
29095
29153
|
} else
|
|
29096
29154
|
return json;
|
|
@@ -29103,6 +29161,9 @@ $root.wix = (function () {
|
|
|
29103
29161
|
if (obj['readOperation'] != null) {
|
|
29104
29162
|
grpc['readOperation'] = obj['readOperation'];
|
|
29105
29163
|
}
|
|
29164
|
+
if (obj['wql'] != null) {
|
|
29165
|
+
grpc['wql'] = $root.wix.api.WqlOptions.toGRPC(obj['wql'], helper);
|
|
29166
|
+
}
|
|
29106
29167
|
return grpc;
|
|
29107
29168
|
}
|
|
29108
29169
|
}
|
|
@@ -29116,6 +29177,11 @@ $root.wix = (function () {
|
|
|
29116
29177
|
} else {
|
|
29117
29178
|
result['readOperation'] = false;
|
|
29118
29179
|
}
|
|
29180
|
+
if (grpc['wql'] != null) {
|
|
29181
|
+
result['wql'] = $root.wix.api.WqlOptions.fromGRPC(grpc['wql'], helper);
|
|
29182
|
+
} else {
|
|
29183
|
+
delete result['wql'];
|
|
29184
|
+
}
|
|
29119
29185
|
return result;
|
|
29120
29186
|
}
|
|
29121
29187
|
}
|
|
@@ -29144,6 +29210,150 @@ $root.wix = (function () {
|
|
|
29144
29210
|
});
|
|
29145
29211
|
return CustomActionOptions;
|
|
29146
29212
|
}());;
|
|
29213
|
+
_api.WqlOptions = (function () {
|
|
29214
|
+
class WqlOptions {
|
|
29215
|
+
constructor(props) {
|
|
29216
|
+
this.queryOptionsName = props && props.queryOptionsName;
|
|
29217
|
+
this.filterField = props && props.filterField;
|
|
29218
|
+
this.queryField = props && props.queryField;
|
|
29219
|
+
this.searchField = props && props.searchField;
|
|
29220
|
+
}
|
|
29221
|
+
static toJSON(obj, helper, withDefaults) {
|
|
29222
|
+
if (obj == null) {
|
|
29223
|
+
return null;
|
|
29224
|
+
} else {
|
|
29225
|
+
const json = {};
|
|
29226
|
+
if (obj['queryOptionsName'] != null) {
|
|
29227
|
+
json['queryOptionsName'] = obj['queryOptionsName'];
|
|
29228
|
+
} else if (withDefaults) {
|
|
29229
|
+
json['queryOptionsName'] = '';
|
|
29230
|
+
}
|
|
29231
|
+
if (obj['filterField'] != null) {
|
|
29232
|
+
json['filterField'] = obj['filterField'];
|
|
29233
|
+
} else if (withDefaults) {
|
|
29234
|
+
delete json['filterField'];
|
|
29235
|
+
}
|
|
29236
|
+
if (obj['queryField'] != null) {
|
|
29237
|
+
json['queryField'] = obj['queryField'];
|
|
29238
|
+
} else if (withDefaults) {
|
|
29239
|
+
delete json['queryField'];
|
|
29240
|
+
}
|
|
29241
|
+
if (obj['searchField'] != null) {
|
|
29242
|
+
json['searchField'] = obj['searchField'];
|
|
29243
|
+
} else if (withDefaults) {
|
|
29244
|
+
delete json['searchField'];
|
|
29245
|
+
}
|
|
29246
|
+
return json;
|
|
29247
|
+
}
|
|
29248
|
+
}
|
|
29249
|
+
static fromJSON(json, helper, withDefaults) {
|
|
29250
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
29251
|
+
const result = new $root.wix.api.WqlOptions();
|
|
29252
|
+
if (json['queryOptionsName'] != null) {
|
|
29253
|
+
result['queryOptionsName'] = json['queryOptionsName'];
|
|
29254
|
+
} else if (withDefaults !== false) {
|
|
29255
|
+
result['queryOptionsName'] = '';
|
|
29256
|
+
} else {
|
|
29257
|
+
delete result['queryOptionsName'];
|
|
29258
|
+
}
|
|
29259
|
+
if (json['filterField'] != null) {
|
|
29260
|
+
result['filterField'] = json['filterField'];
|
|
29261
|
+
} else if (withDefaults !== false) {
|
|
29262
|
+
delete result['filterField'];
|
|
29263
|
+
} else {
|
|
29264
|
+
delete result['filterField'];
|
|
29265
|
+
}
|
|
29266
|
+
if (json['queryField'] != null) {
|
|
29267
|
+
result['queryField'] = json['queryField'];
|
|
29268
|
+
} else if (withDefaults !== false) {
|
|
29269
|
+
delete result['queryField'];
|
|
29270
|
+
} else {
|
|
29271
|
+
delete result['queryField'];
|
|
29272
|
+
}
|
|
29273
|
+
if (json['searchField'] != null) {
|
|
29274
|
+
result['searchField'] = json['searchField'];
|
|
29275
|
+
} else if (withDefaults !== false) {
|
|
29276
|
+
delete result['searchField'];
|
|
29277
|
+
} else {
|
|
29278
|
+
delete result['searchField'];
|
|
29279
|
+
}
|
|
29280
|
+
return result;
|
|
29281
|
+
} else
|
|
29282
|
+
return json;
|
|
29283
|
+
}
|
|
29284
|
+
static toGRPC(obj, helper) {
|
|
29285
|
+
if (obj == null) {
|
|
29286
|
+
return null;
|
|
29287
|
+
} else {
|
|
29288
|
+
const grpc = {};
|
|
29289
|
+
if (obj['queryOptionsName'] != null) {
|
|
29290
|
+
grpc['queryOptionsName'] = obj['queryOptionsName'];
|
|
29291
|
+
}
|
|
29292
|
+
if (obj['filterField'] != null) {
|
|
29293
|
+
grpc['filterField'] = obj['filterField'];
|
|
29294
|
+
}
|
|
29295
|
+
if (obj['queryField'] != null) {
|
|
29296
|
+
grpc['queryField'] = obj['queryField'];
|
|
29297
|
+
}
|
|
29298
|
+
if (obj['searchField'] != null) {
|
|
29299
|
+
grpc['searchField'] = obj['searchField'];
|
|
29300
|
+
}
|
|
29301
|
+
return grpc;
|
|
29302
|
+
}
|
|
29303
|
+
}
|
|
29304
|
+
static fromGRPC(grpc, helper) {
|
|
29305
|
+
if (grpc == null) {
|
|
29306
|
+
return null;
|
|
29307
|
+
} else {
|
|
29308
|
+
const result = new $root.wix.api.WqlOptions();
|
|
29309
|
+
if (grpc['queryOptionsName'] != null) {
|
|
29310
|
+
result['queryOptionsName'] = grpc['queryOptionsName'];
|
|
29311
|
+
} else {
|
|
29312
|
+
result['queryOptionsName'] = '';
|
|
29313
|
+
}
|
|
29314
|
+
if (grpc['filterField'] != null) {
|
|
29315
|
+
result['filterField'] = grpc['filterField'];
|
|
29316
|
+
} else {
|
|
29317
|
+
delete result['filterField'];
|
|
29318
|
+
}
|
|
29319
|
+
if (grpc['queryField'] != null) {
|
|
29320
|
+
result['queryField'] = grpc['queryField'];
|
|
29321
|
+
} else {
|
|
29322
|
+
delete result['queryField'];
|
|
29323
|
+
}
|
|
29324
|
+
if (grpc['searchField'] != null) {
|
|
29325
|
+
result['searchField'] = grpc['searchField'];
|
|
29326
|
+
} else {
|
|
29327
|
+
delete result['searchField'];
|
|
29328
|
+
}
|
|
29329
|
+
return result;
|
|
29330
|
+
}
|
|
29331
|
+
}
|
|
29332
|
+
}
|
|
29333
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__proto', {
|
|
29334
|
+
value: pbjs => {
|
|
29335
|
+
return $root.__lookup(pbjs)('wix.api.WqlOptions');
|
|
29336
|
+
},
|
|
29337
|
+
enumerable: false,
|
|
29338
|
+
configurable: false
|
|
29339
|
+
});
|
|
29340
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__fqn__', {
|
|
29341
|
+
value: 'wix.api.WqlOptions',
|
|
29342
|
+
enumerable: false,
|
|
29343
|
+
configurable: false
|
|
29344
|
+
});
|
|
29345
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__options__', {
|
|
29346
|
+
value: $root.__options,
|
|
29347
|
+
enumerable: false,
|
|
29348
|
+
configurable: false
|
|
29349
|
+
});
|
|
29350
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__root__', {
|
|
29351
|
+
value: $root,
|
|
29352
|
+
enumerable: false,
|
|
29353
|
+
configurable: false
|
|
29354
|
+
});
|
|
29355
|
+
return WqlOptions;
|
|
29356
|
+
}());;
|
|
29147
29357
|
_api.CreateMethodOptions = (function () {
|
|
29148
29358
|
class CreateMethodOptions {
|
|
29149
29359
|
constructor(props) {
|
|
@@ -1809,10 +1809,26 @@ declare namespace $requests {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
export interface ICustomActionOptions {
|
|
1811
1811
|
readOperation: boolean;
|
|
1812
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1812
1813
|
}
|
|
1813
1814
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1814
1815
|
constructor(data?: ICustomActionOptions);
|
|
1815
1816
|
readOperation: boolean;
|
|
1817
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1818
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1819
|
+
}
|
|
1820
|
+
export interface IWqlOptions {
|
|
1821
|
+
queryOptionsName: string;
|
|
1822
|
+
filterField?: string;
|
|
1823
|
+
queryField?: string;
|
|
1824
|
+
searchField?: string;
|
|
1825
|
+
}
|
|
1826
|
+
export class WqlOptions implements IWqlOptions {
|
|
1827
|
+
constructor(data?: IWqlOptions);
|
|
1828
|
+
queryOptionsName: string;
|
|
1829
|
+
filterField?: string;
|
|
1830
|
+
queryField?: string;
|
|
1831
|
+
searchField?: string;
|
|
1816
1832
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1817
1833
|
}
|
|
1818
1834
|
export interface ICreateMethodOptions {
|
|
@@ -5660,10 +5676,26 @@ declare namespace $responses {
|
|
|
5660
5676
|
}
|
|
5661
5677
|
export interface ICustomActionOptions {
|
|
5662
5678
|
readOperation?: boolean;
|
|
5679
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5663
5680
|
}
|
|
5664
5681
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
5665
5682
|
constructor(data?: ICustomActionOptions);
|
|
5666
5683
|
readOperation?: boolean;
|
|
5684
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5685
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5686
|
+
}
|
|
5687
|
+
export interface IWqlOptions {
|
|
5688
|
+
queryOptionsName?: string;
|
|
5689
|
+
filterField?: string;
|
|
5690
|
+
queryField?: string;
|
|
5691
|
+
searchField?: string;
|
|
5692
|
+
}
|
|
5693
|
+
export class WqlOptions implements IWqlOptions {
|
|
5694
|
+
constructor(data?: IWqlOptions);
|
|
5695
|
+
queryOptionsName?: string;
|
|
5696
|
+
filterField?: string;
|
|
5697
|
+
queryField?: string;
|
|
5698
|
+
searchField?: string;
|
|
5667
5699
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5668
5700
|
}
|
|
5669
5701
|
export interface ICreateMethodOptions {
|
|
@@ -1809,10 +1809,26 @@ declare namespace $requests {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
export interface ICustomActionOptions {
|
|
1811
1811
|
readOperation?: boolean;
|
|
1812
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1812
1813
|
}
|
|
1813
1814
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1814
1815
|
constructor(data?: ICustomActionOptions);
|
|
1815
1816
|
readOperation?: boolean;
|
|
1817
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1818
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1819
|
+
}
|
|
1820
|
+
export interface IWqlOptions {
|
|
1821
|
+
queryOptionsName?: string;
|
|
1822
|
+
filterField?: string;
|
|
1823
|
+
queryField?: string;
|
|
1824
|
+
searchField?: string;
|
|
1825
|
+
}
|
|
1826
|
+
export class WqlOptions implements IWqlOptions {
|
|
1827
|
+
constructor(data?: IWqlOptions);
|
|
1828
|
+
queryOptionsName?: string;
|
|
1829
|
+
filterField?: string;
|
|
1830
|
+
queryField?: string;
|
|
1831
|
+
searchField?: string;
|
|
1816
1832
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1817
1833
|
}
|
|
1818
1834
|
export interface ICreateMethodOptions {
|
|
@@ -5660,10 +5676,26 @@ declare namespace $responses {
|
|
|
5660
5676
|
}
|
|
5661
5677
|
export interface ICustomActionOptions {
|
|
5662
5678
|
readOperation: boolean;
|
|
5679
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5663
5680
|
}
|
|
5664
5681
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
5665
5682
|
constructor(data?: ICustomActionOptions);
|
|
5666
5683
|
readOperation: boolean;
|
|
5684
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5685
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5686
|
+
}
|
|
5687
|
+
export interface IWqlOptions {
|
|
5688
|
+
queryOptionsName: string;
|
|
5689
|
+
filterField?: string;
|
|
5690
|
+
queryField?: string;
|
|
5691
|
+
searchField?: string;
|
|
5692
|
+
}
|
|
5693
|
+
export class WqlOptions implements IWqlOptions {
|
|
5694
|
+
constructor(data?: IWqlOptions);
|
|
5695
|
+
queryOptionsName: string;
|
|
5696
|
+
filterField?: string;
|
|
5697
|
+
queryField?: string;
|
|
5698
|
+
searchField?: string;
|
|
5667
5699
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5668
5700
|
}
|
|
5669
5701
|
export interface ICreateMethodOptions {
|
|
@@ -1830,10 +1830,26 @@ declare namespace $wrapper {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
export interface ICustomActionOptions {
|
|
1832
1832
|
readOperation?: (boolean | null);
|
|
1833
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
1833
1834
|
}
|
|
1834
1835
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1835
1836
|
constructor(data?: ICustomActionOptions);
|
|
1836
1837
|
readOperation?: (boolean | null);
|
|
1838
|
+
wql?: ($wrapper.wix.api.IWqlOptions | null);
|
|
1839
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1840
|
+
}
|
|
1841
|
+
export interface IWqlOptions {
|
|
1842
|
+
queryOptionsName?: (string | null);
|
|
1843
|
+
filterField?: (string | null);
|
|
1844
|
+
queryField?: (string | null);
|
|
1845
|
+
searchField?: (string | null);
|
|
1846
|
+
}
|
|
1847
|
+
export class WqlOptions implements IWqlOptions {
|
|
1848
|
+
constructor(data?: IWqlOptions);
|
|
1849
|
+
queryOptionsName?: (string | null);
|
|
1850
|
+
filterField?: (string | null);
|
|
1851
|
+
queryField?: (string | null);
|
|
1852
|
+
searchField?: (string | null);
|
|
1837
1853
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1838
1854
|
}
|
|
1839
1855
|
export interface ICreateMethodOptions {
|
package/dist/src/proto/index.js
CHANGED
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1157',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': '761885d02d130118a8bc094eb5c51ec49d889d1f'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -4893,6 +4893,51 @@ $root.__lookup = function (pbjs) {
|
|
|
4893
4893
|
'id': 1,
|
|
4894
4894
|
'comment': null,
|
|
4895
4895
|
'parsedOptions': null
|
|
4896
|
+
},
|
|
4897
|
+
'wql': {
|
|
4898
|
+
'type': 'WqlOptions',
|
|
4899
|
+
'id': 2,
|
|
4900
|
+
'comment': null,
|
|
4901
|
+
'parsedOptions': null
|
|
4902
|
+
}
|
|
4903
|
+
},
|
|
4904
|
+
'comment': null
|
|
4905
|
+
},
|
|
4906
|
+
'WqlOptions': {
|
|
4907
|
+
'oneofs': {
|
|
4908
|
+
'field': {
|
|
4909
|
+
'oneof': [
|
|
4910
|
+
'filterField',
|
|
4911
|
+
'queryField',
|
|
4912
|
+
'searchField'
|
|
4913
|
+
],
|
|
4914
|
+
'comment': null
|
|
4915
|
+
}
|
|
4916
|
+
},
|
|
4917
|
+
'fields': {
|
|
4918
|
+
'queryOptionsName': {
|
|
4919
|
+
'type': 'string',
|
|
4920
|
+
'id': 1,
|
|
4921
|
+
'comment': null,
|
|
4922
|
+
'parsedOptions': null
|
|
4923
|
+
},
|
|
4924
|
+
'filterField': {
|
|
4925
|
+
'type': 'string',
|
|
4926
|
+
'id': 2,
|
|
4927
|
+
'comment': null,
|
|
4928
|
+
'parsedOptions': null
|
|
4929
|
+
},
|
|
4930
|
+
'queryField': {
|
|
4931
|
+
'type': 'string',
|
|
4932
|
+
'id': 3,
|
|
4933
|
+
'comment': null,
|
|
4934
|
+
'parsedOptions': null
|
|
4935
|
+
},
|
|
4936
|
+
'searchField': {
|
|
4937
|
+
'type': 'string',
|
|
4938
|
+
'id': 4,
|
|
4939
|
+
'comment': null,
|
|
4940
|
+
'parsedOptions': null
|
|
4896
4941
|
}
|
|
4897
4942
|
},
|
|
4898
4943
|
'comment': null
|
|
@@ -29067,6 +29112,7 @@ $root.wix = (function () {
|
|
|
29067
29112
|
class CustomActionOptions {
|
|
29068
29113
|
constructor(props) {
|
|
29069
29114
|
this.readOperation = props && props.readOperation;
|
|
29115
|
+
this.wql = props && props.wql;
|
|
29070
29116
|
}
|
|
29071
29117
|
static toJSON(obj, helper, withDefaults) {
|
|
29072
29118
|
if (obj == null) {
|
|
@@ -29078,6 +29124,11 @@ $root.wix = (function () {
|
|
|
29078
29124
|
} else if (withDefaults) {
|
|
29079
29125
|
json['readOperation'] = false;
|
|
29080
29126
|
}
|
|
29127
|
+
if (obj['wql'] != null) {
|
|
29128
|
+
json['wql'] = $root.wix.api.WqlOptions.toJSON(obj['wql'], helper, withDefaults);
|
|
29129
|
+
} else if (withDefaults) {
|
|
29130
|
+
delete json['wql'];
|
|
29131
|
+
}
|
|
29081
29132
|
return json;
|
|
29082
29133
|
}
|
|
29083
29134
|
}
|
|
@@ -29091,6 +29142,13 @@ $root.wix = (function () {
|
|
|
29091
29142
|
} else {
|
|
29092
29143
|
delete result['readOperation'];
|
|
29093
29144
|
}
|
|
29145
|
+
if (json['wql'] != null) {
|
|
29146
|
+
result['wql'] = $root.wix.api.WqlOptions.fromJSON(json['wql'], helper);
|
|
29147
|
+
} else if (withDefaults !== false) {
|
|
29148
|
+
delete result['wql'];
|
|
29149
|
+
} else {
|
|
29150
|
+
delete result['wql'];
|
|
29151
|
+
}
|
|
29094
29152
|
return result;
|
|
29095
29153
|
} else
|
|
29096
29154
|
return json;
|
|
@@ -29103,6 +29161,9 @@ $root.wix = (function () {
|
|
|
29103
29161
|
if (obj['readOperation'] != null) {
|
|
29104
29162
|
grpc['readOperation'] = obj['readOperation'];
|
|
29105
29163
|
}
|
|
29164
|
+
if (obj['wql'] != null) {
|
|
29165
|
+
grpc['wql'] = $root.wix.api.WqlOptions.toGRPC(obj['wql'], helper);
|
|
29166
|
+
}
|
|
29106
29167
|
return grpc;
|
|
29107
29168
|
}
|
|
29108
29169
|
}
|
|
@@ -29116,6 +29177,11 @@ $root.wix = (function () {
|
|
|
29116
29177
|
} else {
|
|
29117
29178
|
result['readOperation'] = false;
|
|
29118
29179
|
}
|
|
29180
|
+
if (grpc['wql'] != null) {
|
|
29181
|
+
result['wql'] = $root.wix.api.WqlOptions.fromGRPC(grpc['wql'], helper);
|
|
29182
|
+
} else {
|
|
29183
|
+
delete result['wql'];
|
|
29184
|
+
}
|
|
29119
29185
|
return result;
|
|
29120
29186
|
}
|
|
29121
29187
|
}
|
|
@@ -29144,6 +29210,150 @@ $root.wix = (function () {
|
|
|
29144
29210
|
});
|
|
29145
29211
|
return CustomActionOptions;
|
|
29146
29212
|
}());;
|
|
29213
|
+
_api.WqlOptions = (function () {
|
|
29214
|
+
class WqlOptions {
|
|
29215
|
+
constructor(props) {
|
|
29216
|
+
this.queryOptionsName = props && props.queryOptionsName;
|
|
29217
|
+
this.filterField = props && props.filterField;
|
|
29218
|
+
this.queryField = props && props.queryField;
|
|
29219
|
+
this.searchField = props && props.searchField;
|
|
29220
|
+
}
|
|
29221
|
+
static toJSON(obj, helper, withDefaults) {
|
|
29222
|
+
if (obj == null) {
|
|
29223
|
+
return null;
|
|
29224
|
+
} else {
|
|
29225
|
+
const json = {};
|
|
29226
|
+
if (obj['queryOptionsName'] != null) {
|
|
29227
|
+
json['queryOptionsName'] = obj['queryOptionsName'];
|
|
29228
|
+
} else if (withDefaults) {
|
|
29229
|
+
json['queryOptionsName'] = '';
|
|
29230
|
+
}
|
|
29231
|
+
if (obj['filterField'] != null) {
|
|
29232
|
+
json['filterField'] = obj['filterField'];
|
|
29233
|
+
} else if (withDefaults) {
|
|
29234
|
+
delete json['filterField'];
|
|
29235
|
+
}
|
|
29236
|
+
if (obj['queryField'] != null) {
|
|
29237
|
+
json['queryField'] = obj['queryField'];
|
|
29238
|
+
} else if (withDefaults) {
|
|
29239
|
+
delete json['queryField'];
|
|
29240
|
+
}
|
|
29241
|
+
if (obj['searchField'] != null) {
|
|
29242
|
+
json['searchField'] = obj['searchField'];
|
|
29243
|
+
} else if (withDefaults) {
|
|
29244
|
+
delete json['searchField'];
|
|
29245
|
+
}
|
|
29246
|
+
return json;
|
|
29247
|
+
}
|
|
29248
|
+
}
|
|
29249
|
+
static fromJSON(json, helper, withDefaults) {
|
|
29250
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
29251
|
+
const result = new $root.wix.api.WqlOptions();
|
|
29252
|
+
if (json['queryOptionsName'] != null) {
|
|
29253
|
+
result['queryOptionsName'] = json['queryOptionsName'];
|
|
29254
|
+
} else if (withDefaults !== false) {
|
|
29255
|
+
result['queryOptionsName'] = '';
|
|
29256
|
+
} else {
|
|
29257
|
+
delete result['queryOptionsName'];
|
|
29258
|
+
}
|
|
29259
|
+
if (json['filterField'] != null) {
|
|
29260
|
+
result['filterField'] = json['filterField'];
|
|
29261
|
+
} else if (withDefaults !== false) {
|
|
29262
|
+
delete result['filterField'];
|
|
29263
|
+
} else {
|
|
29264
|
+
delete result['filterField'];
|
|
29265
|
+
}
|
|
29266
|
+
if (json['queryField'] != null) {
|
|
29267
|
+
result['queryField'] = json['queryField'];
|
|
29268
|
+
} else if (withDefaults !== false) {
|
|
29269
|
+
delete result['queryField'];
|
|
29270
|
+
} else {
|
|
29271
|
+
delete result['queryField'];
|
|
29272
|
+
}
|
|
29273
|
+
if (json['searchField'] != null) {
|
|
29274
|
+
result['searchField'] = json['searchField'];
|
|
29275
|
+
} else if (withDefaults !== false) {
|
|
29276
|
+
delete result['searchField'];
|
|
29277
|
+
} else {
|
|
29278
|
+
delete result['searchField'];
|
|
29279
|
+
}
|
|
29280
|
+
return result;
|
|
29281
|
+
} else
|
|
29282
|
+
return json;
|
|
29283
|
+
}
|
|
29284
|
+
static toGRPC(obj, helper) {
|
|
29285
|
+
if (obj == null) {
|
|
29286
|
+
return null;
|
|
29287
|
+
} else {
|
|
29288
|
+
const grpc = {};
|
|
29289
|
+
if (obj['queryOptionsName'] != null) {
|
|
29290
|
+
grpc['queryOptionsName'] = obj['queryOptionsName'];
|
|
29291
|
+
}
|
|
29292
|
+
if (obj['filterField'] != null) {
|
|
29293
|
+
grpc['filterField'] = obj['filterField'];
|
|
29294
|
+
}
|
|
29295
|
+
if (obj['queryField'] != null) {
|
|
29296
|
+
grpc['queryField'] = obj['queryField'];
|
|
29297
|
+
}
|
|
29298
|
+
if (obj['searchField'] != null) {
|
|
29299
|
+
grpc['searchField'] = obj['searchField'];
|
|
29300
|
+
}
|
|
29301
|
+
return grpc;
|
|
29302
|
+
}
|
|
29303
|
+
}
|
|
29304
|
+
static fromGRPC(grpc, helper) {
|
|
29305
|
+
if (grpc == null) {
|
|
29306
|
+
return null;
|
|
29307
|
+
} else {
|
|
29308
|
+
const result = new $root.wix.api.WqlOptions();
|
|
29309
|
+
if (grpc['queryOptionsName'] != null) {
|
|
29310
|
+
result['queryOptionsName'] = grpc['queryOptionsName'];
|
|
29311
|
+
} else {
|
|
29312
|
+
result['queryOptionsName'] = '';
|
|
29313
|
+
}
|
|
29314
|
+
if (grpc['filterField'] != null) {
|
|
29315
|
+
result['filterField'] = grpc['filterField'];
|
|
29316
|
+
} else {
|
|
29317
|
+
delete result['filterField'];
|
|
29318
|
+
}
|
|
29319
|
+
if (grpc['queryField'] != null) {
|
|
29320
|
+
result['queryField'] = grpc['queryField'];
|
|
29321
|
+
} else {
|
|
29322
|
+
delete result['queryField'];
|
|
29323
|
+
}
|
|
29324
|
+
if (grpc['searchField'] != null) {
|
|
29325
|
+
result['searchField'] = grpc['searchField'];
|
|
29326
|
+
} else {
|
|
29327
|
+
delete result['searchField'];
|
|
29328
|
+
}
|
|
29329
|
+
return result;
|
|
29330
|
+
}
|
|
29331
|
+
}
|
|
29332
|
+
}
|
|
29333
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__proto', {
|
|
29334
|
+
value: pbjs => {
|
|
29335
|
+
return $root.__lookup(pbjs)('wix.api.WqlOptions');
|
|
29336
|
+
},
|
|
29337
|
+
enumerable: false,
|
|
29338
|
+
configurable: false
|
|
29339
|
+
});
|
|
29340
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__fqn__', {
|
|
29341
|
+
value: 'wix.api.WqlOptions',
|
|
29342
|
+
enumerable: false,
|
|
29343
|
+
configurable: false
|
|
29344
|
+
});
|
|
29345
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__options__', {
|
|
29346
|
+
value: $root.__options,
|
|
29347
|
+
enumerable: false,
|
|
29348
|
+
configurable: false
|
|
29349
|
+
});
|
|
29350
|
+
__builtIn.Object.defineProperty(WqlOptions.prototype, '__root__', {
|
|
29351
|
+
value: $root,
|
|
29352
|
+
enumerable: false,
|
|
29353
|
+
configurable: false
|
|
29354
|
+
});
|
|
29355
|
+
return WqlOptions;
|
|
29356
|
+
}());;
|
|
29147
29357
|
_api.CreateMethodOptions = (function () {
|
|
29148
29358
|
class CreateMethodOptions {
|
|
29149
29359
|
constructor(props) {
|
|
@@ -1809,10 +1809,26 @@ declare namespace $requests {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
export interface ICustomActionOptions {
|
|
1811
1811
|
readOperation: boolean;
|
|
1812
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1812
1813
|
}
|
|
1813
1814
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
1814
1815
|
constructor(data?: ICustomActionOptions);
|
|
1815
1816
|
readOperation: boolean;
|
|
1817
|
+
wql?: $requests.wix.api.IWqlOptions;
|
|
1818
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1819
|
+
}
|
|
1820
|
+
export interface IWqlOptions {
|
|
1821
|
+
queryOptionsName: string;
|
|
1822
|
+
filterField?: string;
|
|
1823
|
+
queryField?: string;
|
|
1824
|
+
searchField?: string;
|
|
1825
|
+
}
|
|
1826
|
+
export class WqlOptions implements IWqlOptions {
|
|
1827
|
+
constructor(data?: IWqlOptions);
|
|
1828
|
+
queryOptionsName: string;
|
|
1829
|
+
filterField?: string;
|
|
1830
|
+
queryField?: string;
|
|
1831
|
+
searchField?: string;
|
|
1816
1832
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1817
1833
|
}
|
|
1818
1834
|
export interface ICreateMethodOptions {
|
|
@@ -5660,10 +5676,26 @@ declare namespace $responses {
|
|
|
5660
5676
|
}
|
|
5661
5677
|
export interface ICustomActionOptions {
|
|
5662
5678
|
readOperation?: boolean;
|
|
5679
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5663
5680
|
}
|
|
5664
5681
|
export class CustomActionOptions implements ICustomActionOptions {
|
|
5665
5682
|
constructor(data?: ICustomActionOptions);
|
|
5666
5683
|
readOperation?: boolean;
|
|
5684
|
+
wql?: $responses.wix.api.IWqlOptions;
|
|
5685
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5686
|
+
}
|
|
5687
|
+
export interface IWqlOptions {
|
|
5688
|
+
queryOptionsName?: string;
|
|
5689
|
+
filterField?: string;
|
|
5690
|
+
queryField?: string;
|
|
5691
|
+
searchField?: string;
|
|
5692
|
+
}
|
|
5693
|
+
export class WqlOptions implements IWqlOptions {
|
|
5694
|
+
constructor(data?: IWqlOptions);
|
|
5695
|
+
queryOptionsName?: string;
|
|
5696
|
+
filterField?: string;
|
|
5697
|
+
queryField?: string;
|
|
5698
|
+
searchField?: string;
|
|
5667
5699
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
5668
5700
|
}
|
|
5669
5701
|
export interface ICreateMethodOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/metro-common-builders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1565",
|
|
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.
|
|
36
|
+
"@wix/metro-runtime": "1.1920.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": "
|
|
74
|
+
"falconPackageHash": "ae9a1e5601a4915a819789bc8b7fbc3e1a9ab6679fb966c63cd57655"
|
|
75
75
|
}
|