@replit/protocol 0.3.56 → 0.3.57
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 +312 -2
- package/main/index.js +729 -4
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -606,6 +606,15 @@ export namespace replit {
|
|
|
606
606
|
/** Command replspaceApiSSHTokenGetResponse */
|
|
607
607
|
replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|replit.goval.api.IReplspaceApiSSHTokenGetResponse|null);
|
|
608
608
|
|
|
609
|
+
/** Command secretsGetRequest */
|
|
610
|
+
secretsGetRequest?: (replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null);
|
|
611
|
+
|
|
612
|
+
/** Command secretsGetResponse */
|
|
613
|
+
secretsGetResponse?: (replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null);
|
|
614
|
+
|
|
615
|
+
/** Command secretsSetRequest */
|
|
616
|
+
secretsSetRequest?: (replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null);
|
|
617
|
+
|
|
609
618
|
/** Command ref */
|
|
610
619
|
ref?: (string|null);
|
|
611
620
|
|
|
@@ -1219,6 +1228,15 @@ export namespace replit {
|
|
|
1219
1228
|
/** Command replspaceApiSSHTokenGetResponse. */
|
|
1220
1229
|
public replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|null);
|
|
1221
1230
|
|
|
1231
|
+
/** Command secretsGetRequest. */
|
|
1232
|
+
public secretsGetRequest?: (replit.goval.api.SecretsGetRequest|null);
|
|
1233
|
+
|
|
1234
|
+
/** Command secretsGetResponse. */
|
|
1235
|
+
public secretsGetResponse?: (replit.goval.api.SecretsGetResponse|null);
|
|
1236
|
+
|
|
1237
|
+
/** Command secretsSetRequest. */
|
|
1238
|
+
public secretsSetRequest?: (replit.goval.api.SecretsSetRequest|null);
|
|
1239
|
+
|
|
1222
1240
|
/** Command ref. */
|
|
1223
1241
|
public ref: string;
|
|
1224
1242
|
|
|
@@ -1229,7 +1247,7 @@ export namespace replit {
|
|
|
1229
1247
|
public forceTrace: boolean;
|
|
1230
1248
|
|
|
1231
1249
|
/** Command body. */
|
|
1232
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse");
|
|
1250
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
|
|
1233
1251
|
|
|
1234
1252
|
/**
|
|
1235
1253
|
* Creates a new Command instance using the specified properties.
|
|
@@ -26961,6 +26979,291 @@ export namespace replit {
|
|
|
26961
26979
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26962
26980
|
}
|
|
26963
26981
|
|
|
26982
|
+
/** Properties of a SecretsGetRequest. */
|
|
26983
|
+
interface ISecretsGetRequest {
|
|
26984
|
+
}
|
|
26985
|
+
|
|
26986
|
+
/** Represents a SecretsGetRequest. */
|
|
26987
|
+
class SecretsGetRequest {
|
|
26988
|
+
|
|
26989
|
+
/**
|
|
26990
|
+
* Constructs a new SecretsGetRequest.
|
|
26991
|
+
* @param [properties] Properties to set
|
|
26992
|
+
*/
|
|
26993
|
+
private constructor(properties?: replit.goval.api.ISecretsGetRequest);
|
|
26994
|
+
|
|
26995
|
+
/**
|
|
26996
|
+
* Creates a new SecretsGetRequest instance using the specified properties.
|
|
26997
|
+
* @param [properties] Properties to set
|
|
26998
|
+
* @returns SecretsGetRequest instance
|
|
26999
|
+
*/
|
|
27000
|
+
public static create(properties?: replit.goval.api.ISecretsGetRequest): replit.goval.api.SecretsGetRequest;
|
|
27001
|
+
|
|
27002
|
+
/**
|
|
27003
|
+
* Encodes the specified SecretsGetRequest message. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
27004
|
+
* @param message SecretsGetRequest message or plain object to encode
|
|
27005
|
+
* @param [writer] Writer to encode to
|
|
27006
|
+
* @returns Writer
|
|
27007
|
+
*/
|
|
27008
|
+
public static encode(message: replit.goval.api.SecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27009
|
+
|
|
27010
|
+
/**
|
|
27011
|
+
* Encodes the specified SecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
27012
|
+
* @param message SecretsGetRequest message or plain object to encode
|
|
27013
|
+
* @param [writer] Writer to encode to
|
|
27014
|
+
* @returns Writer
|
|
27015
|
+
*/
|
|
27016
|
+
public static encodeDelimited(message: replit.goval.api.SecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27017
|
+
|
|
27018
|
+
/**
|
|
27019
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer.
|
|
27020
|
+
* @param reader Reader or buffer to decode from
|
|
27021
|
+
* @param [length] Message length if known beforehand
|
|
27022
|
+
* @returns SecretsGetRequest
|
|
27023
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27024
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27025
|
+
*/
|
|
27026
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsGetRequest;
|
|
27027
|
+
|
|
27028
|
+
/**
|
|
27029
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
27030
|
+
* @param reader Reader or buffer to decode from
|
|
27031
|
+
* @returns SecretsGetRequest
|
|
27032
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27033
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27034
|
+
*/
|
|
27035
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsGetRequest;
|
|
27036
|
+
|
|
27037
|
+
/**
|
|
27038
|
+
* Verifies a SecretsGetRequest message.
|
|
27039
|
+
* @param message Plain object to verify
|
|
27040
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27041
|
+
*/
|
|
27042
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27043
|
+
|
|
27044
|
+
/**
|
|
27045
|
+
* Creates a SecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
27046
|
+
* @param object Plain object
|
|
27047
|
+
* @returns SecretsGetRequest
|
|
27048
|
+
*/
|
|
27049
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsGetRequest;
|
|
27050
|
+
|
|
27051
|
+
/**
|
|
27052
|
+
* Creates a plain object from a SecretsGetRequest message. Also converts values to other types if specified.
|
|
27053
|
+
* @param message SecretsGetRequest
|
|
27054
|
+
* @param [options] Conversion options
|
|
27055
|
+
* @returns Plain object
|
|
27056
|
+
*/
|
|
27057
|
+
public static toObject(message: replit.goval.api.SecretsGetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27058
|
+
|
|
27059
|
+
/**
|
|
27060
|
+
* Converts this SecretsGetRequest to JSON.
|
|
27061
|
+
* @returns JSON object
|
|
27062
|
+
*/
|
|
27063
|
+
public toJSON(): { [k: string]: any };
|
|
27064
|
+
|
|
27065
|
+
/**
|
|
27066
|
+
* Gets the default type url for SecretsGetRequest
|
|
27067
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27068
|
+
* @returns The default type url
|
|
27069
|
+
*/
|
|
27070
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27071
|
+
}
|
|
27072
|
+
|
|
27073
|
+
/** Properties of a SecretsGetResponse. */
|
|
27074
|
+
interface ISecretsGetResponse {
|
|
27075
|
+
|
|
27076
|
+
/** SecretsGetResponse contents */
|
|
27077
|
+
contents?: (string|null);
|
|
27078
|
+
}
|
|
27079
|
+
|
|
27080
|
+
/** Represents a SecretsGetResponse. */
|
|
27081
|
+
class SecretsGetResponse {
|
|
27082
|
+
|
|
27083
|
+
/**
|
|
27084
|
+
* Constructs a new SecretsGetResponse.
|
|
27085
|
+
* @param [properties] Properties to set
|
|
27086
|
+
*/
|
|
27087
|
+
private constructor(properties?: replit.goval.api.ISecretsGetResponse);
|
|
27088
|
+
|
|
27089
|
+
/** SecretsGetResponse contents. */
|
|
27090
|
+
public contents: string;
|
|
27091
|
+
|
|
27092
|
+
/**
|
|
27093
|
+
* Creates a new SecretsGetResponse instance using the specified properties.
|
|
27094
|
+
* @param [properties] Properties to set
|
|
27095
|
+
* @returns SecretsGetResponse instance
|
|
27096
|
+
*/
|
|
27097
|
+
public static create(properties?: replit.goval.api.ISecretsGetResponse): replit.goval.api.SecretsGetResponse;
|
|
27098
|
+
|
|
27099
|
+
/**
|
|
27100
|
+
* Encodes the specified SecretsGetResponse message. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
27101
|
+
* @param message SecretsGetResponse message or plain object to encode
|
|
27102
|
+
* @param [writer] Writer to encode to
|
|
27103
|
+
* @returns Writer
|
|
27104
|
+
*/
|
|
27105
|
+
public static encode(message: replit.goval.api.SecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27106
|
+
|
|
27107
|
+
/**
|
|
27108
|
+
* Encodes the specified SecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
27109
|
+
* @param message SecretsGetResponse message or plain object to encode
|
|
27110
|
+
* @param [writer] Writer to encode to
|
|
27111
|
+
* @returns Writer
|
|
27112
|
+
*/
|
|
27113
|
+
public static encodeDelimited(message: replit.goval.api.SecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27114
|
+
|
|
27115
|
+
/**
|
|
27116
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer.
|
|
27117
|
+
* @param reader Reader or buffer to decode from
|
|
27118
|
+
* @param [length] Message length if known beforehand
|
|
27119
|
+
* @returns SecretsGetResponse
|
|
27120
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27121
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27122
|
+
*/
|
|
27123
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsGetResponse;
|
|
27124
|
+
|
|
27125
|
+
/**
|
|
27126
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
27127
|
+
* @param reader Reader or buffer to decode from
|
|
27128
|
+
* @returns SecretsGetResponse
|
|
27129
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27130
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27131
|
+
*/
|
|
27132
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsGetResponse;
|
|
27133
|
+
|
|
27134
|
+
/**
|
|
27135
|
+
* Verifies a SecretsGetResponse message.
|
|
27136
|
+
* @param message Plain object to verify
|
|
27137
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27138
|
+
*/
|
|
27139
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27140
|
+
|
|
27141
|
+
/**
|
|
27142
|
+
* Creates a SecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
27143
|
+
* @param object Plain object
|
|
27144
|
+
* @returns SecretsGetResponse
|
|
27145
|
+
*/
|
|
27146
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsGetResponse;
|
|
27147
|
+
|
|
27148
|
+
/**
|
|
27149
|
+
* Creates a plain object from a SecretsGetResponse message. Also converts values to other types if specified.
|
|
27150
|
+
* @param message SecretsGetResponse
|
|
27151
|
+
* @param [options] Conversion options
|
|
27152
|
+
* @returns Plain object
|
|
27153
|
+
*/
|
|
27154
|
+
public static toObject(message: replit.goval.api.SecretsGetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27155
|
+
|
|
27156
|
+
/**
|
|
27157
|
+
* Converts this SecretsGetResponse to JSON.
|
|
27158
|
+
* @returns JSON object
|
|
27159
|
+
*/
|
|
27160
|
+
public toJSON(): { [k: string]: any };
|
|
27161
|
+
|
|
27162
|
+
/**
|
|
27163
|
+
* Gets the default type url for SecretsGetResponse
|
|
27164
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27165
|
+
* @returns The default type url
|
|
27166
|
+
*/
|
|
27167
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27168
|
+
}
|
|
27169
|
+
|
|
27170
|
+
/** Properties of a SecretsSetRequest. */
|
|
27171
|
+
interface ISecretsSetRequest {
|
|
27172
|
+
|
|
27173
|
+
/** SecretsSetRequest contents */
|
|
27174
|
+
contents?: (string|null);
|
|
27175
|
+
}
|
|
27176
|
+
|
|
27177
|
+
/** Represents a SecretsSetRequest. */
|
|
27178
|
+
class SecretsSetRequest {
|
|
27179
|
+
|
|
27180
|
+
/**
|
|
27181
|
+
* Constructs a new SecretsSetRequest.
|
|
27182
|
+
* @param [properties] Properties to set
|
|
27183
|
+
*/
|
|
27184
|
+
private constructor(properties?: replit.goval.api.ISecretsSetRequest);
|
|
27185
|
+
|
|
27186
|
+
/** SecretsSetRequest contents. */
|
|
27187
|
+
public contents: string;
|
|
27188
|
+
|
|
27189
|
+
/**
|
|
27190
|
+
* Creates a new SecretsSetRequest instance using the specified properties.
|
|
27191
|
+
* @param [properties] Properties to set
|
|
27192
|
+
* @returns SecretsSetRequest instance
|
|
27193
|
+
*/
|
|
27194
|
+
public static create(properties?: replit.goval.api.ISecretsSetRequest): replit.goval.api.SecretsSetRequest;
|
|
27195
|
+
|
|
27196
|
+
/**
|
|
27197
|
+
* Encodes the specified SecretsSetRequest message. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
27198
|
+
* @param message SecretsSetRequest message or plain object to encode
|
|
27199
|
+
* @param [writer] Writer to encode to
|
|
27200
|
+
* @returns Writer
|
|
27201
|
+
*/
|
|
27202
|
+
public static encode(message: replit.goval.api.SecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27203
|
+
|
|
27204
|
+
/**
|
|
27205
|
+
* Encodes the specified SecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
27206
|
+
* @param message SecretsSetRequest message or plain object to encode
|
|
27207
|
+
* @param [writer] Writer to encode to
|
|
27208
|
+
* @returns Writer
|
|
27209
|
+
*/
|
|
27210
|
+
public static encodeDelimited(message: replit.goval.api.SecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27211
|
+
|
|
27212
|
+
/**
|
|
27213
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer.
|
|
27214
|
+
* @param reader Reader or buffer to decode from
|
|
27215
|
+
* @param [length] Message length if known beforehand
|
|
27216
|
+
* @returns SecretsSetRequest
|
|
27217
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27218
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27219
|
+
*/
|
|
27220
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SecretsSetRequest;
|
|
27221
|
+
|
|
27222
|
+
/**
|
|
27223
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
27224
|
+
* @param reader Reader or buffer to decode from
|
|
27225
|
+
* @returns SecretsSetRequest
|
|
27226
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27227
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27228
|
+
*/
|
|
27229
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SecretsSetRequest;
|
|
27230
|
+
|
|
27231
|
+
/**
|
|
27232
|
+
* Verifies a SecretsSetRequest message.
|
|
27233
|
+
* @param message Plain object to verify
|
|
27234
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27235
|
+
*/
|
|
27236
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27237
|
+
|
|
27238
|
+
/**
|
|
27239
|
+
* Creates a SecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
27240
|
+
* @param object Plain object
|
|
27241
|
+
* @returns SecretsSetRequest
|
|
27242
|
+
*/
|
|
27243
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SecretsSetRequest;
|
|
27244
|
+
|
|
27245
|
+
/**
|
|
27246
|
+
* Creates a plain object from a SecretsSetRequest message. Also converts values to other types if specified.
|
|
27247
|
+
* @param message SecretsSetRequest
|
|
27248
|
+
* @param [options] Conversion options
|
|
27249
|
+
* @returns Plain object
|
|
27250
|
+
*/
|
|
27251
|
+
public static toObject(message: replit.goval.api.SecretsSetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27252
|
+
|
|
27253
|
+
/**
|
|
27254
|
+
* Converts this SecretsSetRequest to JSON.
|
|
27255
|
+
* @returns JSON object
|
|
27256
|
+
*/
|
|
27257
|
+
public toJSON(): { [k: string]: any };
|
|
27258
|
+
|
|
27259
|
+
/**
|
|
27260
|
+
* Gets the default type url for SecretsSetRequest
|
|
27261
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27262
|
+
* @returns The default type url
|
|
27263
|
+
*/
|
|
27264
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27265
|
+
}
|
|
27266
|
+
|
|
26964
27267
|
/** Properties of a TLSCertificate. */
|
|
26965
27268
|
interface ITLSCertificate {
|
|
26966
27269
|
|
|
@@ -27763,6 +28066,7 @@ export namespace replit {
|
|
|
27763
28066
|
ANY_REPLID = 2,
|
|
27764
28067
|
ANY_USER = 3,
|
|
27765
28068
|
ANY_USER_ID = 11,
|
|
28069
|
+
ANY_ORG = 12,
|
|
27766
28070
|
ANY_CLUSTER = 4,
|
|
27767
28071
|
ANY_SUBCLUSTER = 9
|
|
27768
28072
|
}
|
|
@@ -27779,6 +28083,9 @@ export namespace replit {
|
|
|
27779
28083
|
/** CertificateClaim userId */
|
|
27780
28084
|
userId?: (number|null);
|
|
27781
28085
|
|
|
28086
|
+
/** CertificateClaim org */
|
|
28087
|
+
org?: (replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null);
|
|
28088
|
+
|
|
27782
28089
|
/** CertificateClaim cluster */
|
|
27783
28090
|
cluster?: (string|null);
|
|
27784
28091
|
|
|
@@ -27810,6 +28117,9 @@ export namespace replit {
|
|
|
27810
28117
|
/** CertificateClaim userId. */
|
|
27811
28118
|
public userId?: (number|null);
|
|
27812
28119
|
|
|
28120
|
+
/** CertificateClaim org. */
|
|
28121
|
+
public org?: (replit.goval.api.repl.Org|null);
|
|
28122
|
+
|
|
27813
28123
|
/** CertificateClaim cluster. */
|
|
27814
28124
|
public cluster?: (string|null);
|
|
27815
28125
|
|
|
@@ -27823,7 +28133,7 @@ export namespace replit {
|
|
|
27823
28133
|
public flag?: (replit.goval.api.FlagClaim|null);
|
|
27824
28134
|
|
|
27825
28135
|
/** CertificateClaim claim. */
|
|
27826
|
-
public claim?: ("replid"|"user"|"userId"|"cluster"|"subcluster"|"deployment"|"flag");
|
|
28136
|
+
public claim?: ("replid"|"user"|"userId"|"org"|"cluster"|"subcluster"|"deployment"|"flag");
|
|
27827
28137
|
|
|
27828
28138
|
/**
|
|
27829
28139
|
* Creates a new CertificateClaim instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -247,6 +247,9 @@
|
|
|
247
247
|
* @property {replit.goval.api.NixModuleConfigSetResponse|replit.goval.api.INixModuleConfigSetResponse|null} [nixModuleConfigSetResponse] Command nixModuleConfigSetResponse
|
|
248
248
|
* @property {replit.goval.api.ReplspaceApiSSHTokenGetRequest|replit.goval.api.IReplspaceApiSSHTokenGetRequest|null} [replspaceApiSSHTokenGetRequest] Command replspaceApiSSHTokenGetRequest
|
|
249
249
|
* @property {replit.goval.api.ReplspaceApiSSHTokenGetResponse|replit.goval.api.IReplspaceApiSSHTokenGetResponse|null} [replspaceApiSSHTokenGetResponse] Command replspaceApiSSHTokenGetResponse
|
|
250
|
+
* @property {replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null} [secretsGetRequest] Command secretsGetRequest
|
|
251
|
+
* @property {replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null} [secretsGetResponse] Command secretsGetResponse
|
|
252
|
+
* @property {replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null} [secretsSetRequest] Command secretsSetRequest
|
|
250
253
|
* @property {string|null} [ref] Command ref
|
|
251
254
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
252
255
|
* @property {boolean|null} [forceTrace] Command forceTrace
|
|
@@ -1851,6 +1854,30 @@
|
|
|
1851
1854
|
*/
|
|
1852
1855
|
Command.prototype.replspaceApiSSHTokenGetResponse = null;
|
|
1853
1856
|
|
|
1857
|
+
/**
|
|
1858
|
+
* Command secretsGetRequest.
|
|
1859
|
+
* @member {replit.goval.api.SecretsGetRequest|null|undefined} secretsGetRequest
|
|
1860
|
+
* @memberof replit.goval.api.Command
|
|
1861
|
+
* @instance
|
|
1862
|
+
*/
|
|
1863
|
+
Command.prototype.secretsGetRequest = null;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Command secretsGetResponse.
|
|
1867
|
+
* @member {replit.goval.api.SecretsGetResponse|null|undefined} secretsGetResponse
|
|
1868
|
+
* @memberof replit.goval.api.Command
|
|
1869
|
+
* @instance
|
|
1870
|
+
*/
|
|
1871
|
+
Command.prototype.secretsGetResponse = null;
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Command secretsSetRequest.
|
|
1875
|
+
* @member {replit.goval.api.SecretsSetRequest|null|undefined} secretsSetRequest
|
|
1876
|
+
* @memberof replit.goval.api.Command
|
|
1877
|
+
* @instance
|
|
1878
|
+
*/
|
|
1879
|
+
Command.prototype.secretsSetRequest = null;
|
|
1880
|
+
|
|
1854
1881
|
/**
|
|
1855
1882
|
* Command ref.
|
|
1856
1883
|
* @member {string} ref
|
|
@@ -1880,12 +1907,12 @@
|
|
|
1880
1907
|
|
|
1881
1908
|
/**
|
|
1882
1909
|
* Command body.
|
|
1883
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|undefined} body
|
|
1910
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
|
|
1884
1911
|
* @memberof replit.goval.api.Command
|
|
1885
1912
|
* @instance
|
|
1886
1913
|
*/
|
|
1887
1914
|
Object.defineProperty(Command.prototype, "body", {
|
|
1888
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse"]),
|
|
1915
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
|
|
1889
1916
|
set: $util.oneOfSetter($oneOfFields)
|
|
1890
1917
|
});
|
|
1891
1918
|
|
|
@@ -2309,6 +2336,12 @@
|
|
|
2309
2336
|
$root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.encode(message.replspaceApiSSHTokenGetRequest, writer.uint32(/* id 464, wireType 2 =*/3714).fork()).ldelim();
|
|
2310
2337
|
if (message.replspaceApiSSHTokenGetResponse != null && Object.hasOwnProperty.call(message, "replspaceApiSSHTokenGetResponse"))
|
|
2311
2338
|
$root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.encode(message.replspaceApiSSHTokenGetResponse, writer.uint32(/* id 465, wireType 2 =*/3722).fork()).ldelim();
|
|
2339
|
+
if (message.secretsGetRequest != null && Object.hasOwnProperty.call(message, "secretsGetRequest"))
|
|
2340
|
+
$root.replit.goval.api.SecretsGetRequest.encode(message.secretsGetRequest, writer.uint32(/* id 466, wireType 2 =*/3730).fork()).ldelim();
|
|
2341
|
+
if (message.secretsGetResponse != null && Object.hasOwnProperty.call(message, "secretsGetResponse"))
|
|
2342
|
+
$root.replit.goval.api.SecretsGetResponse.encode(message.secretsGetResponse, writer.uint32(/* id 467, wireType 2 =*/3738).fork()).ldelim();
|
|
2343
|
+
if (message.secretsSetRequest != null && Object.hasOwnProperty.call(message, "secretsSetRequest"))
|
|
2344
|
+
$root.replit.goval.api.SecretsSetRequest.encode(message.secretsSetRequest, writer.uint32(/* id 468, wireType 2 =*/3746).fork()).ldelim();
|
|
2312
2345
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
2313
2346
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
2314
2347
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -3142,6 +3175,18 @@
|
|
|
3142
3175
|
message.replspaceApiSSHTokenGetResponse = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.decode(reader, reader.uint32());
|
|
3143
3176
|
break;
|
|
3144
3177
|
}
|
|
3178
|
+
case 466: {
|
|
3179
|
+
message.secretsGetRequest = $root.replit.goval.api.SecretsGetRequest.decode(reader, reader.uint32());
|
|
3180
|
+
break;
|
|
3181
|
+
}
|
|
3182
|
+
case 467: {
|
|
3183
|
+
message.secretsGetResponse = $root.replit.goval.api.SecretsGetResponse.decode(reader, reader.uint32());
|
|
3184
|
+
break;
|
|
3185
|
+
}
|
|
3186
|
+
case 468: {
|
|
3187
|
+
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.decode(reader, reader.uint32());
|
|
3188
|
+
break;
|
|
3189
|
+
}
|
|
3145
3190
|
case 1000: {
|
|
3146
3191
|
message.ref = reader.string();
|
|
3147
3192
|
break;
|
|
@@ -5139,6 +5184,36 @@
|
|
|
5139
5184
|
return "replspaceApiSSHTokenGetResponse." + error;
|
|
5140
5185
|
}
|
|
5141
5186
|
}
|
|
5187
|
+
if (message.secretsGetRequest != null && message.hasOwnProperty("secretsGetRequest")) {
|
|
5188
|
+
if (properties.body === 1)
|
|
5189
|
+
return "body: multiple values";
|
|
5190
|
+
properties.body = 1;
|
|
5191
|
+
{
|
|
5192
|
+
var error = $root.replit.goval.api.SecretsGetRequest.verify(message.secretsGetRequest);
|
|
5193
|
+
if (error)
|
|
5194
|
+
return "secretsGetRequest." + error;
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
if (message.secretsGetResponse != null && message.hasOwnProperty("secretsGetResponse")) {
|
|
5198
|
+
if (properties.body === 1)
|
|
5199
|
+
return "body: multiple values";
|
|
5200
|
+
properties.body = 1;
|
|
5201
|
+
{
|
|
5202
|
+
var error = $root.replit.goval.api.SecretsGetResponse.verify(message.secretsGetResponse);
|
|
5203
|
+
if (error)
|
|
5204
|
+
return "secretsGetResponse." + error;
|
|
5205
|
+
}
|
|
5206
|
+
}
|
|
5207
|
+
if (message.secretsSetRequest != null && message.hasOwnProperty("secretsSetRequest")) {
|
|
5208
|
+
if (properties.body === 1)
|
|
5209
|
+
return "body: multiple values";
|
|
5210
|
+
properties.body = 1;
|
|
5211
|
+
{
|
|
5212
|
+
var error = $root.replit.goval.api.SecretsSetRequest.verify(message.secretsSetRequest);
|
|
5213
|
+
if (error)
|
|
5214
|
+
return "secretsSetRequest." + error;
|
|
5215
|
+
}
|
|
5216
|
+
}
|
|
5142
5217
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5143
5218
|
if (!$util.isString(message.ref))
|
|
5144
5219
|
return "ref: string expected";
|
|
@@ -6127,6 +6202,21 @@
|
|
|
6127
6202
|
throw TypeError(".replit.goval.api.Command.replspaceApiSSHTokenGetResponse: object expected");
|
|
6128
6203
|
message.replspaceApiSSHTokenGetResponse = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.fromObject(object.replspaceApiSSHTokenGetResponse);
|
|
6129
6204
|
}
|
|
6205
|
+
if (object.secretsGetRequest != null) {
|
|
6206
|
+
if (typeof object.secretsGetRequest !== "object")
|
|
6207
|
+
throw TypeError(".replit.goval.api.Command.secretsGetRequest: object expected");
|
|
6208
|
+
message.secretsGetRequest = $root.replit.goval.api.SecretsGetRequest.fromObject(object.secretsGetRequest);
|
|
6209
|
+
}
|
|
6210
|
+
if (object.secretsGetResponse != null) {
|
|
6211
|
+
if (typeof object.secretsGetResponse !== "object")
|
|
6212
|
+
throw TypeError(".replit.goval.api.Command.secretsGetResponse: object expected");
|
|
6213
|
+
message.secretsGetResponse = $root.replit.goval.api.SecretsGetResponse.fromObject(object.secretsGetResponse);
|
|
6214
|
+
}
|
|
6215
|
+
if (object.secretsSetRequest != null) {
|
|
6216
|
+
if (typeof object.secretsSetRequest !== "object")
|
|
6217
|
+
throw TypeError(".replit.goval.api.Command.secretsSetRequest: object expected");
|
|
6218
|
+
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.fromObject(object.secretsSetRequest);
|
|
6219
|
+
}
|
|
6130
6220
|
if (object.ref != null)
|
|
6131
6221
|
message.ref = String(object.ref);
|
|
6132
6222
|
if (object.traceInfo) {
|
|
@@ -7146,6 +7236,21 @@
|
|
|
7146
7236
|
if (options.oneofs)
|
|
7147
7237
|
object.body = "replspaceApiSSHTokenGetResponse";
|
|
7148
7238
|
}
|
|
7239
|
+
if (message.secretsGetRequest != null && message.hasOwnProperty("secretsGetRequest")) {
|
|
7240
|
+
object.secretsGetRequest = $root.replit.goval.api.SecretsGetRequest.toObject(message.secretsGetRequest, options);
|
|
7241
|
+
if (options.oneofs)
|
|
7242
|
+
object.body = "secretsGetRequest";
|
|
7243
|
+
}
|
|
7244
|
+
if (message.secretsGetResponse != null && message.hasOwnProperty("secretsGetResponse")) {
|
|
7245
|
+
object.secretsGetResponse = $root.replit.goval.api.SecretsGetResponse.toObject(message.secretsGetResponse, options);
|
|
7246
|
+
if (options.oneofs)
|
|
7247
|
+
object.body = "secretsGetResponse";
|
|
7248
|
+
}
|
|
7249
|
+
if (message.secretsSetRequest != null && message.hasOwnProperty("secretsSetRequest")) {
|
|
7250
|
+
object.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.toObject(message.secretsSetRequest, options);
|
|
7251
|
+
if (options.oneofs)
|
|
7252
|
+
object.body = "secretsSetRequest";
|
|
7253
|
+
}
|
|
7149
7254
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
7150
7255
|
object.ref = message.ref;
|
|
7151
7256
|
var keys2;
|
|
@@ -68064,6 +68169,584 @@
|
|
|
68064
68169
|
return FormatterConfigWithPattern;
|
|
68065
68170
|
})();
|
|
68066
68171
|
|
|
68172
|
+
api.SecretsGetRequest = (function() {
|
|
68173
|
+
|
|
68174
|
+
/**
|
|
68175
|
+
* Properties of a SecretsGetRequest.
|
|
68176
|
+
* @memberof replit.goval.api
|
|
68177
|
+
* @interface ISecretsGetRequest
|
|
68178
|
+
*/
|
|
68179
|
+
|
|
68180
|
+
/**
|
|
68181
|
+
* Constructs a new SecretsGetRequest.
|
|
68182
|
+
* @memberof replit.goval.api
|
|
68183
|
+
* @classdesc Represents a SecretsGetRequest.
|
|
68184
|
+
* @constructor
|
|
68185
|
+
* @param {replit.goval.api.ISecretsGetRequest=} [properties] Properties to set
|
|
68186
|
+
*/
|
|
68187
|
+
function SecretsGetRequest(properties) {
|
|
68188
|
+
if (properties)
|
|
68189
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68190
|
+
if (properties[keys[i]] != null)
|
|
68191
|
+
this[keys[i]] = properties[keys[i]];
|
|
68192
|
+
}
|
|
68193
|
+
|
|
68194
|
+
/**
|
|
68195
|
+
* Creates a new SecretsGetRequest instance using the specified properties.
|
|
68196
|
+
* @function create
|
|
68197
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68198
|
+
* @static
|
|
68199
|
+
* @param {replit.goval.api.ISecretsGetRequest=} [properties] Properties to set
|
|
68200
|
+
* @returns {replit.goval.api.SecretsGetRequest} SecretsGetRequest instance
|
|
68201
|
+
*/
|
|
68202
|
+
SecretsGetRequest.create = function create(properties) {
|
|
68203
|
+
return SecretsGetRequest.fromObject(properties);
|
|
68204
|
+
};
|
|
68205
|
+
|
|
68206
|
+
/**
|
|
68207
|
+
* Encodes the specified SecretsGetRequest message. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
68208
|
+
* @function encode
|
|
68209
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68210
|
+
* @static
|
|
68211
|
+
* @param {replit.goval.api.SecretsGetRequest} message SecretsGetRequest message or plain object to encode
|
|
68212
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68213
|
+
* @returns {$protobuf.Writer} Writer
|
|
68214
|
+
*/
|
|
68215
|
+
SecretsGetRequest.encode = function encode(message, writer) {
|
|
68216
|
+
if (!writer)
|
|
68217
|
+
writer = $Writer.create();
|
|
68218
|
+
return writer;
|
|
68219
|
+
};
|
|
68220
|
+
|
|
68221
|
+
/**
|
|
68222
|
+
* Encodes the specified SecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetRequest.verify|verify} messages.
|
|
68223
|
+
* @function encodeDelimited
|
|
68224
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68225
|
+
* @static
|
|
68226
|
+
* @param {replit.goval.api.SecretsGetRequest} message SecretsGetRequest message or plain object to encode
|
|
68227
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68228
|
+
* @returns {$protobuf.Writer} Writer
|
|
68229
|
+
*/
|
|
68230
|
+
SecretsGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68231
|
+
return this.encode(message, writer).ldelim();
|
|
68232
|
+
};
|
|
68233
|
+
|
|
68234
|
+
/**
|
|
68235
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer.
|
|
68236
|
+
* @function decode
|
|
68237
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68238
|
+
* @static
|
|
68239
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68240
|
+
* @param {number} [length] Message length if known beforehand
|
|
68241
|
+
* @returns {replit.goval.api.SecretsGetRequest} SecretsGetRequest
|
|
68242
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68243
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68244
|
+
*/
|
|
68245
|
+
SecretsGetRequest.decode = function decode(reader, length) {
|
|
68246
|
+
if (!(reader instanceof $Reader))
|
|
68247
|
+
reader = $Reader.create(reader);
|
|
68248
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.SecretsGetRequest();
|
|
68249
|
+
while (reader.pos < end) {
|
|
68250
|
+
var tag = reader.uint32();
|
|
68251
|
+
switch (tag >>> 3) {
|
|
68252
|
+
default:
|
|
68253
|
+
reader.skipType(tag & 7);
|
|
68254
|
+
break;
|
|
68255
|
+
}
|
|
68256
|
+
}
|
|
68257
|
+
return message;
|
|
68258
|
+
};
|
|
68259
|
+
|
|
68260
|
+
/**
|
|
68261
|
+
* Decodes a SecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
68262
|
+
* @function decodeDelimited
|
|
68263
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68264
|
+
* @static
|
|
68265
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68266
|
+
* @returns {replit.goval.api.SecretsGetRequest} SecretsGetRequest
|
|
68267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68269
|
+
*/
|
|
68270
|
+
SecretsGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
68271
|
+
if (!(reader instanceof $Reader))
|
|
68272
|
+
reader = new $Reader(reader);
|
|
68273
|
+
return this.decode(reader, reader.uint32());
|
|
68274
|
+
};
|
|
68275
|
+
|
|
68276
|
+
/**
|
|
68277
|
+
* Verifies a SecretsGetRequest message.
|
|
68278
|
+
* @function verify
|
|
68279
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68280
|
+
* @static
|
|
68281
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68282
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68283
|
+
*/
|
|
68284
|
+
SecretsGetRequest.verify = function verify(message) {
|
|
68285
|
+
if (typeof message !== "object" || message === null)
|
|
68286
|
+
return "object expected";
|
|
68287
|
+
return null;
|
|
68288
|
+
};
|
|
68289
|
+
|
|
68290
|
+
/**
|
|
68291
|
+
* Creates a SecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
68292
|
+
* @function fromObject
|
|
68293
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68294
|
+
* @static
|
|
68295
|
+
* @param {Object.<string,*>} object Plain object
|
|
68296
|
+
* @returns {replit.goval.api.SecretsGetRequest} SecretsGetRequest
|
|
68297
|
+
*/
|
|
68298
|
+
SecretsGetRequest.fromObject = function fromObject(object) {
|
|
68299
|
+
if (object instanceof $root.replit.goval.api.SecretsGetRequest)
|
|
68300
|
+
return object;
|
|
68301
|
+
return new $root.replit.goval.api.SecretsGetRequest();
|
|
68302
|
+
};
|
|
68303
|
+
|
|
68304
|
+
/**
|
|
68305
|
+
* Creates a plain object from a SecretsGetRequest message. Also converts values to other types if specified.
|
|
68306
|
+
* @function toObject
|
|
68307
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68308
|
+
* @static
|
|
68309
|
+
* @param {replit.goval.api.SecretsGetRequest} message SecretsGetRequest
|
|
68310
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68311
|
+
* @returns {Object.<string,*>} Plain object
|
|
68312
|
+
*/
|
|
68313
|
+
SecretsGetRequest.toObject = function toObject() {
|
|
68314
|
+
return {};
|
|
68315
|
+
};
|
|
68316
|
+
|
|
68317
|
+
/**
|
|
68318
|
+
* Converts this SecretsGetRequest to JSON.
|
|
68319
|
+
* @function toJSON
|
|
68320
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68321
|
+
* @instance
|
|
68322
|
+
* @returns {Object.<string,*>} JSON object
|
|
68323
|
+
*/
|
|
68324
|
+
SecretsGetRequest.prototype.toJSON = function toJSON() {
|
|
68325
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68326
|
+
};
|
|
68327
|
+
|
|
68328
|
+
/**
|
|
68329
|
+
* Gets the default type url for SecretsGetRequest
|
|
68330
|
+
* @function getTypeUrl
|
|
68331
|
+
* @memberof replit.goval.api.SecretsGetRequest
|
|
68332
|
+
* @static
|
|
68333
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68334
|
+
* @returns {string} The default type url
|
|
68335
|
+
*/
|
|
68336
|
+
SecretsGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68337
|
+
if (typeUrlPrefix === undefined) {
|
|
68338
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68339
|
+
}
|
|
68340
|
+
return typeUrlPrefix + "/replit.goval.api.SecretsGetRequest";
|
|
68341
|
+
};
|
|
68342
|
+
|
|
68343
|
+
return SecretsGetRequest;
|
|
68344
|
+
})();
|
|
68345
|
+
|
|
68346
|
+
api.SecretsGetResponse = (function() {
|
|
68347
|
+
|
|
68348
|
+
/**
|
|
68349
|
+
* Properties of a SecretsGetResponse.
|
|
68350
|
+
* @memberof replit.goval.api
|
|
68351
|
+
* @interface ISecretsGetResponse
|
|
68352
|
+
* @property {string|null} [contents] SecretsGetResponse contents
|
|
68353
|
+
*/
|
|
68354
|
+
|
|
68355
|
+
/**
|
|
68356
|
+
* Constructs a new SecretsGetResponse.
|
|
68357
|
+
* @memberof replit.goval.api
|
|
68358
|
+
* @classdesc Represents a SecretsGetResponse.
|
|
68359
|
+
* @constructor
|
|
68360
|
+
* @param {replit.goval.api.ISecretsGetResponse=} [properties] Properties to set
|
|
68361
|
+
*/
|
|
68362
|
+
function SecretsGetResponse(properties) {
|
|
68363
|
+
if (properties)
|
|
68364
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68365
|
+
if (properties[keys[i]] != null)
|
|
68366
|
+
this[keys[i]] = properties[keys[i]];
|
|
68367
|
+
}
|
|
68368
|
+
|
|
68369
|
+
/**
|
|
68370
|
+
* SecretsGetResponse contents.
|
|
68371
|
+
* @member {string} contents
|
|
68372
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68373
|
+
* @instance
|
|
68374
|
+
*/
|
|
68375
|
+
SecretsGetResponse.prototype.contents = "";
|
|
68376
|
+
|
|
68377
|
+
/**
|
|
68378
|
+
* Creates a new SecretsGetResponse instance using the specified properties.
|
|
68379
|
+
* @function create
|
|
68380
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68381
|
+
* @static
|
|
68382
|
+
* @param {replit.goval.api.ISecretsGetResponse=} [properties] Properties to set
|
|
68383
|
+
* @returns {replit.goval.api.SecretsGetResponse} SecretsGetResponse instance
|
|
68384
|
+
*/
|
|
68385
|
+
SecretsGetResponse.create = function create(properties) {
|
|
68386
|
+
return SecretsGetResponse.fromObject(properties);
|
|
68387
|
+
};
|
|
68388
|
+
|
|
68389
|
+
/**
|
|
68390
|
+
* Encodes the specified SecretsGetResponse message. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
68391
|
+
* @function encode
|
|
68392
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68393
|
+
* @static
|
|
68394
|
+
* @param {replit.goval.api.SecretsGetResponse} message SecretsGetResponse message or plain object to encode
|
|
68395
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68396
|
+
* @returns {$protobuf.Writer} Writer
|
|
68397
|
+
*/
|
|
68398
|
+
SecretsGetResponse.encode = function encode(message, writer) {
|
|
68399
|
+
if (!writer)
|
|
68400
|
+
writer = $Writer.create();
|
|
68401
|
+
if (message.contents != null && Object.hasOwnProperty.call(message, "contents"))
|
|
68402
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.contents);
|
|
68403
|
+
return writer;
|
|
68404
|
+
};
|
|
68405
|
+
|
|
68406
|
+
/**
|
|
68407
|
+
* Encodes the specified SecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.SecretsGetResponse.verify|verify} messages.
|
|
68408
|
+
* @function encodeDelimited
|
|
68409
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68410
|
+
* @static
|
|
68411
|
+
* @param {replit.goval.api.SecretsGetResponse} message SecretsGetResponse message or plain object to encode
|
|
68412
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68413
|
+
* @returns {$protobuf.Writer} Writer
|
|
68414
|
+
*/
|
|
68415
|
+
SecretsGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68416
|
+
return this.encode(message, writer).ldelim();
|
|
68417
|
+
};
|
|
68418
|
+
|
|
68419
|
+
/**
|
|
68420
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer.
|
|
68421
|
+
* @function decode
|
|
68422
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68423
|
+
* @static
|
|
68424
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68425
|
+
* @param {number} [length] Message length if known beforehand
|
|
68426
|
+
* @returns {replit.goval.api.SecretsGetResponse} SecretsGetResponse
|
|
68427
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68428
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68429
|
+
*/
|
|
68430
|
+
SecretsGetResponse.decode = function decode(reader, length) {
|
|
68431
|
+
if (!(reader instanceof $Reader))
|
|
68432
|
+
reader = $Reader.create(reader);
|
|
68433
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.SecretsGetResponse();
|
|
68434
|
+
while (reader.pos < end) {
|
|
68435
|
+
var tag = reader.uint32();
|
|
68436
|
+
switch (tag >>> 3) {
|
|
68437
|
+
case 1: {
|
|
68438
|
+
message.contents = reader.string();
|
|
68439
|
+
break;
|
|
68440
|
+
}
|
|
68441
|
+
default:
|
|
68442
|
+
reader.skipType(tag & 7);
|
|
68443
|
+
break;
|
|
68444
|
+
}
|
|
68445
|
+
}
|
|
68446
|
+
return message;
|
|
68447
|
+
};
|
|
68448
|
+
|
|
68449
|
+
/**
|
|
68450
|
+
* Decodes a SecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
68451
|
+
* @function decodeDelimited
|
|
68452
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68453
|
+
* @static
|
|
68454
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68455
|
+
* @returns {replit.goval.api.SecretsGetResponse} SecretsGetResponse
|
|
68456
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68457
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68458
|
+
*/
|
|
68459
|
+
SecretsGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
68460
|
+
if (!(reader instanceof $Reader))
|
|
68461
|
+
reader = new $Reader(reader);
|
|
68462
|
+
return this.decode(reader, reader.uint32());
|
|
68463
|
+
};
|
|
68464
|
+
|
|
68465
|
+
/**
|
|
68466
|
+
* Verifies a SecretsGetResponse message.
|
|
68467
|
+
* @function verify
|
|
68468
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68469
|
+
* @static
|
|
68470
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68471
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68472
|
+
*/
|
|
68473
|
+
SecretsGetResponse.verify = function verify(message) {
|
|
68474
|
+
if (typeof message !== "object" || message === null)
|
|
68475
|
+
return "object expected";
|
|
68476
|
+
if (message.contents != null && message.hasOwnProperty("contents"))
|
|
68477
|
+
if (!$util.isString(message.contents))
|
|
68478
|
+
return "contents: string expected";
|
|
68479
|
+
return null;
|
|
68480
|
+
};
|
|
68481
|
+
|
|
68482
|
+
/**
|
|
68483
|
+
* Creates a SecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
68484
|
+
* @function fromObject
|
|
68485
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68486
|
+
* @static
|
|
68487
|
+
* @param {Object.<string,*>} object Plain object
|
|
68488
|
+
* @returns {replit.goval.api.SecretsGetResponse} SecretsGetResponse
|
|
68489
|
+
*/
|
|
68490
|
+
SecretsGetResponse.fromObject = function fromObject(object) {
|
|
68491
|
+
if (object instanceof $root.replit.goval.api.SecretsGetResponse)
|
|
68492
|
+
return object;
|
|
68493
|
+
var message = new $root.replit.goval.api.SecretsGetResponse();
|
|
68494
|
+
if (object.contents != null)
|
|
68495
|
+
message.contents = String(object.contents);
|
|
68496
|
+
return message;
|
|
68497
|
+
};
|
|
68498
|
+
|
|
68499
|
+
/**
|
|
68500
|
+
* Creates a plain object from a SecretsGetResponse message. Also converts values to other types if specified.
|
|
68501
|
+
* @function toObject
|
|
68502
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68503
|
+
* @static
|
|
68504
|
+
* @param {replit.goval.api.SecretsGetResponse} message SecretsGetResponse
|
|
68505
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68506
|
+
* @returns {Object.<string,*>} Plain object
|
|
68507
|
+
*/
|
|
68508
|
+
SecretsGetResponse.toObject = function toObject(message, options) {
|
|
68509
|
+
if (!options)
|
|
68510
|
+
options = {};
|
|
68511
|
+
var object = {};
|
|
68512
|
+
if (options.defaults)
|
|
68513
|
+
object.contents = "";
|
|
68514
|
+
if (message.contents != null && message.hasOwnProperty("contents"))
|
|
68515
|
+
object.contents = message.contents;
|
|
68516
|
+
return object;
|
|
68517
|
+
};
|
|
68518
|
+
|
|
68519
|
+
/**
|
|
68520
|
+
* Converts this SecretsGetResponse to JSON.
|
|
68521
|
+
* @function toJSON
|
|
68522
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68523
|
+
* @instance
|
|
68524
|
+
* @returns {Object.<string,*>} JSON object
|
|
68525
|
+
*/
|
|
68526
|
+
SecretsGetResponse.prototype.toJSON = function toJSON() {
|
|
68527
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68528
|
+
};
|
|
68529
|
+
|
|
68530
|
+
/**
|
|
68531
|
+
* Gets the default type url for SecretsGetResponse
|
|
68532
|
+
* @function getTypeUrl
|
|
68533
|
+
* @memberof replit.goval.api.SecretsGetResponse
|
|
68534
|
+
* @static
|
|
68535
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68536
|
+
* @returns {string} The default type url
|
|
68537
|
+
*/
|
|
68538
|
+
SecretsGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68539
|
+
if (typeUrlPrefix === undefined) {
|
|
68540
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68541
|
+
}
|
|
68542
|
+
return typeUrlPrefix + "/replit.goval.api.SecretsGetResponse";
|
|
68543
|
+
};
|
|
68544
|
+
|
|
68545
|
+
return SecretsGetResponse;
|
|
68546
|
+
})();
|
|
68547
|
+
|
|
68548
|
+
api.SecretsSetRequest = (function() {
|
|
68549
|
+
|
|
68550
|
+
/**
|
|
68551
|
+
* Properties of a SecretsSetRequest.
|
|
68552
|
+
* @memberof replit.goval.api
|
|
68553
|
+
* @interface ISecretsSetRequest
|
|
68554
|
+
* @property {string|null} [contents] SecretsSetRequest contents
|
|
68555
|
+
*/
|
|
68556
|
+
|
|
68557
|
+
/**
|
|
68558
|
+
* Constructs a new SecretsSetRequest.
|
|
68559
|
+
* @memberof replit.goval.api
|
|
68560
|
+
* @classdesc Represents a SecretsSetRequest.
|
|
68561
|
+
* @constructor
|
|
68562
|
+
* @param {replit.goval.api.ISecretsSetRequest=} [properties] Properties to set
|
|
68563
|
+
*/
|
|
68564
|
+
function SecretsSetRequest(properties) {
|
|
68565
|
+
if (properties)
|
|
68566
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68567
|
+
if (properties[keys[i]] != null)
|
|
68568
|
+
this[keys[i]] = properties[keys[i]];
|
|
68569
|
+
}
|
|
68570
|
+
|
|
68571
|
+
/**
|
|
68572
|
+
* SecretsSetRequest contents.
|
|
68573
|
+
* @member {string} contents
|
|
68574
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68575
|
+
* @instance
|
|
68576
|
+
*/
|
|
68577
|
+
SecretsSetRequest.prototype.contents = "";
|
|
68578
|
+
|
|
68579
|
+
/**
|
|
68580
|
+
* Creates a new SecretsSetRequest instance using the specified properties.
|
|
68581
|
+
* @function create
|
|
68582
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68583
|
+
* @static
|
|
68584
|
+
* @param {replit.goval.api.ISecretsSetRequest=} [properties] Properties to set
|
|
68585
|
+
* @returns {replit.goval.api.SecretsSetRequest} SecretsSetRequest instance
|
|
68586
|
+
*/
|
|
68587
|
+
SecretsSetRequest.create = function create(properties) {
|
|
68588
|
+
return SecretsSetRequest.fromObject(properties);
|
|
68589
|
+
};
|
|
68590
|
+
|
|
68591
|
+
/**
|
|
68592
|
+
* Encodes the specified SecretsSetRequest message. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
68593
|
+
* @function encode
|
|
68594
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68595
|
+
* @static
|
|
68596
|
+
* @param {replit.goval.api.SecretsSetRequest} message SecretsSetRequest message or plain object to encode
|
|
68597
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68598
|
+
* @returns {$protobuf.Writer} Writer
|
|
68599
|
+
*/
|
|
68600
|
+
SecretsSetRequest.encode = function encode(message, writer) {
|
|
68601
|
+
if (!writer)
|
|
68602
|
+
writer = $Writer.create();
|
|
68603
|
+
if (message.contents != null && Object.hasOwnProperty.call(message, "contents"))
|
|
68604
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.contents);
|
|
68605
|
+
return writer;
|
|
68606
|
+
};
|
|
68607
|
+
|
|
68608
|
+
/**
|
|
68609
|
+
* Encodes the specified SecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.SecretsSetRequest.verify|verify} messages.
|
|
68610
|
+
* @function encodeDelimited
|
|
68611
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68612
|
+
* @static
|
|
68613
|
+
* @param {replit.goval.api.SecretsSetRequest} message SecretsSetRequest message or plain object to encode
|
|
68614
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68615
|
+
* @returns {$protobuf.Writer} Writer
|
|
68616
|
+
*/
|
|
68617
|
+
SecretsSetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68618
|
+
return this.encode(message, writer).ldelim();
|
|
68619
|
+
};
|
|
68620
|
+
|
|
68621
|
+
/**
|
|
68622
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer.
|
|
68623
|
+
* @function decode
|
|
68624
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68625
|
+
* @static
|
|
68626
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68627
|
+
* @param {number} [length] Message length if known beforehand
|
|
68628
|
+
* @returns {replit.goval.api.SecretsSetRequest} SecretsSetRequest
|
|
68629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68631
|
+
*/
|
|
68632
|
+
SecretsSetRequest.decode = function decode(reader, length) {
|
|
68633
|
+
if (!(reader instanceof $Reader))
|
|
68634
|
+
reader = $Reader.create(reader);
|
|
68635
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.SecretsSetRequest();
|
|
68636
|
+
while (reader.pos < end) {
|
|
68637
|
+
var tag = reader.uint32();
|
|
68638
|
+
switch (tag >>> 3) {
|
|
68639
|
+
case 1: {
|
|
68640
|
+
message.contents = reader.string();
|
|
68641
|
+
break;
|
|
68642
|
+
}
|
|
68643
|
+
default:
|
|
68644
|
+
reader.skipType(tag & 7);
|
|
68645
|
+
break;
|
|
68646
|
+
}
|
|
68647
|
+
}
|
|
68648
|
+
return message;
|
|
68649
|
+
};
|
|
68650
|
+
|
|
68651
|
+
/**
|
|
68652
|
+
* Decodes a SecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
68653
|
+
* @function decodeDelimited
|
|
68654
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68655
|
+
* @static
|
|
68656
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68657
|
+
* @returns {replit.goval.api.SecretsSetRequest} SecretsSetRequest
|
|
68658
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68659
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68660
|
+
*/
|
|
68661
|
+
SecretsSetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
68662
|
+
if (!(reader instanceof $Reader))
|
|
68663
|
+
reader = new $Reader(reader);
|
|
68664
|
+
return this.decode(reader, reader.uint32());
|
|
68665
|
+
};
|
|
68666
|
+
|
|
68667
|
+
/**
|
|
68668
|
+
* Verifies a SecretsSetRequest message.
|
|
68669
|
+
* @function verify
|
|
68670
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68671
|
+
* @static
|
|
68672
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68673
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68674
|
+
*/
|
|
68675
|
+
SecretsSetRequest.verify = function verify(message) {
|
|
68676
|
+
if (typeof message !== "object" || message === null)
|
|
68677
|
+
return "object expected";
|
|
68678
|
+
if (message.contents != null && message.hasOwnProperty("contents"))
|
|
68679
|
+
if (!$util.isString(message.contents))
|
|
68680
|
+
return "contents: string expected";
|
|
68681
|
+
return null;
|
|
68682
|
+
};
|
|
68683
|
+
|
|
68684
|
+
/**
|
|
68685
|
+
* Creates a SecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
68686
|
+
* @function fromObject
|
|
68687
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68688
|
+
* @static
|
|
68689
|
+
* @param {Object.<string,*>} object Plain object
|
|
68690
|
+
* @returns {replit.goval.api.SecretsSetRequest} SecretsSetRequest
|
|
68691
|
+
*/
|
|
68692
|
+
SecretsSetRequest.fromObject = function fromObject(object) {
|
|
68693
|
+
if (object instanceof $root.replit.goval.api.SecretsSetRequest)
|
|
68694
|
+
return object;
|
|
68695
|
+
var message = new $root.replit.goval.api.SecretsSetRequest();
|
|
68696
|
+
if (object.contents != null)
|
|
68697
|
+
message.contents = String(object.contents);
|
|
68698
|
+
return message;
|
|
68699
|
+
};
|
|
68700
|
+
|
|
68701
|
+
/**
|
|
68702
|
+
* Creates a plain object from a SecretsSetRequest message. Also converts values to other types if specified.
|
|
68703
|
+
* @function toObject
|
|
68704
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68705
|
+
* @static
|
|
68706
|
+
* @param {replit.goval.api.SecretsSetRequest} message SecretsSetRequest
|
|
68707
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68708
|
+
* @returns {Object.<string,*>} Plain object
|
|
68709
|
+
*/
|
|
68710
|
+
SecretsSetRequest.toObject = function toObject(message, options) {
|
|
68711
|
+
if (!options)
|
|
68712
|
+
options = {};
|
|
68713
|
+
var object = {};
|
|
68714
|
+
if (options.defaults)
|
|
68715
|
+
object.contents = "";
|
|
68716
|
+
if (message.contents != null && message.hasOwnProperty("contents"))
|
|
68717
|
+
object.contents = message.contents;
|
|
68718
|
+
return object;
|
|
68719
|
+
};
|
|
68720
|
+
|
|
68721
|
+
/**
|
|
68722
|
+
* Converts this SecretsSetRequest to JSON.
|
|
68723
|
+
* @function toJSON
|
|
68724
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68725
|
+
* @instance
|
|
68726
|
+
* @returns {Object.<string,*>} JSON object
|
|
68727
|
+
*/
|
|
68728
|
+
SecretsSetRequest.prototype.toJSON = function toJSON() {
|
|
68729
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68730
|
+
};
|
|
68731
|
+
|
|
68732
|
+
/**
|
|
68733
|
+
* Gets the default type url for SecretsSetRequest
|
|
68734
|
+
* @function getTypeUrl
|
|
68735
|
+
* @memberof replit.goval.api.SecretsSetRequest
|
|
68736
|
+
* @static
|
|
68737
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68738
|
+
* @returns {string} The default type url
|
|
68739
|
+
*/
|
|
68740
|
+
SecretsSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68741
|
+
if (typeUrlPrefix === undefined) {
|
|
68742
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68743
|
+
}
|
|
68744
|
+
return typeUrlPrefix + "/replit.goval.api.SecretsSetRequest";
|
|
68745
|
+
};
|
|
68746
|
+
|
|
68747
|
+
return SecretsSetRequest;
|
|
68748
|
+
})();
|
|
68749
|
+
|
|
68067
68750
|
api.TLSCertificate = (function() {
|
|
68068
68751
|
|
|
68069
68752
|
/**
|
|
@@ -70045,6 +70728,7 @@
|
|
|
70045
70728
|
* @property {number} ANY_REPLID=2 ANY_REPLID value
|
|
70046
70729
|
* @property {number} ANY_USER=3 ANY_USER value
|
|
70047
70730
|
* @property {number} ANY_USER_ID=11 ANY_USER_ID value
|
|
70731
|
+
* @property {number} ANY_ORG=12 ANY_ORG value
|
|
70048
70732
|
* @property {number} ANY_CLUSTER=4 ANY_CLUSTER value
|
|
70049
70733
|
* @property {number} ANY_SUBCLUSTER=9 ANY_SUBCLUSTER value
|
|
70050
70734
|
*/
|
|
@@ -70060,6 +70744,7 @@
|
|
|
70060
70744
|
values[valuesById[2] = "ANY_REPLID"] = 2;
|
|
70061
70745
|
values[valuesById[3] = "ANY_USER"] = 3;
|
|
70062
70746
|
values[valuesById[11] = "ANY_USER_ID"] = 11;
|
|
70747
|
+
values[valuesById[12] = "ANY_ORG"] = 12;
|
|
70063
70748
|
values[valuesById[4] = "ANY_CLUSTER"] = 4;
|
|
70064
70749
|
values[valuesById[9] = "ANY_SUBCLUSTER"] = 9;
|
|
70065
70750
|
return values;
|
|
@@ -70074,6 +70759,7 @@
|
|
|
70074
70759
|
* @property {string|null} [replid] CertificateClaim replid
|
|
70075
70760
|
* @property {string|null} [user] CertificateClaim user
|
|
70076
70761
|
* @property {number|null} [userId] CertificateClaim userId
|
|
70762
|
+
* @property {replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null} [org] CertificateClaim org
|
|
70077
70763
|
* @property {string|null} [cluster] CertificateClaim cluster
|
|
70078
70764
|
* @property {string|null} [subcluster] CertificateClaim subcluster
|
|
70079
70765
|
* @property {boolean|null} [deployment] CertificateClaim deployment
|
|
@@ -70118,6 +70804,14 @@
|
|
|
70118
70804
|
*/
|
|
70119
70805
|
CertificateClaim.prototype.userId = null;
|
|
70120
70806
|
|
|
70807
|
+
/**
|
|
70808
|
+
* CertificateClaim org.
|
|
70809
|
+
* @member {replit.goval.api.repl.Org|null|undefined} org
|
|
70810
|
+
* @memberof replit.goval.api.CertificateClaim
|
|
70811
|
+
* @instance
|
|
70812
|
+
*/
|
|
70813
|
+
CertificateClaim.prototype.org = null;
|
|
70814
|
+
|
|
70121
70815
|
/**
|
|
70122
70816
|
* CertificateClaim cluster.
|
|
70123
70817
|
* @member {string|null|undefined} cluster
|
|
@@ -70155,12 +70849,12 @@
|
|
|
70155
70849
|
|
|
70156
70850
|
/**
|
|
70157
70851
|
* CertificateClaim claim.
|
|
70158
|
-
* @member {"replid"|"user"|"userId"|"cluster"|"subcluster"|"deployment"|"flag"|undefined} claim
|
|
70852
|
+
* @member {"replid"|"user"|"userId"|"org"|"cluster"|"subcluster"|"deployment"|"flag"|undefined} claim
|
|
70159
70853
|
* @memberof replit.goval.api.CertificateClaim
|
|
70160
70854
|
* @instance
|
|
70161
70855
|
*/
|
|
70162
70856
|
Object.defineProperty(CertificateClaim.prototype, "claim", {
|
|
70163
|
-
get: $util.oneOfGetter($oneOfFields = ["replid", "user", "userId", "cluster", "subcluster", "deployment", "flag"]),
|
|
70857
|
+
get: $util.oneOfGetter($oneOfFields = ["replid", "user", "userId", "org", "cluster", "subcluster", "deployment", "flag"]),
|
|
70164
70858
|
set: $util.oneOfSetter($oneOfFields)
|
|
70165
70859
|
});
|
|
70166
70860
|
|
|
@@ -70202,6 +70896,8 @@
|
|
|
70202
70896
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.deployment);
|
|
70203
70897
|
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
70204
70898
|
writer.uint32(/* id 7, wireType 0 =*/56).int64(message.userId);
|
|
70899
|
+
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
70900
|
+
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
70205
70901
|
return writer;
|
|
70206
70902
|
};
|
|
70207
70903
|
|
|
@@ -70248,6 +70944,10 @@
|
|
|
70248
70944
|
message.userId = reader.int64();
|
|
70249
70945
|
break;
|
|
70250
70946
|
}
|
|
70947
|
+
case 8: {
|
|
70948
|
+
message.org = $root.replit.goval.api.repl.Org.decode(reader, reader.uint32());
|
|
70949
|
+
break;
|
|
70950
|
+
}
|
|
70251
70951
|
case 4: {
|
|
70252
70952
|
message.cluster = reader.string();
|
|
70253
70953
|
break;
|
|
@@ -70319,6 +71019,16 @@
|
|
|
70319
71019
|
if (!$util.isInteger(message.userId) && !(message.userId && $util.isInteger(message.userId.low) && $util.isInteger(message.userId.high)))
|
|
70320
71020
|
return "userId: integer|Long expected";
|
|
70321
71021
|
}
|
|
71022
|
+
if (message.org != null && message.hasOwnProperty("org")) {
|
|
71023
|
+
if (properties.claim === 1)
|
|
71024
|
+
return "claim: multiple values";
|
|
71025
|
+
properties.claim = 1;
|
|
71026
|
+
{
|
|
71027
|
+
var error = $root.replit.goval.api.repl.Org.verify(message.org);
|
|
71028
|
+
if (error)
|
|
71029
|
+
return "org." + error;
|
|
71030
|
+
}
|
|
71031
|
+
}
|
|
70322
71032
|
if (message.cluster != null && message.hasOwnProperty("cluster")) {
|
|
70323
71033
|
if (properties.claim === 1)
|
|
70324
71034
|
return "claim: multiple values";
|
|
@@ -70357,6 +71067,7 @@
|
|
|
70357
71067
|
case 2:
|
|
70358
71068
|
case 3:
|
|
70359
71069
|
case 11:
|
|
71070
|
+
case 12:
|
|
70360
71071
|
case 4:
|
|
70361
71072
|
case 9:
|
|
70362
71073
|
break;
|
|
@@ -70390,6 +71101,11 @@
|
|
|
70390
71101
|
message.userId = object.userId;
|
|
70391
71102
|
else if (typeof object.userId === "object")
|
|
70392
71103
|
message.userId = new $util.LongBits(object.userId.low >>> 0, object.userId.high >>> 0).toNumber();
|
|
71104
|
+
if (object.org != null) {
|
|
71105
|
+
if (typeof object.org !== "object")
|
|
71106
|
+
throw TypeError(".replit.goval.api.CertificateClaim.org: object expected");
|
|
71107
|
+
message.org = $root.replit.goval.api.repl.Org.fromObject(object.org);
|
|
71108
|
+
}
|
|
70393
71109
|
if (object.cluster != null)
|
|
70394
71110
|
message.cluster = String(object.cluster);
|
|
70395
71111
|
if (object.subcluster != null)
|
|
@@ -70443,6 +71159,10 @@
|
|
|
70443
71159
|
case 11:
|
|
70444
71160
|
message.flag = 11;
|
|
70445
71161
|
break;
|
|
71162
|
+
case "ANY_ORG":
|
|
71163
|
+
case 12:
|
|
71164
|
+
message.flag = 12;
|
|
71165
|
+
break;
|
|
70446
71166
|
case "ANY_CLUSTER":
|
|
70447
71167
|
case 4:
|
|
70448
71168
|
message.flag = 4;
|
|
@@ -70506,6 +71226,11 @@
|
|
|
70506
71226
|
if (options.oneofs)
|
|
70507
71227
|
object.claim = "userId";
|
|
70508
71228
|
}
|
|
71229
|
+
if (message.org != null && message.hasOwnProperty("org")) {
|
|
71230
|
+
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
71231
|
+
if (options.oneofs)
|
|
71232
|
+
object.claim = "org";
|
|
71233
|
+
}
|
|
70509
71234
|
return object;
|
|
70510
71235
|
};
|
|
70511
71236
|
|