@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,791 +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/rum/v2/release_entity_metadata.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "com.coralogix.rum.v2";
|
|
11
|
-
|
|
12
|
-
export interface DsymMetadata {
|
|
13
|
-
application: string;
|
|
14
|
-
releaseId: string;
|
|
15
|
-
commitHash?: string | undefined;
|
|
16
|
-
repoName?: string | undefined;
|
|
17
|
-
orgName?: string | undefined;
|
|
18
|
-
internalVersion?: number | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface SourceMapMetadata {
|
|
22
|
-
application: string;
|
|
23
|
-
releaseId: string;
|
|
24
|
-
commitHash?: string | undefined;
|
|
25
|
-
repoName?: string | undefined;
|
|
26
|
-
orgName?: string | undefined;
|
|
27
|
-
internalVersion?: number | undefined;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface ReactNativeMetadata {
|
|
31
|
-
application: string;
|
|
32
|
-
releaseId: string;
|
|
33
|
-
commitHash?: string | undefined;
|
|
34
|
-
repoName?: string | undefined;
|
|
35
|
-
orgName?: string | undefined;
|
|
36
|
-
internalVersion?: number | undefined;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface ProguardMetadata {
|
|
40
|
-
application: string;
|
|
41
|
-
releaseId: string;
|
|
42
|
-
commitHash?: string | undefined;
|
|
43
|
-
repoName?: string | undefined;
|
|
44
|
-
orgName?: string | undefined;
|
|
45
|
-
internalVersion?: number | undefined;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface ReleaseEntityMetadata {
|
|
49
|
-
metadata?:
|
|
50
|
-
| { $case: "dsymMetadata"; dsymMetadata: DsymMetadata }
|
|
51
|
-
| { $case: "sourceMapMetadata"; sourceMapMetadata: SourceMapMetadata }
|
|
52
|
-
| { $case: "reactNativeMetadata"; reactNativeMetadata: ReactNativeMetadata }
|
|
53
|
-
| { $case: "proguardMetadata"; proguardMetadata: ProguardMetadata }
|
|
54
|
-
| undefined;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function createBaseDsymMetadata(): DsymMetadata {
|
|
58
|
-
return {
|
|
59
|
-
application: "",
|
|
60
|
-
releaseId: "",
|
|
61
|
-
commitHash: undefined,
|
|
62
|
-
repoName: undefined,
|
|
63
|
-
orgName: undefined,
|
|
64
|
-
internalVersion: undefined,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const DsymMetadata = {
|
|
69
|
-
encode(message: DsymMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
70
|
-
if (message.application !== "") {
|
|
71
|
-
writer.uint32(10).string(message.application);
|
|
72
|
-
}
|
|
73
|
-
if (message.releaseId !== "") {
|
|
74
|
-
writer.uint32(18).string(message.releaseId);
|
|
75
|
-
}
|
|
76
|
-
if (message.commitHash !== undefined) {
|
|
77
|
-
writer.uint32(26).string(message.commitHash);
|
|
78
|
-
}
|
|
79
|
-
if (message.repoName !== undefined) {
|
|
80
|
-
writer.uint32(34).string(message.repoName);
|
|
81
|
-
}
|
|
82
|
-
if (message.orgName !== undefined) {
|
|
83
|
-
writer.uint32(42).string(message.orgName);
|
|
84
|
-
}
|
|
85
|
-
if (message.internalVersion !== undefined) {
|
|
86
|
-
writer.uint32(48).int32(message.internalVersion);
|
|
87
|
-
}
|
|
88
|
-
return writer;
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DsymMetadata {
|
|
92
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
93
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
-
const message = createBaseDsymMetadata();
|
|
95
|
-
while (reader.pos < end) {
|
|
96
|
-
const tag = reader.uint32();
|
|
97
|
-
switch (tag >>> 3) {
|
|
98
|
-
case 1:
|
|
99
|
-
if (tag !== 10) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
message.application = reader.string();
|
|
104
|
-
continue;
|
|
105
|
-
case 2:
|
|
106
|
-
if (tag !== 18) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
message.releaseId = reader.string();
|
|
111
|
-
continue;
|
|
112
|
-
case 3:
|
|
113
|
-
if (tag !== 26) {
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
message.commitHash = reader.string();
|
|
118
|
-
continue;
|
|
119
|
-
case 4:
|
|
120
|
-
if (tag !== 34) {
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
message.repoName = reader.string();
|
|
125
|
-
continue;
|
|
126
|
-
case 5:
|
|
127
|
-
if (tag !== 42) {
|
|
128
|
-
break;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
message.orgName = reader.string();
|
|
132
|
-
continue;
|
|
133
|
-
case 6:
|
|
134
|
-
if (tag !== 48) {
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
message.internalVersion = reader.int32();
|
|
139
|
-
continue;
|
|
140
|
-
}
|
|
141
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
142
|
-
break;
|
|
143
|
-
}
|
|
144
|
-
reader.skipType(tag & 7);
|
|
145
|
-
}
|
|
146
|
-
return message;
|
|
147
|
-
},
|
|
148
|
-
|
|
149
|
-
fromJSON(object: any): DsymMetadata {
|
|
150
|
-
return {
|
|
151
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
152
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
153
|
-
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
154
|
-
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
155
|
-
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
156
|
-
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
157
|
-
};
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
toJSON(message: DsymMetadata): unknown {
|
|
161
|
-
const obj: any = {};
|
|
162
|
-
if (message.application !== "") {
|
|
163
|
-
obj.application = message.application;
|
|
164
|
-
}
|
|
165
|
-
if (message.releaseId !== "") {
|
|
166
|
-
obj.releaseId = message.releaseId;
|
|
167
|
-
}
|
|
168
|
-
if (message.commitHash !== undefined) {
|
|
169
|
-
obj.commitHash = message.commitHash;
|
|
170
|
-
}
|
|
171
|
-
if (message.repoName !== undefined) {
|
|
172
|
-
obj.repoName = message.repoName;
|
|
173
|
-
}
|
|
174
|
-
if (message.orgName !== undefined) {
|
|
175
|
-
obj.orgName = message.orgName;
|
|
176
|
-
}
|
|
177
|
-
if (message.internalVersion !== undefined) {
|
|
178
|
-
obj.internalVersion = Math.round(message.internalVersion);
|
|
179
|
-
}
|
|
180
|
-
return obj;
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
create(base?: DeepPartial<DsymMetadata>): DsymMetadata {
|
|
184
|
-
return DsymMetadata.fromPartial(base ?? {});
|
|
185
|
-
},
|
|
186
|
-
fromPartial(object: DeepPartial<DsymMetadata>): DsymMetadata {
|
|
187
|
-
const message = createBaseDsymMetadata();
|
|
188
|
-
message.application = object.application ?? "";
|
|
189
|
-
message.releaseId = object.releaseId ?? "";
|
|
190
|
-
message.commitHash = object.commitHash ?? undefined;
|
|
191
|
-
message.repoName = object.repoName ?? undefined;
|
|
192
|
-
message.orgName = object.orgName ?? undefined;
|
|
193
|
-
message.internalVersion = object.internalVersion ?? undefined;
|
|
194
|
-
return message;
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
function createBaseSourceMapMetadata(): SourceMapMetadata {
|
|
199
|
-
return {
|
|
200
|
-
application: "",
|
|
201
|
-
releaseId: "",
|
|
202
|
-
commitHash: undefined,
|
|
203
|
-
repoName: undefined,
|
|
204
|
-
orgName: undefined,
|
|
205
|
-
internalVersion: undefined,
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export const SourceMapMetadata = {
|
|
210
|
-
encode(message: SourceMapMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
211
|
-
if (message.application !== "") {
|
|
212
|
-
writer.uint32(10).string(message.application);
|
|
213
|
-
}
|
|
214
|
-
if (message.releaseId !== "") {
|
|
215
|
-
writer.uint32(18).string(message.releaseId);
|
|
216
|
-
}
|
|
217
|
-
if (message.commitHash !== undefined) {
|
|
218
|
-
writer.uint32(26).string(message.commitHash);
|
|
219
|
-
}
|
|
220
|
-
if (message.repoName !== undefined) {
|
|
221
|
-
writer.uint32(34).string(message.repoName);
|
|
222
|
-
}
|
|
223
|
-
if (message.orgName !== undefined) {
|
|
224
|
-
writer.uint32(42).string(message.orgName);
|
|
225
|
-
}
|
|
226
|
-
if (message.internalVersion !== undefined) {
|
|
227
|
-
writer.uint32(48).int32(message.internalVersion);
|
|
228
|
-
}
|
|
229
|
-
return writer;
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SourceMapMetadata {
|
|
233
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
234
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
235
|
-
const message = createBaseSourceMapMetadata();
|
|
236
|
-
while (reader.pos < end) {
|
|
237
|
-
const tag = reader.uint32();
|
|
238
|
-
switch (tag >>> 3) {
|
|
239
|
-
case 1:
|
|
240
|
-
if (tag !== 10) {
|
|
241
|
-
break;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
message.application = reader.string();
|
|
245
|
-
continue;
|
|
246
|
-
case 2:
|
|
247
|
-
if (tag !== 18) {
|
|
248
|
-
break;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
message.releaseId = reader.string();
|
|
252
|
-
continue;
|
|
253
|
-
case 3:
|
|
254
|
-
if (tag !== 26) {
|
|
255
|
-
break;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
message.commitHash = reader.string();
|
|
259
|
-
continue;
|
|
260
|
-
case 4:
|
|
261
|
-
if (tag !== 34) {
|
|
262
|
-
break;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
message.repoName = reader.string();
|
|
266
|
-
continue;
|
|
267
|
-
case 5:
|
|
268
|
-
if (tag !== 42) {
|
|
269
|
-
break;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
message.orgName = reader.string();
|
|
273
|
-
continue;
|
|
274
|
-
case 6:
|
|
275
|
-
if (tag !== 48) {
|
|
276
|
-
break;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
message.internalVersion = reader.int32();
|
|
280
|
-
continue;
|
|
281
|
-
}
|
|
282
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
283
|
-
break;
|
|
284
|
-
}
|
|
285
|
-
reader.skipType(tag & 7);
|
|
286
|
-
}
|
|
287
|
-
return message;
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
fromJSON(object: any): SourceMapMetadata {
|
|
291
|
-
return {
|
|
292
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
293
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
294
|
-
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
295
|
-
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
296
|
-
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
297
|
-
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
298
|
-
};
|
|
299
|
-
},
|
|
300
|
-
|
|
301
|
-
toJSON(message: SourceMapMetadata): unknown {
|
|
302
|
-
const obj: any = {};
|
|
303
|
-
if (message.application !== "") {
|
|
304
|
-
obj.application = message.application;
|
|
305
|
-
}
|
|
306
|
-
if (message.releaseId !== "") {
|
|
307
|
-
obj.releaseId = message.releaseId;
|
|
308
|
-
}
|
|
309
|
-
if (message.commitHash !== undefined) {
|
|
310
|
-
obj.commitHash = message.commitHash;
|
|
311
|
-
}
|
|
312
|
-
if (message.repoName !== undefined) {
|
|
313
|
-
obj.repoName = message.repoName;
|
|
314
|
-
}
|
|
315
|
-
if (message.orgName !== undefined) {
|
|
316
|
-
obj.orgName = message.orgName;
|
|
317
|
-
}
|
|
318
|
-
if (message.internalVersion !== undefined) {
|
|
319
|
-
obj.internalVersion = Math.round(message.internalVersion);
|
|
320
|
-
}
|
|
321
|
-
return obj;
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
create(base?: DeepPartial<SourceMapMetadata>): SourceMapMetadata {
|
|
325
|
-
return SourceMapMetadata.fromPartial(base ?? {});
|
|
326
|
-
},
|
|
327
|
-
fromPartial(object: DeepPartial<SourceMapMetadata>): SourceMapMetadata {
|
|
328
|
-
const message = createBaseSourceMapMetadata();
|
|
329
|
-
message.application = object.application ?? "";
|
|
330
|
-
message.releaseId = object.releaseId ?? "";
|
|
331
|
-
message.commitHash = object.commitHash ?? undefined;
|
|
332
|
-
message.repoName = object.repoName ?? undefined;
|
|
333
|
-
message.orgName = object.orgName ?? undefined;
|
|
334
|
-
message.internalVersion = object.internalVersion ?? undefined;
|
|
335
|
-
return message;
|
|
336
|
-
},
|
|
337
|
-
};
|
|
338
|
-
|
|
339
|
-
function createBaseReactNativeMetadata(): ReactNativeMetadata {
|
|
340
|
-
return {
|
|
341
|
-
application: "",
|
|
342
|
-
releaseId: "",
|
|
343
|
-
commitHash: undefined,
|
|
344
|
-
repoName: undefined,
|
|
345
|
-
orgName: undefined,
|
|
346
|
-
internalVersion: undefined,
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export const ReactNativeMetadata = {
|
|
351
|
-
encode(message: ReactNativeMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
352
|
-
if (message.application !== "") {
|
|
353
|
-
writer.uint32(10).string(message.application);
|
|
354
|
-
}
|
|
355
|
-
if (message.releaseId !== "") {
|
|
356
|
-
writer.uint32(18).string(message.releaseId);
|
|
357
|
-
}
|
|
358
|
-
if (message.commitHash !== undefined) {
|
|
359
|
-
writer.uint32(26).string(message.commitHash);
|
|
360
|
-
}
|
|
361
|
-
if (message.repoName !== undefined) {
|
|
362
|
-
writer.uint32(34).string(message.repoName);
|
|
363
|
-
}
|
|
364
|
-
if (message.orgName !== undefined) {
|
|
365
|
-
writer.uint32(42).string(message.orgName);
|
|
366
|
-
}
|
|
367
|
-
if (message.internalVersion !== undefined) {
|
|
368
|
-
writer.uint32(48).int32(message.internalVersion);
|
|
369
|
-
}
|
|
370
|
-
return writer;
|
|
371
|
-
},
|
|
372
|
-
|
|
373
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ReactNativeMetadata {
|
|
374
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
375
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
376
|
-
const message = createBaseReactNativeMetadata();
|
|
377
|
-
while (reader.pos < end) {
|
|
378
|
-
const tag = reader.uint32();
|
|
379
|
-
switch (tag >>> 3) {
|
|
380
|
-
case 1:
|
|
381
|
-
if (tag !== 10) {
|
|
382
|
-
break;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
message.application = reader.string();
|
|
386
|
-
continue;
|
|
387
|
-
case 2:
|
|
388
|
-
if (tag !== 18) {
|
|
389
|
-
break;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
message.releaseId = reader.string();
|
|
393
|
-
continue;
|
|
394
|
-
case 3:
|
|
395
|
-
if (tag !== 26) {
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
message.commitHash = reader.string();
|
|
400
|
-
continue;
|
|
401
|
-
case 4:
|
|
402
|
-
if (tag !== 34) {
|
|
403
|
-
break;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
message.repoName = reader.string();
|
|
407
|
-
continue;
|
|
408
|
-
case 5:
|
|
409
|
-
if (tag !== 42) {
|
|
410
|
-
break;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
message.orgName = reader.string();
|
|
414
|
-
continue;
|
|
415
|
-
case 6:
|
|
416
|
-
if (tag !== 48) {
|
|
417
|
-
break;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
message.internalVersion = reader.int32();
|
|
421
|
-
continue;
|
|
422
|
-
}
|
|
423
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
424
|
-
break;
|
|
425
|
-
}
|
|
426
|
-
reader.skipType(tag & 7);
|
|
427
|
-
}
|
|
428
|
-
return message;
|
|
429
|
-
},
|
|
430
|
-
|
|
431
|
-
fromJSON(object: any): ReactNativeMetadata {
|
|
432
|
-
return {
|
|
433
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
434
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
435
|
-
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
436
|
-
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
437
|
-
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
438
|
-
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
439
|
-
};
|
|
440
|
-
},
|
|
441
|
-
|
|
442
|
-
toJSON(message: ReactNativeMetadata): unknown {
|
|
443
|
-
const obj: any = {};
|
|
444
|
-
if (message.application !== "") {
|
|
445
|
-
obj.application = message.application;
|
|
446
|
-
}
|
|
447
|
-
if (message.releaseId !== "") {
|
|
448
|
-
obj.releaseId = message.releaseId;
|
|
449
|
-
}
|
|
450
|
-
if (message.commitHash !== undefined) {
|
|
451
|
-
obj.commitHash = message.commitHash;
|
|
452
|
-
}
|
|
453
|
-
if (message.repoName !== undefined) {
|
|
454
|
-
obj.repoName = message.repoName;
|
|
455
|
-
}
|
|
456
|
-
if (message.orgName !== undefined) {
|
|
457
|
-
obj.orgName = message.orgName;
|
|
458
|
-
}
|
|
459
|
-
if (message.internalVersion !== undefined) {
|
|
460
|
-
obj.internalVersion = Math.round(message.internalVersion);
|
|
461
|
-
}
|
|
462
|
-
return obj;
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
create(base?: DeepPartial<ReactNativeMetadata>): ReactNativeMetadata {
|
|
466
|
-
return ReactNativeMetadata.fromPartial(base ?? {});
|
|
467
|
-
},
|
|
468
|
-
fromPartial(object: DeepPartial<ReactNativeMetadata>): ReactNativeMetadata {
|
|
469
|
-
const message = createBaseReactNativeMetadata();
|
|
470
|
-
message.application = object.application ?? "";
|
|
471
|
-
message.releaseId = object.releaseId ?? "";
|
|
472
|
-
message.commitHash = object.commitHash ?? undefined;
|
|
473
|
-
message.repoName = object.repoName ?? undefined;
|
|
474
|
-
message.orgName = object.orgName ?? undefined;
|
|
475
|
-
message.internalVersion = object.internalVersion ?? undefined;
|
|
476
|
-
return message;
|
|
477
|
-
},
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
function createBaseProguardMetadata(): ProguardMetadata {
|
|
481
|
-
return {
|
|
482
|
-
application: "",
|
|
483
|
-
releaseId: "",
|
|
484
|
-
commitHash: undefined,
|
|
485
|
-
repoName: undefined,
|
|
486
|
-
orgName: undefined,
|
|
487
|
-
internalVersion: undefined,
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export const ProguardMetadata = {
|
|
492
|
-
encode(message: ProguardMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
493
|
-
if (message.application !== "") {
|
|
494
|
-
writer.uint32(10).string(message.application);
|
|
495
|
-
}
|
|
496
|
-
if (message.releaseId !== "") {
|
|
497
|
-
writer.uint32(18).string(message.releaseId);
|
|
498
|
-
}
|
|
499
|
-
if (message.commitHash !== undefined) {
|
|
500
|
-
writer.uint32(26).string(message.commitHash);
|
|
501
|
-
}
|
|
502
|
-
if (message.repoName !== undefined) {
|
|
503
|
-
writer.uint32(34).string(message.repoName);
|
|
504
|
-
}
|
|
505
|
-
if (message.orgName !== undefined) {
|
|
506
|
-
writer.uint32(42).string(message.orgName);
|
|
507
|
-
}
|
|
508
|
-
if (message.internalVersion !== undefined) {
|
|
509
|
-
writer.uint32(48).int32(message.internalVersion);
|
|
510
|
-
}
|
|
511
|
-
return writer;
|
|
512
|
-
},
|
|
513
|
-
|
|
514
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ProguardMetadata {
|
|
515
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
516
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
517
|
-
const message = createBaseProguardMetadata();
|
|
518
|
-
while (reader.pos < end) {
|
|
519
|
-
const tag = reader.uint32();
|
|
520
|
-
switch (tag >>> 3) {
|
|
521
|
-
case 1:
|
|
522
|
-
if (tag !== 10) {
|
|
523
|
-
break;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
message.application = reader.string();
|
|
527
|
-
continue;
|
|
528
|
-
case 2:
|
|
529
|
-
if (tag !== 18) {
|
|
530
|
-
break;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
message.releaseId = reader.string();
|
|
534
|
-
continue;
|
|
535
|
-
case 3:
|
|
536
|
-
if (tag !== 26) {
|
|
537
|
-
break;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
message.commitHash = reader.string();
|
|
541
|
-
continue;
|
|
542
|
-
case 4:
|
|
543
|
-
if (tag !== 34) {
|
|
544
|
-
break;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
message.repoName = reader.string();
|
|
548
|
-
continue;
|
|
549
|
-
case 5:
|
|
550
|
-
if (tag !== 42) {
|
|
551
|
-
break;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
message.orgName = reader.string();
|
|
555
|
-
continue;
|
|
556
|
-
case 6:
|
|
557
|
-
if (tag !== 48) {
|
|
558
|
-
break;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
message.internalVersion = reader.int32();
|
|
562
|
-
continue;
|
|
563
|
-
}
|
|
564
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
565
|
-
break;
|
|
566
|
-
}
|
|
567
|
-
reader.skipType(tag & 7);
|
|
568
|
-
}
|
|
569
|
-
return message;
|
|
570
|
-
},
|
|
571
|
-
|
|
572
|
-
fromJSON(object: any): ProguardMetadata {
|
|
573
|
-
return {
|
|
574
|
-
application: isSet(object.application) ? globalThis.String(object.application) : "",
|
|
575
|
-
releaseId: isSet(object.releaseId) ? globalThis.String(object.releaseId) : "",
|
|
576
|
-
commitHash: isSet(object.commitHash) ? globalThis.String(object.commitHash) : undefined,
|
|
577
|
-
repoName: isSet(object.repoName) ? globalThis.String(object.repoName) : undefined,
|
|
578
|
-
orgName: isSet(object.orgName) ? globalThis.String(object.orgName) : undefined,
|
|
579
|
-
internalVersion: isSet(object.internalVersion) ? globalThis.Number(object.internalVersion) : undefined,
|
|
580
|
-
};
|
|
581
|
-
},
|
|
582
|
-
|
|
583
|
-
toJSON(message: ProguardMetadata): unknown {
|
|
584
|
-
const obj: any = {};
|
|
585
|
-
if (message.application !== "") {
|
|
586
|
-
obj.application = message.application;
|
|
587
|
-
}
|
|
588
|
-
if (message.releaseId !== "") {
|
|
589
|
-
obj.releaseId = message.releaseId;
|
|
590
|
-
}
|
|
591
|
-
if (message.commitHash !== undefined) {
|
|
592
|
-
obj.commitHash = message.commitHash;
|
|
593
|
-
}
|
|
594
|
-
if (message.repoName !== undefined) {
|
|
595
|
-
obj.repoName = message.repoName;
|
|
596
|
-
}
|
|
597
|
-
if (message.orgName !== undefined) {
|
|
598
|
-
obj.orgName = message.orgName;
|
|
599
|
-
}
|
|
600
|
-
if (message.internalVersion !== undefined) {
|
|
601
|
-
obj.internalVersion = Math.round(message.internalVersion);
|
|
602
|
-
}
|
|
603
|
-
return obj;
|
|
604
|
-
},
|
|
605
|
-
|
|
606
|
-
create(base?: DeepPartial<ProguardMetadata>): ProguardMetadata {
|
|
607
|
-
return ProguardMetadata.fromPartial(base ?? {});
|
|
608
|
-
},
|
|
609
|
-
fromPartial(object: DeepPartial<ProguardMetadata>): ProguardMetadata {
|
|
610
|
-
const message = createBaseProguardMetadata();
|
|
611
|
-
message.application = object.application ?? "";
|
|
612
|
-
message.releaseId = object.releaseId ?? "";
|
|
613
|
-
message.commitHash = object.commitHash ?? undefined;
|
|
614
|
-
message.repoName = object.repoName ?? undefined;
|
|
615
|
-
message.orgName = object.orgName ?? undefined;
|
|
616
|
-
message.internalVersion = object.internalVersion ?? undefined;
|
|
617
|
-
return message;
|
|
618
|
-
},
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
function createBaseReleaseEntityMetadata(): ReleaseEntityMetadata {
|
|
622
|
-
return { metadata: undefined };
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
export const ReleaseEntityMetadata = {
|
|
626
|
-
encode(message: ReleaseEntityMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
627
|
-
switch (message.metadata?.$case) {
|
|
628
|
-
case "dsymMetadata":
|
|
629
|
-
DsymMetadata.encode(message.metadata.dsymMetadata, writer.uint32(10).fork()).ldelim();
|
|
630
|
-
break;
|
|
631
|
-
case "sourceMapMetadata":
|
|
632
|
-
SourceMapMetadata.encode(message.metadata.sourceMapMetadata, writer.uint32(18).fork()).ldelim();
|
|
633
|
-
break;
|
|
634
|
-
case "reactNativeMetadata":
|
|
635
|
-
ReactNativeMetadata.encode(message.metadata.reactNativeMetadata, writer.uint32(26).fork()).ldelim();
|
|
636
|
-
break;
|
|
637
|
-
case "proguardMetadata":
|
|
638
|
-
ProguardMetadata.encode(message.metadata.proguardMetadata, writer.uint32(34).fork()).ldelim();
|
|
639
|
-
break;
|
|
640
|
-
}
|
|
641
|
-
return writer;
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ReleaseEntityMetadata {
|
|
645
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
646
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
647
|
-
const message = createBaseReleaseEntityMetadata();
|
|
648
|
-
while (reader.pos < end) {
|
|
649
|
-
const tag = reader.uint32();
|
|
650
|
-
switch (tag >>> 3) {
|
|
651
|
-
case 1:
|
|
652
|
-
if (tag !== 10) {
|
|
653
|
-
break;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
message.metadata = { $case: "dsymMetadata", dsymMetadata: DsymMetadata.decode(reader, reader.uint32()) };
|
|
657
|
-
continue;
|
|
658
|
-
case 2:
|
|
659
|
-
if (tag !== 18) {
|
|
660
|
-
break;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
message.metadata = {
|
|
664
|
-
$case: "sourceMapMetadata",
|
|
665
|
-
sourceMapMetadata: SourceMapMetadata.decode(reader, reader.uint32()),
|
|
666
|
-
};
|
|
667
|
-
continue;
|
|
668
|
-
case 3:
|
|
669
|
-
if (tag !== 26) {
|
|
670
|
-
break;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
message.metadata = {
|
|
674
|
-
$case: "reactNativeMetadata",
|
|
675
|
-
reactNativeMetadata: ReactNativeMetadata.decode(reader, reader.uint32()),
|
|
676
|
-
};
|
|
677
|
-
continue;
|
|
678
|
-
case 4:
|
|
679
|
-
if (tag !== 34) {
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
message.metadata = {
|
|
684
|
-
$case: "proguardMetadata",
|
|
685
|
-
proguardMetadata: ProguardMetadata.decode(reader, reader.uint32()),
|
|
686
|
-
};
|
|
687
|
-
continue;
|
|
688
|
-
}
|
|
689
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
690
|
-
break;
|
|
691
|
-
}
|
|
692
|
-
reader.skipType(tag & 7);
|
|
693
|
-
}
|
|
694
|
-
return message;
|
|
695
|
-
},
|
|
696
|
-
|
|
697
|
-
fromJSON(object: any): ReleaseEntityMetadata {
|
|
698
|
-
return {
|
|
699
|
-
metadata: isSet(object.dsymMetadata)
|
|
700
|
-
? { $case: "dsymMetadata", dsymMetadata: DsymMetadata.fromJSON(object.dsymMetadata) }
|
|
701
|
-
: isSet(object.sourceMapMetadata)
|
|
702
|
-
? { $case: "sourceMapMetadata", sourceMapMetadata: SourceMapMetadata.fromJSON(object.sourceMapMetadata) }
|
|
703
|
-
: isSet(object.reactNativeMetadata)
|
|
704
|
-
? {
|
|
705
|
-
$case: "reactNativeMetadata",
|
|
706
|
-
reactNativeMetadata: ReactNativeMetadata.fromJSON(object.reactNativeMetadata),
|
|
707
|
-
}
|
|
708
|
-
: isSet(object.proguardMetadata)
|
|
709
|
-
? { $case: "proguardMetadata", proguardMetadata: ProguardMetadata.fromJSON(object.proguardMetadata) }
|
|
710
|
-
: undefined,
|
|
711
|
-
};
|
|
712
|
-
},
|
|
713
|
-
|
|
714
|
-
toJSON(message: ReleaseEntityMetadata): unknown {
|
|
715
|
-
const obj: any = {};
|
|
716
|
-
if (message.metadata?.$case === "dsymMetadata") {
|
|
717
|
-
obj.dsymMetadata = DsymMetadata.toJSON(message.metadata.dsymMetadata);
|
|
718
|
-
}
|
|
719
|
-
if (message.metadata?.$case === "sourceMapMetadata") {
|
|
720
|
-
obj.sourceMapMetadata = SourceMapMetadata.toJSON(message.metadata.sourceMapMetadata);
|
|
721
|
-
}
|
|
722
|
-
if (message.metadata?.$case === "reactNativeMetadata") {
|
|
723
|
-
obj.reactNativeMetadata = ReactNativeMetadata.toJSON(message.metadata.reactNativeMetadata);
|
|
724
|
-
}
|
|
725
|
-
if (message.metadata?.$case === "proguardMetadata") {
|
|
726
|
-
obj.proguardMetadata = ProguardMetadata.toJSON(message.metadata.proguardMetadata);
|
|
727
|
-
}
|
|
728
|
-
return obj;
|
|
729
|
-
},
|
|
730
|
-
|
|
731
|
-
create(base?: DeepPartial<ReleaseEntityMetadata>): ReleaseEntityMetadata {
|
|
732
|
-
return ReleaseEntityMetadata.fromPartial(base ?? {});
|
|
733
|
-
},
|
|
734
|
-
fromPartial(object: DeepPartial<ReleaseEntityMetadata>): ReleaseEntityMetadata {
|
|
735
|
-
const message = createBaseReleaseEntityMetadata();
|
|
736
|
-
if (
|
|
737
|
-
object.metadata?.$case === "dsymMetadata" &&
|
|
738
|
-
object.metadata?.dsymMetadata !== undefined &&
|
|
739
|
-
object.metadata?.dsymMetadata !== null
|
|
740
|
-
) {
|
|
741
|
-
message.metadata = {
|
|
742
|
-
$case: "dsymMetadata",
|
|
743
|
-
dsymMetadata: DsymMetadata.fromPartial(object.metadata.dsymMetadata),
|
|
744
|
-
};
|
|
745
|
-
}
|
|
746
|
-
if (
|
|
747
|
-
object.metadata?.$case === "sourceMapMetadata" &&
|
|
748
|
-
object.metadata?.sourceMapMetadata !== undefined &&
|
|
749
|
-
object.metadata?.sourceMapMetadata !== null
|
|
750
|
-
) {
|
|
751
|
-
message.metadata = {
|
|
752
|
-
$case: "sourceMapMetadata",
|
|
753
|
-
sourceMapMetadata: SourceMapMetadata.fromPartial(object.metadata.sourceMapMetadata),
|
|
754
|
-
};
|
|
755
|
-
}
|
|
756
|
-
if (
|
|
757
|
-
object.metadata?.$case === "reactNativeMetadata" &&
|
|
758
|
-
object.metadata?.reactNativeMetadata !== undefined &&
|
|
759
|
-
object.metadata?.reactNativeMetadata !== null
|
|
760
|
-
) {
|
|
761
|
-
message.metadata = {
|
|
762
|
-
$case: "reactNativeMetadata",
|
|
763
|
-
reactNativeMetadata: ReactNativeMetadata.fromPartial(object.metadata.reactNativeMetadata),
|
|
764
|
-
};
|
|
765
|
-
}
|
|
766
|
-
if (
|
|
767
|
-
object.metadata?.$case === "proguardMetadata" &&
|
|
768
|
-
object.metadata?.proguardMetadata !== undefined &&
|
|
769
|
-
object.metadata?.proguardMetadata !== null
|
|
770
|
-
) {
|
|
771
|
-
message.metadata = {
|
|
772
|
-
$case: "proguardMetadata",
|
|
773
|
-
proguardMetadata: ProguardMetadata.fromPartial(object.metadata.proguardMetadata),
|
|
774
|
-
};
|
|
775
|
-
}
|
|
776
|
-
return message;
|
|
777
|
-
},
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
781
|
-
|
|
782
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
783
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
784
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
785
|
-
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
786
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
787
|
-
: Partial<T>;
|
|
788
|
-
|
|
789
|
-
function isSet(value: any): boolean {
|
|
790
|
-
return value !== null && value !== undefined;
|
|
791
|
-
}
|