@wix/metro-common-builders 1.0.1472 → 1.0.1473
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 +4 -30
- package/dist/es/src/proto/index.d.ts +2 -15
- package/dist/es/src/proto/index.js +41 -202
- package/dist/es/src/proto/server/index.d.ts +4 -29
- package/dist/src/proto/client/index.d.ts +4 -30
- package/dist/src/proto/index.d.ts +2 -15
- package/dist/src/proto/index.js +41 -202
- package/dist/src/proto/server/index.d.ts +4 -29
- package/package.json +4 -4
|
@@ -14,12 +14,14 @@ declare namespace $requests {
|
|
|
14
14
|
type?: string;
|
|
15
15
|
path?: string;
|
|
16
16
|
files?: { [k: string]: string };
|
|
17
|
+
remoteFiles?: { [k: string]: string };
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type?: string;
|
|
21
22
|
path?: string;
|
|
22
23
|
files?: { [k: string]: string };
|
|
24
|
+
remoteFiles?: { [k: string]: string };
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1130,20 +1132,6 @@ declare namespace $requests {
|
|
|
1130
1132
|
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1134
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1135
|
-
}
|
|
1136
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1137
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1138
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1139
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1140
|
-
}
|
|
1141
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1142
|
-
}
|
|
1143
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1144
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1145
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1146
|
-
}
|
|
1147
1135
|
export interface IUnprocessedTargetEvent {
|
|
1148
1136
|
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1149
1137
|
}
|
|
@@ -3641,12 +3629,14 @@ declare namespace $responses {
|
|
|
3641
3629
|
type: string;
|
|
3642
3630
|
path: string;
|
|
3643
3631
|
files?: { [k: string]: string };
|
|
3632
|
+
remoteFiles?: { [k: string]: string };
|
|
3644
3633
|
}
|
|
3645
3634
|
export class Appendix implements IAppendix {
|
|
3646
3635
|
constructor(data?: IAppendix);
|
|
3647
3636
|
type: string;
|
|
3648
3637
|
path: string;
|
|
3649
3638
|
files?: { [k: string]: string };
|
|
3639
|
+
remoteFiles?: { [k: string]: string };
|
|
3650
3640
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3651
3641
|
}
|
|
3652
3642
|
export enum DomainEventType {
|
|
@@ -4757,20 +4747,6 @@ declare namespace $responses {
|
|
|
4757
4747
|
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4758
4748
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4759
4749
|
}
|
|
4760
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
4761
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4762
|
-
}
|
|
4763
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
4764
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
4765
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4766
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4767
|
-
}
|
|
4768
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
4769
|
-
}
|
|
4770
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
4771
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
4772
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4773
|
-
}
|
|
4774
4750
|
export interface IUnprocessedTargetEvent {
|
|
4775
4751
|
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4776
4752
|
}
|
|
@@ -7266,8 +7242,6 @@ declare namespace $services {
|
|
|
7266
7242
|
export namespace v1 {
|
|
7267
7243
|
export namespace internal {
|
|
7268
7244
|
export abstract class BusinessSchemaIndexerService {
|
|
7269
|
-
abstract markTargetAsProcessed(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7270
|
-
abstract markTargetAsProcessed(req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7271
7245
|
}
|
|
7272
7246
|
}
|
|
7273
7247
|
export abstract class ManagementService {
|
|
@@ -14,12 +14,14 @@ declare namespace $wrapper {
|
|
|
14
14
|
type?: (string | null);
|
|
15
15
|
path?: (string | null);
|
|
16
16
|
files?: ({ [k: string]: string } | null);
|
|
17
|
+
remoteFiles?: ({ [k: string]: string } | null);
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type?: (string | null);
|
|
21
22
|
path?: (string | null);
|
|
22
23
|
files?: ({ [k: string]: string });
|
|
24
|
+
remoteFiles?: ({ [k: string]: string });
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1131,21 +1133,6 @@ declare namespace $wrapper {
|
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
1135
|
export abstract class BusinessSchemaIndexerService {
|
|
1134
|
-
abstract markTargetAsProcessed(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
1135
|
-
}
|
|
1136
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1137
|
-
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
|
1138
|
-
}
|
|
1139
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1140
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1141
|
-
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
|
1142
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1143
|
-
}
|
|
1144
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1145
|
-
}
|
|
1146
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1147
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1148
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1149
1136
|
}
|
|
1150
1137
|
export interface IUnprocessedTargetEvent {
|
|
1151
1138
|
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1156',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'fd91900877159409657b302210f16ab60e7de564'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -46,6 +46,12 @@ $root.__lookup = function (pbjs) {
|
|
|
46
46
|
'type': 'string',
|
|
47
47
|
'id': 3,
|
|
48
48
|
'comment': null
|
|
49
|
+
},
|
|
50
|
+
'remoteFiles': {
|
|
51
|
+
'keyType': 'string',
|
|
52
|
+
'type': 'string',
|
|
53
|
+
'id': 4,
|
|
54
|
+
'comment': null
|
|
49
55
|
}
|
|
50
56
|
},
|
|
51
57
|
'comment': null
|
|
@@ -2855,54 +2861,7 @@ $root.__lookup = function (pbjs) {
|
|
|
2855
2861
|
'(wix.api.service_exposure)': 'PRIVATE',
|
|
2856
2862
|
'(wix.api.service_maturity)': 'ALPHA'
|
|
2857
2863
|
},
|
|
2858
|
-
'methods': {
|
|
2859
|
-
'MarkTargetAsProcessed': {
|
|
2860
|
-
'requestType': 'MarkTargetAsProcessedRequest',
|
|
2861
|
-
'responseType': 'MarkTargetAsProcessedResponse',
|
|
2862
|
-
'options': {
|
|
2863
|
-
'(wix.api.permission).name': 'API_INFRA.BS_INDEXER.MARK_TARGET_AS_PROCESSED',
|
|
2864
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.commit_timestamp'
|
|
2865
|
-
},
|
|
2866
|
-
'comment': null,
|
|
2867
|
-
'parsedOptions': [
|
|
2868
|
-
{
|
|
2869
|
-
'(wix.api.permission)': { 'name': 'API_INFRA.BS_INDEXER.MARK_TARGET_AS_PROCESSED' },
|
|
2870
|
-
'__comment': { 'name': null }
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target',
|
|
2874
|
-
'__comment': null
|
|
2875
|
-
},
|
|
2876
|
-
{
|
|
2877
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.id',
|
|
2878
|
-
'__comment': null
|
|
2879
|
-
},
|
|
2880
|
-
{
|
|
2881
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.combined_digest',
|
|
2882
|
-
'__comment': null
|
|
2883
|
-
},
|
|
2884
|
-
{
|
|
2885
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.commit_timestamp',
|
|
2886
|
-
'__comment': null
|
|
2887
|
-
}
|
|
2888
|
-
]
|
|
2889
|
-
}
|
|
2890
|
-
},
|
|
2891
|
-
'comment': null
|
|
2892
|
-
},
|
|
2893
|
-
'MarkTargetAsProcessedRequest': {
|
|
2894
|
-
'fields': {
|
|
2895
|
-
'target': {
|
|
2896
|
-
'type': 'Target',
|
|
2897
|
-
'id': 1,
|
|
2898
|
-
'comment': null,
|
|
2899
|
-
'parsedOptions': null
|
|
2900
|
-
}
|
|
2901
|
-
},
|
|
2902
|
-
'comment': null
|
|
2903
|
-
},
|
|
2904
|
-
'MarkTargetAsProcessedResponse': {
|
|
2905
|
-
'fields': {},
|
|
2864
|
+
'methods': {},
|
|
2906
2865
|
'comment': null
|
|
2907
2866
|
},
|
|
2908
2867
|
'UnprocessedTargetEvent': {
|
|
@@ -9379,6 +9338,7 @@ $root.wix = (function () {
|
|
|
9379
9338
|
this.type = props && props.type;
|
|
9380
9339
|
this.path = props && props.path;
|
|
9381
9340
|
this.files = props && props.files;
|
|
9341
|
+
this.remoteFiles = props && props.remoteFiles;
|
|
9382
9342
|
}
|
|
9383
9343
|
static toJSON(obj, helper, withDefaults) {
|
|
9384
9344
|
if (obj == null) {
|
|
@@ -9403,6 +9363,14 @@ $root.wix = (function () {
|
|
|
9403
9363
|
} else if (withDefaults) {
|
|
9404
9364
|
delete json['files'];
|
|
9405
9365
|
}
|
|
9366
|
+
if (obj['remoteFiles'] != null) {
|
|
9367
|
+
json['remoteFiles'] = Object.entries(obj['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9368
|
+
acc[k] = v;
|
|
9369
|
+
return acc;
|
|
9370
|
+
}, {});
|
|
9371
|
+
} else if (withDefaults) {
|
|
9372
|
+
delete json['remoteFiles'];
|
|
9373
|
+
}
|
|
9406
9374
|
return json;
|
|
9407
9375
|
}
|
|
9408
9376
|
}
|
|
@@ -9433,6 +9401,16 @@ $root.wix = (function () {
|
|
|
9433
9401
|
} else {
|
|
9434
9402
|
delete result['files'];
|
|
9435
9403
|
}
|
|
9404
|
+
if (json['remoteFiles'] != null) {
|
|
9405
|
+
result['remoteFiles'] = Object.entries(json['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9406
|
+
acc[k] = v;
|
|
9407
|
+
return acc;
|
|
9408
|
+
}, {});
|
|
9409
|
+
} else if (withDefaults !== false) {
|
|
9410
|
+
delete result['remoteFiles'];
|
|
9411
|
+
} else {
|
|
9412
|
+
delete result['remoteFiles'];
|
|
9413
|
+
}
|
|
9436
9414
|
return result;
|
|
9437
9415
|
} else
|
|
9438
9416
|
return json;
|
|
@@ -9454,6 +9432,12 @@ $root.wix = (function () {
|
|
|
9454
9432
|
return acc;
|
|
9455
9433
|
}, {});
|
|
9456
9434
|
}
|
|
9435
|
+
if (obj['remoteFiles'] != null) {
|
|
9436
|
+
grpc['remoteFiles'] = Object.entries(obj['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9437
|
+
acc[k] = v;
|
|
9438
|
+
return acc;
|
|
9439
|
+
}, {});
|
|
9440
|
+
}
|
|
9457
9441
|
return grpc;
|
|
9458
9442
|
}
|
|
9459
9443
|
}
|
|
@@ -9480,6 +9464,14 @@ $root.wix = (function () {
|
|
|
9480
9464
|
} else {
|
|
9481
9465
|
delete result['files'];
|
|
9482
9466
|
}
|
|
9467
|
+
if (grpc['remoteFiles'] != null) {
|
|
9468
|
+
result['remoteFiles'] = Object.entries(grpc['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9469
|
+
acc[k] = v;
|
|
9470
|
+
return acc;
|
|
9471
|
+
}, {});
|
|
9472
|
+
} else {
|
|
9473
|
+
delete result['remoteFiles'];
|
|
9474
|
+
}
|
|
9483
9475
|
return result;
|
|
9484
9476
|
}
|
|
9485
9477
|
}
|
|
@@ -21281,19 +21273,7 @@ $root.wix = (function () {
|
|
|
21281
21273
|
}());;
|
|
21282
21274
|
_internal.BusinessSchemaIndexerService = (function () {
|
|
21283
21275
|
class BusinessSchemaIndexerService {
|
|
21284
|
-
markTargetAsProcessed(aspects, msg) {
|
|
21285
|
-
throw new TypeError('method markTargetAsProcessed is abstract');
|
|
21286
|
-
}
|
|
21287
21276
|
}
|
|
21288
|
-
BusinessSchemaIndexerService.prototype.markTargetAsProcessed._messageTypes = function () {
|
|
21289
|
-
return [
|
|
21290
|
-
$root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest,
|
|
21291
|
-
$root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse
|
|
21292
|
-
];
|
|
21293
|
-
};
|
|
21294
|
-
BusinessSchemaIndexerService.prototype.markTargetAsProcessed.__proto = pbjs => {
|
|
21295
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.BusinessSchemaIndexerService.MarkTargetAsProcessed');
|
|
21296
|
-
};
|
|
21297
21277
|
__builtIn.Object.defineProperty(BusinessSchemaIndexerService.prototype, '__isRpcService__', {
|
|
21298
21278
|
value: true,
|
|
21299
21279
|
enumerable: false,
|
|
@@ -21328,147 +21308,6 @@ $root.wix = (function () {
|
|
|
21328
21308
|
});
|
|
21329
21309
|
return BusinessSchemaIndexerService;
|
|
21330
21310
|
}());;
|
|
21331
|
-
_internal.MarkTargetAsProcessedRequest = (function () {
|
|
21332
|
-
class MarkTargetAsProcessedRequest {
|
|
21333
|
-
constructor(props) {
|
|
21334
|
-
this.target = props && props.target;
|
|
21335
|
-
}
|
|
21336
|
-
static toJSON(obj, helper, withDefaults) {
|
|
21337
|
-
if (obj == null) {
|
|
21338
|
-
return null;
|
|
21339
|
-
} else {
|
|
21340
|
-
const json = {};
|
|
21341
|
-
if (obj['target'] != null) {
|
|
21342
|
-
json['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.toJSON(obj['target'], helper, withDefaults);
|
|
21343
|
-
} else if (withDefaults) {
|
|
21344
|
-
delete json['target'];
|
|
21345
|
-
}
|
|
21346
|
-
return json;
|
|
21347
|
-
}
|
|
21348
|
-
}
|
|
21349
|
-
static fromJSON(json, helper, withDefaults) {
|
|
21350
|
-
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
21351
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest();
|
|
21352
|
-
if (json['target'] != null) {
|
|
21353
|
-
result['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.fromJSON(json['target'], helper);
|
|
21354
|
-
} else if (withDefaults !== false) {
|
|
21355
|
-
delete result['target'];
|
|
21356
|
-
} else {
|
|
21357
|
-
delete result['target'];
|
|
21358
|
-
}
|
|
21359
|
-
return result;
|
|
21360
|
-
} else
|
|
21361
|
-
return json;
|
|
21362
|
-
}
|
|
21363
|
-
static toGRPC(obj, helper) {
|
|
21364
|
-
if (obj == null) {
|
|
21365
|
-
return null;
|
|
21366
|
-
} else {
|
|
21367
|
-
const grpc = {};
|
|
21368
|
-
if (obj['target'] != null) {
|
|
21369
|
-
grpc['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.toGRPC(obj['target'], helper);
|
|
21370
|
-
}
|
|
21371
|
-
return grpc;
|
|
21372
|
-
}
|
|
21373
|
-
}
|
|
21374
|
-
static fromGRPC(grpc, helper) {
|
|
21375
|
-
if (grpc == null) {
|
|
21376
|
-
return null;
|
|
21377
|
-
} else {
|
|
21378
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest();
|
|
21379
|
-
if (grpc['target'] != null) {
|
|
21380
|
-
result['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.fromGRPC(grpc['target'], helper);
|
|
21381
|
-
} else {
|
|
21382
|
-
delete result['target'];
|
|
21383
|
-
}
|
|
21384
|
-
return result;
|
|
21385
|
-
}
|
|
21386
|
-
}
|
|
21387
|
-
}
|
|
21388
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__proto', {
|
|
21389
|
-
value: pbjs => {
|
|
21390
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest');
|
|
21391
|
-
},
|
|
21392
|
-
enumerable: false,
|
|
21393
|
-
configurable: false
|
|
21394
|
-
});
|
|
21395
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__fqn__', {
|
|
21396
|
-
value: 'wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest',
|
|
21397
|
-
enumerable: false,
|
|
21398
|
-
configurable: false
|
|
21399
|
-
});
|
|
21400
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__options__', {
|
|
21401
|
-
value: $root.__options,
|
|
21402
|
-
enumerable: false,
|
|
21403
|
-
configurable: false
|
|
21404
|
-
});
|
|
21405
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__root__', {
|
|
21406
|
-
value: $root,
|
|
21407
|
-
enumerable: false,
|
|
21408
|
-
configurable: false
|
|
21409
|
-
});
|
|
21410
|
-
return MarkTargetAsProcessedRequest;
|
|
21411
|
-
}());;
|
|
21412
|
-
_internal.MarkTargetAsProcessedResponse = (function () {
|
|
21413
|
-
class MarkTargetAsProcessedResponse {
|
|
21414
|
-
constructor(props) {
|
|
21415
|
-
}
|
|
21416
|
-
static toJSON(obj, helper, withDefaults) {
|
|
21417
|
-
if (obj == null) {
|
|
21418
|
-
return null;
|
|
21419
|
-
} else {
|
|
21420
|
-
const json = {};
|
|
21421
|
-
return json;
|
|
21422
|
-
}
|
|
21423
|
-
}
|
|
21424
|
-
static fromJSON(json, helper, withDefaults) {
|
|
21425
|
-
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
21426
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse();
|
|
21427
|
-
return result;
|
|
21428
|
-
} else
|
|
21429
|
-
return json;
|
|
21430
|
-
}
|
|
21431
|
-
static toGRPC(obj, helper) {
|
|
21432
|
-
if (obj == null) {
|
|
21433
|
-
return null;
|
|
21434
|
-
} else {
|
|
21435
|
-
const grpc = {};
|
|
21436
|
-
return grpc;
|
|
21437
|
-
}
|
|
21438
|
-
}
|
|
21439
|
-
static fromGRPC(grpc, helper) {
|
|
21440
|
-
if (grpc == null) {
|
|
21441
|
-
return null;
|
|
21442
|
-
} else {
|
|
21443
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse();
|
|
21444
|
-
return result;
|
|
21445
|
-
}
|
|
21446
|
-
}
|
|
21447
|
-
}
|
|
21448
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__proto', {
|
|
21449
|
-
value: pbjs => {
|
|
21450
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse');
|
|
21451
|
-
},
|
|
21452
|
-
enumerable: false,
|
|
21453
|
-
configurable: false
|
|
21454
|
-
});
|
|
21455
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__fqn__', {
|
|
21456
|
-
value: 'wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse',
|
|
21457
|
-
enumerable: false,
|
|
21458
|
-
configurable: false
|
|
21459
|
-
});
|
|
21460
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__options__', {
|
|
21461
|
-
value: $root.__options,
|
|
21462
|
-
enumerable: false,
|
|
21463
|
-
configurable: false
|
|
21464
|
-
});
|
|
21465
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__root__', {
|
|
21466
|
-
value: $root,
|
|
21467
|
-
enumerable: false,
|
|
21468
|
-
configurable: false
|
|
21469
|
-
});
|
|
21470
|
-
return MarkTargetAsProcessedResponse;
|
|
21471
|
-
}());;
|
|
21472
21311
|
_internal.UnprocessedTargetEvent = (function () {
|
|
21473
21312
|
class UnprocessedTargetEvent {
|
|
21474
21313
|
constructor(props) {
|
|
@@ -14,12 +14,14 @@ declare namespace $requests {
|
|
|
14
14
|
type: string;
|
|
15
15
|
path: string;
|
|
16
16
|
files?: { [k: string]: string };
|
|
17
|
+
remoteFiles?: { [k: string]: string };
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type: string;
|
|
21
22
|
path: string;
|
|
22
23
|
files?: { [k: string]: string };
|
|
24
|
+
remoteFiles?: { [k: string]: string };
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1130,20 +1132,6 @@ declare namespace $requests {
|
|
|
1130
1132
|
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1134
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1135
|
-
}
|
|
1136
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1137
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1138
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1139
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1140
|
-
}
|
|
1141
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1142
|
-
}
|
|
1143
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1144
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1145
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1146
|
-
}
|
|
1147
1135
|
export interface IUnprocessedTargetEvent {
|
|
1148
1136
|
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1149
1137
|
}
|
|
@@ -3641,12 +3629,14 @@ declare namespace $responses {
|
|
|
3641
3629
|
type?: string;
|
|
3642
3630
|
path?: string;
|
|
3643
3631
|
files?: { [k: string]: string };
|
|
3632
|
+
remoteFiles?: { [k: string]: string };
|
|
3644
3633
|
}
|
|
3645
3634
|
export class Appendix implements IAppendix {
|
|
3646
3635
|
constructor(data?: IAppendix);
|
|
3647
3636
|
type?: string;
|
|
3648
3637
|
path?: string;
|
|
3649
3638
|
files?: { [k: string]: string };
|
|
3639
|
+
remoteFiles?: { [k: string]: string };
|
|
3650
3640
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3651
3641
|
}
|
|
3652
3642
|
export enum DomainEventType {
|
|
@@ -4757,20 +4747,6 @@ declare namespace $responses {
|
|
|
4757
4747
|
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4758
4748
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4759
4749
|
}
|
|
4760
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
4761
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4762
|
-
}
|
|
4763
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
4764
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
4765
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4766
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4767
|
-
}
|
|
4768
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
4769
|
-
}
|
|
4770
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
4771
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
4772
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4773
|
-
}
|
|
4774
4750
|
export interface IUnprocessedTargetEvent {
|
|
4775
4751
|
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4776
4752
|
}
|
|
@@ -7266,7 +7242,6 @@ declare namespace $services {
|
|
|
7266
7242
|
export namespace v1 {
|
|
7267
7243
|
export namespace internal {
|
|
7268
7244
|
export abstract class BusinessSchemaIndexerService {
|
|
7269
|
-
abstract markTargetAsProcessed(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7270
7245
|
}
|
|
7271
7246
|
}
|
|
7272
7247
|
export abstract class ManagementService {
|
|
@@ -14,12 +14,14 @@ declare namespace $requests {
|
|
|
14
14
|
type?: string;
|
|
15
15
|
path?: string;
|
|
16
16
|
files?: { [k: string]: string };
|
|
17
|
+
remoteFiles?: { [k: string]: string };
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type?: string;
|
|
21
22
|
path?: string;
|
|
22
23
|
files?: { [k: string]: string };
|
|
24
|
+
remoteFiles?: { [k: string]: string };
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1130,20 +1132,6 @@ declare namespace $requests {
|
|
|
1130
1132
|
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1134
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1135
|
-
}
|
|
1136
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1137
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1138
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1139
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1140
|
-
}
|
|
1141
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1142
|
-
}
|
|
1143
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1144
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1145
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1146
|
-
}
|
|
1147
1135
|
export interface IUnprocessedTargetEvent {
|
|
1148
1136
|
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1149
1137
|
}
|
|
@@ -3641,12 +3629,14 @@ declare namespace $responses {
|
|
|
3641
3629
|
type: string;
|
|
3642
3630
|
path: string;
|
|
3643
3631
|
files?: { [k: string]: string };
|
|
3632
|
+
remoteFiles?: { [k: string]: string };
|
|
3644
3633
|
}
|
|
3645
3634
|
export class Appendix implements IAppendix {
|
|
3646
3635
|
constructor(data?: IAppendix);
|
|
3647
3636
|
type: string;
|
|
3648
3637
|
path: string;
|
|
3649
3638
|
files?: { [k: string]: string };
|
|
3639
|
+
remoteFiles?: { [k: string]: string };
|
|
3650
3640
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3651
3641
|
}
|
|
3652
3642
|
export enum DomainEventType {
|
|
@@ -4757,20 +4747,6 @@ declare namespace $responses {
|
|
|
4757
4747
|
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4758
4748
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4759
4749
|
}
|
|
4760
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
4761
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4762
|
-
}
|
|
4763
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
4764
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
4765
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4766
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4767
|
-
}
|
|
4768
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
4769
|
-
}
|
|
4770
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
4771
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
4772
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4773
|
-
}
|
|
4774
4750
|
export interface IUnprocessedTargetEvent {
|
|
4775
4751
|
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4776
4752
|
}
|
|
@@ -7266,8 +7242,6 @@ declare namespace $services {
|
|
|
7266
7242
|
export namespace v1 {
|
|
7267
7243
|
export namespace internal {
|
|
7268
7244
|
export abstract class BusinessSchemaIndexerService {
|
|
7269
|
-
abstract markTargetAsProcessed(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7270
|
-
abstract markTargetAsProcessed(req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7271
7245
|
}
|
|
7272
7246
|
}
|
|
7273
7247
|
export abstract class ManagementService {
|
|
@@ -14,12 +14,14 @@ declare namespace $wrapper {
|
|
|
14
14
|
type?: (string | null);
|
|
15
15
|
path?: (string | null);
|
|
16
16
|
files?: ({ [k: string]: string } | null);
|
|
17
|
+
remoteFiles?: ({ [k: string]: string } | null);
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type?: (string | null);
|
|
21
22
|
path?: (string | null);
|
|
22
23
|
files?: ({ [k: string]: string });
|
|
24
|
+
remoteFiles?: ({ [k: string]: string });
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1131,21 +1133,6 @@ declare namespace $wrapper {
|
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
1135
|
export abstract class BusinessSchemaIndexerService {
|
|
1134
|
-
abstract markTargetAsProcessed(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
1135
|
-
}
|
|
1136
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1137
|
-
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
|
1138
|
-
}
|
|
1139
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1140
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1141
|
-
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
|
1142
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1143
|
-
}
|
|
1144
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1145
|
-
}
|
|
1146
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1147
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1148
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1149
1136
|
}
|
|
1150
1137
|
export interface IUnprocessedTargetEvent {
|
|
1151
1138
|
target?: ($wrapper.wix.coreservices.businessschema.v1.internal.ITarget | null);
|
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.1156',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'fd91900877159409657b302210f16ab60e7de564'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -46,6 +46,12 @@ $root.__lookup = function (pbjs) {
|
|
|
46
46
|
'type': 'string',
|
|
47
47
|
'id': 3,
|
|
48
48
|
'comment': null
|
|
49
|
+
},
|
|
50
|
+
'remoteFiles': {
|
|
51
|
+
'keyType': 'string',
|
|
52
|
+
'type': 'string',
|
|
53
|
+
'id': 4,
|
|
54
|
+
'comment': null
|
|
49
55
|
}
|
|
50
56
|
},
|
|
51
57
|
'comment': null
|
|
@@ -2855,54 +2861,7 @@ $root.__lookup = function (pbjs) {
|
|
|
2855
2861
|
'(wix.api.service_exposure)': 'PRIVATE',
|
|
2856
2862
|
'(wix.api.service_maturity)': 'ALPHA'
|
|
2857
2863
|
},
|
|
2858
|
-
'methods': {
|
|
2859
|
-
'MarkTargetAsProcessed': {
|
|
2860
|
-
'requestType': 'MarkTargetAsProcessedRequest',
|
|
2861
|
-
'responseType': 'MarkTargetAsProcessedResponse',
|
|
2862
|
-
'options': {
|
|
2863
|
-
'(wix.api.permission).name': 'API_INFRA.BS_INDEXER.MARK_TARGET_AS_PROCESSED',
|
|
2864
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.commit_timestamp'
|
|
2865
|
-
},
|
|
2866
|
-
'comment': null,
|
|
2867
|
-
'parsedOptions': [
|
|
2868
|
-
{
|
|
2869
|
-
'(wix.api.permission)': { 'name': 'API_INFRA.BS_INDEXER.MARK_TARGET_AS_PROCESSED' },
|
|
2870
|
-
'__comment': { 'name': null }
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target',
|
|
2874
|
-
'__comment': null
|
|
2875
|
-
},
|
|
2876
|
-
{
|
|
2877
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.id',
|
|
2878
|
-
'__comment': null
|
|
2879
|
-
},
|
|
2880
|
-
{
|
|
2881
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.combined_digest',
|
|
2882
|
-
'__comment': null
|
|
2883
|
-
},
|
|
2884
|
-
{
|
|
2885
|
-
'(wix.api.required)': 'MarkTargetAsProcessedRequest.target.commit_timestamp',
|
|
2886
|
-
'__comment': null
|
|
2887
|
-
}
|
|
2888
|
-
]
|
|
2889
|
-
}
|
|
2890
|
-
},
|
|
2891
|
-
'comment': null
|
|
2892
|
-
},
|
|
2893
|
-
'MarkTargetAsProcessedRequest': {
|
|
2894
|
-
'fields': {
|
|
2895
|
-
'target': {
|
|
2896
|
-
'type': 'Target',
|
|
2897
|
-
'id': 1,
|
|
2898
|
-
'comment': null,
|
|
2899
|
-
'parsedOptions': null
|
|
2900
|
-
}
|
|
2901
|
-
},
|
|
2902
|
-
'comment': null
|
|
2903
|
-
},
|
|
2904
|
-
'MarkTargetAsProcessedResponse': {
|
|
2905
|
-
'fields': {},
|
|
2864
|
+
'methods': {},
|
|
2906
2865
|
'comment': null
|
|
2907
2866
|
},
|
|
2908
2867
|
'UnprocessedTargetEvent': {
|
|
@@ -9379,6 +9338,7 @@ $root.wix = (function () {
|
|
|
9379
9338
|
this.type = props && props.type;
|
|
9380
9339
|
this.path = props && props.path;
|
|
9381
9340
|
this.files = props && props.files;
|
|
9341
|
+
this.remoteFiles = props && props.remoteFiles;
|
|
9382
9342
|
}
|
|
9383
9343
|
static toJSON(obj, helper, withDefaults) {
|
|
9384
9344
|
if (obj == null) {
|
|
@@ -9403,6 +9363,14 @@ $root.wix = (function () {
|
|
|
9403
9363
|
} else if (withDefaults) {
|
|
9404
9364
|
delete json['files'];
|
|
9405
9365
|
}
|
|
9366
|
+
if (obj['remoteFiles'] != null) {
|
|
9367
|
+
json['remoteFiles'] = Object.entries(obj['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9368
|
+
acc[k] = v;
|
|
9369
|
+
return acc;
|
|
9370
|
+
}, {});
|
|
9371
|
+
} else if (withDefaults) {
|
|
9372
|
+
delete json['remoteFiles'];
|
|
9373
|
+
}
|
|
9406
9374
|
return json;
|
|
9407
9375
|
}
|
|
9408
9376
|
}
|
|
@@ -9433,6 +9401,16 @@ $root.wix = (function () {
|
|
|
9433
9401
|
} else {
|
|
9434
9402
|
delete result['files'];
|
|
9435
9403
|
}
|
|
9404
|
+
if (json['remoteFiles'] != null) {
|
|
9405
|
+
result['remoteFiles'] = Object.entries(json['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9406
|
+
acc[k] = v;
|
|
9407
|
+
return acc;
|
|
9408
|
+
}, {});
|
|
9409
|
+
} else if (withDefaults !== false) {
|
|
9410
|
+
delete result['remoteFiles'];
|
|
9411
|
+
} else {
|
|
9412
|
+
delete result['remoteFiles'];
|
|
9413
|
+
}
|
|
9436
9414
|
return result;
|
|
9437
9415
|
} else
|
|
9438
9416
|
return json;
|
|
@@ -9454,6 +9432,12 @@ $root.wix = (function () {
|
|
|
9454
9432
|
return acc;
|
|
9455
9433
|
}, {});
|
|
9456
9434
|
}
|
|
9435
|
+
if (obj['remoteFiles'] != null) {
|
|
9436
|
+
grpc['remoteFiles'] = Object.entries(obj['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9437
|
+
acc[k] = v;
|
|
9438
|
+
return acc;
|
|
9439
|
+
}, {});
|
|
9440
|
+
}
|
|
9457
9441
|
return grpc;
|
|
9458
9442
|
}
|
|
9459
9443
|
}
|
|
@@ -9480,6 +9464,14 @@ $root.wix = (function () {
|
|
|
9480
9464
|
} else {
|
|
9481
9465
|
delete result['files'];
|
|
9482
9466
|
}
|
|
9467
|
+
if (grpc['remoteFiles'] != null) {
|
|
9468
|
+
result['remoteFiles'] = Object.entries(grpc['remoteFiles']).reduce((acc, [k, v]) => {
|
|
9469
|
+
acc[k] = v;
|
|
9470
|
+
return acc;
|
|
9471
|
+
}, {});
|
|
9472
|
+
} else {
|
|
9473
|
+
delete result['remoteFiles'];
|
|
9474
|
+
}
|
|
9483
9475
|
return result;
|
|
9484
9476
|
}
|
|
9485
9477
|
}
|
|
@@ -21281,19 +21273,7 @@ $root.wix = (function () {
|
|
|
21281
21273
|
}());;
|
|
21282
21274
|
_internal.BusinessSchemaIndexerService = (function () {
|
|
21283
21275
|
class BusinessSchemaIndexerService {
|
|
21284
|
-
markTargetAsProcessed(aspects, msg) {
|
|
21285
|
-
throw new TypeError('method markTargetAsProcessed is abstract');
|
|
21286
|
-
}
|
|
21287
21276
|
}
|
|
21288
|
-
BusinessSchemaIndexerService.prototype.markTargetAsProcessed._messageTypes = function () {
|
|
21289
|
-
return [
|
|
21290
|
-
$root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest,
|
|
21291
|
-
$root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse
|
|
21292
|
-
];
|
|
21293
|
-
};
|
|
21294
|
-
BusinessSchemaIndexerService.prototype.markTargetAsProcessed.__proto = pbjs => {
|
|
21295
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.BusinessSchemaIndexerService.MarkTargetAsProcessed');
|
|
21296
|
-
};
|
|
21297
21277
|
__builtIn.Object.defineProperty(BusinessSchemaIndexerService.prototype, '__isRpcService__', {
|
|
21298
21278
|
value: true,
|
|
21299
21279
|
enumerable: false,
|
|
@@ -21328,147 +21308,6 @@ $root.wix = (function () {
|
|
|
21328
21308
|
});
|
|
21329
21309
|
return BusinessSchemaIndexerService;
|
|
21330
21310
|
}());;
|
|
21331
|
-
_internal.MarkTargetAsProcessedRequest = (function () {
|
|
21332
|
-
class MarkTargetAsProcessedRequest {
|
|
21333
|
-
constructor(props) {
|
|
21334
|
-
this.target = props && props.target;
|
|
21335
|
-
}
|
|
21336
|
-
static toJSON(obj, helper, withDefaults) {
|
|
21337
|
-
if (obj == null) {
|
|
21338
|
-
return null;
|
|
21339
|
-
} else {
|
|
21340
|
-
const json = {};
|
|
21341
|
-
if (obj['target'] != null) {
|
|
21342
|
-
json['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.toJSON(obj['target'], helper, withDefaults);
|
|
21343
|
-
} else if (withDefaults) {
|
|
21344
|
-
delete json['target'];
|
|
21345
|
-
}
|
|
21346
|
-
return json;
|
|
21347
|
-
}
|
|
21348
|
-
}
|
|
21349
|
-
static fromJSON(json, helper, withDefaults) {
|
|
21350
|
-
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
21351
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest();
|
|
21352
|
-
if (json['target'] != null) {
|
|
21353
|
-
result['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.fromJSON(json['target'], helper);
|
|
21354
|
-
} else if (withDefaults !== false) {
|
|
21355
|
-
delete result['target'];
|
|
21356
|
-
} else {
|
|
21357
|
-
delete result['target'];
|
|
21358
|
-
}
|
|
21359
|
-
return result;
|
|
21360
|
-
} else
|
|
21361
|
-
return json;
|
|
21362
|
-
}
|
|
21363
|
-
static toGRPC(obj, helper) {
|
|
21364
|
-
if (obj == null) {
|
|
21365
|
-
return null;
|
|
21366
|
-
} else {
|
|
21367
|
-
const grpc = {};
|
|
21368
|
-
if (obj['target'] != null) {
|
|
21369
|
-
grpc['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.toGRPC(obj['target'], helper);
|
|
21370
|
-
}
|
|
21371
|
-
return grpc;
|
|
21372
|
-
}
|
|
21373
|
-
}
|
|
21374
|
-
static fromGRPC(grpc, helper) {
|
|
21375
|
-
if (grpc == null) {
|
|
21376
|
-
return null;
|
|
21377
|
-
} else {
|
|
21378
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest();
|
|
21379
|
-
if (grpc['target'] != null) {
|
|
21380
|
-
result['target'] = $root.wix.coreservices.businessschema.v1.internal.Target.fromGRPC(grpc['target'], helper);
|
|
21381
|
-
} else {
|
|
21382
|
-
delete result['target'];
|
|
21383
|
-
}
|
|
21384
|
-
return result;
|
|
21385
|
-
}
|
|
21386
|
-
}
|
|
21387
|
-
}
|
|
21388
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__proto', {
|
|
21389
|
-
value: pbjs => {
|
|
21390
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest');
|
|
21391
|
-
},
|
|
21392
|
-
enumerable: false,
|
|
21393
|
-
configurable: false
|
|
21394
|
-
});
|
|
21395
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__fqn__', {
|
|
21396
|
-
value: 'wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedRequest',
|
|
21397
|
-
enumerable: false,
|
|
21398
|
-
configurable: false
|
|
21399
|
-
});
|
|
21400
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__options__', {
|
|
21401
|
-
value: $root.__options,
|
|
21402
|
-
enumerable: false,
|
|
21403
|
-
configurable: false
|
|
21404
|
-
});
|
|
21405
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedRequest.prototype, '__root__', {
|
|
21406
|
-
value: $root,
|
|
21407
|
-
enumerable: false,
|
|
21408
|
-
configurable: false
|
|
21409
|
-
});
|
|
21410
|
-
return MarkTargetAsProcessedRequest;
|
|
21411
|
-
}());;
|
|
21412
|
-
_internal.MarkTargetAsProcessedResponse = (function () {
|
|
21413
|
-
class MarkTargetAsProcessedResponse {
|
|
21414
|
-
constructor(props) {
|
|
21415
|
-
}
|
|
21416
|
-
static toJSON(obj, helper, withDefaults) {
|
|
21417
|
-
if (obj == null) {
|
|
21418
|
-
return null;
|
|
21419
|
-
} else {
|
|
21420
|
-
const json = {};
|
|
21421
|
-
return json;
|
|
21422
|
-
}
|
|
21423
|
-
}
|
|
21424
|
-
static fromJSON(json, helper, withDefaults) {
|
|
21425
|
-
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
21426
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse();
|
|
21427
|
-
return result;
|
|
21428
|
-
} else
|
|
21429
|
-
return json;
|
|
21430
|
-
}
|
|
21431
|
-
static toGRPC(obj, helper) {
|
|
21432
|
-
if (obj == null) {
|
|
21433
|
-
return null;
|
|
21434
|
-
} else {
|
|
21435
|
-
const grpc = {};
|
|
21436
|
-
return grpc;
|
|
21437
|
-
}
|
|
21438
|
-
}
|
|
21439
|
-
static fromGRPC(grpc, helper) {
|
|
21440
|
-
if (grpc == null) {
|
|
21441
|
-
return null;
|
|
21442
|
-
} else {
|
|
21443
|
-
const result = new $root.wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse();
|
|
21444
|
-
return result;
|
|
21445
|
-
}
|
|
21446
|
-
}
|
|
21447
|
-
}
|
|
21448
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__proto', {
|
|
21449
|
-
value: pbjs => {
|
|
21450
|
-
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse');
|
|
21451
|
-
},
|
|
21452
|
-
enumerable: false,
|
|
21453
|
-
configurable: false
|
|
21454
|
-
});
|
|
21455
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__fqn__', {
|
|
21456
|
-
value: 'wix.coreservices.businessschema.v1.internal.MarkTargetAsProcessedResponse',
|
|
21457
|
-
enumerable: false,
|
|
21458
|
-
configurable: false
|
|
21459
|
-
});
|
|
21460
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__options__', {
|
|
21461
|
-
value: $root.__options,
|
|
21462
|
-
enumerable: false,
|
|
21463
|
-
configurable: false
|
|
21464
|
-
});
|
|
21465
|
-
__builtIn.Object.defineProperty(MarkTargetAsProcessedResponse.prototype, '__root__', {
|
|
21466
|
-
value: $root,
|
|
21467
|
-
enumerable: false,
|
|
21468
|
-
configurable: false
|
|
21469
|
-
});
|
|
21470
|
-
return MarkTargetAsProcessedResponse;
|
|
21471
|
-
}());;
|
|
21472
21311
|
_internal.UnprocessedTargetEvent = (function () {
|
|
21473
21312
|
class UnprocessedTargetEvent {
|
|
21474
21313
|
constructor(props) {
|
|
@@ -14,12 +14,14 @@ declare namespace $requests {
|
|
|
14
14
|
type: string;
|
|
15
15
|
path: string;
|
|
16
16
|
files?: { [k: string]: string };
|
|
17
|
+
remoteFiles?: { [k: string]: string };
|
|
17
18
|
}
|
|
18
19
|
export class Appendix implements IAppendix {
|
|
19
20
|
constructor(data?: IAppendix);
|
|
20
21
|
type: string;
|
|
21
22
|
path: string;
|
|
22
23
|
files?: { [k: string]: string };
|
|
24
|
+
remoteFiles?: { [k: string]: string };
|
|
23
25
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
24
26
|
}
|
|
25
27
|
export enum DomainEventType {
|
|
@@ -1130,20 +1132,6 @@ declare namespace $requests {
|
|
|
1130
1132
|
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1131
1133
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1132
1134
|
}
|
|
1133
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
1134
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1135
|
-
}
|
|
1136
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
1137
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
1138
|
-
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1139
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1140
|
-
}
|
|
1141
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
1142
|
-
}
|
|
1143
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
1144
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
1145
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1146
|
-
}
|
|
1147
1135
|
export interface IUnprocessedTargetEvent {
|
|
1148
1136
|
target?: $requests.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
1149
1137
|
}
|
|
@@ -3641,12 +3629,14 @@ declare namespace $responses {
|
|
|
3641
3629
|
type?: string;
|
|
3642
3630
|
path?: string;
|
|
3643
3631
|
files?: { [k: string]: string };
|
|
3632
|
+
remoteFiles?: { [k: string]: string };
|
|
3644
3633
|
}
|
|
3645
3634
|
export class Appendix implements IAppendix {
|
|
3646
3635
|
constructor(data?: IAppendix);
|
|
3647
3636
|
type?: string;
|
|
3648
3637
|
path?: string;
|
|
3649
3638
|
files?: { [k: string]: string };
|
|
3639
|
+
remoteFiles?: { [k: string]: string };
|
|
3650
3640
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3651
3641
|
}
|
|
3652
3642
|
export enum DomainEventType {
|
|
@@ -4757,20 +4747,6 @@ declare namespace $responses {
|
|
|
4757
4747
|
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4758
4748
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4759
4749
|
}
|
|
4760
|
-
export interface IMarkTargetAsProcessedRequest {
|
|
4761
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4762
|
-
}
|
|
4763
|
-
export class MarkTargetAsProcessedRequest implements IMarkTargetAsProcessedRequest {
|
|
4764
|
-
constructor(data?: IMarkTargetAsProcessedRequest);
|
|
4765
|
-
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4766
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4767
|
-
}
|
|
4768
|
-
export interface IMarkTargetAsProcessedResponse {
|
|
4769
|
-
}
|
|
4770
|
-
export class MarkTargetAsProcessedResponse implements IMarkTargetAsProcessedResponse {
|
|
4771
|
-
constructor(data?: IMarkTargetAsProcessedResponse);
|
|
4772
|
-
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4773
|
-
}
|
|
4774
4750
|
export interface IUnprocessedTargetEvent {
|
|
4775
4751
|
target?: $responses.wix.coreservices.businessschema.v1.internal.ITarget;
|
|
4776
4752
|
}
|
|
@@ -7266,7 +7242,6 @@ declare namespace $services {
|
|
|
7266
7242
|
export namespace v1 {
|
|
7267
7243
|
export namespace internal {
|
|
7268
7244
|
export abstract class BusinessSchemaIndexerService {
|
|
7269
|
-
abstract markTargetAsProcessed(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IMarkTargetAsProcessedResponse>
|
|
7270
7245
|
}
|
|
7271
7246
|
}
|
|
7272
7247
|
export abstract class ManagementService {
|
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.1473",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Eli Ponyatovski",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"*.{js,ts}": "yoshi lint"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wix/metro-runtime": "1.
|
|
36
|
+
"@wix/metro-runtime": "1.1828.0",
|
|
37
37
|
"long": "^5.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@rushstack/eslint-patch": "^1.1.0",
|
|
41
41
|
"@types/jest": "^24.9.1",
|
|
42
42
|
"@types/node": "^16.11.7",
|
|
43
|
-
"@wix/business-schema-api": "^1.7.
|
|
43
|
+
"@wix/business-schema-api": "^1.7.1499",
|
|
44
44
|
"@wix/wix-proto-codegen": "^2.0.1156",
|
|
45
45
|
"@wix/yoshi": "^6.95.1",
|
|
46
46
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"wallaby": {
|
|
72
72
|
"autoDetect": true
|
|
73
73
|
},
|
|
74
|
-
"falconPackageHash": "
|
|
74
|
+
"falconPackageHash": "320c8e0f69c9cc177a9fd55cf3c35428b1501abb74eced8989a3b609"
|
|
75
75
|
}
|