@audiotool/nexus 0.0.10 → 0.0.12
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/LICENSE +201 -0
- package/dist/api.js +2 -2
- package/dist/{audiotool-api-D9u-oGp3.js → audiotool-api-CjHbqgj8.js} +880 -862
- package/dist/audiotool-client.d.ts +0 -12
- package/dist/document/backend/gateway.d.ts +5 -1
- package/dist/exports/index.d.ts +3 -1
- package/dist/index.js +124 -118
- package/dist/login-status.d.ts +7 -20
- package/dist/synced-document.d.ts +26 -3
- package/dist/utils/grpc/keepalive-transport.d.ts +1 -1
- package/dist/utils/platform.d.ts +4 -0
- package/package.json +8 -3
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var a = (i, s, t) =>
|
|
4
|
-
import { Message as e, proto3 as r, MethodKind as o, Any as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
const S = class S extends e {
|
|
1
|
+
var Ir = Object.defineProperty;
|
|
2
|
+
var gr = (i, s, t) => s in i ? Ir(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t;
|
|
3
|
+
var a = (i, s, t) => gr(i, typeof s != "symbol" ? s + "" : s, t);
|
|
4
|
+
import { Message as e, proto3 as r, MethodKind as o, Any as tn, Timestamp as d, FieldMask as mn, Duration as dr, createRegistry as fr } from "@bufbuild/protobuf";
|
|
5
|
+
import { createClient as Jr, ConnectError as Pr, Code as Wa } from "@connectrpc/connect";
|
|
6
|
+
import { s as Or, t as Tr } from "./lang-K-8hAzE4.js";
|
|
7
|
+
import { a as Sr, e as yr } from "./types-Cztu157p.js";
|
|
8
|
+
const w = class w extends e {
|
|
10
9
|
constructor(t) {
|
|
11
10
|
super();
|
|
12
11
|
/**
|
|
@@ -23,23 +22,23 @@ const S = class S extends e {
|
|
|
23
22
|
r.util.initPartial(t, this);
|
|
24
23
|
}
|
|
25
24
|
static fromBinary(t, n) {
|
|
26
|
-
return new
|
|
25
|
+
return new w().fromBinary(t, n);
|
|
27
26
|
}
|
|
28
27
|
static fromJson(t, n) {
|
|
29
|
-
return new
|
|
28
|
+
return new w().fromJson(t, n);
|
|
30
29
|
}
|
|
31
30
|
static fromJsonString(t, n) {
|
|
32
|
-
return new
|
|
31
|
+
return new w().fromJsonString(t, n);
|
|
33
32
|
}
|
|
34
33
|
static equals(t, n) {
|
|
35
|
-
return r.util.equals(
|
|
34
|
+
return r.util.equals(w, t, n);
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
a(
|
|
37
|
+
a(w, "runtime", r), a(w, "typeName", "audiotool.audiograph.v1.Graph"), a(w, "fields", r.util.newFieldList(() => [
|
|
39
38
|
{ no: 1, name: "values", kind: "scalar", T: 13, repeated: !0 }
|
|
40
39
|
]));
|
|
41
|
-
let
|
|
42
|
-
const
|
|
40
|
+
let gn = w;
|
|
41
|
+
const I = class I extends e {
|
|
43
42
|
constructor(t) {
|
|
44
43
|
super();
|
|
45
44
|
/**
|
|
@@ -59,19 +58,19 @@ const w = class w extends e {
|
|
|
59
58
|
r.util.initPartial(t, this);
|
|
60
59
|
}
|
|
61
60
|
static fromBinary(t, n) {
|
|
62
|
-
return new
|
|
61
|
+
return new I().fromBinary(t, n);
|
|
63
62
|
}
|
|
64
63
|
static fromJson(t, n) {
|
|
65
|
-
return new
|
|
64
|
+
return new I().fromJson(t, n);
|
|
66
65
|
}
|
|
67
66
|
static fromJsonString(t, n) {
|
|
68
|
-
return new
|
|
67
|
+
return new I().fromJsonString(t, n);
|
|
69
68
|
}
|
|
70
69
|
static equals(t, n) {
|
|
71
|
-
return r.util.equals(
|
|
70
|
+
return r.util.equals(I, t, n);
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
|
-
a(
|
|
73
|
+
a(I, "runtime", r), a(I, "typeName", "audiotool.audiograph.v1.Audiograph"), a(I, "fields", r.util.newFieldList(() => [
|
|
75
74
|
{
|
|
76
75
|
no: 1,
|
|
77
76
|
name: "resource_name",
|
|
@@ -79,9 +78,9 @@ a(w, "runtime", r), a(w, "typeName", "audiotool.audiograph.v1.Audiograph"), a(w,
|
|
|
79
78
|
T: 9
|
|
80
79
|
/* ScalarType.STRING */
|
|
81
80
|
},
|
|
82
|
-
{ no: 2, name: "graphs", kind: "message", T:
|
|
81
|
+
{ no: 2, name: "graphs", kind: "message", T: gn, repeated: !0 }
|
|
83
82
|
]));
|
|
84
|
-
let
|
|
83
|
+
let Jn = I;
|
|
85
84
|
var Ya = /* @__PURE__ */ ((i) => (i[i.GET_AUDIOGRAPH_RESOLUTION_UNSPECIFIED = 0] = "GET_AUDIOGRAPH_RESOLUTION_UNSPECIFIED", i[i.GET_AUDIOGRAPH_RESOLUTION_120 = 120] = "GET_AUDIOGRAPH_RESOLUTION_120", i[i.GET_AUDIOGRAPH_RESOLUTION_240 = 240] = "GET_AUDIOGRAPH_RESOLUTION_240", i[i.GET_AUDIOGRAPH_RESOLUTION_480 = 480] = "GET_AUDIOGRAPH_RESOLUTION_480", i[i.GET_AUDIOGRAPH_RESOLUTION_960 = 960] = "GET_AUDIOGRAPH_RESOLUTION_960", i[i.GET_AUDIOGRAPH_RESOLUTION_1920 = 1920] = "GET_AUDIOGRAPH_RESOLUTION_1920", i[i.GET_AUDIOGRAPH_RESOLUTION_3840 = 3840] = "GET_AUDIOGRAPH_RESOLUTION_3840", i))(Ya || {});
|
|
86
85
|
r.util.setEnumType(Ya, "audiotool.audiograph.v1.GetAudiographResolution", [
|
|
87
86
|
{ no: 0, name: "GET_AUDIOGRAPH_RESOLUTION_UNSPECIFIED" },
|
|
@@ -98,7 +97,7 @@ r.util.setEnumType(va, "audiotool.audiograph.v1.GetAudiographChannels", [
|
|
|
98
97
|
{ no: 1, name: "GET_AUDIOGRAPH_CHANNELS_MONO" },
|
|
99
98
|
{ no: 2, name: "GET_AUDIOGRAPH_CHANNELS_STEREO" }
|
|
100
99
|
]);
|
|
101
|
-
const
|
|
100
|
+
const g = class g extends e {
|
|
102
101
|
constructor(t) {
|
|
103
102
|
super();
|
|
104
103
|
/**
|
|
@@ -127,25 +126,25 @@ const I = class I extends e {
|
|
|
127
126
|
r.util.initPartial(t, this);
|
|
128
127
|
}
|
|
129
128
|
static fromBinary(t, n) {
|
|
130
|
-
return new
|
|
129
|
+
return new g().fromBinary(t, n);
|
|
131
130
|
}
|
|
132
131
|
static fromJson(t, n) {
|
|
133
|
-
return new
|
|
132
|
+
return new g().fromJson(t, n);
|
|
134
133
|
}
|
|
135
134
|
static fromJsonString(t, n) {
|
|
136
|
-
return new
|
|
135
|
+
return new g().fromJsonString(t, n);
|
|
137
136
|
}
|
|
138
137
|
static equals(t, n) {
|
|
139
|
-
return r.util.equals(
|
|
138
|
+
return r.util.equals(g, t, n);
|
|
140
139
|
}
|
|
141
140
|
};
|
|
142
|
-
a(
|
|
141
|
+
a(g, "runtime", r), a(g, "typeName", "audiotool.audiograph.v1.GetAudiographsRequest"), a(g, "fields", r.util.newFieldList(() => [
|
|
143
142
|
{ no: 1, name: "resource_names", kind: "scalar", T: 9, repeated: !0 },
|
|
144
143
|
{ no: 2, name: "resolution", kind: "enum", T: r.getEnumType(Ya) },
|
|
145
144
|
{ no: 3, name: "channels", kind: "enum", T: r.getEnumType(va) }
|
|
146
145
|
]));
|
|
147
|
-
let
|
|
148
|
-
const
|
|
146
|
+
let Pn = g;
|
|
147
|
+
const J = class J extends e {
|
|
149
148
|
constructor(t) {
|
|
150
149
|
super();
|
|
151
150
|
/**
|
|
@@ -157,23 +156,23 @@ const g = class g extends e {
|
|
|
157
156
|
r.util.initPartial(t, this);
|
|
158
157
|
}
|
|
159
158
|
static fromBinary(t, n) {
|
|
160
|
-
return new
|
|
159
|
+
return new J().fromBinary(t, n);
|
|
161
160
|
}
|
|
162
161
|
static fromJson(t, n) {
|
|
163
|
-
return new
|
|
162
|
+
return new J().fromJson(t, n);
|
|
164
163
|
}
|
|
165
164
|
static fromJsonString(t, n) {
|
|
166
|
-
return new
|
|
165
|
+
return new J().fromJsonString(t, n);
|
|
167
166
|
}
|
|
168
167
|
static equals(t, n) {
|
|
169
|
-
return r.util.equals(
|
|
168
|
+
return r.util.equals(J, t, n);
|
|
170
169
|
}
|
|
171
170
|
};
|
|
172
|
-
a(
|
|
173
|
-
{ no: 1, name: "audiographs", kind: "message", T:
|
|
171
|
+
a(J, "runtime", r), a(J, "typeName", "audiotool.audiograph.v1.GetAudiographsResponse"), a(J, "fields", r.util.newFieldList(() => [
|
|
172
|
+
{ no: 1, name: "audiographs", kind: "message", T: Jn, repeated: !0 }
|
|
174
173
|
]));
|
|
175
|
-
let
|
|
176
|
-
const
|
|
174
|
+
let On = J;
|
|
175
|
+
const kr = {
|
|
177
176
|
typeName: "audiotool.audiograph.v1.AudiographService",
|
|
178
177
|
methods: {
|
|
179
178
|
/**
|
|
@@ -183,14 +182,14 @@ const yr = {
|
|
|
183
182
|
*/
|
|
184
183
|
getAudiographs: {
|
|
185
184
|
name: "GetAudiographs",
|
|
186
|
-
I:
|
|
187
|
-
O:
|
|
185
|
+
I: Pn,
|
|
186
|
+
O: On,
|
|
188
187
|
kind: o.Unary
|
|
189
188
|
}
|
|
190
189
|
}
|
|
191
190
|
};
|
|
192
191
|
var E;
|
|
193
|
-
let
|
|
192
|
+
let wr = (E = class extends e {
|
|
194
193
|
constructor(t) {
|
|
195
194
|
super();
|
|
196
195
|
/**
|
|
@@ -220,8 +219,8 @@ let Tr = (E = class extends e {
|
|
|
220
219
|
return r.util.equals(E, t, n);
|
|
221
220
|
}
|
|
222
221
|
}, a(E, "runtime", r), a(E, "typeName", "audiotool.document.v1.preset.v1.Preset"), a(E, "fields", r.util.newFieldList(() => [
|
|
223
|
-
{ no: 2, name: "target", kind: "message", T:
|
|
224
|
-
{ no: 3, name: "relatives", kind: "message", T:
|
|
222
|
+
{ no: 2, name: "target", kind: "message", T: tn },
|
|
223
|
+
{ no: 3, name: "relatives", kind: "message", T: tn, repeated: !0 }
|
|
225
224
|
])), E);
|
|
226
225
|
var Da = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.OWNER = 1] = "OWNER", i[i.OWNER_UNPUBLISHED = 2] = "OWNER_UNPUBLISHED", i[i.EDITOR = 3] = "EDITOR", i[i.EDITOR_UNPUBLISHED = 4] = "EDITOR_UNPUBLISHED", i[i.VIEWER = 5] = "VIEWER", i))(Da || {});
|
|
227
226
|
r.util.setEnumType(Da, "audiotool.project.v1.ProjectRoleType", [
|
|
@@ -232,7 +231,7 @@ r.util.setEnumType(Da, "audiotool.project.v1.ProjectRoleType", [
|
|
|
232
231
|
{ no: 4, name: "PROJECT_ROLE_TYPE_EDITOR_UNPUBLISHED" },
|
|
233
232
|
{ no: 5, name: "PROJECT_ROLE_TYPE_VIEWER" }
|
|
234
233
|
]);
|
|
235
|
-
const
|
|
234
|
+
const P = class P extends e {
|
|
236
235
|
constructor(t) {
|
|
237
236
|
super();
|
|
238
237
|
/**
|
|
@@ -274,19 +273,19 @@ const J = class J extends e {
|
|
|
274
273
|
r.util.initPartial(t, this);
|
|
275
274
|
}
|
|
276
275
|
static fromBinary(t, n) {
|
|
277
|
-
return new
|
|
276
|
+
return new P().fromBinary(t, n);
|
|
278
277
|
}
|
|
279
278
|
static fromJson(t, n) {
|
|
280
|
-
return new
|
|
279
|
+
return new P().fromJson(t, n);
|
|
281
280
|
}
|
|
282
281
|
static fromJsonString(t, n) {
|
|
283
|
-
return new
|
|
282
|
+
return new P().fromJsonString(t, n);
|
|
284
283
|
}
|
|
285
284
|
static equals(t, n) {
|
|
286
|
-
return r.util.equals(
|
|
285
|
+
return r.util.equals(P, t, n);
|
|
287
286
|
}
|
|
288
287
|
};
|
|
289
|
-
a(
|
|
288
|
+
a(P, "runtime", r), a(P, "typeName", "audiotool.project.v1.ProjectRole"), a(P, "fields", r.util.newFieldList(() => [
|
|
290
289
|
{
|
|
291
290
|
no: 1,
|
|
292
291
|
name: "name",
|
|
@@ -312,8 +311,8 @@ a(J, "runtime", r), a(J, "typeName", "audiotool.project.v1.ProjectRole"), a(J, "
|
|
|
312
311
|
/* ScalarType.STRING */
|
|
313
312
|
}
|
|
314
313
|
]));
|
|
315
|
-
let sn =
|
|
316
|
-
const
|
|
314
|
+
let sn = P;
|
|
315
|
+
const O = class O extends e {
|
|
317
316
|
constructor(t) {
|
|
318
317
|
super();
|
|
319
318
|
/**
|
|
@@ -360,19 +359,19 @@ const P = class P extends e {
|
|
|
360
359
|
r.util.initPartial(t, this);
|
|
361
360
|
}
|
|
362
361
|
static fromBinary(t, n) {
|
|
363
|
-
return new
|
|
362
|
+
return new O().fromBinary(t, n);
|
|
364
363
|
}
|
|
365
364
|
static fromJson(t, n) {
|
|
366
|
-
return new
|
|
365
|
+
return new O().fromJson(t, n);
|
|
367
366
|
}
|
|
368
367
|
static fromJsonString(t, n) {
|
|
369
|
-
return new
|
|
368
|
+
return new O().fromJsonString(t, n);
|
|
370
369
|
}
|
|
371
370
|
static equals(t, n) {
|
|
372
|
-
return r.util.equals(
|
|
371
|
+
return r.util.equals(O, t, n);
|
|
373
372
|
}
|
|
374
373
|
};
|
|
375
|
-
a(
|
|
374
|
+
a(O, "runtime", r), a(O, "typeName", "audiotool.project.v1.ListProjectRolesRequest"), a(O, "fields", r.util.newFieldList(() => [
|
|
376
375
|
{
|
|
377
376
|
no: 1,
|
|
378
377
|
name: "parent",
|
|
@@ -409,8 +408,8 @@ a(P, "runtime", r), a(P, "typeName", "audiotool.project.v1.ListProjectRolesReque
|
|
|
409
408
|
/* ScalarType.STRING */
|
|
410
409
|
}
|
|
411
410
|
]));
|
|
412
|
-
let
|
|
413
|
-
const
|
|
411
|
+
let yn = O;
|
|
412
|
+
const y = class y extends e {
|
|
414
413
|
constructor(t) {
|
|
415
414
|
super();
|
|
416
415
|
/**
|
|
@@ -429,19 +428,19 @@ const O = class O extends e {
|
|
|
429
428
|
r.util.initPartial(t, this);
|
|
430
429
|
}
|
|
431
430
|
static fromBinary(t, n) {
|
|
432
|
-
return new
|
|
431
|
+
return new y().fromBinary(t, n);
|
|
433
432
|
}
|
|
434
433
|
static fromJson(t, n) {
|
|
435
|
-
return new
|
|
434
|
+
return new y().fromJson(t, n);
|
|
436
435
|
}
|
|
437
436
|
static fromJsonString(t, n) {
|
|
438
|
-
return new
|
|
437
|
+
return new y().fromJsonString(t, n);
|
|
439
438
|
}
|
|
440
439
|
static equals(t, n) {
|
|
441
|
-
return r.util.equals(
|
|
440
|
+
return r.util.equals(y, t, n);
|
|
442
441
|
}
|
|
443
442
|
};
|
|
444
|
-
a(
|
|
443
|
+
a(y, "runtime", r), a(y, "typeName", "audiotool.project.v1.ListProjectRolesResponse"), a(y, "fields", r.util.newFieldList(() => [
|
|
445
444
|
{ no: 1, name: "project_roles", kind: "message", T: sn, repeated: !0 },
|
|
446
445
|
{
|
|
447
446
|
no: 2,
|
|
@@ -451,8 +450,8 @@ a(O, "runtime", r), a(O, "typeName", "audiotool.project.v1.ListProjectRolesRespo
|
|
|
451
450
|
/* ScalarType.STRING */
|
|
452
451
|
}
|
|
453
452
|
]));
|
|
454
|
-
let
|
|
455
|
-
const
|
|
453
|
+
let kn = y;
|
|
454
|
+
const k = class k extends e {
|
|
456
455
|
constructor(t) {
|
|
457
456
|
super();
|
|
458
457
|
/**
|
|
@@ -475,19 +474,19 @@ const y = class y extends e {
|
|
|
475
474
|
r.util.initPartial(t, this);
|
|
476
475
|
}
|
|
477
476
|
static fromBinary(t, n) {
|
|
478
|
-
return new
|
|
477
|
+
return new k().fromBinary(t, n);
|
|
479
478
|
}
|
|
480
479
|
static fromJson(t, n) {
|
|
481
|
-
return new
|
|
480
|
+
return new k().fromJson(t, n);
|
|
482
481
|
}
|
|
483
482
|
static fromJsonString(t, n) {
|
|
484
|
-
return new
|
|
483
|
+
return new k().fromJsonString(t, n);
|
|
485
484
|
}
|
|
486
485
|
static equals(t, n) {
|
|
487
|
-
return r.util.equals(
|
|
486
|
+
return r.util.equals(k, t, n);
|
|
488
487
|
}
|
|
489
488
|
};
|
|
490
|
-
a(
|
|
489
|
+
a(k, "runtime", r), a(k, "typeName", "audiotool.project.v1.CreateProjectRoleRequest"), a(k, "fields", r.util.newFieldList(() => [
|
|
491
490
|
{
|
|
492
491
|
no: 1,
|
|
493
492
|
name: "parent",
|
|
@@ -497,8 +496,8 @@ a(y, "runtime", r), a(y, "typeName", "audiotool.project.v1.CreateProjectRoleRequ
|
|
|
497
496
|
},
|
|
498
497
|
{ no: 2, name: "project_role", kind: "message", T: sn }
|
|
499
498
|
]));
|
|
500
|
-
let
|
|
501
|
-
const
|
|
499
|
+
let Nn = k;
|
|
500
|
+
const N = class N extends e {
|
|
502
501
|
constructor(t) {
|
|
503
502
|
super();
|
|
504
503
|
/**
|
|
@@ -510,23 +509,23 @@ const k = class k extends e {
|
|
|
510
509
|
r.util.initPartial(t, this);
|
|
511
510
|
}
|
|
512
511
|
static fromBinary(t, n) {
|
|
513
|
-
return new
|
|
512
|
+
return new N().fromBinary(t, n);
|
|
514
513
|
}
|
|
515
514
|
static fromJson(t, n) {
|
|
516
|
-
return new
|
|
515
|
+
return new N().fromJson(t, n);
|
|
517
516
|
}
|
|
518
517
|
static fromJsonString(t, n) {
|
|
519
|
-
return new
|
|
518
|
+
return new N().fromJsonString(t, n);
|
|
520
519
|
}
|
|
521
520
|
static equals(t, n) {
|
|
522
|
-
return r.util.equals(
|
|
521
|
+
return r.util.equals(N, t, n);
|
|
523
522
|
}
|
|
524
523
|
};
|
|
525
|
-
a(
|
|
524
|
+
a(N, "runtime", r), a(N, "typeName", "audiotool.project.v1.CreateProjectRoleResponse"), a(N, "fields", r.util.newFieldList(() => [
|
|
526
525
|
{ no: 1, name: "project_role", kind: "message", T: sn }
|
|
527
526
|
]));
|
|
528
|
-
let
|
|
529
|
-
const
|
|
527
|
+
let Bn = N;
|
|
528
|
+
const B = class B extends e {
|
|
530
529
|
constructor(t) {
|
|
531
530
|
super();
|
|
532
531
|
/**
|
|
@@ -539,19 +538,19 @@ const N = class N extends e {
|
|
|
539
538
|
r.util.initPartial(t, this);
|
|
540
539
|
}
|
|
541
540
|
static fromBinary(t, n) {
|
|
542
|
-
return new
|
|
541
|
+
return new B().fromBinary(t, n);
|
|
543
542
|
}
|
|
544
543
|
static fromJson(t, n) {
|
|
545
|
-
return new
|
|
544
|
+
return new B().fromJson(t, n);
|
|
546
545
|
}
|
|
547
546
|
static fromJsonString(t, n) {
|
|
548
|
-
return new
|
|
547
|
+
return new B().fromJsonString(t, n);
|
|
549
548
|
}
|
|
550
549
|
static equals(t, n) {
|
|
551
|
-
return r.util.equals(
|
|
550
|
+
return r.util.equals(B, t, n);
|
|
552
551
|
}
|
|
553
552
|
};
|
|
554
|
-
a(
|
|
553
|
+
a(B, "runtime", r), a(B, "typeName", "audiotool.project.v1.DeleteProjectRoleRequest"), a(B, "fields", r.util.newFieldList(() => [
|
|
555
554
|
{
|
|
556
555
|
no: 1,
|
|
557
556
|
name: "name",
|
|
@@ -560,27 +559,27 @@ a(N, "runtime", r), a(N, "typeName", "audiotool.project.v1.DeleteProjectRoleRequ
|
|
|
560
559
|
/* ScalarType.STRING */
|
|
561
560
|
}
|
|
562
561
|
]));
|
|
563
|
-
let
|
|
564
|
-
const
|
|
562
|
+
let An = B;
|
|
563
|
+
const A = class A extends e {
|
|
565
564
|
constructor(s) {
|
|
566
565
|
super(), r.util.initPartial(s, this);
|
|
567
566
|
}
|
|
568
567
|
static fromBinary(s, t) {
|
|
569
|
-
return new
|
|
568
|
+
return new A().fromBinary(s, t);
|
|
570
569
|
}
|
|
571
570
|
static fromJson(s, t) {
|
|
572
|
-
return new
|
|
571
|
+
return new A().fromJson(s, t);
|
|
573
572
|
}
|
|
574
573
|
static fromJsonString(s, t) {
|
|
575
|
-
return new
|
|
574
|
+
return new A().fromJsonString(s, t);
|
|
576
575
|
}
|
|
577
576
|
static equals(s, t) {
|
|
578
|
-
return r.util.equals(
|
|
577
|
+
return r.util.equals(A, s, t);
|
|
579
578
|
}
|
|
580
579
|
};
|
|
581
|
-
a(
|
|
582
|
-
let
|
|
583
|
-
const
|
|
580
|
+
a(A, "runtime", r), a(A, "typeName", "audiotool.project.v1.DeleteProjectRoleResponse"), a(A, "fields", r.util.newFieldList(() => []));
|
|
581
|
+
let Ln = A;
|
|
582
|
+
const L = class L extends e {
|
|
584
583
|
constructor(t) {
|
|
585
584
|
super();
|
|
586
585
|
/**
|
|
@@ -598,24 +597,24 @@ const A = class A extends e {
|
|
|
598
597
|
r.util.initPartial(t, this);
|
|
599
598
|
}
|
|
600
599
|
static fromBinary(t, n) {
|
|
601
|
-
return new
|
|
600
|
+
return new L().fromBinary(t, n);
|
|
602
601
|
}
|
|
603
602
|
static fromJson(t, n) {
|
|
604
|
-
return new
|
|
603
|
+
return new L().fromJson(t, n);
|
|
605
604
|
}
|
|
606
605
|
static fromJsonString(t, n) {
|
|
607
|
-
return new
|
|
606
|
+
return new L().fromJsonString(t, n);
|
|
608
607
|
}
|
|
609
608
|
static equals(t, n) {
|
|
610
|
-
return r.util.equals(
|
|
609
|
+
return r.util.equals(L, t, n);
|
|
611
610
|
}
|
|
612
611
|
};
|
|
613
|
-
a(
|
|
612
|
+
a(L, "runtime", r), a(L, "typeName", "audiotool.project.v1.UpdateProjectRoleRequest"), a(L, "fields", r.util.newFieldList(() => [
|
|
614
613
|
{ no: 1, name: "project_role", kind: "message", T: sn },
|
|
615
614
|
{ no: 2, name: "update_mask", kind: "message", T: mn }
|
|
616
615
|
]));
|
|
617
|
-
let
|
|
618
|
-
const
|
|
616
|
+
let pn = L;
|
|
617
|
+
const p = class p extends e {
|
|
619
618
|
constructor(t) {
|
|
620
619
|
super();
|
|
621
620
|
/**
|
|
@@ -627,23 +626,23 @@ const L = class L extends e {
|
|
|
627
626
|
r.util.initPartial(t, this);
|
|
628
627
|
}
|
|
629
628
|
static fromBinary(t, n) {
|
|
630
|
-
return new
|
|
629
|
+
return new p().fromBinary(t, n);
|
|
631
630
|
}
|
|
632
631
|
static fromJson(t, n) {
|
|
633
|
-
return new
|
|
632
|
+
return new p().fromJson(t, n);
|
|
634
633
|
}
|
|
635
634
|
static fromJsonString(t, n) {
|
|
636
|
-
return new
|
|
635
|
+
return new p().fromJsonString(t, n);
|
|
637
636
|
}
|
|
638
637
|
static equals(t, n) {
|
|
639
|
-
return r.util.equals(
|
|
638
|
+
return r.util.equals(p, t, n);
|
|
640
639
|
}
|
|
641
640
|
};
|
|
642
|
-
a(
|
|
641
|
+
a(p, "runtime", r), a(p, "typeName", "audiotool.project.v1.UpdateProjectRoleResponse"), a(p, "fields", r.util.newFieldList(() => [
|
|
643
642
|
{ no: 1, name: "project_role", kind: "message", T: sn }
|
|
644
643
|
]));
|
|
645
|
-
let
|
|
646
|
-
const
|
|
644
|
+
let Cn = p;
|
|
645
|
+
const Nr = {
|
|
647
646
|
typeName: "audiotool.project.v1.ProjectRoleService",
|
|
648
647
|
methods: {
|
|
649
648
|
/**
|
|
@@ -653,8 +652,8 @@ const kr = {
|
|
|
653
652
|
*/
|
|
654
653
|
listProjectRoles: {
|
|
655
654
|
name: "ListProjectRoles",
|
|
656
|
-
I:
|
|
657
|
-
O:
|
|
655
|
+
I: yn,
|
|
656
|
+
O: kn,
|
|
658
657
|
kind: o.Unary
|
|
659
658
|
},
|
|
660
659
|
/**
|
|
@@ -664,8 +663,8 @@ const kr = {
|
|
|
664
663
|
*/
|
|
665
664
|
createProjectRole: {
|
|
666
665
|
name: "CreateProjectRole",
|
|
667
|
-
I:
|
|
668
|
-
O:
|
|
666
|
+
I: Nn,
|
|
667
|
+
O: Bn,
|
|
669
668
|
kind: o.Unary
|
|
670
669
|
},
|
|
671
670
|
/**
|
|
@@ -675,8 +674,8 @@ const kr = {
|
|
|
675
674
|
*/
|
|
676
675
|
deleteProjectRole: {
|
|
677
676
|
name: "DeleteProjectRole",
|
|
678
|
-
I:
|
|
679
|
-
O:
|
|
677
|
+
I: An,
|
|
678
|
+
O: Ln,
|
|
680
679
|
kind: o.Unary
|
|
681
680
|
},
|
|
682
681
|
/**
|
|
@@ -686,8 +685,8 @@ const kr = {
|
|
|
686
685
|
*/
|
|
687
686
|
updateProjectRole: {
|
|
688
687
|
name: "UpdateProjectRole",
|
|
689
|
-
I:
|
|
690
|
-
O:
|
|
688
|
+
I: pn,
|
|
689
|
+
O: Cn,
|
|
691
690
|
kind: o.Unary
|
|
692
691
|
}
|
|
693
692
|
}
|
|
@@ -701,7 +700,7 @@ r.util.setEnumType(Ha, "audiotool.project.v1.TrackLicense", [
|
|
|
701
700
|
{ no: 4, name: "TRACK_LICENSE_ALL_RIGHTS_RESERVED" },
|
|
702
701
|
{ no: 5, name: "TRACK_LICENSE_ROYALTY_FREE" }
|
|
703
702
|
]);
|
|
704
|
-
const
|
|
703
|
+
const C = class C extends e {
|
|
705
704
|
constructor(t) {
|
|
706
705
|
super();
|
|
707
706
|
/**
|
|
@@ -890,19 +889,19 @@ const p = class p extends e {
|
|
|
890
889
|
r.util.initPartial(t, this);
|
|
891
890
|
}
|
|
892
891
|
static fromBinary(t, n) {
|
|
893
|
-
return new
|
|
892
|
+
return new C().fromBinary(t, n);
|
|
894
893
|
}
|
|
895
894
|
static fromJson(t, n) {
|
|
896
|
-
return new
|
|
895
|
+
return new C().fromJson(t, n);
|
|
897
896
|
}
|
|
898
897
|
static fromJsonString(t, n) {
|
|
899
|
-
return new
|
|
898
|
+
return new C().fromJsonString(t, n);
|
|
900
899
|
}
|
|
901
900
|
static equals(t, n) {
|
|
902
|
-
return r.util.equals(
|
|
901
|
+
return r.util.equals(C, t, n);
|
|
903
902
|
}
|
|
904
903
|
};
|
|
905
|
-
a(
|
|
904
|
+
a(C, "runtime", r), a(C, "typeName", "audiotool.project.v1.Project"), a(C, "fields", r.util.newFieldList(() => [
|
|
906
905
|
{
|
|
907
906
|
no: 1,
|
|
908
907
|
name: "name",
|
|
@@ -962,7 +961,7 @@ a(p, "runtime", r), a(p, "typeName", "audiotool.project.v1.Project"), a(p, "fiel
|
|
|
962
961
|
},
|
|
963
962
|
{ no: 10, name: "create_time", kind: "message", T: d },
|
|
964
963
|
{ no: 11, name: "update_time", kind: "message", T: d },
|
|
965
|
-
{ no: 12, name: "play_duration", kind: "message", T:
|
|
964
|
+
{ no: 12, name: "play_duration", kind: "message", T: dr },
|
|
966
965
|
{ no: 13, name: "tags", kind: "scalar", T: 9, repeated: !0 },
|
|
967
966
|
{
|
|
968
967
|
no: 14,
|
|
@@ -1008,8 +1007,8 @@ a(p, "runtime", r), a(p, "typeName", "audiotool.project.v1.Project"), a(p, "fiel
|
|
|
1008
1007
|
},
|
|
1009
1008
|
{ no: 20, name: "license", kind: "enum", T: r.getEnumType(Ha) }
|
|
1010
1009
|
]));
|
|
1011
|
-
let f =
|
|
1012
|
-
const
|
|
1010
|
+
let f = C;
|
|
1011
|
+
const U = class U extends e {
|
|
1013
1012
|
constructor(t) {
|
|
1014
1013
|
super();
|
|
1015
1014
|
/**
|
|
@@ -1047,19 +1046,19 @@ const C = class C extends e {
|
|
|
1047
1046
|
r.util.initPartial(t, this);
|
|
1048
1047
|
}
|
|
1049
1048
|
static fromBinary(t, n) {
|
|
1050
|
-
return new
|
|
1049
|
+
return new U().fromBinary(t, n);
|
|
1051
1050
|
}
|
|
1052
1051
|
static fromJson(t, n) {
|
|
1053
|
-
return new
|
|
1052
|
+
return new U().fromJson(t, n);
|
|
1054
1053
|
}
|
|
1055
1054
|
static fromJsonString(t, n) {
|
|
1056
|
-
return new
|
|
1055
|
+
return new U().fromJsonString(t, n);
|
|
1057
1056
|
}
|
|
1058
1057
|
static equals(t, n) {
|
|
1059
|
-
return r.util.equals(
|
|
1058
|
+
return r.util.equals(U, t, n);
|
|
1060
1059
|
}
|
|
1061
1060
|
};
|
|
1062
|
-
a(
|
|
1061
|
+
a(U, "runtime", r), a(U, "typeName", "audiotool.project.v1.Session"), a(U, "fields", r.util.newFieldList(() => [
|
|
1063
1062
|
{ no: 1, name: "project", kind: "message", T: f },
|
|
1064
1063
|
{
|
|
1065
1064
|
no: 2,
|
|
@@ -1090,15 +1089,15 @@ a(C, "runtime", r), a(C, "typeName", "audiotool.project.v1.Session"), a(C, "fiel
|
|
|
1090
1089
|
/* ScalarType.STRING */
|
|
1091
1090
|
}
|
|
1092
1091
|
]));
|
|
1093
|
-
let En =
|
|
1094
|
-
var
|
|
1095
|
-
r.util.setEnumType(
|
|
1092
|
+
let En = U;
|
|
1093
|
+
var Xa = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.ALL = 1] = "ALL", i[i.METADATA = 2] = "METADATA", i[i.AUDIO = 3] = "AUDIO", i))(Xa || {});
|
|
1094
|
+
r.util.setEnumType(Xa, "audiotool.project.v1.SyncTrackMode", [
|
|
1096
1095
|
{ no: 0, name: "SYNC_TRACK_MODE_UNSPECIFIED" },
|
|
1097
1096
|
{ no: 1, name: "SYNC_TRACK_MODE_ALL" },
|
|
1098
1097
|
{ no: 2, name: "SYNC_TRACK_MODE_METADATA" },
|
|
1099
1098
|
{ no: 3, name: "SYNC_TRACK_MODE_AUDIO" }
|
|
1100
1099
|
]);
|
|
1101
|
-
const
|
|
1100
|
+
const F = class F extends e {
|
|
1102
1101
|
constructor(t) {
|
|
1103
1102
|
super();
|
|
1104
1103
|
/**
|
|
@@ -1152,19 +1151,19 @@ const U = class U extends e {
|
|
|
1152
1151
|
r.util.initPartial(t, this);
|
|
1153
1152
|
}
|
|
1154
1153
|
static fromBinary(t, n) {
|
|
1155
|
-
return new
|
|
1154
|
+
return new F().fromBinary(t, n);
|
|
1156
1155
|
}
|
|
1157
1156
|
static fromJson(t, n) {
|
|
1158
|
-
return new
|
|
1157
|
+
return new F().fromJson(t, n);
|
|
1159
1158
|
}
|
|
1160
1159
|
static fromJsonString(t, n) {
|
|
1161
|
-
return new
|
|
1160
|
+
return new F().fromJsonString(t, n);
|
|
1162
1161
|
}
|
|
1163
1162
|
static equals(t, n) {
|
|
1164
|
-
return r.util.equals(
|
|
1163
|
+
return r.util.equals(F, t, n);
|
|
1165
1164
|
}
|
|
1166
1165
|
};
|
|
1167
|
-
a(
|
|
1166
|
+
a(F, "runtime", r), a(F, "typeName", "audiotool.project.v1.ListProjectsRequest"), a(F, "fields", r.util.newFieldList(() => [
|
|
1168
1167
|
{
|
|
1169
1168
|
no: 1,
|
|
1170
1169
|
name: "filter",
|
|
@@ -1194,8 +1193,8 @@ a(U, "runtime", r), a(U, "typeName", "audiotool.project.v1.ListProjectsRequest")
|
|
|
1194
1193
|
/* ScalarType.STRING */
|
|
1195
1194
|
}
|
|
1196
1195
|
]));
|
|
1197
|
-
let
|
|
1198
|
-
const
|
|
1196
|
+
let Un = F;
|
|
1197
|
+
const M = class M extends e {
|
|
1199
1198
|
constructor(t) {
|
|
1200
1199
|
super();
|
|
1201
1200
|
/**
|
|
@@ -1214,19 +1213,19 @@ const F = class F extends e {
|
|
|
1214
1213
|
r.util.initPartial(t, this);
|
|
1215
1214
|
}
|
|
1216
1215
|
static fromBinary(t, n) {
|
|
1217
|
-
return new
|
|
1216
|
+
return new M().fromBinary(t, n);
|
|
1218
1217
|
}
|
|
1219
1218
|
static fromJson(t, n) {
|
|
1220
|
-
return new
|
|
1219
|
+
return new M().fromJson(t, n);
|
|
1221
1220
|
}
|
|
1222
1221
|
static fromJsonString(t, n) {
|
|
1223
|
-
return new
|
|
1222
|
+
return new M().fromJsonString(t, n);
|
|
1224
1223
|
}
|
|
1225
1224
|
static equals(t, n) {
|
|
1226
|
-
return r.util.equals(
|
|
1225
|
+
return r.util.equals(M, t, n);
|
|
1227
1226
|
}
|
|
1228
1227
|
};
|
|
1229
|
-
a(
|
|
1228
|
+
a(M, "runtime", r), a(M, "typeName", "audiotool.project.v1.ListProjectsResponse"), a(M, "fields", r.util.newFieldList(() => [
|
|
1230
1229
|
{ no: 1, name: "projects", kind: "message", T: f, repeated: !0 },
|
|
1231
1230
|
{
|
|
1232
1231
|
no: 2,
|
|
@@ -1236,8 +1235,8 @@ a(F, "runtime", r), a(F, "typeName", "audiotool.project.v1.ListProjectsResponse"
|
|
|
1236
1235
|
/* ScalarType.STRING */
|
|
1237
1236
|
}
|
|
1238
1237
|
]));
|
|
1239
|
-
let
|
|
1240
|
-
const
|
|
1238
|
+
let Fn = M;
|
|
1239
|
+
const h = class h extends e {
|
|
1241
1240
|
constructor(t) {
|
|
1242
1241
|
super();
|
|
1243
1242
|
/**
|
|
@@ -1249,19 +1248,19 @@ const M = class M extends e {
|
|
|
1249
1248
|
r.util.initPartial(t, this);
|
|
1250
1249
|
}
|
|
1251
1250
|
static fromBinary(t, n) {
|
|
1252
|
-
return new
|
|
1251
|
+
return new h().fromBinary(t, n);
|
|
1253
1252
|
}
|
|
1254
1253
|
static fromJson(t, n) {
|
|
1255
|
-
return new
|
|
1254
|
+
return new h().fromJson(t, n);
|
|
1256
1255
|
}
|
|
1257
1256
|
static fromJsonString(t, n) {
|
|
1258
|
-
return new
|
|
1257
|
+
return new h().fromJsonString(t, n);
|
|
1259
1258
|
}
|
|
1260
1259
|
static equals(t, n) {
|
|
1261
|
-
return r.util.equals(
|
|
1260
|
+
return r.util.equals(h, t, n);
|
|
1262
1261
|
}
|
|
1263
1262
|
};
|
|
1264
|
-
a(
|
|
1263
|
+
a(h, "runtime", r), a(h, "typeName", "audiotool.project.v1.GetProjectRequest"), a(h, "fields", r.util.newFieldList(() => [
|
|
1265
1264
|
{
|
|
1266
1265
|
no: 1,
|
|
1267
1266
|
name: "name",
|
|
@@ -1270,7 +1269,7 @@ a(M, "runtime", r), a(M, "typeName", "audiotool.project.v1.GetProjectRequest"),
|
|
|
1270
1269
|
/* ScalarType.STRING */
|
|
1271
1270
|
}
|
|
1272
1271
|
]));
|
|
1273
|
-
let
|
|
1272
|
+
let Mn = h;
|
|
1274
1273
|
const x = class x extends e {
|
|
1275
1274
|
constructor(t) {
|
|
1276
1275
|
super();
|
|
@@ -1298,8 +1297,8 @@ const x = class x extends e {
|
|
|
1298
1297
|
a(x, "runtime", r), a(x, "typeName", "audiotool.project.v1.GetProjectResponse"), a(x, "fields", r.util.newFieldList(() => [
|
|
1299
1298
|
{ no: 1, name: "project", kind: "message", T: f }
|
|
1300
1299
|
]));
|
|
1301
|
-
let
|
|
1302
|
-
const
|
|
1300
|
+
let hn = x;
|
|
1301
|
+
const V = class V extends e {
|
|
1303
1302
|
constructor(t) {
|
|
1304
1303
|
super();
|
|
1305
1304
|
/**
|
|
@@ -1311,23 +1310,23 @@ const h = class h extends e {
|
|
|
1311
1310
|
r.util.initPartial(t, this);
|
|
1312
1311
|
}
|
|
1313
1312
|
static fromBinary(t, n) {
|
|
1314
|
-
return new
|
|
1313
|
+
return new V().fromBinary(t, n);
|
|
1315
1314
|
}
|
|
1316
1315
|
static fromJson(t, n) {
|
|
1317
|
-
return new
|
|
1316
|
+
return new V().fromJson(t, n);
|
|
1318
1317
|
}
|
|
1319
1318
|
static fromJsonString(t, n) {
|
|
1320
|
-
return new
|
|
1319
|
+
return new V().fromJsonString(t, n);
|
|
1321
1320
|
}
|
|
1322
1321
|
static equals(t, n) {
|
|
1323
|
-
return r.util.equals(
|
|
1322
|
+
return r.util.equals(V, t, n);
|
|
1324
1323
|
}
|
|
1325
1324
|
};
|
|
1326
|
-
a(
|
|
1325
|
+
a(V, "runtime", r), a(V, "typeName", "audiotool.project.v1.CreateProjectRequest"), a(V, "fields", r.util.newFieldList(() => [
|
|
1327
1326
|
{ no: 1, name: "project", kind: "message", T: f }
|
|
1328
1327
|
]));
|
|
1329
|
-
let xn =
|
|
1330
|
-
const
|
|
1328
|
+
let xn = V;
|
|
1329
|
+
const R = class R extends e {
|
|
1331
1330
|
constructor(t) {
|
|
1332
1331
|
super();
|
|
1333
1332
|
/**
|
|
@@ -1339,23 +1338,23 @@ const V = class V extends e {
|
|
|
1339
1338
|
r.util.initPartial(t, this);
|
|
1340
1339
|
}
|
|
1341
1340
|
static fromBinary(t, n) {
|
|
1342
|
-
return new
|
|
1341
|
+
return new R().fromBinary(t, n);
|
|
1343
1342
|
}
|
|
1344
1343
|
static fromJson(t, n) {
|
|
1345
|
-
return new
|
|
1344
|
+
return new R().fromJson(t, n);
|
|
1346
1345
|
}
|
|
1347
1346
|
static fromJsonString(t, n) {
|
|
1348
|
-
return new
|
|
1347
|
+
return new R().fromJsonString(t, n);
|
|
1349
1348
|
}
|
|
1350
1349
|
static equals(t, n) {
|
|
1351
|
-
return r.util.equals(
|
|
1350
|
+
return r.util.equals(R, t, n);
|
|
1352
1351
|
}
|
|
1353
1352
|
};
|
|
1354
|
-
a(
|
|
1353
|
+
a(R, "runtime", r), a(R, "typeName", "audiotool.project.v1.CreateProjectResponse"), a(R, "fields", r.util.newFieldList(() => [
|
|
1355
1354
|
{ no: 1, name: "project", kind: "message", T: f }
|
|
1356
1355
|
]));
|
|
1357
|
-
let
|
|
1358
|
-
const
|
|
1356
|
+
let Vn = R;
|
|
1357
|
+
const Y = class Y extends e {
|
|
1359
1358
|
constructor(t) {
|
|
1360
1359
|
super();
|
|
1361
1360
|
/**
|
|
@@ -1377,19 +1376,19 @@ const R = class R extends e {
|
|
|
1377
1376
|
r.util.initPartial(t, this);
|
|
1378
1377
|
}
|
|
1379
1378
|
static fromBinary(t, n) {
|
|
1380
|
-
return new
|
|
1379
|
+
return new Y().fromBinary(t, n);
|
|
1381
1380
|
}
|
|
1382
1381
|
static fromJson(t, n) {
|
|
1383
|
-
return new
|
|
1382
|
+
return new Y().fromJson(t, n);
|
|
1384
1383
|
}
|
|
1385
1384
|
static fromJsonString(t, n) {
|
|
1386
|
-
return new
|
|
1385
|
+
return new Y().fromJsonString(t, n);
|
|
1387
1386
|
}
|
|
1388
1387
|
static equals(t, n) {
|
|
1389
|
-
return r.util.equals(
|
|
1388
|
+
return r.util.equals(Y, t, n);
|
|
1390
1389
|
}
|
|
1391
1390
|
};
|
|
1392
|
-
a(
|
|
1391
|
+
a(Y, "runtime", r), a(Y, "typeName", "audiotool.project.v1.UploadCoverRequest"), a(Y, "fields", r.util.newFieldList(() => [
|
|
1393
1392
|
{
|
|
1394
1393
|
no: 1,
|
|
1395
1394
|
name: "name",
|
|
@@ -1405,8 +1404,8 @@ a(R, "runtime", r), a(R, "typeName", "audiotool.project.v1.UploadCoverRequest"),
|
|
|
1405
1404
|
/* ScalarType.BYTES */
|
|
1406
1405
|
}
|
|
1407
1406
|
]));
|
|
1408
|
-
let
|
|
1409
|
-
const
|
|
1407
|
+
let Rn = Y;
|
|
1408
|
+
const v = class v extends e {
|
|
1410
1409
|
constructor(t) {
|
|
1411
1410
|
super();
|
|
1412
1411
|
/**
|
|
@@ -1418,23 +1417,23 @@ const Y = class Y extends e {
|
|
|
1418
1417
|
r.util.initPartial(t, this);
|
|
1419
1418
|
}
|
|
1420
1419
|
static fromBinary(t, n) {
|
|
1421
|
-
return new
|
|
1420
|
+
return new v().fromBinary(t, n);
|
|
1422
1421
|
}
|
|
1423
1422
|
static fromJson(t, n) {
|
|
1424
|
-
return new
|
|
1423
|
+
return new v().fromJson(t, n);
|
|
1425
1424
|
}
|
|
1426
1425
|
static fromJsonString(t, n) {
|
|
1427
|
-
return new
|
|
1426
|
+
return new v().fromJsonString(t, n);
|
|
1428
1427
|
}
|
|
1429
1428
|
static equals(t, n) {
|
|
1430
|
-
return r.util.equals(
|
|
1429
|
+
return r.util.equals(v, t, n);
|
|
1431
1430
|
}
|
|
1432
1431
|
};
|
|
1433
|
-
a(
|
|
1432
|
+
a(v, "runtime", r), a(v, "typeName", "audiotool.project.v1.UploadCoverResponse"), a(v, "fields", r.util.newFieldList(() => [
|
|
1434
1433
|
{ no: 1, name: "project", kind: "message", T: f }
|
|
1435
1434
|
]));
|
|
1436
|
-
let
|
|
1437
|
-
const
|
|
1435
|
+
let Yn = v;
|
|
1436
|
+
const D = class D extends e {
|
|
1438
1437
|
constructor(t) {
|
|
1439
1438
|
super();
|
|
1440
1439
|
/**
|
|
@@ -1452,24 +1451,24 @@ const v = class v extends e {
|
|
|
1452
1451
|
r.util.initPartial(t, this);
|
|
1453
1452
|
}
|
|
1454
1453
|
static fromBinary(t, n) {
|
|
1455
|
-
return new
|
|
1454
|
+
return new D().fromBinary(t, n);
|
|
1456
1455
|
}
|
|
1457
1456
|
static fromJson(t, n) {
|
|
1458
|
-
return new
|
|
1457
|
+
return new D().fromJson(t, n);
|
|
1459
1458
|
}
|
|
1460
1459
|
static fromJsonString(t, n) {
|
|
1461
|
-
return new
|
|
1460
|
+
return new D().fromJsonString(t, n);
|
|
1462
1461
|
}
|
|
1463
1462
|
static equals(t, n) {
|
|
1464
|
-
return r.util.equals(
|
|
1463
|
+
return r.util.equals(D, t, n);
|
|
1465
1464
|
}
|
|
1466
1465
|
};
|
|
1467
|
-
a(
|
|
1466
|
+
a(D, "runtime", r), a(D, "typeName", "audiotool.project.v1.UpdateProjectRequest"), a(D, "fields", r.util.newFieldList(() => [
|
|
1468
1467
|
{ no: 1, name: "project", kind: "message", T: f },
|
|
1469
1468
|
{ no: 2, name: "update_mask", kind: "message", T: mn }
|
|
1470
1469
|
]));
|
|
1471
|
-
let
|
|
1472
|
-
const
|
|
1470
|
+
let vn = D;
|
|
1471
|
+
const H = class H extends e {
|
|
1473
1472
|
constructor(t) {
|
|
1474
1473
|
super();
|
|
1475
1474
|
/**
|
|
@@ -1481,24 +1480,24 @@ const D = class D extends e {
|
|
|
1481
1480
|
r.util.initPartial(t, this);
|
|
1482
1481
|
}
|
|
1483
1482
|
static fromBinary(t, n) {
|
|
1484
|
-
return new
|
|
1483
|
+
return new H().fromBinary(t, n);
|
|
1485
1484
|
}
|
|
1486
1485
|
static fromJson(t, n) {
|
|
1487
|
-
return new
|
|
1486
|
+
return new H().fromJson(t, n);
|
|
1488
1487
|
}
|
|
1489
1488
|
static fromJsonString(t, n) {
|
|
1490
|
-
return new
|
|
1489
|
+
return new H().fromJsonString(t, n);
|
|
1491
1490
|
}
|
|
1492
1491
|
static equals(t, n) {
|
|
1493
|
-
return r.util.equals(
|
|
1492
|
+
return r.util.equals(H, t, n);
|
|
1494
1493
|
}
|
|
1495
1494
|
};
|
|
1496
|
-
a(
|
|
1495
|
+
a(H, "runtime", r), a(H, "typeName", "audiotool.project.v1.UpdateProjectResponse"), a(H, "fields", r.util.newFieldList(() => [
|
|
1497
1496
|
{ no: 1, name: "project", kind: "message", T: f }
|
|
1498
1497
|
]));
|
|
1499
|
-
let
|
|
1500
|
-
const
|
|
1501
|
-
constructor(t) {
|
|
1498
|
+
let Dn = H;
|
|
1499
|
+
const X = class X extends e {
|
|
1500
|
+
constructor(t) {
|
|
1502
1501
|
super();
|
|
1503
1502
|
/**
|
|
1504
1503
|
* Required. The name of the project to be deleted, in the form of `projects/{project_id}`.
|
|
@@ -1509,19 +1508,19 @@ const H = class H extends e {
|
|
|
1509
1508
|
r.util.initPartial(t, this);
|
|
1510
1509
|
}
|
|
1511
1510
|
static fromBinary(t, n) {
|
|
1512
|
-
return new
|
|
1511
|
+
return new X().fromBinary(t, n);
|
|
1513
1512
|
}
|
|
1514
1513
|
static fromJson(t, n) {
|
|
1515
|
-
return new
|
|
1514
|
+
return new X().fromJson(t, n);
|
|
1516
1515
|
}
|
|
1517
1516
|
static fromJsonString(t, n) {
|
|
1518
|
-
return new
|
|
1517
|
+
return new X().fromJsonString(t, n);
|
|
1519
1518
|
}
|
|
1520
1519
|
static equals(t, n) {
|
|
1521
|
-
return r.util.equals(
|
|
1520
|
+
return r.util.equals(X, t, n);
|
|
1522
1521
|
}
|
|
1523
1522
|
};
|
|
1524
|
-
a(
|
|
1523
|
+
a(X, "runtime", r), a(X, "typeName", "audiotool.project.v1.DeleteProjectRequest"), a(X, "fields", r.util.newFieldList(() => [
|
|
1525
1524
|
{
|
|
1526
1525
|
no: 1,
|
|
1527
1526
|
name: "name",
|
|
@@ -1530,7 +1529,7 @@ a(H, "runtime", r), a(H, "typeName", "audiotool.project.v1.DeleteProjectRequest"
|
|
|
1530
1529
|
/* ScalarType.STRING */
|
|
1531
1530
|
}
|
|
1532
1531
|
]));
|
|
1533
|
-
let
|
|
1532
|
+
let Hn = X;
|
|
1534
1533
|
const q = class q extends e {
|
|
1535
1534
|
constructor(s) {
|
|
1536
1535
|
super(), r.util.initPartial(s, this);
|
|
@@ -1549,8 +1548,8 @@ const q = class q extends e {
|
|
|
1549
1548
|
}
|
|
1550
1549
|
};
|
|
1551
1550
|
a(q, "runtime", r), a(q, "typeName", "audiotool.project.v1.DeleteProjectResponse"), a(q, "fields", r.util.newFieldList(() => []));
|
|
1552
|
-
let
|
|
1553
|
-
const
|
|
1551
|
+
let Xn = q;
|
|
1552
|
+
const _ = class _ extends e {
|
|
1554
1553
|
constructor(t) {
|
|
1555
1554
|
super();
|
|
1556
1555
|
/**
|
|
@@ -1574,19 +1573,19 @@ const X = class X extends e {
|
|
|
1574
1573
|
r.util.initPartial(t, this);
|
|
1575
1574
|
}
|
|
1576
1575
|
static fromBinary(t, n) {
|
|
1577
|
-
return new
|
|
1576
|
+
return new _().fromBinary(t, n);
|
|
1578
1577
|
}
|
|
1579
1578
|
static fromJson(t, n) {
|
|
1580
|
-
return new
|
|
1579
|
+
return new _().fromJson(t, n);
|
|
1581
1580
|
}
|
|
1582
1581
|
static fromJsonString(t, n) {
|
|
1583
|
-
return new
|
|
1582
|
+
return new _().fromJsonString(t, n);
|
|
1584
1583
|
}
|
|
1585
1584
|
static equals(t, n) {
|
|
1586
|
-
return r.util.equals(
|
|
1585
|
+
return r.util.equals(_, t, n);
|
|
1587
1586
|
}
|
|
1588
1587
|
};
|
|
1589
|
-
a(
|
|
1588
|
+
a(_, "runtime", r), a(_, "typeName", "audiotool.project.v1.SyncTrackRequest"), a(_, "fields", r.util.newFieldList(() => [
|
|
1590
1589
|
{
|
|
1591
1590
|
no: 1,
|
|
1592
1591
|
name: "name",
|
|
@@ -1594,7 +1593,7 @@ a(X, "runtime", r), a(X, "typeName", "audiotool.project.v1.SyncTrackRequest"), a
|
|
|
1594
1593
|
T: 9
|
|
1595
1594
|
/* ScalarType.STRING */
|
|
1596
1595
|
},
|
|
1597
|
-
{ no: 2, name: "mode", kind: "enum", T: r.getEnumType(
|
|
1596
|
+
{ no: 2, name: "mode", kind: "enum", T: r.getEnumType(Xa) },
|
|
1598
1597
|
{
|
|
1599
1598
|
no: 3,
|
|
1600
1599
|
name: "commit_index",
|
|
@@ -1603,8 +1602,8 @@ a(X, "runtime", r), a(X, "typeName", "audiotool.project.v1.SyncTrackRequest"), a
|
|
|
1603
1602
|
/* ScalarType.UINT32 */
|
|
1604
1603
|
}
|
|
1605
1604
|
]));
|
|
1606
|
-
let qn =
|
|
1607
|
-
const
|
|
1605
|
+
let qn = _;
|
|
1606
|
+
const b = class b extends e {
|
|
1608
1607
|
constructor(t) {
|
|
1609
1608
|
super();
|
|
1610
1609
|
/**
|
|
@@ -1616,19 +1615,19 @@ const _ = class _ extends e {
|
|
|
1616
1615
|
r.util.initPartial(t, this);
|
|
1617
1616
|
}
|
|
1618
1617
|
static fromBinary(t, n) {
|
|
1619
|
-
return new
|
|
1618
|
+
return new b().fromBinary(t, n);
|
|
1620
1619
|
}
|
|
1621
1620
|
static fromJson(t, n) {
|
|
1622
|
-
return new
|
|
1621
|
+
return new b().fromJson(t, n);
|
|
1623
1622
|
}
|
|
1624
1623
|
static fromJsonString(t, n) {
|
|
1625
|
-
return new
|
|
1624
|
+
return new b().fromJsonString(t, n);
|
|
1626
1625
|
}
|
|
1627
1626
|
static equals(t, n) {
|
|
1628
|
-
return r.util.equals(
|
|
1627
|
+
return r.util.equals(b, t, n);
|
|
1629
1628
|
}
|
|
1630
1629
|
};
|
|
1631
|
-
a(
|
|
1630
|
+
a(b, "runtime", r), a(b, "typeName", "audiotool.project.v1.OpenSessionRequest"), a(b, "fields", r.util.newFieldList(() => [
|
|
1632
1631
|
{
|
|
1633
1632
|
no: 1,
|
|
1634
1633
|
name: "project_name",
|
|
@@ -1637,8 +1636,8 @@ a(_, "runtime", r), a(_, "typeName", "audiotool.project.v1.OpenSessionRequest"),
|
|
|
1637
1636
|
/* ScalarType.STRING */
|
|
1638
1637
|
}
|
|
1639
1638
|
]));
|
|
1640
|
-
let
|
|
1641
|
-
const
|
|
1639
|
+
let _n = b;
|
|
1640
|
+
const j = class j extends e {
|
|
1642
1641
|
constructor(t) {
|
|
1643
1642
|
super();
|
|
1644
1643
|
/**
|
|
@@ -1650,23 +1649,23 @@ const b = class b extends e {
|
|
|
1650
1649
|
r.util.initPartial(t, this);
|
|
1651
1650
|
}
|
|
1652
1651
|
static fromBinary(t, n) {
|
|
1653
|
-
return new
|
|
1652
|
+
return new j().fromBinary(t, n);
|
|
1654
1653
|
}
|
|
1655
1654
|
static fromJson(t, n) {
|
|
1656
|
-
return new
|
|
1655
|
+
return new j().fromJson(t, n);
|
|
1657
1656
|
}
|
|
1658
1657
|
static fromJsonString(t, n) {
|
|
1659
|
-
return new
|
|
1658
|
+
return new j().fromJsonString(t, n);
|
|
1660
1659
|
}
|
|
1661
1660
|
static equals(t, n) {
|
|
1662
|
-
return r.util.equals(
|
|
1661
|
+
return r.util.equals(j, t, n);
|
|
1663
1662
|
}
|
|
1664
1663
|
};
|
|
1665
|
-
a(
|
|
1664
|
+
a(j, "runtime", r), a(j, "typeName", "audiotool.project.v1.OpenSessionResponse"), a(j, "fields", r.util.newFieldList(() => [
|
|
1666
1665
|
{ no: 1, name: "session", kind: "message", T: En }
|
|
1667
1666
|
]));
|
|
1668
|
-
let
|
|
1669
|
-
const
|
|
1667
|
+
let bn = j;
|
|
1668
|
+
const G = class G extends e {
|
|
1670
1669
|
constructor(t) {
|
|
1671
1670
|
super();
|
|
1672
1671
|
/**
|
|
@@ -1678,19 +1677,19 @@ const j = class j extends e {
|
|
|
1678
1677
|
r.util.initPartial(t, this);
|
|
1679
1678
|
}
|
|
1680
1679
|
static fromBinary(t, n) {
|
|
1681
|
-
return new
|
|
1680
|
+
return new G().fromBinary(t, n);
|
|
1682
1681
|
}
|
|
1683
1682
|
static fromJson(t, n) {
|
|
1684
|
-
return new
|
|
1683
|
+
return new G().fromJson(t, n);
|
|
1685
1684
|
}
|
|
1686
1685
|
static fromJsonString(t, n) {
|
|
1687
|
-
return new
|
|
1686
|
+
return new G().fromJsonString(t, n);
|
|
1688
1687
|
}
|
|
1689
1688
|
static equals(t, n) {
|
|
1690
|
-
return r.util.equals(
|
|
1689
|
+
return r.util.equals(G, t, n);
|
|
1691
1690
|
}
|
|
1692
1691
|
};
|
|
1693
|
-
a(
|
|
1692
|
+
a(G, "runtime", r), a(G, "typeName", "audiotool.project.v1.CloseSessionRequest"), a(G, "fields", r.util.newFieldList(() => [
|
|
1694
1693
|
{
|
|
1695
1694
|
no: 1,
|
|
1696
1695
|
name: "project_name",
|
|
@@ -1699,27 +1698,27 @@ a(j, "runtime", r), a(j, "typeName", "audiotool.project.v1.CloseSessionRequest")
|
|
|
1699
1698
|
/* ScalarType.STRING */
|
|
1700
1699
|
}
|
|
1701
1700
|
]));
|
|
1702
|
-
let $a =
|
|
1703
|
-
const
|
|
1701
|
+
let $a = G;
|
|
1702
|
+
const K = class K extends e {
|
|
1704
1703
|
constructor(s) {
|
|
1705
1704
|
super(), r.util.initPartial(s, this);
|
|
1706
1705
|
}
|
|
1707
1706
|
static fromBinary(s, t) {
|
|
1708
|
-
return new
|
|
1707
|
+
return new K().fromBinary(s, t);
|
|
1709
1708
|
}
|
|
1710
1709
|
static fromJson(s, t) {
|
|
1711
|
-
return new
|
|
1710
|
+
return new K().fromJson(s, t);
|
|
1712
1711
|
}
|
|
1713
1712
|
static fromJsonString(s, t) {
|
|
1714
|
-
return new
|
|
1713
|
+
return new K().fromJsonString(s, t);
|
|
1715
1714
|
}
|
|
1716
1715
|
static equals(s, t) {
|
|
1717
|
-
return r.util.equals(
|
|
1716
|
+
return r.util.equals(K, s, t);
|
|
1718
1717
|
}
|
|
1719
1718
|
};
|
|
1720
|
-
a(
|
|
1721
|
-
let Za =
|
|
1722
|
-
const
|
|
1719
|
+
a(K, "runtime", r), a(K, "typeName", "audiotool.project.v1.CloseSessionResponse"), a(K, "fields", r.util.newFieldList(() => []));
|
|
1720
|
+
let Za = K;
|
|
1721
|
+
const z = class z extends e {
|
|
1723
1722
|
constructor(t) {
|
|
1724
1723
|
super();
|
|
1725
1724
|
/**
|
|
@@ -1755,19 +1754,19 @@ const K = class K extends e {
|
|
|
1755
1754
|
r.util.initPartial(t, this);
|
|
1756
1755
|
}
|
|
1757
1756
|
static fromBinary(t, n) {
|
|
1758
|
-
return new
|
|
1757
|
+
return new z().fromBinary(t, n);
|
|
1759
1758
|
}
|
|
1760
1759
|
static fromJson(t, n) {
|
|
1761
|
-
return new
|
|
1760
|
+
return new z().fromJson(t, n);
|
|
1762
1761
|
}
|
|
1763
1762
|
static fromJsonString(t, n) {
|
|
1764
|
-
return new
|
|
1763
|
+
return new z().fromJsonString(t, n);
|
|
1765
1764
|
}
|
|
1766
1765
|
static equals(t, n) {
|
|
1767
|
-
return r.util.equals(
|
|
1766
|
+
return r.util.equals(z, t, n);
|
|
1768
1767
|
}
|
|
1769
1768
|
};
|
|
1770
|
-
a(
|
|
1769
|
+
a(z, "runtime", r), a(z, "typeName", "audiotool.project.v1.ListSessionsRequest"), a(z, "fields", r.util.newFieldList(() => [
|
|
1771
1770
|
{
|
|
1772
1771
|
no: 1,
|
|
1773
1772
|
name: "filter",
|
|
@@ -1797,8 +1796,8 @@ a(K, "runtime", r), a(K, "typeName", "audiotool.project.v1.ListSessionsRequest")
|
|
|
1797
1796
|
/* ScalarType.STRING */
|
|
1798
1797
|
}
|
|
1799
1798
|
]));
|
|
1800
|
-
let
|
|
1801
|
-
const
|
|
1799
|
+
let jn = z;
|
|
1800
|
+
const Q = class Q extends e {
|
|
1802
1801
|
constructor(t) {
|
|
1803
1802
|
super();
|
|
1804
1803
|
/**
|
|
@@ -1810,42 +1809,42 @@ const z = class z extends e {
|
|
|
1810
1809
|
r.util.initPartial(t, this);
|
|
1811
1810
|
}
|
|
1812
1811
|
static fromBinary(t, n) {
|
|
1813
|
-
return new
|
|
1812
|
+
return new Q().fromBinary(t, n);
|
|
1814
1813
|
}
|
|
1815
1814
|
static fromJson(t, n) {
|
|
1816
|
-
return new
|
|
1815
|
+
return new Q().fromJson(t, n);
|
|
1817
1816
|
}
|
|
1818
1817
|
static fromJsonString(t, n) {
|
|
1819
|
-
return new
|
|
1818
|
+
return new Q().fromJsonString(t, n);
|
|
1820
1819
|
}
|
|
1821
1820
|
static equals(t, n) {
|
|
1822
|
-
return r.util.equals(
|
|
1821
|
+
return r.util.equals(Q, t, n);
|
|
1823
1822
|
}
|
|
1824
1823
|
};
|
|
1825
|
-
a(
|
|
1824
|
+
a(Q, "runtime", r), a(Q, "typeName", "audiotool.project.v1.ListSessionsResponse"), a(Q, "fields", r.util.newFieldList(() => [
|
|
1826
1825
|
{ no: 1, name: "sessions", kind: "message", T: En, repeated: !0 }
|
|
1827
1826
|
]));
|
|
1828
|
-
let
|
|
1829
|
-
const
|
|
1827
|
+
let Gn = Q;
|
|
1828
|
+
const W = class W extends e {
|
|
1830
1829
|
constructor(s) {
|
|
1831
1830
|
super(), r.util.initPartial(s, this);
|
|
1832
1831
|
}
|
|
1833
1832
|
static fromBinary(s, t) {
|
|
1834
|
-
return new
|
|
1833
|
+
return new W().fromBinary(s, t);
|
|
1835
1834
|
}
|
|
1836
1835
|
static fromJson(s, t) {
|
|
1837
|
-
return new
|
|
1836
|
+
return new W().fromJson(s, t);
|
|
1838
1837
|
}
|
|
1839
1838
|
static fromJsonString(s, t) {
|
|
1840
|
-
return new
|
|
1839
|
+
return new W().fromJsonString(s, t);
|
|
1841
1840
|
}
|
|
1842
1841
|
static equals(s, t) {
|
|
1843
|
-
return r.util.equals(
|
|
1842
|
+
return r.util.equals(W, s, t);
|
|
1844
1843
|
}
|
|
1845
1844
|
};
|
|
1846
|
-
a(
|
|
1847
|
-
let
|
|
1848
|
-
const
|
|
1845
|
+
a(W, "runtime", r), a(W, "typeName", "audiotool.project.v1.GetLatestVersionBundleRequest"), a(W, "fields", r.util.newFieldList(() => []));
|
|
1846
|
+
let Kn = W;
|
|
1847
|
+
const $ = class $ extends e {
|
|
1849
1848
|
constructor(t) {
|
|
1850
1849
|
super();
|
|
1851
1850
|
/**
|
|
@@ -1871,19 +1870,19 @@ const W = class W extends e {
|
|
|
1871
1870
|
r.util.initPartial(t, this);
|
|
1872
1871
|
}
|
|
1873
1872
|
static fromBinary(t, n) {
|
|
1874
|
-
return new
|
|
1873
|
+
return new $().fromBinary(t, n);
|
|
1875
1874
|
}
|
|
1876
1875
|
static fromJson(t, n) {
|
|
1877
|
-
return new
|
|
1876
|
+
return new $().fromJson(t, n);
|
|
1878
1877
|
}
|
|
1879
1878
|
static fromJsonString(t, n) {
|
|
1880
|
-
return new
|
|
1879
|
+
return new $().fromJsonString(t, n);
|
|
1881
1880
|
}
|
|
1882
1881
|
static equals(t, n) {
|
|
1883
|
-
return r.util.equals(
|
|
1882
|
+
return r.util.equals($, t, n);
|
|
1884
1883
|
}
|
|
1885
1884
|
};
|
|
1886
|
-
a(
|
|
1885
|
+
a($, "runtime", r), a($, "typeName", "audiotool.project.v1.GetLatestVersionBundleResponse"), a($, "fields", r.util.newFieldList(() => [
|
|
1887
1886
|
{
|
|
1888
1887
|
no: 1,
|
|
1889
1888
|
name: "studio_prefix_url",
|
|
@@ -1906,8 +1905,8 @@ a(W, "runtime", r), a(W, "typeName", "audiotool.project.v1.GetLatestVersionBundl
|
|
|
1906
1905
|
/* ScalarType.STRING */
|
|
1907
1906
|
}
|
|
1908
1907
|
]));
|
|
1909
|
-
let
|
|
1910
|
-
const
|
|
1908
|
+
let zn = $;
|
|
1909
|
+
const Z = class Z extends e {
|
|
1911
1910
|
constructor(t) {
|
|
1912
1911
|
super();
|
|
1913
1912
|
/**
|
|
@@ -1958,19 +1957,19 @@ const $ = class $ extends e {
|
|
|
1958
1957
|
r.util.initPartial(t, this);
|
|
1959
1958
|
}
|
|
1960
1959
|
static fromBinary(t, n) {
|
|
1961
|
-
return new
|
|
1960
|
+
return new Z().fromBinary(t, n);
|
|
1962
1961
|
}
|
|
1963
1962
|
static fromJson(t, n) {
|
|
1964
|
-
return new
|
|
1963
|
+
return new Z().fromJson(t, n);
|
|
1965
1964
|
}
|
|
1966
1965
|
static fromJsonString(t, n) {
|
|
1967
|
-
return new
|
|
1966
|
+
return new Z().fromJsonString(t, n);
|
|
1968
1967
|
}
|
|
1969
1968
|
static equals(t, n) {
|
|
1970
|
-
return r.util.equals(
|
|
1969
|
+
return r.util.equals(Z, t, n);
|
|
1971
1970
|
}
|
|
1972
1971
|
};
|
|
1973
|
-
a(
|
|
1972
|
+
a(Z, "runtime", r), a(Z, "typeName", "audiotool.longrunning.v1.Operation"), a(Z, "fields", r.util.newFieldList(() => [
|
|
1974
1973
|
{
|
|
1975
1974
|
no: 1,
|
|
1976
1975
|
name: "name",
|
|
@@ -1978,7 +1977,7 @@ a($, "runtime", r), a($, "typeName", "audiotool.longrunning.v1.Operation"), a($,
|
|
|
1978
1977
|
T: 9
|
|
1979
1978
|
/* ScalarType.STRING */
|
|
1980
1979
|
},
|
|
1981
|
-
{ no: 2, name: "metadata", kind: "message", T:
|
|
1980
|
+
{ no: 2, name: "metadata", kind: "message", T: tn },
|
|
1982
1981
|
{
|
|
1983
1982
|
no: 3,
|
|
1984
1983
|
name: "done",
|
|
@@ -1986,13 +1985,13 @@ a($, "runtime", r), a($, "typeName", "audiotool.longrunning.v1.Operation"), a($,
|
|
|
1986
1985
|
T: 8
|
|
1987
1986
|
/* ScalarType.BOOL */
|
|
1988
1987
|
},
|
|
1989
|
-
{ no: 4, name: "error", kind: "message", T:
|
|
1990
|
-
{ no: 5, name: "response", kind: "message", T:
|
|
1988
|
+
{ no: 4, name: "error", kind: "message", T: Qn, oneof: "result" },
|
|
1989
|
+
{ no: 5, name: "response", kind: "message", T: tn, oneof: "result" },
|
|
1991
1990
|
{ no: 6, name: "owners", kind: "scalar", T: 9, repeated: !0 },
|
|
1992
1991
|
{ no: 7, name: "create_time", kind: "message", T: d }
|
|
1993
1992
|
]));
|
|
1994
|
-
let ln =
|
|
1995
|
-
const
|
|
1993
|
+
let ln = Z;
|
|
1994
|
+
const tt = class tt extends e {
|
|
1996
1995
|
constructor(t) {
|
|
1997
1996
|
super();
|
|
1998
1997
|
/**
|
|
@@ -2004,19 +2003,19 @@ const Z = class Z extends e {
|
|
|
2004
2003
|
r.util.initPartial(t, this);
|
|
2005
2004
|
}
|
|
2006
2005
|
static fromBinary(t, n) {
|
|
2007
|
-
return new
|
|
2006
|
+
return new tt().fromBinary(t, n);
|
|
2008
2007
|
}
|
|
2009
2008
|
static fromJson(t, n) {
|
|
2010
|
-
return new
|
|
2009
|
+
return new tt().fromJson(t, n);
|
|
2011
2010
|
}
|
|
2012
2011
|
static fromJsonString(t, n) {
|
|
2013
|
-
return new
|
|
2012
|
+
return new tt().fromJsonString(t, n);
|
|
2014
2013
|
}
|
|
2015
2014
|
static equals(t, n) {
|
|
2016
|
-
return r.util.equals(
|
|
2015
|
+
return r.util.equals(tt, t, n);
|
|
2017
2016
|
}
|
|
2018
2017
|
};
|
|
2019
|
-
a(
|
|
2018
|
+
a(tt, "runtime", r), a(tt, "typeName", "audiotool.longrunning.v1.GetOperationRequest"), a(tt, "fields", r.util.newFieldList(() => [
|
|
2020
2019
|
{
|
|
2021
2020
|
no: 1,
|
|
2022
2021
|
name: "name",
|
|
@@ -2025,8 +2024,8 @@ a(Z, "runtime", r), a(Z, "typeName", "audiotool.longrunning.v1.GetOperationReque
|
|
|
2025
2024
|
/* ScalarType.STRING */
|
|
2026
2025
|
}
|
|
2027
2026
|
]));
|
|
2028
|
-
let tr =
|
|
2029
|
-
const
|
|
2027
|
+
let tr = tt;
|
|
2028
|
+
const nt = class nt extends e {
|
|
2030
2029
|
constructor(t) {
|
|
2031
2030
|
super();
|
|
2032
2031
|
/**
|
|
@@ -2038,23 +2037,23 @@ const tt = class tt extends e {
|
|
|
2038
2037
|
r.util.initPartial(t, this);
|
|
2039
2038
|
}
|
|
2040
2039
|
static fromBinary(t, n) {
|
|
2041
|
-
return new
|
|
2040
|
+
return new nt().fromBinary(t, n);
|
|
2042
2041
|
}
|
|
2043
2042
|
static fromJson(t, n) {
|
|
2044
|
-
return new
|
|
2043
|
+
return new nt().fromJson(t, n);
|
|
2045
2044
|
}
|
|
2046
2045
|
static fromJsonString(t, n) {
|
|
2047
|
-
return new
|
|
2046
|
+
return new nt().fromJsonString(t, n);
|
|
2048
2047
|
}
|
|
2049
2048
|
static equals(t, n) {
|
|
2050
|
-
return r.util.equals(
|
|
2049
|
+
return r.util.equals(nt, t, n);
|
|
2051
2050
|
}
|
|
2052
2051
|
};
|
|
2053
|
-
a(
|
|
2052
|
+
a(nt, "runtime", r), a(nt, "typeName", "audiotool.longrunning.v1.GetOperationResponse"), a(nt, "fields", r.util.newFieldList(() => [
|
|
2054
2053
|
{ no: 1, name: "operation", kind: "message", T: ln }
|
|
2055
2054
|
]));
|
|
2056
|
-
let nr =
|
|
2057
|
-
const
|
|
2055
|
+
let nr = nt;
|
|
2056
|
+
const at = class at extends e {
|
|
2058
2057
|
constructor(t) {
|
|
2059
2058
|
super();
|
|
2060
2059
|
/**
|
|
@@ -2084,19 +2083,19 @@ const nt = class nt extends e {
|
|
|
2084
2083
|
r.util.initPartial(t, this);
|
|
2085
2084
|
}
|
|
2086
2085
|
static fromBinary(t, n) {
|
|
2087
|
-
return new
|
|
2086
|
+
return new at().fromBinary(t, n);
|
|
2088
2087
|
}
|
|
2089
2088
|
static fromJson(t, n) {
|
|
2090
|
-
return new
|
|
2089
|
+
return new at().fromJson(t, n);
|
|
2091
2090
|
}
|
|
2092
2091
|
static fromJsonString(t, n) {
|
|
2093
|
-
return new
|
|
2092
|
+
return new at().fromJsonString(t, n);
|
|
2094
2093
|
}
|
|
2095
2094
|
static equals(t, n) {
|
|
2096
|
-
return r.util.equals(
|
|
2095
|
+
return r.util.equals(at, t, n);
|
|
2097
2096
|
}
|
|
2098
2097
|
};
|
|
2099
|
-
a(
|
|
2098
|
+
a(at, "runtime", r), a(at, "typeName", "audiotool.longrunning.v1.ListOperationsRequest"), a(at, "fields", r.util.newFieldList(() => [
|
|
2100
2099
|
{
|
|
2101
2100
|
no: 4,
|
|
2102
2101
|
name: "name",
|
|
@@ -2126,8 +2125,8 @@ a(nt, "runtime", r), a(nt, "typeName", "audiotool.longrunning.v1.ListOperationsR
|
|
|
2126
2125
|
/* ScalarType.STRING */
|
|
2127
2126
|
}
|
|
2128
2127
|
]));
|
|
2129
|
-
let ar =
|
|
2130
|
-
const
|
|
2128
|
+
let ar = at;
|
|
2129
|
+
const rt = class rt extends e {
|
|
2131
2130
|
constructor(t) {
|
|
2132
2131
|
super();
|
|
2133
2132
|
/**
|
|
@@ -2145,19 +2144,19 @@ const at = class at extends e {
|
|
|
2145
2144
|
r.util.initPartial(t, this);
|
|
2146
2145
|
}
|
|
2147
2146
|
static fromBinary(t, n) {
|
|
2148
|
-
return new
|
|
2147
|
+
return new rt().fromBinary(t, n);
|
|
2149
2148
|
}
|
|
2150
2149
|
static fromJson(t, n) {
|
|
2151
|
-
return new
|
|
2150
|
+
return new rt().fromJson(t, n);
|
|
2152
2151
|
}
|
|
2153
2152
|
static fromJsonString(t, n) {
|
|
2154
|
-
return new
|
|
2153
|
+
return new rt().fromJsonString(t, n);
|
|
2155
2154
|
}
|
|
2156
2155
|
static equals(t, n) {
|
|
2157
|
-
return r.util.equals(
|
|
2156
|
+
return r.util.equals(rt, t, n);
|
|
2158
2157
|
}
|
|
2159
2158
|
};
|
|
2160
|
-
a(
|
|
2159
|
+
a(rt, "runtime", r), a(rt, "typeName", "audiotool.longrunning.v1.ListOperationsResponse"), a(rt, "fields", r.util.newFieldList(() => [
|
|
2161
2160
|
{ no: 1, name: "operations", kind: "message", T: ln, repeated: !0 },
|
|
2162
2161
|
{
|
|
2163
2162
|
no: 2,
|
|
@@ -2167,8 +2166,8 @@ a(at, "runtime", r), a(at, "typeName", "audiotool.longrunning.v1.ListOperationsR
|
|
|
2167
2166
|
/* ScalarType.STRING */
|
|
2168
2167
|
}
|
|
2169
2168
|
]));
|
|
2170
|
-
let rr =
|
|
2171
|
-
const
|
|
2169
|
+
let rr = rt;
|
|
2170
|
+
const it = class it extends e {
|
|
2172
2171
|
constructor(t) {
|
|
2173
2172
|
super();
|
|
2174
2173
|
/**
|
|
@@ -2180,19 +2179,19 @@ const rt = class rt extends e {
|
|
|
2180
2179
|
r.util.initPartial(t, this);
|
|
2181
2180
|
}
|
|
2182
2181
|
static fromBinary(t, n) {
|
|
2183
|
-
return new
|
|
2182
|
+
return new it().fromBinary(t, n);
|
|
2184
2183
|
}
|
|
2185
2184
|
static fromJson(t, n) {
|
|
2186
|
-
return new
|
|
2185
|
+
return new it().fromJson(t, n);
|
|
2187
2186
|
}
|
|
2188
2187
|
static fromJsonString(t, n) {
|
|
2189
|
-
return new
|
|
2188
|
+
return new it().fromJsonString(t, n);
|
|
2190
2189
|
}
|
|
2191
2190
|
static equals(t, n) {
|
|
2192
|
-
return r.util.equals(
|
|
2191
|
+
return r.util.equals(it, t, n);
|
|
2193
2192
|
}
|
|
2194
2193
|
};
|
|
2195
|
-
a(
|
|
2194
|
+
a(it, "runtime", r), a(it, "typeName", "audiotool.longrunning.v1.CancelOperationRequest"), a(it, "fields", r.util.newFieldList(() => [
|
|
2196
2195
|
{
|
|
2197
2196
|
no: 1,
|
|
2198
2197
|
name: "name",
|
|
@@ -2201,27 +2200,27 @@ a(rt, "runtime", r), a(rt, "typeName", "audiotool.longrunning.v1.CancelOperation
|
|
|
2201
2200
|
/* ScalarType.STRING */
|
|
2202
2201
|
}
|
|
2203
2202
|
]));
|
|
2204
|
-
let ir =
|
|
2205
|
-
const
|
|
2203
|
+
let ir = it;
|
|
2204
|
+
const st = class st extends e {
|
|
2206
2205
|
constructor(s) {
|
|
2207
2206
|
super(), r.util.initPartial(s, this);
|
|
2208
2207
|
}
|
|
2209
2208
|
static fromBinary(s, t) {
|
|
2210
|
-
return new
|
|
2209
|
+
return new st().fromBinary(s, t);
|
|
2211
2210
|
}
|
|
2212
2211
|
static fromJson(s, t) {
|
|
2213
|
-
return new
|
|
2212
|
+
return new st().fromJson(s, t);
|
|
2214
2213
|
}
|
|
2215
2214
|
static fromJsonString(s, t) {
|
|
2216
|
-
return new
|
|
2215
|
+
return new st().fromJsonString(s, t);
|
|
2217
2216
|
}
|
|
2218
2217
|
static equals(s, t) {
|
|
2219
|
-
return r.util.equals(
|
|
2218
|
+
return r.util.equals(st, s, t);
|
|
2220
2219
|
}
|
|
2221
2220
|
};
|
|
2222
|
-
a(
|
|
2223
|
-
let sr =
|
|
2224
|
-
const
|
|
2221
|
+
a(st, "runtime", r), a(st, "typeName", "audiotool.longrunning.v1.CancelOperationResponse"), a(st, "fields", r.util.newFieldList(() => []));
|
|
2222
|
+
let sr = st;
|
|
2223
|
+
const et = class et extends e {
|
|
2225
2224
|
constructor(t) {
|
|
2226
2225
|
super();
|
|
2227
2226
|
/**
|
|
@@ -2233,19 +2232,19 @@ const st = class st extends e {
|
|
|
2233
2232
|
r.util.initPartial(t, this);
|
|
2234
2233
|
}
|
|
2235
2234
|
static fromBinary(t, n) {
|
|
2236
|
-
return new
|
|
2235
|
+
return new et().fromBinary(t, n);
|
|
2237
2236
|
}
|
|
2238
2237
|
static fromJson(t, n) {
|
|
2239
|
-
return new
|
|
2238
|
+
return new et().fromJson(t, n);
|
|
2240
2239
|
}
|
|
2241
2240
|
static fromJsonString(t, n) {
|
|
2242
|
-
return new
|
|
2241
|
+
return new et().fromJsonString(t, n);
|
|
2243
2242
|
}
|
|
2244
2243
|
static equals(t, n) {
|
|
2245
|
-
return r.util.equals(
|
|
2244
|
+
return r.util.equals(et, t, n);
|
|
2246
2245
|
}
|
|
2247
2246
|
};
|
|
2248
|
-
a(
|
|
2247
|
+
a(et, "runtime", r), a(et, "typeName", "audiotool.longrunning.v1.DeleteOperationRequest"), a(et, "fields", r.util.newFieldList(() => [
|
|
2249
2248
|
{
|
|
2250
2249
|
no: 1,
|
|
2251
2250
|
name: "name",
|
|
@@ -2254,27 +2253,27 @@ a(st, "runtime", r), a(st, "typeName", "audiotool.longrunning.v1.DeleteOperation
|
|
|
2254
2253
|
/* ScalarType.STRING */
|
|
2255
2254
|
}
|
|
2256
2255
|
]));
|
|
2257
|
-
let er =
|
|
2258
|
-
const
|
|
2256
|
+
let er = et;
|
|
2257
|
+
const ot = class ot extends e {
|
|
2259
2258
|
constructor(s) {
|
|
2260
2259
|
super(), r.util.initPartial(s, this);
|
|
2261
2260
|
}
|
|
2262
2261
|
static fromBinary(s, t) {
|
|
2263
|
-
return new
|
|
2262
|
+
return new ot().fromBinary(s, t);
|
|
2264
2263
|
}
|
|
2265
2264
|
static fromJson(s, t) {
|
|
2266
|
-
return new
|
|
2265
|
+
return new ot().fromJson(s, t);
|
|
2267
2266
|
}
|
|
2268
2267
|
static fromJsonString(s, t) {
|
|
2269
|
-
return new
|
|
2268
|
+
return new ot().fromJsonString(s, t);
|
|
2270
2269
|
}
|
|
2271
2270
|
static equals(s, t) {
|
|
2272
|
-
return r.util.equals(
|
|
2271
|
+
return r.util.equals(ot, s, t);
|
|
2273
2272
|
}
|
|
2274
2273
|
};
|
|
2275
|
-
a(
|
|
2276
|
-
let or =
|
|
2277
|
-
const
|
|
2274
|
+
a(ot, "runtime", r), a(ot, "typeName", "audiotool.longrunning.v1.DeleteOperationResponse"), a(ot, "fields", r.util.newFieldList(() => []));
|
|
2275
|
+
let or = ot;
|
|
2276
|
+
const mt = class mt extends e {
|
|
2278
2277
|
constructor(t) {
|
|
2279
2278
|
super();
|
|
2280
2279
|
/**
|
|
@@ -2303,19 +2302,19 @@ const ot = class ot extends e {
|
|
|
2303
2302
|
r.util.initPartial(t, this);
|
|
2304
2303
|
}
|
|
2305
2304
|
static fromBinary(t, n) {
|
|
2306
|
-
return new
|
|
2305
|
+
return new mt().fromBinary(t, n);
|
|
2307
2306
|
}
|
|
2308
2307
|
static fromJson(t, n) {
|
|
2309
|
-
return new
|
|
2308
|
+
return new mt().fromJson(t, n);
|
|
2310
2309
|
}
|
|
2311
2310
|
static fromJsonString(t, n) {
|
|
2312
|
-
return new
|
|
2311
|
+
return new mt().fromJsonString(t, n);
|
|
2313
2312
|
}
|
|
2314
2313
|
static equals(t, n) {
|
|
2315
|
-
return r.util.equals(
|
|
2314
|
+
return r.util.equals(mt, t, n);
|
|
2316
2315
|
}
|
|
2317
2316
|
};
|
|
2318
|
-
a(
|
|
2317
|
+
a(mt, "runtime", r), a(mt, "typeName", "audiotool.longrunning.v1.Status"), a(mt, "fields", r.util.newFieldList(() => [
|
|
2319
2318
|
{
|
|
2320
2319
|
no: 1,
|
|
2321
2320
|
name: "code",
|
|
@@ -2330,10 +2329,10 @@ a(ot, "runtime", r), a(ot, "typeName", "audiotool.longrunning.v1.Status"), a(ot,
|
|
|
2330
2329
|
T: 9
|
|
2331
2330
|
/* ScalarType.STRING */
|
|
2332
2331
|
},
|
|
2333
|
-
{ no: 3, name: "details", kind: "message", T:
|
|
2332
|
+
{ no: 3, name: "details", kind: "message", T: tn, repeated: !0 }
|
|
2334
2333
|
]));
|
|
2335
|
-
let
|
|
2336
|
-
const
|
|
2334
|
+
let Qn = mt;
|
|
2335
|
+
const Br = {
|
|
2337
2336
|
typeName: "audiotool.project.v1.ProjectService",
|
|
2338
2337
|
methods: {
|
|
2339
2338
|
/**
|
|
@@ -2343,8 +2342,8 @@ const Nr = {
|
|
|
2343
2342
|
*/
|
|
2344
2343
|
listProjects: {
|
|
2345
2344
|
name: "ListProjects",
|
|
2346
|
-
I:
|
|
2347
|
-
O:
|
|
2345
|
+
I: Un,
|
|
2346
|
+
O: Fn,
|
|
2348
2347
|
kind: o.Unary
|
|
2349
2348
|
},
|
|
2350
2349
|
/**
|
|
@@ -2354,8 +2353,8 @@ const Nr = {
|
|
|
2354
2353
|
*/
|
|
2355
2354
|
getProject: {
|
|
2356
2355
|
name: "GetProject",
|
|
2357
|
-
I:
|
|
2358
|
-
O:
|
|
2356
|
+
I: Mn,
|
|
2357
|
+
O: hn,
|
|
2359
2358
|
kind: o.Unary
|
|
2360
2359
|
},
|
|
2361
2360
|
/**
|
|
@@ -2366,7 +2365,7 @@ const Nr = {
|
|
|
2366
2365
|
createProject: {
|
|
2367
2366
|
name: "CreateProject",
|
|
2368
2367
|
I: xn,
|
|
2369
|
-
O:
|
|
2368
|
+
O: Vn,
|
|
2370
2369
|
kind: o.Unary
|
|
2371
2370
|
},
|
|
2372
2371
|
/**
|
|
@@ -2376,8 +2375,8 @@ const Nr = {
|
|
|
2376
2375
|
*/
|
|
2377
2376
|
uploadCover: {
|
|
2378
2377
|
name: "UploadCover",
|
|
2379
|
-
I:
|
|
2380
|
-
O:
|
|
2378
|
+
I: Rn,
|
|
2379
|
+
O: Yn,
|
|
2381
2380
|
kind: o.Unary
|
|
2382
2381
|
},
|
|
2383
2382
|
/**
|
|
@@ -2387,8 +2386,8 @@ const Nr = {
|
|
|
2387
2386
|
*/
|
|
2388
2387
|
updateProject: {
|
|
2389
2388
|
name: "UpdateProject",
|
|
2390
|
-
I:
|
|
2391
|
-
O:
|
|
2389
|
+
I: vn,
|
|
2390
|
+
O: Dn,
|
|
2392
2391
|
kind: o.Unary
|
|
2393
2392
|
},
|
|
2394
2393
|
/**
|
|
@@ -2398,8 +2397,8 @@ const Nr = {
|
|
|
2398
2397
|
*/
|
|
2399
2398
|
deleteProject: {
|
|
2400
2399
|
name: "DeleteProject",
|
|
2401
|
-
I:
|
|
2402
|
-
O:
|
|
2400
|
+
I: Hn,
|
|
2401
|
+
O: Xn,
|
|
2403
2402
|
kind: o.Unary
|
|
2404
2403
|
},
|
|
2405
2404
|
/**
|
|
@@ -2429,8 +2428,8 @@ const Nr = {
|
|
|
2429
2428
|
*/
|
|
2430
2429
|
openSession: {
|
|
2431
2430
|
name: "OpenSession",
|
|
2432
|
-
I:
|
|
2433
|
-
O:
|
|
2431
|
+
I: _n,
|
|
2432
|
+
O: bn,
|
|
2434
2433
|
kind: o.Unary
|
|
2435
2434
|
},
|
|
2436
2435
|
/**
|
|
@@ -2442,8 +2441,8 @@ const Nr = {
|
|
|
2442
2441
|
*/
|
|
2443
2442
|
listSessions: {
|
|
2444
2443
|
name: "ListSessions",
|
|
2445
|
-
I:
|
|
2446
|
-
O:
|
|
2444
|
+
I: jn,
|
|
2445
|
+
O: Gn,
|
|
2447
2446
|
kind: o.Unary
|
|
2448
2447
|
},
|
|
2449
2448
|
/**
|
|
@@ -2455,32 +2454,32 @@ const Nr = {
|
|
|
2455
2454
|
*/
|
|
2456
2455
|
getLatestVersionBundle: {
|
|
2457
2456
|
name: "GetLatestVersionBundle",
|
|
2458
|
-
I:
|
|
2459
|
-
O:
|
|
2457
|
+
I: Kn,
|
|
2458
|
+
O: zn,
|
|
2460
2459
|
kind: o.Unary
|
|
2461
2460
|
}
|
|
2462
2461
|
}
|
|
2463
2462
|
};
|
|
2464
|
-
var
|
|
2465
|
-
r.util.setEnumType(
|
|
2463
|
+
var fn = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.ONE_SHOT = 1] = "ONE_SHOT", i[i.LOOP = 2] = "LOOP", i))(fn || {});
|
|
2464
|
+
r.util.setEnumType(fn, "audiotool.sample.v1.SampleType", [
|
|
2466
2465
|
{ no: 0, name: "SAMPLE_TYPE_UNSPECIFIED" },
|
|
2467
2466
|
{ no: 1, name: "SAMPLE_TYPE_ONE_SHOT" },
|
|
2468
2467
|
{ no: 2, name: "SAMPLE_TYPE_LOOP" }
|
|
2469
2468
|
]);
|
|
2470
|
-
var
|
|
2471
|
-
r.util.setEnumType(
|
|
2469
|
+
var Tn = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.SAFE = 1] = "SAFE", i[i.UNSAFE = 2] = "UNSAFE", i))(Tn || {});
|
|
2470
|
+
r.util.setEnumType(Tn, "audiotool.sample.v1.SampleClearance", [
|
|
2472
2471
|
{ no: 0, name: "SAMPLE_CLEARANCE_UNSPECIFIED" },
|
|
2473
2472
|
{ no: 1, name: "SAMPLE_CLEARANCE_SAFE" },
|
|
2474
2473
|
{ no: 2, name: "SAMPLE_CLEARANCE_UNSAFE" }
|
|
2475
2474
|
]);
|
|
2476
|
-
var
|
|
2477
|
-
r.util.setEnumType(
|
|
2475
|
+
var Sn = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.PUBLIC = 1] = "PUBLIC", i[i.UNLISTED = 2] = "UNLISTED", i[i.PRIVATE = 3] = "PRIVATE", i))(Sn || {});
|
|
2476
|
+
r.util.setEnumType(Sn, "audiotool.sample.v1.SampleUsage", [
|
|
2478
2477
|
{ no: 0, name: "SAMPLE_USAGE_UNSPECIFIED" },
|
|
2479
2478
|
{ no: 1, name: "SAMPLE_USAGE_PUBLIC" },
|
|
2480
2479
|
{ no: 2, name: "SAMPLE_USAGE_UNLISTED" },
|
|
2481
2480
|
{ no: 3, name: "SAMPLE_USAGE_PRIVATE" }
|
|
2482
2481
|
]);
|
|
2483
|
-
const
|
|
2482
|
+
const ut = class ut extends e {
|
|
2484
2483
|
constructor(t) {
|
|
2485
2484
|
super();
|
|
2486
2485
|
/**
|
|
@@ -2605,19 +2604,19 @@ const mt = class mt extends e {
|
|
|
2605
2604
|
r.util.initPartial(t, this);
|
|
2606
2605
|
}
|
|
2607
2606
|
static fromBinary(t, n) {
|
|
2608
|
-
return new
|
|
2607
|
+
return new ut().fromBinary(t, n);
|
|
2609
2608
|
}
|
|
2610
2609
|
static fromJson(t, n) {
|
|
2611
|
-
return new
|
|
2610
|
+
return new ut().fromJson(t, n);
|
|
2612
2611
|
}
|
|
2613
2612
|
static fromJsonString(t, n) {
|
|
2614
|
-
return new
|
|
2613
|
+
return new ut().fromJsonString(t, n);
|
|
2615
2614
|
}
|
|
2616
2615
|
static equals(t, n) {
|
|
2617
|
-
return r.util.equals(
|
|
2616
|
+
return r.util.equals(ut, t, n);
|
|
2618
2617
|
}
|
|
2619
2618
|
};
|
|
2620
|
-
a(
|
|
2619
|
+
a(ut, "runtime", r), a(ut, "typeName", "audiotool.sample.v1.Sample"), a(ut, "fields", r.util.newFieldList(() => [
|
|
2621
2620
|
{
|
|
2622
2621
|
no: 1,
|
|
2623
2622
|
name: "name",
|
|
@@ -2674,12 +2673,12 @@ a(mt, "runtime", r), a(mt, "typeName", "audiotool.sample.v1.Sample"), a(mt, "fie
|
|
|
2674
2673
|
T: 1
|
|
2675
2674
|
/* ScalarType.DOUBLE */
|
|
2676
2675
|
},
|
|
2677
|
-
{ no: 9, name: "sample_type", kind: "enum", T: r.getEnumType(
|
|
2678
|
-
{ no: 10, name: "play_duration", kind: "message", T:
|
|
2676
|
+
{ no: 9, name: "sample_type", kind: "enum", T: r.getEnumType(fn) },
|
|
2677
|
+
{ no: 10, name: "play_duration", kind: "message", T: dr },
|
|
2679
2678
|
{ no: 11, name: "create_time", kind: "message", T: d },
|
|
2680
2679
|
{ no: 12, name: "update_time", kind: "message", T: d },
|
|
2681
|
-
{ no: 13, name: "clearance", kind: "enum", T: r.getEnumType(
|
|
2682
|
-
{ no: 14, name: "usage", kind: "enum", T: r.getEnumType(
|
|
2680
|
+
{ no: 13, name: "clearance", kind: "enum", T: r.getEnumType(Tn) },
|
|
2681
|
+
{ no: 14, name: "usage", kind: "enum", T: r.getEnumType(Sn) },
|
|
2683
2682
|
{ no: 15, name: "tags", kind: "scalar", T: 9, repeated: !0 },
|
|
2684
2683
|
{
|
|
2685
2684
|
no: 16,
|
|
@@ -2710,22 +2709,22 @@ a(mt, "runtime", r), a(mt, "typeName", "audiotool.sample.v1.Sample"), a(mt, "fie
|
|
|
2710
2709
|
/* ScalarType.STRING */
|
|
2711
2710
|
}
|
|
2712
2711
|
]));
|
|
2713
|
-
let T =
|
|
2714
|
-
const
|
|
2712
|
+
let T = ut;
|
|
2713
|
+
const _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2715
2714
|
__proto__: null,
|
|
2716
2715
|
Sample: T,
|
|
2717
|
-
SampleClearance:
|
|
2718
|
-
SampleType:
|
|
2719
|
-
SampleUsage:
|
|
2716
|
+
SampleClearance: Tn,
|
|
2717
|
+
SampleType: fn,
|
|
2718
|
+
SampleUsage: Sn
|
|
2720
2719
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2721
|
-
var
|
|
2722
|
-
r.util.setEnumType(
|
|
2720
|
+
var qa = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.NONE = 1] = "NONE", i[i.INVALID_INPUT = 2] = "INVALID_INPUT", i[i.INTERNAL = 3] = "INTERNAL", i))(qa || {});
|
|
2721
|
+
r.util.setEnumType(qa, "audiotool.sample.v1.SampleConvertDoneErrorType", [
|
|
2723
2722
|
{ no: 0, name: "SAMPLE_CONVERT_DONE_ERROR_TYPE_UNSPECIFIED" },
|
|
2724
2723
|
{ no: 1, name: "SAMPLE_CONVERT_DONE_ERROR_TYPE_NONE" },
|
|
2725
2724
|
{ no: 2, name: "SAMPLE_CONVERT_DONE_ERROR_TYPE_INVALID_INPUT" },
|
|
2726
2725
|
{ no: 3, name: "SAMPLE_CONVERT_DONE_ERROR_TYPE_INTERNAL" }
|
|
2727
2726
|
]);
|
|
2728
|
-
const
|
|
2727
|
+
const lt = class lt extends e {
|
|
2729
2728
|
constructor(t) {
|
|
2730
2729
|
super();
|
|
2731
2730
|
/**
|
|
@@ -2749,19 +2748,19 @@ const ut = class ut extends e {
|
|
|
2749
2748
|
r.util.initPartial(t, this);
|
|
2750
2749
|
}
|
|
2751
2750
|
static fromBinary(t, n) {
|
|
2752
|
-
return new
|
|
2751
|
+
return new lt().fromBinary(t, n);
|
|
2753
2752
|
}
|
|
2754
2753
|
static fromJson(t, n) {
|
|
2755
|
-
return new
|
|
2754
|
+
return new lt().fromJson(t, n);
|
|
2756
2755
|
}
|
|
2757
2756
|
static fromJsonString(t, n) {
|
|
2758
|
-
return new
|
|
2757
|
+
return new lt().fromJsonString(t, n);
|
|
2759
2758
|
}
|
|
2760
2759
|
static equals(t, n) {
|
|
2761
|
-
return r.util.equals(
|
|
2760
|
+
return r.util.equals(lt, t, n);
|
|
2762
2761
|
}
|
|
2763
2762
|
};
|
|
2764
|
-
a(
|
|
2763
|
+
a(lt, "runtime", r), a(lt, "typeName", "audiotool.sample.v1.SampleEvent"), a(lt, "fields", r.util.newFieldList(() => [
|
|
2765
2764
|
{
|
|
2766
2765
|
no: 1,
|
|
2767
2766
|
name: "id",
|
|
@@ -2770,10 +2769,10 @@ a(ut, "runtime", r), a(ut, "typeName", "audiotool.sample.v1.SampleEvent"), a(ut,
|
|
|
2770
2769
|
/* ScalarType.STRING */
|
|
2771
2770
|
},
|
|
2772
2771
|
{ no: 2, name: "create_time", kind: "message", T: d },
|
|
2773
|
-
{ no: 3, name: "sample_convert_done", kind: "message", T:
|
|
2772
|
+
{ no: 3, name: "sample_convert_done", kind: "message", T: $n, oneof: "event" }
|
|
2774
2773
|
]));
|
|
2775
|
-
let
|
|
2776
|
-
const
|
|
2774
|
+
let Wn = lt;
|
|
2775
|
+
const ct = class ct extends e {
|
|
2777
2776
|
constructor(t) {
|
|
2778
2777
|
super();
|
|
2779
2778
|
/**
|
|
@@ -2791,24 +2790,24 @@ const lt = class lt extends e {
|
|
|
2791
2790
|
r.util.initPartial(t, this);
|
|
2792
2791
|
}
|
|
2793
2792
|
static fromBinary(t, n) {
|
|
2794
|
-
return new
|
|
2793
|
+
return new ct().fromBinary(t, n);
|
|
2795
2794
|
}
|
|
2796
2795
|
static fromJson(t, n) {
|
|
2797
|
-
return new
|
|
2796
|
+
return new ct().fromJson(t, n);
|
|
2798
2797
|
}
|
|
2799
2798
|
static fromJsonString(t, n) {
|
|
2800
|
-
return new
|
|
2799
|
+
return new ct().fromJsonString(t, n);
|
|
2801
2800
|
}
|
|
2802
2801
|
static equals(t, n) {
|
|
2803
|
-
return r.util.equals(
|
|
2802
|
+
return r.util.equals(ct, t, n);
|
|
2804
2803
|
}
|
|
2805
2804
|
};
|
|
2806
|
-
a(
|
|
2805
|
+
a(ct, "runtime", r), a(ct, "typeName", "audiotool.sample.v1.SampleConvertDone"), a(ct, "fields", r.util.newFieldList(() => [
|
|
2807
2806
|
{ no: 1, name: "sample", kind: "message", T },
|
|
2808
|
-
{ no: 2, name: "error", kind: "enum", T: r.getEnumType(
|
|
2807
|
+
{ no: 2, name: "error", kind: "enum", T: r.getEnumType(qa) }
|
|
2809
2808
|
]));
|
|
2810
|
-
let
|
|
2811
|
-
const
|
|
2809
|
+
let $n = ct;
|
|
2810
|
+
const Et = class Et extends e {
|
|
2812
2811
|
constructor(t) {
|
|
2813
2812
|
super();
|
|
2814
2813
|
/**
|
|
@@ -2880,19 +2879,19 @@ const ct = class ct extends e {
|
|
|
2880
2879
|
r.util.initPartial(t, this);
|
|
2881
2880
|
}
|
|
2882
2881
|
static fromBinary(t, n) {
|
|
2883
|
-
return new
|
|
2882
|
+
return new Et().fromBinary(t, n);
|
|
2884
2883
|
}
|
|
2885
2884
|
static fromJson(t, n) {
|
|
2886
|
-
return new
|
|
2885
|
+
return new Et().fromJson(t, n);
|
|
2887
2886
|
}
|
|
2888
2887
|
static fromJsonString(t, n) {
|
|
2889
|
-
return new
|
|
2888
|
+
return new Et().fromJsonString(t, n);
|
|
2890
2889
|
}
|
|
2891
2890
|
static equals(t, n) {
|
|
2892
|
-
return r.util.equals(
|
|
2891
|
+
return r.util.equals(Et, t, n);
|
|
2893
2892
|
}
|
|
2894
2893
|
};
|
|
2895
|
-
a(
|
|
2894
|
+
a(Et, "runtime", r), a(Et, "typeName", "audiotool.sample.v1.ListSamplesRequest"), a(Et, "fields", r.util.newFieldList(() => [
|
|
2896
2895
|
{
|
|
2897
2896
|
no: 2,
|
|
2898
2897
|
name: "page_size",
|
|
@@ -2929,8 +2928,8 @@ a(ct, "runtime", r), a(ct, "typeName", "audiotool.sample.v1.ListSamplesRequest")
|
|
|
2929
2928
|
/* ScalarType.STRING */
|
|
2930
2929
|
}
|
|
2931
2930
|
]));
|
|
2932
|
-
let
|
|
2933
|
-
const
|
|
2931
|
+
let Zn = Et;
|
|
2932
|
+
const dt = class dt extends e {
|
|
2934
2933
|
constructor(t) {
|
|
2935
2934
|
super();
|
|
2936
2935
|
/**
|
|
@@ -2949,19 +2948,19 @@ const Et = class Et extends e {
|
|
|
2949
2948
|
r.util.initPartial(t, this);
|
|
2950
2949
|
}
|
|
2951
2950
|
static fromBinary(t, n) {
|
|
2952
|
-
return new
|
|
2951
|
+
return new dt().fromBinary(t, n);
|
|
2953
2952
|
}
|
|
2954
2953
|
static fromJson(t, n) {
|
|
2955
|
-
return new
|
|
2954
|
+
return new dt().fromJson(t, n);
|
|
2956
2955
|
}
|
|
2957
2956
|
static fromJsonString(t, n) {
|
|
2958
|
-
return new
|
|
2957
|
+
return new dt().fromJsonString(t, n);
|
|
2959
2958
|
}
|
|
2960
2959
|
static equals(t, n) {
|
|
2961
|
-
return r.util.equals(
|
|
2960
|
+
return r.util.equals(dt, t, n);
|
|
2962
2961
|
}
|
|
2963
2962
|
};
|
|
2964
|
-
a(
|
|
2963
|
+
a(dt, "runtime", r), a(dt, "typeName", "audiotool.sample.v1.ListSamplesResponse"), a(dt, "fields", r.util.newFieldList(() => [
|
|
2965
2964
|
{ no: 1, name: "samples", kind: "message", T, repeated: !0 },
|
|
2966
2965
|
{
|
|
2967
2966
|
no: 2,
|
|
@@ -2971,8 +2970,8 @@ a(Et, "runtime", r), a(Et, "typeName", "audiotool.sample.v1.ListSamplesResponse"
|
|
|
2971
2970
|
/* ScalarType.STRING */
|
|
2972
2971
|
}
|
|
2973
2972
|
]));
|
|
2974
|
-
let
|
|
2975
|
-
const
|
|
2973
|
+
let ta = dt;
|
|
2974
|
+
const ft = class ft extends e {
|
|
2976
2975
|
constructor(t) {
|
|
2977
2976
|
super();
|
|
2978
2977
|
/**
|
|
@@ -2993,23 +2992,23 @@ const dt = class dt extends e {
|
|
|
2993
2992
|
r.util.initPartial(t, this);
|
|
2994
2993
|
}
|
|
2995
2994
|
static fromBinary(t, n) {
|
|
2996
|
-
return new
|
|
2995
|
+
return new ft().fromBinary(t, n);
|
|
2997
2996
|
}
|
|
2998
2997
|
static fromJson(t, n) {
|
|
2999
|
-
return new
|
|
2998
|
+
return new ft().fromJson(t, n);
|
|
3000
2999
|
}
|
|
3001
3000
|
static fromJsonString(t, n) {
|
|
3002
|
-
return new
|
|
3001
|
+
return new ft().fromJsonString(t, n);
|
|
3003
3002
|
}
|
|
3004
3003
|
static equals(t, n) {
|
|
3005
|
-
return r.util.equals(
|
|
3004
|
+
return r.util.equals(ft, t, n);
|
|
3006
3005
|
}
|
|
3007
3006
|
};
|
|
3008
|
-
a(
|
|
3007
|
+
a(ft, "runtime", r), a(ft, "typeName", "audiotool.sample.v1.CreateSampleRequest"), a(ft, "fields", r.util.newFieldList(() => [
|
|
3009
3008
|
{ no: 1, name: "sample", kind: "message", T }
|
|
3010
3009
|
]));
|
|
3011
|
-
let
|
|
3012
|
-
const
|
|
3010
|
+
let na = ft;
|
|
3011
|
+
const Tt = class Tt extends e {
|
|
3013
3012
|
constructor(t) {
|
|
3014
3013
|
super();
|
|
3015
3014
|
/**
|
|
@@ -3030,19 +3029,19 @@ const ft = class ft extends e {
|
|
|
3030
3029
|
r.util.initPartial(t, this);
|
|
3031
3030
|
}
|
|
3032
3031
|
static fromBinary(t, n) {
|
|
3033
|
-
return new
|
|
3032
|
+
return new Tt().fromBinary(t, n);
|
|
3034
3033
|
}
|
|
3035
3034
|
static fromJson(t, n) {
|
|
3036
|
-
return new
|
|
3035
|
+
return new Tt().fromJson(t, n);
|
|
3037
3036
|
}
|
|
3038
3037
|
static fromJsonString(t, n) {
|
|
3039
|
-
return new
|
|
3038
|
+
return new Tt().fromJsonString(t, n);
|
|
3040
3039
|
}
|
|
3041
3040
|
static equals(t, n) {
|
|
3042
|
-
return r.util.equals(
|
|
3041
|
+
return r.util.equals(Tt, t, n);
|
|
3043
3042
|
}
|
|
3044
3043
|
};
|
|
3045
|
-
a(
|
|
3044
|
+
a(Tt, "runtime", r), a(Tt, "typeName", "audiotool.sample.v1.SampleUploadEndpoint"), a(Tt, "fields", r.util.newFieldList(() => [
|
|
3046
3045
|
{
|
|
3047
3046
|
no: 1,
|
|
3048
3047
|
name: "upload_url",
|
|
@@ -3056,8 +3055,8 @@ a(ft, "runtime", r), a(ft, "typeName", "audiotool.sample.v1.SampleUploadEndpoint
|
|
|
3056
3055
|
/* ScalarType.STRING */
|
|
3057
3056
|
} }
|
|
3058
3057
|
]));
|
|
3059
|
-
let
|
|
3060
|
-
const
|
|
3058
|
+
let aa = Tt;
|
|
3059
|
+
const St = class St extends e {
|
|
3061
3060
|
constructor(t) {
|
|
3062
3061
|
super();
|
|
3063
3062
|
/**
|
|
@@ -3088,24 +3087,24 @@ const Tt = class Tt extends e {
|
|
|
3088
3087
|
r.util.initPartial(t, this);
|
|
3089
3088
|
}
|
|
3090
3089
|
static fromBinary(t, n) {
|
|
3091
|
-
return new
|
|
3090
|
+
return new St().fromBinary(t, n);
|
|
3092
3091
|
}
|
|
3093
3092
|
static fromJson(t, n) {
|
|
3094
|
-
return new
|
|
3093
|
+
return new St().fromJson(t, n);
|
|
3095
3094
|
}
|
|
3096
3095
|
static fromJsonString(t, n) {
|
|
3097
|
-
return new
|
|
3096
|
+
return new St().fromJsonString(t, n);
|
|
3098
3097
|
}
|
|
3099
3098
|
static equals(t, n) {
|
|
3100
|
-
return r.util.equals(
|
|
3099
|
+
return r.util.equals(St, t, n);
|
|
3101
3100
|
}
|
|
3102
3101
|
};
|
|
3103
|
-
a(
|
|
3102
|
+
a(St, "runtime", r), a(St, "typeName", "audiotool.sample.v1.CreateSampleResponse"), a(St, "fields", r.util.newFieldList(() => [
|
|
3104
3103
|
{ no: 1, name: "sample", kind: "message", T },
|
|
3105
|
-
{ no: 2, name: "upload_endpoint", kind: "message", T:
|
|
3104
|
+
{ no: 2, name: "upload_endpoint", kind: "message", T: aa }
|
|
3106
3105
|
]));
|
|
3107
|
-
let
|
|
3108
|
-
const
|
|
3106
|
+
let ra = St;
|
|
3107
|
+
const wt = class wt extends e {
|
|
3109
3108
|
constructor(t) {
|
|
3110
3109
|
super();
|
|
3111
3110
|
/**
|
|
@@ -3117,19 +3116,19 @@ const St = class St extends e {
|
|
|
3117
3116
|
r.util.initPartial(t, this);
|
|
3118
3117
|
}
|
|
3119
3118
|
static fromBinary(t, n) {
|
|
3120
|
-
return new
|
|
3119
|
+
return new wt().fromBinary(t, n);
|
|
3121
3120
|
}
|
|
3122
3121
|
static fromJson(t, n) {
|
|
3123
|
-
return new
|
|
3122
|
+
return new wt().fromJson(t, n);
|
|
3124
3123
|
}
|
|
3125
3124
|
static fromJsonString(t, n) {
|
|
3126
|
-
return new
|
|
3125
|
+
return new wt().fromJsonString(t, n);
|
|
3127
3126
|
}
|
|
3128
3127
|
static equals(t, n) {
|
|
3129
|
-
return r.util.equals(
|
|
3128
|
+
return r.util.equals(wt, t, n);
|
|
3130
3129
|
}
|
|
3131
3130
|
};
|
|
3132
|
-
a(
|
|
3131
|
+
a(wt, "runtime", r), a(wt, "typeName", "audiotool.sample.v1.UploadSampleFinishedRequest"), a(wt, "fields", r.util.newFieldList(() => [
|
|
3133
3132
|
{
|
|
3134
3133
|
no: 1,
|
|
3135
3134
|
name: "name",
|
|
@@ -3138,28 +3137,28 @@ a(St, "runtime", r), a(St, "typeName", "audiotool.sample.v1.UploadSampleFinished
|
|
|
3138
3137
|
/* ScalarType.STRING */
|
|
3139
3138
|
}
|
|
3140
3139
|
]));
|
|
3141
|
-
let
|
|
3142
|
-
const
|
|
3140
|
+
let ia = wt;
|
|
3141
|
+
const It = class It extends e {
|
|
3143
3142
|
constructor(s) {
|
|
3144
3143
|
super(), r.util.initPartial(s, this);
|
|
3145
3144
|
}
|
|
3146
3145
|
static fromBinary(s, t) {
|
|
3147
|
-
return new
|
|
3146
|
+
return new It().fromBinary(s, t);
|
|
3148
3147
|
}
|
|
3149
3148
|
static fromJson(s, t) {
|
|
3150
|
-
return new
|
|
3149
|
+
return new It().fromJson(s, t);
|
|
3151
3150
|
}
|
|
3152
3151
|
static fromJsonString(s, t) {
|
|
3153
|
-
return new
|
|
3152
|
+
return new It().fromJsonString(s, t);
|
|
3154
3153
|
}
|
|
3155
3154
|
static equals(s, t) {
|
|
3156
|
-
return r.util.equals(
|
|
3155
|
+
return r.util.equals(It, s, t);
|
|
3157
3156
|
}
|
|
3158
3157
|
};
|
|
3159
|
-
a(
|
|
3160
|
-
let
|
|
3161
|
-
const
|
|
3162
|
-
constructor(t) {
|
|
3158
|
+
a(It, "runtime", r), a(It, "typeName", "audiotool.sample.v1.UploadSampleFinishedResponse"), a(It, "fields", r.util.newFieldList(() => []));
|
|
3159
|
+
let sa = It;
|
|
3160
|
+
const gt = class gt extends e {
|
|
3161
|
+
constructor(t) {
|
|
3163
3162
|
super();
|
|
3164
3163
|
/**
|
|
3165
3164
|
* Required. The name of the sample to be retrieved, in the form `samples/{name}`.
|
|
@@ -3170,19 +3169,19 @@ const It = class It extends e {
|
|
|
3170
3169
|
r.util.initPartial(t, this);
|
|
3171
3170
|
}
|
|
3172
3171
|
static fromBinary(t, n) {
|
|
3173
|
-
return new
|
|
3172
|
+
return new gt().fromBinary(t, n);
|
|
3174
3173
|
}
|
|
3175
3174
|
static fromJson(t, n) {
|
|
3176
|
-
return new
|
|
3175
|
+
return new gt().fromJson(t, n);
|
|
3177
3176
|
}
|
|
3178
3177
|
static fromJsonString(t, n) {
|
|
3179
|
-
return new
|
|
3178
|
+
return new gt().fromJsonString(t, n);
|
|
3180
3179
|
}
|
|
3181
3180
|
static equals(t, n) {
|
|
3182
|
-
return r.util.equals(
|
|
3181
|
+
return r.util.equals(gt, t, n);
|
|
3183
3182
|
}
|
|
3184
3183
|
};
|
|
3185
|
-
a(
|
|
3184
|
+
a(gt, "runtime", r), a(gt, "typeName", "audiotool.sample.v1.GetSampleRequest"), a(gt, "fields", r.util.newFieldList(() => [
|
|
3186
3185
|
{
|
|
3187
3186
|
no: 1,
|
|
3188
3187
|
name: "name",
|
|
@@ -3191,8 +3190,8 @@ a(It, "runtime", r), a(It, "typeName", "audiotool.sample.v1.GetSampleRequest"),
|
|
|
3191
3190
|
/* ScalarType.STRING */
|
|
3192
3191
|
}
|
|
3193
3192
|
]));
|
|
3194
|
-
let
|
|
3195
|
-
const
|
|
3193
|
+
let ea = gt;
|
|
3194
|
+
const Jt = class Jt extends e {
|
|
3196
3195
|
constructor(t) {
|
|
3197
3196
|
super();
|
|
3198
3197
|
/**
|
|
@@ -3204,23 +3203,23 @@ const gt = class gt extends e {
|
|
|
3204
3203
|
r.util.initPartial(t, this);
|
|
3205
3204
|
}
|
|
3206
3205
|
static fromBinary(t, n) {
|
|
3207
|
-
return new
|
|
3206
|
+
return new Jt().fromBinary(t, n);
|
|
3208
3207
|
}
|
|
3209
3208
|
static fromJson(t, n) {
|
|
3210
|
-
return new
|
|
3209
|
+
return new Jt().fromJson(t, n);
|
|
3211
3210
|
}
|
|
3212
3211
|
static fromJsonString(t, n) {
|
|
3213
|
-
return new
|
|
3212
|
+
return new Jt().fromJsonString(t, n);
|
|
3214
3213
|
}
|
|
3215
3214
|
static equals(t, n) {
|
|
3216
|
-
return r.util.equals(
|
|
3215
|
+
return r.util.equals(Jt, t, n);
|
|
3217
3216
|
}
|
|
3218
3217
|
};
|
|
3219
|
-
a(
|
|
3218
|
+
a(Jt, "runtime", r), a(Jt, "typeName", "audiotool.sample.v1.GetSampleResponse"), a(Jt, "fields", r.util.newFieldList(() => [
|
|
3220
3219
|
{ no: 1, name: "sample", kind: "message", T }
|
|
3221
3220
|
]));
|
|
3222
|
-
let
|
|
3223
|
-
const
|
|
3221
|
+
let oa = Jt;
|
|
3222
|
+
const Pt = class Pt extends e {
|
|
3224
3223
|
constructor(t) {
|
|
3225
3224
|
super();
|
|
3226
3225
|
/**
|
|
@@ -3238,24 +3237,24 @@ const Jt = class Jt extends e {
|
|
|
3238
3237
|
r.util.initPartial(t, this);
|
|
3239
3238
|
}
|
|
3240
3239
|
static fromBinary(t, n) {
|
|
3241
|
-
return new
|
|
3240
|
+
return new Pt().fromBinary(t, n);
|
|
3242
3241
|
}
|
|
3243
3242
|
static fromJson(t, n) {
|
|
3244
|
-
return new
|
|
3243
|
+
return new Pt().fromJson(t, n);
|
|
3245
3244
|
}
|
|
3246
3245
|
static fromJsonString(t, n) {
|
|
3247
|
-
return new
|
|
3246
|
+
return new Pt().fromJsonString(t, n);
|
|
3248
3247
|
}
|
|
3249
3248
|
static equals(t, n) {
|
|
3250
|
-
return r.util.equals(
|
|
3249
|
+
return r.util.equals(Pt, t, n);
|
|
3251
3250
|
}
|
|
3252
3251
|
};
|
|
3253
|
-
a(
|
|
3252
|
+
a(Pt, "runtime", r), a(Pt, "typeName", "audiotool.sample.v1.UpdateSampleRequest"), a(Pt, "fields", r.util.newFieldList(() => [
|
|
3254
3253
|
{ no: 1, name: "sample", kind: "message", T },
|
|
3255
3254
|
{ no: 2, name: "update_mask", kind: "message", T: mn }
|
|
3256
3255
|
]));
|
|
3257
|
-
let
|
|
3258
|
-
const
|
|
3256
|
+
let ma = Pt;
|
|
3257
|
+
const Ot = class Ot extends e {
|
|
3259
3258
|
constructor(t) {
|
|
3260
3259
|
super();
|
|
3261
3260
|
/**
|
|
@@ -3267,23 +3266,23 @@ const Pt = class Pt extends e {
|
|
|
3267
3266
|
r.util.initPartial(t, this);
|
|
3268
3267
|
}
|
|
3269
3268
|
static fromBinary(t, n) {
|
|
3270
|
-
return new
|
|
3269
|
+
return new Ot().fromBinary(t, n);
|
|
3271
3270
|
}
|
|
3272
3271
|
static fromJson(t, n) {
|
|
3273
|
-
return new
|
|
3272
|
+
return new Ot().fromJson(t, n);
|
|
3274
3273
|
}
|
|
3275
3274
|
static fromJsonString(t, n) {
|
|
3276
|
-
return new
|
|
3275
|
+
return new Ot().fromJsonString(t, n);
|
|
3277
3276
|
}
|
|
3278
3277
|
static equals(t, n) {
|
|
3279
|
-
return r.util.equals(
|
|
3278
|
+
return r.util.equals(Ot, t, n);
|
|
3280
3279
|
}
|
|
3281
3280
|
};
|
|
3282
|
-
a(
|
|
3281
|
+
a(Ot, "runtime", r), a(Ot, "typeName", "audiotool.sample.v1.UpdateSampleResponse"), a(Ot, "fields", r.util.newFieldList(() => [
|
|
3283
3282
|
{ no: 1, name: "sample", kind: "message", T }
|
|
3284
3283
|
]));
|
|
3285
|
-
let
|
|
3286
|
-
const
|
|
3284
|
+
let ua = Ot;
|
|
3285
|
+
const yt = class yt extends e {
|
|
3287
3286
|
constructor(t) {
|
|
3288
3287
|
super();
|
|
3289
3288
|
/**
|
|
@@ -3295,19 +3294,19 @@ const Ot = class Ot extends e {
|
|
|
3295
3294
|
r.util.initPartial(t, this);
|
|
3296
3295
|
}
|
|
3297
3296
|
static fromBinary(t, n) {
|
|
3298
|
-
return new
|
|
3297
|
+
return new yt().fromBinary(t, n);
|
|
3299
3298
|
}
|
|
3300
3299
|
static fromJson(t, n) {
|
|
3301
|
-
return new
|
|
3300
|
+
return new yt().fromJson(t, n);
|
|
3302
3301
|
}
|
|
3303
3302
|
static fromJsonString(t, n) {
|
|
3304
|
-
return new
|
|
3303
|
+
return new yt().fromJsonString(t, n);
|
|
3305
3304
|
}
|
|
3306
3305
|
static equals(t, n) {
|
|
3307
|
-
return r.util.equals(
|
|
3306
|
+
return r.util.equals(yt, t, n);
|
|
3308
3307
|
}
|
|
3309
3308
|
};
|
|
3310
|
-
a(
|
|
3309
|
+
a(yt, "runtime", r), a(yt, "typeName", "audiotool.sample.v1.DeleteSampleRequest"), a(yt, "fields", r.util.newFieldList(() => [
|
|
3311
3310
|
{
|
|
3312
3311
|
no: 1,
|
|
3313
3312
|
name: "name",
|
|
@@ -3316,27 +3315,27 @@ a(Ot, "runtime", r), a(Ot, "typeName", "audiotool.sample.v1.DeleteSampleRequest"
|
|
|
3316
3315
|
/* ScalarType.STRING */
|
|
3317
3316
|
}
|
|
3318
3317
|
]));
|
|
3319
|
-
let
|
|
3320
|
-
const
|
|
3318
|
+
let la = yt;
|
|
3319
|
+
const kt = class kt extends e {
|
|
3321
3320
|
constructor(s) {
|
|
3322
3321
|
super(), r.util.initPartial(s, this);
|
|
3323
3322
|
}
|
|
3324
3323
|
static fromBinary(s, t) {
|
|
3325
|
-
return new
|
|
3324
|
+
return new kt().fromBinary(s, t);
|
|
3326
3325
|
}
|
|
3327
3326
|
static fromJson(s, t) {
|
|
3328
|
-
return new
|
|
3327
|
+
return new kt().fromJson(s, t);
|
|
3329
3328
|
}
|
|
3330
3329
|
static fromJsonString(s, t) {
|
|
3331
|
-
return new
|
|
3330
|
+
return new kt().fromJsonString(s, t);
|
|
3332
3331
|
}
|
|
3333
3332
|
static equals(s, t) {
|
|
3334
|
-
return r.util.equals(
|
|
3333
|
+
return r.util.equals(kt, s, t);
|
|
3335
3334
|
}
|
|
3336
3335
|
};
|
|
3337
|
-
a(
|
|
3338
|
-
let
|
|
3339
|
-
const
|
|
3336
|
+
a(kt, "runtime", r), a(kt, "typeName", "audiotool.sample.v1.DeleteSampleResponse"), a(kt, "fields", r.util.newFieldList(() => []));
|
|
3337
|
+
let ca = kt;
|
|
3338
|
+
const Nt = class Nt extends e {
|
|
3340
3339
|
constructor(t) {
|
|
3341
3340
|
super();
|
|
3342
3341
|
/**
|
|
@@ -3348,23 +3347,23 @@ const kt = class kt extends e {
|
|
|
3348
3347
|
r.util.initPartial(t, this);
|
|
3349
3348
|
}
|
|
3350
3349
|
static fromBinary(t, n) {
|
|
3351
|
-
return new
|
|
3350
|
+
return new Nt().fromBinary(t, n);
|
|
3352
3351
|
}
|
|
3353
3352
|
static fromJson(t, n) {
|
|
3354
|
-
return new
|
|
3353
|
+
return new Nt().fromJson(t, n);
|
|
3355
3354
|
}
|
|
3356
3355
|
static fromJsonString(t, n) {
|
|
3357
|
-
return new
|
|
3356
|
+
return new Nt().fromJsonString(t, n);
|
|
3358
3357
|
}
|
|
3359
3358
|
static equals(t, n) {
|
|
3360
|
-
return r.util.equals(
|
|
3359
|
+
return r.util.equals(Nt, t, n);
|
|
3361
3360
|
}
|
|
3362
3361
|
};
|
|
3363
|
-
a(
|
|
3362
|
+
a(Nt, "runtime", r), a(Nt, "typeName", "audiotool.sample.v1.ListenRequest"), a(Nt, "fields", r.util.newFieldList(() => [
|
|
3364
3363
|
{ no: 1, name: "names", kind: "scalar", T: 9, repeated: !0 }
|
|
3365
3364
|
]));
|
|
3366
|
-
let
|
|
3367
|
-
const
|
|
3365
|
+
let Ea = Nt;
|
|
3366
|
+
const Bt = class Bt extends e {
|
|
3368
3367
|
constructor(t) {
|
|
3369
3368
|
super();
|
|
3370
3369
|
/**
|
|
@@ -3376,23 +3375,23 @@ const Nt = class Nt extends e {
|
|
|
3376
3375
|
r.util.initPartial(t, this);
|
|
3377
3376
|
}
|
|
3378
3377
|
static fromBinary(t, n) {
|
|
3379
|
-
return new
|
|
3378
|
+
return new Bt().fromBinary(t, n);
|
|
3380
3379
|
}
|
|
3381
3380
|
static fromJson(t, n) {
|
|
3382
|
-
return new
|
|
3381
|
+
return new Bt().fromJson(t, n);
|
|
3383
3382
|
}
|
|
3384
3383
|
static fromJsonString(t, n) {
|
|
3385
|
-
return new
|
|
3384
|
+
return new Bt().fromJsonString(t, n);
|
|
3386
3385
|
}
|
|
3387
3386
|
static equals(t, n) {
|
|
3388
|
-
return r.util.equals(
|
|
3387
|
+
return r.util.equals(Bt, t, n);
|
|
3389
3388
|
}
|
|
3390
3389
|
};
|
|
3391
|
-
a(
|
|
3392
|
-
{ no: 1, name: "event", kind: "message", T:
|
|
3390
|
+
a(Bt, "runtime", r), a(Bt, "typeName", "audiotool.sample.v1.ListenResponse"), a(Bt, "fields", r.util.newFieldList(() => [
|
|
3391
|
+
{ no: 1, name: "event", kind: "message", T: Wn }
|
|
3393
3392
|
]));
|
|
3394
|
-
let
|
|
3395
|
-
const
|
|
3393
|
+
let da = Bt;
|
|
3394
|
+
const Ar = {
|
|
3396
3395
|
typeName: "audiotool.sample.v1.SampleService",
|
|
3397
3396
|
methods: {
|
|
3398
3397
|
/**
|
|
@@ -3402,8 +3401,8 @@ const Br = {
|
|
|
3402
3401
|
*/
|
|
3403
3402
|
listSamples: {
|
|
3404
3403
|
name: "ListSamples",
|
|
3405
|
-
I:
|
|
3406
|
-
O:
|
|
3404
|
+
I: Zn,
|
|
3405
|
+
O: ta,
|
|
3407
3406
|
kind: o.Unary
|
|
3408
3407
|
},
|
|
3409
3408
|
/**
|
|
@@ -3413,8 +3412,8 @@ const Br = {
|
|
|
3413
3412
|
*/
|
|
3414
3413
|
createSample: {
|
|
3415
3414
|
name: "CreateSample",
|
|
3416
|
-
I:
|
|
3417
|
-
O:
|
|
3415
|
+
I: na,
|
|
3416
|
+
O: ra,
|
|
3418
3417
|
kind: o.Unary
|
|
3419
3418
|
},
|
|
3420
3419
|
/**
|
|
@@ -3425,8 +3424,8 @@ const Br = {
|
|
|
3425
3424
|
*/
|
|
3426
3425
|
uploadSampleFinished: {
|
|
3427
3426
|
name: "UploadSampleFinished",
|
|
3428
|
-
I:
|
|
3429
|
-
O:
|
|
3427
|
+
I: ia,
|
|
3428
|
+
O: sa,
|
|
3430
3429
|
kind: o.Unary
|
|
3431
3430
|
},
|
|
3432
3431
|
/**
|
|
@@ -3436,8 +3435,8 @@ const Br = {
|
|
|
3436
3435
|
*/
|
|
3437
3436
|
getSample: {
|
|
3438
3437
|
name: "GetSample",
|
|
3439
|
-
I:
|
|
3440
|
-
O:
|
|
3438
|
+
I: ea,
|
|
3439
|
+
O: oa,
|
|
3441
3440
|
kind: o.Unary
|
|
3442
3441
|
},
|
|
3443
3442
|
/**
|
|
@@ -3447,8 +3446,8 @@ const Br = {
|
|
|
3447
3446
|
*/
|
|
3448
3447
|
updateSample: {
|
|
3449
3448
|
name: "UpdateSample",
|
|
3450
|
-
I:
|
|
3451
|
-
O:
|
|
3449
|
+
I: ma,
|
|
3450
|
+
O: ua,
|
|
3452
3451
|
kind: o.Unary
|
|
3453
3452
|
},
|
|
3454
3453
|
/**
|
|
@@ -3461,8 +3460,8 @@ const Br = {
|
|
|
3461
3460
|
*/
|
|
3462
3461
|
deleteSample: {
|
|
3463
3462
|
name: "DeleteSample",
|
|
3464
|
-
I:
|
|
3465
|
-
O:
|
|
3463
|
+
I: la,
|
|
3464
|
+
O: ca,
|
|
3466
3465
|
kind: o.Unary
|
|
3467
3466
|
},
|
|
3468
3467
|
/**
|
|
@@ -3480,12 +3479,12 @@ const Br = {
|
|
|
3480
3479
|
*/
|
|
3481
3480
|
listen: {
|
|
3482
3481
|
name: "Listen",
|
|
3483
|
-
I:
|
|
3484
|
-
O:
|
|
3482
|
+
I: Ea,
|
|
3483
|
+
O: da,
|
|
3485
3484
|
kind: o.ServerStreaming
|
|
3486
3485
|
}
|
|
3487
3486
|
}
|
|
3488
|
-
},
|
|
3487
|
+
}, At = class At extends e {
|
|
3489
3488
|
constructor(t) {
|
|
3490
3489
|
super();
|
|
3491
3490
|
/**
|
|
@@ -3560,19 +3559,19 @@ const Br = {
|
|
|
3560
3559
|
r.util.initPartial(t, this);
|
|
3561
3560
|
}
|
|
3562
3561
|
static fromBinary(t, n) {
|
|
3563
|
-
return new
|
|
3562
|
+
return new At().fromBinary(t, n);
|
|
3564
3563
|
}
|
|
3565
3564
|
static fromJson(t, n) {
|
|
3566
|
-
return new
|
|
3565
|
+
return new At().fromJson(t, n);
|
|
3567
3566
|
}
|
|
3568
3567
|
static fromJsonString(t, n) {
|
|
3569
|
-
return new
|
|
3568
|
+
return new At().fromJsonString(t, n);
|
|
3570
3569
|
}
|
|
3571
3570
|
static equals(t, n) {
|
|
3572
|
-
return r.util.equals(
|
|
3571
|
+
return r.util.equals(At, t, n);
|
|
3573
3572
|
}
|
|
3574
3573
|
};
|
|
3575
|
-
a(
|
|
3574
|
+
a(At, "runtime", r), a(At, "typeName", "audiotool.user.v1.User"), a(At, "fields", r.util.newFieldList(() => [
|
|
3576
3575
|
{
|
|
3577
3576
|
no: 1,
|
|
3578
3577
|
name: "name",
|
|
@@ -3633,7 +3632,7 @@ a(Bt, "runtime", r), a(Bt, "typeName", "audiotool.user.v1.User"), a(Bt, "fields"
|
|
|
3633
3632
|
},
|
|
3634
3633
|
{ no: 11, name: "links", kind: "scalar", T: 9, repeated: !0 }
|
|
3635
3634
|
]));
|
|
3636
|
-
let en =
|
|
3635
|
+
let en = At;
|
|
3637
3636
|
var un = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.PUBLIC = 1] = "PUBLIC", i[i.USERS_FOLLOWING = 2] = "USERS_FOLLOWING", i[i.DISABLED = 3] = "DISABLED", i))(un || {});
|
|
3638
3637
|
r.util.setEnumType(un, "audiotool.user.v1.CommentMode", [
|
|
3639
3638
|
{ no: 0, name: "COMMENT_MODE_UNSPECIFIED" },
|
|
@@ -3641,7 +3640,7 @@ r.util.setEnumType(un, "audiotool.user.v1.CommentMode", [
|
|
|
3641
3640
|
{ no: 2, name: "COMMENT_MODE_USERS_FOLLOWING" },
|
|
3642
3641
|
{ no: 3, name: "COMMENT_MODE_DISABLED" }
|
|
3643
3642
|
]);
|
|
3644
|
-
const
|
|
3643
|
+
const Lt = class Lt extends e {
|
|
3645
3644
|
constructor(t) {
|
|
3646
3645
|
super();
|
|
3647
3646
|
/**
|
|
@@ -3701,19 +3700,19 @@ const At = class At extends e {
|
|
|
3701
3700
|
r.util.initPartial(t, this);
|
|
3702
3701
|
}
|
|
3703
3702
|
static fromBinary(t, n) {
|
|
3704
|
-
return new
|
|
3703
|
+
return new Lt().fromBinary(t, n);
|
|
3705
3704
|
}
|
|
3706
3705
|
static fromJson(t, n) {
|
|
3707
|
-
return new
|
|
3706
|
+
return new Lt().fromJson(t, n);
|
|
3708
3707
|
}
|
|
3709
3708
|
static fromJsonString(t, n) {
|
|
3710
|
-
return new
|
|
3709
|
+
return new Lt().fromJsonString(t, n);
|
|
3711
3710
|
}
|
|
3712
3711
|
static equals(t, n) {
|
|
3713
|
-
return r.util.equals(
|
|
3712
|
+
return r.util.equals(Lt, t, n);
|
|
3714
3713
|
}
|
|
3715
3714
|
};
|
|
3716
|
-
a(
|
|
3715
|
+
a(Lt, "runtime", r), a(Lt, "typeName", "audiotool.user.v1.Settings"), a(Lt, "fields", r.util.newFieldList(() => [
|
|
3717
3716
|
{ no: 1, name: "user_page_comment_mode", kind: "enum", T: r.getEnumType(un) },
|
|
3718
3717
|
{ no: 2, name: "default_track_comment_mode", kind: "enum", T: r.getEnumType(un) },
|
|
3719
3718
|
{ no: 3, name: "default_playlist_comment_mode", kind: "enum", T: r.getEnumType(un) },
|
|
@@ -3760,8 +3759,8 @@ a(At, "runtime", r), a(At, "typeName", "audiotool.user.v1.Settings"), a(At, "fie
|
|
|
3760
3759
|
/* ScalarType.BOOL */
|
|
3761
3760
|
}
|
|
3762
3761
|
]));
|
|
3763
|
-
let cn =
|
|
3764
|
-
const
|
|
3762
|
+
let cn = Lt;
|
|
3763
|
+
const pt = class pt extends e {
|
|
3765
3764
|
constructor(t) {
|
|
3766
3765
|
super();
|
|
3767
3766
|
/**
|
|
@@ -3815,19 +3814,19 @@ const Lt = class Lt extends e {
|
|
|
3815
3814
|
r.util.initPartial(t, this);
|
|
3816
3815
|
}
|
|
3817
3816
|
static fromBinary(t, n) {
|
|
3818
|
-
return new
|
|
3817
|
+
return new pt().fromBinary(t, n);
|
|
3819
3818
|
}
|
|
3820
3819
|
static fromJson(t, n) {
|
|
3821
|
-
return new
|
|
3820
|
+
return new pt().fromJson(t, n);
|
|
3822
3821
|
}
|
|
3823
3822
|
static fromJsonString(t, n) {
|
|
3824
|
-
return new
|
|
3823
|
+
return new pt().fromJsonString(t, n);
|
|
3825
3824
|
}
|
|
3826
3825
|
static equals(t, n) {
|
|
3827
|
-
return r.util.equals(
|
|
3826
|
+
return r.util.equals(pt, t, n);
|
|
3828
3827
|
}
|
|
3829
3828
|
};
|
|
3830
|
-
a(
|
|
3829
|
+
a(pt, "runtime", r), a(pt, "typeName", "audiotool.user.v1.ListUsersRequest"), a(pt, "fields", r.util.newFieldList(() => [
|
|
3831
3830
|
{
|
|
3832
3831
|
no: 1,
|
|
3833
3832
|
name: "filter",
|
|
@@ -3857,8 +3856,8 @@ a(Lt, "runtime", r), a(Lt, "typeName", "audiotool.user.v1.ListUsersRequest"), a(
|
|
|
3857
3856
|
/* ScalarType.STRING */
|
|
3858
3857
|
}
|
|
3859
3858
|
]));
|
|
3860
|
-
let
|
|
3861
|
-
const
|
|
3859
|
+
let fa = pt;
|
|
3860
|
+
const Ct = class Ct extends e {
|
|
3862
3861
|
constructor(t) {
|
|
3863
3862
|
super();
|
|
3864
3863
|
/**
|
|
@@ -3877,19 +3876,19 @@ const pt = class pt extends e {
|
|
|
3877
3876
|
r.util.initPartial(t, this);
|
|
3878
3877
|
}
|
|
3879
3878
|
static fromBinary(t, n) {
|
|
3880
|
-
return new
|
|
3879
|
+
return new Ct().fromBinary(t, n);
|
|
3881
3880
|
}
|
|
3882
3881
|
static fromJson(t, n) {
|
|
3883
|
-
return new
|
|
3882
|
+
return new Ct().fromJson(t, n);
|
|
3884
3883
|
}
|
|
3885
3884
|
static fromJsonString(t, n) {
|
|
3886
|
-
return new
|
|
3885
|
+
return new Ct().fromJsonString(t, n);
|
|
3887
3886
|
}
|
|
3888
3887
|
static equals(t, n) {
|
|
3889
|
-
return r.util.equals(
|
|
3888
|
+
return r.util.equals(Ct, t, n);
|
|
3890
3889
|
}
|
|
3891
3890
|
};
|
|
3892
|
-
a(
|
|
3891
|
+
a(Ct, "runtime", r), a(Ct, "typeName", "audiotool.user.v1.ListUsersResponse"), a(Ct, "fields", r.util.newFieldList(() => [
|
|
3893
3892
|
{ no: 1, name: "users", kind: "message", T: en, repeated: !0 },
|
|
3894
3893
|
{
|
|
3895
3894
|
no: 2,
|
|
@@ -3899,8 +3898,8 @@ a(pt, "runtime", r), a(pt, "typeName", "audiotool.user.v1.ListUsersResponse"), a
|
|
|
3899
3898
|
/* ScalarType.STRING */
|
|
3900
3899
|
}
|
|
3901
3900
|
]));
|
|
3902
|
-
let
|
|
3903
|
-
const
|
|
3901
|
+
let Ta = Ct;
|
|
3902
|
+
const Ut = class Ut extends e {
|
|
3904
3903
|
constructor(t) {
|
|
3905
3904
|
super();
|
|
3906
3905
|
/**
|
|
@@ -3912,19 +3911,19 @@ const Ct = class Ct extends e {
|
|
|
3912
3911
|
r.util.initPartial(t, this);
|
|
3913
3912
|
}
|
|
3914
3913
|
static fromBinary(t, n) {
|
|
3915
|
-
return new
|
|
3914
|
+
return new Ut().fromBinary(t, n);
|
|
3916
3915
|
}
|
|
3917
3916
|
static fromJson(t, n) {
|
|
3918
|
-
return new
|
|
3917
|
+
return new Ut().fromJson(t, n);
|
|
3919
3918
|
}
|
|
3920
3919
|
static fromJsonString(t, n) {
|
|
3921
|
-
return new
|
|
3920
|
+
return new Ut().fromJsonString(t, n);
|
|
3922
3921
|
}
|
|
3923
3922
|
static equals(t, n) {
|
|
3924
|
-
return r.util.equals(
|
|
3923
|
+
return r.util.equals(Ut, t, n);
|
|
3925
3924
|
}
|
|
3926
3925
|
};
|
|
3927
|
-
a(
|
|
3926
|
+
a(Ut, "runtime", r), a(Ut, "typeName", "audiotool.user.v1.GetUserRequest"), a(Ut, "fields", r.util.newFieldList(() => [
|
|
3928
3927
|
{
|
|
3929
3928
|
no: 1,
|
|
3930
3929
|
name: "name",
|
|
@@ -3933,8 +3932,8 @@ a(Ct, "runtime", r), a(Ct, "typeName", "audiotool.user.v1.GetUserRequest"), a(Ct
|
|
|
3933
3932
|
/* ScalarType.STRING */
|
|
3934
3933
|
}
|
|
3935
3934
|
]));
|
|
3936
|
-
let
|
|
3937
|
-
const
|
|
3935
|
+
let Sa = Ut;
|
|
3936
|
+
const Ft = class Ft extends e {
|
|
3938
3937
|
constructor(t) {
|
|
3939
3938
|
super();
|
|
3940
3939
|
/**
|
|
@@ -3946,23 +3945,23 @@ const Ut = class Ut extends e {
|
|
|
3946
3945
|
r.util.initPartial(t, this);
|
|
3947
3946
|
}
|
|
3948
3947
|
static fromBinary(t, n) {
|
|
3949
|
-
return new
|
|
3948
|
+
return new Ft().fromBinary(t, n);
|
|
3950
3949
|
}
|
|
3951
3950
|
static fromJson(t, n) {
|
|
3952
|
-
return new
|
|
3951
|
+
return new Ft().fromJson(t, n);
|
|
3953
3952
|
}
|
|
3954
3953
|
static fromJsonString(t, n) {
|
|
3955
|
-
return new
|
|
3954
|
+
return new Ft().fromJsonString(t, n);
|
|
3956
3955
|
}
|
|
3957
3956
|
static equals(t, n) {
|
|
3958
|
-
return r.util.equals(
|
|
3957
|
+
return r.util.equals(Ft, t, n);
|
|
3959
3958
|
}
|
|
3960
3959
|
};
|
|
3961
|
-
a(
|
|
3960
|
+
a(Ft, "runtime", r), a(Ft, "typeName", "audiotool.user.v1.GetUserResponse"), a(Ft, "fields", r.util.newFieldList(() => [
|
|
3962
3961
|
{ no: 1, name: "user", kind: "message", T: en }
|
|
3963
3962
|
]));
|
|
3964
|
-
let
|
|
3965
|
-
const
|
|
3963
|
+
let wa = Ft;
|
|
3964
|
+
const Mt = class Mt extends e {
|
|
3966
3965
|
constructor(t) {
|
|
3967
3966
|
super();
|
|
3968
3967
|
/**
|
|
@@ -3974,19 +3973,19 @@ const Ft = class Ft extends e {
|
|
|
3974
3973
|
r.util.initPartial(t, this);
|
|
3975
3974
|
}
|
|
3976
3975
|
static fromBinary(t, n) {
|
|
3977
|
-
return new
|
|
3976
|
+
return new Mt().fromBinary(t, n);
|
|
3978
3977
|
}
|
|
3979
3978
|
static fromJson(t, n) {
|
|
3980
|
-
return new
|
|
3979
|
+
return new Mt().fromJson(t, n);
|
|
3981
3980
|
}
|
|
3982
3981
|
static fromJsonString(t, n) {
|
|
3983
|
-
return new
|
|
3982
|
+
return new Mt().fromJsonString(t, n);
|
|
3984
3983
|
}
|
|
3985
3984
|
static equals(t, n) {
|
|
3986
|
-
return r.util.equals(
|
|
3985
|
+
return r.util.equals(Mt, t, n);
|
|
3987
3986
|
}
|
|
3988
3987
|
};
|
|
3989
|
-
a(
|
|
3988
|
+
a(Mt, "runtime", r), a(Mt, "typeName", "audiotool.user.v1.DeleteUserRequest"), a(Mt, "fields", r.util.newFieldList(() => [
|
|
3990
3989
|
{
|
|
3991
3990
|
no: 1,
|
|
3992
3991
|
name: "name",
|
|
@@ -3995,8 +3994,8 @@ a(Ft, "runtime", r), a(Ft, "typeName", "audiotool.user.v1.DeleteUserRequest"), a
|
|
|
3995
3994
|
/* ScalarType.STRING */
|
|
3996
3995
|
}
|
|
3997
3996
|
]));
|
|
3998
|
-
let
|
|
3999
|
-
const
|
|
3997
|
+
let Ia = Mt;
|
|
3998
|
+
const ht = class ht extends e {
|
|
4000
3999
|
constructor(t) {
|
|
4001
4000
|
super();
|
|
4002
4001
|
/**
|
|
@@ -4008,22 +4007,22 @@ const Mt = class Mt extends e {
|
|
|
4008
4007
|
r.util.initPartial(t, this);
|
|
4009
4008
|
}
|
|
4010
4009
|
static fromBinary(t, n) {
|
|
4011
|
-
return new
|
|
4010
|
+
return new ht().fromBinary(t, n);
|
|
4012
4011
|
}
|
|
4013
4012
|
static fromJson(t, n) {
|
|
4014
|
-
return new
|
|
4013
|
+
return new ht().fromJson(t, n);
|
|
4015
4014
|
}
|
|
4016
4015
|
static fromJsonString(t, n) {
|
|
4017
|
-
return new
|
|
4016
|
+
return new ht().fromJsonString(t, n);
|
|
4018
4017
|
}
|
|
4019
4018
|
static equals(t, n) {
|
|
4020
|
-
return r.util.equals(
|
|
4019
|
+
return r.util.equals(ht, t, n);
|
|
4021
4020
|
}
|
|
4022
4021
|
};
|
|
4023
|
-
a(
|
|
4022
|
+
a(ht, "runtime", r), a(ht, "typeName", "audiotool.user.v1.DeleteUserResponse"), a(ht, "fields", r.util.newFieldList(() => [
|
|
4024
4023
|
{ no: 1, name: "user", kind: "message", T: en }
|
|
4025
4024
|
]));
|
|
4026
|
-
let
|
|
4025
|
+
let ga = ht;
|
|
4027
4026
|
const xt = class xt extends e {
|
|
4028
4027
|
constructor(t) {
|
|
4029
4028
|
super();
|
|
@@ -4058,8 +4057,8 @@ a(xt, "runtime", r), a(xt, "typeName", "audiotool.user.v1.UpdateUserRequest"), a
|
|
|
4058
4057
|
{ no: 1, name: "user", kind: "message", T: en },
|
|
4059
4058
|
{ no: 2, name: "update_mask", kind: "message", T: mn }
|
|
4060
4059
|
]));
|
|
4061
|
-
let
|
|
4062
|
-
const
|
|
4060
|
+
let Ja = xt;
|
|
4061
|
+
const Vt = class Vt extends e {
|
|
4063
4062
|
constructor(t) {
|
|
4064
4063
|
super();
|
|
4065
4064
|
/**
|
|
@@ -4071,23 +4070,23 @@ const ht = class ht extends e {
|
|
|
4071
4070
|
r.util.initPartial(t, this);
|
|
4072
4071
|
}
|
|
4073
4072
|
static fromBinary(t, n) {
|
|
4074
|
-
return new
|
|
4073
|
+
return new Vt().fromBinary(t, n);
|
|
4075
4074
|
}
|
|
4076
4075
|
static fromJson(t, n) {
|
|
4077
|
-
return new
|
|
4076
|
+
return new Vt().fromJson(t, n);
|
|
4078
4077
|
}
|
|
4079
4078
|
static fromJsonString(t, n) {
|
|
4080
|
-
return new
|
|
4079
|
+
return new Vt().fromJsonString(t, n);
|
|
4081
4080
|
}
|
|
4082
4081
|
static equals(t, n) {
|
|
4083
|
-
return r.util.equals(
|
|
4082
|
+
return r.util.equals(Vt, t, n);
|
|
4084
4083
|
}
|
|
4085
4084
|
};
|
|
4086
|
-
a(
|
|
4085
|
+
a(Vt, "runtime", r), a(Vt, "typeName", "audiotool.user.v1.UpdateUserResponse"), a(Vt, "fields", r.util.newFieldList(() => [
|
|
4087
4086
|
{ no: 1, name: "user", kind: "message", T: en }
|
|
4088
4087
|
]));
|
|
4089
|
-
let
|
|
4090
|
-
const
|
|
4088
|
+
let Pa = Vt;
|
|
4089
|
+
const Rt = class Rt extends e {
|
|
4091
4090
|
constructor(t) {
|
|
4092
4091
|
super();
|
|
4093
4092
|
/**
|
|
@@ -4099,19 +4098,19 @@ const Vt = class Vt extends e {
|
|
|
4099
4098
|
r.util.initPartial(t, this);
|
|
4100
4099
|
}
|
|
4101
4100
|
static fromBinary(t, n) {
|
|
4102
|
-
return new
|
|
4101
|
+
return new Rt().fromBinary(t, n);
|
|
4103
4102
|
}
|
|
4104
4103
|
static fromJson(t, n) {
|
|
4105
|
-
return new
|
|
4104
|
+
return new Rt().fromJson(t, n);
|
|
4106
4105
|
}
|
|
4107
4106
|
static fromJsonString(t, n) {
|
|
4108
|
-
return new
|
|
4107
|
+
return new Rt().fromJsonString(t, n);
|
|
4109
4108
|
}
|
|
4110
4109
|
static equals(t, n) {
|
|
4111
|
-
return r.util.equals(
|
|
4110
|
+
return r.util.equals(Rt, t, n);
|
|
4112
4111
|
}
|
|
4113
4112
|
};
|
|
4114
|
-
a(
|
|
4113
|
+
a(Rt, "runtime", r), a(Rt, "typeName", "audiotool.user.v1.GetSettingsRequest"), a(Rt, "fields", r.util.newFieldList(() => [
|
|
4115
4114
|
{
|
|
4116
4115
|
no: 1,
|
|
4117
4116
|
name: "name",
|
|
@@ -4120,8 +4119,8 @@ a(Vt, "runtime", r), a(Vt, "typeName", "audiotool.user.v1.GetSettingsRequest"),
|
|
|
4120
4119
|
/* ScalarType.STRING */
|
|
4121
4120
|
}
|
|
4122
4121
|
]));
|
|
4123
|
-
let
|
|
4124
|
-
const
|
|
4122
|
+
let Oa = Rt;
|
|
4123
|
+
const Yt = class Yt extends e {
|
|
4125
4124
|
constructor(t) {
|
|
4126
4125
|
super();
|
|
4127
4126
|
/**
|
|
@@ -4133,23 +4132,23 @@ const Rt = class Rt extends e {
|
|
|
4133
4132
|
r.util.initPartial(t, this);
|
|
4134
4133
|
}
|
|
4135
4134
|
static fromBinary(t, n) {
|
|
4136
|
-
return new
|
|
4135
|
+
return new Yt().fromBinary(t, n);
|
|
4137
4136
|
}
|
|
4138
4137
|
static fromJson(t, n) {
|
|
4139
|
-
return new
|
|
4138
|
+
return new Yt().fromJson(t, n);
|
|
4140
4139
|
}
|
|
4141
4140
|
static fromJsonString(t, n) {
|
|
4142
|
-
return new
|
|
4141
|
+
return new Yt().fromJsonString(t, n);
|
|
4143
4142
|
}
|
|
4144
4143
|
static equals(t, n) {
|
|
4145
|
-
return r.util.equals(
|
|
4144
|
+
return r.util.equals(Yt, t, n);
|
|
4146
4145
|
}
|
|
4147
4146
|
};
|
|
4148
|
-
a(
|
|
4147
|
+
a(Yt, "runtime", r), a(Yt, "typeName", "audiotool.user.v1.GetSettingsResponse"), a(Yt, "fields", r.util.newFieldList(() => [
|
|
4149
4148
|
{ no: 1, name: "settings", kind: "message", T: cn }
|
|
4150
4149
|
]));
|
|
4151
|
-
let
|
|
4152
|
-
const
|
|
4150
|
+
let ya = Yt;
|
|
4151
|
+
const vt = class vt extends e {
|
|
4153
4152
|
constructor(t) {
|
|
4154
4153
|
super();
|
|
4155
4154
|
/**
|
|
@@ -4173,19 +4172,19 @@ const Yt = class Yt extends e {
|
|
|
4173
4172
|
r.util.initPartial(t, this);
|
|
4174
4173
|
}
|
|
4175
4174
|
static fromBinary(t, n) {
|
|
4176
|
-
return new
|
|
4175
|
+
return new vt().fromBinary(t, n);
|
|
4177
4176
|
}
|
|
4178
4177
|
static fromJson(t, n) {
|
|
4179
|
-
return new
|
|
4178
|
+
return new vt().fromJson(t, n);
|
|
4180
4179
|
}
|
|
4181
4180
|
static fromJsonString(t, n) {
|
|
4182
|
-
return new
|
|
4181
|
+
return new vt().fromJsonString(t, n);
|
|
4183
4182
|
}
|
|
4184
4183
|
static equals(t, n) {
|
|
4185
|
-
return r.util.equals(
|
|
4184
|
+
return r.util.equals(vt, t, n);
|
|
4186
4185
|
}
|
|
4187
4186
|
};
|
|
4188
|
-
a(
|
|
4187
|
+
a(vt, "runtime", r), a(vt, "typeName", "audiotool.user.v1.UpdateSettingsRequest"), a(vt, "fields", r.util.newFieldList(() => [
|
|
4189
4188
|
{
|
|
4190
4189
|
no: 1,
|
|
4191
4190
|
name: "name",
|
|
@@ -4196,8 +4195,8 @@ a(Yt, "runtime", r), a(Yt, "typeName", "audiotool.user.v1.UpdateSettingsRequest"
|
|
|
4196
4195
|
{ no: 2, name: "settings", kind: "message", T: cn },
|
|
4197
4196
|
{ no: 3, name: "update_mask", kind: "message", T: mn }
|
|
4198
4197
|
]));
|
|
4199
|
-
let
|
|
4200
|
-
const
|
|
4198
|
+
let ka = vt;
|
|
4199
|
+
const Dt = class Dt extends e {
|
|
4201
4200
|
constructor(t) {
|
|
4202
4201
|
super();
|
|
4203
4202
|
/**
|
|
@@ -4209,23 +4208,23 @@ const vt = class vt extends e {
|
|
|
4209
4208
|
r.util.initPartial(t, this);
|
|
4210
4209
|
}
|
|
4211
4210
|
static fromBinary(t, n) {
|
|
4212
|
-
return new
|
|
4211
|
+
return new Dt().fromBinary(t, n);
|
|
4213
4212
|
}
|
|
4214
4213
|
static fromJson(t, n) {
|
|
4215
|
-
return new
|
|
4214
|
+
return new Dt().fromJson(t, n);
|
|
4216
4215
|
}
|
|
4217
4216
|
static fromJsonString(t, n) {
|
|
4218
|
-
return new
|
|
4217
|
+
return new Dt().fromJsonString(t, n);
|
|
4219
4218
|
}
|
|
4220
4219
|
static equals(t, n) {
|
|
4221
|
-
return r.util.equals(
|
|
4220
|
+
return r.util.equals(Dt, t, n);
|
|
4222
4221
|
}
|
|
4223
4222
|
};
|
|
4224
|
-
a(
|
|
4223
|
+
a(Dt, "runtime", r), a(Dt, "typeName", "audiotool.user.v1.UpdateSettingsResponse"), a(Dt, "fields", r.util.newFieldList(() => [
|
|
4225
4224
|
{ no: 1, name: "settings", kind: "message", T: cn }
|
|
4226
4225
|
]));
|
|
4227
|
-
let
|
|
4228
|
-
const
|
|
4226
|
+
let Na = Dt;
|
|
4227
|
+
const Ht = class Ht extends e {
|
|
4229
4228
|
constructor(t) {
|
|
4230
4229
|
super();
|
|
4231
4230
|
/**
|
|
@@ -4241,19 +4240,19 @@ const Dt = class Dt extends e {
|
|
|
4241
4240
|
r.util.initPartial(t, this);
|
|
4242
4241
|
}
|
|
4243
4242
|
static fromBinary(t, n) {
|
|
4244
|
-
return new
|
|
4243
|
+
return new Ht().fromBinary(t, n);
|
|
4245
4244
|
}
|
|
4246
4245
|
static fromJson(t, n) {
|
|
4247
|
-
return new
|
|
4246
|
+
return new Ht().fromJson(t, n);
|
|
4248
4247
|
}
|
|
4249
4248
|
static fromJsonString(t, n) {
|
|
4250
|
-
return new
|
|
4249
|
+
return new Ht().fromJsonString(t, n);
|
|
4251
4250
|
}
|
|
4252
4251
|
static equals(t, n) {
|
|
4253
|
-
return r.util.equals(
|
|
4252
|
+
return r.util.equals(Ht, t, n);
|
|
4254
4253
|
}
|
|
4255
4254
|
};
|
|
4256
|
-
a(
|
|
4255
|
+
a(Ht, "runtime", r), a(Ht, "typeName", "audiotool.user.v1.UploadAvatarRequest"), a(Ht, "fields", r.util.newFieldList(() => [
|
|
4257
4256
|
{
|
|
4258
4257
|
no: 1,
|
|
4259
4258
|
name: "data",
|
|
@@ -4262,8 +4261,8 @@ a(Dt, "runtime", r), a(Dt, "typeName", "audiotool.user.v1.UploadAvatarRequest"),
|
|
|
4262
4261
|
/* ScalarType.BYTES */
|
|
4263
4262
|
}
|
|
4264
4263
|
]));
|
|
4265
|
-
let
|
|
4266
|
-
const
|
|
4264
|
+
let Ba = Ht;
|
|
4265
|
+
const Xt = class Xt extends e {
|
|
4267
4266
|
constructor(t) {
|
|
4268
4267
|
super();
|
|
4269
4268
|
/**
|
|
@@ -4275,19 +4274,19 @@ const Ht = class Ht extends e {
|
|
|
4275
4274
|
r.util.initPartial(t, this);
|
|
4276
4275
|
}
|
|
4277
4276
|
static fromBinary(t, n) {
|
|
4278
|
-
return new
|
|
4277
|
+
return new Xt().fromBinary(t, n);
|
|
4279
4278
|
}
|
|
4280
4279
|
static fromJson(t, n) {
|
|
4281
|
-
return new
|
|
4280
|
+
return new Xt().fromJson(t, n);
|
|
4282
4281
|
}
|
|
4283
4282
|
static fromJsonString(t, n) {
|
|
4284
|
-
return new
|
|
4283
|
+
return new Xt().fromJsonString(t, n);
|
|
4285
4284
|
}
|
|
4286
4285
|
static equals(t, n) {
|
|
4287
|
-
return r.util.equals(
|
|
4286
|
+
return r.util.equals(Xt, t, n);
|
|
4288
4287
|
}
|
|
4289
4288
|
};
|
|
4290
|
-
a(
|
|
4289
|
+
a(Xt, "runtime", r), a(Xt, "typeName", "audiotool.user.v1.UploadAvatarResponse"), a(Xt, "fields", r.util.newFieldList(() => [
|
|
4291
4290
|
{
|
|
4292
4291
|
no: 1,
|
|
4293
4292
|
name: "avatar_url",
|
|
@@ -4296,8 +4295,8 @@ a(Ht, "runtime", r), a(Ht, "typeName", "audiotool.user.v1.UploadAvatarResponse")
|
|
|
4296
4295
|
/* ScalarType.STRING */
|
|
4297
4296
|
}
|
|
4298
4297
|
]));
|
|
4299
|
-
let
|
|
4300
|
-
const
|
|
4298
|
+
let Aa = Xt;
|
|
4299
|
+
const Lr = {
|
|
4301
4300
|
typeName: "audiotool.user.v1.UserService",
|
|
4302
4301
|
methods: {
|
|
4303
4302
|
/**
|
|
@@ -4307,8 +4306,8 @@ const Ar = {
|
|
|
4307
4306
|
*/
|
|
4308
4307
|
listUsers: {
|
|
4309
4308
|
name: "ListUsers",
|
|
4310
|
-
I:
|
|
4311
|
-
O:
|
|
4309
|
+
I: fa,
|
|
4310
|
+
O: Ta,
|
|
4312
4311
|
kind: o.Unary
|
|
4313
4312
|
},
|
|
4314
4313
|
/**
|
|
@@ -4318,8 +4317,8 @@ const Ar = {
|
|
|
4318
4317
|
*/
|
|
4319
4318
|
getUser: {
|
|
4320
4319
|
name: "GetUser",
|
|
4321
|
-
I:
|
|
4322
|
-
O:
|
|
4320
|
+
I: Sa,
|
|
4321
|
+
O: wa,
|
|
4323
4322
|
kind: o.Unary
|
|
4324
4323
|
},
|
|
4325
4324
|
/**
|
|
@@ -4329,8 +4328,8 @@ const Ar = {
|
|
|
4329
4328
|
*/
|
|
4330
4329
|
deleteUser: {
|
|
4331
4330
|
name: "DeleteUser",
|
|
4332
|
-
I:
|
|
4333
|
-
O:
|
|
4331
|
+
I: Ia,
|
|
4332
|
+
O: ga,
|
|
4334
4333
|
kind: o.Unary
|
|
4335
4334
|
},
|
|
4336
4335
|
/**
|
|
@@ -4340,8 +4339,8 @@ const Ar = {
|
|
|
4340
4339
|
*/
|
|
4341
4340
|
updateUser: {
|
|
4342
4341
|
name: "UpdateUser",
|
|
4343
|
-
I:
|
|
4344
|
-
O:
|
|
4342
|
+
I: Ja,
|
|
4343
|
+
O: Pa,
|
|
4345
4344
|
kind: o.Unary
|
|
4346
4345
|
},
|
|
4347
4346
|
/**
|
|
@@ -4351,8 +4350,8 @@ const Ar = {
|
|
|
4351
4350
|
*/
|
|
4352
4351
|
getSettings: {
|
|
4353
4352
|
name: "GetSettings",
|
|
4354
|
-
I:
|
|
4355
|
-
O:
|
|
4353
|
+
I: Oa,
|
|
4354
|
+
O: ya,
|
|
4356
4355
|
kind: o.Unary
|
|
4357
4356
|
},
|
|
4358
4357
|
/**
|
|
@@ -4362,8 +4361,8 @@ const Ar = {
|
|
|
4362
4361
|
*/
|
|
4363
4362
|
updateSettings: {
|
|
4364
4363
|
name: "UpdateSettings",
|
|
4365
|
-
I:
|
|
4366
|
-
O:
|
|
4364
|
+
I: ka,
|
|
4365
|
+
O: Na,
|
|
4367
4366
|
kind: o.Unary
|
|
4368
4367
|
},
|
|
4369
4368
|
/**
|
|
@@ -4373,8 +4372,8 @@ const Ar = {
|
|
|
4373
4372
|
*/
|
|
4374
4373
|
uploadAvatar: {
|
|
4375
4374
|
name: "UploadAvatar",
|
|
4376
|
-
I:
|
|
4377
|
-
O:
|
|
4375
|
+
I: Ba,
|
|
4376
|
+
O: Aa,
|
|
4378
4377
|
kind: o.Unary
|
|
4379
4378
|
}
|
|
4380
4379
|
}
|
|
@@ -4384,84 +4383,102 @@ const Ar = {
|
|
|
4384
4383
|
} catch (t) {
|
|
4385
4384
|
return new Error("error during fetch", { cause: t });
|
|
4386
4385
|
}
|
|
4387
|
-
},
|
|
4386
|
+
}, br = (
|
|
4387
|
+
// use typeof process instead of typeof window so this check is accurate even if running vitest which commonly uses
|
|
4388
|
+
// jsdom to polyfill window.
|
|
4389
|
+
typeof process > "u"
|
|
4390
|
+
);
|
|
4391
|
+
var cr, Er;
|
|
4392
|
+
const pr = typeof process < "u" && typeof ((cr = process.versions) == null ? void 0 : cr.node) == "string" && typeof ((Er = process.versions) == null ? void 0 : Er.bun) > "u" && typeof globalThis.Deno > "u", dn = "###keepalive###", Cr = async ({
|
|
4388
4393
|
baseUrl: i,
|
|
4389
4394
|
useBinaryFormat: s,
|
|
4390
4395
|
typeRegistry: t,
|
|
4391
4396
|
getToken: n
|
|
4392
|
-
}) =>
|
|
4397
|
+
}) => pr ? (await import("@connectrpc/connect-node")).createConnectTransport({
|
|
4393
4398
|
baseUrl: i,
|
|
4399
|
+
httpVersion: "2",
|
|
4400
|
+
jsonOptions: {
|
|
4401
|
+
typeRegistry: t
|
|
4402
|
+
},
|
|
4394
4403
|
useBinaryFormat: s,
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4404
|
+
interceptors: [
|
|
4405
|
+
(S) => async (u) => (u.header.delete(dn), u.header.set("Authorization", await n()), S(u))
|
|
4406
|
+
]
|
|
4407
|
+
}) : (await import("@connectrpc/connect-web")).createConnectTransport({
|
|
4408
|
+
baseUrl: i,
|
|
4409
|
+
useBinaryFormat: s,
|
|
4410
|
+
fetch: async (S, u) => {
|
|
4411
|
+
const { headers: c, keepalive: nn } = Fr(u == null ? void 0 : u.headers);
|
|
4412
|
+
return c.set("Authorization", await n()), fetch(S, {
|
|
4398
4413
|
credentials: "omit",
|
|
4414
|
+
// omit credentials to avoid CORS errors
|
|
4399
4415
|
...u,
|
|
4400
4416
|
headers: c,
|
|
4401
|
-
keepalive:
|
|
4417
|
+
keepalive: nn
|
|
4418
|
+
// pass on keepalive option to fetch
|
|
4402
4419
|
});
|
|
4403
4420
|
},
|
|
4404
4421
|
jsonOptions: {
|
|
4405
4422
|
typeRegistry: t
|
|
4406
4423
|
}
|
|
4407
|
-
}),
|
|
4424
|
+
}), Ur = (i) => {
|
|
4408
4425
|
if (i === void 0)
|
|
4409
4426
|
return;
|
|
4410
4427
|
const s = (i == null ? void 0 : i.keepalive) ?? !1, t = new Headers(i == null ? void 0 : i.headers);
|
|
4411
|
-
return t.set(
|
|
4428
|
+
return t.set(dn, s ? "true" : "false"), i = {
|
|
4412
4429
|
...i,
|
|
4413
4430
|
headers: t
|
|
4414
4431
|
}, delete i.keepalive, i;
|
|
4415
|
-
},
|
|
4416
|
-
const s = new Headers(i), t = s.get(
|
|
4417
|
-
return s.delete(
|
|
4432
|
+
}, Fr = (i) => {
|
|
4433
|
+
const s = new Headers(i), t = s.get(dn) === "true";
|
|
4434
|
+
return s.delete(dn), { headers: s, keepalive: t };
|
|
4418
4435
|
}, on = (i, s, t) => {
|
|
4419
|
-
const u = ((l) => l instanceof
|
|
4436
|
+
const u = ((l) => l instanceof Pr ? l.code === Wa.Unavailable || l.code === Wa.Unknown : !1), c = Jr(i, s), nn = {};
|
|
4420
4437
|
return Object.entries(i.methods).forEach(([l, ja]) => {
|
|
4421
4438
|
if (ja.kind !== o.Unary) {
|
|
4422
|
-
|
|
4439
|
+
nn[l] = c[l];
|
|
4423
4440
|
return;
|
|
4424
4441
|
}
|
|
4425
|
-
const
|
|
4426
|
-
|
|
4442
|
+
const wn = c[l];
|
|
4443
|
+
nn[l] = async (In, m) => {
|
|
4427
4444
|
var Ga, Ka, za, Qa;
|
|
4428
|
-
for (m =
|
|
4445
|
+
for (m = Ur(m); ; )
|
|
4429
4446
|
try {
|
|
4430
|
-
const
|
|
4431
|
-
|
|
4447
|
+
const an = await wn(
|
|
4448
|
+
In,
|
|
4432
4449
|
m
|
|
4433
4450
|
);
|
|
4434
|
-
return (Ga = m == null ? void 0 : m.callIsOk) == null || Ga.setValue(!0),
|
|
4435
|
-
} catch (
|
|
4436
|
-
if ((Ka = m == null ? void 0 : m.callIsOk) == null || Ka.setValue(!1), !(
|
|
4451
|
+
return (Ga = m == null ? void 0 : m.callIsOk) == null || Ga.setValue(!0), an;
|
|
4452
|
+
} catch (an) {
|
|
4453
|
+
if ((Ka = m == null ? void 0 : m.callIsOk) == null || Ka.setValue(!1), !(an instanceof Error && u(an)))
|
|
4437
4454
|
return new Error(`${i.typeName}.${l} threw error`, {
|
|
4438
|
-
cause:
|
|
4455
|
+
cause: an
|
|
4439
4456
|
});
|
|
4440
|
-
if ((za = m == null ? void 0 : m.onRetry) == null || za.call(m,
|
|
4457
|
+
if ((za = m == null ? void 0 : m.onRetry) == null || za.call(m, an), ((m == null ? void 0 : m.logIfRetrying) ?? !0) && console.warn(
|
|
4441
4458
|
`${i.typeName}.${l} call failed, retrying in 2000 ms. Error:`,
|
|
4442
|
-
|
|
4443
|
-
), await
|
|
4459
|
+
an
|
|
4460
|
+
), await Or(
|
|
4444
4461
|
2e3 + Math.random() * 2e3 * 0.1,
|
|
4445
4462
|
// pass in signal for earlier return in case of abort
|
|
4446
4463
|
m == null ? void 0 : m.signal
|
|
4447
4464
|
), ((Qa = m == null ? void 0 : m.signal) == null ? void 0 : Qa.aborted) ?? !1)
|
|
4448
4465
|
return new Error(`${i.typeName}.${l} was aborted`, {
|
|
4449
|
-
cause:
|
|
4466
|
+
cause: an
|
|
4450
4467
|
});
|
|
4451
4468
|
continue;
|
|
4452
4469
|
}
|
|
4453
4470
|
};
|
|
4454
|
-
}),
|
|
4455
|
-
},
|
|
4471
|
+
}), nn;
|
|
4472
|
+
}, Mr = (i) => {
|
|
4456
4473
|
const s = i == null ? void 0 : i.typeUrl;
|
|
4457
4474
|
if (s === void 0)
|
|
4458
4475
|
return;
|
|
4459
4476
|
const t = s.split("/").pop();
|
|
4460
|
-
return
|
|
4461
|
-
},
|
|
4477
|
+
return Sr[t];
|
|
4478
|
+
}, jr = (i) => Sr[i.getType().typeName] ?? Tr(), Gr = (i) => tn.pack(i), hr = fr(...Object.values(yr)), xr = (i) => {
|
|
4462
4479
|
if (i !== void 0)
|
|
4463
|
-
return i.unpack(
|
|
4464
|
-
},
|
|
4480
|
+
return i.unpack(hr);
|
|
4481
|
+
}, Kr = (i) => xr(i) ?? Tr("couldn't unpack any entity of type " + (i == null ? void 0 : i.typeUrl)), zr = (i) => i.charAt(0).toLowerCase() + i.slice(1);
|
|
4465
4482
|
var _a = /* @__PURE__ */ ((i) => (i[i.UNSPECIFIED = 0] = "UNSPECIFIED", i[i.AUTO_FILTER = 1] = "AUTO_FILTER", i[i.BAND_SPLITTER = 2] = "BAND_SPLITTER", i[i.BASSLINE = 3] = "BASSLINE", i[i.BEATBOX8 = 4] = "BEATBOX8", i[i.BEATBOX9 = 5] = "BEATBOX9", i[i.CROSSFADER = 6] = "CROSSFADER", i[i.CURVE = 7] = "CURVE", i[i.EXCITER = 8] = "EXCITER", i[i.GRAPHICAL_EQ = 9] = "GRAPHICAL_EQ", i[i.GRAVITY = 10] = "GRAVITY", i[i.HEISENBERG = 11] = "HEISENBERG", i[i.HELMHOLTZ = 12] = "HELMHOLTZ", i[i.MACHINISTE = 13] = "MACHINISTE", i[i.MATRIX = 14] = "MATRIX", i[i.NOTE_SPLITTER = 15] = "NOTE_SPLITTER", i[i.PANORAMA = 16] = "PANORAMA", i[i.PULSAR = 17] = "PULSAR", i[i.PULVERISATEUR = 18] = "PULVERISATEUR", i[i.QUANTUM = 19] = "QUANTUM", i[i.QUASAR = 20] = "QUASAR", i[i.RASSELBOCK = 21] = "RASSELBOCK", i[i.SPACE = 22] = "SPACE", i[i.STEREO_ENHANCER = 23] = "STEREO_ENHANCER", i[i.STOMPBOX_CHORUS = 24] = "STOMPBOX_CHORUS", i[i.STOMPBOX_COMPRESSOR = 25] = "STOMPBOX_COMPRESSOR", i[i.STOMPBOX_CRUSHER = 26] = "STOMPBOX_CRUSHER", i[i.STOMPBOX_DELAY = 27] = "STOMPBOX_DELAY", i[i.STOMPBOX_FLANGER = 28] = "STOMPBOX_FLANGER", i[i.STOMPBOX_GATE = 29] = "STOMPBOX_GATE", i[i.STOMPBOX_PARAMETRIC_EQUALIZER = 30] = "STOMPBOX_PARAMETRIC_EQUALIZER", i[i.STOMPBOX_PHASER = 31] = "STOMPBOX_PHASER", i[i.STOMPBOX_PITCH_DELAY = 32] = "STOMPBOX_PITCH_DELAY", i[i.STOMPBOX_REVERB = 33] = "STOMPBOX_REVERB", i[i.STOMPBOX_SLOPE = 34] = "STOMPBOX_SLOPE", i[i.STOMPBOX_STEREO_DETUNE = 35] = "STOMPBOX_STEREO_DETUNE", i[i.STOMPBOX_TUBE = 36] = "STOMPBOX_TUBE", i[i.TONEMATRIX = 37] = "TONEMATRIX", i[i.WAVESHAPER = 38] = "WAVESHAPER", i[i.GAKKI = 39] = "GAKKI", i))(_a || {});
|
|
4466
4483
|
r.util.setEnumType(_a, "audiotool.preset.v1.PresetDeviceType", [
|
|
4467
4484
|
{ no: 0, name: "PRESET_DEVICE_TYPE_UNSPECIFIED" },
|
|
@@ -4681,8 +4698,8 @@ a(qt, "runtime", r), a(qt, "typeName", "audiotool.preset.v1.Preset"), a(qt, "fie
|
|
|
4681
4698
|
/* ScalarType.STRING */
|
|
4682
4699
|
}
|
|
4683
4700
|
]));
|
|
4684
|
-
let
|
|
4685
|
-
const
|
|
4701
|
+
let rn = qt;
|
|
4702
|
+
const _t = class _t extends e {
|
|
4686
4703
|
constructor(t) {
|
|
4687
4704
|
super();
|
|
4688
4705
|
/**
|
|
@@ -4737,19 +4754,19 @@ const Xt = class Xt extends e {
|
|
|
4737
4754
|
r.util.initPartial(t, this);
|
|
4738
4755
|
}
|
|
4739
4756
|
static fromBinary(t, n) {
|
|
4740
|
-
return new
|
|
4757
|
+
return new _t().fromBinary(t, n);
|
|
4741
4758
|
}
|
|
4742
4759
|
static fromJson(t, n) {
|
|
4743
|
-
return new
|
|
4760
|
+
return new _t().fromJson(t, n);
|
|
4744
4761
|
}
|
|
4745
4762
|
static fromJsonString(t, n) {
|
|
4746
|
-
return new
|
|
4763
|
+
return new _t().fromJsonString(t, n);
|
|
4747
4764
|
}
|
|
4748
4765
|
static equals(t, n) {
|
|
4749
|
-
return r.util.equals(
|
|
4766
|
+
return r.util.equals(_t, t, n);
|
|
4750
4767
|
}
|
|
4751
4768
|
};
|
|
4752
|
-
a(
|
|
4769
|
+
a(_t, "runtime", r), a(_t, "typeName", "audiotool.preset.v1.ListPresetsRequest"), a(_t, "fields", r.util.newFieldList(() => [
|
|
4753
4770
|
{
|
|
4754
4771
|
no: 1,
|
|
4755
4772
|
name: "filter",
|
|
@@ -4786,8 +4803,8 @@ a(Xt, "runtime", r), a(Xt, "typeName", "audiotool.preset.v1.ListPresetsRequest")
|
|
|
4786
4803
|
/* ScalarType.STRING */
|
|
4787
4804
|
}
|
|
4788
4805
|
]));
|
|
4789
|
-
let La =
|
|
4790
|
-
const
|
|
4806
|
+
let La = _t;
|
|
4807
|
+
const bt = class bt extends e {
|
|
4791
4808
|
constructor(t) {
|
|
4792
4809
|
super();
|
|
4793
4810
|
/**
|
|
@@ -4806,20 +4823,20 @@ const _t = class _t extends e {
|
|
|
4806
4823
|
r.util.initPartial(t, this);
|
|
4807
4824
|
}
|
|
4808
4825
|
static fromBinary(t, n) {
|
|
4809
|
-
return new
|
|
4826
|
+
return new bt().fromBinary(t, n);
|
|
4810
4827
|
}
|
|
4811
4828
|
static fromJson(t, n) {
|
|
4812
|
-
return new
|
|
4829
|
+
return new bt().fromJson(t, n);
|
|
4813
4830
|
}
|
|
4814
4831
|
static fromJsonString(t, n) {
|
|
4815
|
-
return new
|
|
4832
|
+
return new bt().fromJsonString(t, n);
|
|
4816
4833
|
}
|
|
4817
4834
|
static equals(t, n) {
|
|
4818
|
-
return r.util.equals(
|
|
4835
|
+
return r.util.equals(bt, t, n);
|
|
4819
4836
|
}
|
|
4820
4837
|
};
|
|
4821
|
-
a(
|
|
4822
|
-
{ no: 1, name: "presets", kind: "message", T:
|
|
4838
|
+
a(bt, "runtime", r), a(bt, "typeName", "audiotool.preset.v1.ListPresetsResponse"), a(bt, "fields", r.util.newFieldList(() => [
|
|
4839
|
+
{ no: 1, name: "presets", kind: "message", T: rn, repeated: !0 },
|
|
4823
4840
|
{
|
|
4824
4841
|
no: 2,
|
|
4825
4842
|
name: "next_page_token",
|
|
@@ -4828,8 +4845,8 @@ a(_t, "runtime", r), a(_t, "typeName", "audiotool.preset.v1.ListPresetsResponse"
|
|
|
4828
4845
|
/* ScalarType.STRING */
|
|
4829
4846
|
}
|
|
4830
4847
|
]));
|
|
4831
|
-
let pa =
|
|
4832
|
-
const
|
|
4848
|
+
let pa = bt;
|
|
4849
|
+
const jt = class jt extends e {
|
|
4833
4850
|
constructor(t) {
|
|
4834
4851
|
super();
|
|
4835
4852
|
/**
|
|
@@ -4841,19 +4858,19 @@ const bt = class bt extends e {
|
|
|
4841
4858
|
r.util.initPartial(t, this);
|
|
4842
4859
|
}
|
|
4843
4860
|
static fromBinary(t, n) {
|
|
4844
|
-
return new
|
|
4861
|
+
return new jt().fromBinary(t, n);
|
|
4845
4862
|
}
|
|
4846
4863
|
static fromJson(t, n) {
|
|
4847
|
-
return new
|
|
4864
|
+
return new jt().fromJson(t, n);
|
|
4848
4865
|
}
|
|
4849
4866
|
static fromJsonString(t, n) {
|
|
4850
|
-
return new
|
|
4867
|
+
return new jt().fromJsonString(t, n);
|
|
4851
4868
|
}
|
|
4852
4869
|
static equals(t, n) {
|
|
4853
|
-
return r.util.equals(
|
|
4870
|
+
return r.util.equals(jt, t, n);
|
|
4854
4871
|
}
|
|
4855
4872
|
};
|
|
4856
|
-
a(
|
|
4873
|
+
a(jt, "runtime", r), a(jt, "typeName", "audiotool.preset.v1.GetPresetRequest"), a(jt, "fields", r.util.newFieldList(() => [
|
|
4857
4874
|
{
|
|
4858
4875
|
no: 1,
|
|
4859
4876
|
name: "name",
|
|
@@ -4862,8 +4879,8 @@ a(bt, "runtime", r), a(bt, "typeName", "audiotool.preset.v1.GetPresetRequest"),
|
|
|
4862
4879
|
/* ScalarType.STRING */
|
|
4863
4880
|
}
|
|
4864
4881
|
]));
|
|
4865
|
-
let Ca =
|
|
4866
|
-
const
|
|
4882
|
+
let Ca = jt;
|
|
4883
|
+
const Gt = class Gt extends e {
|
|
4867
4884
|
constructor(t) {
|
|
4868
4885
|
super();
|
|
4869
4886
|
/**
|
|
@@ -4875,23 +4892,23 @@ const jt = class jt extends e {
|
|
|
4875
4892
|
r.util.initPartial(t, this);
|
|
4876
4893
|
}
|
|
4877
4894
|
static fromBinary(t, n) {
|
|
4878
|
-
return new
|
|
4895
|
+
return new Gt().fromBinary(t, n);
|
|
4879
4896
|
}
|
|
4880
4897
|
static fromJson(t, n) {
|
|
4881
|
-
return new
|
|
4898
|
+
return new Gt().fromJson(t, n);
|
|
4882
4899
|
}
|
|
4883
4900
|
static fromJsonString(t, n) {
|
|
4884
|
-
return new
|
|
4901
|
+
return new Gt().fromJsonString(t, n);
|
|
4885
4902
|
}
|
|
4886
4903
|
static equals(t, n) {
|
|
4887
|
-
return r.util.equals(
|
|
4904
|
+
return r.util.equals(Gt, t, n);
|
|
4888
4905
|
}
|
|
4889
4906
|
};
|
|
4890
|
-
a(
|
|
4891
|
-
{ no: 1, name: "preset", kind: "message", T:
|
|
4907
|
+
a(Gt, "runtime", r), a(Gt, "typeName", "audiotool.preset.v1.GetPresetResponse"), a(Gt, "fields", r.util.newFieldList(() => [
|
|
4908
|
+
{ no: 1, name: "preset", kind: "message", T: rn }
|
|
4892
4909
|
]));
|
|
4893
|
-
let Ua =
|
|
4894
|
-
const
|
|
4910
|
+
let Ua = Gt;
|
|
4911
|
+
const Kt = class Kt extends e {
|
|
4895
4912
|
constructor(t) {
|
|
4896
4913
|
super();
|
|
4897
4914
|
/**
|
|
@@ -4909,24 +4926,24 @@ const Gt = class Gt extends e {
|
|
|
4909
4926
|
r.util.initPartial(t, this);
|
|
4910
4927
|
}
|
|
4911
4928
|
static fromBinary(t, n) {
|
|
4912
|
-
return new
|
|
4929
|
+
return new Kt().fromBinary(t, n);
|
|
4913
4930
|
}
|
|
4914
4931
|
static fromJson(t, n) {
|
|
4915
|
-
return new
|
|
4932
|
+
return new Kt().fromJson(t, n);
|
|
4916
4933
|
}
|
|
4917
4934
|
static fromJsonString(t, n) {
|
|
4918
|
-
return new
|
|
4935
|
+
return new Kt().fromJsonString(t, n);
|
|
4919
4936
|
}
|
|
4920
4937
|
static equals(t, n) {
|
|
4921
|
-
return r.util.equals(
|
|
4938
|
+
return r.util.equals(Kt, t, n);
|
|
4922
4939
|
}
|
|
4923
4940
|
};
|
|
4924
|
-
a(
|
|
4925
|
-
{ no: 1, name: "preset", kind: "message", T:
|
|
4926
|
-
{ no: 2, name: "data", kind: "message", T:
|
|
4941
|
+
a(Kt, "runtime", r), a(Kt, "typeName", "audiotool.preset.v1.CreatePresetRequest"), a(Kt, "fields", r.util.newFieldList(() => [
|
|
4942
|
+
{ no: 1, name: "preset", kind: "message", T: rn },
|
|
4943
|
+
{ no: 2, name: "data", kind: "message", T: tn }
|
|
4927
4944
|
]));
|
|
4928
|
-
let Fa =
|
|
4929
|
-
const
|
|
4945
|
+
let Fa = Kt;
|
|
4946
|
+
const zt = class zt extends e {
|
|
4930
4947
|
constructor(t) {
|
|
4931
4948
|
super();
|
|
4932
4949
|
/**
|
|
@@ -4938,23 +4955,23 @@ const Kt = class Kt extends e {
|
|
|
4938
4955
|
r.util.initPartial(t, this);
|
|
4939
4956
|
}
|
|
4940
4957
|
static fromBinary(t, n) {
|
|
4941
|
-
return new
|
|
4958
|
+
return new zt().fromBinary(t, n);
|
|
4942
4959
|
}
|
|
4943
4960
|
static fromJson(t, n) {
|
|
4944
|
-
return new
|
|
4961
|
+
return new zt().fromJson(t, n);
|
|
4945
4962
|
}
|
|
4946
4963
|
static fromJsonString(t, n) {
|
|
4947
|
-
return new
|
|
4964
|
+
return new zt().fromJsonString(t, n);
|
|
4948
4965
|
}
|
|
4949
4966
|
static equals(t, n) {
|
|
4950
|
-
return r.util.equals(
|
|
4967
|
+
return r.util.equals(zt, t, n);
|
|
4951
4968
|
}
|
|
4952
4969
|
};
|
|
4953
|
-
a(
|
|
4954
|
-
{ no: 1, name: "preset", kind: "message", T:
|
|
4970
|
+
a(zt, "runtime", r), a(zt, "typeName", "audiotool.preset.v1.CreatePresetResponse"), a(zt, "fields", r.util.newFieldList(() => [
|
|
4971
|
+
{ no: 1, name: "preset", kind: "message", T: rn }
|
|
4955
4972
|
]));
|
|
4956
|
-
let Ma =
|
|
4957
|
-
const
|
|
4973
|
+
let Ma = zt;
|
|
4974
|
+
const Qt = class Qt extends e {
|
|
4958
4975
|
constructor(t) {
|
|
4959
4976
|
super();
|
|
4960
4977
|
/**
|
|
@@ -4980,25 +4997,25 @@ const zt = class zt extends e {
|
|
|
4980
4997
|
r.util.initPartial(t, this);
|
|
4981
4998
|
}
|
|
4982
4999
|
static fromBinary(t, n) {
|
|
4983
|
-
return new
|
|
5000
|
+
return new Qt().fromBinary(t, n);
|
|
4984
5001
|
}
|
|
4985
5002
|
static fromJson(t, n) {
|
|
4986
|
-
return new
|
|
5003
|
+
return new Qt().fromJson(t, n);
|
|
4987
5004
|
}
|
|
4988
5005
|
static fromJsonString(t, n) {
|
|
4989
|
-
return new
|
|
5006
|
+
return new Qt().fromJsonString(t, n);
|
|
4990
5007
|
}
|
|
4991
5008
|
static equals(t, n) {
|
|
4992
|
-
return r.util.equals(
|
|
5009
|
+
return r.util.equals(Qt, t, n);
|
|
4993
5010
|
}
|
|
4994
5011
|
};
|
|
4995
|
-
a(
|
|
4996
|
-
{ no: 1, name: "preset", kind: "message", T:
|
|
5012
|
+
a(Qt, "runtime", r), a(Qt, "typeName", "audiotool.preset.v1.UpdatePresetRequest"), a(Qt, "fields", r.util.newFieldList(() => [
|
|
5013
|
+
{ no: 1, name: "preset", kind: "message", T: rn },
|
|
4997
5014
|
{ no: 2, name: "update_mask", kind: "message", T: mn },
|
|
4998
|
-
{ no: 3, name: "data", kind: "message", T:
|
|
5015
|
+
{ no: 3, name: "data", kind: "message", T: tn }
|
|
4999
5016
|
]));
|
|
5000
|
-
let
|
|
5001
|
-
const
|
|
5017
|
+
let ha = Qt;
|
|
5018
|
+
const Wt = class Wt extends e {
|
|
5002
5019
|
constructor(t) {
|
|
5003
5020
|
super();
|
|
5004
5021
|
/**
|
|
@@ -5010,23 +5027,23 @@ const Qt = class Qt extends e {
|
|
|
5010
5027
|
r.util.initPartial(t, this);
|
|
5011
5028
|
}
|
|
5012
5029
|
static fromBinary(t, n) {
|
|
5013
|
-
return new
|
|
5030
|
+
return new Wt().fromBinary(t, n);
|
|
5014
5031
|
}
|
|
5015
5032
|
static fromJson(t, n) {
|
|
5016
|
-
return new
|
|
5033
|
+
return new Wt().fromJson(t, n);
|
|
5017
5034
|
}
|
|
5018
5035
|
static fromJsonString(t, n) {
|
|
5019
|
-
return new
|
|
5036
|
+
return new Wt().fromJsonString(t, n);
|
|
5020
5037
|
}
|
|
5021
5038
|
static equals(t, n) {
|
|
5022
|
-
return r.util.equals(
|
|
5039
|
+
return r.util.equals(Wt, t, n);
|
|
5023
5040
|
}
|
|
5024
5041
|
};
|
|
5025
|
-
a(
|
|
5026
|
-
{ no: 1, name: "preset", kind: "message", T:
|
|
5042
|
+
a(Wt, "runtime", r), a(Wt, "typeName", "audiotool.preset.v1.UpdatePresetResponse"), a(Wt, "fields", r.util.newFieldList(() => [
|
|
5043
|
+
{ no: 1, name: "preset", kind: "message", T: rn }
|
|
5027
5044
|
]));
|
|
5028
|
-
let
|
|
5029
|
-
const
|
|
5045
|
+
let xa = Wt;
|
|
5046
|
+
const $t = class $t extends e {
|
|
5030
5047
|
constructor(t) {
|
|
5031
5048
|
super();
|
|
5032
5049
|
/**
|
|
@@ -5038,19 +5055,19 @@ const Wt = class Wt extends e {
|
|
|
5038
5055
|
r.util.initPartial(t, this);
|
|
5039
5056
|
}
|
|
5040
5057
|
static fromBinary(t, n) {
|
|
5041
|
-
return new
|
|
5058
|
+
return new $t().fromBinary(t, n);
|
|
5042
5059
|
}
|
|
5043
5060
|
static fromJson(t, n) {
|
|
5044
|
-
return new
|
|
5061
|
+
return new $t().fromJson(t, n);
|
|
5045
5062
|
}
|
|
5046
5063
|
static fromJsonString(t, n) {
|
|
5047
|
-
return new
|
|
5064
|
+
return new $t().fromJsonString(t, n);
|
|
5048
5065
|
}
|
|
5049
5066
|
static equals(t, n) {
|
|
5050
|
-
return r.util.equals(
|
|
5067
|
+
return r.util.equals($t, t, n);
|
|
5051
5068
|
}
|
|
5052
5069
|
};
|
|
5053
|
-
a(
|
|
5070
|
+
a($t, "runtime", r), a($t, "typeName", "audiotool.preset.v1.DeletePresetRequest"), a($t, "fields", r.util.newFieldList(() => [
|
|
5054
5071
|
{
|
|
5055
5072
|
no: 1,
|
|
5056
5073
|
name: "name",
|
|
@@ -5059,27 +5076,27 @@ a(Wt, "runtime", r), a(Wt, "typeName", "audiotool.preset.v1.DeletePresetRequest"
|
|
|
5059
5076
|
/* ScalarType.STRING */
|
|
5060
5077
|
}
|
|
5061
5078
|
]));
|
|
5062
|
-
let Va =
|
|
5063
|
-
const
|
|
5079
|
+
let Va = $t;
|
|
5080
|
+
const Zt = class Zt extends e {
|
|
5064
5081
|
constructor(s) {
|
|
5065
5082
|
super(), r.util.initPartial(s, this);
|
|
5066
5083
|
}
|
|
5067
5084
|
static fromBinary(s, t) {
|
|
5068
|
-
return new
|
|
5085
|
+
return new Zt().fromBinary(s, t);
|
|
5069
5086
|
}
|
|
5070
5087
|
static fromJson(s, t) {
|
|
5071
|
-
return new
|
|
5088
|
+
return new Zt().fromJson(s, t);
|
|
5072
5089
|
}
|
|
5073
5090
|
static fromJsonString(s, t) {
|
|
5074
|
-
return new
|
|
5091
|
+
return new Zt().fromJsonString(s, t);
|
|
5075
5092
|
}
|
|
5076
5093
|
static equals(s, t) {
|
|
5077
|
-
return r.util.equals(
|
|
5094
|
+
return r.util.equals(Zt, s, t);
|
|
5078
5095
|
}
|
|
5079
5096
|
};
|
|
5080
|
-
a(
|
|
5081
|
-
let Ra =
|
|
5082
|
-
const
|
|
5097
|
+
a(Zt, "runtime", r), a(Zt, "typeName", "audiotool.preset.v1.DeletePresetResponse"), a(Zt, "fields", r.util.newFieldList(() => []));
|
|
5098
|
+
let Ra = Zt;
|
|
5099
|
+
const Vr = {
|
|
5083
5100
|
typeName: "audiotool.preset.v1.PresetService",
|
|
5084
5101
|
methods: {
|
|
5085
5102
|
/**
|
|
@@ -5122,8 +5139,8 @@ const xr = {
|
|
|
5122
5139
|
*/
|
|
5123
5140
|
updatePreset: {
|
|
5124
5141
|
name: "UpdatePreset",
|
|
5125
|
-
I:
|
|
5126
|
-
O:
|
|
5142
|
+
I: ha,
|
|
5143
|
+
O: xa,
|
|
5127
5144
|
kind: o.Unary
|
|
5128
5145
|
},
|
|
5129
5146
|
/**
|
|
@@ -5144,14 +5161,14 @@ const xr = {
|
|
|
5144
5161
|
}, ur = (i) => {
|
|
5145
5162
|
const s = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i, t = i.match(s);
|
|
5146
5163
|
return t == null ? new Error() : t[0];
|
|
5147
|
-
},
|
|
5148
|
-
const s = on(
|
|
5164
|
+
}, Rr = (i) => {
|
|
5165
|
+
const s = on(Vr, i);
|
|
5149
5166
|
return {
|
|
5150
5167
|
list: async (t, n) => {
|
|
5151
|
-
const
|
|
5168
|
+
const S = `preset.device_type == '${Yr[t]}'`;
|
|
5152
5169
|
n !== void 0 && n.length > 1 && (n = `${n.replace(/['"]/g, "").toLowerCase().split(" ").filter((l) => l.length > 1).join(" & ")}`);
|
|
5153
5170
|
const u = await s.listPresets({
|
|
5154
|
-
filter:
|
|
5171
|
+
filter: S,
|
|
5155
5172
|
textSearch: n
|
|
5156
5173
|
});
|
|
5157
5174
|
if (u instanceof Error)
|
|
@@ -5173,7 +5190,7 @@ const xr = {
|
|
|
5173
5190
|
return lr(n.preset);
|
|
5174
5191
|
}
|
|
5175
5192
|
};
|
|
5176
|
-
},
|
|
5193
|
+
}, Yr = {
|
|
5177
5194
|
autoFilter: "PRESET_DEVICE_TYPE_AUTO_FILTER",
|
|
5178
5195
|
bandSplitter: "PRESET_DEVICE_TYPE_BAND_SPLITTER",
|
|
5179
5196
|
bassline: "PRESET_DEVICE_TYPE_BASSLINE",
|
|
@@ -5216,12 +5233,12 @@ const xr = {
|
|
|
5216
5233
|
}, lr = async (i) => {
|
|
5217
5234
|
const s = i, t = await fetch(i.dataUrl, {
|
|
5218
5235
|
credentials: "omit"
|
|
5219
|
-
}).then((c) => c.arrayBuffer()), n = new
|
|
5220
|
-
if (!
|
|
5236
|
+
}).then((c) => c.arrayBuffer()), n = new wr();
|
|
5237
|
+
if (!tn.fromBinary(new Uint8Array(t)).unpackTo(n))
|
|
5221
5238
|
throw new Error("Failed to unpack preset data");
|
|
5222
5239
|
if (n.target === void 0)
|
|
5223
5240
|
throw new Error("Preset data does not contain a target");
|
|
5224
|
-
const u =
|
|
5241
|
+
const u = Mr(n.target);
|
|
5225
5242
|
if (u === void 0)
|
|
5226
5243
|
throw new Error("Preset data does not contain an entity");
|
|
5227
5244
|
return {
|
|
@@ -5229,156 +5246,157 @@ const xr = {
|
|
|
5229
5246
|
data: n,
|
|
5230
5247
|
entityType: u
|
|
5231
5248
|
};
|
|
5232
|
-
},
|
|
5233
|
-
const t =
|
|
5249
|
+
}, Qr = async (i, s) => {
|
|
5250
|
+
const t = await Cr({
|
|
5234
5251
|
baseUrl: s ?? "https://rpc.audiotool.com/",
|
|
5235
5252
|
useBinaryFormat: !1,
|
|
5236
|
-
typeRegistry:
|
|
5253
|
+
typeRegistry: fr(wr),
|
|
5237
5254
|
getToken: i
|
|
5238
5255
|
}), n = on(
|
|
5239
|
-
|
|
5256
|
+
Br,
|
|
5240
5257
|
t
|
|
5241
|
-
),
|
|
5242
|
-
|
|
5258
|
+
), S = on(Lr, t), u = on(
|
|
5259
|
+
Nr,
|
|
5243
5260
|
t
|
|
5244
|
-
), c =
|
|
5245
|
-
|
|
5261
|
+
), c = Rr(t), nn = on(
|
|
5262
|
+
Ar,
|
|
5246
5263
|
t
|
|
5247
5264
|
), l = on(
|
|
5248
|
-
|
|
5265
|
+
kr,
|
|
5249
5266
|
t
|
|
5250
5267
|
);
|
|
5251
5268
|
return {
|
|
5252
|
-
authorizedFetch: async (
|
|
5269
|
+
authorizedFetch: async (wn, In) => mr(wn, {
|
|
5253
5270
|
credentials: "omit",
|
|
5254
|
-
...
|
|
5271
|
+
...In
|
|
5255
5272
|
}),
|
|
5256
5273
|
fetch: mr,
|
|
5257
|
-
userService:
|
|
5274
|
+
userService: S,
|
|
5258
5275
|
projectService: n,
|
|
5259
5276
|
projectRoleService: u,
|
|
5260
|
-
sampleService:
|
|
5277
|
+
sampleService: nn,
|
|
5261
5278
|
presets: c,
|
|
5262
5279
|
audioGraphService: l
|
|
5263
5280
|
};
|
|
5264
5281
|
};
|
|
5265
5282
|
export {
|
|
5266
|
-
|
|
5267
|
-
|
|
5283
|
+
Vn as $,
|
|
5284
|
+
Jn as A,
|
|
5268
5285
|
Da as B,
|
|
5269
5286
|
ir as C,
|
|
5270
5287
|
er as D,
|
|
5271
5288
|
sn as E,
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5289
|
+
Nr as F,
|
|
5290
|
+
gn as G,
|
|
5291
|
+
yn as H,
|
|
5292
|
+
kn as I,
|
|
5293
|
+
Nn as J,
|
|
5294
|
+
Bn as K,
|
|
5278
5295
|
ar as L,
|
|
5279
|
-
|
|
5280
|
-
|
|
5296
|
+
An as M,
|
|
5297
|
+
Ln as N,
|
|
5281
5298
|
ln as O,
|
|
5282
5299
|
f as P,
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5300
|
+
pn as Q,
|
|
5301
|
+
Cn as R,
|
|
5302
|
+
Xa as S,
|
|
5286
5303
|
Ha as T,
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5304
|
+
ha as U,
|
|
5305
|
+
Br as V,
|
|
5306
|
+
Un as W,
|
|
5307
|
+
Fn as X,
|
|
5308
|
+
Mn as Y,
|
|
5309
|
+
hn as Z,
|
|
5293
5310
|
xn as _,
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5311
|
+
kr as a,
|
|
5312
|
+
Cr as a$,
|
|
5313
|
+
Rn as a0,
|
|
5314
|
+
Yn as a1,
|
|
5315
|
+
vn as a2,
|
|
5316
|
+
Dn as a3,
|
|
5317
|
+
Hn as a4,
|
|
5318
|
+
Xn as a5,
|
|
5302
5319
|
qn as a6,
|
|
5303
|
-
|
|
5304
|
-
|
|
5320
|
+
_n as a7,
|
|
5321
|
+
bn as a8,
|
|
5305
5322
|
$a as a9,
|
|
5306
5323
|
cn as aA,
|
|
5307
5324
|
en as aB,
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
+
Lr as aC,
|
|
5326
|
+
fa as aD,
|
|
5327
|
+
Ta as aE,
|
|
5328
|
+
Sa as aF,
|
|
5329
|
+
wa as aG,
|
|
5330
|
+
Ia as aH,
|
|
5331
|
+
ga as aI,
|
|
5332
|
+
Ja as aJ,
|
|
5333
|
+
Pa as aK,
|
|
5334
|
+
Oa as aL,
|
|
5335
|
+
ya as aM,
|
|
5336
|
+
ka as aN,
|
|
5337
|
+
Na as aO,
|
|
5338
|
+
Ba as aP,
|
|
5339
|
+
Aa as aQ,
|
|
5340
|
+
Qr as aR,
|
|
5341
|
+
br as aS,
|
|
5325
5342
|
jr as aT,
|
|
5326
|
-
|
|
5343
|
+
Kr as aU,
|
|
5327
5344
|
Gr as aV,
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5345
|
+
zr as aW,
|
|
5346
|
+
xr as aX,
|
|
5347
|
+
wr as aY,
|
|
5348
|
+
Mr as aZ,
|
|
5349
|
+
on as a_,
|
|
5333
5350
|
Za as aa,
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5351
|
+
jn as ab,
|
|
5352
|
+
Gn as ac,
|
|
5353
|
+
Kn as ad,
|
|
5354
|
+
zn as ae,
|
|
5338
5355
|
En as af,
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5356
|
+
qa as ag,
|
|
5357
|
+
Wn as ah,
|
|
5358
|
+
$n as ai,
|
|
5359
|
+
Ar as aj,
|
|
5360
|
+
Zn as ak,
|
|
5361
|
+
ta as al,
|
|
5362
|
+
na as am,
|
|
5363
|
+
aa as an,
|
|
5364
|
+
ra as ao,
|
|
5365
|
+
ia as ap,
|
|
5366
|
+
sa as aq,
|
|
5367
|
+
ea as ar,
|
|
5368
|
+
oa as as,
|
|
5369
|
+
ma as at,
|
|
5370
|
+
ua as au,
|
|
5371
|
+
la as av,
|
|
5372
|
+
ca as aw,
|
|
5373
|
+
Ea as ax,
|
|
5374
|
+
da as ay,
|
|
5358
5375
|
un as az,
|
|
5359
5376
|
Ya as b,
|
|
5377
|
+
ur as b0,
|
|
5360
5378
|
va as c,
|
|
5361
|
-
|
|
5362
|
-
|
|
5379
|
+
Pn as d,
|
|
5380
|
+
On as e,
|
|
5363
5381
|
tr as f,
|
|
5364
5382
|
nr as g,
|
|
5365
5383
|
rr as h,
|
|
5366
5384
|
sr as i,
|
|
5367
5385
|
or as j,
|
|
5368
|
-
|
|
5386
|
+
Qn as k,
|
|
5369
5387
|
_a as l,
|
|
5370
5388
|
ba as m,
|
|
5371
5389
|
mr as n,
|
|
5372
|
-
|
|
5373
|
-
|
|
5390
|
+
rn as o,
|
|
5391
|
+
Vr as p,
|
|
5374
5392
|
La as q,
|
|
5375
5393
|
pa as r,
|
|
5376
|
-
|
|
5394
|
+
_r as s,
|
|
5377
5395
|
Ca as t,
|
|
5378
5396
|
Ua as u,
|
|
5379
5397
|
Fa as v,
|
|
5380
5398
|
Ma as w,
|
|
5381
|
-
|
|
5399
|
+
xa as x,
|
|
5382
5400
|
Va as y,
|
|
5383
5401
|
Ra as z
|
|
5384
5402
|
};
|