@burnt-labs/xion-types 16.0.0 → 18.0.0

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.
Files changed (100) hide show
  1. package/package.json +7 -20
  2. package/README.md +0 -111
  3. package/types/.gitkeep +0 -0
  4. package/types/generated/amino/amino.ts +0 -9
  5. package/types/generated/cosmos/app/v1alpha1/config.ts +0 -336
  6. package/types/generated/cosmos/app/v1alpha1/query.ts +0 -265
  7. package/types/generated/cosmos/auth/v1beta1/auth.ts +0 -520
  8. package/types/generated/cosmos/auth/v1beta1/query.ts +0 -1852
  9. package/types/generated/cosmos/authz/v1beta1/authz.ts +0 -404
  10. package/types/generated/cosmos/authz/v1beta1/query.ts +0 -774
  11. package/types/generated/cosmos/autocli/v1/options.ts +0 -1016
  12. package/types/generated/cosmos/autocli/v1/query.ts +0 -379
  13. package/types/generated/cosmos/bank/v1beta1/bank.ts +0 -752
  14. package/types/generated/cosmos/bank/v1beta1/query.ts +0 -2789
  15. package/types/generated/cosmos/base/abci/v1beta1/abci.ts +0 -1447
  16. package/types/generated/cosmos/base/node/v1beta1/query.ts +0 -587
  17. package/types/generated/cosmos/base/query/v1beta1/pagination.ts +0 -317
  18. package/types/generated/cosmos/base/tendermint/v1beta1/query.ts +0 -2228
  19. package/types/generated/cosmos/base/tendermint/v1beta1/types.ts +0 -522
  20. package/types/generated/cosmos/base/v1beta1/coin.ts +0 -326
  21. package/types/generated/cosmos/circuit/v1/query.ts +0 -606
  22. package/types/generated/cosmos/circuit/v1/types.ts +0 -353
  23. package/types/generated/cosmos/consensus/v1/query.ts +0 -271
  24. package/types/generated/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -212
  25. package/types/generated/cosmos/distribution/v1beta1/distribution.ts +0 -1143
  26. package/types/generated/cosmos/distribution/v1beta1/query.ts +0 -2005
  27. package/types/generated/cosmos/evidence/v1beta1/query.ts +0 -526
  28. package/types/generated/cosmos/feegrant/v1beta1/feegrant.ts +0 -502
  29. package/types/generated/cosmos/feegrant/v1beta1/query.ts +0 -725
  30. package/types/generated/cosmos/gov/v1/gov.ts +0 -1656
  31. package/types/generated/cosmos/gov/v1/query.ts +0 -1847
  32. package/types/generated/cosmos/gov/v1beta1/gov.ts +0 -1239
  33. package/types/generated/cosmos/gov/v1beta1/query.ts +0 -1658
  34. package/types/generated/cosmos/group/v1/query.ts +0 -2840
  35. package/types/generated/cosmos/group/v1/types.ts +0 -1803
  36. package/types/generated/cosmos/ics23/v1/proofs.ts +0 -1685
  37. package/types/generated/cosmos/mint/v1beta1/mint.ts +0 -273
  38. package/types/generated/cosmos/mint/v1beta1/query.ts +0 -589
  39. package/types/generated/cosmos/msg/v1/msg.ts +0 -9
  40. package/types/generated/cosmos/nft/v1beta1/nft.ts +0 -333
  41. package/types/generated/cosmos/nft/v1beta1/query.ts +0 -1362
  42. package/types/generated/cosmos/orm/query/v1alpha1/query.ts +0 -1016
  43. package/types/generated/cosmos/params/v1beta1/params.ts +0 -227
  44. package/types/generated/cosmos/params/v1beta1/query.ts +0 -545
  45. package/types/generated/cosmos/query/v1/query.ts +0 -9
  46. package/types/generated/cosmos/slashing/v1beta1/query.ts +0 -626
  47. package/types/generated/cosmos/slashing/v1beta1/slashing.ts +0 -409
  48. package/types/generated/cosmos/staking/v1beta1/query.ts +0 -2912
  49. package/types/generated/cosmos/staking/v1beta1/staking.ts +0 -2515
  50. package/types/generated/cosmos/tx/signing/v1beta1/signing.ts +0 -608
  51. package/types/generated/cosmos/tx/v1beta1/service.ts +0 -2111
  52. package/types/generated/cosmos/tx/v1beta1/tx.ts +0 -1613
  53. package/types/generated/cosmos/upgrade/v1beta1/query.ts +0 -1007
  54. package/types/generated/cosmos/upgrade/v1beta1/upgrade.ts +0 -507
  55. package/types/generated/cosmos_proto/cosmos.ts +0 -299
  56. package/types/generated/cosmwasm/wasm/v1/query.ts +0 -2984
  57. package/types/generated/cosmwasm/wasm/v1/types.ts +0 -962
  58. package/types/generated/gogoproto/gogo.ts +0 -9
  59. package/types/generated/google/api/annotations.ts +0 -9
  60. package/types/generated/google/api/http.ts +0 -757
  61. package/types/generated/google/protobuf/any.ts +0 -253
  62. package/types/generated/google/protobuf/descriptor.ts +0 -4958
  63. package/types/generated/google/protobuf/duration.ts +0 -186
  64. package/types/generated/google/protobuf/timestamp.ts +0 -215
  65. package/types/generated/ibc/applications/fee/v1/fee.ts +0 -391
  66. package/types/generated/ibc/applications/fee/v1/genesis.ts +0 -553
  67. package/types/generated/ibc/applications/fee/v1/query.ts +0 -2056
  68. package/types/generated/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -100
  69. package/types/generated/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -447
  70. package/types/generated/ibc/applications/interchain_accounts/host/v1/host.ts +0 -235
  71. package/types/generated/ibc/applications/interchain_accounts/host/v1/query.ts +0 -265
  72. package/types/generated/ibc/applications/transfer/v1/query.ts +0 -1135
  73. package/types/generated/ibc/applications/transfer/v1/transfer.ts +0 -213
  74. package/types/generated/ibc/core/channel/v1/channel.ts +0 -1329
  75. package/types/generated/ibc/core/channel/v1/query.ts +0 -4214
  76. package/types/generated/ibc/core/channel/v1/upgrade.ts +0 -330
  77. package/types/generated/ibc/core/client/v1/client.ts +0 -726
  78. package/types/generated/ibc/core/client/v1/query.ts +0 -2208
  79. package/types/generated/ibc/core/commitment/v1/commitment.ts +0 -329
  80. package/types/generated/ibc/core/connection/v1/connection.ts +0 -813
  81. package/types/generated/ibc/core/connection/v1/query.ts +0 -1442
  82. package/types/generated/ibc/lightclients/wasm/v1/query.ts +0 -484
  83. package/types/generated/tendermint/abci/types.ts +0 -6429
  84. package/types/generated/tendermint/crypto/keys.ts +0 -137
  85. package/types/generated/tendermint/crypto/proof.ts +0 -506
  86. package/types/generated/tendermint/p2p/types.ts +0 -514
  87. package/types/generated/tendermint/types/block.ts +0 -151
  88. package/types/generated/tendermint/types/evidence.ts +0 -493
  89. package/types/generated/tendermint/types/params.ts +0 -687
  90. package/types/generated/tendermint/types/types.ts +0 -2069
  91. package/types/generated/tendermint/types/validator.ts +0 -409
  92. package/types/generated/tendermint/version/types.ts +0 -202
  93. package/types/generated/xion/globalfee/v1/genesis.ts +0 -219
  94. package/types/generated/xion/globalfee/v1/query.ts +0 -269
  95. package/types/generated/xion/jwk/v1/audience.ts +0 -188
  96. package/types/generated/xion/jwk/v1/params.ts +0 -118
  97. package/types/generated/xion/jwk/v1/query.ts +0 -1061
  98. package/types/generated/xion/mint/v1/mint.ts +0 -273
  99. package/types/generated/xion/mint/v1/query.ts +0 -589
  100. package/types/generated/xion/v1/query.ts +0 -878
@@ -1,186 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v1.181.2
4
- // protoc unknown
5
- // source: google/protobuf/duration.proto
6
-
7
- /* eslint-disable */
8
- import Long from "long";
9
- import _m0 from "protobufjs/minimal";
10
-
11
- export const protobufPackage = "google.protobuf";
12
-
13
- /**
14
- * A Duration represents a signed, fixed-length span of time represented
15
- * as a count of seconds and fractions of seconds at nanosecond
16
- * resolution. It is independent of any calendar and concepts like "day"
17
- * or "month". It is related to Timestamp in that the difference between
18
- * two Timestamp values is a Duration and it can be added or subtracted
19
- * from a Timestamp. Range is approximately +-10,000 years.
20
- *
21
- * # Examples
22
- *
23
- * Example 1: Compute Duration from two Timestamps in pseudo code.
24
- *
25
- * Timestamp start = ...;
26
- * Timestamp end = ...;
27
- * Duration duration = ...;
28
- *
29
- * duration.seconds = end.seconds - start.seconds;
30
- * duration.nanos = end.nanos - start.nanos;
31
- *
32
- * if (duration.seconds < 0 && duration.nanos > 0) {
33
- * duration.seconds += 1;
34
- * duration.nanos -= 1000000000;
35
- * } else if (duration.seconds > 0 && duration.nanos < 0) {
36
- * duration.seconds -= 1;
37
- * duration.nanos += 1000000000;
38
- * }
39
- *
40
- * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
41
- *
42
- * Timestamp start = ...;
43
- * Duration duration = ...;
44
- * Timestamp end = ...;
45
- *
46
- * end.seconds = start.seconds + duration.seconds;
47
- * end.nanos = start.nanos + duration.nanos;
48
- *
49
- * if (end.nanos < 0) {
50
- * end.seconds -= 1;
51
- * end.nanos += 1000000000;
52
- * } else if (end.nanos >= 1000000000) {
53
- * end.seconds += 1;
54
- * end.nanos -= 1000000000;
55
- * }
56
- *
57
- * Example 3: Compute Duration from datetime.timedelta in Python.
58
- *
59
- * td = datetime.timedelta(days=3, minutes=10)
60
- * duration = Duration()
61
- * duration.FromTimedelta(td)
62
- *
63
- * # JSON Mapping
64
- *
65
- * In JSON format, the Duration type is encoded as a string rather than an
66
- * object, where the string ends in the suffix "s" (indicating seconds) and
67
- * is preceded by the number of seconds, with nanoseconds expressed as
68
- * fractional seconds. For example, 3 seconds with 0 nanoseconds should be
69
- * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
70
- * be expressed in JSON format as "3.000000001s", and 3 seconds and 1
71
- * microsecond should be expressed in JSON format as "3.000001s".
72
- */
73
- export interface Duration {
74
- /**
75
- * Signed seconds of the span of time. Must be from -315,576,000,000
76
- * to +315,576,000,000 inclusive. Note: these bounds are computed from:
77
- * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
78
- */
79
- seconds: Long;
80
- /**
81
- * Signed fractions of a second at nanosecond resolution of the span
82
- * of time. Durations less than one second are represented with a 0
83
- * `seconds` field and a positive or negative `nanos` field. For durations
84
- * of one second or more, a non-zero value for the `nanos` field must be
85
- * of the same sign as the `seconds` field. Must be from -999,999,999
86
- * to +999,999,999 inclusive.
87
- */
88
- nanos: number;
89
- }
90
-
91
- function createBaseDuration(): Duration {
92
- return { seconds: Long.ZERO, nanos: 0 };
93
- }
94
-
95
- export const Duration = {
96
- encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
97
- if (!message.seconds.equals(Long.ZERO)) {
98
- writer.uint32(8).int64(message.seconds);
99
- }
100
- if (message.nanos !== 0) {
101
- writer.uint32(16).int32(message.nanos);
102
- }
103
- return writer;
104
- },
105
-
106
- decode(input: _m0.Reader | Uint8Array, length?: number): Duration {
107
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
108
- let end = length === undefined ? reader.len : reader.pos + length;
109
- const message = createBaseDuration();
110
- while (reader.pos < end) {
111
- const tag = reader.uint32();
112
- switch (tag >>> 3) {
113
- case 1:
114
- if (tag !== 8) {
115
- break;
116
- }
117
-
118
- message.seconds = reader.int64() as Long;
119
- continue;
120
- case 2:
121
- if (tag !== 16) {
122
- break;
123
- }
124
-
125
- message.nanos = reader.int32();
126
- continue;
127
- }
128
- if ((tag & 7) === 4 || tag === 0) {
129
- break;
130
- }
131
- reader.skipType(tag & 7);
132
- }
133
- return message;
134
- },
135
-
136
- fromJSON(object: any): Duration {
137
- return {
138
- seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO,
139
- nanos: isSet(object.nanos) ? globalThis.Number(object.nanos) : 0,
140
- };
141
- },
142
-
143
- toJSON(message: Duration): unknown {
144
- const obj: any = {};
145
- if (!message.seconds.equals(Long.ZERO)) {
146
- obj.seconds = (message.seconds || Long.ZERO).toString();
147
- }
148
- if (message.nanos !== 0) {
149
- obj.nanos = Math.round(message.nanos);
150
- }
151
- return obj;
152
- },
153
-
154
- create<I extends Exact<DeepPartial<Duration>, I>>(base?: I): Duration {
155
- return Duration.fromPartial(base ?? ({} as any));
156
- },
157
- fromPartial<I extends Exact<DeepPartial<Duration>, I>>(object: I): Duration {
158
- const message = createBaseDuration();
159
- message.seconds = (object.seconds !== undefined && object.seconds !== null)
160
- ? Long.fromValue(object.seconds)
161
- : Long.ZERO;
162
- message.nanos = object.nanos ?? 0;
163
- return message;
164
- },
165
- };
166
-
167
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
168
-
169
- export type DeepPartial<T> = T extends Builtin ? T
170
- : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
171
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
172
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
173
- : Partial<T>;
174
-
175
- type KeysOfUnion<T> = T extends T ? keyof T : never;
176
- export type Exact<P, I extends P> = P extends Builtin ? P
177
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
178
-
179
- if (_m0.util.Long !== Long) {
180
- _m0.util.Long = Long as any;
181
- _m0.configure();
182
- }
183
-
184
- function isSet(value: any): boolean {
185
- return value !== null && value !== undefined;
186
- }
@@ -1,215 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v1.181.2
4
- // protoc unknown
5
- // source: google/protobuf/timestamp.proto
6
-
7
- /* eslint-disable */
8
- import Long from "long";
9
- import _m0 from "protobufjs/minimal";
10
-
11
- export const protobufPackage = "google.protobuf";
12
-
13
- /**
14
- * A Timestamp represents a point in time independent of any time zone or local
15
- * calendar, encoded as a count of seconds and fractions of seconds at
16
- * nanosecond resolution. The count is relative to an epoch at UTC midnight on
17
- * January 1, 1970, in the proleptic Gregorian calendar which extends the
18
- * Gregorian calendar backwards to year one.
19
- *
20
- * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
21
- * second table is needed for interpretation, using a [24-hour linear
22
- * smear](https://developers.google.com/time/smear).
23
- *
24
- * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
25
- * restricting to that range, we ensure that we can convert to and from [RFC
26
- * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
27
- *
28
- * # Examples
29
- *
30
- * Example 1: Compute Timestamp from POSIX `time()`.
31
- *
32
- * Timestamp timestamp;
33
- * timestamp.set_seconds(time(NULL));
34
- * timestamp.set_nanos(0);
35
- *
36
- * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
37
- *
38
- * struct timeval tv;
39
- * gettimeofday(&tv, NULL);
40
- *
41
- * Timestamp timestamp;
42
- * timestamp.set_seconds(tv.tv_sec);
43
- * timestamp.set_nanos(tv.tv_usec * 1000);
44
- *
45
- * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
46
- *
47
- * FILETIME ft;
48
- * GetSystemTimeAsFileTime(&ft);
49
- * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
50
- *
51
- * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
52
- * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
53
- * Timestamp timestamp;
54
- * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
55
- * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
56
- *
57
- * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
58
- *
59
- * long millis = System.currentTimeMillis();
60
- *
61
- * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
62
- * .setNanos((int) ((millis % 1000) * 1000000)).build();
63
- *
64
- * Example 5: Compute Timestamp from Java `Instant.now()`.
65
- *
66
- * Instant now = Instant.now();
67
- *
68
- * Timestamp timestamp =
69
- * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
70
- * .setNanos(now.getNano()).build();
71
- *
72
- * Example 6: Compute Timestamp from current time in Python.
73
- *
74
- * timestamp = Timestamp()
75
- * timestamp.GetCurrentTime()
76
- *
77
- * # JSON Mapping
78
- *
79
- * In JSON format, the Timestamp type is encoded as a string in the
80
- * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
81
- * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
82
- * where {year} is always expressed using four digits while {month}, {day},
83
- * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
84
- * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
85
- * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
86
- * is required. A proto3 JSON serializer should always use UTC (as indicated by
87
- * "Z") when printing the Timestamp type and a proto3 JSON parser should be
88
- * able to accept both UTC and other timezones (as indicated by an offset).
89
- *
90
- * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
91
- * 01:30 UTC on January 15, 2017.
92
- *
93
- * In JavaScript, one can convert a Date object to this format using the
94
- * standard
95
- * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
96
- * method. In Python, a standard `datetime.datetime` object can be converted
97
- * to this format using
98
- * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
99
- * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
100
- * the Joda Time's [`ISODateTimeFormat.dateTime()`](
101
- * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
102
- * ) to obtain a formatter capable of generating timestamps in this format.
103
- */
104
- export interface Timestamp {
105
- /**
106
- * Represents seconds of UTC time since Unix epoch
107
- * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
108
- * 9999-12-31T23:59:59Z inclusive.
109
- */
110
- seconds: Long;
111
- /**
112
- * Non-negative fractions of a second at nanosecond resolution. Negative
113
- * second values with fractions must still have non-negative nanos values
114
- * that count forward in time. Must be from 0 to 999,999,999
115
- * inclusive.
116
- */
117
- nanos: number;
118
- }
119
-
120
- function createBaseTimestamp(): Timestamp {
121
- return { seconds: Long.ZERO, nanos: 0 };
122
- }
123
-
124
- export const Timestamp = {
125
- encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
126
- if (!message.seconds.equals(Long.ZERO)) {
127
- writer.uint32(8).int64(message.seconds);
128
- }
129
- if (message.nanos !== 0) {
130
- writer.uint32(16).int32(message.nanos);
131
- }
132
- return writer;
133
- },
134
-
135
- decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp {
136
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
137
- let end = length === undefined ? reader.len : reader.pos + length;
138
- const message = createBaseTimestamp();
139
- while (reader.pos < end) {
140
- const tag = reader.uint32();
141
- switch (tag >>> 3) {
142
- case 1:
143
- if (tag !== 8) {
144
- break;
145
- }
146
-
147
- message.seconds = reader.int64() as Long;
148
- continue;
149
- case 2:
150
- if (tag !== 16) {
151
- break;
152
- }
153
-
154
- message.nanos = reader.int32();
155
- continue;
156
- }
157
- if ((tag & 7) === 4 || tag === 0) {
158
- break;
159
- }
160
- reader.skipType(tag & 7);
161
- }
162
- return message;
163
- },
164
-
165
- fromJSON(object: any): Timestamp {
166
- return {
167
- seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO,
168
- nanos: isSet(object.nanos) ? globalThis.Number(object.nanos) : 0,
169
- };
170
- },
171
-
172
- toJSON(message: Timestamp): unknown {
173
- const obj: any = {};
174
- if (!message.seconds.equals(Long.ZERO)) {
175
- obj.seconds = (message.seconds || Long.ZERO).toString();
176
- }
177
- if (message.nanos !== 0) {
178
- obj.nanos = Math.round(message.nanos);
179
- }
180
- return obj;
181
- },
182
-
183
- create<I extends Exact<DeepPartial<Timestamp>, I>>(base?: I): Timestamp {
184
- return Timestamp.fromPartial(base ?? ({} as any));
185
- },
186
- fromPartial<I extends Exact<DeepPartial<Timestamp>, I>>(object: I): Timestamp {
187
- const message = createBaseTimestamp();
188
- message.seconds = (object.seconds !== undefined && object.seconds !== null)
189
- ? Long.fromValue(object.seconds)
190
- : Long.ZERO;
191
- message.nanos = object.nanos ?? 0;
192
- return message;
193
- },
194
- };
195
-
196
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
197
-
198
- export type DeepPartial<T> = T extends Builtin ? T
199
- : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
200
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
201
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
202
- : Partial<T>;
203
-
204
- type KeysOfUnion<T> = T extends T ? keyof T : never;
205
- export type Exact<P, I extends P> = P extends Builtin ? P
206
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
207
-
208
- if (_m0.util.Long !== Long) {
209
- _m0.util.Long = Long as any;
210
- _m0.configure();
211
- }
212
-
213
- function isSet(value: any): boolean {
214
- return value !== null && value !== undefined;
215
- }