@replit/protocol 0.3.1 → 0.3.3
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/main/index.d.ts +522 -0
- package/main/index.js +1263 -0
- package/main/index.js.flow +737 -0
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -216,6 +216,11 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
216
216
|
ILanguageServerOption: Class<replit$goval$api$ILanguageServerOption>,
|
|
217
217
|
IFileTypeAttrs: Class<replit$goval$api$IFileTypeAttrs>,
|
|
218
218
|
IPackagerOption: Class<replit$goval$api$IPackagerOption>,
|
|
219
|
+
IReplDomainDoubleDash: Class<replit$goval$api$IReplDomainDoubleDash>,
|
|
220
|
+
IReplDomainDots: Class<replit$goval$api$IReplDomainDots>,
|
|
221
|
+
IReplDomainSingleDomain: Class<replit$goval$api$IReplDomainSingleDomain>,
|
|
222
|
+
IReplDomainId: Class<replit$goval$api$IReplDomainId>,
|
|
223
|
+
IReplDomain: Class<replit$goval$api$IReplDomain>,
|
|
219
224
|
IReplToken: Class<replit$goval$api$IReplToken>,
|
|
220
225
|
ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
|
|
221
226
|
IReplTransfer: Class<replit$goval$api$IReplTransfer>,
|
|
@@ -428,6 +433,11 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
428
433
|
LanguageServerOption: typeof replit$goval$api$LanguageServerOption,
|
|
429
434
|
FileTypeAttrs: typeof replit$goval$api$FileTypeAttrs,
|
|
430
435
|
PackagerOption: typeof replit$goval$api$PackagerOption,
|
|
436
|
+
ReplDomainDoubleDash: typeof replit$goval$api$ReplDomainDoubleDash,
|
|
437
|
+
ReplDomainDots: typeof replit$goval$api$ReplDomainDots,
|
|
438
|
+
ReplDomainSingleDomain: typeof replit$goval$api$ReplDomainSingleDomain,
|
|
439
|
+
ReplDomainId: typeof replit$goval$api$ReplDomainId,
|
|
440
|
+
ReplDomain: typeof replit$goval$api$ReplDomain,
|
|
431
441
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
432
442
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
433
443
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
@@ -5953,6 +5963,7 @@ declare var replit$goval$api$BootStatus$Stage: {|
|
|
|
5953
5963
|
+PROXY: 5, // 5
|
|
5954
5964
|
+PULL_FILES: 6, // 6
|
|
5955
5965
|
+LOAD_BLOCK: 7, // 7
|
|
5966
|
+
+BLOCK_MIGRATION: 9, // 9
|
|
5956
5967
|
+RETRY: 8, // 8
|
|
5957
5968
|
|};
|
|
5958
5969
|
|
|
@@ -24348,6 +24359,11 @@ declare type replit$goval$api$IDeploymentConfig = {|
|
|
|
24348
24359
|
* DeploymentConfig build
|
|
24349
24360
|
*/
|
|
24350
24361
|
build?: replit$goval$api$Exec | replit$goval$api$IExec | null,
|
|
24362
|
+
|
|
24363
|
+
/**
|
|
24364
|
+
* DeploymentConfig ignorePorts
|
|
24365
|
+
*/
|
|
24366
|
+
ignorePorts?: boolean | null,
|
|
24351
24367
|
|};
|
|
24352
24368
|
|
|
24353
24369
|
/**
|
|
@@ -24370,6 +24386,11 @@ declare class replit$goval$api$DeploymentConfig {
|
|
|
24370
24386
|
*/
|
|
24371
24387
|
build?: replit$goval$api$Exec | null;
|
|
24372
24388
|
|
|
24389
|
+
/**
|
|
24390
|
+
* DeploymentConfig ignorePorts.
|
|
24391
|
+
*/
|
|
24392
|
+
ignorePorts: boolean;
|
|
24393
|
+
|
|
24373
24394
|
/**
|
|
24374
24395
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
24375
24396
|
* @param [properties] Properties to set
|
|
@@ -29026,6 +29047,720 @@ declare class replit$goval$api$PackagerOption {
|
|
|
29026
29047
|
|};
|
|
29027
29048
|
}
|
|
29028
29049
|
|
|
29050
|
+
/**
|
|
29051
|
+
* Properties of a ReplDomainDoubleDash.
|
|
29052
|
+
*/
|
|
29053
|
+
declare type replit$goval$api$IReplDomainDoubleDash = {|
|
|
29054
|
+
/**
|
|
29055
|
+
* ReplDomainDoubleDash user
|
|
29056
|
+
*/
|
|
29057
|
+
user?: string | null,
|
|
29058
|
+
|
|
29059
|
+
/**
|
|
29060
|
+
* ReplDomainDoubleDash slug
|
|
29061
|
+
*/
|
|
29062
|
+
slug?: string | null,
|
|
29063
|
+
|
|
29064
|
+
/**
|
|
29065
|
+
* ReplDomainDoubleDash suffix
|
|
29066
|
+
*/
|
|
29067
|
+
suffix?: string | null,
|
|
29068
|
+
|};
|
|
29069
|
+
|
|
29070
|
+
/**
|
|
29071
|
+
* Represents a ReplDomainDoubleDash.
|
|
29072
|
+
*/
|
|
29073
|
+
declare class replit$goval$api$ReplDomainDoubleDash {
|
|
29074
|
+
/**
|
|
29075
|
+
* Constructs a new ReplDomainDoubleDash.
|
|
29076
|
+
* @param [properties] Properties to set
|
|
29077
|
+
*/
|
|
29078
|
+
constructor(properties?: replit$goval$api$IReplDomainDoubleDash): this;
|
|
29079
|
+
|
|
29080
|
+
/**
|
|
29081
|
+
* ReplDomainDoubleDash user.
|
|
29082
|
+
*/
|
|
29083
|
+
user: string;
|
|
29084
|
+
|
|
29085
|
+
/**
|
|
29086
|
+
* ReplDomainDoubleDash slug.
|
|
29087
|
+
*/
|
|
29088
|
+
slug: string;
|
|
29089
|
+
|
|
29090
|
+
/**
|
|
29091
|
+
* ReplDomainDoubleDash suffix.
|
|
29092
|
+
*/
|
|
29093
|
+
suffix: string;
|
|
29094
|
+
|
|
29095
|
+
/**
|
|
29096
|
+
* Creates a new ReplDomainDoubleDash instance using the specified properties.
|
|
29097
|
+
* @param [properties] Properties to set
|
|
29098
|
+
* @returns ReplDomainDoubleDash instance
|
|
29099
|
+
*/
|
|
29100
|
+
static create(
|
|
29101
|
+
properties?: replit$goval$api$IReplDomainDoubleDash
|
|
29102
|
+
): replit$goval$api$ReplDomainDoubleDash;
|
|
29103
|
+
|
|
29104
|
+
/**
|
|
29105
|
+
* [object Object],[object Object],[object Object]
|
|
29106
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
29107
|
+
* @param [writer] Writer to encode to
|
|
29108
|
+
* @returns Writer
|
|
29109
|
+
*/
|
|
29110
|
+
static encode(
|
|
29111
|
+
message: replit$goval$api$ReplDomainDoubleDash,
|
|
29112
|
+
writer?: $protobuf.Writer
|
|
29113
|
+
): $protobuf.Writer;
|
|
29114
|
+
|
|
29115
|
+
/**
|
|
29116
|
+
* [object Object],[object Object],[object Object]
|
|
29117
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
29118
|
+
* @param [writer] Writer to encode to
|
|
29119
|
+
* @returns Writer
|
|
29120
|
+
*/
|
|
29121
|
+
static encodeDelimited(
|
|
29122
|
+
message: replit$goval$api$ReplDomainDoubleDash,
|
|
29123
|
+
writer?: $protobuf.Writer
|
|
29124
|
+
): $protobuf.Writer;
|
|
29125
|
+
|
|
29126
|
+
/**
|
|
29127
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer.
|
|
29128
|
+
* @param reader Reader or buffer to decode from
|
|
29129
|
+
* @param [length] Message length if known beforehand
|
|
29130
|
+
* @returns ReplDomainDoubleDash
|
|
29131
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29132
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29133
|
+
*/
|
|
29134
|
+
static decode(
|
|
29135
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29136
|
+
length?: number
|
|
29137
|
+
): replit$goval$api$ReplDomainDoubleDash;
|
|
29138
|
+
|
|
29139
|
+
/**
|
|
29140
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer, length delimited.
|
|
29141
|
+
* @param reader Reader or buffer to decode from
|
|
29142
|
+
* @returns ReplDomainDoubleDash
|
|
29143
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29144
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29145
|
+
*/
|
|
29146
|
+
static decodeDelimited(
|
|
29147
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29148
|
+
): replit$goval$api$ReplDomainDoubleDash;
|
|
29149
|
+
|
|
29150
|
+
/**
|
|
29151
|
+
* Verifies a ReplDomainDoubleDash message.
|
|
29152
|
+
* @param message Plain object to verify
|
|
29153
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29154
|
+
*/
|
|
29155
|
+
static verify(message: {|
|
|
29156
|
+
[k: string]: any,
|
|
29157
|
+
|}): string | null;
|
|
29158
|
+
|
|
29159
|
+
/**
|
|
29160
|
+
* Creates a ReplDomainDoubleDash message from a plain object. Also converts values to their respective internal types.
|
|
29161
|
+
* @param object Plain object
|
|
29162
|
+
* @returns ReplDomainDoubleDash
|
|
29163
|
+
*/
|
|
29164
|
+
static fromObject(object: {|
|
|
29165
|
+
[k: string]: any,
|
|
29166
|
+
|}): replit$goval$api$ReplDomainDoubleDash;
|
|
29167
|
+
|
|
29168
|
+
/**
|
|
29169
|
+
* Creates a plain object from a ReplDomainDoubleDash message. Also converts values to other types if specified.
|
|
29170
|
+
* @param message ReplDomainDoubleDash
|
|
29171
|
+
* @param [options] Conversion options
|
|
29172
|
+
* @returns Plain object
|
|
29173
|
+
*/
|
|
29174
|
+
static toObject(
|
|
29175
|
+
message: replit$goval$api$ReplDomainDoubleDash,
|
|
29176
|
+
options?: $protobuf.IConversionOptions
|
|
29177
|
+
): {|
|
|
29178
|
+
[k: string]: any,
|
|
29179
|
+
|};
|
|
29180
|
+
|
|
29181
|
+
/**
|
|
29182
|
+
* Converts this ReplDomainDoubleDash to JSON.
|
|
29183
|
+
* @returns JSON object
|
|
29184
|
+
*/
|
|
29185
|
+
toJSON(): {|
|
|
29186
|
+
[k: string]: any,
|
|
29187
|
+
|};
|
|
29188
|
+
}
|
|
29189
|
+
|
|
29190
|
+
/**
|
|
29191
|
+
* Properties of a ReplDomainDots.
|
|
29192
|
+
*/
|
|
29193
|
+
declare type replit$goval$api$IReplDomainDots = {|
|
|
29194
|
+
/**
|
|
29195
|
+
* ReplDomainDots user
|
|
29196
|
+
*/
|
|
29197
|
+
user?: string | null,
|
|
29198
|
+
|
|
29199
|
+
/**
|
|
29200
|
+
* ReplDomainDots slug
|
|
29201
|
+
*/
|
|
29202
|
+
slug?: string | null,
|
|
29203
|
+
|
|
29204
|
+
/**
|
|
29205
|
+
* ReplDomainDots suffix
|
|
29206
|
+
*/
|
|
29207
|
+
suffix?: string | null,
|
|
29208
|
+
|};
|
|
29209
|
+
|
|
29210
|
+
/**
|
|
29211
|
+
* Represents a ReplDomainDots.
|
|
29212
|
+
*/
|
|
29213
|
+
declare class replit$goval$api$ReplDomainDots {
|
|
29214
|
+
/**
|
|
29215
|
+
* Constructs a new ReplDomainDots.
|
|
29216
|
+
* @param [properties] Properties to set
|
|
29217
|
+
*/
|
|
29218
|
+
constructor(properties?: replit$goval$api$IReplDomainDots): this;
|
|
29219
|
+
|
|
29220
|
+
/**
|
|
29221
|
+
* ReplDomainDots user.
|
|
29222
|
+
*/
|
|
29223
|
+
user: string;
|
|
29224
|
+
|
|
29225
|
+
/**
|
|
29226
|
+
* ReplDomainDots slug.
|
|
29227
|
+
*/
|
|
29228
|
+
slug: string;
|
|
29229
|
+
|
|
29230
|
+
/**
|
|
29231
|
+
* ReplDomainDots suffix.
|
|
29232
|
+
*/
|
|
29233
|
+
suffix: string;
|
|
29234
|
+
|
|
29235
|
+
/**
|
|
29236
|
+
* Creates a new ReplDomainDots instance using the specified properties.
|
|
29237
|
+
* @param [properties] Properties to set
|
|
29238
|
+
* @returns ReplDomainDots instance
|
|
29239
|
+
*/
|
|
29240
|
+
static create(
|
|
29241
|
+
properties?: replit$goval$api$IReplDomainDots
|
|
29242
|
+
): replit$goval$api$ReplDomainDots;
|
|
29243
|
+
|
|
29244
|
+
/**
|
|
29245
|
+
* [object Object],[object Object],[object Object]
|
|
29246
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
29247
|
+
* @param [writer] Writer to encode to
|
|
29248
|
+
* @returns Writer
|
|
29249
|
+
*/
|
|
29250
|
+
static encode(
|
|
29251
|
+
message: replit$goval$api$ReplDomainDots,
|
|
29252
|
+
writer?: $protobuf.Writer
|
|
29253
|
+
): $protobuf.Writer;
|
|
29254
|
+
|
|
29255
|
+
/**
|
|
29256
|
+
* [object Object],[object Object],[object Object]
|
|
29257
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
29258
|
+
* @param [writer] Writer to encode to
|
|
29259
|
+
* @returns Writer
|
|
29260
|
+
*/
|
|
29261
|
+
static encodeDelimited(
|
|
29262
|
+
message: replit$goval$api$ReplDomainDots,
|
|
29263
|
+
writer?: $protobuf.Writer
|
|
29264
|
+
): $protobuf.Writer;
|
|
29265
|
+
|
|
29266
|
+
/**
|
|
29267
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer.
|
|
29268
|
+
* @param reader Reader or buffer to decode from
|
|
29269
|
+
* @param [length] Message length if known beforehand
|
|
29270
|
+
* @returns ReplDomainDots
|
|
29271
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29272
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29273
|
+
*/
|
|
29274
|
+
static decode(
|
|
29275
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29276
|
+
length?: number
|
|
29277
|
+
): replit$goval$api$ReplDomainDots;
|
|
29278
|
+
|
|
29279
|
+
/**
|
|
29280
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer, length delimited.
|
|
29281
|
+
* @param reader Reader or buffer to decode from
|
|
29282
|
+
* @returns ReplDomainDots
|
|
29283
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29284
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29285
|
+
*/
|
|
29286
|
+
static decodeDelimited(
|
|
29287
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29288
|
+
): replit$goval$api$ReplDomainDots;
|
|
29289
|
+
|
|
29290
|
+
/**
|
|
29291
|
+
* Verifies a ReplDomainDots message.
|
|
29292
|
+
* @param message Plain object to verify
|
|
29293
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29294
|
+
*/
|
|
29295
|
+
static verify(message: {|
|
|
29296
|
+
[k: string]: any,
|
|
29297
|
+
|}): string | null;
|
|
29298
|
+
|
|
29299
|
+
/**
|
|
29300
|
+
* Creates a ReplDomainDots message from a plain object. Also converts values to their respective internal types.
|
|
29301
|
+
* @param object Plain object
|
|
29302
|
+
* @returns ReplDomainDots
|
|
29303
|
+
*/
|
|
29304
|
+
static fromObject(object: {|
|
|
29305
|
+
[k: string]: any,
|
|
29306
|
+
|}): replit$goval$api$ReplDomainDots;
|
|
29307
|
+
|
|
29308
|
+
/**
|
|
29309
|
+
* Creates a plain object from a ReplDomainDots message. Also converts values to other types if specified.
|
|
29310
|
+
* @param message ReplDomainDots
|
|
29311
|
+
* @param [options] Conversion options
|
|
29312
|
+
* @returns Plain object
|
|
29313
|
+
*/
|
|
29314
|
+
static toObject(
|
|
29315
|
+
message: replit$goval$api$ReplDomainDots,
|
|
29316
|
+
options?: $protobuf.IConversionOptions
|
|
29317
|
+
): {|
|
|
29318
|
+
[k: string]: any,
|
|
29319
|
+
|};
|
|
29320
|
+
|
|
29321
|
+
/**
|
|
29322
|
+
* Converts this ReplDomainDots to JSON.
|
|
29323
|
+
* @returns JSON object
|
|
29324
|
+
*/
|
|
29325
|
+
toJSON(): {|
|
|
29326
|
+
[k: string]: any,
|
|
29327
|
+
|};
|
|
29328
|
+
}
|
|
29329
|
+
|
|
29330
|
+
/**
|
|
29331
|
+
* Properties of a ReplDomainSingleDomain.
|
|
29332
|
+
*/
|
|
29333
|
+
declare type replit$goval$api$IReplDomainSingleDomain = {|
|
|
29334
|
+
/**
|
|
29335
|
+
* ReplDomainSingleDomain user
|
|
29336
|
+
*/
|
|
29337
|
+
user?: string | null,
|
|
29338
|
+
|
|
29339
|
+
/**
|
|
29340
|
+
* ReplDomainSingleDomain suffix
|
|
29341
|
+
*/
|
|
29342
|
+
suffix?: string | null,
|
|
29343
|
+
|};
|
|
29344
|
+
|
|
29345
|
+
/**
|
|
29346
|
+
* Represents a ReplDomainSingleDomain.
|
|
29347
|
+
*/
|
|
29348
|
+
declare class replit$goval$api$ReplDomainSingleDomain {
|
|
29349
|
+
/**
|
|
29350
|
+
* Constructs a new ReplDomainSingleDomain.
|
|
29351
|
+
* @param [properties] Properties to set
|
|
29352
|
+
*/
|
|
29353
|
+
constructor(properties?: replit$goval$api$IReplDomainSingleDomain): this;
|
|
29354
|
+
|
|
29355
|
+
/**
|
|
29356
|
+
* ReplDomainSingleDomain user.
|
|
29357
|
+
*/
|
|
29358
|
+
user: string;
|
|
29359
|
+
|
|
29360
|
+
/**
|
|
29361
|
+
* ReplDomainSingleDomain suffix.
|
|
29362
|
+
*/
|
|
29363
|
+
suffix: string;
|
|
29364
|
+
|
|
29365
|
+
/**
|
|
29366
|
+
* Creates a new ReplDomainSingleDomain instance using the specified properties.
|
|
29367
|
+
* @param [properties] Properties to set
|
|
29368
|
+
* @returns ReplDomainSingleDomain instance
|
|
29369
|
+
*/
|
|
29370
|
+
static create(
|
|
29371
|
+
properties?: replit$goval$api$IReplDomainSingleDomain
|
|
29372
|
+
): replit$goval$api$ReplDomainSingleDomain;
|
|
29373
|
+
|
|
29374
|
+
/**
|
|
29375
|
+
* [object Object],[object Object],[object Object]
|
|
29376
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
29377
|
+
* @param [writer] Writer to encode to
|
|
29378
|
+
* @returns Writer
|
|
29379
|
+
*/
|
|
29380
|
+
static encode(
|
|
29381
|
+
message: replit$goval$api$ReplDomainSingleDomain,
|
|
29382
|
+
writer?: $protobuf.Writer
|
|
29383
|
+
): $protobuf.Writer;
|
|
29384
|
+
|
|
29385
|
+
/**
|
|
29386
|
+
* [object Object],[object Object],[object Object]
|
|
29387
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
29388
|
+
* @param [writer] Writer to encode to
|
|
29389
|
+
* @returns Writer
|
|
29390
|
+
*/
|
|
29391
|
+
static encodeDelimited(
|
|
29392
|
+
message: replit$goval$api$ReplDomainSingleDomain,
|
|
29393
|
+
writer?: $protobuf.Writer
|
|
29394
|
+
): $protobuf.Writer;
|
|
29395
|
+
|
|
29396
|
+
/**
|
|
29397
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer.
|
|
29398
|
+
* @param reader Reader or buffer to decode from
|
|
29399
|
+
* @param [length] Message length if known beforehand
|
|
29400
|
+
* @returns ReplDomainSingleDomain
|
|
29401
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29402
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29403
|
+
*/
|
|
29404
|
+
static decode(
|
|
29405
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29406
|
+
length?: number
|
|
29407
|
+
): replit$goval$api$ReplDomainSingleDomain;
|
|
29408
|
+
|
|
29409
|
+
/**
|
|
29410
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer, length delimited.
|
|
29411
|
+
* @param reader Reader or buffer to decode from
|
|
29412
|
+
* @returns ReplDomainSingleDomain
|
|
29413
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29414
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29415
|
+
*/
|
|
29416
|
+
static decodeDelimited(
|
|
29417
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29418
|
+
): replit$goval$api$ReplDomainSingleDomain;
|
|
29419
|
+
|
|
29420
|
+
/**
|
|
29421
|
+
* Verifies a ReplDomainSingleDomain message.
|
|
29422
|
+
* @param message Plain object to verify
|
|
29423
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29424
|
+
*/
|
|
29425
|
+
static verify(message: {|
|
|
29426
|
+
[k: string]: any,
|
|
29427
|
+
|}): string | null;
|
|
29428
|
+
|
|
29429
|
+
/**
|
|
29430
|
+
* Creates a ReplDomainSingleDomain message from a plain object. Also converts values to their respective internal types.
|
|
29431
|
+
* @param object Plain object
|
|
29432
|
+
* @returns ReplDomainSingleDomain
|
|
29433
|
+
*/
|
|
29434
|
+
static fromObject(object: {|
|
|
29435
|
+
[k: string]: any,
|
|
29436
|
+
|}): replit$goval$api$ReplDomainSingleDomain;
|
|
29437
|
+
|
|
29438
|
+
/**
|
|
29439
|
+
* Creates a plain object from a ReplDomainSingleDomain message. Also converts values to other types if specified.
|
|
29440
|
+
* @param message ReplDomainSingleDomain
|
|
29441
|
+
* @param [options] Conversion options
|
|
29442
|
+
* @returns Plain object
|
|
29443
|
+
*/
|
|
29444
|
+
static toObject(
|
|
29445
|
+
message: replit$goval$api$ReplDomainSingleDomain,
|
|
29446
|
+
options?: $protobuf.IConversionOptions
|
|
29447
|
+
): {|
|
|
29448
|
+
[k: string]: any,
|
|
29449
|
+
|};
|
|
29450
|
+
|
|
29451
|
+
/**
|
|
29452
|
+
* Converts this ReplDomainSingleDomain to JSON.
|
|
29453
|
+
* @returns JSON object
|
|
29454
|
+
*/
|
|
29455
|
+
toJSON(): {|
|
|
29456
|
+
[k: string]: any,
|
|
29457
|
+
|};
|
|
29458
|
+
}
|
|
29459
|
+
|
|
29460
|
+
/**
|
|
29461
|
+
* Properties of a ReplDomainId.
|
|
29462
|
+
*/
|
|
29463
|
+
declare type replit$goval$api$IReplDomainId = {|
|
|
29464
|
+
/**
|
|
29465
|
+
* ReplDomainId id
|
|
29466
|
+
*/
|
|
29467
|
+
id?: string | null,
|
|
29468
|
+
|
|
29469
|
+
/**
|
|
29470
|
+
* ReplDomainId suffix
|
|
29471
|
+
*/
|
|
29472
|
+
suffix?: string | null,
|
|
29473
|
+
|};
|
|
29474
|
+
|
|
29475
|
+
/**
|
|
29476
|
+
* Represents a ReplDomainId.
|
|
29477
|
+
*/
|
|
29478
|
+
declare class replit$goval$api$ReplDomainId {
|
|
29479
|
+
/**
|
|
29480
|
+
* Constructs a new ReplDomainId.
|
|
29481
|
+
* @param [properties] Properties to set
|
|
29482
|
+
*/
|
|
29483
|
+
constructor(properties?: replit$goval$api$IReplDomainId): this;
|
|
29484
|
+
|
|
29485
|
+
/**
|
|
29486
|
+
* ReplDomainId id.
|
|
29487
|
+
*/
|
|
29488
|
+
id: string;
|
|
29489
|
+
|
|
29490
|
+
/**
|
|
29491
|
+
* ReplDomainId suffix.
|
|
29492
|
+
*/
|
|
29493
|
+
suffix: string;
|
|
29494
|
+
|
|
29495
|
+
/**
|
|
29496
|
+
* Creates a new ReplDomainId instance using the specified properties.
|
|
29497
|
+
* @param [properties] Properties to set
|
|
29498
|
+
* @returns ReplDomainId instance
|
|
29499
|
+
*/
|
|
29500
|
+
static create(
|
|
29501
|
+
properties?: replit$goval$api$IReplDomainId
|
|
29502
|
+
): replit$goval$api$ReplDomainId;
|
|
29503
|
+
|
|
29504
|
+
/**
|
|
29505
|
+
* [object Object],[object Object],[object Object]
|
|
29506
|
+
* @param message ReplDomainId message or plain object to encode
|
|
29507
|
+
* @param [writer] Writer to encode to
|
|
29508
|
+
* @returns Writer
|
|
29509
|
+
*/
|
|
29510
|
+
static encode(
|
|
29511
|
+
message: replit$goval$api$ReplDomainId,
|
|
29512
|
+
writer?: $protobuf.Writer
|
|
29513
|
+
): $protobuf.Writer;
|
|
29514
|
+
|
|
29515
|
+
/**
|
|
29516
|
+
* [object Object],[object Object],[object Object]
|
|
29517
|
+
* @param message ReplDomainId message or plain object to encode
|
|
29518
|
+
* @param [writer] Writer to encode to
|
|
29519
|
+
* @returns Writer
|
|
29520
|
+
*/
|
|
29521
|
+
static encodeDelimited(
|
|
29522
|
+
message: replit$goval$api$ReplDomainId,
|
|
29523
|
+
writer?: $protobuf.Writer
|
|
29524
|
+
): $protobuf.Writer;
|
|
29525
|
+
|
|
29526
|
+
/**
|
|
29527
|
+
* Decodes a ReplDomainId message from the specified reader or buffer.
|
|
29528
|
+
* @param reader Reader or buffer to decode from
|
|
29529
|
+
* @param [length] Message length if known beforehand
|
|
29530
|
+
* @returns ReplDomainId
|
|
29531
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29532
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29533
|
+
*/
|
|
29534
|
+
static decode(
|
|
29535
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29536
|
+
length?: number
|
|
29537
|
+
): replit$goval$api$ReplDomainId;
|
|
29538
|
+
|
|
29539
|
+
/**
|
|
29540
|
+
* Decodes a ReplDomainId message from the specified reader or buffer, length delimited.
|
|
29541
|
+
* @param reader Reader or buffer to decode from
|
|
29542
|
+
* @returns ReplDomainId
|
|
29543
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29544
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29545
|
+
*/
|
|
29546
|
+
static decodeDelimited(
|
|
29547
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29548
|
+
): replit$goval$api$ReplDomainId;
|
|
29549
|
+
|
|
29550
|
+
/**
|
|
29551
|
+
* Verifies a ReplDomainId message.
|
|
29552
|
+
* @param message Plain object to verify
|
|
29553
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29554
|
+
*/
|
|
29555
|
+
static verify(message: {|
|
|
29556
|
+
[k: string]: any,
|
|
29557
|
+
|}): string | null;
|
|
29558
|
+
|
|
29559
|
+
/**
|
|
29560
|
+
* Creates a ReplDomainId message from a plain object. Also converts values to their respective internal types.
|
|
29561
|
+
* @param object Plain object
|
|
29562
|
+
* @returns ReplDomainId
|
|
29563
|
+
*/
|
|
29564
|
+
static fromObject(object: {|
|
|
29565
|
+
[k: string]: any,
|
|
29566
|
+
|}): replit$goval$api$ReplDomainId;
|
|
29567
|
+
|
|
29568
|
+
/**
|
|
29569
|
+
* Creates a plain object from a ReplDomainId message. Also converts values to other types if specified.
|
|
29570
|
+
* @param message ReplDomainId
|
|
29571
|
+
* @param [options] Conversion options
|
|
29572
|
+
* @returns Plain object
|
|
29573
|
+
*/
|
|
29574
|
+
static toObject(
|
|
29575
|
+
message: replit$goval$api$ReplDomainId,
|
|
29576
|
+
options?: $protobuf.IConversionOptions
|
|
29577
|
+
): {|
|
|
29578
|
+
[k: string]: any,
|
|
29579
|
+
|};
|
|
29580
|
+
|
|
29581
|
+
/**
|
|
29582
|
+
* Converts this ReplDomainId to JSON.
|
|
29583
|
+
* @returns JSON object
|
|
29584
|
+
*/
|
|
29585
|
+
toJSON(): {|
|
|
29586
|
+
[k: string]: any,
|
|
29587
|
+
|};
|
|
29588
|
+
}
|
|
29589
|
+
|
|
29590
|
+
/**
|
|
29591
|
+
* Properties of a ReplDomain.
|
|
29592
|
+
*/
|
|
29593
|
+
declare type replit$goval$api$IReplDomain = {|
|
|
29594
|
+
/**
|
|
29595
|
+
* ReplDomain custom
|
|
29596
|
+
*/
|
|
29597
|
+
custom?: string | null,
|
|
29598
|
+
|
|
29599
|
+
/**
|
|
29600
|
+
* ReplDomain id
|
|
29601
|
+
*/
|
|
29602
|
+
id?: replit$goval$api$ReplDomainId | replit$goval$api$IReplDomainId | null,
|
|
29603
|
+
|
|
29604
|
+
/**
|
|
29605
|
+
* ReplDomain doubleDash
|
|
29606
|
+
*/
|
|
29607
|
+
doubleDash?:
|
|
29608
|
+
| replit$goval$api$ReplDomainDoubleDash
|
|
29609
|
+
| replit$goval$api$IReplDomainDoubleDash
|
|
29610
|
+
| null,
|
|
29611
|
+
|
|
29612
|
+
/**
|
|
29613
|
+
* ReplDomain dots
|
|
29614
|
+
*/
|
|
29615
|
+
dots?:
|
|
29616
|
+
| replit$goval$api$ReplDomainDots
|
|
29617
|
+
| replit$goval$api$IReplDomainDots
|
|
29618
|
+
| null,
|
|
29619
|
+
|
|
29620
|
+
/**
|
|
29621
|
+
* ReplDomain singleDomain
|
|
29622
|
+
*/
|
|
29623
|
+
singleDomain?:
|
|
29624
|
+
| replit$goval$api$ReplDomainSingleDomain
|
|
29625
|
+
| replit$goval$api$IReplDomainSingleDomain
|
|
29626
|
+
| null,
|
|
29627
|
+
|};
|
|
29628
|
+
|
|
29629
|
+
/**
|
|
29630
|
+
* Represents a ReplDomain.
|
|
29631
|
+
*/
|
|
29632
|
+
declare class replit$goval$api$ReplDomain {
|
|
29633
|
+
/**
|
|
29634
|
+
* Constructs a new ReplDomain.
|
|
29635
|
+
* @param [properties] Properties to set
|
|
29636
|
+
*/
|
|
29637
|
+
constructor(properties?: replit$goval$api$IReplDomain): this;
|
|
29638
|
+
|
|
29639
|
+
/**
|
|
29640
|
+
* ReplDomain custom.
|
|
29641
|
+
*/
|
|
29642
|
+
custom?: string | null;
|
|
29643
|
+
|
|
29644
|
+
/**
|
|
29645
|
+
* ReplDomain id.
|
|
29646
|
+
*/
|
|
29647
|
+
id?: replit$goval$api$ReplDomainId | null;
|
|
29648
|
+
|
|
29649
|
+
/**
|
|
29650
|
+
* ReplDomain doubleDash.
|
|
29651
|
+
*/
|
|
29652
|
+
doubleDash?: replit$goval$api$ReplDomainDoubleDash | null;
|
|
29653
|
+
|
|
29654
|
+
/**
|
|
29655
|
+
* ReplDomain dots.
|
|
29656
|
+
*/
|
|
29657
|
+
dots?: replit$goval$api$ReplDomainDots | null;
|
|
29658
|
+
|
|
29659
|
+
/**
|
|
29660
|
+
* ReplDomain singleDomain.
|
|
29661
|
+
*/
|
|
29662
|
+
singleDomain?: replit$goval$api$ReplDomainSingleDomain | null;
|
|
29663
|
+
|
|
29664
|
+
/**
|
|
29665
|
+
* ReplDomain kind.
|
|
29666
|
+
*/
|
|
29667
|
+
kind?: "custom" | "id" | "doubleDash" | "dots" | "singleDomain";
|
|
29668
|
+
|
|
29669
|
+
/**
|
|
29670
|
+
* Creates a new ReplDomain instance using the specified properties.
|
|
29671
|
+
* @param [properties] Properties to set
|
|
29672
|
+
* @returns ReplDomain instance
|
|
29673
|
+
*/
|
|
29674
|
+
static create(
|
|
29675
|
+
properties?: replit$goval$api$IReplDomain
|
|
29676
|
+
): replit$goval$api$ReplDomain;
|
|
29677
|
+
|
|
29678
|
+
/**
|
|
29679
|
+
* [object Object],[object Object],[object Object]
|
|
29680
|
+
* @param message ReplDomain message or plain object to encode
|
|
29681
|
+
* @param [writer] Writer to encode to
|
|
29682
|
+
* @returns Writer
|
|
29683
|
+
*/
|
|
29684
|
+
static encode(
|
|
29685
|
+
message: replit$goval$api$ReplDomain,
|
|
29686
|
+
writer?: $protobuf.Writer
|
|
29687
|
+
): $protobuf.Writer;
|
|
29688
|
+
|
|
29689
|
+
/**
|
|
29690
|
+
* [object Object],[object Object],[object Object]
|
|
29691
|
+
* @param message ReplDomain message or plain object to encode
|
|
29692
|
+
* @param [writer] Writer to encode to
|
|
29693
|
+
* @returns Writer
|
|
29694
|
+
*/
|
|
29695
|
+
static encodeDelimited(
|
|
29696
|
+
message: replit$goval$api$ReplDomain,
|
|
29697
|
+
writer?: $protobuf.Writer
|
|
29698
|
+
): $protobuf.Writer;
|
|
29699
|
+
|
|
29700
|
+
/**
|
|
29701
|
+
* Decodes a ReplDomain message from the specified reader or buffer.
|
|
29702
|
+
* @param reader Reader or buffer to decode from
|
|
29703
|
+
* @param [length] Message length if known beforehand
|
|
29704
|
+
* @returns ReplDomain
|
|
29705
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29706
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29707
|
+
*/
|
|
29708
|
+
static decode(
|
|
29709
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29710
|
+
length?: number
|
|
29711
|
+
): replit$goval$api$ReplDomain;
|
|
29712
|
+
|
|
29713
|
+
/**
|
|
29714
|
+
* Decodes a ReplDomain message from the specified reader or buffer, length delimited.
|
|
29715
|
+
* @param reader Reader or buffer to decode from
|
|
29716
|
+
* @returns ReplDomain
|
|
29717
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29718
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29719
|
+
*/
|
|
29720
|
+
static decodeDelimited(
|
|
29721
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29722
|
+
): replit$goval$api$ReplDomain;
|
|
29723
|
+
|
|
29724
|
+
/**
|
|
29725
|
+
* Verifies a ReplDomain message.
|
|
29726
|
+
* @param message Plain object to verify
|
|
29727
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29728
|
+
*/
|
|
29729
|
+
static verify(message: {|
|
|
29730
|
+
[k: string]: any,
|
|
29731
|
+
|}): string | null;
|
|
29732
|
+
|
|
29733
|
+
/**
|
|
29734
|
+
* Creates a ReplDomain message from a plain object. Also converts values to their respective internal types.
|
|
29735
|
+
* @param object Plain object
|
|
29736
|
+
* @returns ReplDomain
|
|
29737
|
+
*/
|
|
29738
|
+
static fromObject(object: {|
|
|
29739
|
+
[k: string]: any,
|
|
29740
|
+
|}): replit$goval$api$ReplDomain;
|
|
29741
|
+
|
|
29742
|
+
/**
|
|
29743
|
+
* Creates a plain object from a ReplDomain message. Also converts values to other types if specified.
|
|
29744
|
+
* @param message ReplDomain
|
|
29745
|
+
* @param [options] Conversion options
|
|
29746
|
+
* @returns Plain object
|
|
29747
|
+
*/
|
|
29748
|
+
static toObject(
|
|
29749
|
+
message: replit$goval$api$ReplDomain,
|
|
29750
|
+
options?: $protobuf.IConversionOptions
|
|
29751
|
+
): {|
|
|
29752
|
+
[k: string]: any,
|
|
29753
|
+
|};
|
|
29754
|
+
|
|
29755
|
+
/**
|
|
29756
|
+
* Converts this ReplDomain to JSON.
|
|
29757
|
+
* @returns JSON object
|
|
29758
|
+
*/
|
|
29759
|
+
toJSON(): {|
|
|
29760
|
+
[k: string]: any,
|
|
29761
|
+
|};
|
|
29762
|
+
}
|
|
29763
|
+
|
|
29029
29764
|
/**
|
|
29030
29765
|
* Properties of a ReplToken.
|
|
29031
29766
|
*/
|
|
@@ -30770,6 +31505,8 @@ declare var replit$goval$api$FlagClaim: {|
|
|
|
30770
31505
|
+SIGN_INTERMEDIATE_CERT: 1, // 1
|
|
30771
31506
|
+IDENTITY: 5, // 5
|
|
30772
31507
|
+GHOSTWRITER: 6, // 6
|
|
31508
|
+
+RENEW_IDENTITY: 7, // 7
|
|
31509
|
+
+RENEW_KV: 8, // 8
|
|
30773
31510
|
+ANY_REPLID: 2, // 2
|
|
30774
31511
|
+ANY_USER: 3, // 3
|
|
30775
31512
|
+ANY_CLUSTER: 4, // 4
|