@replit/protocol 0.4.8 → 0.4.10
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/README.md +9 -20
- package/main/index.d.ts +352 -25
- package/main/index.js +943 -95
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
|
-
# Developing
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
cd goval
|
|
6
|
-
# checkout your branch with api protocol changes
|
|
7
|
-
cd $REPL_HOME/goval/api/npm
|
|
8
|
-
npm run build
|
|
9
|
-
cd $REPL_HOME
|
|
10
|
-
```
|
|
1
|
+
# Developing
|
|
2
|
+
* Change goval/api/types.proto
|
|
3
|
+
* In this directory:
|
|
4
|
+
* `npm run build`
|
|
11
5
|
* Change repl-it-web/package.json:
|
|
12
6
|
```
|
|
13
|
-
"@replit/protocol": "^0.
|
|
7
|
+
"@replit/protocol": "^0.4.9",
|
|
14
8
|
```
|
|
15
9
|
to
|
|
16
10
|
```
|
|
17
|
-
"@replit/protocol": "
|
|
11
|
+
"@replit/protocol": "file:../goval/api/npm",
|
|
18
12
|
```
|
|
19
|
-
|
|
20
|
-
# Developing
|
|
21
|
-
* Change goval/api/types.proto
|
|
22
|
-
* In this directory:
|
|
23
|
-
* `npm run build`
|
|
24
|
-
* Change repl-it-web/package.json:
|
|
13
|
+
* Also change repl-it-web/shared/package.json:
|
|
25
14
|
```
|
|
26
|
-
"@replit/protocol": "^0.
|
|
15
|
+
"@replit/protocol": "^0.4.9",
|
|
27
16
|
```
|
|
28
17
|
to
|
|
29
18
|
```
|
|
30
|
-
"@replit/protocol": "
|
|
19
|
+
"@replit/protocol": "file:../../goval/api/npm",
|
|
31
20
|
```
|
|
32
21
|
|
|
33
22
|
# Publishing
|
package/main/index.d.ts
CHANGED
|
@@ -1908,6 +1908,15 @@ export namespace replit {
|
|
|
1908
1908
|
|
|
1909
1909
|
/** NixPackage present */
|
|
1910
1910
|
present?: (boolean|null);
|
|
1911
|
+
|
|
1912
|
+
/** NixPackage storePaths */
|
|
1913
|
+
storePaths?: ({ [k: string]: string }|null);
|
|
1914
|
+
|
|
1915
|
+
/** NixPackage propagatedBuildInputs */
|
|
1916
|
+
propagatedBuildInputs?: (string[]|null);
|
|
1917
|
+
|
|
1918
|
+
/** NixPackage propagatedNativeBuildInputs */
|
|
1919
|
+
propagatedNativeBuildInputs?: (string[]|null);
|
|
1911
1920
|
}
|
|
1912
1921
|
|
|
1913
1922
|
/** Represents a NixPackage. */
|
|
@@ -1940,6 +1949,15 @@ export namespace replit {
|
|
|
1940
1949
|
/** NixPackage present. */
|
|
1941
1950
|
public present: boolean;
|
|
1942
1951
|
|
|
1952
|
+
/** NixPackage storePaths. */
|
|
1953
|
+
public storePaths: { [k: string]: string };
|
|
1954
|
+
|
|
1955
|
+
/** NixPackage propagatedBuildInputs. */
|
|
1956
|
+
public propagatedBuildInputs: string[];
|
|
1957
|
+
|
|
1958
|
+
/** NixPackage propagatedNativeBuildInputs. */
|
|
1959
|
+
public propagatedNativeBuildInputs: string[];
|
|
1960
|
+
|
|
1943
1961
|
/**
|
|
1944
1962
|
* Creates a new NixPackage instance using the specified properties.
|
|
1945
1963
|
* @param [properties] Properties to set
|
|
@@ -20301,6 +20319,103 @@ export namespace replit {
|
|
|
20301
20319
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20302
20320
|
}
|
|
20303
20321
|
|
|
20322
|
+
/** Properties of an InterpConfig. */
|
|
20323
|
+
interface IInterpConfig {
|
|
20324
|
+
|
|
20325
|
+
/** InterpConfig command */
|
|
20326
|
+
command?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
20327
|
+
}
|
|
20328
|
+
|
|
20329
|
+
/** Represents an InterpConfig. */
|
|
20330
|
+
class InterpConfig {
|
|
20331
|
+
|
|
20332
|
+
/**
|
|
20333
|
+
* Constructs a new InterpConfig.
|
|
20334
|
+
* @param [properties] Properties to set
|
|
20335
|
+
*/
|
|
20336
|
+
private constructor(properties?: replit.goval.api.IInterpConfig);
|
|
20337
|
+
|
|
20338
|
+
/** InterpConfig command. */
|
|
20339
|
+
public command?: (replit.goval.api.Exec|null);
|
|
20340
|
+
|
|
20341
|
+
/**
|
|
20342
|
+
* Creates a new InterpConfig instance using the specified properties.
|
|
20343
|
+
* @param [properties] Properties to set
|
|
20344
|
+
* @returns InterpConfig instance
|
|
20345
|
+
*/
|
|
20346
|
+
public static create(properties?: replit.goval.api.IInterpConfig): replit.goval.api.InterpConfig;
|
|
20347
|
+
|
|
20348
|
+
/**
|
|
20349
|
+
* Encodes the specified InterpConfig message. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
20350
|
+
* @param message InterpConfig message or plain object to encode
|
|
20351
|
+
* @param [writer] Writer to encode to
|
|
20352
|
+
* @returns Writer
|
|
20353
|
+
*/
|
|
20354
|
+
public static encode(message: replit.goval.api.InterpConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20355
|
+
|
|
20356
|
+
/**
|
|
20357
|
+
* Encodes the specified InterpConfig message, length delimited. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
20358
|
+
* @param message InterpConfig message or plain object to encode
|
|
20359
|
+
* @param [writer] Writer to encode to
|
|
20360
|
+
* @returns Writer
|
|
20361
|
+
*/
|
|
20362
|
+
public static encodeDelimited(message: replit.goval.api.InterpConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20363
|
+
|
|
20364
|
+
/**
|
|
20365
|
+
* Decodes an InterpConfig message from the specified reader or buffer.
|
|
20366
|
+
* @param reader Reader or buffer to decode from
|
|
20367
|
+
* @param [length] Message length if known beforehand
|
|
20368
|
+
* @returns InterpConfig
|
|
20369
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20370
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20371
|
+
*/
|
|
20372
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.InterpConfig;
|
|
20373
|
+
|
|
20374
|
+
/**
|
|
20375
|
+
* Decodes an InterpConfig message from the specified reader or buffer, length delimited.
|
|
20376
|
+
* @param reader Reader or buffer to decode from
|
|
20377
|
+
* @returns InterpConfig
|
|
20378
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20379
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20380
|
+
*/
|
|
20381
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.InterpConfig;
|
|
20382
|
+
|
|
20383
|
+
/**
|
|
20384
|
+
* Verifies an InterpConfig message.
|
|
20385
|
+
* @param message Plain object to verify
|
|
20386
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20387
|
+
*/
|
|
20388
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20389
|
+
|
|
20390
|
+
/**
|
|
20391
|
+
* Creates an InterpConfig message from a plain object. Also converts values to their respective internal types.
|
|
20392
|
+
* @param object Plain object
|
|
20393
|
+
* @returns InterpConfig
|
|
20394
|
+
*/
|
|
20395
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.InterpConfig;
|
|
20396
|
+
|
|
20397
|
+
/**
|
|
20398
|
+
* Creates a plain object from an InterpConfig message. Also converts values to other types if specified.
|
|
20399
|
+
* @param message InterpConfig
|
|
20400
|
+
* @param [options] Conversion options
|
|
20401
|
+
* @returns Plain object
|
|
20402
|
+
*/
|
|
20403
|
+
public static toObject(message: replit.goval.api.InterpConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20404
|
+
|
|
20405
|
+
/**
|
|
20406
|
+
* Converts this InterpConfig to JSON.
|
|
20407
|
+
* @returns JSON object
|
|
20408
|
+
*/
|
|
20409
|
+
public toJSON(): { [k: string]: any };
|
|
20410
|
+
|
|
20411
|
+
/**
|
|
20412
|
+
* Gets the default type url for InterpConfig
|
|
20413
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20414
|
+
* @returns The default type url
|
|
20415
|
+
*/
|
|
20416
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20417
|
+
}
|
|
20418
|
+
|
|
20304
20419
|
/** Properties of a DapConfig. */
|
|
20305
20420
|
interface IDapConfig {
|
|
20306
20421
|
|
|
@@ -24445,6 +24560,9 @@ export namespace replit {
|
|
|
24445
24560
|
|
|
24446
24561
|
/** RunOption defaultEntrypoints */
|
|
24447
24562
|
defaultEntrypoints?: (string[]|null);
|
|
24563
|
+
|
|
24564
|
+
/** RunOption interp */
|
|
24565
|
+
interp?: (replit.goval.api.InterpConfig|replit.goval.api.IInterpConfig|null);
|
|
24448
24566
|
}
|
|
24449
24567
|
|
|
24450
24568
|
/** Represents a RunOption. */
|
|
@@ -24489,6 +24607,9 @@ export namespace replit {
|
|
|
24489
24607
|
/** RunOption defaultEntrypoints. */
|
|
24490
24608
|
public defaultEntrypoints: string[];
|
|
24491
24609
|
|
|
24610
|
+
/** RunOption interp. */
|
|
24611
|
+
public interp?: (replit.goval.api.InterpConfig|null);
|
|
24612
|
+
|
|
24492
24613
|
/**
|
|
24493
24614
|
* Creates a new RunOption instance using the specified properties.
|
|
24494
24615
|
* @param [properties] Properties to set
|
|
@@ -30164,6 +30285,12 @@ export namespace replit {
|
|
|
30164
30285
|
|
|
30165
30286
|
/** GovalCommand startViktor */
|
|
30166
30287
|
startViktor?: (replit.goval.api.lore.StartViktor|replit.goval.api.lore.IStartViktor|null);
|
|
30288
|
+
|
|
30289
|
+
/** GovalCommand addTokenToReplShieldAllowList */
|
|
30290
|
+
addTokenToReplShieldAllowList?: (replit.goval.api.lore.AddTokenToReplShieldAllowList|replit.goval.api.lore.IAddTokenToReplShieldAllowList|null);
|
|
30291
|
+
|
|
30292
|
+
/** GovalCommand revokeUserReplShieldTokens */
|
|
30293
|
+
revokeUserReplShieldTokens?: (replit.goval.api.lore.RevokeUserReplShieldTokens|replit.goval.api.lore.IRevokeUserReplShieldTokens|null);
|
|
30167
30294
|
}
|
|
30168
30295
|
|
|
30169
30296
|
/** Represents a GovalCommand. */
|
|
@@ -30199,8 +30326,14 @@ export namespace replit {
|
|
|
30199
30326
|
/** GovalCommand startViktor. */
|
|
30200
30327
|
public startViktor?: (replit.goval.api.lore.StartViktor|null);
|
|
30201
30328
|
|
|
30329
|
+
/** GovalCommand addTokenToReplShieldAllowList. */
|
|
30330
|
+
public addTokenToReplShieldAllowList?: (replit.goval.api.lore.AddTokenToReplShieldAllowList|null);
|
|
30331
|
+
|
|
30332
|
+
/** GovalCommand revokeUserReplShieldTokens. */
|
|
30333
|
+
public revokeUserReplShieldTokens?: (replit.goval.api.lore.RevokeUserReplShieldTokens|null);
|
|
30334
|
+
|
|
30202
30335
|
/** GovalCommand command. */
|
|
30203
|
-
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor");
|
|
30336
|
+
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor"|"addTokenToReplShieldAllowList"|"revokeUserReplShieldTokens");
|
|
30204
30337
|
|
|
30205
30338
|
/**
|
|
30206
30339
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -30886,6 +31019,212 @@ export namespace replit {
|
|
|
30886
31019
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30887
31020
|
}
|
|
30888
31021
|
|
|
31022
|
+
/** Properties of an AddTokenToReplShieldAllowList. */
|
|
31023
|
+
interface IAddTokenToReplShieldAllowList {
|
|
31024
|
+
|
|
31025
|
+
/** AddTokenToReplShieldAllowList replId */
|
|
31026
|
+
replId?: (string|null);
|
|
31027
|
+
|
|
31028
|
+
/** AddTokenToReplShieldAllowList token */
|
|
31029
|
+
token?: (string|null);
|
|
31030
|
+
}
|
|
31031
|
+
|
|
31032
|
+
/** Represents an AddTokenToReplShieldAllowList. */
|
|
31033
|
+
class AddTokenToReplShieldAllowList {
|
|
31034
|
+
|
|
31035
|
+
/**
|
|
31036
|
+
* Constructs a new AddTokenToReplShieldAllowList.
|
|
31037
|
+
* @param [properties] Properties to set
|
|
31038
|
+
*/
|
|
31039
|
+
private constructor(properties?: replit.goval.api.lore.IAddTokenToReplShieldAllowList);
|
|
31040
|
+
|
|
31041
|
+
/** AddTokenToReplShieldAllowList replId. */
|
|
31042
|
+
public replId: string;
|
|
31043
|
+
|
|
31044
|
+
/** AddTokenToReplShieldAllowList token. */
|
|
31045
|
+
public token: string;
|
|
31046
|
+
|
|
31047
|
+
/**
|
|
31048
|
+
* Creates a new AddTokenToReplShieldAllowList instance using the specified properties.
|
|
31049
|
+
* @param [properties] Properties to set
|
|
31050
|
+
* @returns AddTokenToReplShieldAllowList instance
|
|
31051
|
+
*/
|
|
31052
|
+
public static create(properties?: replit.goval.api.lore.IAddTokenToReplShieldAllowList): replit.goval.api.lore.AddTokenToReplShieldAllowList;
|
|
31053
|
+
|
|
31054
|
+
/**
|
|
31055
|
+
* Encodes the specified AddTokenToReplShieldAllowList message. Does not implicitly {@link replit.goval.api.lore.AddTokenToReplShieldAllowList.verify|verify} messages.
|
|
31056
|
+
* @param message AddTokenToReplShieldAllowList message or plain object to encode
|
|
31057
|
+
* @param [writer] Writer to encode to
|
|
31058
|
+
* @returns Writer
|
|
31059
|
+
*/
|
|
31060
|
+
public static encode(message: replit.goval.api.lore.AddTokenToReplShieldAllowList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31061
|
+
|
|
31062
|
+
/**
|
|
31063
|
+
* Encodes the specified AddTokenToReplShieldAllowList message, length delimited. Does not implicitly {@link replit.goval.api.lore.AddTokenToReplShieldAllowList.verify|verify} messages.
|
|
31064
|
+
* @param message AddTokenToReplShieldAllowList message or plain object to encode
|
|
31065
|
+
* @param [writer] Writer to encode to
|
|
31066
|
+
* @returns Writer
|
|
31067
|
+
*/
|
|
31068
|
+
public static encodeDelimited(message: replit.goval.api.lore.AddTokenToReplShieldAllowList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31069
|
+
|
|
31070
|
+
/**
|
|
31071
|
+
* Decodes an AddTokenToReplShieldAllowList message from the specified reader or buffer.
|
|
31072
|
+
* @param reader Reader or buffer to decode from
|
|
31073
|
+
* @param [length] Message length if known beforehand
|
|
31074
|
+
* @returns AddTokenToReplShieldAllowList
|
|
31075
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31076
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31077
|
+
*/
|
|
31078
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.AddTokenToReplShieldAllowList;
|
|
31079
|
+
|
|
31080
|
+
/**
|
|
31081
|
+
* Decodes an AddTokenToReplShieldAllowList message from the specified reader or buffer, length delimited.
|
|
31082
|
+
* @param reader Reader or buffer to decode from
|
|
31083
|
+
* @returns AddTokenToReplShieldAllowList
|
|
31084
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31085
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31086
|
+
*/
|
|
31087
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.AddTokenToReplShieldAllowList;
|
|
31088
|
+
|
|
31089
|
+
/**
|
|
31090
|
+
* Verifies an AddTokenToReplShieldAllowList message.
|
|
31091
|
+
* @param message Plain object to verify
|
|
31092
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
31093
|
+
*/
|
|
31094
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
31095
|
+
|
|
31096
|
+
/**
|
|
31097
|
+
* Creates an AddTokenToReplShieldAllowList message from a plain object. Also converts values to their respective internal types.
|
|
31098
|
+
* @param object Plain object
|
|
31099
|
+
* @returns AddTokenToReplShieldAllowList
|
|
31100
|
+
*/
|
|
31101
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.AddTokenToReplShieldAllowList;
|
|
31102
|
+
|
|
31103
|
+
/**
|
|
31104
|
+
* Creates a plain object from an AddTokenToReplShieldAllowList message. Also converts values to other types if specified.
|
|
31105
|
+
* @param message AddTokenToReplShieldAllowList
|
|
31106
|
+
* @param [options] Conversion options
|
|
31107
|
+
* @returns Plain object
|
|
31108
|
+
*/
|
|
31109
|
+
public static toObject(message: replit.goval.api.lore.AddTokenToReplShieldAllowList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31110
|
+
|
|
31111
|
+
/**
|
|
31112
|
+
* Converts this AddTokenToReplShieldAllowList to JSON.
|
|
31113
|
+
* @returns JSON object
|
|
31114
|
+
*/
|
|
31115
|
+
public toJSON(): { [k: string]: any };
|
|
31116
|
+
|
|
31117
|
+
/**
|
|
31118
|
+
* Gets the default type url for AddTokenToReplShieldAllowList
|
|
31119
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31120
|
+
* @returns The default type url
|
|
31121
|
+
*/
|
|
31122
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31123
|
+
}
|
|
31124
|
+
|
|
31125
|
+
/** Properties of a RevokeUserReplShieldTokens. */
|
|
31126
|
+
interface IRevokeUserReplShieldTokens {
|
|
31127
|
+
|
|
31128
|
+
/** RevokeUserReplShieldTokens userId */
|
|
31129
|
+
userId?: (number|null);
|
|
31130
|
+
|
|
31131
|
+
/** RevokeUserReplShieldTokens token */
|
|
31132
|
+
token?: (string|null);
|
|
31133
|
+
}
|
|
31134
|
+
|
|
31135
|
+
/** Represents a RevokeUserReplShieldTokens. */
|
|
31136
|
+
class RevokeUserReplShieldTokens {
|
|
31137
|
+
|
|
31138
|
+
/**
|
|
31139
|
+
* Constructs a new RevokeUserReplShieldTokens.
|
|
31140
|
+
* @param [properties] Properties to set
|
|
31141
|
+
*/
|
|
31142
|
+
private constructor(properties?: replit.goval.api.lore.IRevokeUserReplShieldTokens);
|
|
31143
|
+
|
|
31144
|
+
/** RevokeUserReplShieldTokens userId. */
|
|
31145
|
+
public userId: number;
|
|
31146
|
+
|
|
31147
|
+
/** RevokeUserReplShieldTokens token. */
|
|
31148
|
+
public token: string;
|
|
31149
|
+
|
|
31150
|
+
/**
|
|
31151
|
+
* Creates a new RevokeUserReplShieldTokens instance using the specified properties.
|
|
31152
|
+
* @param [properties] Properties to set
|
|
31153
|
+
* @returns RevokeUserReplShieldTokens instance
|
|
31154
|
+
*/
|
|
31155
|
+
public static create(properties?: replit.goval.api.lore.IRevokeUserReplShieldTokens): replit.goval.api.lore.RevokeUserReplShieldTokens;
|
|
31156
|
+
|
|
31157
|
+
/**
|
|
31158
|
+
* Encodes the specified RevokeUserReplShieldTokens message. Does not implicitly {@link replit.goval.api.lore.RevokeUserReplShieldTokens.verify|verify} messages.
|
|
31159
|
+
* @param message RevokeUserReplShieldTokens message or plain object to encode
|
|
31160
|
+
* @param [writer] Writer to encode to
|
|
31161
|
+
* @returns Writer
|
|
31162
|
+
*/
|
|
31163
|
+
public static encode(message: replit.goval.api.lore.RevokeUserReplShieldTokens, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31164
|
+
|
|
31165
|
+
/**
|
|
31166
|
+
* Encodes the specified RevokeUserReplShieldTokens message, length delimited. Does not implicitly {@link replit.goval.api.lore.RevokeUserReplShieldTokens.verify|verify} messages.
|
|
31167
|
+
* @param message RevokeUserReplShieldTokens message or plain object to encode
|
|
31168
|
+
* @param [writer] Writer to encode to
|
|
31169
|
+
* @returns Writer
|
|
31170
|
+
*/
|
|
31171
|
+
public static encodeDelimited(message: replit.goval.api.lore.RevokeUserReplShieldTokens, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31172
|
+
|
|
31173
|
+
/**
|
|
31174
|
+
* Decodes a RevokeUserReplShieldTokens message from the specified reader or buffer.
|
|
31175
|
+
* @param reader Reader or buffer to decode from
|
|
31176
|
+
* @param [length] Message length if known beforehand
|
|
31177
|
+
* @returns RevokeUserReplShieldTokens
|
|
31178
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31179
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31180
|
+
*/
|
|
31181
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.RevokeUserReplShieldTokens;
|
|
31182
|
+
|
|
31183
|
+
/**
|
|
31184
|
+
* Decodes a RevokeUserReplShieldTokens message from the specified reader or buffer, length delimited.
|
|
31185
|
+
* @param reader Reader or buffer to decode from
|
|
31186
|
+
* @returns RevokeUserReplShieldTokens
|
|
31187
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31188
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31189
|
+
*/
|
|
31190
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.RevokeUserReplShieldTokens;
|
|
31191
|
+
|
|
31192
|
+
/**
|
|
31193
|
+
* Verifies a RevokeUserReplShieldTokens message.
|
|
31194
|
+
* @param message Plain object to verify
|
|
31195
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
31196
|
+
*/
|
|
31197
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
31198
|
+
|
|
31199
|
+
/**
|
|
31200
|
+
* Creates a RevokeUserReplShieldTokens message from a plain object. Also converts values to their respective internal types.
|
|
31201
|
+
* @param object Plain object
|
|
31202
|
+
* @returns RevokeUserReplShieldTokens
|
|
31203
|
+
*/
|
|
31204
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.RevokeUserReplShieldTokens;
|
|
31205
|
+
|
|
31206
|
+
/**
|
|
31207
|
+
* Creates a plain object from a RevokeUserReplShieldTokens message. Also converts values to other types if specified.
|
|
31208
|
+
* @param message RevokeUserReplShieldTokens
|
|
31209
|
+
* @param [options] Conversion options
|
|
31210
|
+
* @returns Plain object
|
|
31211
|
+
*/
|
|
31212
|
+
public static toObject(message: replit.goval.api.lore.RevokeUserReplShieldTokens, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31213
|
+
|
|
31214
|
+
/**
|
|
31215
|
+
* Converts this RevokeUserReplShieldTokens to JSON.
|
|
31216
|
+
* @returns JSON object
|
|
31217
|
+
*/
|
|
31218
|
+
public toJSON(): { [k: string]: any };
|
|
31219
|
+
|
|
31220
|
+
/**
|
|
31221
|
+
* Gets the default type url for RevokeUserReplShieldTokens
|
|
31222
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31223
|
+
* @returns The default type url
|
|
31224
|
+
*/
|
|
31225
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31226
|
+
}
|
|
31227
|
+
|
|
30889
31228
|
/** Properties of a Buckets. */
|
|
30890
31229
|
interface IBuckets {
|
|
30891
31230
|
|
|
@@ -31009,9 +31348,6 @@ export namespace replit {
|
|
|
31009
31348
|
|
|
31010
31349
|
/** Repl user */
|
|
31011
31350
|
user?: (string|null);
|
|
31012
|
-
|
|
31013
|
-
/** Repl slug */
|
|
31014
|
-
slug?: (string|null);
|
|
31015
31351
|
}
|
|
31016
31352
|
|
|
31017
31353
|
/** Represents a Repl. */
|
|
@@ -31029,9 +31365,6 @@ export namespace replit {
|
|
|
31029
31365
|
/** Repl user. */
|
|
31030
31366
|
public user: string;
|
|
31031
31367
|
|
|
31032
|
-
/** Repl slug. */
|
|
31033
|
-
public slug: string;
|
|
31034
|
-
|
|
31035
31368
|
/**
|
|
31036
31369
|
* Creates a new Repl instance using the specified properties.
|
|
31037
31370
|
* @param [properties] Properties to set
|
|
@@ -31121,6 +31454,9 @@ export namespace replit {
|
|
|
31121
31454
|
|
|
31122
31455
|
/** Cluster gurl */
|
|
31123
31456
|
gurl?: (string|null);
|
|
31457
|
+
|
|
31458
|
+
/** Cluster noxHost */
|
|
31459
|
+
noxHost?: (string|null);
|
|
31124
31460
|
}
|
|
31125
31461
|
|
|
31126
31462
|
/** Represents a Cluster. */
|
|
@@ -31141,6 +31477,9 @@ export namespace replit {
|
|
|
31141
31477
|
/** Cluster gurl. */
|
|
31142
31478
|
public gurl: string;
|
|
31143
31479
|
|
|
31480
|
+
/** Cluster noxHost. */
|
|
31481
|
+
public noxHost: string;
|
|
31482
|
+
|
|
31144
31483
|
/**
|
|
31145
31484
|
* Creates a new Cluster instance using the specified properties.
|
|
31146
31485
|
* @param [properties] Properties to set
|
|
@@ -31368,9 +31707,6 @@ export namespace replit {
|
|
|
31368
31707
|
|
|
31369
31708
|
/** Repl user */
|
|
31370
31709
|
user?: (string|null);
|
|
31371
|
-
|
|
31372
|
-
/** Repl slug */
|
|
31373
|
-
slug?: (string|null);
|
|
31374
31710
|
}
|
|
31375
31711
|
|
|
31376
31712
|
/** Represents a Repl. */
|
|
@@ -31388,9 +31724,6 @@ export namespace replit {
|
|
|
31388
31724
|
/** Repl user. */
|
|
31389
31725
|
public user: string;
|
|
31390
31726
|
|
|
31391
|
-
/** Repl slug. */
|
|
31392
|
-
public slug: string;
|
|
31393
|
-
|
|
31394
31727
|
/**
|
|
31395
31728
|
* Creates a new Repl instance using the specified properties.
|
|
31396
31729
|
* @param [properties] Properties to set
|
|
@@ -32303,9 +32636,6 @@ export namespace replit {
|
|
|
32303
32636
|
/** GetReplConnectionInfoRequest replId */
|
|
32304
32637
|
replId?: (string|null);
|
|
32305
32638
|
|
|
32306
|
-
/** GetReplConnectionInfoRequest slug */
|
|
32307
|
-
slug?: (string|null);
|
|
32308
|
-
|
|
32309
32639
|
/** GetReplConnectionInfoRequest user */
|
|
32310
32640
|
user?: (string|null);
|
|
32311
32641
|
|
|
@@ -32337,9 +32667,6 @@ export namespace replit {
|
|
|
32337
32667
|
/** GetReplConnectionInfoRequest replId. */
|
|
32338
32668
|
public replId: string;
|
|
32339
32669
|
|
|
32340
|
-
/** GetReplConnectionInfoRequest slug. */
|
|
32341
|
-
public slug: string;
|
|
32342
|
-
|
|
32343
32670
|
/** GetReplConnectionInfoRequest user. */
|
|
32344
32671
|
public user: string;
|
|
32345
32672
|
|
|
@@ -35018,9 +35345,6 @@ export namespace replit {
|
|
|
35018
35345
|
/** ImportReplRequest username */
|
|
35019
35346
|
username?: (string|null);
|
|
35020
35347
|
|
|
35021
|
-
/** ImportReplRequest slug */
|
|
35022
|
-
slug?: (string|null);
|
|
35023
|
-
|
|
35024
35348
|
/** ImportReplRequest replLocation */
|
|
35025
35349
|
replLocation?: (replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null);
|
|
35026
35350
|
|
|
@@ -35043,9 +35367,6 @@ export namespace replit {
|
|
|
35043
35367
|
/** ImportReplRequest username. */
|
|
35044
35368
|
public username: string;
|
|
35045
35369
|
|
|
35046
|
-
/** ImportReplRequest slug. */
|
|
35047
|
-
public slug: string;
|
|
35048
|
-
|
|
35049
35370
|
/** ImportReplRequest replLocation. */
|
|
35050
35371
|
public replLocation?: (replit.goval.api.lore.ReplLocation|null);
|
|
35051
35372
|
|
|
@@ -36009,6 +36330,9 @@ export namespace replit {
|
|
|
36009
36330
|
|
|
36010
36331
|
/** Repl logFields */
|
|
36011
36332
|
logFields?: (string|null);
|
|
36333
|
+
|
|
36334
|
+
/** Repl useReplShield */
|
|
36335
|
+
useReplShield?: (boolean|null);
|
|
36012
36336
|
}
|
|
36013
36337
|
|
|
36014
36338
|
/** Represents a Repl. */
|
|
@@ -36059,6 +36383,9 @@ export namespace replit {
|
|
|
36059
36383
|
/** Repl logFields. */
|
|
36060
36384
|
public logFields: string;
|
|
36061
36385
|
|
|
36386
|
+
/** Repl useReplShield. */
|
|
36387
|
+
public useReplShield: boolean;
|
|
36388
|
+
|
|
36062
36389
|
/**
|
|
36063
36390
|
* Creates a new Repl instance using the specified properties.
|
|
36064
36391
|
* @param [properties] Properties to set
|