@wix/metro-common-builders 1.0.1415 → 1.0.1417
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 +38 -2
- package/dist/es/src/proto/index.d.ts +18 -0
- package/dist/es/src/proto/index.js +301 -9
- package/dist/es/src/proto/server/index.d.ts +38 -2
- package/dist/src/proto/client/index.d.ts +38 -2
- package/dist/src/proto/index.d.ts +18 -0
- package/dist/src/proto/index.js +301 -9
- package/dist/src/proto/server/index.d.ts +38 -2
- package/package.json +4 -4
|
@@ -1096,12 +1096,28 @@ declare namespace $requests {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: string;
|
|
1101
|
+
uri?: string;
|
|
1102
|
+
digest?: string;
|
|
1103
|
+
sizeInBytes?: (number | string);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: string;
|
|
1108
|
+
uri?: string;
|
|
1109
|
+
digest?: string;
|
|
1110
|
+
sizeInBytes?: (number | string);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: string;
|
|
1101
1115
|
location?: string;
|
|
1102
1116
|
combinedDigest?: string;
|
|
1103
1117
|
commitTimestamp?: (number | string);
|
|
1104
1118
|
type?: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1119
|
+
idTagValue?: string;
|
|
1120
|
+
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
@@ -1110,6 +1126,8 @@ declare namespace $requests {
|
|
|
1110
1126
|
combinedDigest?: string;
|
|
1111
1127
|
commitTimestamp?: (number | string);
|
|
1112
1128
|
type?: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1129
|
+
idTagValue?: string;
|
|
1130
|
+
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -4673,20 +4691,38 @@ declare namespace $responses {
|
|
|
4673
4691
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
4674
4692
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
4675
4693
|
}
|
|
4694
|
+
export interface IFile {
|
|
4695
|
+
name?: string;
|
|
4696
|
+
uri?: string;
|
|
4697
|
+
digest?: string;
|
|
4698
|
+
sizeInBytes?: (number | string);
|
|
4699
|
+
}
|
|
4700
|
+
export class File implements IFile {
|
|
4701
|
+
constructor(data?: IFile);
|
|
4702
|
+
name?: string;
|
|
4703
|
+
uri?: string;
|
|
4704
|
+
digest?: string;
|
|
4705
|
+
sizeInBytes?: (number | string);
|
|
4706
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4707
|
+
}
|
|
4676
4708
|
export interface ITarget {
|
|
4677
4709
|
id?: string;
|
|
4678
4710
|
location?: string;
|
|
4679
4711
|
combinedDigest?: string;
|
|
4680
|
-
commitTimestamp
|
|
4712
|
+
commitTimestamp?: (number | string);
|
|
4681
4713
|
type: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4714
|
+
idTagValue?: string;
|
|
4715
|
+
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4682
4716
|
}
|
|
4683
4717
|
export class Target implements ITarget {
|
|
4684
4718
|
constructor(data?: ITarget);
|
|
4685
4719
|
id?: string;
|
|
4686
4720
|
location?: string;
|
|
4687
4721
|
combinedDigest?: string;
|
|
4688
|
-
commitTimestamp
|
|
4722
|
+
commitTimestamp?: (number | string);
|
|
4689
4723
|
type: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4724
|
+
idTagValue?: string;
|
|
4725
|
+
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4690
4726
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4691
4727
|
}
|
|
4692
4728
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -1096,12 +1096,28 @@ declare namespace $wrapper {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: (string | null);
|
|
1101
|
+
uri?: (string | null);
|
|
1102
|
+
digest?: (string | null);
|
|
1103
|
+
sizeInBytes?: ((number | string) | null);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: (string | null);
|
|
1108
|
+
uri?: (string | null);
|
|
1109
|
+
digest?: (string | null);
|
|
1110
|
+
sizeInBytes?: ((number | string) | null);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: (string | null);
|
|
1101
1115
|
location?: (string | null);
|
|
1102
1116
|
combinedDigest?: (string | null);
|
|
1103
1117
|
commitTimestamp?: ((number | string) | null);
|
|
1104
1118
|
type?: ($wrapper.wix.coreservices.businessschema.v1.internal.TargetType | null);
|
|
1119
|
+
idTagValue?: (string | null);
|
|
1120
|
+
files?: ($wrapper.wix.coreservices.businessschema.v1.internal.IFile[] | null);
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
@@ -1110,6 +1126,8 @@ declare namespace $wrapper {
|
|
|
1110
1126
|
combinedDigest?: (string | null);
|
|
1111
1127
|
commitTimestamp?: ((number | string) | null);
|
|
1112
1128
|
type?: ($wrapper.wix.coreservices.businessschema.v1.internal.TargetType | null);
|
|
1129
|
+
idTagValue?: (string | null);
|
|
1130
|
+
files?: ($wrapper.wix.coreservices.businessschema.v1.internal.IFile[] | null);
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export abstract class BusinessSchemaIndexerService {
|
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1155',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'f9a38cbb45470db2b07aa60695a0cba645f2e7e7'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -2657,6 +2657,74 @@ $root.__lookup = function (pbjs) {
|
|
|
2657
2657
|
'WIX_API_REGISTRY_INFO_EXPORT': null
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
+
'File': {
|
|
2661
|
+
'fields': {
|
|
2662
|
+
'name': {
|
|
2663
|
+
'type': 'google.protobuf.StringValue',
|
|
2664
|
+
'id': 1,
|
|
2665
|
+
'options': {
|
|
2666
|
+
'(wix.api.minLength)': 1,
|
|
2667
|
+
'(wix.api.maxLength)': 1000
|
|
2668
|
+
},
|
|
2669
|
+
'comment': null,
|
|
2670
|
+
'parsedOptions': [
|
|
2671
|
+
{
|
|
2672
|
+
'(wix.api.minLength)': 1,
|
|
2673
|
+
'__comment': null
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
'(wix.api.maxLength)': 1000,
|
|
2677
|
+
'__comment': null
|
|
2678
|
+
}
|
|
2679
|
+
]
|
|
2680
|
+
},
|
|
2681
|
+
'uri': {
|
|
2682
|
+
'type': 'google.protobuf.StringValue',
|
|
2683
|
+
'id': 2,
|
|
2684
|
+
'options': {
|
|
2685
|
+
'(wix.api.minLength)': 1,
|
|
2686
|
+
'(wix.api.maxLength)': 100
|
|
2687
|
+
},
|
|
2688
|
+
'comment': null,
|
|
2689
|
+
'parsedOptions': [
|
|
2690
|
+
{
|
|
2691
|
+
'(wix.api.minLength)': 1,
|
|
2692
|
+
'__comment': null
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
'(wix.api.maxLength)': 100,
|
|
2696
|
+
'__comment': null
|
|
2697
|
+
}
|
|
2698
|
+
]
|
|
2699
|
+
},
|
|
2700
|
+
'digest': {
|
|
2701
|
+
'type': 'google.protobuf.StringValue',
|
|
2702
|
+
'id': 3,
|
|
2703
|
+
'options': {
|
|
2704
|
+
'(wix.api.minLength)': 1,
|
|
2705
|
+
'(wix.api.maxLength)': 100
|
|
2706
|
+
},
|
|
2707
|
+
'comment': null,
|
|
2708
|
+
'parsedOptions': [
|
|
2709
|
+
{
|
|
2710
|
+
'(wix.api.minLength)': 1,
|
|
2711
|
+
'__comment': null
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
'(wix.api.maxLength)': 100,
|
|
2715
|
+
'__comment': null
|
|
2716
|
+
}
|
|
2717
|
+
]
|
|
2718
|
+
},
|
|
2719
|
+
'sizeInBytes': {
|
|
2720
|
+
'type': 'google.protobuf.Int64Value',
|
|
2721
|
+
'id': 4,
|
|
2722
|
+
'comment': null,
|
|
2723
|
+
'parsedOptions': null
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
'comment': null
|
|
2727
|
+
},
|
|
2660
2728
|
'Target': {
|
|
2661
2729
|
'options': {
|
|
2662
2730
|
'(wix.api.entity).fqdn': 'wix.coreservices.internal.v1.target',
|
|
@@ -2737,7 +2805,7 @@ $root.__lookup = function (pbjs) {
|
|
|
2737
2805
|
]
|
|
2738
2806
|
},
|
|
2739
2807
|
'commitTimestamp': {
|
|
2740
|
-
'type': '
|
|
2808
|
+
'type': 'google.protobuf.Int64Value',
|
|
2741
2809
|
'id': 4,
|
|
2742
2810
|
'comment': null,
|
|
2743
2811
|
'parsedOptions': null
|
|
@@ -2747,6 +2815,36 @@ $root.__lookup = function (pbjs) {
|
|
|
2747
2815
|
'id': 5,
|
|
2748
2816
|
'comment': null,
|
|
2749
2817
|
'parsedOptions': null
|
|
2818
|
+
},
|
|
2819
|
+
'idTagValue': {
|
|
2820
|
+
'type': 'google.protobuf.StringValue',
|
|
2821
|
+
'id': 6,
|
|
2822
|
+
'options': {
|
|
2823
|
+
'(wix.api.minLength)': 1,
|
|
2824
|
+
'(wix.api.maxLength)': 100
|
|
2825
|
+
},
|
|
2826
|
+
'comment': null,
|
|
2827
|
+
'parsedOptions': [
|
|
2828
|
+
{
|
|
2829
|
+
'(wix.api.minLength)': 1,
|
|
2830
|
+
'__comment': null
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
'(wix.api.maxLength)': 100,
|
|
2834
|
+
'__comment': null
|
|
2835
|
+
}
|
|
2836
|
+
]
|
|
2837
|
+
},
|
|
2838
|
+
'files': {
|
|
2839
|
+
'rule': 'repeated',
|
|
2840
|
+
'type': 'File',
|
|
2841
|
+
'id': 7,
|
|
2842
|
+
'options': { '(wix.api.maxSize)': 1000 },
|
|
2843
|
+
'comment': null,
|
|
2844
|
+
'parsedOptions': [{
|
|
2845
|
+
'(wix.api.maxSize)': 1000,
|
|
2846
|
+
'__comment': null
|
|
2847
|
+
}]
|
|
2750
2848
|
}
|
|
2751
2849
|
},
|
|
2752
2850
|
'comment': null
|
|
@@ -20744,6 +20842,150 @@ $root.wix = (function () {
|
|
|
20744
20842
|
'WIX_API_REGISTRY_INFO_EXPORT': 'WIX_API_REGISTRY_INFO_EXPORT',
|
|
20745
20843
|
3: 'WIX_API_REGISTRY_INFO_EXPORT'
|
|
20746
20844
|
};
|
|
20845
|
+
_internal.File = (function () {
|
|
20846
|
+
class File {
|
|
20847
|
+
constructor(props) {
|
|
20848
|
+
this.name = props && props.name;
|
|
20849
|
+
this.uri = props && props.uri;
|
|
20850
|
+
this.digest = props && props.digest;
|
|
20851
|
+
this.sizeInBytes = props && props.sizeInBytes;
|
|
20852
|
+
}
|
|
20853
|
+
static toJSON(obj, helper, withDefaults) {
|
|
20854
|
+
if (obj == null) {
|
|
20855
|
+
return null;
|
|
20856
|
+
} else {
|
|
20857
|
+
const json = {};
|
|
20858
|
+
if (obj['name'] != null) {
|
|
20859
|
+
json['name'] = $root.google.protobuf.StringValue.toJSON(obj['name'], helper, withDefaults);
|
|
20860
|
+
} else if (withDefaults) {
|
|
20861
|
+
delete json['name'];
|
|
20862
|
+
}
|
|
20863
|
+
if (obj['uri'] != null) {
|
|
20864
|
+
json['uri'] = $root.google.protobuf.StringValue.toJSON(obj['uri'], helper, withDefaults);
|
|
20865
|
+
} else if (withDefaults) {
|
|
20866
|
+
delete json['uri'];
|
|
20867
|
+
}
|
|
20868
|
+
if (obj['digest'] != null) {
|
|
20869
|
+
json['digest'] = $root.google.protobuf.StringValue.toJSON(obj['digest'], helper, withDefaults);
|
|
20870
|
+
} else if (withDefaults) {
|
|
20871
|
+
delete json['digest'];
|
|
20872
|
+
}
|
|
20873
|
+
if (obj['sizeInBytes'] != null) {
|
|
20874
|
+
json['sizeInBytes'] = $root.google.protobuf.Int64Value.toJSON(obj['sizeInBytes'], helper, withDefaults);
|
|
20875
|
+
} else if (withDefaults) {
|
|
20876
|
+
delete json['sizeInBytes'];
|
|
20877
|
+
}
|
|
20878
|
+
return json;
|
|
20879
|
+
}
|
|
20880
|
+
}
|
|
20881
|
+
static fromJSON(json, helper, withDefaults) {
|
|
20882
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
20883
|
+
const result = new $root.wix.coreservices.businessschema.v1.internal.File();
|
|
20884
|
+
if (json['name'] != null) {
|
|
20885
|
+
result['name'] = $root.google.protobuf.StringValue.fromJSON(json['name'], helper);
|
|
20886
|
+
} else if (withDefaults !== false) {
|
|
20887
|
+
delete result['name'];
|
|
20888
|
+
} else {
|
|
20889
|
+
delete result['name'];
|
|
20890
|
+
}
|
|
20891
|
+
if (json['uri'] != null) {
|
|
20892
|
+
result['uri'] = $root.google.protobuf.StringValue.fromJSON(json['uri'], helper);
|
|
20893
|
+
} else if (withDefaults !== false) {
|
|
20894
|
+
delete result['uri'];
|
|
20895
|
+
} else {
|
|
20896
|
+
delete result['uri'];
|
|
20897
|
+
}
|
|
20898
|
+
if (json['digest'] != null) {
|
|
20899
|
+
result['digest'] = $root.google.protobuf.StringValue.fromJSON(json['digest'], helper);
|
|
20900
|
+
} else if (withDefaults !== false) {
|
|
20901
|
+
delete result['digest'];
|
|
20902
|
+
} else {
|
|
20903
|
+
delete result['digest'];
|
|
20904
|
+
}
|
|
20905
|
+
if (json['sizeInBytes'] != null) {
|
|
20906
|
+
result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromJSON(json['sizeInBytes'], helper);
|
|
20907
|
+
} else if (withDefaults !== false) {
|
|
20908
|
+
delete result['sizeInBytes'];
|
|
20909
|
+
} else {
|
|
20910
|
+
delete result['sizeInBytes'];
|
|
20911
|
+
}
|
|
20912
|
+
return result;
|
|
20913
|
+
} else
|
|
20914
|
+
return json;
|
|
20915
|
+
}
|
|
20916
|
+
static toGRPC(obj, helper) {
|
|
20917
|
+
if (obj == null) {
|
|
20918
|
+
return null;
|
|
20919
|
+
} else {
|
|
20920
|
+
const grpc = {};
|
|
20921
|
+
if (obj['name'] != null) {
|
|
20922
|
+
grpc['name'] = $root.google.protobuf.StringValue.toGRPC(obj['name'], helper);
|
|
20923
|
+
}
|
|
20924
|
+
if (obj['uri'] != null) {
|
|
20925
|
+
grpc['uri'] = $root.google.protobuf.StringValue.toGRPC(obj['uri'], helper);
|
|
20926
|
+
}
|
|
20927
|
+
if (obj['digest'] != null) {
|
|
20928
|
+
grpc['digest'] = $root.google.protobuf.StringValue.toGRPC(obj['digest'], helper);
|
|
20929
|
+
}
|
|
20930
|
+
if (obj['sizeInBytes'] != null) {
|
|
20931
|
+
grpc['sizeInBytes'] = $root.google.protobuf.Int64Value.toGRPC(obj['sizeInBytes'], helper);
|
|
20932
|
+
}
|
|
20933
|
+
return grpc;
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20936
|
+
static fromGRPC(grpc, helper) {
|
|
20937
|
+
if (grpc == null) {
|
|
20938
|
+
return null;
|
|
20939
|
+
} else {
|
|
20940
|
+
const result = new $root.wix.coreservices.businessschema.v1.internal.File();
|
|
20941
|
+
if (grpc['name'] != null) {
|
|
20942
|
+
result['name'] = $root.google.protobuf.StringValue.fromGRPC(grpc['name'], helper);
|
|
20943
|
+
} else {
|
|
20944
|
+
delete result['name'];
|
|
20945
|
+
}
|
|
20946
|
+
if (grpc['uri'] != null) {
|
|
20947
|
+
result['uri'] = $root.google.protobuf.StringValue.fromGRPC(grpc['uri'], helper);
|
|
20948
|
+
} else {
|
|
20949
|
+
delete result['uri'];
|
|
20950
|
+
}
|
|
20951
|
+
if (grpc['digest'] != null) {
|
|
20952
|
+
result['digest'] = $root.google.protobuf.StringValue.fromGRPC(grpc['digest'], helper);
|
|
20953
|
+
} else {
|
|
20954
|
+
delete result['digest'];
|
|
20955
|
+
}
|
|
20956
|
+
if (grpc['sizeInBytes'] != null) {
|
|
20957
|
+
result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['sizeInBytes'], helper);
|
|
20958
|
+
} else {
|
|
20959
|
+
delete result['sizeInBytes'];
|
|
20960
|
+
}
|
|
20961
|
+
return result;
|
|
20962
|
+
}
|
|
20963
|
+
}
|
|
20964
|
+
}
|
|
20965
|
+
__builtIn.Object.defineProperty(File.prototype, '__proto', {
|
|
20966
|
+
value: pbjs => {
|
|
20967
|
+
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.File');
|
|
20968
|
+
},
|
|
20969
|
+
enumerable: false,
|
|
20970
|
+
configurable: false
|
|
20971
|
+
});
|
|
20972
|
+
__builtIn.Object.defineProperty(File.prototype, '__fqn__', {
|
|
20973
|
+
value: 'wix.coreservices.businessschema.v1.internal.File',
|
|
20974
|
+
enumerable: false,
|
|
20975
|
+
configurable: false
|
|
20976
|
+
});
|
|
20977
|
+
__builtIn.Object.defineProperty(File.prototype, '__options__', {
|
|
20978
|
+
value: $root.__options,
|
|
20979
|
+
enumerable: false,
|
|
20980
|
+
configurable: false
|
|
20981
|
+
});
|
|
20982
|
+
__builtIn.Object.defineProperty(File.prototype, '__root__', {
|
|
20983
|
+
value: $root,
|
|
20984
|
+
enumerable: false,
|
|
20985
|
+
configurable: false
|
|
20986
|
+
});
|
|
20987
|
+
return File;
|
|
20988
|
+
}());;
|
|
20747
20989
|
_internal.Target = (function () {
|
|
20748
20990
|
class Target {
|
|
20749
20991
|
constructor(props) {
|
|
@@ -20752,6 +20994,8 @@ $root.wix = (function () {
|
|
|
20752
20994
|
this.combinedDigest = props && props.combinedDigest;
|
|
20753
20995
|
this.commitTimestamp = props && props.commitTimestamp;
|
|
20754
20996
|
this.type = props && props.type;
|
|
20997
|
+
this.idTagValue = props && props.idTagValue;
|
|
20998
|
+
this.files = props && props.files;
|
|
20755
20999
|
}
|
|
20756
21000
|
static toJSON(obj, helper, withDefaults) {
|
|
20757
21001
|
if (obj == null) {
|
|
@@ -20774,15 +21018,27 @@ $root.wix = (function () {
|
|
|
20774
21018
|
delete json['combinedDigest'];
|
|
20775
21019
|
}
|
|
20776
21020
|
if (obj['commitTimestamp'] != null) {
|
|
20777
|
-
json['commitTimestamp'] = obj['commitTimestamp']
|
|
21021
|
+
json['commitTimestamp'] = $root.google.protobuf.Int64Value.toJSON(obj['commitTimestamp'], helper, withDefaults);
|
|
20778
21022
|
} else if (withDefaults) {
|
|
20779
|
-
json['commitTimestamp']
|
|
21023
|
+
delete json['commitTimestamp'];
|
|
20780
21024
|
}
|
|
20781
21025
|
if (obj['type'] != null) {
|
|
20782
21026
|
json['type'] = $root.wix.coreservices.businessschema.v1.internal.TargetType[obj['type']];
|
|
20783
21027
|
} else if (withDefaults) {
|
|
20784
21028
|
json['type'] = 'NONE';
|
|
20785
21029
|
}
|
|
21030
|
+
if (obj['idTagValue'] != null) {
|
|
21031
|
+
json['idTagValue'] = $root.google.protobuf.StringValue.toJSON(obj['idTagValue'], helper, withDefaults);
|
|
21032
|
+
} else if (withDefaults) {
|
|
21033
|
+
delete json['idTagValue'];
|
|
21034
|
+
}
|
|
21035
|
+
if (obj['files'] != null) {
|
|
21036
|
+
json['files'] = obj['files'].map(e => {
|
|
21037
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.toJSON(e, helper, withDefaults);
|
|
21038
|
+
});
|
|
21039
|
+
} else if (withDefaults) {
|
|
21040
|
+
json['files'] = [];
|
|
21041
|
+
}
|
|
20786
21042
|
return json;
|
|
20787
21043
|
}
|
|
20788
21044
|
}
|
|
@@ -20811,9 +21067,9 @@ $root.wix = (function () {
|
|
|
20811
21067
|
delete result['combinedDigest'];
|
|
20812
21068
|
}
|
|
20813
21069
|
if (json['commitTimestamp'] != null) {
|
|
20814
|
-
result['commitTimestamp'] =
|
|
21070
|
+
result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromJSON(json['commitTimestamp'], helper);
|
|
20815
21071
|
} else if (withDefaults !== false) {
|
|
20816
|
-
result['commitTimestamp']
|
|
21072
|
+
delete result['commitTimestamp'];
|
|
20817
21073
|
} else {
|
|
20818
21074
|
delete result['commitTimestamp'];
|
|
20819
21075
|
}
|
|
@@ -20824,6 +21080,22 @@ $root.wix = (function () {
|
|
|
20824
21080
|
} else {
|
|
20825
21081
|
delete result['type'];
|
|
20826
21082
|
}
|
|
21083
|
+
if (json['idTagValue'] != null) {
|
|
21084
|
+
result['idTagValue'] = $root.google.protobuf.StringValue.fromJSON(json['idTagValue'], helper);
|
|
21085
|
+
} else if (withDefaults !== false) {
|
|
21086
|
+
delete result['idTagValue'];
|
|
21087
|
+
} else {
|
|
21088
|
+
delete result['idTagValue'];
|
|
21089
|
+
}
|
|
21090
|
+
if (json['files'] != null) {
|
|
21091
|
+
result['files'] = Array.isArray(json['files']) ? json['files'].map(e => {
|
|
21092
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.fromJSON(e, helper);
|
|
21093
|
+
}) : json['files'];
|
|
21094
|
+
} else if (withDefaults !== false) {
|
|
21095
|
+
result['files'] = [];
|
|
21096
|
+
} else {
|
|
21097
|
+
delete result['files'];
|
|
21098
|
+
}
|
|
20827
21099
|
return result;
|
|
20828
21100
|
} else
|
|
20829
21101
|
return json;
|
|
@@ -20843,11 +21115,19 @@ $root.wix = (function () {
|
|
|
20843
21115
|
grpc['combinedDigest'] = $root.google.protobuf.StringValue.toGRPC(obj['combinedDigest'], helper);
|
|
20844
21116
|
}
|
|
20845
21117
|
if (obj['commitTimestamp'] != null) {
|
|
20846
|
-
grpc['commitTimestamp'] = obj['commitTimestamp']
|
|
21118
|
+
grpc['commitTimestamp'] = $root.google.protobuf.Int64Value.toGRPC(obj['commitTimestamp'], helper);
|
|
20847
21119
|
}
|
|
20848
21120
|
if (obj['type'] != null) {
|
|
20849
21121
|
grpc['type'] = obj['type'];
|
|
20850
21122
|
}
|
|
21123
|
+
if (obj['idTagValue'] != null) {
|
|
21124
|
+
grpc['idTagValue'] = $root.google.protobuf.StringValue.toGRPC(obj['idTagValue'], helper);
|
|
21125
|
+
}
|
|
21126
|
+
if (obj['files'] != null) {
|
|
21127
|
+
grpc['files'] = obj['files'].map(e => {
|
|
21128
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.toGRPC(e, helper);
|
|
21129
|
+
});
|
|
21130
|
+
}
|
|
20851
21131
|
return grpc;
|
|
20852
21132
|
}
|
|
20853
21133
|
}
|
|
@@ -20872,15 +21152,27 @@ $root.wix = (function () {
|
|
|
20872
21152
|
delete result['combinedDigest'];
|
|
20873
21153
|
}
|
|
20874
21154
|
if (grpc['commitTimestamp'] != null) {
|
|
20875
|
-
result['commitTimestamp'] =
|
|
21155
|
+
result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['commitTimestamp'], helper);
|
|
20876
21156
|
} else {
|
|
20877
|
-
result['commitTimestamp']
|
|
21157
|
+
delete result['commitTimestamp'];
|
|
20878
21158
|
}
|
|
20879
21159
|
if (grpc['type'] != null) {
|
|
20880
21160
|
result['type'] = grpc['type'];
|
|
20881
21161
|
} else {
|
|
20882
21162
|
result['type'] = 'NONE';
|
|
20883
21163
|
}
|
|
21164
|
+
if (grpc['idTagValue'] != null) {
|
|
21165
|
+
result['idTagValue'] = $root.google.protobuf.StringValue.fromGRPC(grpc['idTagValue'], helper);
|
|
21166
|
+
} else {
|
|
21167
|
+
delete result['idTagValue'];
|
|
21168
|
+
}
|
|
21169
|
+
if (grpc['files'] != null) {
|
|
21170
|
+
result['files'] = grpc['files'].map(e => {
|
|
21171
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.fromGRPC(e, helper);
|
|
21172
|
+
});
|
|
21173
|
+
} else {
|
|
21174
|
+
result['files'] = [];
|
|
21175
|
+
}
|
|
20884
21176
|
return result;
|
|
20885
21177
|
}
|
|
20886
21178
|
}
|
|
@@ -1096,20 +1096,38 @@ declare namespace $requests {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: string;
|
|
1101
|
+
uri?: string;
|
|
1102
|
+
digest?: string;
|
|
1103
|
+
sizeInBytes?: (number | string);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: string;
|
|
1108
|
+
uri?: string;
|
|
1109
|
+
digest?: string;
|
|
1110
|
+
sizeInBytes?: (number | string);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: string;
|
|
1101
1115
|
location?: string;
|
|
1102
1116
|
combinedDigest?: string;
|
|
1103
|
-
commitTimestamp
|
|
1117
|
+
commitTimestamp?: (number | string);
|
|
1104
1118
|
type: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1119
|
+
idTagValue?: string;
|
|
1120
|
+
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
1108
1124
|
id?: string;
|
|
1109
1125
|
location?: string;
|
|
1110
1126
|
combinedDigest?: string;
|
|
1111
|
-
commitTimestamp
|
|
1127
|
+
commitTimestamp?: (number | string);
|
|
1112
1128
|
type: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1129
|
+
idTagValue?: string;
|
|
1130
|
+
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -4673,12 +4691,28 @@ declare namespace $responses {
|
|
|
4673
4691
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
4674
4692
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
4675
4693
|
}
|
|
4694
|
+
export interface IFile {
|
|
4695
|
+
name?: string;
|
|
4696
|
+
uri?: string;
|
|
4697
|
+
digest?: string;
|
|
4698
|
+
sizeInBytes?: (number | string);
|
|
4699
|
+
}
|
|
4700
|
+
export class File implements IFile {
|
|
4701
|
+
constructor(data?: IFile);
|
|
4702
|
+
name?: string;
|
|
4703
|
+
uri?: string;
|
|
4704
|
+
digest?: string;
|
|
4705
|
+
sizeInBytes?: (number | string);
|
|
4706
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4707
|
+
}
|
|
4676
4708
|
export interface ITarget {
|
|
4677
4709
|
id?: string;
|
|
4678
4710
|
location?: string;
|
|
4679
4711
|
combinedDigest?: string;
|
|
4680
4712
|
commitTimestamp?: (number | string);
|
|
4681
4713
|
type?: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4714
|
+
idTagValue?: string;
|
|
4715
|
+
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4682
4716
|
}
|
|
4683
4717
|
export class Target implements ITarget {
|
|
4684
4718
|
constructor(data?: ITarget);
|
|
@@ -4687,6 +4721,8 @@ declare namespace $responses {
|
|
|
4687
4721
|
combinedDigest?: string;
|
|
4688
4722
|
commitTimestamp?: (number | string);
|
|
4689
4723
|
type?: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4724
|
+
idTagValue?: string;
|
|
4725
|
+
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4690
4726
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4691
4727
|
}
|
|
4692
4728
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -1096,12 +1096,28 @@ declare namespace $requests {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: string;
|
|
1101
|
+
uri?: string;
|
|
1102
|
+
digest?: string;
|
|
1103
|
+
sizeInBytes?: (number | string);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: string;
|
|
1108
|
+
uri?: string;
|
|
1109
|
+
digest?: string;
|
|
1110
|
+
sizeInBytes?: (number | string);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: string;
|
|
1101
1115
|
location?: string;
|
|
1102
1116
|
combinedDigest?: string;
|
|
1103
1117
|
commitTimestamp?: (number | string);
|
|
1104
1118
|
type?: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1119
|
+
idTagValue?: string;
|
|
1120
|
+
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
@@ -1110,6 +1126,8 @@ declare namespace $requests {
|
|
|
1110
1126
|
combinedDigest?: string;
|
|
1111
1127
|
commitTimestamp?: (number | string);
|
|
1112
1128
|
type?: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1129
|
+
idTagValue?: string;
|
|
1130
|
+
files?: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -4673,20 +4691,38 @@ declare namespace $responses {
|
|
|
4673
4691
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
4674
4692
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
4675
4693
|
}
|
|
4694
|
+
export interface IFile {
|
|
4695
|
+
name?: string;
|
|
4696
|
+
uri?: string;
|
|
4697
|
+
digest?: string;
|
|
4698
|
+
sizeInBytes?: (number | string);
|
|
4699
|
+
}
|
|
4700
|
+
export class File implements IFile {
|
|
4701
|
+
constructor(data?: IFile);
|
|
4702
|
+
name?: string;
|
|
4703
|
+
uri?: string;
|
|
4704
|
+
digest?: string;
|
|
4705
|
+
sizeInBytes?: (number | string);
|
|
4706
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4707
|
+
}
|
|
4676
4708
|
export interface ITarget {
|
|
4677
4709
|
id?: string;
|
|
4678
4710
|
location?: string;
|
|
4679
4711
|
combinedDigest?: string;
|
|
4680
|
-
commitTimestamp
|
|
4712
|
+
commitTimestamp?: (number | string);
|
|
4681
4713
|
type: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4714
|
+
idTagValue?: string;
|
|
4715
|
+
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4682
4716
|
}
|
|
4683
4717
|
export class Target implements ITarget {
|
|
4684
4718
|
constructor(data?: ITarget);
|
|
4685
4719
|
id?: string;
|
|
4686
4720
|
location?: string;
|
|
4687
4721
|
combinedDigest?: string;
|
|
4688
|
-
commitTimestamp
|
|
4722
|
+
commitTimestamp?: (number | string);
|
|
4689
4723
|
type: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4724
|
+
idTagValue?: string;
|
|
4725
|
+
files: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4690
4726
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4691
4727
|
}
|
|
4692
4728
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -1096,12 +1096,28 @@ declare namespace $wrapper {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: (string | null);
|
|
1101
|
+
uri?: (string | null);
|
|
1102
|
+
digest?: (string | null);
|
|
1103
|
+
sizeInBytes?: ((number | string) | null);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: (string | null);
|
|
1108
|
+
uri?: (string | null);
|
|
1109
|
+
digest?: (string | null);
|
|
1110
|
+
sizeInBytes?: ((number | string) | null);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: (string | null);
|
|
1101
1115
|
location?: (string | null);
|
|
1102
1116
|
combinedDigest?: (string | null);
|
|
1103
1117
|
commitTimestamp?: ((number | string) | null);
|
|
1104
1118
|
type?: ($wrapper.wix.coreservices.businessschema.v1.internal.TargetType | null);
|
|
1119
|
+
idTagValue?: (string | null);
|
|
1120
|
+
files?: ($wrapper.wix.coreservices.businessschema.v1.internal.IFile[] | null);
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
@@ -1110,6 +1126,8 @@ declare namespace $wrapper {
|
|
|
1110
1126
|
combinedDigest?: (string | null);
|
|
1111
1127
|
commitTimestamp?: ((number | string) | null);
|
|
1112
1128
|
type?: ($wrapper.wix.coreservices.businessschema.v1.internal.TargetType | null);
|
|
1129
|
+
idTagValue?: (string | null);
|
|
1130
|
+
files?: ($wrapper.wix.coreservices.businessschema.v1.internal.IFile[] | null);
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export abstract class BusinessSchemaIndexerService {
|
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.1155',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': 'f9a38cbb45470db2b07aa60695a0cba645f2e7e7'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -2657,6 +2657,74 @@ $root.__lookup = function (pbjs) {
|
|
|
2657
2657
|
'WIX_API_REGISTRY_INFO_EXPORT': null
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
+
'File': {
|
|
2661
|
+
'fields': {
|
|
2662
|
+
'name': {
|
|
2663
|
+
'type': 'google.protobuf.StringValue',
|
|
2664
|
+
'id': 1,
|
|
2665
|
+
'options': {
|
|
2666
|
+
'(wix.api.minLength)': 1,
|
|
2667
|
+
'(wix.api.maxLength)': 1000
|
|
2668
|
+
},
|
|
2669
|
+
'comment': null,
|
|
2670
|
+
'parsedOptions': [
|
|
2671
|
+
{
|
|
2672
|
+
'(wix.api.minLength)': 1,
|
|
2673
|
+
'__comment': null
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
'(wix.api.maxLength)': 1000,
|
|
2677
|
+
'__comment': null
|
|
2678
|
+
}
|
|
2679
|
+
]
|
|
2680
|
+
},
|
|
2681
|
+
'uri': {
|
|
2682
|
+
'type': 'google.protobuf.StringValue',
|
|
2683
|
+
'id': 2,
|
|
2684
|
+
'options': {
|
|
2685
|
+
'(wix.api.minLength)': 1,
|
|
2686
|
+
'(wix.api.maxLength)': 100
|
|
2687
|
+
},
|
|
2688
|
+
'comment': null,
|
|
2689
|
+
'parsedOptions': [
|
|
2690
|
+
{
|
|
2691
|
+
'(wix.api.minLength)': 1,
|
|
2692
|
+
'__comment': null
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
'(wix.api.maxLength)': 100,
|
|
2696
|
+
'__comment': null
|
|
2697
|
+
}
|
|
2698
|
+
]
|
|
2699
|
+
},
|
|
2700
|
+
'digest': {
|
|
2701
|
+
'type': 'google.protobuf.StringValue',
|
|
2702
|
+
'id': 3,
|
|
2703
|
+
'options': {
|
|
2704
|
+
'(wix.api.minLength)': 1,
|
|
2705
|
+
'(wix.api.maxLength)': 100
|
|
2706
|
+
},
|
|
2707
|
+
'comment': null,
|
|
2708
|
+
'parsedOptions': [
|
|
2709
|
+
{
|
|
2710
|
+
'(wix.api.minLength)': 1,
|
|
2711
|
+
'__comment': null
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
'(wix.api.maxLength)': 100,
|
|
2715
|
+
'__comment': null
|
|
2716
|
+
}
|
|
2717
|
+
]
|
|
2718
|
+
},
|
|
2719
|
+
'sizeInBytes': {
|
|
2720
|
+
'type': 'google.protobuf.Int64Value',
|
|
2721
|
+
'id': 4,
|
|
2722
|
+
'comment': null,
|
|
2723
|
+
'parsedOptions': null
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
'comment': null
|
|
2727
|
+
},
|
|
2660
2728
|
'Target': {
|
|
2661
2729
|
'options': {
|
|
2662
2730
|
'(wix.api.entity).fqdn': 'wix.coreservices.internal.v1.target',
|
|
@@ -2737,7 +2805,7 @@ $root.__lookup = function (pbjs) {
|
|
|
2737
2805
|
]
|
|
2738
2806
|
},
|
|
2739
2807
|
'commitTimestamp': {
|
|
2740
|
-
'type': '
|
|
2808
|
+
'type': 'google.protobuf.Int64Value',
|
|
2741
2809
|
'id': 4,
|
|
2742
2810
|
'comment': null,
|
|
2743
2811
|
'parsedOptions': null
|
|
@@ -2747,6 +2815,36 @@ $root.__lookup = function (pbjs) {
|
|
|
2747
2815
|
'id': 5,
|
|
2748
2816
|
'comment': null,
|
|
2749
2817
|
'parsedOptions': null
|
|
2818
|
+
},
|
|
2819
|
+
'idTagValue': {
|
|
2820
|
+
'type': 'google.protobuf.StringValue',
|
|
2821
|
+
'id': 6,
|
|
2822
|
+
'options': {
|
|
2823
|
+
'(wix.api.minLength)': 1,
|
|
2824
|
+
'(wix.api.maxLength)': 100
|
|
2825
|
+
},
|
|
2826
|
+
'comment': null,
|
|
2827
|
+
'parsedOptions': [
|
|
2828
|
+
{
|
|
2829
|
+
'(wix.api.minLength)': 1,
|
|
2830
|
+
'__comment': null
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
'(wix.api.maxLength)': 100,
|
|
2834
|
+
'__comment': null
|
|
2835
|
+
}
|
|
2836
|
+
]
|
|
2837
|
+
},
|
|
2838
|
+
'files': {
|
|
2839
|
+
'rule': 'repeated',
|
|
2840
|
+
'type': 'File',
|
|
2841
|
+
'id': 7,
|
|
2842
|
+
'options': { '(wix.api.maxSize)': 1000 },
|
|
2843
|
+
'comment': null,
|
|
2844
|
+
'parsedOptions': [{
|
|
2845
|
+
'(wix.api.maxSize)': 1000,
|
|
2846
|
+
'__comment': null
|
|
2847
|
+
}]
|
|
2750
2848
|
}
|
|
2751
2849
|
},
|
|
2752
2850
|
'comment': null
|
|
@@ -20744,6 +20842,150 @@ $root.wix = (function () {
|
|
|
20744
20842
|
'WIX_API_REGISTRY_INFO_EXPORT': 'WIX_API_REGISTRY_INFO_EXPORT',
|
|
20745
20843
|
3: 'WIX_API_REGISTRY_INFO_EXPORT'
|
|
20746
20844
|
};
|
|
20845
|
+
_internal.File = (function () {
|
|
20846
|
+
class File {
|
|
20847
|
+
constructor(props) {
|
|
20848
|
+
this.name = props && props.name;
|
|
20849
|
+
this.uri = props && props.uri;
|
|
20850
|
+
this.digest = props && props.digest;
|
|
20851
|
+
this.sizeInBytes = props && props.sizeInBytes;
|
|
20852
|
+
}
|
|
20853
|
+
static toJSON(obj, helper, withDefaults) {
|
|
20854
|
+
if (obj == null) {
|
|
20855
|
+
return null;
|
|
20856
|
+
} else {
|
|
20857
|
+
const json = {};
|
|
20858
|
+
if (obj['name'] != null) {
|
|
20859
|
+
json['name'] = $root.google.protobuf.StringValue.toJSON(obj['name'], helper, withDefaults);
|
|
20860
|
+
} else if (withDefaults) {
|
|
20861
|
+
delete json['name'];
|
|
20862
|
+
}
|
|
20863
|
+
if (obj['uri'] != null) {
|
|
20864
|
+
json['uri'] = $root.google.protobuf.StringValue.toJSON(obj['uri'], helper, withDefaults);
|
|
20865
|
+
} else if (withDefaults) {
|
|
20866
|
+
delete json['uri'];
|
|
20867
|
+
}
|
|
20868
|
+
if (obj['digest'] != null) {
|
|
20869
|
+
json['digest'] = $root.google.protobuf.StringValue.toJSON(obj['digest'], helper, withDefaults);
|
|
20870
|
+
} else if (withDefaults) {
|
|
20871
|
+
delete json['digest'];
|
|
20872
|
+
}
|
|
20873
|
+
if (obj['sizeInBytes'] != null) {
|
|
20874
|
+
json['sizeInBytes'] = $root.google.protobuf.Int64Value.toJSON(obj['sizeInBytes'], helper, withDefaults);
|
|
20875
|
+
} else if (withDefaults) {
|
|
20876
|
+
delete json['sizeInBytes'];
|
|
20877
|
+
}
|
|
20878
|
+
return json;
|
|
20879
|
+
}
|
|
20880
|
+
}
|
|
20881
|
+
static fromJSON(json, helper, withDefaults) {
|
|
20882
|
+
if (typeof json === 'object' && !Array.isArray(json)) {
|
|
20883
|
+
const result = new $root.wix.coreservices.businessschema.v1.internal.File();
|
|
20884
|
+
if (json['name'] != null) {
|
|
20885
|
+
result['name'] = $root.google.protobuf.StringValue.fromJSON(json['name'], helper);
|
|
20886
|
+
} else if (withDefaults !== false) {
|
|
20887
|
+
delete result['name'];
|
|
20888
|
+
} else {
|
|
20889
|
+
delete result['name'];
|
|
20890
|
+
}
|
|
20891
|
+
if (json['uri'] != null) {
|
|
20892
|
+
result['uri'] = $root.google.protobuf.StringValue.fromJSON(json['uri'], helper);
|
|
20893
|
+
} else if (withDefaults !== false) {
|
|
20894
|
+
delete result['uri'];
|
|
20895
|
+
} else {
|
|
20896
|
+
delete result['uri'];
|
|
20897
|
+
}
|
|
20898
|
+
if (json['digest'] != null) {
|
|
20899
|
+
result['digest'] = $root.google.protobuf.StringValue.fromJSON(json['digest'], helper);
|
|
20900
|
+
} else if (withDefaults !== false) {
|
|
20901
|
+
delete result['digest'];
|
|
20902
|
+
} else {
|
|
20903
|
+
delete result['digest'];
|
|
20904
|
+
}
|
|
20905
|
+
if (json['sizeInBytes'] != null) {
|
|
20906
|
+
result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromJSON(json['sizeInBytes'], helper);
|
|
20907
|
+
} else if (withDefaults !== false) {
|
|
20908
|
+
delete result['sizeInBytes'];
|
|
20909
|
+
} else {
|
|
20910
|
+
delete result['sizeInBytes'];
|
|
20911
|
+
}
|
|
20912
|
+
return result;
|
|
20913
|
+
} else
|
|
20914
|
+
return json;
|
|
20915
|
+
}
|
|
20916
|
+
static toGRPC(obj, helper) {
|
|
20917
|
+
if (obj == null) {
|
|
20918
|
+
return null;
|
|
20919
|
+
} else {
|
|
20920
|
+
const grpc = {};
|
|
20921
|
+
if (obj['name'] != null) {
|
|
20922
|
+
grpc['name'] = $root.google.protobuf.StringValue.toGRPC(obj['name'], helper);
|
|
20923
|
+
}
|
|
20924
|
+
if (obj['uri'] != null) {
|
|
20925
|
+
grpc['uri'] = $root.google.protobuf.StringValue.toGRPC(obj['uri'], helper);
|
|
20926
|
+
}
|
|
20927
|
+
if (obj['digest'] != null) {
|
|
20928
|
+
grpc['digest'] = $root.google.protobuf.StringValue.toGRPC(obj['digest'], helper);
|
|
20929
|
+
}
|
|
20930
|
+
if (obj['sizeInBytes'] != null) {
|
|
20931
|
+
grpc['sizeInBytes'] = $root.google.protobuf.Int64Value.toGRPC(obj['sizeInBytes'], helper);
|
|
20932
|
+
}
|
|
20933
|
+
return grpc;
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20936
|
+
static fromGRPC(grpc, helper) {
|
|
20937
|
+
if (grpc == null) {
|
|
20938
|
+
return null;
|
|
20939
|
+
} else {
|
|
20940
|
+
const result = new $root.wix.coreservices.businessschema.v1.internal.File();
|
|
20941
|
+
if (grpc['name'] != null) {
|
|
20942
|
+
result['name'] = $root.google.protobuf.StringValue.fromGRPC(grpc['name'], helper);
|
|
20943
|
+
} else {
|
|
20944
|
+
delete result['name'];
|
|
20945
|
+
}
|
|
20946
|
+
if (grpc['uri'] != null) {
|
|
20947
|
+
result['uri'] = $root.google.protobuf.StringValue.fromGRPC(grpc['uri'], helper);
|
|
20948
|
+
} else {
|
|
20949
|
+
delete result['uri'];
|
|
20950
|
+
}
|
|
20951
|
+
if (grpc['digest'] != null) {
|
|
20952
|
+
result['digest'] = $root.google.protobuf.StringValue.fromGRPC(grpc['digest'], helper);
|
|
20953
|
+
} else {
|
|
20954
|
+
delete result['digest'];
|
|
20955
|
+
}
|
|
20956
|
+
if (grpc['sizeInBytes'] != null) {
|
|
20957
|
+
result['sizeInBytes'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['sizeInBytes'], helper);
|
|
20958
|
+
} else {
|
|
20959
|
+
delete result['sizeInBytes'];
|
|
20960
|
+
}
|
|
20961
|
+
return result;
|
|
20962
|
+
}
|
|
20963
|
+
}
|
|
20964
|
+
}
|
|
20965
|
+
__builtIn.Object.defineProperty(File.prototype, '__proto', {
|
|
20966
|
+
value: pbjs => {
|
|
20967
|
+
return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.internal.File');
|
|
20968
|
+
},
|
|
20969
|
+
enumerable: false,
|
|
20970
|
+
configurable: false
|
|
20971
|
+
});
|
|
20972
|
+
__builtIn.Object.defineProperty(File.prototype, '__fqn__', {
|
|
20973
|
+
value: 'wix.coreservices.businessschema.v1.internal.File',
|
|
20974
|
+
enumerable: false,
|
|
20975
|
+
configurable: false
|
|
20976
|
+
});
|
|
20977
|
+
__builtIn.Object.defineProperty(File.prototype, '__options__', {
|
|
20978
|
+
value: $root.__options,
|
|
20979
|
+
enumerable: false,
|
|
20980
|
+
configurable: false
|
|
20981
|
+
});
|
|
20982
|
+
__builtIn.Object.defineProperty(File.prototype, '__root__', {
|
|
20983
|
+
value: $root,
|
|
20984
|
+
enumerable: false,
|
|
20985
|
+
configurable: false
|
|
20986
|
+
});
|
|
20987
|
+
return File;
|
|
20988
|
+
}());;
|
|
20747
20989
|
_internal.Target = (function () {
|
|
20748
20990
|
class Target {
|
|
20749
20991
|
constructor(props) {
|
|
@@ -20752,6 +20994,8 @@ $root.wix = (function () {
|
|
|
20752
20994
|
this.combinedDigest = props && props.combinedDigest;
|
|
20753
20995
|
this.commitTimestamp = props && props.commitTimestamp;
|
|
20754
20996
|
this.type = props && props.type;
|
|
20997
|
+
this.idTagValue = props && props.idTagValue;
|
|
20998
|
+
this.files = props && props.files;
|
|
20755
20999
|
}
|
|
20756
21000
|
static toJSON(obj, helper, withDefaults) {
|
|
20757
21001
|
if (obj == null) {
|
|
@@ -20774,15 +21018,27 @@ $root.wix = (function () {
|
|
|
20774
21018
|
delete json['combinedDigest'];
|
|
20775
21019
|
}
|
|
20776
21020
|
if (obj['commitTimestamp'] != null) {
|
|
20777
|
-
json['commitTimestamp'] = obj['commitTimestamp']
|
|
21021
|
+
json['commitTimestamp'] = $root.google.protobuf.Int64Value.toJSON(obj['commitTimestamp'], helper, withDefaults);
|
|
20778
21022
|
} else if (withDefaults) {
|
|
20779
|
-
json['commitTimestamp']
|
|
21023
|
+
delete json['commitTimestamp'];
|
|
20780
21024
|
}
|
|
20781
21025
|
if (obj['type'] != null) {
|
|
20782
21026
|
json['type'] = $root.wix.coreservices.businessschema.v1.internal.TargetType[obj['type']];
|
|
20783
21027
|
} else if (withDefaults) {
|
|
20784
21028
|
json['type'] = 'NONE';
|
|
20785
21029
|
}
|
|
21030
|
+
if (obj['idTagValue'] != null) {
|
|
21031
|
+
json['idTagValue'] = $root.google.protobuf.StringValue.toJSON(obj['idTagValue'], helper, withDefaults);
|
|
21032
|
+
} else if (withDefaults) {
|
|
21033
|
+
delete json['idTagValue'];
|
|
21034
|
+
}
|
|
21035
|
+
if (obj['files'] != null) {
|
|
21036
|
+
json['files'] = obj['files'].map(e => {
|
|
21037
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.toJSON(e, helper, withDefaults);
|
|
21038
|
+
});
|
|
21039
|
+
} else if (withDefaults) {
|
|
21040
|
+
json['files'] = [];
|
|
21041
|
+
}
|
|
20786
21042
|
return json;
|
|
20787
21043
|
}
|
|
20788
21044
|
}
|
|
@@ -20811,9 +21067,9 @@ $root.wix = (function () {
|
|
|
20811
21067
|
delete result['combinedDigest'];
|
|
20812
21068
|
}
|
|
20813
21069
|
if (json['commitTimestamp'] != null) {
|
|
20814
|
-
result['commitTimestamp'] =
|
|
21070
|
+
result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromJSON(json['commitTimestamp'], helper);
|
|
20815
21071
|
} else if (withDefaults !== false) {
|
|
20816
|
-
result['commitTimestamp']
|
|
21072
|
+
delete result['commitTimestamp'];
|
|
20817
21073
|
} else {
|
|
20818
21074
|
delete result['commitTimestamp'];
|
|
20819
21075
|
}
|
|
@@ -20824,6 +21080,22 @@ $root.wix = (function () {
|
|
|
20824
21080
|
} else {
|
|
20825
21081
|
delete result['type'];
|
|
20826
21082
|
}
|
|
21083
|
+
if (json['idTagValue'] != null) {
|
|
21084
|
+
result['idTagValue'] = $root.google.protobuf.StringValue.fromJSON(json['idTagValue'], helper);
|
|
21085
|
+
} else if (withDefaults !== false) {
|
|
21086
|
+
delete result['idTagValue'];
|
|
21087
|
+
} else {
|
|
21088
|
+
delete result['idTagValue'];
|
|
21089
|
+
}
|
|
21090
|
+
if (json['files'] != null) {
|
|
21091
|
+
result['files'] = Array.isArray(json['files']) ? json['files'].map(e => {
|
|
21092
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.fromJSON(e, helper);
|
|
21093
|
+
}) : json['files'];
|
|
21094
|
+
} else if (withDefaults !== false) {
|
|
21095
|
+
result['files'] = [];
|
|
21096
|
+
} else {
|
|
21097
|
+
delete result['files'];
|
|
21098
|
+
}
|
|
20827
21099
|
return result;
|
|
20828
21100
|
} else
|
|
20829
21101
|
return json;
|
|
@@ -20843,11 +21115,19 @@ $root.wix = (function () {
|
|
|
20843
21115
|
grpc['combinedDigest'] = $root.google.protobuf.StringValue.toGRPC(obj['combinedDigest'], helper);
|
|
20844
21116
|
}
|
|
20845
21117
|
if (obj['commitTimestamp'] != null) {
|
|
20846
|
-
grpc['commitTimestamp'] = obj['commitTimestamp']
|
|
21118
|
+
grpc['commitTimestamp'] = $root.google.protobuf.Int64Value.toGRPC(obj['commitTimestamp'], helper);
|
|
20847
21119
|
}
|
|
20848
21120
|
if (obj['type'] != null) {
|
|
20849
21121
|
grpc['type'] = obj['type'];
|
|
20850
21122
|
}
|
|
21123
|
+
if (obj['idTagValue'] != null) {
|
|
21124
|
+
grpc['idTagValue'] = $root.google.protobuf.StringValue.toGRPC(obj['idTagValue'], helper);
|
|
21125
|
+
}
|
|
21126
|
+
if (obj['files'] != null) {
|
|
21127
|
+
grpc['files'] = obj['files'].map(e => {
|
|
21128
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.toGRPC(e, helper);
|
|
21129
|
+
});
|
|
21130
|
+
}
|
|
20851
21131
|
return grpc;
|
|
20852
21132
|
}
|
|
20853
21133
|
}
|
|
@@ -20872,15 +21152,27 @@ $root.wix = (function () {
|
|
|
20872
21152
|
delete result['combinedDigest'];
|
|
20873
21153
|
}
|
|
20874
21154
|
if (grpc['commitTimestamp'] != null) {
|
|
20875
|
-
result['commitTimestamp'] =
|
|
21155
|
+
result['commitTimestamp'] = $root.google.protobuf.Int64Value.fromGRPC(grpc['commitTimestamp'], helper);
|
|
20876
21156
|
} else {
|
|
20877
|
-
result['commitTimestamp']
|
|
21157
|
+
delete result['commitTimestamp'];
|
|
20878
21158
|
}
|
|
20879
21159
|
if (grpc['type'] != null) {
|
|
20880
21160
|
result['type'] = grpc['type'];
|
|
20881
21161
|
} else {
|
|
20882
21162
|
result['type'] = 'NONE';
|
|
20883
21163
|
}
|
|
21164
|
+
if (grpc['idTagValue'] != null) {
|
|
21165
|
+
result['idTagValue'] = $root.google.protobuf.StringValue.fromGRPC(grpc['idTagValue'], helper);
|
|
21166
|
+
} else {
|
|
21167
|
+
delete result['idTagValue'];
|
|
21168
|
+
}
|
|
21169
|
+
if (grpc['files'] != null) {
|
|
21170
|
+
result['files'] = grpc['files'].map(e => {
|
|
21171
|
+
return $root.wix.coreservices.businessschema.v1.internal.File.fromGRPC(e, helper);
|
|
21172
|
+
});
|
|
21173
|
+
} else {
|
|
21174
|
+
result['files'] = [];
|
|
21175
|
+
}
|
|
20884
21176
|
return result;
|
|
20885
21177
|
}
|
|
20886
21178
|
}
|
|
@@ -1096,20 +1096,38 @@ declare namespace $requests {
|
|
|
1096
1096
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
1097
1097
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
1098
1098
|
}
|
|
1099
|
+
export interface IFile {
|
|
1100
|
+
name?: string;
|
|
1101
|
+
uri?: string;
|
|
1102
|
+
digest?: string;
|
|
1103
|
+
sizeInBytes?: (number | string);
|
|
1104
|
+
}
|
|
1105
|
+
export class File implements IFile {
|
|
1106
|
+
constructor(data?: IFile);
|
|
1107
|
+
name?: string;
|
|
1108
|
+
uri?: string;
|
|
1109
|
+
digest?: string;
|
|
1110
|
+
sizeInBytes?: (number | string);
|
|
1111
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1112
|
+
}
|
|
1099
1113
|
export interface ITarget {
|
|
1100
1114
|
id?: string;
|
|
1101
1115
|
location?: string;
|
|
1102
1116
|
combinedDigest?: string;
|
|
1103
|
-
commitTimestamp
|
|
1117
|
+
commitTimestamp?: (number | string);
|
|
1104
1118
|
type: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1119
|
+
idTagValue?: string;
|
|
1120
|
+
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1105
1121
|
}
|
|
1106
1122
|
export class Target implements ITarget {
|
|
1107
1123
|
constructor(data?: ITarget);
|
|
1108
1124
|
id?: string;
|
|
1109
1125
|
location?: string;
|
|
1110
1126
|
combinedDigest?: string;
|
|
1111
|
-
commitTimestamp
|
|
1127
|
+
commitTimestamp?: (number | string);
|
|
1112
1128
|
type: $requests.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
1129
|
+
idTagValue?: string;
|
|
1130
|
+
files: $requests.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
1113
1131
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
1114
1132
|
}
|
|
1115
1133
|
export interface IMarkTargetAsProcessedRequest {
|
|
@@ -4673,12 +4691,28 @@ declare namespace $responses {
|
|
|
4673
4691
|
WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
|
|
4674
4692
|
WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT",
|
|
4675
4693
|
}
|
|
4694
|
+
export interface IFile {
|
|
4695
|
+
name?: string;
|
|
4696
|
+
uri?: string;
|
|
4697
|
+
digest?: string;
|
|
4698
|
+
sizeInBytes?: (number | string);
|
|
4699
|
+
}
|
|
4700
|
+
export class File implements IFile {
|
|
4701
|
+
constructor(data?: IFile);
|
|
4702
|
+
name?: string;
|
|
4703
|
+
uri?: string;
|
|
4704
|
+
digest?: string;
|
|
4705
|
+
sizeInBytes?: (number | string);
|
|
4706
|
+
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4707
|
+
}
|
|
4676
4708
|
export interface ITarget {
|
|
4677
4709
|
id?: string;
|
|
4678
4710
|
location?: string;
|
|
4679
4711
|
combinedDigest?: string;
|
|
4680
4712
|
commitTimestamp?: (number | string);
|
|
4681
4713
|
type?: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4714
|
+
idTagValue?: string;
|
|
4715
|
+
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4682
4716
|
}
|
|
4683
4717
|
export class Target implements ITarget {
|
|
4684
4718
|
constructor(data?: ITarget);
|
|
@@ -4687,6 +4721,8 @@ declare namespace $responses {
|
|
|
4687
4721
|
combinedDigest?: string;
|
|
4688
4722
|
commitTimestamp?: (number | string);
|
|
4689
4723
|
type?: $responses.wix.coreservices.businessschema.v1.internal.TargetType;
|
|
4724
|
+
idTagValue?: string;
|
|
4725
|
+
files?: $responses.wix.coreservices.businessschema.v1.internal.IFile[];
|
|
4690
4726
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
4691
4727
|
}
|
|
4692
4728
|
export interface IMarkTargetAsProcessedRequest {
|
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.1417",
|
|
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.1772.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.1489",
|
|
44
44
|
"@wix/wix-proto-codegen": "^2.0.1155",
|
|
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": "4131d52f089093036a1d654ce9bd678d3005d56416cca31ddafb2b92"
|
|
75
75
|
}
|