@replit/protocol 0.4.27 → 0.4.29
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/api/chateau/resources.client.d.ts +51 -0
- package/dist/api/chateau/resources.client.js +34 -0
- package/dist/api/chateau/resources.d.ts +337 -0
- package/dist/api/chateau/resources.js +734 -0
- package/dist/api/features/features.d.ts +0 -28
- package/dist/api/features/features.js +0 -49
- package/dist/api/jetplane/repl/repl.client.d.ts +199 -0
- package/dist/api/jetplane/repl/repl.client.js +120 -0
- package/dist/api/jetplane/repl/repl.d.ts +1313 -0
- package/dist/api/jetplane/repl/repl.js +2295 -0
- package/dist/api/lore/lore.d.ts +0 -27
- package/dist/api/lore/lore.js +0 -57
- package/dist/api/lore/service.client.d.ts +156 -18
- package/dist/api/lore/service.client.js +113 -24
- package/dist/api/lore/service.d.ts +900 -5
- package/dist/api/lore/service.js +2094 -416
- package/dist/api/repl/repl.d.ts +22 -0
- package/dist/api/repl/repl.js +26 -2
- package/dist/api/token/token.d.ts +28 -3
- package/dist/api/token/token.js +29 -1
- package/dist/google/protobuf/field_mask.d.ts +16 -18
- package/dist/google/protobuf/struct.d.ts +33 -22
- package/dist/google/protobuf/struct.js +8 -3
- package/dist/google/protobuf/timestamp.d.ts +9 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/iotester/index.d.ts +10674 -2035
- package/iotester/index.js +41039 -12022
- package/main/index.d.ts +10674 -2035
- package/main/index.js +41039 -12022
- package/package.json +1 -1
package/dist/api/repl/repl.d.ts
CHANGED
|
@@ -156,6 +156,19 @@ export interface Repl {
|
|
|
156
156
|
* @generated from protobuf field: string custom_skills_bucket = 18
|
|
157
157
|
*/
|
|
158
158
|
customSkillsBucket: string;
|
|
159
|
+
/**
|
|
160
|
+
* Email address of the user who owns the repl.
|
|
161
|
+
*
|
|
162
|
+
* @generated from protobuf field: string user_email = 19
|
|
163
|
+
*/
|
|
164
|
+
userEmail: string;
|
|
165
|
+
/**
|
|
166
|
+
* A boolean indicating that dotdevproxy should inject the ChatGPT
|
|
167
|
+
* link-override script into this repl's HTML responses.
|
|
168
|
+
*
|
|
169
|
+
* @generated from protobuf field: bool inject_chatgpt_link_override = 20
|
|
170
|
+
*/
|
|
171
|
+
injectChatgptLinkOverride: boolean;
|
|
159
172
|
}
|
|
160
173
|
/**
|
|
161
174
|
* autocontainer needs to know if we are in a teams org
|
|
@@ -184,6 +197,15 @@ export interface Org {
|
|
|
184
197
|
* @generated from protobuf field: bool is_enterprise = 4
|
|
185
198
|
*/
|
|
186
199
|
isEnterprise: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Customer ID is the entity billed for this org, as determined by Replit web
|
|
202
|
+
* (the shared billing customer, not the org id — sibling orgs can share one).
|
|
203
|
+
* Opaque to goval; used as the customer segment of the repl's SPIFFE
|
|
204
|
+
* identity. Empty when web does not provide one.
|
|
205
|
+
*
|
|
206
|
+
* @generated from protobuf field: string customer_id = 5
|
|
207
|
+
*/
|
|
208
|
+
customerId: string;
|
|
187
209
|
}
|
|
188
210
|
/**
|
|
189
211
|
* Organization type. There are legacy types, but we are not
|
package/dist/api/repl/repl.js
CHANGED
|
@@ -203,7 +203,9 @@ class Repl$Type extends MessageType {
|
|
|
203
203
|
{ no: 15, name: "use_repl_shield", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
204
204
|
{ no: 16, name: "connectors_host", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
205
205
|
{ no: 17, name: "backer_job_metadata", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
|
|
206
|
-
{ no: 18, name: "custom_skills_bucket", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
206
|
+
{ no: 18, name: "custom_skills_bucket", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
207
|
+
{ no: 19, name: "user_email", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
208
|
+
{ no: 20, name: "inject_chatgpt_link_override", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
207
209
|
]);
|
|
208
210
|
}
|
|
209
211
|
create(value) {
|
|
@@ -222,6 +224,8 @@ class Repl$Type extends MessageType {
|
|
|
222
224
|
message.connectorsHost = "";
|
|
223
225
|
message.backerJobMetadata = {};
|
|
224
226
|
message.customSkillsBucket = "";
|
|
227
|
+
message.userEmail = "";
|
|
228
|
+
message.injectChatgptLinkOverride = false;
|
|
225
229
|
if (value !== undefined)
|
|
226
230
|
reflectionMergePartial(this, message, value);
|
|
227
231
|
return message;
|
|
@@ -282,6 +286,12 @@ class Repl$Type extends MessageType {
|
|
|
282
286
|
case /* string custom_skills_bucket */ 18:
|
|
283
287
|
message.customSkillsBucket = reader.string();
|
|
284
288
|
break;
|
|
289
|
+
case /* string user_email */ 19:
|
|
290
|
+
message.userEmail = reader.string();
|
|
291
|
+
break;
|
|
292
|
+
case /* bool inject_chatgpt_link_override */ 20:
|
|
293
|
+
message.injectChatgptLinkOverride = reader.bool();
|
|
294
|
+
break;
|
|
285
295
|
default:
|
|
286
296
|
let u = options.readUnknownField;
|
|
287
297
|
if (u === "throw")
|
|
@@ -361,6 +371,12 @@ class Repl$Type extends MessageType {
|
|
|
361
371
|
/* string custom_skills_bucket = 18; */
|
|
362
372
|
if (message.customSkillsBucket !== "")
|
|
363
373
|
writer.tag(18, WireType.LengthDelimited).string(message.customSkillsBucket);
|
|
374
|
+
/* string user_email = 19; */
|
|
375
|
+
if (message.userEmail !== "")
|
|
376
|
+
writer.tag(19, WireType.LengthDelimited).string(message.userEmail);
|
|
377
|
+
/* bool inject_chatgpt_link_override = 20; */
|
|
378
|
+
if (message.injectChatgptLinkOverride !== false)
|
|
379
|
+
writer.tag(20, WireType.Varint).bool(message.injectChatgptLinkOverride);
|
|
364
380
|
let u = options.writeUnknownFields;
|
|
365
381
|
if (u !== false)
|
|
366
382
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -378,7 +394,8 @@ class Org$Type extends MessageType {
|
|
|
378
394
|
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
379
395
|
{ no: 2, name: "type", kind: "enum", T: () => ["replit.goval.api.repl.Org.OrgType", Org_OrgType] },
|
|
380
396
|
{ no: 3, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
381
|
-
{ no: 4, name: "is_enterprise", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
397
|
+
{ no: 4, name: "is_enterprise", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
398
|
+
{ no: 5, name: "customer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
382
399
|
]);
|
|
383
400
|
}
|
|
384
401
|
create(value) {
|
|
@@ -387,6 +404,7 @@ class Org$Type extends MessageType {
|
|
|
387
404
|
message.type = 0;
|
|
388
405
|
message.slug = "";
|
|
389
406
|
message.isEnterprise = false;
|
|
407
|
+
message.customerId = "";
|
|
390
408
|
if (value !== undefined)
|
|
391
409
|
reflectionMergePartial(this, message, value);
|
|
392
410
|
return message;
|
|
@@ -408,6 +426,9 @@ class Org$Type extends MessageType {
|
|
|
408
426
|
case /* bool is_enterprise */ 4:
|
|
409
427
|
message.isEnterprise = reader.bool();
|
|
410
428
|
break;
|
|
429
|
+
case /* string customer_id */ 5:
|
|
430
|
+
message.customerId = reader.string();
|
|
431
|
+
break;
|
|
411
432
|
default:
|
|
412
433
|
let u = options.readUnknownField;
|
|
413
434
|
if (u === "throw")
|
|
@@ -432,6 +453,9 @@ class Org$Type extends MessageType {
|
|
|
432
453
|
/* bool is_enterprise = 4; */
|
|
433
454
|
if (message.isEnterprise !== false)
|
|
434
455
|
writer.tag(4, WireType.Varint).bool(message.isEnterprise);
|
|
456
|
+
/* string customer_id = 5; */
|
|
457
|
+
if (message.customerId !== "")
|
|
458
|
+
writer.tag(5, WireType.LengthDelimited).string(message.customerId);
|
|
435
459
|
let u = options.writeUnknownFields;
|
|
436
460
|
if (u !== false)
|
|
437
461
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -187,9 +187,10 @@ export interface ReplToken {
|
|
|
187
187
|
*/
|
|
188
188
|
before?: Timestamp;
|
|
189
189
|
/**
|
|
190
|
-
* Resource tier selects the Goval 3
|
|
191
|
-
*
|
|
192
|
-
*
|
|
190
|
+
* Resource tier selects the Goval 3 resource size. Current values are
|
|
191
|
+
* "small", "medium", and "large". Goval 3 combines this with `paid` to
|
|
192
|
+
* select a ReplPool tier such as "free-small", "paid-medium", or
|
|
193
|
+
* "paid-large".
|
|
193
194
|
*
|
|
194
195
|
* @generated from protobuf field: string resource_tier = 25
|
|
195
196
|
*/
|
|
@@ -200,6 +201,11 @@ export interface ReplToken {
|
|
|
200
201
|
* @generated from protobuf field: optional google.protobuf.Duration idle_timeout = 26
|
|
201
202
|
*/
|
|
202
203
|
idleTimeout?: Duration;
|
|
204
|
+
/**
|
|
205
|
+
* @deprecated
|
|
206
|
+
* @generated from protobuf field: replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true]
|
|
207
|
+
*/
|
|
208
|
+
mode: ReplToken_Mode;
|
|
203
209
|
}
|
|
204
210
|
/**
|
|
205
211
|
* Metadata for the classroom. This is deprecated and should be removed
|
|
@@ -300,6 +306,25 @@ export declare enum ReplToken_WireFormat {
|
|
|
300
306
|
*/
|
|
301
307
|
RIVER = 3
|
|
302
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* Deprecated: Jetplane's persisted Repl mode is authoritative.
|
|
311
|
+
*
|
|
312
|
+
* @generated from protobuf enum replit.goval.api.token.ReplToken.Mode
|
|
313
|
+
*/
|
|
314
|
+
export declare enum ReplToken_Mode {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from protobuf enum value: MODE_UNSPECIFIED = 0;
|
|
317
|
+
*/
|
|
318
|
+
UNSPECIFIED = 0,
|
|
319
|
+
/**
|
|
320
|
+
* @generated from protobuf enum value: MODE_WORKSPACE = 1;
|
|
321
|
+
*/
|
|
322
|
+
WORKSPACE = 1,
|
|
323
|
+
/**
|
|
324
|
+
* @generated from protobuf enum value: MODE_MACHINE = 2;
|
|
325
|
+
*/
|
|
326
|
+
MACHINE = 2
|
|
327
|
+
}
|
|
303
328
|
declare class ReplToken$Type extends MessageType<ReplToken> {
|
|
304
329
|
constructor();
|
|
305
330
|
create(value?: PartialMessage<ReplToken>): ReplToken;
|
package/dist/api/token/token.js
CHANGED
|
@@ -44,6 +44,26 @@ export var ReplToken_WireFormat;
|
|
|
44
44
|
*/
|
|
45
45
|
ReplToken_WireFormat[ReplToken_WireFormat["RIVER"] = 3] = "RIVER";
|
|
46
46
|
})(ReplToken_WireFormat || (ReplToken_WireFormat = {}));
|
|
47
|
+
/**
|
|
48
|
+
* Deprecated: Jetplane's persisted Repl mode is authoritative.
|
|
49
|
+
*
|
|
50
|
+
* @generated from protobuf enum replit.goval.api.token.ReplToken.Mode
|
|
51
|
+
*/
|
|
52
|
+
export var ReplToken_Mode;
|
|
53
|
+
(function (ReplToken_Mode) {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from protobuf enum value: MODE_UNSPECIFIED = 0;
|
|
56
|
+
*/
|
|
57
|
+
ReplToken_Mode[ReplToken_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
58
|
+
/**
|
|
59
|
+
* @generated from protobuf enum value: MODE_WORKSPACE = 1;
|
|
60
|
+
*/
|
|
61
|
+
ReplToken_Mode[ReplToken_Mode["WORKSPACE"] = 1] = "WORKSPACE";
|
|
62
|
+
/**
|
|
63
|
+
* @generated from protobuf enum value: MODE_MACHINE = 2;
|
|
64
|
+
*/
|
|
65
|
+
ReplToken_Mode[ReplToken_Mode["MACHINE"] = 2] = "MACHINE";
|
|
66
|
+
})(ReplToken_Mode || (ReplToken_Mode = {}));
|
|
47
67
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
48
68
|
class ReplToken$Type extends MessageType {
|
|
49
69
|
constructor() {
|
|
@@ -69,7 +89,8 @@ class ReplToken$Type extends MessageType {
|
|
|
69
89
|
{ no: 22, name: "external_secrets", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ReplToken_ExternalSecret },
|
|
70
90
|
{ no: 23, name: "before", kind: "message", T: () => Timestamp },
|
|
71
91
|
{ no: 25, name: "resource_tier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
72
|
-
{ no: 26, name: "idle_timeout", kind: "message", T: () => Duration }
|
|
92
|
+
{ no: 26, name: "idle_timeout", kind: "message", T: () => Duration },
|
|
93
|
+
{ no: 27, name: "mode", kind: "enum", T: () => ["replit.goval.api.token.ReplToken.Mode", ReplToken_Mode, "MODE_"] }
|
|
73
94
|
]);
|
|
74
95
|
}
|
|
75
96
|
create(value) {
|
|
@@ -85,6 +106,7 @@ class ReplToken$Type extends MessageType {
|
|
|
85
106
|
message.replexec = false;
|
|
86
107
|
message.externalSecrets = [];
|
|
87
108
|
message.resourceTier = "";
|
|
109
|
+
message.mode = 0;
|
|
88
110
|
if (value !== undefined)
|
|
89
111
|
reflectionMergePartial(this, message, value);
|
|
90
112
|
return message;
|
|
@@ -169,6 +191,9 @@ class ReplToken$Type extends MessageType {
|
|
|
169
191
|
case /* optional google.protobuf.Duration idle_timeout */ 26:
|
|
170
192
|
message.idleTimeout = Duration.internalBinaryRead(reader, reader.uint32(), options, message.idleTimeout);
|
|
171
193
|
break;
|
|
194
|
+
case /* replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true] */ 27:
|
|
195
|
+
message.mode = reader.int32();
|
|
196
|
+
break;
|
|
172
197
|
default:
|
|
173
198
|
let u = options.readUnknownField;
|
|
174
199
|
if (u === "throw")
|
|
@@ -247,6 +272,9 @@ class ReplToken$Type extends MessageType {
|
|
|
247
272
|
/* optional google.protobuf.Duration idle_timeout = 26; */
|
|
248
273
|
if (message.idleTimeout)
|
|
249
274
|
Duration.internalBinaryWrite(message.idleTimeout, writer.tag(26, WireType.LengthDelimited).fork(), options).join();
|
|
275
|
+
/* replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true]; */
|
|
276
|
+
if (message.mode !== 0)
|
|
277
|
+
writer.tag(27, WireType.Varint).int32(message.mode);
|
|
250
278
|
let u = options.writeUnknownFields;
|
|
251
279
|
if (u !== false)
|
|
252
280
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -120,24 +120,22 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
120
120
|
* An implementation may provide options to override this default behavior for
|
|
121
121
|
* repeated and message fields.
|
|
122
122
|
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* operation kind. In any case, the effect of the field mask is
|
|
140
|
-
* required to be honored by the API.
|
|
123
|
+
* Note that libraries which implement FieldMask resolution have various
|
|
124
|
+
* different behaviors in the face of empty masks or the special "*" mask.
|
|
125
|
+
* When implementing a service you should confirm these cases have the
|
|
126
|
+
* appropriate behavior in the underlying FieldMask library that you desire,
|
|
127
|
+
* and you may need to special case those cases in your application code if
|
|
128
|
+
* the underlying field mask library behavior differs from your intended
|
|
129
|
+
* service semantics.
|
|
130
|
+
*
|
|
131
|
+
* Update methods implementing https://google.aip.dev/134
|
|
132
|
+
* - MUST support the special value * meaning "full replace"
|
|
133
|
+
* - MUST treat an omitted field mask as "replace fields which are present".
|
|
134
|
+
*
|
|
135
|
+
* Other methods implementing https://google.aip.dev/157
|
|
136
|
+
* - SHOULD support the special value "*" to mean "get all".
|
|
137
|
+
* - MUST treat an omitted field mask to mean "get all", unless otherwise
|
|
138
|
+
* documented.
|
|
141
139
|
*
|
|
142
140
|
* ## Considerations for HTTP REST
|
|
143
141
|
*
|
|
@@ -8,14 +8,19 @@ import type { JsonReadOptions } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { JsonWriteOptions } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* which map to dynamically typed values. In some languages, `Struct`
|
|
13
|
-
* might be supported by a native representation. For example, in
|
|
14
|
-
* scripting languages like JS a struct is represented as an
|
|
15
|
-
* object. The details of that representation are described together
|
|
16
|
-
* with the proto support for the language.
|
|
11
|
+
* Represents a JSON object.
|
|
17
12
|
*
|
|
18
|
-
*
|
|
13
|
+
* An unordered key-value map, intending to perfectly capture the semantics of a
|
|
14
|
+
* JSON object. This enables parsing any arbitrary JSON payload as a message
|
|
15
|
+
* field in ProtoJSON format.
|
|
16
|
+
*
|
|
17
|
+
* This follows RFC 8259 guidelines for interoperable JSON: notably this type
|
|
18
|
+
* cannot represent large Int64 values or `NaN`/`Infinity` numbers,
|
|
19
|
+
* since the JSON format generally does not support those values in its number
|
|
20
|
+
* type.
|
|
21
|
+
*
|
|
22
|
+
* If you do not intend to parse arbitrary JSON into your message, a custom
|
|
23
|
+
* typed message should be preferred instead of using this type.
|
|
19
24
|
*
|
|
20
25
|
* @generated from protobuf message google.protobuf.Struct
|
|
21
26
|
*/
|
|
@@ -30,12 +35,12 @@ export interface Struct {
|
|
|
30
35
|
};
|
|
31
36
|
}
|
|
32
37
|
/**
|
|
38
|
+
* Represents a JSON value.
|
|
39
|
+
*
|
|
33
40
|
* `Value` represents a dynamically typed value which can be either
|
|
34
41
|
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
35
42
|
* list of values. A producer of value is expected to set one of these
|
|
36
|
-
* variants. Absence of any variant
|
|
37
|
-
*
|
|
38
|
-
* The JSON representation for `Value` is JSON value.
|
|
43
|
+
* variants. Absence of any variant is an invalid state.
|
|
39
44
|
*
|
|
40
45
|
* @generated from protobuf message google.protobuf.Value
|
|
41
46
|
*/
|
|
@@ -48,7 +53,7 @@ export interface Value {
|
|
|
48
53
|
kind: {
|
|
49
54
|
oneofKind: "nullValue";
|
|
50
55
|
/**
|
|
51
|
-
* Represents a null
|
|
56
|
+
* Represents a JSON `null`.
|
|
52
57
|
*
|
|
53
58
|
* @generated from protobuf field: google.protobuf.NullValue null_value = 1
|
|
54
59
|
*/
|
|
@@ -56,7 +61,10 @@ export interface Value {
|
|
|
56
61
|
} | {
|
|
57
62
|
oneofKind: "numberValue";
|
|
58
63
|
/**
|
|
59
|
-
* Represents a
|
|
64
|
+
* Represents a JSON number. Must not be `NaN`, `Infinity` or
|
|
65
|
+
* `-Infinity`, since those are not supported in JSON. This also cannot
|
|
66
|
+
* represent large Int64 values, since JSON format generally does not
|
|
67
|
+
* support them in its number type.
|
|
60
68
|
*
|
|
61
69
|
* @generated from protobuf field: double number_value = 2
|
|
62
70
|
*/
|
|
@@ -64,7 +72,7 @@ export interface Value {
|
|
|
64
72
|
} | {
|
|
65
73
|
oneofKind: "stringValue";
|
|
66
74
|
/**
|
|
67
|
-
* Represents a string
|
|
75
|
+
* Represents a JSON string.
|
|
68
76
|
*
|
|
69
77
|
* @generated from protobuf field: string string_value = 3
|
|
70
78
|
*/
|
|
@@ -72,7 +80,7 @@ export interface Value {
|
|
|
72
80
|
} | {
|
|
73
81
|
oneofKind: "boolValue";
|
|
74
82
|
/**
|
|
75
|
-
* Represents a boolean
|
|
83
|
+
* Represents a JSON boolean (`true` or `false` literal in JSON).
|
|
76
84
|
*
|
|
77
85
|
* @generated from protobuf field: bool bool_value = 4
|
|
78
86
|
*/
|
|
@@ -80,7 +88,7 @@ export interface Value {
|
|
|
80
88
|
} | {
|
|
81
89
|
oneofKind: "structValue";
|
|
82
90
|
/**
|
|
83
|
-
* Represents a
|
|
91
|
+
* Represents a JSON object.
|
|
84
92
|
*
|
|
85
93
|
* @generated from protobuf field: google.protobuf.Struct struct_value = 5
|
|
86
94
|
*/
|
|
@@ -88,7 +96,7 @@ export interface Value {
|
|
|
88
96
|
} | {
|
|
89
97
|
oneofKind: "listValue";
|
|
90
98
|
/**
|
|
91
|
-
* Represents a
|
|
99
|
+
* Represents a JSON array.
|
|
92
100
|
*
|
|
93
101
|
* @generated from protobuf field: google.protobuf.ListValue list_value = 6
|
|
94
102
|
*/
|
|
@@ -98,9 +106,7 @@ export interface Value {
|
|
|
98
106
|
};
|
|
99
107
|
}
|
|
100
108
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
109
|
+
* Represents a JSON array.
|
|
104
110
|
*
|
|
105
111
|
* @generated from protobuf message google.protobuf.ListValue
|
|
106
112
|
*/
|
|
@@ -113,10 +119,15 @@ export interface ListValue {
|
|
|
113
119
|
values: Value[];
|
|
114
120
|
}
|
|
115
121
|
/**
|
|
116
|
-
*
|
|
117
|
-
*
|
|
122
|
+
* Represents a JSON `null`.
|
|
123
|
+
*
|
|
124
|
+
* `NullValue` is a sentinel, using an enum with only one value to represent
|
|
125
|
+
* the null value for the `Value` type union.
|
|
118
126
|
*
|
|
119
|
-
*
|
|
127
|
+
* A field of type `NullValue` with any value other than `0` is considered
|
|
128
|
+
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
|
|
129
|
+
* as a JSON `null` regardless of the integer value, and so will round trip to
|
|
130
|
+
* a `0` value.
|
|
120
131
|
*
|
|
121
132
|
* @generated from protobuf enum google.protobuf.NullValue
|
|
122
133
|
*/
|
|
@@ -5,10 +5,15 @@ import { isJsonObject } from "@protobuf-ts/runtime";
|
|
|
5
5
|
import { typeofJsonValue } from "@protobuf-ts/runtime";
|
|
6
6
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `Value` type union.
|
|
8
|
+
* Represents a JSON `null`.
|
|
10
9
|
*
|
|
11
|
-
*
|
|
10
|
+
* `NullValue` is a sentinel, using an enum with only one value to represent
|
|
11
|
+
* the null value for the `Value` type union.
|
|
12
|
+
*
|
|
13
|
+
* A field of type `NullValue` with any value other than `0` is considered
|
|
14
|
+
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
|
|
15
|
+
* as a JSON `null` regardless of the integer value, and so will round trip to
|
|
16
|
+
* a `0` value.
|
|
12
17
|
*
|
|
13
18
|
* @generated from protobuf enum google.protobuf.NullValue
|
|
14
19
|
*/
|
|
@@ -80,8 +80,8 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
80
80
|
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
81
81
|
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
82
82
|
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
83
|
-
* is required. A
|
|
84
|
-
* "Z") when printing the Timestamp type and a
|
|
83
|
+
* is required. A ProtoJSON serializer should always use UTC (as indicated by
|
|
84
|
+
* "Z") when printing the Timestamp type and a ProtoJSON parser should be
|
|
85
85
|
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
86
86
|
*
|
|
87
87
|
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
@@ -103,17 +103,18 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
103
103
|
*/
|
|
104
104
|
export interface Timestamp {
|
|
105
105
|
/**
|
|
106
|
-
* Represents seconds of UTC time since Unix epoch
|
|
107
|
-
*
|
|
108
|
-
* 9999-12-31T23:59:59Z
|
|
106
|
+
* Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
107
|
+
* be between -62135596800 and 253402300799 inclusive (which corresponds to
|
|
108
|
+
* 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
109
109
|
*
|
|
110
110
|
* @generated from protobuf field: int64 seconds = 1
|
|
111
111
|
*/
|
|
112
112
|
seconds: bigint;
|
|
113
113
|
/**
|
|
114
|
-
* Non-negative fractions of a second at nanosecond resolution.
|
|
115
|
-
*
|
|
116
|
-
*
|
|
114
|
+
* Non-negative fractions of a second at nanosecond resolution. This field is
|
|
115
|
+
* the nanosecond portion of the duration, not an alternative to seconds.
|
|
116
|
+
* Negative second values with fractions must still have non-negative nanos
|
|
117
|
+
* values that count forward in time. Must be between 0 and 999,999,999
|
|
117
118
|
* inclusive.
|
|
118
119
|
*
|
|
119
120
|
* @generated from protobuf field: int32 nanos = 2
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './api/types.js';
|
|
|
2
2
|
export * from './api/client.js';
|
|
3
3
|
export * from './api/signing.js';
|
|
4
4
|
export * from './api/token/token.js';
|
|
5
|
+
export * as ChateauResources from './api/chateau/resources.js';
|
|
5
6
|
export * from './api/lore/lore.js';
|
|
6
7
|
export * from './api/features/features.js';
|
|
7
8
|
export * from './api/powerup.js';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from './api/types.js';
|
|
|
3
3
|
export * from './api/client.js';
|
|
4
4
|
export * from './api/signing.js';
|
|
5
5
|
export * from './api/token/token.js';
|
|
6
|
+
export * as ChateauResources from './api/chateau/resources.js';
|
|
6
7
|
export * from './api/lore/lore.js';
|
|
7
8
|
export * from './api/features/features.js';
|
|
8
9
|
export * from './api/powerup.js';
|