@wix/metro-common-builders 1.0.1303 → 1.0.1304

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.
@@ -236,6 +236,8 @@ declare namespace $requests {
236
236
  serviceName?: string;
237
237
  domainEvent?: $requests.wix.coreservices.businessschema.v1.DomainEventType;
238
238
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
239
+ externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
240
+ eventType?: string;
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $requests {
250
252
  serviceName?: string;
251
253
  domainEvent?: $requests.wix.coreservices.businessschema.v1.DomainEventType;
252
254
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
255
+ externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
256
+ eventType?: string;
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -3437,6 +3441,8 @@ declare namespace $responses {
3437
3441
  serviceName: string;
3438
3442
  domainEvent: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3439
3443
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3444
+ externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3445
+ eventType?: string;
3440
3446
  }
3441
3447
  export class Event implements IEvent {
3442
3448
  constructor(data?: IEvent);
@@ -3451,6 +3457,8 @@ declare namespace $responses {
3451
3457
  serviceName: string;
3452
3458
  domainEvent: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3453
3459
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3460
+ externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3461
+ eventType?: string;
3454
3462
  static __$$generatedFromProtobuf$$__: Symbol;
3455
3463
  }
3456
3464
  export interface IAction {
@@ -236,6 +236,8 @@ declare namespace $wrapper {
236
236
  serviceName?: (string | null);
237
237
  domainEvent?: ($wrapper.wix.coreservices.businessschema.v1.DomainEventType | null);
238
238
  deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
239
+ externalPermissionScopes?: ($wrapper.wix.coreservices.businessschema.v1.IExternalPermissionScope[] | null);
240
+ eventType?: (string | null);
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $wrapper {
250
252
  serviceName?: (string | null);
251
253
  domainEvent?: ($wrapper.wix.coreservices.businessschema.v1.DomainEventType | null);
252
254
  deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
255
+ externalPermissionScopes?: ($wrapper.wix.coreservices.businessschema.v1.IExternalPermissionScope[] | null);
256
+ eventType?: (string | null);
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1149',
13
- 'contentHash': 'ae5b7dd48aeca6bfd688e55a081302db39a38d34'
13
+ 'contentHash': '58ef892f31cf8ed9db0d56882e378b8d72acc6ac'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -620,6 +620,23 @@ $root.__lookup = function (pbjs) {
620
620
  'id': 11,
621
621
  'comment': null,
622
622
  'parsedOptions': null
623
+ },
624
+ 'externalPermissionScopes': {
625
+ 'rule': 'repeated',
626
+ 'type': 'ExternalPermissionScope',
627
+ 'id': 12,
628
+ 'options': { '(.wix.api.maxSize)': 20 },
629
+ 'comment': null,
630
+ 'parsedOptions': [{
631
+ '(.wix.api.maxSize)': 20,
632
+ '__comment': null
633
+ }]
634
+ },
635
+ 'eventType': {
636
+ 'type': 'google.protobuf.StringValue',
637
+ 'id': 13,
638
+ 'comment': null,
639
+ 'parsedOptions': null
623
640
  }
624
641
  },
625
642
  'comment': null
@@ -10105,6 +10122,8 @@ $root.wix = (function () {
10105
10122
  this.serviceName = props && props.serviceName;
10106
10123
  this.domainEvent = props && props.domainEvent;
10107
10124
  this.deprecated = props && props.deprecated;
10125
+ this.externalPermissionScopes = props && props.externalPermissionScopes;
10126
+ this.eventType = props && props.eventType;
10108
10127
  }
10109
10128
  static toJSON(obj, helper, withDefaults) {
10110
10129
  if (obj == null) {
@@ -10168,6 +10187,18 @@ $root.wix = (function () {
10168
10187
  } else if (withDefaults) {
10169
10188
  delete json['deprecated'];
10170
10189
  }
10190
+ if (obj['externalPermissionScopes'] != null) {
10191
+ json['externalPermissionScopes'] = obj['externalPermissionScopes'].map(e => {
10192
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.toJSON(e, helper, withDefaults);
10193
+ });
10194
+ } else if (withDefaults) {
10195
+ json['externalPermissionScopes'] = [];
10196
+ }
10197
+ if (obj['eventType'] != null) {
10198
+ json['eventType'] = $root.google.protobuf.StringValue.toJSON(obj['eventType'], helper, withDefaults);
10199
+ } else if (withDefaults) {
10200
+ delete json['eventType'];
10201
+ }
10171
10202
  return json;
10172
10203
  }
10173
10204
  }
@@ -10253,6 +10284,22 @@ $root.wix = (function () {
10253
10284
  } else {
10254
10285
  delete result['deprecated'];
10255
10286
  }
10287
+ if (json['externalPermissionScopes'] != null) {
10288
+ result['externalPermissionScopes'] = Array.isArray(json['externalPermissionScopes']) ? json['externalPermissionScopes'].map(e => {
10289
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.fromJSON(e, helper);
10290
+ }) : json['externalPermissionScopes'];
10291
+ } else if (withDefaults !== false) {
10292
+ result['externalPermissionScopes'] = [];
10293
+ } else {
10294
+ delete result['externalPermissionScopes'];
10295
+ }
10296
+ if (json['eventType'] != null) {
10297
+ result['eventType'] = $root.google.protobuf.StringValue.fromJSON(json['eventType'], helper);
10298
+ } else if (withDefaults !== false) {
10299
+ delete result['eventType'];
10300
+ } else {
10301
+ delete result['eventType'];
10302
+ }
10256
10303
  return result;
10257
10304
  } else
10258
10305
  return json;
@@ -10297,6 +10344,14 @@ $root.wix = (function () {
10297
10344
  if (obj['deprecated'] != null) {
10298
10345
  grpc['deprecated'] = $root.wix.coreservices.businessschema.v1.Deprecated.toGRPC(obj['deprecated'], helper);
10299
10346
  }
10347
+ if (obj['externalPermissionScopes'] != null) {
10348
+ grpc['externalPermissionScopes'] = obj['externalPermissionScopes'].map(e => {
10349
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.toGRPC(e, helper);
10350
+ });
10351
+ }
10352
+ if (obj['eventType'] != null) {
10353
+ grpc['eventType'] = $root.google.protobuf.StringValue.toGRPC(obj['eventType'], helper);
10354
+ }
10300
10355
  return grpc;
10301
10356
  }
10302
10357
  }
@@ -10362,6 +10417,18 @@ $root.wix = (function () {
10362
10417
  } else {
10363
10418
  delete result['deprecated'];
10364
10419
  }
10420
+ if (grpc['externalPermissionScopes'] != null) {
10421
+ result['externalPermissionScopes'] = grpc['externalPermissionScopes'].map(e => {
10422
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.fromGRPC(e, helper);
10423
+ });
10424
+ } else {
10425
+ result['externalPermissionScopes'] = [];
10426
+ }
10427
+ if (grpc['eventType'] != null) {
10428
+ result['eventType'] = $root.google.protobuf.StringValue.fromGRPC(grpc['eventType'], helper);
10429
+ } else {
10430
+ delete result['eventType'];
10431
+ }
10365
10432
  return result;
10366
10433
  }
10367
10434
  }
@@ -236,6 +236,8 @@ declare namespace $requests {
236
236
  serviceName: string;
237
237
  domainEvent: $requests.wix.coreservices.businessschema.v1.DomainEventType;
238
238
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
239
+ externalPermissionScopes: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
240
+ eventType?: string;
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $requests {
250
252
  serviceName: string;
251
253
  domainEvent: $requests.wix.coreservices.businessschema.v1.DomainEventType;
252
254
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
255
+ externalPermissionScopes: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
256
+ eventType?: string;
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -3437,6 +3441,8 @@ declare namespace $responses {
3437
3441
  serviceName?: string;
3438
3442
  domainEvent?: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3439
3443
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3444
+ externalPermissionScopes?: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3445
+ eventType?: string;
3440
3446
  }
3441
3447
  export class Event implements IEvent {
3442
3448
  constructor(data?: IEvent);
@@ -3451,6 +3457,8 @@ declare namespace $responses {
3451
3457
  serviceName?: string;
3452
3458
  domainEvent?: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3453
3459
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3460
+ externalPermissionScopes?: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3461
+ eventType?: string;
3454
3462
  static __$$generatedFromProtobuf$$__: Symbol;
3455
3463
  }
3456
3464
  export interface IAction {
@@ -236,6 +236,8 @@ declare namespace $requests {
236
236
  serviceName?: string;
237
237
  domainEvent?: $requests.wix.coreservices.businessschema.v1.DomainEventType;
238
238
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
239
+ externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
240
+ eventType?: string;
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $requests {
250
252
  serviceName?: string;
251
253
  domainEvent?: $requests.wix.coreservices.businessschema.v1.DomainEventType;
252
254
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
255
+ externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
256
+ eventType?: string;
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -3437,6 +3441,8 @@ declare namespace $responses {
3437
3441
  serviceName: string;
3438
3442
  domainEvent: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3439
3443
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3444
+ externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3445
+ eventType?: string;
3440
3446
  }
3441
3447
  export class Event implements IEvent {
3442
3448
  constructor(data?: IEvent);
@@ -3451,6 +3457,8 @@ declare namespace $responses {
3451
3457
  serviceName: string;
3452
3458
  domainEvent: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3453
3459
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3460
+ externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3461
+ eventType?: string;
3454
3462
  static __$$generatedFromProtobuf$$__: Symbol;
3455
3463
  }
3456
3464
  export interface IAction {
@@ -236,6 +236,8 @@ declare namespace $wrapper {
236
236
  serviceName?: (string | null);
237
237
  domainEvent?: ($wrapper.wix.coreservices.businessschema.v1.DomainEventType | null);
238
238
  deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
239
+ externalPermissionScopes?: ($wrapper.wix.coreservices.businessschema.v1.IExternalPermissionScope[] | null);
240
+ eventType?: (string | null);
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $wrapper {
250
252
  serviceName?: (string | null);
251
253
  domainEvent?: ($wrapper.wix.coreservices.businessschema.v1.DomainEventType | null);
252
254
  deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
255
+ externalPermissionScopes?: ($wrapper.wix.coreservices.businessschema.v1.IExternalPermissionScope[] | null);
256
+ eventType?: (string | null);
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1149',
13
- 'contentHash': 'ae5b7dd48aeca6bfd688e55a081302db39a38d34'
13
+ 'contentHash': '58ef892f31cf8ed9db0d56882e378b8d72acc6ac'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -620,6 +620,23 @@ $root.__lookup = function (pbjs) {
620
620
  'id': 11,
621
621
  'comment': null,
622
622
  'parsedOptions': null
623
+ },
624
+ 'externalPermissionScopes': {
625
+ 'rule': 'repeated',
626
+ 'type': 'ExternalPermissionScope',
627
+ 'id': 12,
628
+ 'options': { '(.wix.api.maxSize)': 20 },
629
+ 'comment': null,
630
+ 'parsedOptions': [{
631
+ '(.wix.api.maxSize)': 20,
632
+ '__comment': null
633
+ }]
634
+ },
635
+ 'eventType': {
636
+ 'type': 'google.protobuf.StringValue',
637
+ 'id': 13,
638
+ 'comment': null,
639
+ 'parsedOptions': null
623
640
  }
624
641
  },
625
642
  'comment': null
@@ -10105,6 +10122,8 @@ $root.wix = (function () {
10105
10122
  this.serviceName = props && props.serviceName;
10106
10123
  this.domainEvent = props && props.domainEvent;
10107
10124
  this.deprecated = props && props.deprecated;
10125
+ this.externalPermissionScopes = props && props.externalPermissionScopes;
10126
+ this.eventType = props && props.eventType;
10108
10127
  }
10109
10128
  static toJSON(obj, helper, withDefaults) {
10110
10129
  if (obj == null) {
@@ -10168,6 +10187,18 @@ $root.wix = (function () {
10168
10187
  } else if (withDefaults) {
10169
10188
  delete json['deprecated'];
10170
10189
  }
10190
+ if (obj['externalPermissionScopes'] != null) {
10191
+ json['externalPermissionScopes'] = obj['externalPermissionScopes'].map(e => {
10192
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.toJSON(e, helper, withDefaults);
10193
+ });
10194
+ } else if (withDefaults) {
10195
+ json['externalPermissionScopes'] = [];
10196
+ }
10197
+ if (obj['eventType'] != null) {
10198
+ json['eventType'] = $root.google.protobuf.StringValue.toJSON(obj['eventType'], helper, withDefaults);
10199
+ } else if (withDefaults) {
10200
+ delete json['eventType'];
10201
+ }
10171
10202
  return json;
10172
10203
  }
10173
10204
  }
@@ -10253,6 +10284,22 @@ $root.wix = (function () {
10253
10284
  } else {
10254
10285
  delete result['deprecated'];
10255
10286
  }
10287
+ if (json['externalPermissionScopes'] != null) {
10288
+ result['externalPermissionScopes'] = Array.isArray(json['externalPermissionScopes']) ? json['externalPermissionScopes'].map(e => {
10289
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.fromJSON(e, helper);
10290
+ }) : json['externalPermissionScopes'];
10291
+ } else if (withDefaults !== false) {
10292
+ result['externalPermissionScopes'] = [];
10293
+ } else {
10294
+ delete result['externalPermissionScopes'];
10295
+ }
10296
+ if (json['eventType'] != null) {
10297
+ result['eventType'] = $root.google.protobuf.StringValue.fromJSON(json['eventType'], helper);
10298
+ } else if (withDefaults !== false) {
10299
+ delete result['eventType'];
10300
+ } else {
10301
+ delete result['eventType'];
10302
+ }
10256
10303
  return result;
10257
10304
  } else
10258
10305
  return json;
@@ -10297,6 +10344,14 @@ $root.wix = (function () {
10297
10344
  if (obj['deprecated'] != null) {
10298
10345
  grpc['deprecated'] = $root.wix.coreservices.businessschema.v1.Deprecated.toGRPC(obj['deprecated'], helper);
10299
10346
  }
10347
+ if (obj['externalPermissionScopes'] != null) {
10348
+ grpc['externalPermissionScopes'] = obj['externalPermissionScopes'].map(e => {
10349
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.toGRPC(e, helper);
10350
+ });
10351
+ }
10352
+ if (obj['eventType'] != null) {
10353
+ grpc['eventType'] = $root.google.protobuf.StringValue.toGRPC(obj['eventType'], helper);
10354
+ }
10300
10355
  return grpc;
10301
10356
  }
10302
10357
  }
@@ -10362,6 +10417,18 @@ $root.wix = (function () {
10362
10417
  } else {
10363
10418
  delete result['deprecated'];
10364
10419
  }
10420
+ if (grpc['externalPermissionScopes'] != null) {
10421
+ result['externalPermissionScopes'] = grpc['externalPermissionScopes'].map(e => {
10422
+ return $root.wix.coreservices.businessschema.v1.ExternalPermissionScope.fromGRPC(e, helper);
10423
+ });
10424
+ } else {
10425
+ result['externalPermissionScopes'] = [];
10426
+ }
10427
+ if (grpc['eventType'] != null) {
10428
+ result['eventType'] = $root.google.protobuf.StringValue.fromGRPC(grpc['eventType'], helper);
10429
+ } else {
10430
+ delete result['eventType'];
10431
+ }
10365
10432
  return result;
10366
10433
  }
10367
10434
  }
@@ -236,6 +236,8 @@ declare namespace $requests {
236
236
  serviceName: string;
237
237
  domainEvent: $requests.wix.coreservices.businessschema.v1.DomainEventType;
238
238
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
239
+ externalPermissionScopes: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
240
+ eventType?: string;
239
241
  }
240
242
  export class Event implements IEvent {
241
243
  constructor(data?: IEvent);
@@ -250,6 +252,8 @@ declare namespace $requests {
250
252
  serviceName: string;
251
253
  domainEvent: $requests.wix.coreservices.businessschema.v1.DomainEventType;
252
254
  deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
255
+ externalPermissionScopes: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
256
+ eventType?: string;
253
257
  static __$$generatedFromProtobuf$$__: Symbol;
254
258
  }
255
259
  export interface IAction {
@@ -3437,6 +3441,8 @@ declare namespace $responses {
3437
3441
  serviceName?: string;
3438
3442
  domainEvent?: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3439
3443
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3444
+ externalPermissionScopes?: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3445
+ eventType?: string;
3440
3446
  }
3441
3447
  export class Event implements IEvent {
3442
3448
  constructor(data?: IEvent);
@@ -3451,6 +3457,8 @@ declare namespace $responses {
3451
3457
  serviceName?: string;
3452
3458
  domainEvent?: $responses.wix.coreservices.businessschema.v1.DomainEventType;
3453
3459
  deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
3460
+ externalPermissionScopes?: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
3461
+ eventType?: string;
3454
3462
  static __$$generatedFromProtobuf$$__: Symbol;
3455
3463
  }
3456
3464
  export interface IAction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1303",
3
+ "version": "1.0.1304",
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.1659.0",
36
+ "@wix/metro-runtime": "1.1660.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.1378",
43
+ "@wix/business-schema-api": "^1.7.1380",
44
44
  "@wix/wix-proto-codegen": "^2.0.1149",
45
45
  "@wix/yoshi": "^6.91.2",
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": "2d12a2cee4e02e3f4d6659c721b4fc46f2d38b4c9443b2d0c2029315"
74
+ "falconPackageHash": "41cdf0f6b5a854393077ec7da269a03a1b42a5dfa35e8ebc7901f205"
75
75
  }