@replit/protocol 0.4.6 → 0.4.7
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 +528 -1
- package/main/index.js +1328 -2
- package/package.json +2 -1
package/main/index.d.ts
CHANGED
|
@@ -597,6 +597,15 @@ export namespace replit {
|
|
|
597
597
|
/** Command secretsSetRequest */
|
|
598
598
|
secretsSetRequest?: (replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null);
|
|
599
599
|
|
|
600
|
+
/** Command externalSecretsGetRequest */
|
|
601
|
+
externalSecretsGetRequest?: (replit.goval.api.ExternalSecretsGetRequest|replit.goval.api.IExternalSecretsGetRequest|null);
|
|
602
|
+
|
|
603
|
+
/** Command externalSecretsGetResponse */
|
|
604
|
+
externalSecretsGetResponse?: (replit.goval.api.ExternalSecretsGetResponse|replit.goval.api.IExternalSecretsGetResponse|null);
|
|
605
|
+
|
|
606
|
+
/** Command externalSecretsSetRequest */
|
|
607
|
+
externalSecretsSetRequest?: (replit.goval.api.ExternalSecretsSetRequest|replit.goval.api.IExternalSecretsSetRequest|null);
|
|
608
|
+
|
|
600
609
|
/** Command replResourcesUpdateNotification */
|
|
601
610
|
replResourcesUpdateNotification?: (replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null);
|
|
602
611
|
|
|
@@ -1204,6 +1213,15 @@ export namespace replit {
|
|
|
1204
1213
|
/** Command secretsSetRequest. */
|
|
1205
1214
|
public secretsSetRequest?: (replit.goval.api.SecretsSetRequest|null);
|
|
1206
1215
|
|
|
1216
|
+
/** Command externalSecretsGetRequest. */
|
|
1217
|
+
public externalSecretsGetRequest?: (replit.goval.api.ExternalSecretsGetRequest|null);
|
|
1218
|
+
|
|
1219
|
+
/** Command externalSecretsGetResponse. */
|
|
1220
|
+
public externalSecretsGetResponse?: (replit.goval.api.ExternalSecretsGetResponse|null);
|
|
1221
|
+
|
|
1222
|
+
/** Command externalSecretsSetRequest. */
|
|
1223
|
+
public externalSecretsSetRequest?: (replit.goval.api.ExternalSecretsSetRequest|null);
|
|
1224
|
+
|
|
1207
1225
|
/** Command replResourcesUpdateNotification. */
|
|
1208
1226
|
public replResourcesUpdateNotification?: (replit.goval.api.ReplResourcesUpdateNotification|null);
|
|
1209
1227
|
|
|
@@ -1217,7 +1235,7 @@ export namespace replit {
|
|
|
1217
1235
|
public forceTrace: boolean;
|
|
1218
1236
|
|
|
1219
1237
|
/** Command body. */
|
|
1220
|
-
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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification");
|
|
1238
|
+
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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification");
|
|
1221
1239
|
|
|
1222
1240
|
/**
|
|
1223
1241
|
* Creates a new Command instance using the specified properties.
|
|
@@ -20089,6 +20107,103 @@ export namespace replit {
|
|
|
20089
20107
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20090
20108
|
}
|
|
20091
20109
|
|
|
20110
|
+
/** Properties of a RunConfig. */
|
|
20111
|
+
interface IRunConfig {
|
|
20112
|
+
|
|
20113
|
+
/** RunConfig command */
|
|
20114
|
+
command?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
20115
|
+
}
|
|
20116
|
+
|
|
20117
|
+
/** Represents a RunConfig. */
|
|
20118
|
+
class RunConfig {
|
|
20119
|
+
|
|
20120
|
+
/**
|
|
20121
|
+
* Constructs a new RunConfig.
|
|
20122
|
+
* @param [properties] Properties to set
|
|
20123
|
+
*/
|
|
20124
|
+
private constructor(properties?: replit.goval.api.IRunConfig);
|
|
20125
|
+
|
|
20126
|
+
/** RunConfig command. */
|
|
20127
|
+
public command?: (replit.goval.api.Exec|null);
|
|
20128
|
+
|
|
20129
|
+
/**
|
|
20130
|
+
* Creates a new RunConfig instance using the specified properties.
|
|
20131
|
+
* @param [properties] Properties to set
|
|
20132
|
+
* @returns RunConfig instance
|
|
20133
|
+
*/
|
|
20134
|
+
public static create(properties?: replit.goval.api.IRunConfig): replit.goval.api.RunConfig;
|
|
20135
|
+
|
|
20136
|
+
/**
|
|
20137
|
+
* Encodes the specified RunConfig message. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
20138
|
+
* @param message RunConfig message or plain object to encode
|
|
20139
|
+
* @param [writer] Writer to encode to
|
|
20140
|
+
* @returns Writer
|
|
20141
|
+
*/
|
|
20142
|
+
public static encode(message: replit.goval.api.RunConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20143
|
+
|
|
20144
|
+
/**
|
|
20145
|
+
* Encodes the specified RunConfig message, length delimited. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
20146
|
+
* @param message RunConfig message or plain object to encode
|
|
20147
|
+
* @param [writer] Writer to encode to
|
|
20148
|
+
* @returns Writer
|
|
20149
|
+
*/
|
|
20150
|
+
public static encodeDelimited(message: replit.goval.api.RunConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20151
|
+
|
|
20152
|
+
/**
|
|
20153
|
+
* Decodes a RunConfig message from the specified reader or buffer.
|
|
20154
|
+
* @param reader Reader or buffer to decode from
|
|
20155
|
+
* @param [length] Message length if known beforehand
|
|
20156
|
+
* @returns RunConfig
|
|
20157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20159
|
+
*/
|
|
20160
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RunConfig;
|
|
20161
|
+
|
|
20162
|
+
/**
|
|
20163
|
+
* Decodes a RunConfig message from the specified reader or buffer, length delimited.
|
|
20164
|
+
* @param reader Reader or buffer to decode from
|
|
20165
|
+
* @returns RunConfig
|
|
20166
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20167
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20168
|
+
*/
|
|
20169
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RunConfig;
|
|
20170
|
+
|
|
20171
|
+
/**
|
|
20172
|
+
* Verifies a RunConfig message.
|
|
20173
|
+
* @param message Plain object to verify
|
|
20174
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20175
|
+
*/
|
|
20176
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20177
|
+
|
|
20178
|
+
/**
|
|
20179
|
+
* Creates a RunConfig message from a plain object. Also converts values to their respective internal types.
|
|
20180
|
+
* @param object Plain object
|
|
20181
|
+
* @returns RunConfig
|
|
20182
|
+
*/
|
|
20183
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.RunConfig;
|
|
20184
|
+
|
|
20185
|
+
/**
|
|
20186
|
+
* Creates a plain object from a RunConfig message. Also converts values to other types if specified.
|
|
20187
|
+
* @param message RunConfig
|
|
20188
|
+
* @param [options] Conversion options
|
|
20189
|
+
* @returns Plain object
|
|
20190
|
+
*/
|
|
20191
|
+
public static toObject(message: replit.goval.api.RunConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20192
|
+
|
|
20193
|
+
/**
|
|
20194
|
+
* Converts this RunConfig to JSON.
|
|
20195
|
+
* @returns JSON object
|
|
20196
|
+
*/
|
|
20197
|
+
public toJSON(): { [k: string]: any };
|
|
20198
|
+
|
|
20199
|
+
/**
|
|
20200
|
+
* Gets the default type url for RunConfig
|
|
20201
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20202
|
+
* @returns The default type url
|
|
20203
|
+
*/
|
|
20204
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20205
|
+
}
|
|
20206
|
+
|
|
20092
20207
|
/** Properties of a DapConfig. */
|
|
20093
20208
|
interface IDapConfig {
|
|
20094
20209
|
|
|
@@ -24224,6 +24339,15 @@ export namespace replit {
|
|
|
24224
24339
|
|
|
24225
24340
|
/** RunOption displayVersion */
|
|
24226
24341
|
displayVersion?: (string|null);
|
|
24342
|
+
|
|
24343
|
+
/** RunOption compile */
|
|
24344
|
+
compile?: (replit.goval.api.CompileConfig|replit.goval.api.ICompileConfig|null);
|
|
24345
|
+
|
|
24346
|
+
/** RunOption run */
|
|
24347
|
+
run?: (replit.goval.api.RunConfig|replit.goval.api.IRunConfig|null);
|
|
24348
|
+
|
|
24349
|
+
/** RunOption defaultEntrypoints */
|
|
24350
|
+
defaultEntrypoints?: (string[]|null);
|
|
24227
24351
|
}
|
|
24228
24352
|
|
|
24229
24353
|
/** Represents a RunOption. */
|
|
@@ -24259,6 +24383,15 @@ export namespace replit {
|
|
|
24259
24383
|
/** RunOption displayVersion. */
|
|
24260
24384
|
public displayVersion: string;
|
|
24261
24385
|
|
|
24386
|
+
/** RunOption compile. */
|
|
24387
|
+
public compile?: (replit.goval.api.CompileConfig|null);
|
|
24388
|
+
|
|
24389
|
+
/** RunOption run. */
|
|
24390
|
+
public run?: (replit.goval.api.RunConfig|null);
|
|
24391
|
+
|
|
24392
|
+
/** RunOption defaultEntrypoints. */
|
|
24393
|
+
public defaultEntrypoints: string[];
|
|
24394
|
+
|
|
24262
24395
|
/**
|
|
24263
24396
|
* Creates a new RunOption instance using the specified properties.
|
|
24264
24397
|
* @param [properties] Properties to set
|
|
@@ -26668,6 +26801,291 @@ export namespace replit {
|
|
|
26668
26801
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26669
26802
|
}
|
|
26670
26803
|
|
|
26804
|
+
/** Properties of an ExternalSecretsGetRequest. */
|
|
26805
|
+
interface IExternalSecretsGetRequest {
|
|
26806
|
+
}
|
|
26807
|
+
|
|
26808
|
+
/** Represents an ExternalSecretsGetRequest. */
|
|
26809
|
+
class ExternalSecretsGetRequest {
|
|
26810
|
+
|
|
26811
|
+
/**
|
|
26812
|
+
* Constructs a new ExternalSecretsGetRequest.
|
|
26813
|
+
* @param [properties] Properties to set
|
|
26814
|
+
*/
|
|
26815
|
+
private constructor(properties?: replit.goval.api.IExternalSecretsGetRequest);
|
|
26816
|
+
|
|
26817
|
+
/**
|
|
26818
|
+
* Creates a new ExternalSecretsGetRequest instance using the specified properties.
|
|
26819
|
+
* @param [properties] Properties to set
|
|
26820
|
+
* @returns ExternalSecretsGetRequest instance
|
|
26821
|
+
*/
|
|
26822
|
+
public static create(properties?: replit.goval.api.IExternalSecretsGetRequest): replit.goval.api.ExternalSecretsGetRequest;
|
|
26823
|
+
|
|
26824
|
+
/**
|
|
26825
|
+
* Encodes the specified ExternalSecretsGetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
26826
|
+
* @param message ExternalSecretsGetRequest message or plain object to encode
|
|
26827
|
+
* @param [writer] Writer to encode to
|
|
26828
|
+
* @returns Writer
|
|
26829
|
+
*/
|
|
26830
|
+
public static encode(message: replit.goval.api.ExternalSecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26831
|
+
|
|
26832
|
+
/**
|
|
26833
|
+
* Encodes the specified ExternalSecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
26834
|
+
* @param message ExternalSecretsGetRequest message or plain object to encode
|
|
26835
|
+
* @param [writer] Writer to encode to
|
|
26836
|
+
* @returns Writer
|
|
26837
|
+
*/
|
|
26838
|
+
public static encodeDelimited(message: replit.goval.api.ExternalSecretsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26839
|
+
|
|
26840
|
+
/**
|
|
26841
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer.
|
|
26842
|
+
* @param reader Reader or buffer to decode from
|
|
26843
|
+
* @param [length] Message length if known beforehand
|
|
26844
|
+
* @returns ExternalSecretsGetRequest
|
|
26845
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26846
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26847
|
+
*/
|
|
26848
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ExternalSecretsGetRequest;
|
|
26849
|
+
|
|
26850
|
+
/**
|
|
26851
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
26852
|
+
* @param reader Reader or buffer to decode from
|
|
26853
|
+
* @returns ExternalSecretsGetRequest
|
|
26854
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26855
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26856
|
+
*/
|
|
26857
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ExternalSecretsGetRequest;
|
|
26858
|
+
|
|
26859
|
+
/**
|
|
26860
|
+
* Verifies an ExternalSecretsGetRequest message.
|
|
26861
|
+
* @param message Plain object to verify
|
|
26862
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26863
|
+
*/
|
|
26864
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
26865
|
+
|
|
26866
|
+
/**
|
|
26867
|
+
* Creates an ExternalSecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
26868
|
+
* @param object Plain object
|
|
26869
|
+
* @returns ExternalSecretsGetRequest
|
|
26870
|
+
*/
|
|
26871
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ExternalSecretsGetRequest;
|
|
26872
|
+
|
|
26873
|
+
/**
|
|
26874
|
+
* Creates a plain object from an ExternalSecretsGetRequest message. Also converts values to other types if specified.
|
|
26875
|
+
* @param message ExternalSecretsGetRequest
|
|
26876
|
+
* @param [options] Conversion options
|
|
26877
|
+
* @returns Plain object
|
|
26878
|
+
*/
|
|
26879
|
+
public static toObject(message: replit.goval.api.ExternalSecretsGetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
26880
|
+
|
|
26881
|
+
/**
|
|
26882
|
+
* Converts this ExternalSecretsGetRequest to JSON.
|
|
26883
|
+
* @returns JSON object
|
|
26884
|
+
*/
|
|
26885
|
+
public toJSON(): { [k: string]: any };
|
|
26886
|
+
|
|
26887
|
+
/**
|
|
26888
|
+
* Gets the default type url for ExternalSecretsGetRequest
|
|
26889
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26890
|
+
* @returns The default type url
|
|
26891
|
+
*/
|
|
26892
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26893
|
+
}
|
|
26894
|
+
|
|
26895
|
+
/** Properties of an ExternalSecretsGetResponse. */
|
|
26896
|
+
interface IExternalSecretsGetResponse {
|
|
26897
|
+
|
|
26898
|
+
/** ExternalSecretsGetResponse externalSecrets */
|
|
26899
|
+
externalSecrets?: ({ [k: string]: string }|null);
|
|
26900
|
+
}
|
|
26901
|
+
|
|
26902
|
+
/** Represents an ExternalSecretsGetResponse. */
|
|
26903
|
+
class ExternalSecretsGetResponse {
|
|
26904
|
+
|
|
26905
|
+
/**
|
|
26906
|
+
* Constructs a new ExternalSecretsGetResponse.
|
|
26907
|
+
* @param [properties] Properties to set
|
|
26908
|
+
*/
|
|
26909
|
+
private constructor(properties?: replit.goval.api.IExternalSecretsGetResponse);
|
|
26910
|
+
|
|
26911
|
+
/** ExternalSecretsGetResponse externalSecrets. */
|
|
26912
|
+
public externalSecrets: { [k: string]: string };
|
|
26913
|
+
|
|
26914
|
+
/**
|
|
26915
|
+
* Creates a new ExternalSecretsGetResponse instance using the specified properties.
|
|
26916
|
+
* @param [properties] Properties to set
|
|
26917
|
+
* @returns ExternalSecretsGetResponse instance
|
|
26918
|
+
*/
|
|
26919
|
+
public static create(properties?: replit.goval.api.IExternalSecretsGetResponse): replit.goval.api.ExternalSecretsGetResponse;
|
|
26920
|
+
|
|
26921
|
+
/**
|
|
26922
|
+
* Encodes the specified ExternalSecretsGetResponse message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
26923
|
+
* @param message ExternalSecretsGetResponse message or plain object to encode
|
|
26924
|
+
* @param [writer] Writer to encode to
|
|
26925
|
+
* @returns Writer
|
|
26926
|
+
*/
|
|
26927
|
+
public static encode(message: replit.goval.api.ExternalSecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26928
|
+
|
|
26929
|
+
/**
|
|
26930
|
+
* Encodes the specified ExternalSecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
26931
|
+
* @param message ExternalSecretsGetResponse message or plain object to encode
|
|
26932
|
+
* @param [writer] Writer to encode to
|
|
26933
|
+
* @returns Writer
|
|
26934
|
+
*/
|
|
26935
|
+
public static encodeDelimited(message: replit.goval.api.ExternalSecretsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26936
|
+
|
|
26937
|
+
/**
|
|
26938
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer.
|
|
26939
|
+
* @param reader Reader or buffer to decode from
|
|
26940
|
+
* @param [length] Message length if known beforehand
|
|
26941
|
+
* @returns ExternalSecretsGetResponse
|
|
26942
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26943
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26944
|
+
*/
|
|
26945
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ExternalSecretsGetResponse;
|
|
26946
|
+
|
|
26947
|
+
/**
|
|
26948
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
26949
|
+
* @param reader Reader or buffer to decode from
|
|
26950
|
+
* @returns ExternalSecretsGetResponse
|
|
26951
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26952
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26953
|
+
*/
|
|
26954
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ExternalSecretsGetResponse;
|
|
26955
|
+
|
|
26956
|
+
/**
|
|
26957
|
+
* Verifies an ExternalSecretsGetResponse message.
|
|
26958
|
+
* @param message Plain object to verify
|
|
26959
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26960
|
+
*/
|
|
26961
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
26962
|
+
|
|
26963
|
+
/**
|
|
26964
|
+
* Creates an ExternalSecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
26965
|
+
* @param object Plain object
|
|
26966
|
+
* @returns ExternalSecretsGetResponse
|
|
26967
|
+
*/
|
|
26968
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ExternalSecretsGetResponse;
|
|
26969
|
+
|
|
26970
|
+
/**
|
|
26971
|
+
* Creates a plain object from an ExternalSecretsGetResponse message. Also converts values to other types if specified.
|
|
26972
|
+
* @param message ExternalSecretsGetResponse
|
|
26973
|
+
* @param [options] Conversion options
|
|
26974
|
+
* @returns Plain object
|
|
26975
|
+
*/
|
|
26976
|
+
public static toObject(message: replit.goval.api.ExternalSecretsGetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
26977
|
+
|
|
26978
|
+
/**
|
|
26979
|
+
* Converts this ExternalSecretsGetResponse to JSON.
|
|
26980
|
+
* @returns JSON object
|
|
26981
|
+
*/
|
|
26982
|
+
public toJSON(): { [k: string]: any };
|
|
26983
|
+
|
|
26984
|
+
/**
|
|
26985
|
+
* Gets the default type url for ExternalSecretsGetResponse
|
|
26986
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26987
|
+
* @returns The default type url
|
|
26988
|
+
*/
|
|
26989
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26990
|
+
}
|
|
26991
|
+
|
|
26992
|
+
/** Properties of an ExternalSecretsSetRequest. */
|
|
26993
|
+
interface IExternalSecretsSetRequest {
|
|
26994
|
+
|
|
26995
|
+
/** ExternalSecretsSetRequest externalSecrets */
|
|
26996
|
+
externalSecrets?: ({ [k: string]: string }|null);
|
|
26997
|
+
}
|
|
26998
|
+
|
|
26999
|
+
/** Represents an ExternalSecretsSetRequest. */
|
|
27000
|
+
class ExternalSecretsSetRequest {
|
|
27001
|
+
|
|
27002
|
+
/**
|
|
27003
|
+
* Constructs a new ExternalSecretsSetRequest.
|
|
27004
|
+
* @param [properties] Properties to set
|
|
27005
|
+
*/
|
|
27006
|
+
private constructor(properties?: replit.goval.api.IExternalSecretsSetRequest);
|
|
27007
|
+
|
|
27008
|
+
/** ExternalSecretsSetRequest externalSecrets. */
|
|
27009
|
+
public externalSecrets: { [k: string]: string };
|
|
27010
|
+
|
|
27011
|
+
/**
|
|
27012
|
+
* Creates a new ExternalSecretsSetRequest instance using the specified properties.
|
|
27013
|
+
* @param [properties] Properties to set
|
|
27014
|
+
* @returns ExternalSecretsSetRequest instance
|
|
27015
|
+
*/
|
|
27016
|
+
public static create(properties?: replit.goval.api.IExternalSecretsSetRequest): replit.goval.api.ExternalSecretsSetRequest;
|
|
27017
|
+
|
|
27018
|
+
/**
|
|
27019
|
+
* Encodes the specified ExternalSecretsSetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
27020
|
+
* @param message ExternalSecretsSetRequest message or plain object to encode
|
|
27021
|
+
* @param [writer] Writer to encode to
|
|
27022
|
+
* @returns Writer
|
|
27023
|
+
*/
|
|
27024
|
+
public static encode(message: replit.goval.api.ExternalSecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27025
|
+
|
|
27026
|
+
/**
|
|
27027
|
+
* Encodes the specified ExternalSecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
27028
|
+
* @param message ExternalSecretsSetRequest message or plain object to encode
|
|
27029
|
+
* @param [writer] Writer to encode to
|
|
27030
|
+
* @returns Writer
|
|
27031
|
+
*/
|
|
27032
|
+
public static encodeDelimited(message: replit.goval.api.ExternalSecretsSetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27033
|
+
|
|
27034
|
+
/**
|
|
27035
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer.
|
|
27036
|
+
* @param reader Reader or buffer to decode from
|
|
27037
|
+
* @param [length] Message length if known beforehand
|
|
27038
|
+
* @returns ExternalSecretsSetRequest
|
|
27039
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27040
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27041
|
+
*/
|
|
27042
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ExternalSecretsSetRequest;
|
|
27043
|
+
|
|
27044
|
+
/**
|
|
27045
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
27046
|
+
* @param reader Reader or buffer to decode from
|
|
27047
|
+
* @returns ExternalSecretsSetRequest
|
|
27048
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27049
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27050
|
+
*/
|
|
27051
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ExternalSecretsSetRequest;
|
|
27052
|
+
|
|
27053
|
+
/**
|
|
27054
|
+
* Verifies an ExternalSecretsSetRequest message.
|
|
27055
|
+
* @param message Plain object to verify
|
|
27056
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27057
|
+
*/
|
|
27058
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27059
|
+
|
|
27060
|
+
/**
|
|
27061
|
+
* Creates an ExternalSecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
27062
|
+
* @param object Plain object
|
|
27063
|
+
* @returns ExternalSecretsSetRequest
|
|
27064
|
+
*/
|
|
27065
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ExternalSecretsSetRequest;
|
|
27066
|
+
|
|
27067
|
+
/**
|
|
27068
|
+
* Creates a plain object from an ExternalSecretsSetRequest message. Also converts values to other types if specified.
|
|
27069
|
+
* @param message ExternalSecretsSetRequest
|
|
27070
|
+
* @param [options] Conversion options
|
|
27071
|
+
* @returns Plain object
|
|
27072
|
+
*/
|
|
27073
|
+
public static toObject(message: replit.goval.api.ExternalSecretsSetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27074
|
+
|
|
27075
|
+
/**
|
|
27076
|
+
* Converts this ExternalSecretsSetRequest to JSON.
|
|
27077
|
+
* @returns JSON object
|
|
27078
|
+
*/
|
|
27079
|
+
public toJSON(): { [k: string]: any };
|
|
27080
|
+
|
|
27081
|
+
/**
|
|
27082
|
+
* Gets the default type url for ExternalSecretsSetRequest
|
|
27083
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27084
|
+
* @returns The default type url
|
|
27085
|
+
*/
|
|
27086
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27087
|
+
}
|
|
27088
|
+
|
|
26671
27089
|
/** Properties of a ReplResourcesUpdateNotification. */
|
|
26672
27090
|
interface IReplResourcesUpdateNotification {
|
|
26673
27091
|
|
|
@@ -28487,6 +28905,9 @@ export namespace replit {
|
|
|
28487
28905
|
|
|
28488
28906
|
/** ReplToken replexec */
|
|
28489
28907
|
replexec?: (boolean|null);
|
|
28908
|
+
|
|
28909
|
+
/** ReplToken externalSecrets */
|
|
28910
|
+
externalSecrets?: ((replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret)[]|null);
|
|
28490
28911
|
}
|
|
28491
28912
|
|
|
28492
28913
|
/** Represents a ReplToken. */
|
|
@@ -28552,6 +28973,9 @@ export namespace replit {
|
|
|
28552
28973
|
/** ReplToken replexec. */
|
|
28553
28974
|
public replexec: boolean;
|
|
28554
28975
|
|
|
28976
|
+
/** ReplToken externalSecrets. */
|
|
28977
|
+
public externalSecrets: replit.goval.api.token.ReplToken.ExternalSecret[];
|
|
28978
|
+
|
|
28555
28979
|
/** ReplToken metadata. */
|
|
28556
28980
|
public metadata?: ("repl"|"id"|"classroom");
|
|
28557
28981
|
|
|
@@ -28951,6 +29375,109 @@ export namespace replit {
|
|
|
28951
29375
|
*/
|
|
28952
29376
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28953
29377
|
}
|
|
29378
|
+
|
|
29379
|
+
/** Properties of an ExternalSecret. */
|
|
29380
|
+
interface IExternalSecret {
|
|
29381
|
+
|
|
29382
|
+
/** ExternalSecret name */
|
|
29383
|
+
name?: (string|null);
|
|
29384
|
+
|
|
29385
|
+
/** ExternalSecret presignedUrl */
|
|
29386
|
+
presignedUrl?: (string|null);
|
|
29387
|
+
}
|
|
29388
|
+
|
|
29389
|
+
/** Represents an ExternalSecret. */
|
|
29390
|
+
class ExternalSecret {
|
|
29391
|
+
|
|
29392
|
+
/**
|
|
29393
|
+
* Constructs a new ExternalSecret.
|
|
29394
|
+
* @param [properties] Properties to set
|
|
29395
|
+
*/
|
|
29396
|
+
private constructor(properties?: replit.goval.api.token.ReplToken.IExternalSecret);
|
|
29397
|
+
|
|
29398
|
+
/** ExternalSecret name. */
|
|
29399
|
+
public name: string;
|
|
29400
|
+
|
|
29401
|
+
/** ExternalSecret presignedUrl. */
|
|
29402
|
+
public presignedUrl: string;
|
|
29403
|
+
|
|
29404
|
+
/**
|
|
29405
|
+
* Creates a new ExternalSecret instance using the specified properties.
|
|
29406
|
+
* @param [properties] Properties to set
|
|
29407
|
+
* @returns ExternalSecret instance
|
|
29408
|
+
*/
|
|
29409
|
+
public static create(properties?: replit.goval.api.token.ReplToken.IExternalSecret): replit.goval.api.token.ReplToken.ExternalSecret;
|
|
29410
|
+
|
|
29411
|
+
/**
|
|
29412
|
+
* Encodes the specified ExternalSecret message. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
29413
|
+
* @param message ExternalSecret message or plain object to encode
|
|
29414
|
+
* @param [writer] Writer to encode to
|
|
29415
|
+
* @returns Writer
|
|
29416
|
+
*/
|
|
29417
|
+
public static encode(message: replit.goval.api.token.ReplToken.ExternalSecret, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29418
|
+
|
|
29419
|
+
/**
|
|
29420
|
+
* Encodes the specified ExternalSecret message, length delimited. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
29421
|
+
* @param message ExternalSecret message or plain object to encode
|
|
29422
|
+
* @param [writer] Writer to encode to
|
|
29423
|
+
* @returns Writer
|
|
29424
|
+
*/
|
|
29425
|
+
public static encodeDelimited(message: replit.goval.api.token.ReplToken.ExternalSecret, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29426
|
+
|
|
29427
|
+
/**
|
|
29428
|
+
* Decodes an ExternalSecret message from the specified reader or buffer.
|
|
29429
|
+
* @param reader Reader or buffer to decode from
|
|
29430
|
+
* @param [length] Message length if known beforehand
|
|
29431
|
+
* @returns ExternalSecret
|
|
29432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29434
|
+
*/
|
|
29435
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.token.ReplToken.ExternalSecret;
|
|
29436
|
+
|
|
29437
|
+
/**
|
|
29438
|
+
* Decodes an ExternalSecret message from the specified reader or buffer, length delimited.
|
|
29439
|
+
* @param reader Reader or buffer to decode from
|
|
29440
|
+
* @returns ExternalSecret
|
|
29441
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29442
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29443
|
+
*/
|
|
29444
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.token.ReplToken.ExternalSecret;
|
|
29445
|
+
|
|
29446
|
+
/**
|
|
29447
|
+
* Verifies an ExternalSecret message.
|
|
29448
|
+
* @param message Plain object to verify
|
|
29449
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29450
|
+
*/
|
|
29451
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29452
|
+
|
|
29453
|
+
/**
|
|
29454
|
+
* Creates an ExternalSecret message from a plain object. Also converts values to their respective internal types.
|
|
29455
|
+
* @param object Plain object
|
|
29456
|
+
* @returns ExternalSecret
|
|
29457
|
+
*/
|
|
29458
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.token.ReplToken.ExternalSecret;
|
|
29459
|
+
|
|
29460
|
+
/**
|
|
29461
|
+
* Creates a plain object from an ExternalSecret message. Also converts values to other types if specified.
|
|
29462
|
+
* @param message ExternalSecret
|
|
29463
|
+
* @param [options] Conversion options
|
|
29464
|
+
* @returns Plain object
|
|
29465
|
+
*/
|
|
29466
|
+
public static toObject(message: replit.goval.api.token.ReplToken.ExternalSecret, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29467
|
+
|
|
29468
|
+
/**
|
|
29469
|
+
* Converts this ExternalSecret to JSON.
|
|
29470
|
+
* @returns JSON object
|
|
29471
|
+
*/
|
|
29472
|
+
public toJSON(): { [k: string]: any };
|
|
29473
|
+
|
|
29474
|
+
/**
|
|
29475
|
+
* Gets the default type url for ExternalSecret
|
|
29476
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29477
|
+
* @returns The default type url
|
|
29478
|
+
*/
|
|
29479
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29480
|
+
}
|
|
28954
29481
|
}
|
|
28955
29482
|
}
|
|
28956
29483
|
|