@coralogix/rum-cli 1.1.38 → 1.1.41
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/README.md +1 -0
- package/api/base/base.api.ts +27 -30
- package/api/source-maps/source-maps.api.ts +78 -0
- package/cli/commands/source-maps/upload-source-maps-command.ts +3 -2
- package/consts/consts.ts +1 -0
- package/dist/api/base/base.api.d.ts +9 -7
- package/dist/api/base/base.api.js +14 -19
- package/dist/api/source-maps/source-maps.api.d.ts +5 -2
- package/dist/api/source-maps/source-maps.api.js +57 -3
- package/dist/cli/commands/source-maps/upload-source-maps-command.js +4 -3
- package/dist/consts/consts.js +3 -2
- package/dist/grpc-client/grpc-client-factory.d.ts +72 -0
- package/dist/models/source-maps-commands.model.d.ts +1 -0
- package/dist/models/source-maps-commands.model.js +1 -1
- package/dist/proto-models/com/coralogix/blobset/v2/blobset_query_service.d.ts +150 -0
- package/dist/proto-models/com/coralogix/blobset/v2/blobset_query_service.js +29 -1
- package/dist/proto-models/com/coralogix/blobset/v2/case_file.d.ts +36 -0
- package/dist/proto-models/com/coralogix/blobset/v2/case_file.js +161 -0
- package/dist/proto-models/com/coralogix/blobset/v2/dsym.d.ts +1 -0
- package/dist/proto-models/com/coralogix/blobset/v2/dsym.js +33 -3
- package/dist/proto-models/com/coralogix/blobset/v2/entity_metadata.d.ts +31 -0
- package/dist/proto-models/com/coralogix/blobset/v2/entity_metadata.js +215 -7
- package/dist/proto-models/com/coralogix/blobset/v2/entity_type.d.ts +3 -1
- package/dist/proto-models/com/coralogix/blobset/v2/entity_type.js +13 -1
- package/dist/proto-models/com/coralogix/blobset/v2/investigation_file.d.ts +36 -0
- package/dist/proto-models/com/coralogix/blobset/v2/investigation_file.js +161 -0
- package/dist/proto-models/com/coralogix/blobset/v2/proguard.d.ts +68 -0
- package/dist/proto-models/com/coralogix/blobset/v2/proguard.js +400 -0
- package/dist/proto-models/com/coralogix/rum/v2/application_releases.d.ts +38 -0
- package/dist/proto-models/com/coralogix/rum/v2/application_releases.js +180 -0
- package/dist/proto-models/com/coralogix/rum/v2/merge_error.d.ts +38 -0
- package/dist/proto-models/com/coralogix/rum/v2/merge_error.js +171 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.d.ts +4 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.js +93 -9
- package/dist/proto-models/com/coralogix/rum/v2/rum_merge_erros_service.d.ts +197 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_merge_erros_service.js +478 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_service.d.ts +107 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_service.js +385 -2
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.d.ts +46 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.js +142 -2
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.d.ts +4 -1
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.js +19 -1
- package/dist/proto-models/com/coralogix/rum/v2/template.d.ts +2 -0
- package/dist/proto-models/com/coralogix/rum/v2/template.js +31 -3
- package/dist/services/source-maps/source-maps.service.d.ts +1 -0
- package/dist/services/source-maps/source-maps.service.js +23 -1
- package/models/source-maps-commands.model.ts +1 -0
- package/package.json +1 -1
- package/proto-models/com/coralogix/blobset/v2/blobset_query_service.ts +28 -0
- package/proto-models/com/coralogix/blobset/v2/case_file.ts +188 -0
- package/proto-models/com/coralogix/blobset/v2/dsym.ts +35 -1
- package/proto-models/com/coralogix/blobset/v2/entity_metadata.ts +243 -1
- package/proto-models/com/coralogix/blobset/v2/entity_type.ts +12 -0
- package/proto-models/com/coralogix/blobset/v2/investigation_file.ts +188 -0
- package/proto-models/com/coralogix/blobset/v2/proguard.ts +466 -0
- package/proto-models/com/coralogix/rum/v2/application_releases.ts +213 -0
- package/proto-models/com/coralogix/rum/v2/merge_error.ts +201 -0
- package/proto-models/com/coralogix/rum/v2/release_entity_metadata.ts +96 -4
- package/proto-models/com/coralogix/rum/v2/rum_merge_erros_service.ts +566 -0
- package/proto-models/com/coralogix/rum/v2/rum_service.ts +462 -0
- package/proto-models/com/coralogix/rum/v2/rum_source_map_service.ts +164 -0
- package/proto-models/com/coralogix/rum/v2/saved_filter.ts +18 -0
- package/proto-models/com/coralogix/rum/v2/template.ts +33 -1
- package/protofetch.lock +4 -4
- package/protofetch.toml +2 -2
- package/protos/com/coralogix/blobset/v2/blobset_query_service.proto +7 -0
- package/protos/com/coralogix/blobset/v2/case_file.proto +12 -0
- package/protos/com/coralogix/blobset/v2/dsym.proto +1 -0
- package/protos/com/coralogix/blobset/v2/entity_metadata.proto +14 -1
- package/protos/com/coralogix/blobset/v2/entity_type.proto +3 -1
- package/protos/com/coralogix/blobset/v2/investigation_file.proto +12 -0
- package/protos/com/coralogix/blobset/v2/proguard.proto +30 -0
- package/protos/com/coralogix/rum/v2/application_releases.proto +14 -0
- package/protos/com/coralogix/rum/v2/merge_error.proto +13 -0
- package/protos/com/coralogix/rum/v2/release_entity_metadata.proto +7 -0
- package/protos/com/coralogix/rum/v2/rum_merge_erros_service.proto +42 -0
- package/protos/com/coralogix/rum/v2/rum_service.proto +23 -0
- package/protos/com/coralogix/rum/v2/rum_source_map_service.proto +11 -0
- package/protos/com/coralogix/rum/v2/saved_filter.proto +3 -0
- package/protos/com/coralogix/rum/v2/template.proto +2 -0
- package/protoset.bin +0 -0
- package/services/source-maps/source-maps.service.ts +26 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v1.181.1
|
|
4
|
+
// protoc v3.19.1
|
|
5
|
+
// source: com/coralogix/rum/v2/application_releases.proto
|
|
6
|
+
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
import Long from "long";
|
|
9
|
+
import _m0 from "protobufjs/minimal";
|
|
10
|
+
|
|
11
|
+
export const protobufPackage = "com.coralogix.rum.v2";
|
|
12
|
+
|
|
13
|
+
export interface ApplicationReleaseEntity {
|
|
14
|
+
appName: string;
|
|
15
|
+
appVersion: string;
|
|
16
|
+
creationDate: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface CurrentPreviousReleases {
|
|
20
|
+
current: string;
|
|
21
|
+
previous: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function createBaseApplicationReleaseEntity(): ApplicationReleaseEntity {
|
|
25
|
+
return { appName: "", appVersion: "", creationDate: 0 };
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const ApplicationReleaseEntity = {
|
|
29
|
+
encode(message: ApplicationReleaseEntity, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
30
|
+
if (message.appName !== "") {
|
|
31
|
+
writer.uint32(10).string(message.appName);
|
|
32
|
+
}
|
|
33
|
+
if (message.appVersion !== "") {
|
|
34
|
+
writer.uint32(18).string(message.appVersion);
|
|
35
|
+
}
|
|
36
|
+
if (message.creationDate !== 0) {
|
|
37
|
+
writer.uint32(24).int64(message.creationDate);
|
|
38
|
+
}
|
|
39
|
+
return writer;
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ApplicationReleaseEntity {
|
|
43
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
44
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
45
|
+
const message = createBaseApplicationReleaseEntity();
|
|
46
|
+
while (reader.pos < end) {
|
|
47
|
+
const tag = reader.uint32();
|
|
48
|
+
switch (tag >>> 3) {
|
|
49
|
+
case 1:
|
|
50
|
+
if (tag !== 10) {
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message.appName = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
case 2:
|
|
57
|
+
if (tag !== 18) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message.appVersion = reader.string();
|
|
62
|
+
continue;
|
|
63
|
+
case 3:
|
|
64
|
+
if (tag !== 24) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message.creationDate = longToNumber(reader.int64() as Long);
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
reader.skipType(tag & 7);
|
|
75
|
+
}
|
|
76
|
+
return message;
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
fromJSON(object: any): ApplicationReleaseEntity {
|
|
80
|
+
return {
|
|
81
|
+
appName: isSet(object.appName) ? globalThis.String(object.appName) : "",
|
|
82
|
+
appVersion: isSet(object.appVersion) ? globalThis.String(object.appVersion) : "",
|
|
83
|
+
creationDate: isSet(object.creationDate) ? globalThis.Number(object.creationDate) : 0,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
|
|
87
|
+
toJSON(message: ApplicationReleaseEntity): unknown {
|
|
88
|
+
const obj: any = {};
|
|
89
|
+
if (message.appName !== "") {
|
|
90
|
+
obj.appName = message.appName;
|
|
91
|
+
}
|
|
92
|
+
if (message.appVersion !== "") {
|
|
93
|
+
obj.appVersion = message.appVersion;
|
|
94
|
+
}
|
|
95
|
+
if (message.creationDate !== 0) {
|
|
96
|
+
obj.creationDate = Math.round(message.creationDate);
|
|
97
|
+
}
|
|
98
|
+
return obj;
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
create(base?: DeepPartial<ApplicationReleaseEntity>): ApplicationReleaseEntity {
|
|
102
|
+
return ApplicationReleaseEntity.fromPartial(base ?? {});
|
|
103
|
+
},
|
|
104
|
+
fromPartial(object: DeepPartial<ApplicationReleaseEntity>): ApplicationReleaseEntity {
|
|
105
|
+
const message = createBaseApplicationReleaseEntity();
|
|
106
|
+
message.appName = object.appName ?? "";
|
|
107
|
+
message.appVersion = object.appVersion ?? "";
|
|
108
|
+
message.creationDate = object.creationDate ?? 0;
|
|
109
|
+
return message;
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
function createBaseCurrentPreviousReleases(): CurrentPreviousReleases {
|
|
114
|
+
return { current: "", previous: "" };
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export const CurrentPreviousReleases = {
|
|
118
|
+
encode(message: CurrentPreviousReleases, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
119
|
+
if (message.current !== "") {
|
|
120
|
+
writer.uint32(10).string(message.current);
|
|
121
|
+
}
|
|
122
|
+
if (message.previous !== "") {
|
|
123
|
+
writer.uint32(18).string(message.previous);
|
|
124
|
+
}
|
|
125
|
+
return writer;
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CurrentPreviousReleases {
|
|
129
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
130
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
131
|
+
const message = createBaseCurrentPreviousReleases();
|
|
132
|
+
while (reader.pos < end) {
|
|
133
|
+
const tag = reader.uint32();
|
|
134
|
+
switch (tag >>> 3) {
|
|
135
|
+
case 1:
|
|
136
|
+
if (tag !== 10) {
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
message.current = reader.string();
|
|
141
|
+
continue;
|
|
142
|
+
case 2:
|
|
143
|
+
if (tag !== 18) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
message.previous = reader.string();
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
reader.skipType(tag & 7);
|
|
154
|
+
}
|
|
155
|
+
return message;
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
fromJSON(object: any): CurrentPreviousReleases {
|
|
159
|
+
return {
|
|
160
|
+
current: isSet(object.current) ? globalThis.String(object.current) : "",
|
|
161
|
+
previous: isSet(object.previous) ? globalThis.String(object.previous) : "",
|
|
162
|
+
};
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
toJSON(message: CurrentPreviousReleases): unknown {
|
|
166
|
+
const obj: any = {};
|
|
167
|
+
if (message.current !== "") {
|
|
168
|
+
obj.current = message.current;
|
|
169
|
+
}
|
|
170
|
+
if (message.previous !== "") {
|
|
171
|
+
obj.previous = message.previous;
|
|
172
|
+
}
|
|
173
|
+
return obj;
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
create(base?: DeepPartial<CurrentPreviousReleases>): CurrentPreviousReleases {
|
|
177
|
+
return CurrentPreviousReleases.fromPartial(base ?? {});
|
|
178
|
+
},
|
|
179
|
+
fromPartial(object: DeepPartial<CurrentPreviousReleases>): CurrentPreviousReleases {
|
|
180
|
+
const message = createBaseCurrentPreviousReleases();
|
|
181
|
+
message.current = object.current ?? "";
|
|
182
|
+
message.previous = object.previous ?? "";
|
|
183
|
+
return message;
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
188
|
+
|
|
189
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
190
|
+
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
191
|
+
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
192
|
+
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
193
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
194
|
+
: Partial<T>;
|
|
195
|
+
|
|
196
|
+
function longToNumber(long: Long): number {
|
|
197
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
198
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
199
|
+
}
|
|
200
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
201
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
202
|
+
}
|
|
203
|
+
return long.toNumber();
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
if (_m0.util.Long !== Long) {
|
|
207
|
+
_m0.util.Long = Long as any;
|
|
208
|
+
_m0.configure();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function isSet(value: any): boolean {
|
|
212
|
+
return value !== null && value !== undefined;
|
|
213
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v1.181.1
|
|
4
|
+
// protoc v3.19.1
|
|
5
|
+
// source: com/coralogix/rum/v2/merge_error.proto
|
|
6
|
+
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
import _m0 from "protobufjs/minimal";
|
|
9
|
+
|
|
10
|
+
export const protobufPackage = "com.coralogix.rum.v2";
|
|
11
|
+
|
|
12
|
+
export interface MergeErrors {
|
|
13
|
+
id: string;
|
|
14
|
+
mergeErrorInfo: MergeErrorInfo | undefined;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface MergeErrorInfo {
|
|
18
|
+
templateIds: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
primaryTemplateId: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function createBaseMergeErrors(): MergeErrors {
|
|
24
|
+
return { id: "", mergeErrorInfo: undefined };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const MergeErrors = {
|
|
28
|
+
encode(message: MergeErrors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
29
|
+
if (message.id !== "") {
|
|
30
|
+
writer.uint32(10).string(message.id);
|
|
31
|
+
}
|
|
32
|
+
if (message.mergeErrorInfo !== undefined) {
|
|
33
|
+
MergeErrorInfo.encode(message.mergeErrorInfo, writer.uint32(18).fork()).ldelim();
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MergeErrors {
|
|
39
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
40
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
41
|
+
const message = createBaseMergeErrors();
|
|
42
|
+
while (reader.pos < end) {
|
|
43
|
+
const tag = reader.uint32();
|
|
44
|
+
switch (tag >>> 3) {
|
|
45
|
+
case 1:
|
|
46
|
+
if (tag !== 10) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message.id = reader.string();
|
|
51
|
+
continue;
|
|
52
|
+
case 2:
|
|
53
|
+
if (tag !== 18) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message.mergeErrorInfo = MergeErrorInfo.decode(reader, reader.uint32());
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
reader.skipType(tag & 7);
|
|
64
|
+
}
|
|
65
|
+
return message;
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
fromJSON(object: any): MergeErrors {
|
|
69
|
+
return {
|
|
70
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
71
|
+
mergeErrorInfo: isSet(object.mergeErrorInfo) ? MergeErrorInfo.fromJSON(object.mergeErrorInfo) : undefined,
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
toJSON(message: MergeErrors): unknown {
|
|
76
|
+
const obj: any = {};
|
|
77
|
+
if (message.id !== "") {
|
|
78
|
+
obj.id = message.id;
|
|
79
|
+
}
|
|
80
|
+
if (message.mergeErrorInfo !== undefined) {
|
|
81
|
+
obj.mergeErrorInfo = MergeErrorInfo.toJSON(message.mergeErrorInfo);
|
|
82
|
+
}
|
|
83
|
+
return obj;
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
create(base?: DeepPartial<MergeErrors>): MergeErrors {
|
|
87
|
+
return MergeErrors.fromPartial(base ?? {});
|
|
88
|
+
},
|
|
89
|
+
fromPartial(object: DeepPartial<MergeErrors>): MergeErrors {
|
|
90
|
+
const message = createBaseMergeErrors();
|
|
91
|
+
message.id = object.id ?? "";
|
|
92
|
+
message.mergeErrorInfo = (object.mergeErrorInfo !== undefined && object.mergeErrorInfo !== null)
|
|
93
|
+
? MergeErrorInfo.fromPartial(object.mergeErrorInfo)
|
|
94
|
+
: undefined;
|
|
95
|
+
return message;
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
function createBaseMergeErrorInfo(): MergeErrorInfo {
|
|
100
|
+
return { templateIds: [], description: "", primaryTemplateId: "" };
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const MergeErrorInfo = {
|
|
104
|
+
encode(message: MergeErrorInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
105
|
+
for (const v of message.templateIds) {
|
|
106
|
+
writer.uint32(10).string(v!);
|
|
107
|
+
}
|
|
108
|
+
if (message.description !== "") {
|
|
109
|
+
writer.uint32(18).string(message.description);
|
|
110
|
+
}
|
|
111
|
+
if (message.primaryTemplateId !== "") {
|
|
112
|
+
writer.uint32(26).string(message.primaryTemplateId);
|
|
113
|
+
}
|
|
114
|
+
return writer;
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MergeErrorInfo {
|
|
118
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
119
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
120
|
+
const message = createBaseMergeErrorInfo();
|
|
121
|
+
while (reader.pos < end) {
|
|
122
|
+
const tag = reader.uint32();
|
|
123
|
+
switch (tag >>> 3) {
|
|
124
|
+
case 1:
|
|
125
|
+
if (tag !== 10) {
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message.templateIds.push(reader.string());
|
|
130
|
+
continue;
|
|
131
|
+
case 2:
|
|
132
|
+
if (tag !== 18) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message.description = reader.string();
|
|
137
|
+
continue;
|
|
138
|
+
case 3:
|
|
139
|
+
if (tag !== 26) {
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
message.primaryTemplateId = reader.string();
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
reader.skipType(tag & 7);
|
|
150
|
+
}
|
|
151
|
+
return message;
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
fromJSON(object: any): MergeErrorInfo {
|
|
155
|
+
return {
|
|
156
|
+
templateIds: globalThis.Array.isArray(object?.templateIds)
|
|
157
|
+
? object.templateIds.map((e: any) => globalThis.String(e))
|
|
158
|
+
: [],
|
|
159
|
+
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
160
|
+
primaryTemplateId: isSet(object.primaryTemplateId) ? globalThis.String(object.primaryTemplateId) : "",
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
toJSON(message: MergeErrorInfo): unknown {
|
|
165
|
+
const obj: any = {};
|
|
166
|
+
if (message.templateIds?.length) {
|
|
167
|
+
obj.templateIds = message.templateIds;
|
|
168
|
+
}
|
|
169
|
+
if (message.description !== "") {
|
|
170
|
+
obj.description = message.description;
|
|
171
|
+
}
|
|
172
|
+
if (message.primaryTemplateId !== "") {
|
|
173
|
+
obj.primaryTemplateId = message.primaryTemplateId;
|
|
174
|
+
}
|
|
175
|
+
return obj;
|
|
176
|
+
},
|
|
177
|
+
|
|
178
|
+
create(base?: DeepPartial<MergeErrorInfo>): MergeErrorInfo {
|
|
179
|
+
return MergeErrorInfo.fromPartial(base ?? {});
|
|
180
|
+
},
|
|
181
|
+
fromPartial(object: DeepPartial<MergeErrorInfo>): MergeErrorInfo {
|
|
182
|
+
const message = createBaseMergeErrorInfo();
|
|
183
|
+
message.templateIds = object.templateIds?.map((e) => e) || [];
|
|
184
|
+
message.description = object.description ?? "";
|
|
185
|
+
message.primaryTemplateId = object.primaryTemplateId ?? "";
|
|
186
|
+
return message;
|
|
187
|
+
},
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
191
|
+
|
|
192
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
193
|
+
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
194
|
+
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
195
|
+
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
196
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
197
|
+
: Partial<T>;
|
|
198
|
+
|
|
199
|
+
function isSet(value: any): boolean {
|
|
200
|
+
return value !== null && value !== undefined;
|
|
201
|
+
}
|
|
@@ -15,6 +15,7 @@ export interface DsymMetadata {
|
|
|
15
15
|
commitHash?: string | undefined;
|
|
16
16
|
repoName?: string | undefined;
|
|
17
17
|
orgName?: string | undefined;
|
|
18
|
+
internalVersion?: number | undefined;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
export interface SourceMapMetadata {
|
|
@@ -23,6 +24,7 @@ export interface SourceMapMetadata {
|
|
|
23
24
|
commitHash?: string | undefined;
|
|
24
25
|
repoName?: string | undefined;
|
|
25
26
|
orgName?: string | undefined;
|
|
27
|
+
internalVersion?: number | undefined;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
export interface ReactNativeMetadata {
|
|
@@ -31,6 +33,7 @@ export interface ReactNativeMetadata {
|
|
|
31
33
|
commitHash?: string | undefined;
|
|
32
34
|
repoName?: string | undefined;
|
|
33
35
|
orgName?: string | undefined;
|
|
36
|
+
internalVersion?: number | undefined;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
export interface ProguardMetadata {
|
|
@@ -39,6 +42,7 @@ export interface ProguardMetadata {
|
|
|
39
42
|
commitHash?: string | undefined;
|
|
40
43
|
repoName?: string | undefined;
|
|
41
44
|
orgName?: string | undefined;
|
|
45
|
+
internalVersion?: number | undefined;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
export interface ReleaseEntityMetadata {
|
|
@@ -51,7 +55,14 @@ export interface ReleaseEntityMetadata {
|
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
function createBaseDsymMetadata(): DsymMetadata {
|
|
54
|
-
return {
|
|
58
|
+
return {
|
|
59
|
+
application: "",
|
|
60
|
+
releaseId: "",
|
|
61
|
+
commitHash: undefined,
|
|
62
|
+
repoName: undefined,
|
|
63
|
+
orgName: undefined,
|
|
64
|
+
internalVersion: undefined,
|
|
65
|
+
};
|
|
55
66
|
}
|
|
56
67
|
|
|
57
68
|
export const DsymMetadata = {
|
|
@@ -71,6 +82,9 @@ export const DsymMetadata = {
|
|
|
71
82
|
if (message.orgName !== undefined) {
|
|
72
83
|
writer.uint32(42).string(message.orgName);
|
|
73
84
|
}
|
|
85
|
+
if (message.internalVersion !== undefined) {
|
|
86
|
+
writer.uint32(48).int32(message.internalVersion);
|
|
87
|
+
}
|
|
74
88
|
return writer;
|
|
75
89
|
},
|
|
76
90
|
|
|
@@ -116,6 +130,13 @@ export const DsymMetadata = {
|
|
|
116
130
|
|
|
117
131
|
message.orgName = reader.string();
|
|
118
132
|
continue;
|
|
133
|
+
case 6:
|
|
134
|
+
if (tag !== 48) {
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
message.internalVersion = reader.int32();
|
|
139
|
+
continue;
|
|
119
140
|
}
|
|
120
141
|
if ((tag & 7) === 4 || tag === 0) {
|
|
121
142
|
break;
|
|
@@ -132,6 +153,7 @@ export const DsymMetadata = {
|
|
|
132
153
|
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
133
154
|
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
134
155
|
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
156
|
+
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
135
157
|
};
|
|
136
158
|
},
|
|
137
159
|
|
|
@@ -152,6 +174,9 @@ export const DsymMetadata = {
|
|
|
152
174
|
if (message.orgName !== undefined) {
|
|
153
175
|
obj.orgName = message.orgName;
|
|
154
176
|
}
|
|
177
|
+
if (message.internalVersion !== undefined) {
|
|
178
|
+
obj.internalVersion = Math.round(message.internalVersion);
|
|
179
|
+
}
|
|
155
180
|
return obj;
|
|
156
181
|
},
|
|
157
182
|
|
|
@@ -165,12 +190,20 @@ export const DsymMetadata = {
|
|
|
165
190
|
message.commitHash = object.commitHash ?? undefined;
|
|
166
191
|
message.repoName = object.repoName ?? undefined;
|
|
167
192
|
message.orgName = object.orgName ?? undefined;
|
|
193
|
+
message.internalVersion = object.internalVersion ?? undefined;
|
|
168
194
|
return message;
|
|
169
195
|
},
|
|
170
196
|
};
|
|
171
197
|
|
|
172
198
|
function createBaseSourceMapMetadata(): SourceMapMetadata {
|
|
173
|
-
return {
|
|
199
|
+
return {
|
|
200
|
+
application: "",
|
|
201
|
+
releaseId: "",
|
|
202
|
+
commitHash: undefined,
|
|
203
|
+
repoName: undefined,
|
|
204
|
+
orgName: undefined,
|
|
205
|
+
internalVersion: undefined,
|
|
206
|
+
};
|
|
174
207
|
}
|
|
175
208
|
|
|
176
209
|
export const SourceMapMetadata = {
|
|
@@ -190,6 +223,9 @@ export const SourceMapMetadata = {
|
|
|
190
223
|
if (message.orgName !== undefined) {
|
|
191
224
|
writer.uint32(42).string(message.orgName);
|
|
192
225
|
}
|
|
226
|
+
if (message.internalVersion !== undefined) {
|
|
227
|
+
writer.uint32(48).int32(message.internalVersion);
|
|
228
|
+
}
|
|
193
229
|
return writer;
|
|
194
230
|
},
|
|
195
231
|
|
|
@@ -235,6 +271,13 @@ export const SourceMapMetadata = {
|
|
|
235
271
|
|
|
236
272
|
message.orgName = reader.string();
|
|
237
273
|
continue;
|
|
274
|
+
case 6:
|
|
275
|
+
if (tag !== 48) {
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
message.internalVersion = reader.int32();
|
|
280
|
+
continue;
|
|
238
281
|
}
|
|
239
282
|
if ((tag & 7) === 4 || tag === 0) {
|
|
240
283
|
break;
|
|
@@ -251,6 +294,7 @@ export const SourceMapMetadata = {
|
|
|
251
294
|
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
252
295
|
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
253
296
|
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
297
|
+
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
254
298
|
};
|
|
255
299
|
},
|
|
256
300
|
|
|
@@ -271,6 +315,9 @@ export const SourceMapMetadata = {
|
|
|
271
315
|
if (message.orgName !== undefined) {
|
|
272
316
|
obj.orgName = message.orgName;
|
|
273
317
|
}
|
|
318
|
+
if (message.internalVersion !== undefined) {
|
|
319
|
+
obj.internalVersion = Math.round(message.internalVersion);
|
|
320
|
+
}
|
|
274
321
|
return obj;
|
|
275
322
|
},
|
|
276
323
|
|
|
@@ -284,12 +331,20 @@ export const SourceMapMetadata = {
|
|
|
284
331
|
message.commitHash = object.commitHash ?? undefined;
|
|
285
332
|
message.repoName = object.repoName ?? undefined;
|
|
286
333
|
message.orgName = object.orgName ?? undefined;
|
|
334
|
+
message.internalVersion = object.internalVersion ?? undefined;
|
|
287
335
|
return message;
|
|
288
336
|
},
|
|
289
337
|
};
|
|
290
338
|
|
|
291
339
|
function createBaseReactNativeMetadata(): ReactNativeMetadata {
|
|
292
|
-
return {
|
|
340
|
+
return {
|
|
341
|
+
application: "",
|
|
342
|
+
releaseId: "",
|
|
343
|
+
commitHash: undefined,
|
|
344
|
+
repoName: undefined,
|
|
345
|
+
orgName: undefined,
|
|
346
|
+
internalVersion: undefined,
|
|
347
|
+
};
|
|
293
348
|
}
|
|
294
349
|
|
|
295
350
|
export const ReactNativeMetadata = {
|
|
@@ -309,6 +364,9 @@ export const ReactNativeMetadata = {
|
|
|
309
364
|
if (message.orgName !== undefined) {
|
|
310
365
|
writer.uint32(42).string(message.orgName);
|
|
311
366
|
}
|
|
367
|
+
if (message.internalVersion !== undefined) {
|
|
368
|
+
writer.uint32(48).int32(message.internalVersion);
|
|
369
|
+
}
|
|
312
370
|
return writer;
|
|
313
371
|
},
|
|
314
372
|
|
|
@@ -354,6 +412,13 @@ export const ReactNativeMetadata = {
|
|
|
354
412
|
|
|
355
413
|
message.orgName = reader.string();
|
|
356
414
|
continue;
|
|
415
|
+
case 6:
|
|
416
|
+
if (tag !== 48) {
|
|
417
|
+
break;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
message.internalVersion = reader.int32();
|
|
421
|
+
continue;
|
|
357
422
|
}
|
|
358
423
|
if ((tag & 7) === 4 || tag === 0) {
|
|
359
424
|
break;
|
|
@@ -370,6 +435,7 @@ export const ReactNativeMetadata = {
|
|
|
370
435
|
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
371
436
|
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
372
437
|
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
438
|
+
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
373
439
|
};
|
|
374
440
|
},
|
|
375
441
|
|
|
@@ -390,6 +456,9 @@ export const ReactNativeMetadata = {
|
|
|
390
456
|
if (message.orgName !== undefined) {
|
|
391
457
|
obj.orgName = message.orgName;
|
|
392
458
|
}
|
|
459
|
+
if (message.internalVersion !== undefined) {
|
|
460
|
+
obj.internalVersion = Math.round(message.internalVersion);
|
|
461
|
+
}
|
|
393
462
|
return obj;
|
|
394
463
|
},
|
|
395
464
|
|
|
@@ -403,12 +472,20 @@ export const ReactNativeMetadata = {
|
|
|
403
472
|
message.commitHash = object.commitHash ?? undefined;
|
|
404
473
|
message.repoName = object.repoName ?? undefined;
|
|
405
474
|
message.orgName = object.orgName ?? undefined;
|
|
475
|
+
message.internalVersion = object.internalVersion ?? undefined;
|
|
406
476
|
return message;
|
|
407
477
|
},
|
|
408
478
|
};
|
|
409
479
|
|
|
410
480
|
function createBaseProguardMetadata(): ProguardMetadata {
|
|
411
|
-
return {
|
|
481
|
+
return {
|
|
482
|
+
application: "",
|
|
483
|
+
releaseId: "",
|
|
484
|
+
commitHash: undefined,
|
|
485
|
+
repoName: undefined,
|
|
486
|
+
orgName: undefined,
|
|
487
|
+
internalVersion: undefined,
|
|
488
|
+
};
|
|
412
489
|
}
|
|
413
490
|
|
|
414
491
|
export const ProguardMetadata = {
|
|
@@ -428,6 +505,9 @@ export const ProguardMetadata = {
|
|
|
428
505
|
if (message.orgName !== undefined) {
|
|
429
506
|
writer.uint32(42).string(message.orgName);
|
|
430
507
|
}
|
|
508
|
+
if (message.internalVersion !== undefined) {
|
|
509
|
+
writer.uint32(48).int32(message.internalVersion);
|
|
510
|
+
}
|
|
431
511
|
return writer;
|
|
432
512
|
},
|
|
433
513
|
|
|
@@ -473,6 +553,13 @@ export const ProguardMetadata = {
|
|
|
473
553
|
|
|
474
554
|
message.orgName = reader.string();
|
|
475
555
|
continue;
|
|
556
|
+
case 6:
|
|
557
|
+
if (tag !== 48) {
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
message.internalVersion = reader.int32();
|
|
562
|
+
continue;
|
|
476
563
|
}
|
|
477
564
|
if ((tag & 7) === 4 || tag === 0) {
|
|
478
565
|
break;
|
|
@@ -489,6 +576,7 @@ export const ProguardMetadata = {
|
|
|
489
576
|
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
490
577
|
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
491
578
|
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
579
|
+
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
492
580
|
};
|
|
493
581
|
},
|
|
494
582
|
|
|
@@ -509,6 +597,9 @@ export const ProguardMetadata = {
|
|
|
509
597
|
if (message.orgName !== undefined) {
|
|
510
598
|
obj.orgName = message.orgName;
|
|
511
599
|
}
|
|
600
|
+
if (message.internalVersion !== undefined) {
|
|
601
|
+
obj.internalVersion = Math.round(message.internalVersion);
|
|
602
|
+
}
|
|
512
603
|
return obj;
|
|
513
604
|
},
|
|
514
605
|
|
|
@@ -522,6 +613,7 @@ export const ProguardMetadata = {
|
|
|
522
613
|
message.commitHash = object.commitHash ?? undefined;
|
|
523
614
|
message.repoName = object.repoName ?? undefined;
|
|
524
615
|
message.orgName = object.orgName ?? undefined;
|
|
616
|
+
message.internalVersion = object.internalVersion ?? undefined;
|
|
525
617
|
return message;
|
|
526
618
|
},
|
|
527
619
|
};
|