@replit/protocol 0.3.32 → 0.3.34
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 +358 -1
- package/main/index.js +911 -2
- package/main/index.js.flow +512 -1
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -22,6 +22,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
22
22
|
TokenVersion: typeof replit$goval$api$TokenVersion,
|
|
23
23
|
FlagClaim: typeof replit$goval$api$FlagClaim,
|
|
24
24
|
ICommand: Class<replit$goval$api$ICommand>,
|
|
25
|
+
IRiverMessage: Class<replit$goval$api$IRiverMessage>,
|
|
25
26
|
INixPackageAddRequest: Class<replit$goval$api$INixPackageAddRequest>,
|
|
26
27
|
INixPackageAddResponse: Class<replit$goval$api$INixPackageAddResponse>,
|
|
27
28
|
INixPackageRemoveRequest: Class<replit$goval$api$INixPackageRemoveRequest>,
|
|
@@ -257,6 +258,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
257
258
|
IPowerUp: Class<replit$goval$api$IPowerUp>,
|
|
258
259
|
IUserPowerUps: Class<replit$goval$api$IUserPowerUps>,
|
|
259
260
|
Command: typeof replit$goval$api$Command,
|
|
261
|
+
RiverMessage: typeof replit$goval$api$RiverMessage,
|
|
260
262
|
NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
|
|
261
263
|
NixPackageAddResponse: typeof replit$goval$api$NixPackageAddResponse,
|
|
262
264
|
NixPackageRemoveRequest: typeof replit$goval$api$NixPackageRemoveRequest,
|
|
@@ -1768,6 +1770,14 @@ declare type replit$goval$api$ICommand = {|
|
|
|
1768
1770
|
| replit$goval$api$INixModulesGetRegistryResponse
|
|
1769
1771
|
| null,
|
|
1770
1772
|
|
|
1773
|
+
/**
|
|
1774
|
+
* Command pid2Message
|
|
1775
|
+
*/
|
|
1776
|
+
pid2Message?:
|
|
1777
|
+
| replit$goval$api$RiverMessage
|
|
1778
|
+
| replit$goval$api$IRiverMessage
|
|
1779
|
+
| null,
|
|
1780
|
+
|
|
1771
1781
|
/**
|
|
1772
1782
|
* Command ref
|
|
1773
1783
|
*/
|
|
@@ -2726,6 +2736,11 @@ declare class replit$goval$api$Command {
|
|
|
2726
2736
|
*/
|
|
2727
2737
|
nixModulesGetRegistryResponse?: replit$goval$api$NixModulesGetRegistryResponse | null;
|
|
2728
2738
|
|
|
2739
|
+
/**
|
|
2740
|
+
* Command pid2Message.
|
|
2741
|
+
*/
|
|
2742
|
+
pid2Message?: replit$goval$api$RiverMessage | null;
|
|
2743
|
+
|
|
2729
2744
|
/**
|
|
2730
2745
|
* Command ref.
|
|
2731
2746
|
*/
|
|
@@ -2926,7 +2941,8 @@ declare class replit$goval$api$Command {
|
|
|
2926
2941
|
| "toolchainChanged"
|
|
2927
2942
|
| "replspaceApiOpenMultipleFiles"
|
|
2928
2943
|
| "nixModulesGetRegistryRequest"
|
|
2929
|
-
| "nixModulesGetRegistryResponse"
|
|
2944
|
+
| "nixModulesGetRegistryResponse"
|
|
2945
|
+
| "pid2Message";
|
|
2930
2946
|
|
|
2931
2947
|
/**
|
|
2932
2948
|
* Creates a new Command instance using the specified properties.
|
|
@@ -3030,6 +3046,203 @@ declare class replit$goval$api$Command {
|
|
|
3030
3046
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3031
3047
|
}
|
|
3032
3048
|
|
|
3049
|
+
/**
|
|
3050
|
+
* Properties of a RiverMessage.
|
|
3051
|
+
*/
|
|
3052
|
+
declare type replit$goval$api$IRiverMessage = {|
|
|
3053
|
+
/**
|
|
3054
|
+
* RiverMessage id
|
|
3055
|
+
*/
|
|
3056
|
+
id?: string | null,
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* RiverMessage replyTo
|
|
3060
|
+
*/
|
|
3061
|
+
replyTo?: string | null,
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* RiverMessage from
|
|
3065
|
+
*/
|
|
3066
|
+
from?: string | null,
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* RiverMessage to
|
|
3070
|
+
*/
|
|
3071
|
+
to?: string | null,
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* RiverMessage serviceName
|
|
3075
|
+
*/
|
|
3076
|
+
serviceName?: string | null,
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* RiverMessage procedureName
|
|
3080
|
+
*/
|
|
3081
|
+
procedureName?: string | null,
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* RiverMessage ack
|
|
3085
|
+
*/
|
|
3086
|
+
ack?: string | null,
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* RiverMessage payload
|
|
3090
|
+
*/
|
|
3091
|
+
payload?: Uint8Array | null,
|
|
3092
|
+
|};
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* Represents a RiverMessage.
|
|
3096
|
+
*/
|
|
3097
|
+
declare class replit$goval$api$RiverMessage {
|
|
3098
|
+
/**
|
|
3099
|
+
* Constructs a new RiverMessage.
|
|
3100
|
+
* @param [properties] Properties to set
|
|
3101
|
+
*/
|
|
3102
|
+
constructor(properties?: replit$goval$api$IRiverMessage): this;
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* RiverMessage id.
|
|
3106
|
+
*/
|
|
3107
|
+
id: string;
|
|
3108
|
+
|
|
3109
|
+
/**
|
|
3110
|
+
* RiverMessage replyTo.
|
|
3111
|
+
*/
|
|
3112
|
+
replyTo: string;
|
|
3113
|
+
|
|
3114
|
+
/**
|
|
3115
|
+
* RiverMessage from.
|
|
3116
|
+
*/
|
|
3117
|
+
from: string;
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* RiverMessage to.
|
|
3121
|
+
*/
|
|
3122
|
+
to: string;
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* RiverMessage serviceName.
|
|
3126
|
+
*/
|
|
3127
|
+
serviceName: string;
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* RiverMessage procedureName.
|
|
3131
|
+
*/
|
|
3132
|
+
procedureName: string;
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* RiverMessage ack.
|
|
3136
|
+
*/
|
|
3137
|
+
ack: string;
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* RiverMessage payload.
|
|
3141
|
+
*/
|
|
3142
|
+
payload: Uint8Array;
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* Creates a new RiverMessage instance using the specified properties.
|
|
3146
|
+
* @param [properties] Properties to set
|
|
3147
|
+
* @returns RiverMessage instance
|
|
3148
|
+
*/
|
|
3149
|
+
static create(
|
|
3150
|
+
properties?: replit$goval$api$IRiverMessage
|
|
3151
|
+
): replit$goval$api$RiverMessage;
|
|
3152
|
+
|
|
3153
|
+
/**
|
|
3154
|
+
* [object Object],[object Object],[object Object]
|
|
3155
|
+
* @param message RiverMessage message or plain object to encode
|
|
3156
|
+
* @param [writer] Writer to encode to
|
|
3157
|
+
* @returns Writer
|
|
3158
|
+
*/
|
|
3159
|
+
static encode(
|
|
3160
|
+
message: replit$goval$api$RiverMessage,
|
|
3161
|
+
writer?: $protobuf.Writer
|
|
3162
|
+
): $protobuf.Writer;
|
|
3163
|
+
|
|
3164
|
+
/**
|
|
3165
|
+
* [object Object],[object Object],[object Object]
|
|
3166
|
+
* @param message RiverMessage message or plain object to encode
|
|
3167
|
+
* @param [writer] Writer to encode to
|
|
3168
|
+
* @returns Writer
|
|
3169
|
+
*/
|
|
3170
|
+
static encodeDelimited(
|
|
3171
|
+
message: replit$goval$api$RiverMessage,
|
|
3172
|
+
writer?: $protobuf.Writer
|
|
3173
|
+
): $protobuf.Writer;
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Decodes a RiverMessage message from the specified reader or buffer.
|
|
3177
|
+
* @param reader Reader or buffer to decode from
|
|
3178
|
+
* @param [length] Message length if known beforehand
|
|
3179
|
+
* @returns RiverMessage
|
|
3180
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3181
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3182
|
+
*/
|
|
3183
|
+
static decode(
|
|
3184
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3185
|
+
length?: number
|
|
3186
|
+
): replit$goval$api$RiverMessage;
|
|
3187
|
+
|
|
3188
|
+
/**
|
|
3189
|
+
* Decodes a RiverMessage message from the specified reader or buffer, length delimited.
|
|
3190
|
+
* @param reader Reader or buffer to decode from
|
|
3191
|
+
* @returns RiverMessage
|
|
3192
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3193
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3194
|
+
*/
|
|
3195
|
+
static decodeDelimited(
|
|
3196
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3197
|
+
): replit$goval$api$RiverMessage;
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* Verifies a RiverMessage message.
|
|
3201
|
+
* @param message Plain object to verify
|
|
3202
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3203
|
+
*/
|
|
3204
|
+
static verify(message: {|
|
|
3205
|
+
[k: string]: any,
|
|
3206
|
+
|}): string | null;
|
|
3207
|
+
|
|
3208
|
+
/**
|
|
3209
|
+
* Creates a RiverMessage message from a plain object. Also converts values to their respective internal types.
|
|
3210
|
+
* @param object Plain object
|
|
3211
|
+
* @returns RiverMessage
|
|
3212
|
+
*/
|
|
3213
|
+
static fromObject(object: {|
|
|
3214
|
+
[k: string]: any,
|
|
3215
|
+
|}): replit$goval$api$RiverMessage;
|
|
3216
|
+
|
|
3217
|
+
/**
|
|
3218
|
+
* Creates a plain object from a RiverMessage message. Also converts values to other types if specified.
|
|
3219
|
+
* @param message RiverMessage
|
|
3220
|
+
* @param [options] Conversion options
|
|
3221
|
+
* @returns Plain object
|
|
3222
|
+
*/
|
|
3223
|
+
static toObject(
|
|
3224
|
+
message: replit$goval$api$RiverMessage,
|
|
3225
|
+
options?: $protobuf.IConversionOptions
|
|
3226
|
+
): {|
|
|
3227
|
+
[k: string]: any,
|
|
3228
|
+
|};
|
|
3229
|
+
|
|
3230
|
+
/**
|
|
3231
|
+
* Converts this RiverMessage to JSON.
|
|
3232
|
+
* @returns JSON object
|
|
3233
|
+
*/
|
|
3234
|
+
toJSON(): {|
|
|
3235
|
+
[k: string]: any,
|
|
3236
|
+
|};
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Gets the default type url for RiverMessage
|
|
3240
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3241
|
+
* @returns The default type url
|
|
3242
|
+
*/
|
|
3243
|
+
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3033
3246
|
/**
|
|
3034
3247
|
* Properties of a NixPackageAddRequest.
|
|
3035
3248
|
*/
|
|
@@ -26049,6 +26262,16 @@ declare type replit$goval$api$IDeploymentConfig = {|
|
|
|
26049
26262
|
* DeploymentConfig publicDir
|
|
26050
26263
|
*/
|
|
26051
26264
|
publicDir?: string | null,
|
|
26265
|
+
|
|
26266
|
+
/**
|
|
26267
|
+
* DeploymentConfig rewrites
|
|
26268
|
+
*/
|
|
26269
|
+
rewrites?:
|
|
26270
|
+
| (
|
|
26271
|
+
| replit$goval$api$DeploymentConfig$RewriteRule
|
|
26272
|
+
| replit$goval$api$DeploymentConfig$IRewriteRule
|
|
26273
|
+
)[]
|
|
26274
|
+
| null,
|
|
26052
26275
|
|};
|
|
26053
26276
|
|
|
26054
26277
|
/**
|
|
@@ -26086,6 +26309,11 @@ declare class replit$goval$api$DeploymentConfig {
|
|
|
26086
26309
|
*/
|
|
26087
26310
|
publicDir: string;
|
|
26088
26311
|
|
|
26312
|
+
/**
|
|
26313
|
+
* DeploymentConfig rewrites.
|
|
26314
|
+
*/
|
|
26315
|
+
rewrites: replit$goval$api$DeploymentConfig$RewriteRule[];
|
|
26316
|
+
|
|
26089
26317
|
/**
|
|
26090
26318
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
26091
26319
|
* @param [properties] Properties to set
|
|
@@ -26187,6 +26415,8 @@ declare class replit$goval$api$DeploymentConfig {
|
|
|
26187
26415
|
*/
|
|
26188
26416
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26189
26417
|
static Target: typeof replit$goval$api$DeploymentConfig$Target;
|
|
26418
|
+
static IRewriteRule: Class<replit$goval$api$DeploymentConfig$IRewriteRule>;
|
|
26419
|
+
static RewriteRule: typeof replit$goval$api$DeploymentConfig$RewriteRule;
|
|
26190
26420
|
}
|
|
26191
26421
|
|
|
26192
26422
|
/**
|
|
@@ -26199,6 +26429,145 @@ declare var replit$goval$api$DeploymentConfig$Target: {|
|
|
|
26199
26429
|
+STATIC: 2, // 2
|
|
26200
26430
|
|};
|
|
26201
26431
|
|
|
26432
|
+
/**
|
|
26433
|
+
* Properties of a RewriteRule.
|
|
26434
|
+
*/
|
|
26435
|
+
declare type replit$goval$api$DeploymentConfig$IRewriteRule = {|
|
|
26436
|
+
/**
|
|
26437
|
+
* RewriteRule from
|
|
26438
|
+
*/
|
|
26439
|
+
from?: string | null,
|
|
26440
|
+
|
|
26441
|
+
/**
|
|
26442
|
+
* RewriteRule to
|
|
26443
|
+
*/
|
|
26444
|
+
to?: string | null,
|
|
26445
|
+
|};
|
|
26446
|
+
|
|
26447
|
+
/**
|
|
26448
|
+
* Represents a RewriteRule.
|
|
26449
|
+
*/
|
|
26450
|
+
declare class replit$goval$api$DeploymentConfig$RewriteRule {
|
|
26451
|
+
/**
|
|
26452
|
+
* Constructs a new RewriteRule.
|
|
26453
|
+
* @param [properties] Properties to set
|
|
26454
|
+
*/
|
|
26455
|
+
constructor(
|
|
26456
|
+
properties?: replit$goval$api$DeploymentConfig$IRewriteRule
|
|
26457
|
+
): this;
|
|
26458
|
+
|
|
26459
|
+
/**
|
|
26460
|
+
* RewriteRule from.
|
|
26461
|
+
*/
|
|
26462
|
+
from: string;
|
|
26463
|
+
|
|
26464
|
+
/**
|
|
26465
|
+
* RewriteRule to.
|
|
26466
|
+
*/
|
|
26467
|
+
to: string;
|
|
26468
|
+
|
|
26469
|
+
/**
|
|
26470
|
+
* Creates a new RewriteRule instance using the specified properties.
|
|
26471
|
+
* @param [properties] Properties to set
|
|
26472
|
+
* @returns RewriteRule instance
|
|
26473
|
+
*/
|
|
26474
|
+
static create(
|
|
26475
|
+
properties?: replit$goval$api$DeploymentConfig$IRewriteRule
|
|
26476
|
+
): replit$goval$api$DeploymentConfig$RewriteRule;
|
|
26477
|
+
|
|
26478
|
+
/**
|
|
26479
|
+
* [object Object],[object Object],[object Object]
|
|
26480
|
+
* @param message RewriteRule message or plain object to encode
|
|
26481
|
+
* @param [writer] Writer to encode to
|
|
26482
|
+
* @returns Writer
|
|
26483
|
+
*/
|
|
26484
|
+
static encode(
|
|
26485
|
+
message: replit$goval$api$DeploymentConfig$RewriteRule,
|
|
26486
|
+
writer?: $protobuf.Writer
|
|
26487
|
+
): $protobuf.Writer;
|
|
26488
|
+
|
|
26489
|
+
/**
|
|
26490
|
+
* [object Object],[object Object],[object Object]
|
|
26491
|
+
* @param message RewriteRule message or plain object to encode
|
|
26492
|
+
* @param [writer] Writer to encode to
|
|
26493
|
+
* @returns Writer
|
|
26494
|
+
*/
|
|
26495
|
+
static encodeDelimited(
|
|
26496
|
+
message: replit$goval$api$DeploymentConfig$RewriteRule,
|
|
26497
|
+
writer?: $protobuf.Writer
|
|
26498
|
+
): $protobuf.Writer;
|
|
26499
|
+
|
|
26500
|
+
/**
|
|
26501
|
+
* Decodes a RewriteRule message from the specified reader or buffer.
|
|
26502
|
+
* @param reader Reader or buffer to decode from
|
|
26503
|
+
* @param [length] Message length if known beforehand
|
|
26504
|
+
* @returns RewriteRule
|
|
26505
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26506
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26507
|
+
*/
|
|
26508
|
+
static decode(
|
|
26509
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
26510
|
+
length?: number
|
|
26511
|
+
): replit$goval$api$DeploymentConfig$RewriteRule;
|
|
26512
|
+
|
|
26513
|
+
/**
|
|
26514
|
+
* Decodes a RewriteRule message from the specified reader or buffer, length delimited.
|
|
26515
|
+
* @param reader Reader or buffer to decode from
|
|
26516
|
+
* @returns RewriteRule
|
|
26517
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26518
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26519
|
+
*/
|
|
26520
|
+
static decodeDelimited(
|
|
26521
|
+
reader: $protobuf.Reader | Uint8Array
|
|
26522
|
+
): replit$goval$api$DeploymentConfig$RewriteRule;
|
|
26523
|
+
|
|
26524
|
+
/**
|
|
26525
|
+
* Verifies a RewriteRule message.
|
|
26526
|
+
* @param message Plain object to verify
|
|
26527
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26528
|
+
*/
|
|
26529
|
+
static verify(message: {|
|
|
26530
|
+
[k: string]: any,
|
|
26531
|
+
|}): string | null;
|
|
26532
|
+
|
|
26533
|
+
/**
|
|
26534
|
+
* Creates a RewriteRule message from a plain object. Also converts values to their respective internal types.
|
|
26535
|
+
* @param object Plain object
|
|
26536
|
+
* @returns RewriteRule
|
|
26537
|
+
*/
|
|
26538
|
+
static fromObject(object: {|
|
|
26539
|
+
[k: string]: any,
|
|
26540
|
+
|}): replit$goval$api$DeploymentConfig$RewriteRule;
|
|
26541
|
+
|
|
26542
|
+
/**
|
|
26543
|
+
* Creates a plain object from a RewriteRule message. Also converts values to other types if specified.
|
|
26544
|
+
* @param message RewriteRule
|
|
26545
|
+
* @param [options] Conversion options
|
|
26546
|
+
* @returns Plain object
|
|
26547
|
+
*/
|
|
26548
|
+
static toObject(
|
|
26549
|
+
message: replit$goval$api$DeploymentConfig$RewriteRule,
|
|
26550
|
+
options?: $protobuf.IConversionOptions
|
|
26551
|
+
): {|
|
|
26552
|
+
[k: string]: any,
|
|
26553
|
+
|};
|
|
26554
|
+
|
|
26555
|
+
/**
|
|
26556
|
+
* Converts this RewriteRule to JSON.
|
|
26557
|
+
* @returns JSON object
|
|
26558
|
+
*/
|
|
26559
|
+
toJSON(): {|
|
|
26560
|
+
[k: string]: any,
|
|
26561
|
+
|};
|
|
26562
|
+
|
|
26563
|
+
/**
|
|
26564
|
+
* Gets the default type url for RewriteRule
|
|
26565
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26566
|
+
* @returns The default type url
|
|
26567
|
+
*/
|
|
26568
|
+
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26569
|
+
}
|
|
26570
|
+
|
|
26202
26571
|
/**
|
|
26203
26572
|
* Properties of an ExtensionConfig.
|
|
26204
26573
|
*/
|
|
@@ -33868,6 +34237,14 @@ declare type replit$goval$api$IReplToken = {|
|
|
|
33868
34237
|
| replit$goval$api$repl$BuildInfo
|
|
33869
34238
|
| replit$goval$api$repl$IBuildInfo
|
|
33870
34239
|
| null,
|
|
34240
|
+
|
|
34241
|
+
/**
|
|
34242
|
+
* ReplToken pid2Info
|
|
34243
|
+
*/
|
|
34244
|
+
pid2Info?:
|
|
34245
|
+
| replit$goval$api$repl$Pid2Binary
|
|
34246
|
+
| replit$goval$api$repl$IPid2Binary
|
|
34247
|
+
| null,
|
|
33871
34248
|
|};
|
|
33872
34249
|
|
|
33873
34250
|
/**
|
|
@@ -33960,6 +34337,11 @@ declare class replit$goval$api$ReplToken {
|
|
|
33960
34337
|
*/
|
|
33961
34338
|
buildInfo?: replit$goval$api$repl$BuildInfo | null;
|
|
33962
34339
|
|
|
34340
|
+
/**
|
|
34341
|
+
* ReplToken pid2Info.
|
|
34342
|
+
*/
|
|
34343
|
+
pid2Info?: replit$goval$api$repl$Pid2Binary | null;
|
|
34344
|
+
|
|
33963
34345
|
/**
|
|
33964
34346
|
* ReplToken metadata.
|
|
33965
34347
|
*/
|
|
@@ -39032,6 +39414,7 @@ declare var npm$namespace$replit$goval$api$repl: {|
|
|
|
39032
39414
|
IPermissions: Class<replit$goval$api$repl$IPermissions>,
|
|
39033
39415
|
IMetadata: Class<replit$goval$api$repl$IMetadata>,
|
|
39034
39416
|
IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
|
|
39417
|
+
IPid2Binary: Class<replit$goval$api$repl$IPid2Binary>,
|
|
39035
39418
|
Buckets: typeof replit$goval$api$repl$Buckets,
|
|
39036
39419
|
Repl: typeof replit$goval$api$repl$Repl,
|
|
39037
39420
|
UserId: typeof replit$goval$api$repl$UserId,
|
|
@@ -39039,6 +39422,7 @@ declare var npm$namespace$replit$goval$api$repl: {|
|
|
|
39039
39422
|
Permissions: typeof replit$goval$api$repl$Permissions,
|
|
39040
39423
|
Metadata: typeof replit$goval$api$repl$Metadata,
|
|
39041
39424
|
BuildInfo: typeof replit$goval$api$repl$BuildInfo,
|
|
39425
|
+
Pid2Binary: typeof replit$goval$api$repl$Pid2Binary,
|
|
39042
39426
|
|};
|
|
39043
39427
|
|
|
39044
39428
|
/**
|
|
@@ -40310,6 +40694,133 @@ declare class replit$goval$api$repl$BuildInfo {
|
|
|
40310
40694
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
40311
40695
|
}
|
|
40312
40696
|
|
|
40697
|
+
/**
|
|
40698
|
+
* Properties of a Pid2Binary.
|
|
40699
|
+
*/
|
|
40700
|
+
declare type replit$goval$api$repl$IPid2Binary = {|
|
|
40701
|
+
/**
|
|
40702
|
+
* Pid2Binary version
|
|
40703
|
+
*/
|
|
40704
|
+
version?: string | null,
|
|
40705
|
+
|};
|
|
40706
|
+
|
|
40707
|
+
/**
|
|
40708
|
+
* Represents a Pid2Binary.
|
|
40709
|
+
*/
|
|
40710
|
+
declare class replit$goval$api$repl$Pid2Binary {
|
|
40711
|
+
/**
|
|
40712
|
+
* Constructs a new Pid2Binary.
|
|
40713
|
+
* @param [properties] Properties to set
|
|
40714
|
+
*/
|
|
40715
|
+
constructor(properties?: replit$goval$api$repl$IPid2Binary): this;
|
|
40716
|
+
|
|
40717
|
+
/**
|
|
40718
|
+
* Pid2Binary version.
|
|
40719
|
+
*/
|
|
40720
|
+
version: string;
|
|
40721
|
+
|
|
40722
|
+
/**
|
|
40723
|
+
* Creates a new Pid2Binary instance using the specified properties.
|
|
40724
|
+
* @param [properties] Properties to set
|
|
40725
|
+
* @returns Pid2Binary instance
|
|
40726
|
+
*/
|
|
40727
|
+
static create(
|
|
40728
|
+
properties?: replit$goval$api$repl$IPid2Binary
|
|
40729
|
+
): replit$goval$api$repl$Pid2Binary;
|
|
40730
|
+
|
|
40731
|
+
/**
|
|
40732
|
+
* [object Object],[object Object],[object Object]
|
|
40733
|
+
* @param message Pid2Binary message or plain object to encode
|
|
40734
|
+
* @param [writer] Writer to encode to
|
|
40735
|
+
* @returns Writer
|
|
40736
|
+
*/
|
|
40737
|
+
static encode(
|
|
40738
|
+
message: replit$goval$api$repl$Pid2Binary,
|
|
40739
|
+
writer?: $protobuf.Writer
|
|
40740
|
+
): $protobuf.Writer;
|
|
40741
|
+
|
|
40742
|
+
/**
|
|
40743
|
+
* [object Object],[object Object],[object Object]
|
|
40744
|
+
* @param message Pid2Binary message or plain object to encode
|
|
40745
|
+
* @param [writer] Writer to encode to
|
|
40746
|
+
* @returns Writer
|
|
40747
|
+
*/
|
|
40748
|
+
static encodeDelimited(
|
|
40749
|
+
message: replit$goval$api$repl$Pid2Binary,
|
|
40750
|
+
writer?: $protobuf.Writer
|
|
40751
|
+
): $protobuf.Writer;
|
|
40752
|
+
|
|
40753
|
+
/**
|
|
40754
|
+
* Decodes a Pid2Binary message from the specified reader or buffer.
|
|
40755
|
+
* @param reader Reader or buffer to decode from
|
|
40756
|
+
* @param [length] Message length if known beforehand
|
|
40757
|
+
* @returns Pid2Binary
|
|
40758
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40759
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40760
|
+
*/
|
|
40761
|
+
static decode(
|
|
40762
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
40763
|
+
length?: number
|
|
40764
|
+
): replit$goval$api$repl$Pid2Binary;
|
|
40765
|
+
|
|
40766
|
+
/**
|
|
40767
|
+
* Decodes a Pid2Binary message from the specified reader or buffer, length delimited.
|
|
40768
|
+
* @param reader Reader or buffer to decode from
|
|
40769
|
+
* @returns Pid2Binary
|
|
40770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40772
|
+
*/
|
|
40773
|
+
static decodeDelimited(
|
|
40774
|
+
reader: $protobuf.Reader | Uint8Array
|
|
40775
|
+
): replit$goval$api$repl$Pid2Binary;
|
|
40776
|
+
|
|
40777
|
+
/**
|
|
40778
|
+
* Verifies a Pid2Binary message.
|
|
40779
|
+
* @param message Plain object to verify
|
|
40780
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
40781
|
+
*/
|
|
40782
|
+
static verify(message: {|
|
|
40783
|
+
[k: string]: any,
|
|
40784
|
+
|}): string | null;
|
|
40785
|
+
|
|
40786
|
+
/**
|
|
40787
|
+
* Creates a Pid2Binary message from a plain object. Also converts values to their respective internal types.
|
|
40788
|
+
* @param object Plain object
|
|
40789
|
+
* @returns Pid2Binary
|
|
40790
|
+
*/
|
|
40791
|
+
static fromObject(object: {|
|
|
40792
|
+
[k: string]: any,
|
|
40793
|
+
|}): replit$goval$api$repl$Pid2Binary;
|
|
40794
|
+
|
|
40795
|
+
/**
|
|
40796
|
+
* Creates a plain object from a Pid2Binary message. Also converts values to other types if specified.
|
|
40797
|
+
* @param message Pid2Binary
|
|
40798
|
+
* @param [options] Conversion options
|
|
40799
|
+
* @returns Plain object
|
|
40800
|
+
*/
|
|
40801
|
+
static toObject(
|
|
40802
|
+
message: replit$goval$api$repl$Pid2Binary,
|
|
40803
|
+
options?: $protobuf.IConversionOptions
|
|
40804
|
+
): {|
|
|
40805
|
+
[k: string]: any,
|
|
40806
|
+
|};
|
|
40807
|
+
|
|
40808
|
+
/**
|
|
40809
|
+
* Converts this Pid2Binary to JSON.
|
|
40810
|
+
* @returns JSON object
|
|
40811
|
+
*/
|
|
40812
|
+
toJSON(): {|
|
|
40813
|
+
[k: string]: any,
|
|
40814
|
+
|};
|
|
40815
|
+
|
|
40816
|
+
/**
|
|
40817
|
+
* Gets the default type url for Pid2Binary
|
|
40818
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
40819
|
+
* @returns The default type url
|
|
40820
|
+
*/
|
|
40821
|
+
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
40822
|
+
}
|
|
40823
|
+
|
|
40313
40824
|
/**
|
|
40314
40825
|
* Properties of a PrivateReplsPowerup.
|
|
40315
40826
|
*/
|