@wix/metro-common-builders 1.0.1478 → 1.0.1480
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 +78 -0
- package/dist/es/src/proto/index.d.ts +39 -0
- package/dist/es/src/proto/index.js +798 -26
- package/dist/es/src/proto/server/index.d.ts +78 -0
- package/dist/src/proto/client/index.d.ts +78 -0
- package/dist/src/proto/index.d.ts +39 -0
- package/dist/src/proto/index.js +798 -26
- package/dist/src/proto/server/index.d.ts +78 -0
- package/package.json +4 -4
|
@@ -452,6 +452,10 @@ declare namespace $requests {
|
|
|
452
452
|
name?: string;
|
|
453
453
|
errorSchemaName?: string;
|
|
454
454
|
description?: string;
|
|
455
|
+
errorType?: $requests.wix.coreservices.businessschema.v1.Error.ErrorType;
|
|
456
|
+
applicationCodeData?: $requests.wix.coreservices.businessschema.v1.Error.IApplicationErrorData;
|
|
457
|
+
validationErrorData?: $requests.wix.coreservices.businessschema.v1.Error.IValidationErrorData;
|
|
458
|
+
spiErrorData?: $requests.wix.coreservices.businessschema.v1.Error.ISPIErrorData;
|
|
455
459
|
}
|
|
456
460
|
export class Error implements IError {
|
|
457
461
|
constructor(data?: IError);
|
|
@@ -461,6 +465,10 @@ declare namespace $requests {
|
|
|
461
465
|
name?: string;
|
|
462
466
|
errorSchemaName?: string;
|
|
463
467
|
description?: string;
|
|
468
|
+
errorType?: $requests.wix.coreservices.businessschema.v1.Error.ErrorType;
|
|
469
|
+
applicationCodeData?: $requests.wix.coreservices.businessschema.v1.Error.IApplicationErrorData;
|
|
470
|
+
validationErrorData?: $requests.wix.coreservices.businessschema.v1.Error.IValidationErrorData;
|
|
471
|
+
spiErrorData?: $requests.wix.coreservices.businessschema.v1.Error.ISPIErrorData;
|
|
464
472
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
465
473
|
}
|
|
466
474
|
export namespace Error {
|
|
@@ -477,6 +485,37 @@ declare namespace $requests {
|
|
|
477
485
|
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
478
486
|
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
479
487
|
}
|
|
488
|
+
export enum ErrorType {
|
|
489
|
+
APPLICATION = "APPLICATION",
|
|
490
|
+
VALIDATION = "VALIDATION",
|
|
491
|
+
SPI = "SPI",
|
|
492
|
+
}
|
|
493
|
+
export interface IApplicationErrorData {
|
|
494
|
+
applicationCode?: string;
|
|
495
|
+
}
|
|
496
|
+
export class ApplicationErrorData implements IApplicationErrorData {
|
|
497
|
+
constructor(data?: IApplicationErrorData);
|
|
498
|
+
applicationCode?: string;
|
|
499
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
500
|
+
}
|
|
501
|
+
export interface IValidationErrorData {
|
|
502
|
+
ruleName?: string;
|
|
503
|
+
}
|
|
504
|
+
export class ValidationErrorData implements IValidationErrorData {
|
|
505
|
+
constructor(data?: IValidationErrorData);
|
|
506
|
+
ruleName?: string;
|
|
507
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
508
|
+
}
|
|
509
|
+
export interface ISPIErrorData {
|
|
510
|
+
name?: string;
|
|
511
|
+
applicationCode?: string;
|
|
512
|
+
}
|
|
513
|
+
export class SPIErrorData implements ISPIErrorData {
|
|
514
|
+
constructor(data?: ISPIErrorData);
|
|
515
|
+
name?: string;
|
|
516
|
+
applicationCode?: string;
|
|
517
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
518
|
+
}
|
|
480
519
|
}
|
|
481
520
|
export interface IHttpInfo {
|
|
482
521
|
httpCode?: number;
|
|
@@ -4067,6 +4106,10 @@ declare namespace $responses {
|
|
|
4067
4106
|
name?: string;
|
|
4068
4107
|
errorSchemaName?: string;
|
|
4069
4108
|
description?: string;
|
|
4109
|
+
errorType: $responses.wix.coreservices.businessschema.v1.Error.ErrorType;
|
|
4110
|
+
applicationCodeData?: $responses.wix.coreservices.businessschema.v1.Error.IApplicationErrorData;
|
|
4111
|
+
validationErrorData?: $responses.wix.coreservices.businessschema.v1.Error.IValidationErrorData;
|
|
4112
|
+
spiErrorData?: $responses.wix.coreservices.businessschema.v1.Error.ISPIErrorData;
|
|
4070
4113
|
}
|
|
4071
4114
|
export class Error implements IError {
|
|
4072
4115
|
constructor(data?: IError);
|
|
@@ -4076,6 +4119,10 @@ declare namespace $responses {
|
|
|
4076
4119
|
name?: string;
|
|
4077
4120
|
errorSchemaName?: string;
|
|
4078
4121
|
description?: string;
|
|
4122
|
+
errorType: $responses.wix.coreservices.businessschema.v1.Error.ErrorType;
|
|
4123
|
+
applicationCodeData?: $responses.wix.coreservices.businessschema.v1.Error.IApplicationErrorData;
|
|
4124
|
+
validationErrorData?: $responses.wix.coreservices.businessschema.v1.Error.IValidationErrorData;
|
|
4125
|
+
spiErrorData?: $responses.wix.coreservices.businessschema.v1.Error.ISPIErrorData;
|
|
4079
4126
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4080
4127
|
}
|
|
4081
4128
|
export namespace Error {
|
|
@@ -4092,6 +4139,37 @@ declare namespace $responses {
|
|
|
4092
4139
|
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
4093
4140
|
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
4094
4141
|
}
|
|
4142
|
+
export enum ErrorType {
|
|
4143
|
+
APPLICATION = "APPLICATION",
|
|
4144
|
+
VALIDATION = "VALIDATION",
|
|
4145
|
+
SPI = "SPI",
|
|
4146
|
+
}
|
|
4147
|
+
export interface IApplicationErrorData {
|
|
4148
|
+
applicationCode: string;
|
|
4149
|
+
}
|
|
4150
|
+
export class ApplicationErrorData implements IApplicationErrorData {
|
|
4151
|
+
constructor(data?: IApplicationErrorData);
|
|
4152
|
+
applicationCode: string;
|
|
4153
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4154
|
+
}
|
|
4155
|
+
export interface IValidationErrorData {
|
|
4156
|
+
ruleName: string;
|
|
4157
|
+
}
|
|
4158
|
+
export class ValidationErrorData implements IValidationErrorData {
|
|
4159
|
+
constructor(data?: IValidationErrorData);
|
|
4160
|
+
ruleName: string;
|
|
4161
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4162
|
+
}
|
|
4163
|
+
export interface ISPIErrorData {
|
|
4164
|
+
name?: string;
|
|
4165
|
+
applicationCode: string;
|
|
4166
|
+
}
|
|
4167
|
+
export class SPIErrorData implements ISPIErrorData {
|
|
4168
|
+
constructor(data?: ISPIErrorData);
|
|
4169
|
+
name?: string;
|
|
4170
|
+
applicationCode: string;
|
|
4171
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4172
|
+
}
|
|
4095
4173
|
}
|
|
4096
4174
|
export interface IHttpInfo {
|
|
4097
4175
|
httpCode?: number;
|
|
@@ -452,6 +452,10 @@ declare namespace $wrapper {
|
|
|
452
452
|
name?: (string | null);
|
|
453
453
|
errorSchemaName?: (string | null);
|
|
454
454
|
description?: (string | null);
|
|
455
|
+
errorType?: ($wrapper.wix.coreservices.businessschema.v1.Error.ErrorType | null);
|
|
456
|
+
applicationCodeData?: ($wrapper.wix.coreservices.businessschema.v1.Error.IApplicationErrorData | null);
|
|
457
|
+
validationErrorData?: ($wrapper.wix.coreservices.businessschema.v1.Error.IValidationErrorData | null);
|
|
458
|
+
spiErrorData?: ($wrapper.wix.coreservices.businessschema.v1.Error.ISPIErrorData | null);
|
|
455
459
|
}
|
|
456
460
|
export class Error implements IError {
|
|
457
461
|
constructor(data?: IError);
|
|
@@ -461,6 +465,10 @@ declare namespace $wrapper {
|
|
|
461
465
|
name?: (string | null);
|
|
462
466
|
errorSchemaName?: (string | null);
|
|
463
467
|
description?: (string | null);
|
|
468
|
+
errorType?: ($wrapper.wix.coreservices.businessschema.v1.Error.ErrorType | null);
|
|
469
|
+
applicationCodeData?: ($wrapper.wix.coreservices.businessschema.v1.Error.IApplicationErrorData | null);
|
|
470
|
+
validationErrorData?: ($wrapper.wix.coreservices.businessschema.v1.Error.IValidationErrorData | null);
|
|
471
|
+
spiErrorData?: ($wrapper.wix.coreservices.businessschema.v1.Error.ISPIErrorData | null);
|
|
464
472
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
465
473
|
}
|
|
466
474
|
export namespace Error {
|
|
@@ -477,6 +485,37 @@ declare namespace $wrapper {
|
|
|
477
485
|
ALREADY_EXISTS = "ALREADY_EXISTS",
|
|
478
486
|
FAILED_PRECONDITION = "FAILED_PRECONDITION",
|
|
479
487
|
}
|
|
488
|
+
export enum ErrorType {
|
|
489
|
+
APPLICATION = "APPLICATION",
|
|
490
|
+
VALIDATION = "VALIDATION",
|
|
491
|
+
SPI = "SPI",
|
|
492
|
+
}
|
|
493
|
+
export interface IApplicationErrorData {
|
|
494
|
+
applicationCode?: (string | null);
|
|
495
|
+
}
|
|
496
|
+
export class ApplicationErrorData implements IApplicationErrorData {
|
|
497
|
+
constructor(data?: IApplicationErrorData);
|
|
498
|
+
applicationCode?: (string | null);
|
|
499
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
500
|
+
}
|
|
501
|
+
export interface IValidationErrorData {
|
|
502
|
+
ruleName?: (string | null);
|
|
503
|
+
}
|
|
504
|
+
export class ValidationErrorData implements IValidationErrorData {
|
|
505
|
+
constructor(data?: IValidationErrorData);
|
|
506
|
+
ruleName?: (string | null);
|
|
507
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
508
|
+
}
|
|
509
|
+
export interface ISPIErrorData {
|
|
510
|
+
name?: (string | null);
|
|
511
|
+
applicationCode?: (string | null);
|
|
512
|
+
}
|
|
513
|
+
export class SPIErrorData implements ISPIErrorData {
|
|
514
|
+
constructor(data?: ISPIErrorData);
|
|
515
|
+
name?: (string | null);
|
|
516
|
+
applicationCode?: (string | null);
|
|
517
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
518
|
+
}
|
|
480
519
|
}
|
|
481
520
|
export interface IHttpInfo {
|
|
482
521
|
httpCode?: (number | null);
|