weave-typescript 0.10.19 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/google/api/annotations.pb.js +1 -1
- package/dist/google/api/http.pb.js +4 -4
- package/dist/google/protobuf/descriptor.pb.js +38 -44
- package/dist/google/protobuf/go_features.pb.d.ts +55 -0
- package/dist/google/protobuf/go_features.pb.js +195 -0
- package/dist/google/protobuf/struct.pb.js +5 -5
- package/dist/google/protobuf/timestamp.pb.js +2 -2
- package/dist/weaveapi/auth/v1/service.pb.d.ts +45 -49
- package/dist/weaveapi/auth/v1/service.pb.js +47 -47
- package/dist/weaveapi/auth/v1/session.pb.js +2 -2
- package/dist/weaveapi/auth/v1/usage.pb.js +6 -6
- package/dist/weaveapi/auth/v1/user.pb.js +8 -8
- package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -1
- package/dist/weaveapi/generate/v1/configuration.pb.js +7 -7
- package/dist/weaveapi/generate/v1/generate.pb.js +2 -2
- package/dist/weaveapi/generate/v1/service.pb.d.ts +9 -9
- package/dist/weaveapi/generate/v1/service.pb.js +9 -9
- package/dist/weaveapi/llmx/v1/architecture.pb.js +6 -6
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +15 -15
- package/dist/weaveapi/llmx/v1/model.pb.js +9 -9
- package/dist/weaveapi/llmx/v1/pricing.pb.js +5 -5
- package/dist/weaveapi/llmx/v1/provider.pb.js +2 -2
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +25 -25
- package/dist/weaveapi/llmx/v1/service.pb.js +43 -43
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +3 -3
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +13 -13
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +13 -13
- package/dist/weaveapi/payment/v1/invoice.pb.js +5 -5
- package/dist/weaveapi/payment/v1/service.pb.d.ts +39 -42
- package/dist/weaveapi/payment/v1/service.pb.js +47 -47
- package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -2
- package/dist/weaveapi/payment/v1/subscription.pb.js +10 -10
- package/dist/weaveapi/storage/v1/auth.pb.js +2 -2
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +10 -10
- package/dist/weaveapi/storage/v1/object_store.pb.js +5 -5
- package/dist/weaveapi/storage/v1/service.pb.d.ts +13 -13
- package/dist/weaveapi/storage/v1/service.pb.js +16 -16
- package/dist/weaveapi/storage/v1/sql_database.pb.js +10 -10
- package/dist/weaveapi/storage/v1/storage.pb.js +2 -2
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +4 -4
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +2 -2
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +3 -3
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +9 -9
- package/dist/weaveapi/synthesize/v1/service.pb.js +10 -10
- package/dist/weaveapi/synthesize/v1/training.pb.js +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.8.3
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/api/annotations.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.8.3
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/api/http.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -24,7 +24,7 @@ exports.Http = {
|
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
27
|
-
|
|
27
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
28
28
|
const message = createBaseHttp();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
@@ -131,7 +131,7 @@ exports.HttpRule = {
|
|
|
131
131
|
},
|
|
132
132
|
decode(input, length) {
|
|
133
133
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
134
|
-
|
|
134
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
135
135
|
const message = createBaseHttpRule();
|
|
136
136
|
while (reader.pos < end) {
|
|
137
137
|
const tag = reader.uint32();
|
|
@@ -301,7 +301,7 @@ exports.CustomHttpPattern = {
|
|
|
301
301
|
},
|
|
302
302
|
decode(input, length) {
|
|
303
303
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
304
|
-
|
|
304
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
305
305
|
const message = createBaseCustomHttpPattern();
|
|
306
306
|
while (reader.pos < end) {
|
|
307
307
|
const tag = reader.uint32();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.8.3
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: google/protobuf/descriptor.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1108,7 +1108,7 @@ exports.FileDescriptorSet = {
|
|
|
1108
1108
|
},
|
|
1109
1109
|
decode(input, length) {
|
|
1110
1110
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1111
|
-
|
|
1111
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1112
1112
|
const message = createBaseFileDescriptorSet();
|
|
1113
1113
|
while (reader.pos < end) {
|
|
1114
1114
|
const tag = reader.uint32();
|
|
@@ -1180,16 +1180,12 @@ exports.FileDescriptorProto = {
|
|
|
1180
1180
|
for (const v of message.dependency) {
|
|
1181
1181
|
writer.uint32(26).string(v);
|
|
1182
1182
|
}
|
|
1183
|
-
writer.uint32(82).fork();
|
|
1184
1183
|
for (const v of message.publicDependency) {
|
|
1185
|
-
writer.int32(v);
|
|
1184
|
+
writer.uint32(80).int32(v);
|
|
1186
1185
|
}
|
|
1187
|
-
writer.join();
|
|
1188
|
-
writer.uint32(90).fork();
|
|
1189
1186
|
for (const v of message.weakDependency) {
|
|
1190
|
-
writer.int32(v);
|
|
1187
|
+
writer.uint32(88).int32(v);
|
|
1191
1188
|
}
|
|
1192
|
-
writer.join();
|
|
1193
1189
|
for (const v of message.optionDependency) {
|
|
1194
1190
|
writer.uint32(122).string(v);
|
|
1195
1191
|
}
|
|
@@ -1221,7 +1217,7 @@ exports.FileDescriptorProto = {
|
|
|
1221
1217
|
},
|
|
1222
1218
|
decode(input, length) {
|
|
1223
1219
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1224
|
-
|
|
1220
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1225
1221
|
const message = createBaseFileDescriptorProto();
|
|
1226
1222
|
while (reader.pos < end) {
|
|
1227
1223
|
const tag = reader.uint32();
|
|
@@ -1508,7 +1504,7 @@ exports.DescriptorProto = {
|
|
|
1508
1504
|
},
|
|
1509
1505
|
decode(input, length) {
|
|
1510
1506
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1511
|
-
|
|
1507
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1512
1508
|
const message = createBaseDescriptorProto();
|
|
1513
1509
|
while (reader.pos < end) {
|
|
1514
1510
|
const tag = reader.uint32();
|
|
@@ -1707,7 +1703,7 @@ exports.DescriptorProto_ExtensionRange = {
|
|
|
1707
1703
|
},
|
|
1708
1704
|
decode(input, length) {
|
|
1709
1705
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1710
|
-
|
|
1706
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1711
1707
|
const message = createBaseDescriptorProto_ExtensionRange();
|
|
1712
1708
|
while (reader.pos < end) {
|
|
1713
1709
|
const tag = reader.uint32();
|
|
@@ -1790,7 +1786,7 @@ exports.DescriptorProto_ReservedRange = {
|
|
|
1790
1786
|
},
|
|
1791
1787
|
decode(input, length) {
|
|
1792
1788
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1793
|
-
|
|
1789
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1794
1790
|
const message = createBaseDescriptorProto_ReservedRange();
|
|
1795
1791
|
while (reader.pos < end) {
|
|
1796
1792
|
const tag = reader.uint32();
|
|
@@ -1865,7 +1861,7 @@ exports.ExtensionRangeOptions = {
|
|
|
1865
1861
|
},
|
|
1866
1862
|
decode(input, length) {
|
|
1867
1863
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1868
|
-
|
|
1864
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1869
1865
|
const message = createBaseExtensionRangeOptions();
|
|
1870
1866
|
while (reader.pos < end) {
|
|
1871
1867
|
const tag = reader.uint32();
|
|
@@ -1976,7 +1972,7 @@ exports.ExtensionRangeOptions_Declaration = {
|
|
|
1976
1972
|
},
|
|
1977
1973
|
decode(input, length) {
|
|
1978
1974
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1979
|
-
|
|
1975
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1980
1976
|
const message = createBaseExtensionRangeOptions_Declaration();
|
|
1981
1977
|
while (reader.pos < end) {
|
|
1982
1978
|
const tag = reader.uint32();
|
|
@@ -2120,7 +2116,7 @@ exports.FieldDescriptorProto = {
|
|
|
2120
2116
|
},
|
|
2121
2117
|
decode(input, length) {
|
|
2122
2118
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2123
|
-
|
|
2119
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2124
2120
|
const message = createBaseFieldDescriptorProto();
|
|
2125
2121
|
while (reader.pos < end) {
|
|
2126
2122
|
const tag = reader.uint32();
|
|
@@ -2299,7 +2295,7 @@ exports.OneofDescriptorProto = {
|
|
|
2299
2295
|
},
|
|
2300
2296
|
decode(input, length) {
|
|
2301
2297
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2302
|
-
|
|
2298
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2303
2299
|
const message = createBaseOneofDescriptorProto();
|
|
2304
2300
|
while (reader.pos < end) {
|
|
2305
2301
|
const tag = reader.uint32();
|
|
@@ -2382,7 +2378,7 @@ exports.EnumDescriptorProto = {
|
|
|
2382
2378
|
},
|
|
2383
2379
|
decode(input, length) {
|
|
2384
2380
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2385
|
-
|
|
2381
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2386
2382
|
const message = createBaseEnumDescriptorProto();
|
|
2387
2383
|
while (reader.pos < end) {
|
|
2388
2384
|
const tag = reader.uint32();
|
|
@@ -2509,7 +2505,7 @@ exports.EnumDescriptorProto_EnumReservedRange = {
|
|
|
2509
2505
|
},
|
|
2510
2506
|
decode(input, length) {
|
|
2511
2507
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2512
|
-
|
|
2508
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2513
2509
|
const message = createBaseEnumDescriptorProto_EnumReservedRange();
|
|
2514
2510
|
while (reader.pos < end) {
|
|
2515
2511
|
const tag = reader.uint32();
|
|
@@ -2581,7 +2577,7 @@ exports.EnumValueDescriptorProto = {
|
|
|
2581
2577
|
},
|
|
2582
2578
|
decode(input, length) {
|
|
2583
2579
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2584
|
-
|
|
2580
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2585
2581
|
const message = createBaseEnumValueDescriptorProto();
|
|
2586
2582
|
while (reader.pos < end) {
|
|
2587
2583
|
const tag = reader.uint32();
|
|
@@ -2667,7 +2663,7 @@ exports.ServiceDescriptorProto = {
|
|
|
2667
2663
|
},
|
|
2668
2664
|
decode(input, length) {
|
|
2669
2665
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2670
|
-
|
|
2666
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2671
2667
|
const message = createBaseServiceDescriptorProto();
|
|
2672
2668
|
while (reader.pos < end) {
|
|
2673
2669
|
const tag = reader.uint32();
|
|
@@ -2772,7 +2768,7 @@ exports.MethodDescriptorProto = {
|
|
|
2772
2768
|
},
|
|
2773
2769
|
decode(input, length) {
|
|
2774
2770
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2775
|
-
|
|
2771
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2776
2772
|
const message = createBaseMethodDescriptorProto();
|
|
2777
2773
|
while (reader.pos < end) {
|
|
2778
2774
|
const tag = reader.uint32();
|
|
@@ -2970,7 +2966,7 @@ exports.FileOptions = {
|
|
|
2970
2966
|
},
|
|
2971
2967
|
decode(input, length) {
|
|
2972
2968
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2973
|
-
|
|
2969
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2974
2970
|
const message = createBaseFileOptions();
|
|
2975
2971
|
while (reader.pos < end) {
|
|
2976
2972
|
const tag = reader.uint32();
|
|
@@ -3297,7 +3293,7 @@ exports.MessageOptions = {
|
|
|
3297
3293
|
},
|
|
3298
3294
|
decode(input, length) {
|
|
3299
3295
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3300
|
-
|
|
3296
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3301
3297
|
const message = createBaseMessageOptions();
|
|
3302
3298
|
while (reader.pos < end) {
|
|
3303
3299
|
const tag = reader.uint32();
|
|
@@ -3469,11 +3465,9 @@ exports.FieldOptions = {
|
|
|
3469
3465
|
if (message.retention !== undefined && message.retention !== 0) {
|
|
3470
3466
|
writer.uint32(136).int32(message.retention);
|
|
3471
3467
|
}
|
|
3472
|
-
writer.uint32(154).fork();
|
|
3473
3468
|
for (const v of message.targets) {
|
|
3474
|
-
writer.int32(v);
|
|
3469
|
+
writer.uint32(152).int32(v);
|
|
3475
3470
|
}
|
|
3476
|
-
writer.join();
|
|
3477
3471
|
for (const v of message.editionDefaults) {
|
|
3478
3472
|
exports.FieldOptions_EditionDefault.encode(v, writer.uint32(162).fork()).join();
|
|
3479
3473
|
}
|
|
@@ -3490,7 +3484,7 @@ exports.FieldOptions = {
|
|
|
3490
3484
|
},
|
|
3491
3485
|
decode(input, length) {
|
|
3492
3486
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3493
|
-
|
|
3487
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3494
3488
|
const message = createBaseFieldOptions();
|
|
3495
3489
|
while (reader.pos < end) {
|
|
3496
3490
|
const tag = reader.uint32();
|
|
@@ -3723,7 +3717,7 @@ exports.FieldOptions_EditionDefault = {
|
|
|
3723
3717
|
},
|
|
3724
3718
|
decode(input, length) {
|
|
3725
3719
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3726
|
-
|
|
3720
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3727
3721
|
const message = createBaseFieldOptions_EditionDefault();
|
|
3728
3722
|
while (reader.pos < end) {
|
|
3729
3723
|
const tag = reader.uint32();
|
|
@@ -3798,7 +3792,7 @@ exports.FieldOptions_FeatureSupport = {
|
|
|
3798
3792
|
},
|
|
3799
3793
|
decode(input, length) {
|
|
3800
3794
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3801
|
-
|
|
3795
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3802
3796
|
const message = createBaseFieldOptions_FeatureSupport();
|
|
3803
3797
|
while (reader.pos < end) {
|
|
3804
3798
|
const tag = reader.uint32();
|
|
@@ -3891,7 +3885,7 @@ exports.OneofOptions = {
|
|
|
3891
3885
|
},
|
|
3892
3886
|
decode(input, length) {
|
|
3893
3887
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3894
|
-
|
|
3888
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3895
3889
|
const message = createBaseOneofOptions();
|
|
3896
3890
|
while (reader.pos < end) {
|
|
3897
3891
|
const tag = reader.uint32();
|
|
@@ -3980,7 +3974,7 @@ exports.EnumOptions = {
|
|
|
3980
3974
|
},
|
|
3981
3975
|
decode(input, length) {
|
|
3982
3976
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3983
|
-
|
|
3977
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3984
3978
|
const message = createBaseEnumOptions();
|
|
3985
3979
|
while (reader.pos < end) {
|
|
3986
3980
|
const tag = reader.uint32();
|
|
@@ -4107,7 +4101,7 @@ exports.EnumValueOptions = {
|
|
|
4107
4101
|
},
|
|
4108
4102
|
decode(input, length) {
|
|
4109
4103
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4110
|
-
|
|
4104
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4111
4105
|
const message = createBaseEnumValueOptions();
|
|
4112
4106
|
while (reader.pos < end) {
|
|
4113
4107
|
const tag = reader.uint32();
|
|
@@ -4224,7 +4218,7 @@ exports.ServiceOptions = {
|
|
|
4224
4218
|
},
|
|
4225
4219
|
decode(input, length) {
|
|
4226
4220
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4227
|
-
|
|
4221
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4228
4222
|
const message = createBaseServiceOptions();
|
|
4229
4223
|
while (reader.pos < end) {
|
|
4230
4224
|
const tag = reader.uint32();
|
|
@@ -4316,7 +4310,7 @@ exports.MethodOptions = {
|
|
|
4316
4310
|
},
|
|
4317
4311
|
decode(input, length) {
|
|
4318
4312
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4319
|
-
|
|
4313
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4320
4314
|
const message = createBaseMethodOptions();
|
|
4321
4315
|
while (reader.pos < end) {
|
|
4322
4316
|
const tag = reader.uint32();
|
|
@@ -4439,7 +4433,7 @@ exports.UninterpretedOption = {
|
|
|
4439
4433
|
},
|
|
4440
4434
|
decode(input, length) {
|
|
4441
4435
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4442
|
-
|
|
4436
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4443
4437
|
const message = createBaseUninterpretedOption();
|
|
4444
4438
|
while (reader.pos < end) {
|
|
4445
4439
|
const tag = reader.uint32();
|
|
@@ -4571,7 +4565,7 @@ exports.UninterpretedOption_NamePart = {
|
|
|
4571
4565
|
},
|
|
4572
4566
|
decode(input, length) {
|
|
4573
4567
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4574
|
-
|
|
4568
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4575
4569
|
const message = createBaseUninterpretedOption_NamePart();
|
|
4576
4570
|
while (reader.pos < end) {
|
|
4577
4571
|
const tag = reader.uint32();
|
|
@@ -4667,7 +4661,7 @@ exports.FeatureSet = {
|
|
|
4667
4661
|
},
|
|
4668
4662
|
decode(input, length) {
|
|
4669
4663
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4670
|
-
|
|
4664
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4671
4665
|
const message = createBaseFeatureSet();
|
|
4672
4666
|
while (reader.pos < end) {
|
|
4673
4667
|
const tag = reader.uint32();
|
|
@@ -4808,7 +4802,7 @@ exports.FeatureSet_VisibilityFeature = {
|
|
|
4808
4802
|
},
|
|
4809
4803
|
decode(input, length) {
|
|
4810
4804
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4811
|
-
|
|
4805
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4812
4806
|
const message = createBaseFeatureSet_VisibilityFeature();
|
|
4813
4807
|
while (reader.pos < end) {
|
|
4814
4808
|
const tag = reader.uint32();
|
|
@@ -4854,7 +4848,7 @@ exports.FeatureSetDefaults = {
|
|
|
4854
4848
|
},
|
|
4855
4849
|
decode(input, length) {
|
|
4856
4850
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4857
|
-
|
|
4851
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4858
4852
|
const message = createBaseFeatureSetDefaults();
|
|
4859
4853
|
while (reader.pos < end) {
|
|
4860
4854
|
const tag = reader.uint32();
|
|
@@ -4941,7 +4935,7 @@ exports.FeatureSetDefaults_FeatureSetEditionDefault = {
|
|
|
4941
4935
|
},
|
|
4942
4936
|
decode(input, length) {
|
|
4943
4937
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4944
|
-
|
|
4938
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4945
4939
|
const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault();
|
|
4946
4940
|
while (reader.pos < end) {
|
|
4947
4941
|
const tag = reader.uint32();
|
|
@@ -5025,7 +5019,7 @@ exports.SourceCodeInfo = {
|
|
|
5025
5019
|
},
|
|
5026
5020
|
decode(input, length) {
|
|
5027
5021
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5028
|
-
|
|
5022
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5029
5023
|
const message = createBaseSourceCodeInfo();
|
|
5030
5024
|
while (reader.pos < end) {
|
|
5031
5025
|
const tag = reader.uint32();
|
|
@@ -5098,7 +5092,7 @@ exports.SourceCodeInfo_Location = {
|
|
|
5098
5092
|
},
|
|
5099
5093
|
decode(input, length) {
|
|
5100
5094
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5101
|
-
|
|
5095
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5102
5096
|
const message = createBaseSourceCodeInfo_Location();
|
|
5103
5097
|
while (reader.pos < end) {
|
|
5104
5098
|
const tag = reader.uint32();
|
|
@@ -5217,7 +5211,7 @@ exports.GeneratedCodeInfo = {
|
|
|
5217
5211
|
},
|
|
5218
5212
|
decode(input, length) {
|
|
5219
5213
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5220
|
-
|
|
5214
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5221
5215
|
const message = createBaseGeneratedCodeInfo();
|
|
5222
5216
|
while (reader.pos < end) {
|
|
5223
5217
|
const tag = reader.uint32();
|
|
@@ -5288,7 +5282,7 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
5288
5282
|
},
|
|
5289
5283
|
decode(input, length) {
|
|
5290
5284
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5291
|
-
|
|
5285
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5292
5286
|
const message = createBaseGeneratedCodeInfo_Annotation();
|
|
5293
5287
|
while (reader.pos < end) {
|
|
5294
5288
|
const tag = reader.uint32();
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "pb";
|
|
3
|
+
export interface GoFeatures {
|
|
4
|
+
/**
|
|
5
|
+
* Whether or not to generate the deprecated UnmarshalJSON method for enums.
|
|
6
|
+
* Can only be true for proto using the Open Struct api.
|
|
7
|
+
*/
|
|
8
|
+
legacyUnmarshalJsonEnum?: boolean | undefined;
|
|
9
|
+
/** One of OPEN, HYBRID or OPAQUE. */
|
|
10
|
+
apiLevel?: GoFeatures_APILevel | undefined;
|
|
11
|
+
stripEnumPrefix?: GoFeatures_StripEnumPrefix | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare enum GoFeatures_APILevel {
|
|
14
|
+
/**
|
|
15
|
+
* API_LEVEL_UNSPECIFIED - API_LEVEL_UNSPECIFIED results in selecting the OPEN API,
|
|
16
|
+
* but needs to be a separate value to distinguish between
|
|
17
|
+
* an explicitly set api level or a missing api level.
|
|
18
|
+
*/
|
|
19
|
+
API_LEVEL_UNSPECIFIED = 0,
|
|
20
|
+
API_OPEN = 1,
|
|
21
|
+
API_HYBRID = 2,
|
|
22
|
+
API_OPAQUE = 3,
|
|
23
|
+
UNRECOGNIZED = -1
|
|
24
|
+
}
|
|
25
|
+
export declare function goFeatures_APILevelFromJSON(object: any): GoFeatures_APILevel;
|
|
26
|
+
export declare function goFeatures_APILevelToJSON(object: GoFeatures_APILevel): string;
|
|
27
|
+
export declare enum GoFeatures_StripEnumPrefix {
|
|
28
|
+
STRIP_ENUM_PREFIX_UNSPECIFIED = 0,
|
|
29
|
+
STRIP_ENUM_PREFIX_KEEP = 1,
|
|
30
|
+
STRIP_ENUM_PREFIX_GENERATE_BOTH = 2,
|
|
31
|
+
STRIP_ENUM_PREFIX_STRIP = 3,
|
|
32
|
+
UNRECOGNIZED = -1
|
|
33
|
+
}
|
|
34
|
+
export declare function goFeatures_StripEnumPrefixFromJSON(object: any): GoFeatures_StripEnumPrefix;
|
|
35
|
+
export declare function goFeatures_StripEnumPrefixToJSON(object: GoFeatures_StripEnumPrefix): string;
|
|
36
|
+
export declare const GoFeatures: MessageFns<GoFeatures>;
|
|
37
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
38
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
39
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
40
|
+
} : Partial<T>;
|
|
41
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
42
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
43
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
44
|
+
} & {
|
|
45
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
46
|
+
};
|
|
47
|
+
export interface MessageFns<T> {
|
|
48
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
49
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
50
|
+
fromJSON(object: any): T;
|
|
51
|
+
toJSON(message: T): unknown;
|
|
52
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
53
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.8.3
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: google/protobuf/go_features.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.GoFeatures = exports.GoFeatures_StripEnumPrefix = exports.GoFeatures_APILevel = exports.protobufPackage = void 0;
|
|
9
|
+
exports.goFeatures_APILevelFromJSON = goFeatures_APILevelFromJSON;
|
|
10
|
+
exports.goFeatures_APILevelToJSON = goFeatures_APILevelToJSON;
|
|
11
|
+
exports.goFeatures_StripEnumPrefixFromJSON = goFeatures_StripEnumPrefixFromJSON;
|
|
12
|
+
exports.goFeatures_StripEnumPrefixToJSON = goFeatures_StripEnumPrefixToJSON;
|
|
13
|
+
/* eslint-disable */
|
|
14
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
15
|
+
exports.protobufPackage = "pb";
|
|
16
|
+
var GoFeatures_APILevel;
|
|
17
|
+
(function (GoFeatures_APILevel) {
|
|
18
|
+
/**
|
|
19
|
+
* API_LEVEL_UNSPECIFIED - API_LEVEL_UNSPECIFIED results in selecting the OPEN API,
|
|
20
|
+
* but needs to be a separate value to distinguish between
|
|
21
|
+
* an explicitly set api level or a missing api level.
|
|
22
|
+
*/
|
|
23
|
+
GoFeatures_APILevel[GoFeatures_APILevel["API_LEVEL_UNSPECIFIED"] = 0] = "API_LEVEL_UNSPECIFIED";
|
|
24
|
+
GoFeatures_APILevel[GoFeatures_APILevel["API_OPEN"] = 1] = "API_OPEN";
|
|
25
|
+
GoFeatures_APILevel[GoFeatures_APILevel["API_HYBRID"] = 2] = "API_HYBRID";
|
|
26
|
+
GoFeatures_APILevel[GoFeatures_APILevel["API_OPAQUE"] = 3] = "API_OPAQUE";
|
|
27
|
+
GoFeatures_APILevel[GoFeatures_APILevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
28
|
+
})(GoFeatures_APILevel || (exports.GoFeatures_APILevel = GoFeatures_APILevel = {}));
|
|
29
|
+
function goFeatures_APILevelFromJSON(object) {
|
|
30
|
+
switch (object) {
|
|
31
|
+
case 0:
|
|
32
|
+
case "API_LEVEL_UNSPECIFIED":
|
|
33
|
+
return GoFeatures_APILevel.API_LEVEL_UNSPECIFIED;
|
|
34
|
+
case 1:
|
|
35
|
+
case "API_OPEN":
|
|
36
|
+
return GoFeatures_APILevel.API_OPEN;
|
|
37
|
+
case 2:
|
|
38
|
+
case "API_HYBRID":
|
|
39
|
+
return GoFeatures_APILevel.API_HYBRID;
|
|
40
|
+
case 3:
|
|
41
|
+
case "API_OPAQUE":
|
|
42
|
+
return GoFeatures_APILevel.API_OPAQUE;
|
|
43
|
+
case -1:
|
|
44
|
+
case "UNRECOGNIZED":
|
|
45
|
+
default:
|
|
46
|
+
return GoFeatures_APILevel.UNRECOGNIZED;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function goFeatures_APILevelToJSON(object) {
|
|
50
|
+
switch (object) {
|
|
51
|
+
case GoFeatures_APILevel.API_LEVEL_UNSPECIFIED:
|
|
52
|
+
return "API_LEVEL_UNSPECIFIED";
|
|
53
|
+
case GoFeatures_APILevel.API_OPEN:
|
|
54
|
+
return "API_OPEN";
|
|
55
|
+
case GoFeatures_APILevel.API_HYBRID:
|
|
56
|
+
return "API_HYBRID";
|
|
57
|
+
case GoFeatures_APILevel.API_OPAQUE:
|
|
58
|
+
return "API_OPAQUE";
|
|
59
|
+
case GoFeatures_APILevel.UNRECOGNIZED:
|
|
60
|
+
default:
|
|
61
|
+
return "UNRECOGNIZED";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var GoFeatures_StripEnumPrefix;
|
|
65
|
+
(function (GoFeatures_StripEnumPrefix) {
|
|
66
|
+
GoFeatures_StripEnumPrefix[GoFeatures_StripEnumPrefix["STRIP_ENUM_PREFIX_UNSPECIFIED"] = 0] = "STRIP_ENUM_PREFIX_UNSPECIFIED";
|
|
67
|
+
GoFeatures_StripEnumPrefix[GoFeatures_StripEnumPrefix["STRIP_ENUM_PREFIX_KEEP"] = 1] = "STRIP_ENUM_PREFIX_KEEP";
|
|
68
|
+
GoFeatures_StripEnumPrefix[GoFeatures_StripEnumPrefix["STRIP_ENUM_PREFIX_GENERATE_BOTH"] = 2] = "STRIP_ENUM_PREFIX_GENERATE_BOTH";
|
|
69
|
+
GoFeatures_StripEnumPrefix[GoFeatures_StripEnumPrefix["STRIP_ENUM_PREFIX_STRIP"] = 3] = "STRIP_ENUM_PREFIX_STRIP";
|
|
70
|
+
GoFeatures_StripEnumPrefix[GoFeatures_StripEnumPrefix["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
71
|
+
})(GoFeatures_StripEnumPrefix || (exports.GoFeatures_StripEnumPrefix = GoFeatures_StripEnumPrefix = {}));
|
|
72
|
+
function goFeatures_StripEnumPrefixFromJSON(object) {
|
|
73
|
+
switch (object) {
|
|
74
|
+
case 0:
|
|
75
|
+
case "STRIP_ENUM_PREFIX_UNSPECIFIED":
|
|
76
|
+
return GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_UNSPECIFIED;
|
|
77
|
+
case 1:
|
|
78
|
+
case "STRIP_ENUM_PREFIX_KEEP":
|
|
79
|
+
return GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_KEEP;
|
|
80
|
+
case 2:
|
|
81
|
+
case "STRIP_ENUM_PREFIX_GENERATE_BOTH":
|
|
82
|
+
return GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_GENERATE_BOTH;
|
|
83
|
+
case 3:
|
|
84
|
+
case "STRIP_ENUM_PREFIX_STRIP":
|
|
85
|
+
return GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_STRIP;
|
|
86
|
+
case -1:
|
|
87
|
+
case "UNRECOGNIZED":
|
|
88
|
+
default:
|
|
89
|
+
return GoFeatures_StripEnumPrefix.UNRECOGNIZED;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function goFeatures_StripEnumPrefixToJSON(object) {
|
|
93
|
+
switch (object) {
|
|
94
|
+
case GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_UNSPECIFIED:
|
|
95
|
+
return "STRIP_ENUM_PREFIX_UNSPECIFIED";
|
|
96
|
+
case GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_KEEP:
|
|
97
|
+
return "STRIP_ENUM_PREFIX_KEEP";
|
|
98
|
+
case GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_GENERATE_BOTH:
|
|
99
|
+
return "STRIP_ENUM_PREFIX_GENERATE_BOTH";
|
|
100
|
+
case GoFeatures_StripEnumPrefix.STRIP_ENUM_PREFIX_STRIP:
|
|
101
|
+
return "STRIP_ENUM_PREFIX_STRIP";
|
|
102
|
+
case GoFeatures_StripEnumPrefix.UNRECOGNIZED:
|
|
103
|
+
default:
|
|
104
|
+
return "UNRECOGNIZED";
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function createBaseGoFeatures() {
|
|
108
|
+
return { legacyUnmarshalJsonEnum: false, apiLevel: 0, stripEnumPrefix: 0 };
|
|
109
|
+
}
|
|
110
|
+
exports.GoFeatures = {
|
|
111
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
112
|
+
if (message.legacyUnmarshalJsonEnum !== undefined && message.legacyUnmarshalJsonEnum !== false) {
|
|
113
|
+
writer.uint32(8).bool(message.legacyUnmarshalJsonEnum);
|
|
114
|
+
}
|
|
115
|
+
if (message.apiLevel !== undefined && message.apiLevel !== 0) {
|
|
116
|
+
writer.uint32(16).int32(message.apiLevel);
|
|
117
|
+
}
|
|
118
|
+
if (message.stripEnumPrefix !== undefined && message.stripEnumPrefix !== 0) {
|
|
119
|
+
writer.uint32(24).int32(message.stripEnumPrefix);
|
|
120
|
+
}
|
|
121
|
+
return writer;
|
|
122
|
+
},
|
|
123
|
+
decode(input, length) {
|
|
124
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
125
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
126
|
+
const message = createBaseGoFeatures();
|
|
127
|
+
while (reader.pos < end) {
|
|
128
|
+
const tag = reader.uint32();
|
|
129
|
+
switch (tag >>> 3) {
|
|
130
|
+
case 1: {
|
|
131
|
+
if (tag !== 8) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
message.legacyUnmarshalJsonEnum = reader.bool();
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
case 2: {
|
|
138
|
+
if (tag !== 16) {
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
message.apiLevel = reader.int32();
|
|
142
|
+
continue;
|
|
143
|
+
}
|
|
144
|
+
case 3: {
|
|
145
|
+
if (tag !== 24) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.stripEnumPrefix = reader.int32();
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
reader.skip(tag & 7);
|
|
156
|
+
}
|
|
157
|
+
return message;
|
|
158
|
+
},
|
|
159
|
+
fromJSON(object) {
|
|
160
|
+
return {
|
|
161
|
+
legacyUnmarshalJsonEnum: isSet(object.legacyUnmarshalJsonEnum)
|
|
162
|
+
? globalThis.Boolean(object.legacyUnmarshalJsonEnum)
|
|
163
|
+
: false,
|
|
164
|
+
apiLevel: isSet(object.apiLevel) ? goFeatures_APILevelFromJSON(object.apiLevel) : 0,
|
|
165
|
+
stripEnumPrefix: isSet(object.stripEnumPrefix) ? goFeatures_StripEnumPrefixFromJSON(object.stripEnumPrefix) : 0,
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
toJSON(message) {
|
|
169
|
+
const obj = {};
|
|
170
|
+
if (message.legacyUnmarshalJsonEnum !== undefined && message.legacyUnmarshalJsonEnum !== false) {
|
|
171
|
+
obj.legacyUnmarshalJsonEnum = message.legacyUnmarshalJsonEnum;
|
|
172
|
+
}
|
|
173
|
+
if (message.apiLevel !== undefined && message.apiLevel !== 0) {
|
|
174
|
+
obj.apiLevel = goFeatures_APILevelToJSON(message.apiLevel);
|
|
175
|
+
}
|
|
176
|
+
if (message.stripEnumPrefix !== undefined && message.stripEnumPrefix !== 0) {
|
|
177
|
+
obj.stripEnumPrefix = goFeatures_StripEnumPrefixToJSON(message.stripEnumPrefix);
|
|
178
|
+
}
|
|
179
|
+
return obj;
|
|
180
|
+
},
|
|
181
|
+
create(base) {
|
|
182
|
+
return exports.GoFeatures.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
183
|
+
},
|
|
184
|
+
fromPartial(object) {
|
|
185
|
+
var _a, _b, _c;
|
|
186
|
+
const message = createBaseGoFeatures();
|
|
187
|
+
message.legacyUnmarshalJsonEnum = (_a = object.legacyUnmarshalJsonEnum) !== null && _a !== void 0 ? _a : false;
|
|
188
|
+
message.apiLevel = (_b = object.apiLevel) !== null && _b !== void 0 ? _b : 0;
|
|
189
|
+
message.stripEnumPrefix = (_c = object.stripEnumPrefix) !== null && _c !== void 0 ? _c : 0;
|
|
190
|
+
return message;
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
function isSet(value) {
|
|
194
|
+
return value !== null && value !== undefined;
|
|
195
|
+
}
|