@coralogix/rum-cli 1.1.41 → 1.1.43
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 +29 -34
- package/api/dsym/dsym.api.ts +8 -0
- package/api/proguard/proguard.api.ts +8 -0
- package/api/react-native/react-native.api.ts +8 -0
- package/api/source-maps/source-maps.api.ts +4 -74
- package/cli/commands/dsym/upload-dsym-command.ts +4 -2
- package/cli/commands/proguard/upload-proguard-command.ts +4 -2
- package/cli/commands/react-native/upload-react-native-source-maps-command.ts +4 -2
- package/cli/commands/source-maps/upload-source-maps-command.ts +3 -2
- package/dist/api/base/base.api.d.ts +4 -5
- package/dist/api/base/base.api.js +16 -25
- package/dist/api/dsym/dsym.api.d.ts +2 -2
- package/dist/api/dsym/dsym.api.js +7 -3
- package/dist/api/proguard/proguard.api.d.ts +2 -2
- package/dist/api/proguard/proguard.api.js +7 -3
- package/dist/api/react-native/react-native.api.d.ts +2 -2
- package/dist/api/react-native/react-native.api.js +7 -3
- package/dist/api/source-maps/source-maps.api.d.ts +2 -5
- package/dist/api/source-maps/source-maps.api.js +5 -55
- package/dist/cli/commands/dsym/upload-dsym-command.js +5 -3
- package/dist/cli/commands/proguard/upload-proguard-command.js +5 -3
- package/dist/cli/commands/react-native/upload-react-native-source-maps-command.js +5 -3
- package/dist/cli/commands/source-maps/upload-source-maps-command.js +4 -3
- package/dist/grpc-client/grpc-client-factory.d.ts +86 -0
- package/dist/models/dsym-commands.model.d.ts +2 -0
- package/dist/models/dsym-commands.model.js +1 -1
- package/dist/models/proguard-commands.model.d.ts +2 -0
- package/dist/models/proguard-commands.model.js +1 -1
- package/dist/models/react-native-commands.model.d.ts +2 -0
- package/dist/models/react-native-commands.model.js +1 -1
- 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/entity_metadata.d.ts +16 -0
- package/dist/proto-models/com/coralogix/blobset/v2/entity_metadata.js +162 -6
- package/dist/proto-models/com/coralogix/rum/v2/ai_assist.d.ts +89 -0
- package/dist/proto-models/com/coralogix/rum/v2/ai_assist.js +290 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.d.ts +15 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.js +133 -2
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.d.ts +48 -1
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.js +160 -2
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.d.ts +2 -1
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.js +7 -1
- package/dist/proto-models/google/protobuf/struct.d.ts +127 -0
- package/dist/proto-models/google/protobuf/struct.js +476 -0
- package/dist/services/base/base.service.d.ts +1 -1
- package/dist/services/base/base.service.js +7 -5
- package/dist/services/source-maps/source-maps.service.d.ts +0 -1
- package/dist/services/source-maps/source-maps.service.js +1 -23
- package/dist/utils/upload-mode.utils.d.ts +12 -0
- package/dist/utils/upload-mode.utils.js +26 -0
- package/dist/utils/version-context.utils.d.ts +20 -0
- package/dist/utils/version-context.utils.js +71 -0
- package/models/dsym-commands.model.ts +2 -0
- package/models/proguard-commands.model.ts +2 -0
- package/models/react-native-commands.model.ts +2 -0
- package/models/source-maps-commands.model.ts +1 -0
- package/package.json +2 -2
- package/protofetch.lock +4 -4
- package/protofetch.toml +2 -2
- package/services/base/base.service.ts +7 -3
- package/services/source-maps/source-maps.service.ts +0 -26
- package/utils/upload-mode.utils.ts +30 -0
- package/utils/version-context.utils.ts +95 -0
- package/proto-models/com/coralogix/blobset/v2/audit_log.ts +0 -84
- package/proto-models/com/coralogix/blobset/v2/blobset_query_service.ts +0 -64
- package/proto-models/com/coralogix/blobset/v2/blobset_service.ts +0 -209
- package/proto-models/com/coralogix/blobset/v2/case_file.ts +0 -188
- package/proto-models/com/coralogix/blobset/v2/dsym.ts +0 -434
- package/proto-models/com/coralogix/blobset/v2/entity_metadata.ts +0 -782
- package/proto-models/com/coralogix/blobset/v2/entity_type.ts +0 -68
- package/proto-models/com/coralogix/blobset/v2/investigation_file.ts +0 -188
- package/proto-models/com/coralogix/blobset/v2/proguard.ts +0 -466
- package/proto-models/com/coralogix/blobset/v2/s3_metadata.ts +0 -154
- package/proto-models/com/coralogix/blobset/v2/source_map.ts +0 -418
- package/proto-models/com/coralogix/rum/v2/analytics.ts +0 -924
- package/proto-models/com/coralogix/rum/v2/application_releases.ts +0 -213
- package/proto-models/com/coralogix/rum/v2/audit_log.ts +0 -84
- package/proto-models/com/coralogix/rum/v2/chunk.ts +0 -399
- package/proto-models/com/coralogix/rum/v2/file.ts +0 -159
- package/proto-models/com/coralogix/rum/v2/hide_errors.ts +0 -234
- package/proto-models/com/coralogix/rum/v2/merge_error.ts +0 -201
- package/proto-models/com/coralogix/rum/v2/release_entity_metadata.ts +0 -791
- package/proto-models/com/coralogix/rum/v2/release_entity_type.ts +0 -56
- package/proto-models/com/coralogix/rum/v2/rum_hide_errors_service.ts +0 -605
- package/proto-models/com/coralogix/rum/v2/rum_merge_erros_service.ts +0 -566
- package/proto-models/com/coralogix/rum/v2/rum_react_native_source_map_service.ts +0 -229
- package/proto-models/com/coralogix/rum/v2/rum_saved_filters_service.ts +0 -1679
- package/proto-models/com/coralogix/rum/v2/rum_sdk_versions.ts +0 -279
- package/proto-models/com/coralogix/rum/v2/rum_service.ts +0 -2620
- package/proto-models/com/coralogix/rum/v2/rum_session_recording_service.ts +0 -16
- package/proto-models/com/coralogix/rum/v2/rum_settings.ts +0 -215
- package/proto-models/com/coralogix/rum/v2/rum_settings_service.ts +0 -283
- package/proto-models/com/coralogix/rum/v2/rum_source_map_service.ts +0 -1069
- package/proto-models/com/coralogix/rum/v2/saved_filter.ts +0 -325
- package/proto-models/com/coralogix/rum/v2/source_code_file_mapping.ts +0 -358
- package/proto-models/com/coralogix/rum/v2/source_map_release.ts +0 -301
- package/proto-models/com/coralogix/rum/v2/template.ts +0 -620
- package/proto-models/google/protobuf/descriptor.ts +0 -4921
- package/protos/com/coralogix/blobset/v2/audit_log.proto +0 -13
- package/protos/com/coralogix/blobset/v2/blobset_query_service.proto +0 -19
- package/protos/com/coralogix/blobset/v2/blobset_service.proto +0 -18
- package/protos/com/coralogix/blobset/v2/case_file.proto +0 -12
- package/protos/com/coralogix/blobset/v2/dsym.proto +0 -20
- package/protos/com/coralogix/blobset/v2/entity_metadata.proto +0 -48
- package/protos/com/coralogix/blobset/v2/entity_type.proto +0 -13
- package/protos/com/coralogix/blobset/v2/investigation_file.proto +0 -12
- package/protos/com/coralogix/blobset/v2/proguard.proto +0 -30
- package/protos/com/coralogix/blobset/v2/s3_metadata.proto +0 -14
- package/protos/com/coralogix/blobset/v2/source_map.proto +0 -30
- package/protos/com/coralogix/rum/v2/analytics.proto +0 -57
- package/protos/com/coralogix/rum/v2/application_releases.proto +0 -14
- package/protos/com/coralogix/rum/v2/audit_log.proto +0 -13
- package/protos/com/coralogix/rum/v2/chunk.proto +0 -24
- package/protos/com/coralogix/rum/v2/file.proto +0 -8
- package/protos/com/coralogix/rum/v2/hide_errors.proto +0 -19
- package/protos/com/coralogix/rum/v2/merge_error.proto +0 -13
- package/protos/com/coralogix/rum/v2/release_entity_metadata.proto +0 -51
- package/protos/com/coralogix/rum/v2/release_entity_type.proto +0 -11
- package/protos/com/coralogix/rum/v2/rum_hide_errors_service.proto +0 -42
- package/protos/com/coralogix/rum/v2/rum_merge_erros_service.proto +0 -42
- package/protos/com/coralogix/rum/v2/rum_react_native_source_map_service.proto +0 -19
- package/protos/com/coralogix/rum/v2/rum_saved_filters_service.proto +0 -117
- package/protos/com/coralogix/rum/v2/rum_sdk_versions.proto +0 -17
- package/protos/com/coralogix/rum/v2/rum_service.proto +0 -167
- package/protos/com/coralogix/rum/v2/rum_session_recording_service.proto +0 -4
- package/protos/com/coralogix/rum/v2/rum_settings.proto +0 -26
- package/protos/com/coralogix/rum/v2/rum_settings_service.proto +0 -23
- package/protos/com/coralogix/rum/v2/rum_source_map_service.proto +0 -69
- package/protos/com/coralogix/rum/v2/saved_filter.proto +0 -31
- package/protos/com/coralogix/rum/v2/source_code_file_mapping.proto +0 -16
- package/protos/com/coralogix/rum/v2/source_map_release.proto +0 -18
- package/protos/com/coralogix/rum/v2/template.proto +0 -42
- package/protoset.bin +0 -0
|
@@ -1,466 +0,0 @@
|
|
|
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/blobset/v2/proguard.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "com.coralogix.blobset.v2";
|
|
11
|
-
|
|
12
|
-
export interface StackFrame {
|
|
13
|
-
className: string;
|
|
14
|
-
functionName: string;
|
|
15
|
-
lineNumber: number;
|
|
16
|
-
fileName?: string | undefined;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface StackFrameMapping {
|
|
20
|
-
originalFrame: StackFrame | undefined;
|
|
21
|
-
mappedFrame: StackFrame | undefined;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface GetMappedAndroidStackTraceRequest {
|
|
25
|
-
application: string;
|
|
26
|
-
releaseId: string;
|
|
27
|
-
stackFrames: StackFrame[];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface GetMappedAndroidStackTraceResponse {
|
|
31
|
-
application: string;
|
|
32
|
-
releaseId: string;
|
|
33
|
-
mappedStackFrames: StackFrameMapping[];
|
|
34
|
-
commitHash?: string | undefined;
|
|
35
|
-
repoName?: string | undefined;
|
|
36
|
-
user?: string | undefined;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function createBaseStackFrame(): StackFrame {
|
|
40
|
-
return { className: "", functionName: "", lineNumber: 0, fileName: undefined };
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export const StackFrame = {
|
|
44
|
-
encode(message: StackFrame, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
45
|
-
if (message.className !== "") {
|
|
46
|
-
writer.uint32(10).string(message.className);
|
|
47
|
-
}
|
|
48
|
-
if (message.functionName !== "") {
|
|
49
|
-
writer.uint32(18).string(message.functionName);
|
|
50
|
-
}
|
|
51
|
-
if (message.lineNumber !== 0) {
|
|
52
|
-
writer.uint32(24).int32(message.lineNumber);
|
|
53
|
-
}
|
|
54
|
-
if (message.fileName !== undefined) {
|
|
55
|
-
writer.uint32(34).string(message.fileName);
|
|
56
|
-
}
|
|
57
|
-
return writer;
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): StackFrame {
|
|
61
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
62
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
63
|
-
const message = createBaseStackFrame();
|
|
64
|
-
while (reader.pos < end) {
|
|
65
|
-
const tag = reader.uint32();
|
|
66
|
-
switch (tag >>> 3) {
|
|
67
|
-
case 1:
|
|
68
|
-
if (tag !== 10) {
|
|
69
|
-
break;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message.className = reader.string();
|
|
73
|
-
continue;
|
|
74
|
-
case 2:
|
|
75
|
-
if (tag !== 18) {
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message.functionName = reader.string();
|
|
80
|
-
continue;
|
|
81
|
-
case 3:
|
|
82
|
-
if (tag !== 24) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
message.lineNumber = reader.int32();
|
|
87
|
-
continue;
|
|
88
|
-
case 4:
|
|
89
|
-
if (tag !== 34) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
message.fileName = reader.string();
|
|
94
|
-
continue;
|
|
95
|
-
}
|
|
96
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
reader.skipType(tag & 7);
|
|
100
|
-
}
|
|
101
|
-
return message;
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
fromJSON(object: any): StackFrame {
|
|
105
|
-
return {
|
|
106
|
-
className: isSet(object.className) ? globalThis.String(object.className) : "",
|
|
107
|
-
functionName: isSet(object.functionName) ? globalThis.String(object.functionName) : "",
|
|
108
|
-
lineNumber: isSet(object.lineNumber) ? globalThis.Number(object.lineNumber) : 0,
|
|
109
|
-
fileName: isSet(object.fileName) ? globalThis.String(object.fileName) : undefined,
|
|
110
|
-
};
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
toJSON(message: StackFrame): unknown {
|
|
114
|
-
const obj: any = {};
|
|
115
|
-
if (message.className !== "") {
|
|
116
|
-
obj.className = message.className;
|
|
117
|
-
}
|
|
118
|
-
if (message.functionName !== "") {
|
|
119
|
-
obj.functionName = message.functionName;
|
|
120
|
-
}
|
|
121
|
-
if (message.lineNumber !== 0) {
|
|
122
|
-
obj.lineNumber = Math.round(message.lineNumber);
|
|
123
|
-
}
|
|
124
|
-
if (message.fileName !== undefined) {
|
|
125
|
-
obj.fileName = message.fileName;
|
|
126
|
-
}
|
|
127
|
-
return obj;
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
create(base?: DeepPartial<StackFrame>): StackFrame {
|
|
131
|
-
return StackFrame.fromPartial(base ?? {});
|
|
132
|
-
},
|
|
133
|
-
fromPartial(object: DeepPartial<StackFrame>): StackFrame {
|
|
134
|
-
const message = createBaseStackFrame();
|
|
135
|
-
message.className = object.className ?? "";
|
|
136
|
-
message.functionName = object.functionName ?? "";
|
|
137
|
-
message.lineNumber = object.lineNumber ?? 0;
|
|
138
|
-
message.fileName = object.fileName ?? undefined;
|
|
139
|
-
return message;
|
|
140
|
-
},
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
function createBaseStackFrameMapping(): StackFrameMapping {
|
|
144
|
-
return { originalFrame: undefined, mappedFrame: undefined };
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export const StackFrameMapping = {
|
|
148
|
-
encode(message: StackFrameMapping, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
149
|
-
if (message.originalFrame !== undefined) {
|
|
150
|
-
StackFrame.encode(message.originalFrame, writer.uint32(10).fork()).ldelim();
|
|
151
|
-
}
|
|
152
|
-
if (message.mappedFrame !== undefined) {
|
|
153
|
-
StackFrame.encode(message.mappedFrame, writer.uint32(18).fork()).ldelim();
|
|
154
|
-
}
|
|
155
|
-
return writer;
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): StackFrameMapping {
|
|
159
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
160
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
161
|
-
const message = createBaseStackFrameMapping();
|
|
162
|
-
while (reader.pos < end) {
|
|
163
|
-
const tag = reader.uint32();
|
|
164
|
-
switch (tag >>> 3) {
|
|
165
|
-
case 1:
|
|
166
|
-
if (tag !== 10) {
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
message.originalFrame = StackFrame.decode(reader, reader.uint32());
|
|
171
|
-
continue;
|
|
172
|
-
case 2:
|
|
173
|
-
if (tag !== 18) {
|
|
174
|
-
break;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
message.mappedFrame = StackFrame.decode(reader, reader.uint32());
|
|
178
|
-
continue;
|
|
179
|
-
}
|
|
180
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
181
|
-
break;
|
|
182
|
-
}
|
|
183
|
-
reader.skipType(tag & 7);
|
|
184
|
-
}
|
|
185
|
-
return message;
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
fromJSON(object: any): StackFrameMapping {
|
|
189
|
-
return {
|
|
190
|
-
originalFrame: isSet(object.originalFrame) ? StackFrame.fromJSON(object.originalFrame) : undefined,
|
|
191
|
-
mappedFrame: isSet(object.mappedFrame) ? StackFrame.fromJSON(object.mappedFrame) : undefined,
|
|
192
|
-
};
|
|
193
|
-
},
|
|
194
|
-
|
|
195
|
-
toJSON(message: StackFrameMapping): unknown {
|
|
196
|
-
const obj: any = {};
|
|
197
|
-
if (message.originalFrame !== undefined) {
|
|
198
|
-
obj.originalFrame = StackFrame.toJSON(message.originalFrame);
|
|
199
|
-
}
|
|
200
|
-
if (message.mappedFrame !== undefined) {
|
|
201
|
-
obj.mappedFrame = StackFrame.toJSON(message.mappedFrame);
|
|
202
|
-
}
|
|
203
|
-
return obj;
|
|
204
|
-
},
|
|
205
|
-
|
|
206
|
-
create(base?: DeepPartial<StackFrameMapping>): StackFrameMapping {
|
|
207
|
-
return StackFrameMapping.fromPartial(base ?? {});
|
|
208
|
-
},
|
|
209
|
-
fromPartial(object: DeepPartial<StackFrameMapping>): StackFrameMapping {
|
|
210
|
-
const message = createBaseStackFrameMapping();
|
|
211
|
-
message.originalFrame = (object.originalFrame !== undefined && object.originalFrame !== null)
|
|
212
|
-
? StackFrame.fromPartial(object.originalFrame)
|
|
213
|
-
: undefined;
|
|
214
|
-
message.mappedFrame = (object.mappedFrame !== undefined && object.mappedFrame !== null)
|
|
215
|
-
? StackFrame.fromPartial(object.mappedFrame)
|
|
216
|
-
: undefined;
|
|
217
|
-
return message;
|
|
218
|
-
},
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
function createBaseGetMappedAndroidStackTraceRequest(): GetMappedAndroidStackTraceRequest {
|
|
222
|
-
return { application: "", releaseId: "", stackFrames: [] };
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
export const GetMappedAndroidStackTraceRequest = {
|
|
226
|
-
encode(message: GetMappedAndroidStackTraceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
227
|
-
if (message.application !== "") {
|
|
228
|
-
writer.uint32(10).string(message.application);
|
|
229
|
-
}
|
|
230
|
-
if (message.releaseId !== "") {
|
|
231
|
-
writer.uint32(18).string(message.releaseId);
|
|
232
|
-
}
|
|
233
|
-
for (const v of message.stackFrames) {
|
|
234
|
-
StackFrame.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
235
|
-
}
|
|
236
|
-
return writer;
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetMappedAndroidStackTraceRequest {
|
|
240
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
241
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
242
|
-
const message = createBaseGetMappedAndroidStackTraceRequest();
|
|
243
|
-
while (reader.pos < end) {
|
|
244
|
-
const tag = reader.uint32();
|
|
245
|
-
switch (tag >>> 3) {
|
|
246
|
-
case 1:
|
|
247
|
-
if (tag !== 10) {
|
|
248
|
-
break;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
message.application = reader.string();
|
|
252
|
-
continue;
|
|
253
|
-
case 2:
|
|
254
|
-
if (tag !== 18) {
|
|
255
|
-
break;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
message.releaseId = reader.string();
|
|
259
|
-
continue;
|
|
260
|
-
case 3:
|
|
261
|
-
if (tag !== 26) {
|
|
262
|
-
break;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
message.stackFrames.push(StackFrame.decode(reader, reader.uint32()));
|
|
266
|
-
continue;
|
|
267
|
-
}
|
|
268
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
269
|
-
break;
|
|
270
|
-
}
|
|
271
|
-
reader.skipType(tag & 7);
|
|
272
|
-
}
|
|
273
|
-
return message;
|
|
274
|
-
},
|
|
275
|
-
|
|
276
|
-
fromJSON(object: any): GetMappedAndroidStackTraceRequest {
|
|
277
|
-
return {
|
|
278
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
279
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
280
|
-
stackFrames: globalThis.Array.isArray(object?.stackFrames)
|
|
281
|
-
? object.stackFrames.map((e: any) => StackFrame.fromJSON(e))
|
|
282
|
-
: [],
|
|
283
|
-
};
|
|
284
|
-
},
|
|
285
|
-
|
|
286
|
-
toJSON(message: GetMappedAndroidStackTraceRequest): unknown {
|
|
287
|
-
const obj: any = {};
|
|
288
|
-
if (message.application !== "") {
|
|
289
|
-
obj.application = message.application;
|
|
290
|
-
}
|
|
291
|
-
if (message.releaseId !== "") {
|
|
292
|
-
obj.releaseId = message.releaseId;
|
|
293
|
-
}
|
|
294
|
-
if (message.stackFrames?.length) {
|
|
295
|
-
obj.stackFrames = message.stackFrames.map((e) => StackFrame.toJSON(e));
|
|
296
|
-
}
|
|
297
|
-
return obj;
|
|
298
|
-
},
|
|
299
|
-
|
|
300
|
-
create(base?: DeepPartial<GetMappedAndroidStackTraceRequest>): GetMappedAndroidStackTraceRequest {
|
|
301
|
-
return GetMappedAndroidStackTraceRequest.fromPartial(base ?? {});
|
|
302
|
-
},
|
|
303
|
-
fromPartial(object: DeepPartial<GetMappedAndroidStackTraceRequest>): GetMappedAndroidStackTraceRequest {
|
|
304
|
-
const message = createBaseGetMappedAndroidStackTraceRequest();
|
|
305
|
-
message.application = object.application ?? "";
|
|
306
|
-
message.releaseId = object.releaseId ?? "";
|
|
307
|
-
message.stackFrames = object.stackFrames?.map((e) => StackFrame.fromPartial(e)) || [];
|
|
308
|
-
return message;
|
|
309
|
-
},
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
function createBaseGetMappedAndroidStackTraceResponse(): GetMappedAndroidStackTraceResponse {
|
|
313
|
-
return {
|
|
314
|
-
application: "",
|
|
315
|
-
releaseId: "",
|
|
316
|
-
mappedStackFrames: [],
|
|
317
|
-
commitHash: undefined,
|
|
318
|
-
repoName: undefined,
|
|
319
|
-
user: undefined,
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
export const GetMappedAndroidStackTraceResponse = {
|
|
324
|
-
encode(message: GetMappedAndroidStackTraceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
325
|
-
if (message.application !== "") {
|
|
326
|
-
writer.uint32(10).string(message.application);
|
|
327
|
-
}
|
|
328
|
-
if (message.releaseId !== "") {
|
|
329
|
-
writer.uint32(18).string(message.releaseId);
|
|
330
|
-
}
|
|
331
|
-
for (const v of message.mappedStackFrames) {
|
|
332
|
-
StackFrameMapping.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
333
|
-
}
|
|
334
|
-
if (message.commitHash !== undefined) {
|
|
335
|
-
writer.uint32(34).string(message.commitHash);
|
|
336
|
-
}
|
|
337
|
-
if (message.repoName !== undefined) {
|
|
338
|
-
writer.uint32(42).string(message.repoName);
|
|
339
|
-
}
|
|
340
|
-
if (message.user !== undefined) {
|
|
341
|
-
writer.uint32(50).string(message.user);
|
|
342
|
-
}
|
|
343
|
-
return writer;
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetMappedAndroidStackTraceResponse {
|
|
347
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
348
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
349
|
-
const message = createBaseGetMappedAndroidStackTraceResponse();
|
|
350
|
-
while (reader.pos < end) {
|
|
351
|
-
const tag = reader.uint32();
|
|
352
|
-
switch (tag >>> 3) {
|
|
353
|
-
case 1:
|
|
354
|
-
if (tag !== 10) {
|
|
355
|
-
break;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
message.application = reader.string();
|
|
359
|
-
continue;
|
|
360
|
-
case 2:
|
|
361
|
-
if (tag !== 18) {
|
|
362
|
-
break;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
message.releaseId = reader.string();
|
|
366
|
-
continue;
|
|
367
|
-
case 3:
|
|
368
|
-
if (tag !== 26) {
|
|
369
|
-
break;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
message.mappedStackFrames.push(StackFrameMapping.decode(reader, reader.uint32()));
|
|
373
|
-
continue;
|
|
374
|
-
case 4:
|
|
375
|
-
if (tag !== 34) {
|
|
376
|
-
break;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
message.commitHash = reader.string();
|
|
380
|
-
continue;
|
|
381
|
-
case 5:
|
|
382
|
-
if (tag !== 42) {
|
|
383
|
-
break;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
message.repoName = reader.string();
|
|
387
|
-
continue;
|
|
388
|
-
case 6:
|
|
389
|
-
if (tag !== 50) {
|
|
390
|
-
break;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
message.user = reader.string();
|
|
394
|
-
continue;
|
|
395
|
-
}
|
|
396
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
397
|
-
break;
|
|
398
|
-
}
|
|
399
|
-
reader.skipType(tag & 7);
|
|
400
|
-
}
|
|
401
|
-
return message;
|
|
402
|
-
},
|
|
403
|
-
|
|
404
|
-
fromJSON(object: any): GetMappedAndroidStackTraceResponse {
|
|
405
|
-
return {
|
|
406
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
407
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
408
|
-
mappedStackFrames: globalThis.Array.isArray(object?.mappedStackFrames)
|
|
409
|
-
? object.mappedStackFrames.map((e: any) => StackFrameMapping.fromJSON(e))
|
|
410
|
-
: [],
|
|
411
|
-
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
412
|
-
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
413
|
-
user: isSet(object.user) ? globalThis.String(object.user) : undefined,
|
|
414
|
-
};
|
|
415
|
-
},
|
|
416
|
-
|
|
417
|
-
toJSON(message: GetMappedAndroidStackTraceResponse): unknown {
|
|
418
|
-
const obj: any = {};
|
|
419
|
-
if (message.application !== "") {
|
|
420
|
-
obj.application = message.application;
|
|
421
|
-
}
|
|
422
|
-
if (message.releaseId !== "") {
|
|
423
|
-
obj.releaseId = message.releaseId;
|
|
424
|
-
}
|
|
425
|
-
if (message.mappedStackFrames?.length) {
|
|
426
|
-
obj.mappedStackFrames = message.mappedStackFrames.map((e) => StackFrameMapping.toJSON(e));
|
|
427
|
-
}
|
|
428
|
-
if (message.commitHash !== undefined) {
|
|
429
|
-
obj.commitHash = message.commitHash;
|
|
430
|
-
}
|
|
431
|
-
if (message.repoName !== undefined) {
|
|
432
|
-
obj.repoName = message.repoName;
|
|
433
|
-
}
|
|
434
|
-
if (message.user !== undefined) {
|
|
435
|
-
obj.user = message.user;
|
|
436
|
-
}
|
|
437
|
-
return obj;
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
create(base?: DeepPartial<GetMappedAndroidStackTraceResponse>): GetMappedAndroidStackTraceResponse {
|
|
441
|
-
return GetMappedAndroidStackTraceResponse.fromPartial(base ?? {});
|
|
442
|
-
},
|
|
443
|
-
fromPartial(object: DeepPartial<GetMappedAndroidStackTraceResponse>): GetMappedAndroidStackTraceResponse {
|
|
444
|
-
const message = createBaseGetMappedAndroidStackTraceResponse();
|
|
445
|
-
message.application = object.application ?? "";
|
|
446
|
-
message.releaseId = object.releaseId ?? "";
|
|
447
|
-
message.mappedStackFrames = object.mappedStackFrames?.map((e) => StackFrameMapping.fromPartial(e)) || [];
|
|
448
|
-
message.commitHash = object.commitHash ?? undefined;
|
|
449
|
-
message.repoName = object.repoName ?? undefined;
|
|
450
|
-
message.user = object.user ?? undefined;
|
|
451
|
-
return message;
|
|
452
|
-
},
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
456
|
-
|
|
457
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
458
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
459
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
460
|
-
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
461
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
462
|
-
: Partial<T>;
|
|
463
|
-
|
|
464
|
-
function isSet(value: any): boolean {
|
|
465
|
-
return value !== null && value !== undefined;
|
|
466
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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/blobset/v2/s3_metadata.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
import { EntityMetadata } from "./entity_metadata";
|
|
10
|
-
import { EntityType, entityTypeFromJSON, entityTypeToJSON } from "./entity_type";
|
|
11
|
-
|
|
12
|
-
export const protobufPackage = "com.coralogix.blobset.v2";
|
|
13
|
-
|
|
14
|
-
export interface S3Metadata {
|
|
15
|
-
bucket: string;
|
|
16
|
-
key: string;
|
|
17
|
-
companyId: string;
|
|
18
|
-
entityMetadata: EntityMetadata | undefined;
|
|
19
|
-
entityType: EntityType;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function createBaseS3Metadata(): S3Metadata {
|
|
23
|
-
return { bucket: "", key: "", companyId: "", entityMetadata: undefined, entityType: 0 };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const S3Metadata = {
|
|
27
|
-
encode(message: S3Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
28
|
-
if (message.bucket !== "") {
|
|
29
|
-
writer.uint32(10).string(message.bucket);
|
|
30
|
-
}
|
|
31
|
-
if (message.key !== "") {
|
|
32
|
-
writer.uint32(18).string(message.key);
|
|
33
|
-
}
|
|
34
|
-
if (message.companyId !== "") {
|
|
35
|
-
writer.uint32(26).string(message.companyId);
|
|
36
|
-
}
|
|
37
|
-
if (message.entityMetadata !== undefined) {
|
|
38
|
-
EntityMetadata.encode(message.entityMetadata, writer.uint32(34).fork()).ldelim();
|
|
39
|
-
}
|
|
40
|
-
if (message.entityType !== 0) {
|
|
41
|
-
writer.uint32(40).int32(message.entityType);
|
|
42
|
-
}
|
|
43
|
-
return writer;
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): S3Metadata {
|
|
47
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
48
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
49
|
-
const message = createBaseS3Metadata();
|
|
50
|
-
while (reader.pos < end) {
|
|
51
|
-
const tag = reader.uint32();
|
|
52
|
-
switch (tag >>> 3) {
|
|
53
|
-
case 1:
|
|
54
|
-
if (tag !== 10) {
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message.bucket = reader.string();
|
|
59
|
-
continue;
|
|
60
|
-
case 2:
|
|
61
|
-
if (tag !== 18) {
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message.key = reader.string();
|
|
66
|
-
continue;
|
|
67
|
-
case 3:
|
|
68
|
-
if (tag !== 26) {
|
|
69
|
-
break;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message.companyId = reader.string();
|
|
73
|
-
continue;
|
|
74
|
-
case 4:
|
|
75
|
-
if (tag !== 34) {
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message.entityMetadata = EntityMetadata.decode(reader, reader.uint32());
|
|
80
|
-
continue;
|
|
81
|
-
case 5:
|
|
82
|
-
if (tag !== 40) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
message.entityType = reader.int32() as any;
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
reader.skipType(tag & 7);
|
|
93
|
-
}
|
|
94
|
-
return message;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
fromJSON(object: any): S3Metadata {
|
|
98
|
-
return {
|
|
99
|
-
bucket: isSet(object.bucket) ? globalThis.String(object.bucket) : "",
|
|
100
|
-
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
101
|
-
companyId: isSet(object.companyId) ? globalThis.String(object.companyId) : "",
|
|
102
|
-
entityMetadata: isSet(object.entityMetadata) ? EntityMetadata.fromJSON(object.entityMetadata) : undefined,
|
|
103
|
-
entityType: isSet(object.entityType) ? entityTypeFromJSON(object.entityType) : 0,
|
|
104
|
-
};
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
toJSON(message: S3Metadata): unknown {
|
|
108
|
-
const obj: any = {};
|
|
109
|
-
if (message.bucket !== "") {
|
|
110
|
-
obj.bucket = message.bucket;
|
|
111
|
-
}
|
|
112
|
-
if (message.key !== "") {
|
|
113
|
-
obj.key = message.key;
|
|
114
|
-
}
|
|
115
|
-
if (message.companyId !== "") {
|
|
116
|
-
obj.companyId = message.companyId;
|
|
117
|
-
}
|
|
118
|
-
if (message.entityMetadata !== undefined) {
|
|
119
|
-
obj.entityMetadata = EntityMetadata.toJSON(message.entityMetadata);
|
|
120
|
-
}
|
|
121
|
-
if (message.entityType !== 0) {
|
|
122
|
-
obj.entityType = entityTypeToJSON(message.entityType);
|
|
123
|
-
}
|
|
124
|
-
return obj;
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
create(base?: DeepPartial<S3Metadata>): S3Metadata {
|
|
128
|
-
return S3Metadata.fromPartial(base ?? {});
|
|
129
|
-
},
|
|
130
|
-
fromPartial(object: DeepPartial<S3Metadata>): S3Metadata {
|
|
131
|
-
const message = createBaseS3Metadata();
|
|
132
|
-
message.bucket = object.bucket ?? "";
|
|
133
|
-
message.key = object.key ?? "";
|
|
134
|
-
message.companyId = object.companyId ?? "";
|
|
135
|
-
message.entityMetadata = (object.entityMetadata !== undefined && object.entityMetadata !== null)
|
|
136
|
-
? EntityMetadata.fromPartial(object.entityMetadata)
|
|
137
|
-
: undefined;
|
|
138
|
-
message.entityType = object.entityType ?? 0;
|
|
139
|
-
return message;
|
|
140
|
-
},
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
144
|
-
|
|
145
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
146
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
147
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
148
|
-
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
149
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
150
|
-
: Partial<T>;
|
|
151
|
-
|
|
152
|
-
function isSet(value: any): boolean {
|
|
153
|
-
return value !== null && value !== undefined;
|
|
154
|
-
}
|