@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.js
CHANGED
|
@@ -244,6 +244,9 @@
|
|
|
244
244
|
* @property {replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null} [secretsGetRequest] Command secretsGetRequest
|
|
245
245
|
* @property {replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null} [secretsGetResponse] Command secretsGetResponse
|
|
246
246
|
* @property {replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null} [secretsSetRequest] Command secretsSetRequest
|
|
247
|
+
* @property {replit.goval.api.ExternalSecretsGetRequest|replit.goval.api.IExternalSecretsGetRequest|null} [externalSecretsGetRequest] Command externalSecretsGetRequest
|
|
248
|
+
* @property {replit.goval.api.ExternalSecretsGetResponse|replit.goval.api.IExternalSecretsGetResponse|null} [externalSecretsGetResponse] Command externalSecretsGetResponse
|
|
249
|
+
* @property {replit.goval.api.ExternalSecretsSetRequest|replit.goval.api.IExternalSecretsSetRequest|null} [externalSecretsSetRequest] Command externalSecretsSetRequest
|
|
247
250
|
* @property {replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null} [replResourcesUpdateNotification] Command replResourcesUpdateNotification
|
|
248
251
|
* @property {string|null} [ref] Command ref
|
|
249
252
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
@@ -1825,6 +1828,30 @@
|
|
|
1825
1828
|
*/
|
|
1826
1829
|
Command.prototype.secretsSetRequest = null;
|
|
1827
1830
|
|
|
1831
|
+
/**
|
|
1832
|
+
* Command externalSecretsGetRequest.
|
|
1833
|
+
* @member {replit.goval.api.ExternalSecretsGetRequest|null|undefined} externalSecretsGetRequest
|
|
1834
|
+
* @memberof replit.goval.api.Command
|
|
1835
|
+
* @instance
|
|
1836
|
+
*/
|
|
1837
|
+
Command.prototype.externalSecretsGetRequest = null;
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Command externalSecretsGetResponse.
|
|
1841
|
+
* @member {replit.goval.api.ExternalSecretsGetResponse|null|undefined} externalSecretsGetResponse
|
|
1842
|
+
* @memberof replit.goval.api.Command
|
|
1843
|
+
* @instance
|
|
1844
|
+
*/
|
|
1845
|
+
Command.prototype.externalSecretsGetResponse = null;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* Command externalSecretsSetRequest.
|
|
1849
|
+
* @member {replit.goval.api.ExternalSecretsSetRequest|null|undefined} externalSecretsSetRequest
|
|
1850
|
+
* @memberof replit.goval.api.Command
|
|
1851
|
+
* @instance
|
|
1852
|
+
*/
|
|
1853
|
+
Command.prototype.externalSecretsSetRequest = null;
|
|
1854
|
+
|
|
1828
1855
|
/**
|
|
1829
1856
|
* Command replResourcesUpdateNotification.
|
|
1830
1857
|
* @member {replit.goval.api.ReplResourcesUpdateNotification|null|undefined} replResourcesUpdateNotification
|
|
@@ -1862,12 +1889,12 @@
|
|
|
1862
1889
|
|
|
1863
1890
|
/**
|
|
1864
1891
|
* Command body.
|
|
1865
|
-
* @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"|"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"|undefined} body
|
|
1892
|
+
* @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"|"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"|undefined} body
|
|
1866
1893
|
* @memberof replit.goval.api.Command
|
|
1867
1894
|
* @instance
|
|
1868
1895
|
*/
|
|
1869
1896
|
Object.defineProperty(Command.prototype, "body", {
|
|
1870
|
-
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", "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"]),
|
|
1897
|
+
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", "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"]),
|
|
1871
1898
|
set: $util.oneOfSetter($oneOfFields)
|
|
1872
1899
|
});
|
|
1873
1900
|
|
|
@@ -2285,6 +2312,12 @@
|
|
|
2285
2312
|
$root.replit.goval.api.SecretsGetResponse.encode(message.secretsGetResponse, writer.uint32(/* id 467, wireType 2 =*/3738).fork()).ldelim();
|
|
2286
2313
|
if (message.secretsSetRequest != null && Object.hasOwnProperty.call(message, "secretsSetRequest"))
|
|
2287
2314
|
$root.replit.goval.api.SecretsSetRequest.encode(message.secretsSetRequest, writer.uint32(/* id 468, wireType 2 =*/3746).fork()).ldelim();
|
|
2315
|
+
if (message.externalSecretsGetRequest != null && Object.hasOwnProperty.call(message, "externalSecretsGetRequest"))
|
|
2316
|
+
$root.replit.goval.api.ExternalSecretsGetRequest.encode(message.externalSecretsGetRequest, writer.uint32(/* id 469, wireType 2 =*/3754).fork()).ldelim();
|
|
2317
|
+
if (message.externalSecretsGetResponse != null && Object.hasOwnProperty.call(message, "externalSecretsGetResponse"))
|
|
2318
|
+
$root.replit.goval.api.ExternalSecretsGetResponse.encode(message.externalSecretsGetResponse, writer.uint32(/* id 470, wireType 2 =*/3762).fork()).ldelim();
|
|
2319
|
+
if (message.externalSecretsSetRequest != null && Object.hasOwnProperty.call(message, "externalSecretsSetRequest"))
|
|
2320
|
+
$root.replit.goval.api.ExternalSecretsSetRequest.encode(message.externalSecretsSetRequest, writer.uint32(/* id 471, wireType 2 =*/3770).fork()).ldelim();
|
|
2288
2321
|
if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
|
|
2289
2322
|
$root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
|
|
2290
2323
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
@@ -3108,6 +3141,18 @@
|
|
|
3108
3141
|
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.decode(reader, reader.uint32());
|
|
3109
3142
|
break;
|
|
3110
3143
|
}
|
|
3144
|
+
case 469: {
|
|
3145
|
+
message.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.decode(reader, reader.uint32());
|
|
3146
|
+
break;
|
|
3147
|
+
}
|
|
3148
|
+
case 470: {
|
|
3149
|
+
message.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.decode(reader, reader.uint32());
|
|
3150
|
+
break;
|
|
3151
|
+
}
|
|
3152
|
+
case 471: {
|
|
3153
|
+
message.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.decode(reader, reader.uint32());
|
|
3154
|
+
break;
|
|
3155
|
+
}
|
|
3111
3156
|
case 600: {
|
|
3112
3157
|
message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.decode(reader, reader.uint32());
|
|
3113
3158
|
break;
|
|
@@ -5079,6 +5124,36 @@
|
|
|
5079
5124
|
return "secretsSetRequest." + error;
|
|
5080
5125
|
}
|
|
5081
5126
|
}
|
|
5127
|
+
if (message.externalSecretsGetRequest != null && message.hasOwnProperty("externalSecretsGetRequest")) {
|
|
5128
|
+
if (properties.body === 1)
|
|
5129
|
+
return "body: multiple values";
|
|
5130
|
+
properties.body = 1;
|
|
5131
|
+
{
|
|
5132
|
+
var error = $root.replit.goval.api.ExternalSecretsGetRequest.verify(message.externalSecretsGetRequest);
|
|
5133
|
+
if (error)
|
|
5134
|
+
return "externalSecretsGetRequest." + error;
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
if (message.externalSecretsGetResponse != null && message.hasOwnProperty("externalSecretsGetResponse")) {
|
|
5138
|
+
if (properties.body === 1)
|
|
5139
|
+
return "body: multiple values";
|
|
5140
|
+
properties.body = 1;
|
|
5141
|
+
{
|
|
5142
|
+
var error = $root.replit.goval.api.ExternalSecretsGetResponse.verify(message.externalSecretsGetResponse);
|
|
5143
|
+
if (error)
|
|
5144
|
+
return "externalSecretsGetResponse." + error;
|
|
5145
|
+
}
|
|
5146
|
+
}
|
|
5147
|
+
if (message.externalSecretsSetRequest != null && message.hasOwnProperty("externalSecretsSetRequest")) {
|
|
5148
|
+
if (properties.body === 1)
|
|
5149
|
+
return "body: multiple values";
|
|
5150
|
+
properties.body = 1;
|
|
5151
|
+
{
|
|
5152
|
+
var error = $root.replit.goval.api.ExternalSecretsSetRequest.verify(message.externalSecretsSetRequest);
|
|
5153
|
+
if (error)
|
|
5154
|
+
return "externalSecretsSetRequest." + error;
|
|
5155
|
+
}
|
|
5156
|
+
}
|
|
5082
5157
|
if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
|
|
5083
5158
|
if (properties.body === 1)
|
|
5084
5159
|
return "body: multiple values";
|
|
@@ -6062,6 +6137,21 @@
|
|
|
6062
6137
|
throw TypeError(".replit.goval.api.Command.secretsSetRequest: object expected");
|
|
6063
6138
|
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.fromObject(object.secretsSetRequest);
|
|
6064
6139
|
}
|
|
6140
|
+
if (object.externalSecretsGetRequest != null) {
|
|
6141
|
+
if (typeof object.externalSecretsGetRequest !== "object")
|
|
6142
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsGetRequest: object expected");
|
|
6143
|
+
message.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.fromObject(object.externalSecretsGetRequest);
|
|
6144
|
+
}
|
|
6145
|
+
if (object.externalSecretsGetResponse != null) {
|
|
6146
|
+
if (typeof object.externalSecretsGetResponse !== "object")
|
|
6147
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsGetResponse: object expected");
|
|
6148
|
+
message.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.fromObject(object.externalSecretsGetResponse);
|
|
6149
|
+
}
|
|
6150
|
+
if (object.externalSecretsSetRequest != null) {
|
|
6151
|
+
if (typeof object.externalSecretsSetRequest !== "object")
|
|
6152
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsSetRequest: object expected");
|
|
6153
|
+
message.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.fromObject(object.externalSecretsSetRequest);
|
|
6154
|
+
}
|
|
6065
6155
|
if (object.replResourcesUpdateNotification != null) {
|
|
6066
6156
|
if (typeof object.replResourcesUpdateNotification !== "object")
|
|
6067
6157
|
throw TypeError(".replit.goval.api.Command.replResourcesUpdateNotification: object expected");
|
|
@@ -7071,6 +7161,21 @@
|
|
|
7071
7161
|
if (options.oneofs)
|
|
7072
7162
|
object.body = "secretsSetRequest";
|
|
7073
7163
|
}
|
|
7164
|
+
if (message.externalSecretsGetRequest != null && message.hasOwnProperty("externalSecretsGetRequest")) {
|
|
7165
|
+
object.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.toObject(message.externalSecretsGetRequest, options);
|
|
7166
|
+
if (options.oneofs)
|
|
7167
|
+
object.body = "externalSecretsGetRequest";
|
|
7168
|
+
}
|
|
7169
|
+
if (message.externalSecretsGetResponse != null && message.hasOwnProperty("externalSecretsGetResponse")) {
|
|
7170
|
+
object.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.toObject(message.externalSecretsGetResponse, options);
|
|
7171
|
+
if (options.oneofs)
|
|
7172
|
+
object.body = "externalSecretsGetResponse";
|
|
7173
|
+
}
|
|
7174
|
+
if (message.externalSecretsSetRequest != null && message.hasOwnProperty("externalSecretsSetRequest")) {
|
|
7175
|
+
object.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.toObject(message.externalSecretsSetRequest, options);
|
|
7176
|
+
if (options.oneofs)
|
|
7177
|
+
object.body = "externalSecretsSetRequest";
|
|
7178
|
+
}
|
|
7074
7179
|
if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
|
|
7075
7180
|
object.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.toObject(message.replResourcesUpdateNotification, options);
|
|
7076
7181
|
if (options.oneofs)
|
|
@@ -51165,6 +51270,213 @@
|
|
|
51165
51270
|
return CompileConfig;
|
|
51166
51271
|
})();
|
|
51167
51272
|
|
|
51273
|
+
api.RunConfig = (function() {
|
|
51274
|
+
|
|
51275
|
+
/**
|
|
51276
|
+
* Properties of a RunConfig.
|
|
51277
|
+
* @memberof replit.goval.api
|
|
51278
|
+
* @interface IRunConfig
|
|
51279
|
+
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [command] RunConfig command
|
|
51280
|
+
*/
|
|
51281
|
+
|
|
51282
|
+
/**
|
|
51283
|
+
* Constructs a new RunConfig.
|
|
51284
|
+
* @memberof replit.goval.api
|
|
51285
|
+
* @classdesc Represents a RunConfig.
|
|
51286
|
+
* @constructor
|
|
51287
|
+
* @param {replit.goval.api.IRunConfig=} [properties] Properties to set
|
|
51288
|
+
*/
|
|
51289
|
+
function RunConfig(properties) {
|
|
51290
|
+
if (properties)
|
|
51291
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
51292
|
+
if (properties[keys[i]] != null)
|
|
51293
|
+
this[keys[i]] = properties[keys[i]];
|
|
51294
|
+
}
|
|
51295
|
+
|
|
51296
|
+
/**
|
|
51297
|
+
* RunConfig command.
|
|
51298
|
+
* @member {replit.goval.api.Exec|null|undefined} command
|
|
51299
|
+
* @memberof replit.goval.api.RunConfig
|
|
51300
|
+
* @instance
|
|
51301
|
+
*/
|
|
51302
|
+
RunConfig.prototype.command = null;
|
|
51303
|
+
|
|
51304
|
+
/**
|
|
51305
|
+
* Creates a new RunConfig instance using the specified properties.
|
|
51306
|
+
* @function create
|
|
51307
|
+
* @memberof replit.goval.api.RunConfig
|
|
51308
|
+
* @static
|
|
51309
|
+
* @param {replit.goval.api.IRunConfig=} [properties] Properties to set
|
|
51310
|
+
* @returns {replit.goval.api.RunConfig} RunConfig instance
|
|
51311
|
+
*/
|
|
51312
|
+
RunConfig.create = function create(properties) {
|
|
51313
|
+
return RunConfig.fromObject(properties);
|
|
51314
|
+
};
|
|
51315
|
+
|
|
51316
|
+
/**
|
|
51317
|
+
* Encodes the specified RunConfig message. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
51318
|
+
* @function encode
|
|
51319
|
+
* @memberof replit.goval.api.RunConfig
|
|
51320
|
+
* @static
|
|
51321
|
+
* @param {replit.goval.api.RunConfig} message RunConfig message or plain object to encode
|
|
51322
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51323
|
+
* @returns {$protobuf.Writer} Writer
|
|
51324
|
+
*/
|
|
51325
|
+
RunConfig.encode = function encode(message, writer) {
|
|
51326
|
+
if (!writer)
|
|
51327
|
+
writer = $Writer.create();
|
|
51328
|
+
if (message.command != null && Object.hasOwnProperty.call(message, "command"))
|
|
51329
|
+
$root.replit.goval.api.Exec.encode(message.command, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
51330
|
+
return writer;
|
|
51331
|
+
};
|
|
51332
|
+
|
|
51333
|
+
/**
|
|
51334
|
+
* Encodes the specified RunConfig message, length delimited. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
51335
|
+
* @function encodeDelimited
|
|
51336
|
+
* @memberof replit.goval.api.RunConfig
|
|
51337
|
+
* @static
|
|
51338
|
+
* @param {replit.goval.api.RunConfig} message RunConfig message or plain object to encode
|
|
51339
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51340
|
+
* @returns {$protobuf.Writer} Writer
|
|
51341
|
+
*/
|
|
51342
|
+
RunConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
51343
|
+
return this.encode(message, writer).ldelim();
|
|
51344
|
+
};
|
|
51345
|
+
|
|
51346
|
+
/**
|
|
51347
|
+
* Decodes a RunConfig message from the specified reader or buffer.
|
|
51348
|
+
* @function decode
|
|
51349
|
+
* @memberof replit.goval.api.RunConfig
|
|
51350
|
+
* @static
|
|
51351
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51352
|
+
* @param {number} [length] Message length if known beforehand
|
|
51353
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51354
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51355
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51356
|
+
*/
|
|
51357
|
+
RunConfig.decode = function decode(reader, length) {
|
|
51358
|
+
if (!(reader instanceof $Reader))
|
|
51359
|
+
reader = $Reader.create(reader);
|
|
51360
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.RunConfig();
|
|
51361
|
+
while (reader.pos < end) {
|
|
51362
|
+
var tag = reader.uint32();
|
|
51363
|
+
switch (tag >>> 3) {
|
|
51364
|
+
case 1: {
|
|
51365
|
+
message.command = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
|
|
51366
|
+
break;
|
|
51367
|
+
}
|
|
51368
|
+
default:
|
|
51369
|
+
reader.skipType(tag & 7);
|
|
51370
|
+
break;
|
|
51371
|
+
}
|
|
51372
|
+
}
|
|
51373
|
+
return message;
|
|
51374
|
+
};
|
|
51375
|
+
|
|
51376
|
+
/**
|
|
51377
|
+
* Decodes a RunConfig message from the specified reader or buffer, length delimited.
|
|
51378
|
+
* @function decodeDelimited
|
|
51379
|
+
* @memberof replit.goval.api.RunConfig
|
|
51380
|
+
* @static
|
|
51381
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51382
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51383
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51384
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51385
|
+
*/
|
|
51386
|
+
RunConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
51387
|
+
if (!(reader instanceof $Reader))
|
|
51388
|
+
reader = new $Reader(reader);
|
|
51389
|
+
return this.decode(reader, reader.uint32());
|
|
51390
|
+
};
|
|
51391
|
+
|
|
51392
|
+
/**
|
|
51393
|
+
* Verifies a RunConfig message.
|
|
51394
|
+
* @function verify
|
|
51395
|
+
* @memberof replit.goval.api.RunConfig
|
|
51396
|
+
* @static
|
|
51397
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
51398
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
51399
|
+
*/
|
|
51400
|
+
RunConfig.verify = function verify(message) {
|
|
51401
|
+
if (typeof message !== "object" || message === null)
|
|
51402
|
+
return "object expected";
|
|
51403
|
+
if (message.command != null && message.hasOwnProperty("command")) {
|
|
51404
|
+
var error = $root.replit.goval.api.Exec.verify(message.command);
|
|
51405
|
+
if (error)
|
|
51406
|
+
return "command." + error;
|
|
51407
|
+
}
|
|
51408
|
+
return null;
|
|
51409
|
+
};
|
|
51410
|
+
|
|
51411
|
+
/**
|
|
51412
|
+
* Creates a RunConfig message from a plain object. Also converts values to their respective internal types.
|
|
51413
|
+
* @function fromObject
|
|
51414
|
+
* @memberof replit.goval.api.RunConfig
|
|
51415
|
+
* @static
|
|
51416
|
+
* @param {Object.<string,*>} object Plain object
|
|
51417
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51418
|
+
*/
|
|
51419
|
+
RunConfig.fromObject = function fromObject(object) {
|
|
51420
|
+
if (object instanceof $root.replit.goval.api.RunConfig)
|
|
51421
|
+
return object;
|
|
51422
|
+
var message = new $root.replit.goval.api.RunConfig();
|
|
51423
|
+
if (object.command != null) {
|
|
51424
|
+
if (typeof object.command !== "object")
|
|
51425
|
+
throw TypeError(".replit.goval.api.RunConfig.command: object expected");
|
|
51426
|
+
message.command = $root.replit.goval.api.Exec.fromObject(object.command);
|
|
51427
|
+
}
|
|
51428
|
+
return message;
|
|
51429
|
+
};
|
|
51430
|
+
|
|
51431
|
+
/**
|
|
51432
|
+
* Creates a plain object from a RunConfig message. Also converts values to other types if specified.
|
|
51433
|
+
* @function toObject
|
|
51434
|
+
* @memberof replit.goval.api.RunConfig
|
|
51435
|
+
* @static
|
|
51436
|
+
* @param {replit.goval.api.RunConfig} message RunConfig
|
|
51437
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
51438
|
+
* @returns {Object.<string,*>} Plain object
|
|
51439
|
+
*/
|
|
51440
|
+
RunConfig.toObject = function toObject(message, options) {
|
|
51441
|
+
if (!options)
|
|
51442
|
+
options = {};
|
|
51443
|
+
var object = {};
|
|
51444
|
+
if (options.defaults)
|
|
51445
|
+
object.command = null;
|
|
51446
|
+
if (message.command != null && message.hasOwnProperty("command"))
|
|
51447
|
+
object.command = $root.replit.goval.api.Exec.toObject(message.command, options);
|
|
51448
|
+
return object;
|
|
51449
|
+
};
|
|
51450
|
+
|
|
51451
|
+
/**
|
|
51452
|
+
* Converts this RunConfig to JSON.
|
|
51453
|
+
* @function toJSON
|
|
51454
|
+
* @memberof replit.goval.api.RunConfig
|
|
51455
|
+
* @instance
|
|
51456
|
+
* @returns {Object.<string,*>} JSON object
|
|
51457
|
+
*/
|
|
51458
|
+
RunConfig.prototype.toJSON = function toJSON() {
|
|
51459
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
51460
|
+
};
|
|
51461
|
+
|
|
51462
|
+
/**
|
|
51463
|
+
* Gets the default type url for RunConfig
|
|
51464
|
+
* @function getTypeUrl
|
|
51465
|
+
* @memberof replit.goval.api.RunConfig
|
|
51466
|
+
* @static
|
|
51467
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
51468
|
+
* @returns {string} The default type url
|
|
51469
|
+
*/
|
|
51470
|
+
RunConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
51471
|
+
if (typeUrlPrefix === undefined) {
|
|
51472
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
51473
|
+
}
|
|
51474
|
+
return typeUrlPrefix + "/replit.goval.api.RunConfig";
|
|
51475
|
+
};
|
|
51476
|
+
|
|
51477
|
+
return RunConfig;
|
|
51478
|
+
})();
|
|
51479
|
+
|
|
51168
51480
|
api.DapConfig = (function() {
|
|
51169
51481
|
|
|
51170
51482
|
/**
|
|
@@ -61335,6 +61647,9 @@
|
|
|
61335
61647
|
* @property {boolean|null} [interpreter] RunOption interpreter
|
|
61336
61648
|
* @property {boolean|null} [optionalFileParam] RunOption optionalFileParam
|
|
61337
61649
|
* @property {string|null} [displayVersion] RunOption displayVersion
|
|
61650
|
+
* @property {replit.goval.api.CompileConfig|replit.goval.api.ICompileConfig|null} [compile] RunOption compile
|
|
61651
|
+
* @property {replit.goval.api.RunConfig|replit.goval.api.IRunConfig|null} [run] RunOption run
|
|
61652
|
+
* @property {Array.<string>|null} [defaultEntrypoints] RunOption defaultEntrypoints
|
|
61338
61653
|
*/
|
|
61339
61654
|
|
|
61340
61655
|
/**
|
|
@@ -61345,6 +61660,7 @@
|
|
|
61345
61660
|
* @param {replit.goval.api.IRunOption=} [properties] Properties to set
|
|
61346
61661
|
*/
|
|
61347
61662
|
function RunOption(properties) {
|
|
61663
|
+
this.defaultEntrypoints = [];
|
|
61348
61664
|
if (properties)
|
|
61349
61665
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
61350
61666
|
if (properties[keys[i]] != null)
|
|
@@ -61415,6 +61731,30 @@
|
|
|
61415
61731
|
*/
|
|
61416
61732
|
RunOption.prototype.displayVersion = "";
|
|
61417
61733
|
|
|
61734
|
+
/**
|
|
61735
|
+
* RunOption compile.
|
|
61736
|
+
* @member {replit.goval.api.CompileConfig|null|undefined} compile
|
|
61737
|
+
* @memberof replit.goval.api.RunOption
|
|
61738
|
+
* @instance
|
|
61739
|
+
*/
|
|
61740
|
+
RunOption.prototype.compile = null;
|
|
61741
|
+
|
|
61742
|
+
/**
|
|
61743
|
+
* RunOption run.
|
|
61744
|
+
* @member {replit.goval.api.RunConfig|null|undefined} run
|
|
61745
|
+
* @memberof replit.goval.api.RunOption
|
|
61746
|
+
* @instance
|
|
61747
|
+
*/
|
|
61748
|
+
RunOption.prototype.run = null;
|
|
61749
|
+
|
|
61750
|
+
/**
|
|
61751
|
+
* RunOption defaultEntrypoints.
|
|
61752
|
+
* @member {Array.<string>} defaultEntrypoints
|
|
61753
|
+
* @memberof replit.goval.api.RunOption
|
|
61754
|
+
* @instance
|
|
61755
|
+
*/
|
|
61756
|
+
RunOption.prototype.defaultEntrypoints = $util.emptyArray;
|
|
61757
|
+
|
|
61418
61758
|
/**
|
|
61419
61759
|
* Creates a new RunOption instance using the specified properties.
|
|
61420
61760
|
* @function create
|
|
@@ -61455,6 +61795,13 @@
|
|
|
61455
61795
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.optionalFileParam);
|
|
61456
61796
|
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
61457
61797
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.displayVersion);
|
|
61798
|
+
if (message.compile != null && Object.hasOwnProperty.call(message, "compile"))
|
|
61799
|
+
$root.replit.goval.api.CompileConfig.encode(message.compile, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
61800
|
+
if (message.run != null && Object.hasOwnProperty.call(message, "run"))
|
|
61801
|
+
$root.replit.goval.api.RunConfig.encode(message.run, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
61802
|
+
if (message.defaultEntrypoints != null && message.defaultEntrypoints.length)
|
|
61803
|
+
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
61804
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.defaultEntrypoints[i]);
|
|
61458
61805
|
return writer;
|
|
61459
61806
|
};
|
|
61460
61807
|
|
|
@@ -61521,6 +61868,20 @@
|
|
|
61521
61868
|
message.displayVersion = reader.string();
|
|
61522
61869
|
break;
|
|
61523
61870
|
}
|
|
61871
|
+
case 9: {
|
|
61872
|
+
message.compile = $root.replit.goval.api.CompileConfig.decode(reader, reader.uint32());
|
|
61873
|
+
break;
|
|
61874
|
+
}
|
|
61875
|
+
case 10: {
|
|
61876
|
+
message.run = $root.replit.goval.api.RunConfig.decode(reader, reader.uint32());
|
|
61877
|
+
break;
|
|
61878
|
+
}
|
|
61879
|
+
case 11: {
|
|
61880
|
+
if (!(message.defaultEntrypoints && message.defaultEntrypoints.length))
|
|
61881
|
+
message.defaultEntrypoints = [];
|
|
61882
|
+
message.defaultEntrypoints.push(reader.string());
|
|
61883
|
+
break;
|
|
61884
|
+
}
|
|
61524
61885
|
default:
|
|
61525
61886
|
reader.skipType(tag & 7);
|
|
61526
61887
|
break;
|
|
@@ -61582,6 +61943,23 @@
|
|
|
61582
61943
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
61583
61944
|
if (!$util.isString(message.displayVersion))
|
|
61584
61945
|
return "displayVersion: string expected";
|
|
61946
|
+
if (message.compile != null && message.hasOwnProperty("compile")) {
|
|
61947
|
+
var error = $root.replit.goval.api.CompileConfig.verify(message.compile);
|
|
61948
|
+
if (error)
|
|
61949
|
+
return "compile." + error;
|
|
61950
|
+
}
|
|
61951
|
+
if (message.run != null && message.hasOwnProperty("run")) {
|
|
61952
|
+
var error = $root.replit.goval.api.RunConfig.verify(message.run);
|
|
61953
|
+
if (error)
|
|
61954
|
+
return "run." + error;
|
|
61955
|
+
}
|
|
61956
|
+
if (message.defaultEntrypoints != null && message.hasOwnProperty("defaultEntrypoints")) {
|
|
61957
|
+
if (!Array.isArray(message.defaultEntrypoints))
|
|
61958
|
+
return "defaultEntrypoints: array expected";
|
|
61959
|
+
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
61960
|
+
if (!$util.isString(message.defaultEntrypoints[i]))
|
|
61961
|
+
return "defaultEntrypoints: string[] expected";
|
|
61962
|
+
}
|
|
61585
61963
|
return null;
|
|
61586
61964
|
};
|
|
61587
61965
|
|
|
@@ -61616,6 +61994,23 @@
|
|
|
61616
61994
|
message.optionalFileParam = Boolean(object.optionalFileParam);
|
|
61617
61995
|
if (object.displayVersion != null)
|
|
61618
61996
|
message.displayVersion = String(object.displayVersion);
|
|
61997
|
+
if (object.compile != null) {
|
|
61998
|
+
if (typeof object.compile !== "object")
|
|
61999
|
+
throw TypeError(".replit.goval.api.RunOption.compile: object expected");
|
|
62000
|
+
message.compile = $root.replit.goval.api.CompileConfig.fromObject(object.compile);
|
|
62001
|
+
}
|
|
62002
|
+
if (object.run != null) {
|
|
62003
|
+
if (typeof object.run !== "object")
|
|
62004
|
+
throw TypeError(".replit.goval.api.RunOption.run: object expected");
|
|
62005
|
+
message.run = $root.replit.goval.api.RunConfig.fromObject(object.run);
|
|
62006
|
+
}
|
|
62007
|
+
if (object.defaultEntrypoints) {
|
|
62008
|
+
if (!Array.isArray(object.defaultEntrypoints))
|
|
62009
|
+
throw TypeError(".replit.goval.api.RunOption.defaultEntrypoints: array expected");
|
|
62010
|
+
message.defaultEntrypoints = [];
|
|
62011
|
+
for (var i = 0; i < object.defaultEntrypoints.length; ++i)
|
|
62012
|
+
message.defaultEntrypoints[i] = String(object.defaultEntrypoints[i]);
|
|
62013
|
+
}
|
|
61619
62014
|
return message;
|
|
61620
62015
|
};
|
|
61621
62016
|
|
|
@@ -61632,6 +62027,8 @@
|
|
|
61632
62027
|
if (!options)
|
|
61633
62028
|
options = {};
|
|
61634
62029
|
var object = {};
|
|
62030
|
+
if (options.arrays || options.defaults)
|
|
62031
|
+
object.defaultEntrypoints = [];
|
|
61635
62032
|
if (options.defaults) {
|
|
61636
62033
|
object.id = "";
|
|
61637
62034
|
object.name = "";
|
|
@@ -61641,6 +62038,8 @@
|
|
|
61641
62038
|
object.interpreter = false;
|
|
61642
62039
|
object.optionalFileParam = false;
|
|
61643
62040
|
object.displayVersion = "";
|
|
62041
|
+
object.compile = null;
|
|
62042
|
+
object.run = null;
|
|
61644
62043
|
}
|
|
61645
62044
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
61646
62045
|
object.id = message.id;
|
|
@@ -61658,6 +62057,15 @@
|
|
|
61658
62057
|
object.optionalFileParam = message.optionalFileParam;
|
|
61659
62058
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
61660
62059
|
object.displayVersion = message.displayVersion;
|
|
62060
|
+
if (message.compile != null && message.hasOwnProperty("compile"))
|
|
62061
|
+
object.compile = $root.replit.goval.api.CompileConfig.toObject(message.compile, options);
|
|
62062
|
+
if (message.run != null && message.hasOwnProperty("run"))
|
|
62063
|
+
object.run = $root.replit.goval.api.RunConfig.toObject(message.run, options);
|
|
62064
|
+
if (message.defaultEntrypoints && message.defaultEntrypoints.length) {
|
|
62065
|
+
object.defaultEntrypoints = [];
|
|
62066
|
+
for (var j = 0; j < message.defaultEntrypoints.length; ++j)
|
|
62067
|
+
object.defaultEntrypoints[j] = message.defaultEntrypoints[j];
|
|
62068
|
+
}
|
|
61661
62069
|
return object;
|
|
61662
62070
|
};
|
|
61663
62071
|
|
|
@@ -67328,6 +67736,654 @@
|
|
|
67328
67736
|
return SecretsSetRequest;
|
|
67329
67737
|
})();
|
|
67330
67738
|
|
|
67739
|
+
api.ExternalSecretsGetRequest = (function() {
|
|
67740
|
+
|
|
67741
|
+
/**
|
|
67742
|
+
* Properties of an ExternalSecretsGetRequest.
|
|
67743
|
+
* @memberof replit.goval.api
|
|
67744
|
+
* @interface IExternalSecretsGetRequest
|
|
67745
|
+
*/
|
|
67746
|
+
|
|
67747
|
+
/**
|
|
67748
|
+
* Constructs a new ExternalSecretsGetRequest.
|
|
67749
|
+
* @memberof replit.goval.api
|
|
67750
|
+
* @classdesc Represents an ExternalSecretsGetRequest.
|
|
67751
|
+
* @constructor
|
|
67752
|
+
* @param {replit.goval.api.IExternalSecretsGetRequest=} [properties] Properties to set
|
|
67753
|
+
*/
|
|
67754
|
+
function ExternalSecretsGetRequest(properties) {
|
|
67755
|
+
if (properties)
|
|
67756
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
67757
|
+
if (properties[keys[i]] != null)
|
|
67758
|
+
this[keys[i]] = properties[keys[i]];
|
|
67759
|
+
}
|
|
67760
|
+
|
|
67761
|
+
/**
|
|
67762
|
+
* Creates a new ExternalSecretsGetRequest instance using the specified properties.
|
|
67763
|
+
* @function create
|
|
67764
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67765
|
+
* @static
|
|
67766
|
+
* @param {replit.goval.api.IExternalSecretsGetRequest=} [properties] Properties to set
|
|
67767
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest instance
|
|
67768
|
+
*/
|
|
67769
|
+
ExternalSecretsGetRequest.create = function create(properties) {
|
|
67770
|
+
return ExternalSecretsGetRequest.fromObject(properties);
|
|
67771
|
+
};
|
|
67772
|
+
|
|
67773
|
+
/**
|
|
67774
|
+
* Encodes the specified ExternalSecretsGetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
67775
|
+
* @function encode
|
|
67776
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67777
|
+
* @static
|
|
67778
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest message or plain object to encode
|
|
67779
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67780
|
+
* @returns {$protobuf.Writer} Writer
|
|
67781
|
+
*/
|
|
67782
|
+
ExternalSecretsGetRequest.encode = function encode(message, writer) {
|
|
67783
|
+
if (!writer)
|
|
67784
|
+
writer = $Writer.create();
|
|
67785
|
+
return writer;
|
|
67786
|
+
};
|
|
67787
|
+
|
|
67788
|
+
/**
|
|
67789
|
+
* Encodes the specified ExternalSecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
67790
|
+
* @function encodeDelimited
|
|
67791
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67792
|
+
* @static
|
|
67793
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest message or plain object to encode
|
|
67794
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67795
|
+
* @returns {$protobuf.Writer} Writer
|
|
67796
|
+
*/
|
|
67797
|
+
ExternalSecretsGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
67798
|
+
return this.encode(message, writer).ldelim();
|
|
67799
|
+
};
|
|
67800
|
+
|
|
67801
|
+
/**
|
|
67802
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer.
|
|
67803
|
+
* @function decode
|
|
67804
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67805
|
+
* @static
|
|
67806
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
67807
|
+
* @param {number} [length] Message length if known beforehand
|
|
67808
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
67809
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67810
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67811
|
+
*/
|
|
67812
|
+
ExternalSecretsGetRequest.decode = function decode(reader, length) {
|
|
67813
|
+
if (!(reader instanceof $Reader))
|
|
67814
|
+
reader = $Reader.create(reader);
|
|
67815
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsGetRequest();
|
|
67816
|
+
while (reader.pos < end) {
|
|
67817
|
+
var tag = reader.uint32();
|
|
67818
|
+
switch (tag >>> 3) {
|
|
67819
|
+
default:
|
|
67820
|
+
reader.skipType(tag & 7);
|
|
67821
|
+
break;
|
|
67822
|
+
}
|
|
67823
|
+
}
|
|
67824
|
+
return message;
|
|
67825
|
+
};
|
|
67826
|
+
|
|
67827
|
+
/**
|
|
67828
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
67829
|
+
* @function decodeDelimited
|
|
67830
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67831
|
+
* @static
|
|
67832
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
67833
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
67834
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67835
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67836
|
+
*/
|
|
67837
|
+
ExternalSecretsGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
67838
|
+
if (!(reader instanceof $Reader))
|
|
67839
|
+
reader = new $Reader(reader);
|
|
67840
|
+
return this.decode(reader, reader.uint32());
|
|
67841
|
+
};
|
|
67842
|
+
|
|
67843
|
+
/**
|
|
67844
|
+
* Verifies an ExternalSecretsGetRequest message.
|
|
67845
|
+
* @function verify
|
|
67846
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67847
|
+
* @static
|
|
67848
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
67849
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
67850
|
+
*/
|
|
67851
|
+
ExternalSecretsGetRequest.verify = function verify(message) {
|
|
67852
|
+
if (typeof message !== "object" || message === null)
|
|
67853
|
+
return "object expected";
|
|
67854
|
+
return null;
|
|
67855
|
+
};
|
|
67856
|
+
|
|
67857
|
+
/**
|
|
67858
|
+
* Creates an ExternalSecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
67859
|
+
* @function fromObject
|
|
67860
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67861
|
+
* @static
|
|
67862
|
+
* @param {Object.<string,*>} object Plain object
|
|
67863
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
67864
|
+
*/
|
|
67865
|
+
ExternalSecretsGetRequest.fromObject = function fromObject(object) {
|
|
67866
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsGetRequest)
|
|
67867
|
+
return object;
|
|
67868
|
+
return new $root.replit.goval.api.ExternalSecretsGetRequest();
|
|
67869
|
+
};
|
|
67870
|
+
|
|
67871
|
+
/**
|
|
67872
|
+
* Creates a plain object from an ExternalSecretsGetRequest message. Also converts values to other types if specified.
|
|
67873
|
+
* @function toObject
|
|
67874
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67875
|
+
* @static
|
|
67876
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest
|
|
67877
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
67878
|
+
* @returns {Object.<string,*>} Plain object
|
|
67879
|
+
*/
|
|
67880
|
+
ExternalSecretsGetRequest.toObject = function toObject() {
|
|
67881
|
+
return {};
|
|
67882
|
+
};
|
|
67883
|
+
|
|
67884
|
+
/**
|
|
67885
|
+
* Converts this ExternalSecretsGetRequest to JSON.
|
|
67886
|
+
* @function toJSON
|
|
67887
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67888
|
+
* @instance
|
|
67889
|
+
* @returns {Object.<string,*>} JSON object
|
|
67890
|
+
*/
|
|
67891
|
+
ExternalSecretsGetRequest.prototype.toJSON = function toJSON() {
|
|
67892
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
67893
|
+
};
|
|
67894
|
+
|
|
67895
|
+
/**
|
|
67896
|
+
* Gets the default type url for ExternalSecretsGetRequest
|
|
67897
|
+
* @function getTypeUrl
|
|
67898
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67899
|
+
* @static
|
|
67900
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
67901
|
+
* @returns {string} The default type url
|
|
67902
|
+
*/
|
|
67903
|
+
ExternalSecretsGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
67904
|
+
if (typeUrlPrefix === undefined) {
|
|
67905
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
67906
|
+
}
|
|
67907
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsGetRequest";
|
|
67908
|
+
};
|
|
67909
|
+
|
|
67910
|
+
return ExternalSecretsGetRequest;
|
|
67911
|
+
})();
|
|
67912
|
+
|
|
67913
|
+
api.ExternalSecretsGetResponse = (function() {
|
|
67914
|
+
|
|
67915
|
+
/**
|
|
67916
|
+
* Properties of an ExternalSecretsGetResponse.
|
|
67917
|
+
* @memberof replit.goval.api
|
|
67918
|
+
* @interface IExternalSecretsGetResponse
|
|
67919
|
+
* @property {Object.<string,string>|null} [externalSecrets] ExternalSecretsGetResponse externalSecrets
|
|
67920
|
+
*/
|
|
67921
|
+
|
|
67922
|
+
/**
|
|
67923
|
+
* Constructs a new ExternalSecretsGetResponse.
|
|
67924
|
+
* @memberof replit.goval.api
|
|
67925
|
+
* @classdesc Represents an ExternalSecretsGetResponse.
|
|
67926
|
+
* @constructor
|
|
67927
|
+
* @param {replit.goval.api.IExternalSecretsGetResponse=} [properties] Properties to set
|
|
67928
|
+
*/
|
|
67929
|
+
function ExternalSecretsGetResponse(properties) {
|
|
67930
|
+
this.externalSecrets = {};
|
|
67931
|
+
if (properties)
|
|
67932
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
67933
|
+
if (properties[keys[i]] != null)
|
|
67934
|
+
this[keys[i]] = properties[keys[i]];
|
|
67935
|
+
}
|
|
67936
|
+
|
|
67937
|
+
/**
|
|
67938
|
+
* ExternalSecretsGetResponse externalSecrets.
|
|
67939
|
+
* @member {Object.<string,string>} externalSecrets
|
|
67940
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
67941
|
+
* @instance
|
|
67942
|
+
*/
|
|
67943
|
+
ExternalSecretsGetResponse.prototype.externalSecrets = $util.emptyObject;
|
|
67944
|
+
|
|
67945
|
+
/**
|
|
67946
|
+
* Creates a new ExternalSecretsGetResponse instance using the specified properties.
|
|
67947
|
+
* @function create
|
|
67948
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
67949
|
+
* @static
|
|
67950
|
+
* @param {replit.goval.api.IExternalSecretsGetResponse=} [properties] Properties to set
|
|
67951
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse instance
|
|
67952
|
+
*/
|
|
67953
|
+
ExternalSecretsGetResponse.create = function create(properties) {
|
|
67954
|
+
return ExternalSecretsGetResponse.fromObject(properties);
|
|
67955
|
+
};
|
|
67956
|
+
|
|
67957
|
+
/**
|
|
67958
|
+
* Encodes the specified ExternalSecretsGetResponse message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
67959
|
+
* @function encode
|
|
67960
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
67961
|
+
* @static
|
|
67962
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse message or plain object to encode
|
|
67963
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67964
|
+
* @returns {$protobuf.Writer} Writer
|
|
67965
|
+
*/
|
|
67966
|
+
ExternalSecretsGetResponse.encode = function encode(message, writer) {
|
|
67967
|
+
if (!writer)
|
|
67968
|
+
writer = $Writer.create();
|
|
67969
|
+
if (message.externalSecrets != null && Object.hasOwnProperty.call(message, "externalSecrets"))
|
|
67970
|
+
for (var keys = Object.keys(message.externalSecrets), i = 0; i < keys.length; ++i)
|
|
67971
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.externalSecrets[keys[i]]).ldelim();
|
|
67972
|
+
return writer;
|
|
67973
|
+
};
|
|
67974
|
+
|
|
67975
|
+
/**
|
|
67976
|
+
* Encodes the specified ExternalSecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
67977
|
+
* @function encodeDelimited
|
|
67978
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
67979
|
+
* @static
|
|
67980
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse message or plain object to encode
|
|
67981
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67982
|
+
* @returns {$protobuf.Writer} Writer
|
|
67983
|
+
*/
|
|
67984
|
+
ExternalSecretsGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
67985
|
+
return this.encode(message, writer).ldelim();
|
|
67986
|
+
};
|
|
67987
|
+
|
|
67988
|
+
/**
|
|
67989
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer.
|
|
67990
|
+
* @function decode
|
|
67991
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
67992
|
+
* @static
|
|
67993
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
67994
|
+
* @param {number} [length] Message length if known beforehand
|
|
67995
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
67996
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67997
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67998
|
+
*/
|
|
67999
|
+
ExternalSecretsGetResponse.decode = function decode(reader, length) {
|
|
68000
|
+
if (!(reader instanceof $Reader))
|
|
68001
|
+
reader = $Reader.create(reader);
|
|
68002
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsGetResponse(), key, value;
|
|
68003
|
+
while (reader.pos < end) {
|
|
68004
|
+
var tag = reader.uint32();
|
|
68005
|
+
switch (tag >>> 3) {
|
|
68006
|
+
case 1: {
|
|
68007
|
+
if (message.externalSecrets === $util.emptyObject)
|
|
68008
|
+
message.externalSecrets = {};
|
|
68009
|
+
var end2 = reader.uint32() + reader.pos;
|
|
68010
|
+
key = "";
|
|
68011
|
+
value = "";
|
|
68012
|
+
while (reader.pos < end2) {
|
|
68013
|
+
var tag2 = reader.uint32();
|
|
68014
|
+
switch (tag2 >>> 3) {
|
|
68015
|
+
case 1:
|
|
68016
|
+
key = reader.string();
|
|
68017
|
+
break;
|
|
68018
|
+
case 2:
|
|
68019
|
+
value = reader.string();
|
|
68020
|
+
break;
|
|
68021
|
+
default:
|
|
68022
|
+
reader.skipType(tag2 & 7);
|
|
68023
|
+
break;
|
|
68024
|
+
}
|
|
68025
|
+
}
|
|
68026
|
+
message.externalSecrets[key] = value;
|
|
68027
|
+
break;
|
|
68028
|
+
}
|
|
68029
|
+
default:
|
|
68030
|
+
reader.skipType(tag & 7);
|
|
68031
|
+
break;
|
|
68032
|
+
}
|
|
68033
|
+
}
|
|
68034
|
+
return message;
|
|
68035
|
+
};
|
|
68036
|
+
|
|
68037
|
+
/**
|
|
68038
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
68039
|
+
* @function decodeDelimited
|
|
68040
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68041
|
+
* @static
|
|
68042
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68043
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
68044
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68045
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68046
|
+
*/
|
|
68047
|
+
ExternalSecretsGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
68048
|
+
if (!(reader instanceof $Reader))
|
|
68049
|
+
reader = new $Reader(reader);
|
|
68050
|
+
return this.decode(reader, reader.uint32());
|
|
68051
|
+
};
|
|
68052
|
+
|
|
68053
|
+
/**
|
|
68054
|
+
* Verifies an ExternalSecretsGetResponse message.
|
|
68055
|
+
* @function verify
|
|
68056
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68057
|
+
* @static
|
|
68058
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68059
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68060
|
+
*/
|
|
68061
|
+
ExternalSecretsGetResponse.verify = function verify(message) {
|
|
68062
|
+
if (typeof message !== "object" || message === null)
|
|
68063
|
+
return "object expected";
|
|
68064
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
68065
|
+
if (!$util.isObject(message.externalSecrets))
|
|
68066
|
+
return "externalSecrets: object expected";
|
|
68067
|
+
var key = Object.keys(message.externalSecrets);
|
|
68068
|
+
for (var i = 0; i < key.length; ++i)
|
|
68069
|
+
if (!$util.isString(message.externalSecrets[key[i]]))
|
|
68070
|
+
return "externalSecrets: string{k:string} expected";
|
|
68071
|
+
}
|
|
68072
|
+
return null;
|
|
68073
|
+
};
|
|
68074
|
+
|
|
68075
|
+
/**
|
|
68076
|
+
* Creates an ExternalSecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
68077
|
+
* @function fromObject
|
|
68078
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68079
|
+
* @static
|
|
68080
|
+
* @param {Object.<string,*>} object Plain object
|
|
68081
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
68082
|
+
*/
|
|
68083
|
+
ExternalSecretsGetResponse.fromObject = function fromObject(object) {
|
|
68084
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsGetResponse)
|
|
68085
|
+
return object;
|
|
68086
|
+
var message = new $root.replit.goval.api.ExternalSecretsGetResponse();
|
|
68087
|
+
if (object.externalSecrets) {
|
|
68088
|
+
if (typeof object.externalSecrets !== "object")
|
|
68089
|
+
throw TypeError(".replit.goval.api.ExternalSecretsGetResponse.externalSecrets: object expected");
|
|
68090
|
+
message.externalSecrets = {};
|
|
68091
|
+
for (var keys = Object.keys(object.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68092
|
+
message.externalSecrets[keys[i]] = String(object.externalSecrets[keys[i]]);
|
|
68093
|
+
}
|
|
68094
|
+
return message;
|
|
68095
|
+
};
|
|
68096
|
+
|
|
68097
|
+
/**
|
|
68098
|
+
* Creates a plain object from an ExternalSecretsGetResponse message. Also converts values to other types if specified.
|
|
68099
|
+
* @function toObject
|
|
68100
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68101
|
+
* @static
|
|
68102
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse
|
|
68103
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68104
|
+
* @returns {Object.<string,*>} Plain object
|
|
68105
|
+
*/
|
|
68106
|
+
ExternalSecretsGetResponse.toObject = function toObject(message, options) {
|
|
68107
|
+
if (!options)
|
|
68108
|
+
options = {};
|
|
68109
|
+
var object = {};
|
|
68110
|
+
if (options.objects || options.defaults)
|
|
68111
|
+
object.externalSecrets = {};
|
|
68112
|
+
var keys2;
|
|
68113
|
+
if (message.externalSecrets && (keys2 = Object.keys(message.externalSecrets)).length) {
|
|
68114
|
+
object.externalSecrets = {};
|
|
68115
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
68116
|
+
object.externalSecrets[keys2[j]] = message.externalSecrets[keys2[j]];
|
|
68117
|
+
}
|
|
68118
|
+
return object;
|
|
68119
|
+
};
|
|
68120
|
+
|
|
68121
|
+
/**
|
|
68122
|
+
* Converts this ExternalSecretsGetResponse to JSON.
|
|
68123
|
+
* @function toJSON
|
|
68124
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68125
|
+
* @instance
|
|
68126
|
+
* @returns {Object.<string,*>} JSON object
|
|
68127
|
+
*/
|
|
68128
|
+
ExternalSecretsGetResponse.prototype.toJSON = function toJSON() {
|
|
68129
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68130
|
+
};
|
|
68131
|
+
|
|
68132
|
+
/**
|
|
68133
|
+
* Gets the default type url for ExternalSecretsGetResponse
|
|
68134
|
+
* @function getTypeUrl
|
|
68135
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68136
|
+
* @static
|
|
68137
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68138
|
+
* @returns {string} The default type url
|
|
68139
|
+
*/
|
|
68140
|
+
ExternalSecretsGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68141
|
+
if (typeUrlPrefix === undefined) {
|
|
68142
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68143
|
+
}
|
|
68144
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsGetResponse";
|
|
68145
|
+
};
|
|
68146
|
+
|
|
68147
|
+
return ExternalSecretsGetResponse;
|
|
68148
|
+
})();
|
|
68149
|
+
|
|
68150
|
+
api.ExternalSecretsSetRequest = (function() {
|
|
68151
|
+
|
|
68152
|
+
/**
|
|
68153
|
+
* Properties of an ExternalSecretsSetRequest.
|
|
68154
|
+
* @memberof replit.goval.api
|
|
68155
|
+
* @interface IExternalSecretsSetRequest
|
|
68156
|
+
* @property {Object.<string,string>|null} [externalSecrets] ExternalSecretsSetRequest externalSecrets
|
|
68157
|
+
*/
|
|
68158
|
+
|
|
68159
|
+
/**
|
|
68160
|
+
* Constructs a new ExternalSecretsSetRequest.
|
|
68161
|
+
* @memberof replit.goval.api
|
|
68162
|
+
* @classdesc Represents an ExternalSecretsSetRequest.
|
|
68163
|
+
* @constructor
|
|
68164
|
+
* @param {replit.goval.api.IExternalSecretsSetRequest=} [properties] Properties to set
|
|
68165
|
+
*/
|
|
68166
|
+
function ExternalSecretsSetRequest(properties) {
|
|
68167
|
+
this.externalSecrets = {};
|
|
68168
|
+
if (properties)
|
|
68169
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68170
|
+
if (properties[keys[i]] != null)
|
|
68171
|
+
this[keys[i]] = properties[keys[i]];
|
|
68172
|
+
}
|
|
68173
|
+
|
|
68174
|
+
/**
|
|
68175
|
+
* ExternalSecretsSetRequest externalSecrets.
|
|
68176
|
+
* @member {Object.<string,string>} externalSecrets
|
|
68177
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68178
|
+
* @instance
|
|
68179
|
+
*/
|
|
68180
|
+
ExternalSecretsSetRequest.prototype.externalSecrets = $util.emptyObject;
|
|
68181
|
+
|
|
68182
|
+
/**
|
|
68183
|
+
* Creates a new ExternalSecretsSetRequest instance using the specified properties.
|
|
68184
|
+
* @function create
|
|
68185
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68186
|
+
* @static
|
|
68187
|
+
* @param {replit.goval.api.IExternalSecretsSetRequest=} [properties] Properties to set
|
|
68188
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest instance
|
|
68189
|
+
*/
|
|
68190
|
+
ExternalSecretsSetRequest.create = function create(properties) {
|
|
68191
|
+
return ExternalSecretsSetRequest.fromObject(properties);
|
|
68192
|
+
};
|
|
68193
|
+
|
|
68194
|
+
/**
|
|
68195
|
+
* Encodes the specified ExternalSecretsSetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
68196
|
+
* @function encode
|
|
68197
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68198
|
+
* @static
|
|
68199
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest message or plain object to encode
|
|
68200
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68201
|
+
* @returns {$protobuf.Writer} Writer
|
|
68202
|
+
*/
|
|
68203
|
+
ExternalSecretsSetRequest.encode = function encode(message, writer) {
|
|
68204
|
+
if (!writer)
|
|
68205
|
+
writer = $Writer.create();
|
|
68206
|
+
if (message.externalSecrets != null && Object.hasOwnProperty.call(message, "externalSecrets"))
|
|
68207
|
+
for (var keys = Object.keys(message.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68208
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.externalSecrets[keys[i]]).ldelim();
|
|
68209
|
+
return writer;
|
|
68210
|
+
};
|
|
68211
|
+
|
|
68212
|
+
/**
|
|
68213
|
+
* Encodes the specified ExternalSecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
68214
|
+
* @function encodeDelimited
|
|
68215
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68216
|
+
* @static
|
|
68217
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest message or plain object to encode
|
|
68218
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68219
|
+
* @returns {$protobuf.Writer} Writer
|
|
68220
|
+
*/
|
|
68221
|
+
ExternalSecretsSetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68222
|
+
return this.encode(message, writer).ldelim();
|
|
68223
|
+
};
|
|
68224
|
+
|
|
68225
|
+
/**
|
|
68226
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer.
|
|
68227
|
+
* @function decode
|
|
68228
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68229
|
+
* @static
|
|
68230
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68231
|
+
* @param {number} [length] Message length if known beforehand
|
|
68232
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68233
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68234
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68235
|
+
*/
|
|
68236
|
+
ExternalSecretsSetRequest.decode = function decode(reader, length) {
|
|
68237
|
+
if (!(reader instanceof $Reader))
|
|
68238
|
+
reader = $Reader.create(reader);
|
|
68239
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsSetRequest(), key, value;
|
|
68240
|
+
while (reader.pos < end) {
|
|
68241
|
+
var tag = reader.uint32();
|
|
68242
|
+
switch (tag >>> 3) {
|
|
68243
|
+
case 1: {
|
|
68244
|
+
if (message.externalSecrets === $util.emptyObject)
|
|
68245
|
+
message.externalSecrets = {};
|
|
68246
|
+
var end2 = reader.uint32() + reader.pos;
|
|
68247
|
+
key = "";
|
|
68248
|
+
value = "";
|
|
68249
|
+
while (reader.pos < end2) {
|
|
68250
|
+
var tag2 = reader.uint32();
|
|
68251
|
+
switch (tag2 >>> 3) {
|
|
68252
|
+
case 1:
|
|
68253
|
+
key = reader.string();
|
|
68254
|
+
break;
|
|
68255
|
+
case 2:
|
|
68256
|
+
value = reader.string();
|
|
68257
|
+
break;
|
|
68258
|
+
default:
|
|
68259
|
+
reader.skipType(tag2 & 7);
|
|
68260
|
+
break;
|
|
68261
|
+
}
|
|
68262
|
+
}
|
|
68263
|
+
message.externalSecrets[key] = value;
|
|
68264
|
+
break;
|
|
68265
|
+
}
|
|
68266
|
+
default:
|
|
68267
|
+
reader.skipType(tag & 7);
|
|
68268
|
+
break;
|
|
68269
|
+
}
|
|
68270
|
+
}
|
|
68271
|
+
return message;
|
|
68272
|
+
};
|
|
68273
|
+
|
|
68274
|
+
/**
|
|
68275
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
68276
|
+
* @function decodeDelimited
|
|
68277
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68278
|
+
* @static
|
|
68279
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68280
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68281
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68282
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68283
|
+
*/
|
|
68284
|
+
ExternalSecretsSetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
68285
|
+
if (!(reader instanceof $Reader))
|
|
68286
|
+
reader = new $Reader(reader);
|
|
68287
|
+
return this.decode(reader, reader.uint32());
|
|
68288
|
+
};
|
|
68289
|
+
|
|
68290
|
+
/**
|
|
68291
|
+
* Verifies an ExternalSecretsSetRequest message.
|
|
68292
|
+
* @function verify
|
|
68293
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68294
|
+
* @static
|
|
68295
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68296
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68297
|
+
*/
|
|
68298
|
+
ExternalSecretsSetRequest.verify = function verify(message) {
|
|
68299
|
+
if (typeof message !== "object" || message === null)
|
|
68300
|
+
return "object expected";
|
|
68301
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
68302
|
+
if (!$util.isObject(message.externalSecrets))
|
|
68303
|
+
return "externalSecrets: object expected";
|
|
68304
|
+
var key = Object.keys(message.externalSecrets);
|
|
68305
|
+
for (var i = 0; i < key.length; ++i)
|
|
68306
|
+
if (!$util.isString(message.externalSecrets[key[i]]))
|
|
68307
|
+
return "externalSecrets: string{k:string} expected";
|
|
68308
|
+
}
|
|
68309
|
+
return null;
|
|
68310
|
+
};
|
|
68311
|
+
|
|
68312
|
+
/**
|
|
68313
|
+
* Creates an ExternalSecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
68314
|
+
* @function fromObject
|
|
68315
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68316
|
+
* @static
|
|
68317
|
+
* @param {Object.<string,*>} object Plain object
|
|
68318
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68319
|
+
*/
|
|
68320
|
+
ExternalSecretsSetRequest.fromObject = function fromObject(object) {
|
|
68321
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsSetRequest)
|
|
68322
|
+
return object;
|
|
68323
|
+
var message = new $root.replit.goval.api.ExternalSecretsSetRequest();
|
|
68324
|
+
if (object.externalSecrets) {
|
|
68325
|
+
if (typeof object.externalSecrets !== "object")
|
|
68326
|
+
throw TypeError(".replit.goval.api.ExternalSecretsSetRequest.externalSecrets: object expected");
|
|
68327
|
+
message.externalSecrets = {};
|
|
68328
|
+
for (var keys = Object.keys(object.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68329
|
+
message.externalSecrets[keys[i]] = String(object.externalSecrets[keys[i]]);
|
|
68330
|
+
}
|
|
68331
|
+
return message;
|
|
68332
|
+
};
|
|
68333
|
+
|
|
68334
|
+
/**
|
|
68335
|
+
* Creates a plain object from an ExternalSecretsSetRequest message. Also converts values to other types if specified.
|
|
68336
|
+
* @function toObject
|
|
68337
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68338
|
+
* @static
|
|
68339
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest
|
|
68340
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68341
|
+
* @returns {Object.<string,*>} Plain object
|
|
68342
|
+
*/
|
|
68343
|
+
ExternalSecretsSetRequest.toObject = function toObject(message, options) {
|
|
68344
|
+
if (!options)
|
|
68345
|
+
options = {};
|
|
68346
|
+
var object = {};
|
|
68347
|
+
if (options.objects || options.defaults)
|
|
68348
|
+
object.externalSecrets = {};
|
|
68349
|
+
var keys2;
|
|
68350
|
+
if (message.externalSecrets && (keys2 = Object.keys(message.externalSecrets)).length) {
|
|
68351
|
+
object.externalSecrets = {};
|
|
68352
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
68353
|
+
object.externalSecrets[keys2[j]] = message.externalSecrets[keys2[j]];
|
|
68354
|
+
}
|
|
68355
|
+
return object;
|
|
68356
|
+
};
|
|
68357
|
+
|
|
68358
|
+
/**
|
|
68359
|
+
* Converts this ExternalSecretsSetRequest to JSON.
|
|
68360
|
+
* @function toJSON
|
|
68361
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68362
|
+
* @instance
|
|
68363
|
+
* @returns {Object.<string,*>} JSON object
|
|
68364
|
+
*/
|
|
68365
|
+
ExternalSecretsSetRequest.prototype.toJSON = function toJSON() {
|
|
68366
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68367
|
+
};
|
|
68368
|
+
|
|
68369
|
+
/**
|
|
68370
|
+
* Gets the default type url for ExternalSecretsSetRequest
|
|
68371
|
+
* @function getTypeUrl
|
|
68372
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68373
|
+
* @static
|
|
68374
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68375
|
+
* @returns {string} The default type url
|
|
68376
|
+
*/
|
|
68377
|
+
ExternalSecretsSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68378
|
+
if (typeUrlPrefix === undefined) {
|
|
68379
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68380
|
+
}
|
|
68381
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsSetRequest";
|
|
68382
|
+
};
|
|
68383
|
+
|
|
68384
|
+
return ExternalSecretsSetRequest;
|
|
68385
|
+
})();
|
|
68386
|
+
|
|
67331
68387
|
api.ReplResourcesUpdateNotification = (function() {
|
|
67332
68388
|
|
|
67333
68389
|
/**
|
|
@@ -71943,6 +72999,7 @@
|
|
|
71943
72999
|
* @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] ReplToken pid2Info
|
|
71944
73000
|
* @property {boolean|null} [paid] ReplToken paid
|
|
71945
73001
|
* @property {boolean|null} [replexec] ReplToken replexec
|
|
73002
|
+
* @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
|
|
71946
73003
|
*/
|
|
71947
73004
|
|
|
71948
73005
|
/**
|
|
@@ -71955,6 +73012,7 @@
|
|
|
71955
73012
|
function ReplToken(properties) {
|
|
71956
73013
|
this.flags = [];
|
|
71957
73014
|
this.features = [];
|
|
73015
|
+
this.externalSecrets = [];
|
|
71958
73016
|
if (properties)
|
|
71959
73017
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
71960
73018
|
if (properties[keys[i]] != null)
|
|
@@ -72105,6 +73163,14 @@
|
|
|
72105
73163
|
*/
|
|
72106
73164
|
ReplToken.prototype.replexec = false;
|
|
72107
73165
|
|
|
73166
|
+
/**
|
|
73167
|
+
* ReplToken externalSecrets.
|
|
73168
|
+
* @member {Array.<replit.goval.api.token.ReplToken.ExternalSecret>} externalSecrets
|
|
73169
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
73170
|
+
* @instance
|
|
73171
|
+
*/
|
|
73172
|
+
ReplToken.prototype.externalSecrets = $util.emptyArray;
|
|
73173
|
+
|
|
72108
73174
|
// OneOf field names bound to virtual getters and setters
|
|
72109
73175
|
var $oneOfFields;
|
|
72110
73176
|
|
|
@@ -72181,6 +73247,9 @@
|
|
|
72181
73247
|
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.paid);
|
|
72182
73248
|
if (message.replexec != null && Object.hasOwnProperty.call(message, "replexec"))
|
|
72183
73249
|
writer.uint32(/* id 21, wireType 0 =*/168).bool(message.replexec);
|
|
73250
|
+
if (message.externalSecrets != null && message.externalSecrets.length)
|
|
73251
|
+
for (var i = 0; i < message.externalSecrets.length; ++i)
|
|
73252
|
+
$root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
72184
73253
|
return writer;
|
|
72185
73254
|
};
|
|
72186
73255
|
|
|
@@ -72291,6 +73360,12 @@
|
|
|
72291
73360
|
message.replexec = reader.bool();
|
|
72292
73361
|
break;
|
|
72293
73362
|
}
|
|
73363
|
+
case 22: {
|
|
73364
|
+
if (!(message.externalSecrets && message.externalSecrets.length))
|
|
73365
|
+
message.externalSecrets = [];
|
|
73366
|
+
message.externalSecrets.push($root.replit.goval.api.token.ReplToken.ExternalSecret.decode(reader, reader.uint32()));
|
|
73367
|
+
break;
|
|
73368
|
+
}
|
|
72294
73369
|
default:
|
|
72295
73370
|
reader.skipType(tag & 7);
|
|
72296
73371
|
break;
|
|
@@ -72438,6 +73513,15 @@
|
|
|
72438
73513
|
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
72439
73514
|
if (typeof message.replexec !== "boolean")
|
|
72440
73515
|
return "replexec: boolean expected";
|
|
73516
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
73517
|
+
if (!Array.isArray(message.externalSecrets))
|
|
73518
|
+
return "externalSecrets: array expected";
|
|
73519
|
+
for (var i = 0; i < message.externalSecrets.length; ++i) {
|
|
73520
|
+
var error = $root.replit.goval.api.token.ReplToken.ExternalSecret.verify(message.externalSecrets[i]);
|
|
73521
|
+
if (error)
|
|
73522
|
+
return "externalSecrets." + error;
|
|
73523
|
+
}
|
|
73524
|
+
}
|
|
72441
73525
|
return null;
|
|
72442
73526
|
};
|
|
72443
73527
|
|
|
@@ -72576,6 +73660,16 @@
|
|
|
72576
73660
|
message.paid = Boolean(object.paid);
|
|
72577
73661
|
if (object.replexec != null)
|
|
72578
73662
|
message.replexec = Boolean(object.replexec);
|
|
73663
|
+
if (object.externalSecrets) {
|
|
73664
|
+
if (!Array.isArray(object.externalSecrets))
|
|
73665
|
+
throw TypeError(".replit.goval.api.token.ReplToken.externalSecrets: array expected");
|
|
73666
|
+
message.externalSecrets = [];
|
|
73667
|
+
for (var i = 0; i < object.externalSecrets.length; ++i) {
|
|
73668
|
+
if (typeof object.externalSecrets[i] !== "object")
|
|
73669
|
+
throw TypeError(".replit.goval.api.token.ReplToken.externalSecrets: object expected");
|
|
73670
|
+
message.externalSecrets[i] = $root.replit.goval.api.token.ReplToken.ExternalSecret.fromObject(object.externalSecrets[i]);
|
|
73671
|
+
}
|
|
73672
|
+
}
|
|
72579
73673
|
return message;
|
|
72580
73674
|
};
|
|
72581
73675
|
|
|
@@ -72595,6 +73689,7 @@
|
|
|
72595
73689
|
if (options.arrays || options.defaults) {
|
|
72596
73690
|
object.flags = [];
|
|
72597
73691
|
object.features = [];
|
|
73692
|
+
object.externalSecrets = [];
|
|
72598
73693
|
}
|
|
72599
73694
|
if (options.defaults) {
|
|
72600
73695
|
object.iat = null;
|
|
@@ -72662,6 +73757,11 @@
|
|
|
72662
73757
|
object.paid = message.paid;
|
|
72663
73758
|
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
72664
73759
|
object.replexec = message.replexec;
|
|
73760
|
+
if (message.externalSecrets && message.externalSecrets.length) {
|
|
73761
|
+
object.externalSecrets = [];
|
|
73762
|
+
for (var j = 0; j < message.externalSecrets.length; ++j)
|
|
73763
|
+
object.externalSecrets[j] = $root.replit.goval.api.token.ReplToken.ExternalSecret.toObject(message.externalSecrets[j], options);
|
|
73764
|
+
}
|
|
72665
73765
|
return object;
|
|
72666
73766
|
};
|
|
72667
73767
|
|
|
@@ -73387,6 +74487,232 @@
|
|
|
73387
74487
|
return Presenced;
|
|
73388
74488
|
})();
|
|
73389
74489
|
|
|
74490
|
+
ReplToken.ExternalSecret = (function() {
|
|
74491
|
+
|
|
74492
|
+
/**
|
|
74493
|
+
* Properties of an ExternalSecret.
|
|
74494
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
74495
|
+
* @interface IExternalSecret
|
|
74496
|
+
* @property {string|null} [name] ExternalSecret name
|
|
74497
|
+
* @property {string|null} [presignedUrl] ExternalSecret presignedUrl
|
|
74498
|
+
*/
|
|
74499
|
+
|
|
74500
|
+
/**
|
|
74501
|
+
* Constructs a new ExternalSecret.
|
|
74502
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
74503
|
+
* @classdesc Represents an ExternalSecret.
|
|
74504
|
+
* @constructor
|
|
74505
|
+
* @param {replit.goval.api.token.ReplToken.IExternalSecret=} [properties] Properties to set
|
|
74506
|
+
*/
|
|
74507
|
+
function ExternalSecret(properties) {
|
|
74508
|
+
if (properties)
|
|
74509
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
74510
|
+
if (properties[keys[i]] != null)
|
|
74511
|
+
this[keys[i]] = properties[keys[i]];
|
|
74512
|
+
}
|
|
74513
|
+
|
|
74514
|
+
/**
|
|
74515
|
+
* ExternalSecret name.
|
|
74516
|
+
* @member {string} name
|
|
74517
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74518
|
+
* @instance
|
|
74519
|
+
*/
|
|
74520
|
+
ExternalSecret.prototype.name = "";
|
|
74521
|
+
|
|
74522
|
+
/**
|
|
74523
|
+
* ExternalSecret presignedUrl.
|
|
74524
|
+
* @member {string} presignedUrl
|
|
74525
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74526
|
+
* @instance
|
|
74527
|
+
*/
|
|
74528
|
+
ExternalSecret.prototype.presignedUrl = "";
|
|
74529
|
+
|
|
74530
|
+
/**
|
|
74531
|
+
* Creates a new ExternalSecret instance using the specified properties.
|
|
74532
|
+
* @function create
|
|
74533
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74534
|
+
* @static
|
|
74535
|
+
* @param {replit.goval.api.token.ReplToken.IExternalSecret=} [properties] Properties to set
|
|
74536
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret instance
|
|
74537
|
+
*/
|
|
74538
|
+
ExternalSecret.create = function create(properties) {
|
|
74539
|
+
return ExternalSecret.fromObject(properties);
|
|
74540
|
+
};
|
|
74541
|
+
|
|
74542
|
+
/**
|
|
74543
|
+
* Encodes the specified ExternalSecret message. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
74544
|
+
* @function encode
|
|
74545
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74546
|
+
* @static
|
|
74547
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret message or plain object to encode
|
|
74548
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
74549
|
+
* @returns {$protobuf.Writer} Writer
|
|
74550
|
+
*/
|
|
74551
|
+
ExternalSecret.encode = function encode(message, writer) {
|
|
74552
|
+
if (!writer)
|
|
74553
|
+
writer = $Writer.create();
|
|
74554
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
74555
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
|
|
74556
|
+
if (message.presignedUrl != null && Object.hasOwnProperty.call(message, "presignedUrl"))
|
|
74557
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.presignedUrl);
|
|
74558
|
+
return writer;
|
|
74559
|
+
};
|
|
74560
|
+
|
|
74561
|
+
/**
|
|
74562
|
+
* Encodes the specified ExternalSecret message, length delimited. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
74563
|
+
* @function encodeDelimited
|
|
74564
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74565
|
+
* @static
|
|
74566
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret message or plain object to encode
|
|
74567
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
74568
|
+
* @returns {$protobuf.Writer} Writer
|
|
74569
|
+
*/
|
|
74570
|
+
ExternalSecret.encodeDelimited = function encodeDelimited(message, writer) {
|
|
74571
|
+
return this.encode(message, writer).ldelim();
|
|
74572
|
+
};
|
|
74573
|
+
|
|
74574
|
+
/**
|
|
74575
|
+
* Decodes an ExternalSecret message from the specified reader or buffer.
|
|
74576
|
+
* @function decode
|
|
74577
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74578
|
+
* @static
|
|
74579
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
74580
|
+
* @param {number} [length] Message length if known beforehand
|
|
74581
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74582
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
74583
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
74584
|
+
*/
|
|
74585
|
+
ExternalSecret.decode = function decode(reader, length) {
|
|
74586
|
+
if (!(reader instanceof $Reader))
|
|
74587
|
+
reader = $Reader.create(reader);
|
|
74588
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.token.ReplToken.ExternalSecret();
|
|
74589
|
+
while (reader.pos < end) {
|
|
74590
|
+
var tag = reader.uint32();
|
|
74591
|
+
switch (tag >>> 3) {
|
|
74592
|
+
case 1: {
|
|
74593
|
+
message.name = reader.string();
|
|
74594
|
+
break;
|
|
74595
|
+
}
|
|
74596
|
+
case 2: {
|
|
74597
|
+
message.presignedUrl = reader.string();
|
|
74598
|
+
break;
|
|
74599
|
+
}
|
|
74600
|
+
default:
|
|
74601
|
+
reader.skipType(tag & 7);
|
|
74602
|
+
break;
|
|
74603
|
+
}
|
|
74604
|
+
}
|
|
74605
|
+
return message;
|
|
74606
|
+
};
|
|
74607
|
+
|
|
74608
|
+
/**
|
|
74609
|
+
* Decodes an ExternalSecret message from the specified reader or buffer, length delimited.
|
|
74610
|
+
* @function decodeDelimited
|
|
74611
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74612
|
+
* @static
|
|
74613
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
74614
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
74616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
74617
|
+
*/
|
|
74618
|
+
ExternalSecret.decodeDelimited = function decodeDelimited(reader) {
|
|
74619
|
+
if (!(reader instanceof $Reader))
|
|
74620
|
+
reader = new $Reader(reader);
|
|
74621
|
+
return this.decode(reader, reader.uint32());
|
|
74622
|
+
};
|
|
74623
|
+
|
|
74624
|
+
/**
|
|
74625
|
+
* Verifies an ExternalSecret message.
|
|
74626
|
+
* @function verify
|
|
74627
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74628
|
+
* @static
|
|
74629
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
74630
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
74631
|
+
*/
|
|
74632
|
+
ExternalSecret.verify = function verify(message) {
|
|
74633
|
+
if (typeof message !== "object" || message === null)
|
|
74634
|
+
return "object expected";
|
|
74635
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
74636
|
+
if (!$util.isString(message.name))
|
|
74637
|
+
return "name: string expected";
|
|
74638
|
+
if (message.presignedUrl != null && message.hasOwnProperty("presignedUrl"))
|
|
74639
|
+
if (!$util.isString(message.presignedUrl))
|
|
74640
|
+
return "presignedUrl: string expected";
|
|
74641
|
+
return null;
|
|
74642
|
+
};
|
|
74643
|
+
|
|
74644
|
+
/**
|
|
74645
|
+
* Creates an ExternalSecret message from a plain object. Also converts values to their respective internal types.
|
|
74646
|
+
* @function fromObject
|
|
74647
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74648
|
+
* @static
|
|
74649
|
+
* @param {Object.<string,*>} object Plain object
|
|
74650
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74651
|
+
*/
|
|
74652
|
+
ExternalSecret.fromObject = function fromObject(object) {
|
|
74653
|
+
if (object instanceof $root.replit.goval.api.token.ReplToken.ExternalSecret)
|
|
74654
|
+
return object;
|
|
74655
|
+
var message = new $root.replit.goval.api.token.ReplToken.ExternalSecret();
|
|
74656
|
+
if (object.name != null)
|
|
74657
|
+
message.name = String(object.name);
|
|
74658
|
+
if (object.presignedUrl != null)
|
|
74659
|
+
message.presignedUrl = String(object.presignedUrl);
|
|
74660
|
+
return message;
|
|
74661
|
+
};
|
|
74662
|
+
|
|
74663
|
+
/**
|
|
74664
|
+
* Creates a plain object from an ExternalSecret message. Also converts values to other types if specified.
|
|
74665
|
+
* @function toObject
|
|
74666
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74667
|
+
* @static
|
|
74668
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret
|
|
74669
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
74670
|
+
* @returns {Object.<string,*>} Plain object
|
|
74671
|
+
*/
|
|
74672
|
+
ExternalSecret.toObject = function toObject(message, options) {
|
|
74673
|
+
if (!options)
|
|
74674
|
+
options = {};
|
|
74675
|
+
var object = {};
|
|
74676
|
+
if (options.defaults) {
|
|
74677
|
+
object.name = "";
|
|
74678
|
+
object.presignedUrl = "";
|
|
74679
|
+
}
|
|
74680
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
74681
|
+
object.name = message.name;
|
|
74682
|
+
if (message.presignedUrl != null && message.hasOwnProperty("presignedUrl"))
|
|
74683
|
+
object.presignedUrl = message.presignedUrl;
|
|
74684
|
+
return object;
|
|
74685
|
+
};
|
|
74686
|
+
|
|
74687
|
+
/**
|
|
74688
|
+
* Converts this ExternalSecret to JSON.
|
|
74689
|
+
* @function toJSON
|
|
74690
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74691
|
+
* @instance
|
|
74692
|
+
* @returns {Object.<string,*>} JSON object
|
|
74693
|
+
*/
|
|
74694
|
+
ExternalSecret.prototype.toJSON = function toJSON() {
|
|
74695
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
74696
|
+
};
|
|
74697
|
+
|
|
74698
|
+
/**
|
|
74699
|
+
* Gets the default type url for ExternalSecret
|
|
74700
|
+
* @function getTypeUrl
|
|
74701
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74702
|
+
* @static
|
|
74703
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
74704
|
+
* @returns {string} The default type url
|
|
74705
|
+
*/
|
|
74706
|
+
ExternalSecret.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
74707
|
+
if (typeUrlPrefix === undefined) {
|
|
74708
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
74709
|
+
}
|
|
74710
|
+
return typeUrlPrefix + "/replit.goval.api.token.ReplToken.ExternalSecret";
|
|
74711
|
+
};
|
|
74712
|
+
|
|
74713
|
+
return ExternalSecret;
|
|
74714
|
+
})();
|
|
74715
|
+
|
|
73390
74716
|
return ReplToken;
|
|
73391
74717
|
})();
|
|
73392
74718
|
|