@replit/protocol 0.4.0 → 0.4.1

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.
Files changed (3) hide show
  1. package/main/index.d.ts +105 -196
  2. package/main/index.js +241 -422
  3. package/package.json +1 -1
package/main/index.d.ts CHANGED
@@ -618,6 +618,9 @@ export namespace replit {
618
618
  /** Command secretsSetRequest */
619
619
  secretsSetRequest?: (replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null);
620
620
 
621
+ /** Command replResourcesUpdateNotification */
622
+ replResourcesUpdateNotification?: (replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null);
623
+
621
624
  /** Command ref */
622
625
  ref?: (string|null);
623
626
 
@@ -1243,6 +1246,9 @@ export namespace replit {
1243
1246
  /** Command secretsSetRequest. */
1244
1247
  public secretsSetRequest?: (replit.goval.api.SecretsSetRequest|null);
1245
1248
 
1249
+ /** Command replResourcesUpdateNotification. */
1250
+ public replResourcesUpdateNotification?: (replit.goval.api.ReplResourcesUpdateNotification|null);
1251
+
1246
1252
  /** Command ref. */
1247
1253
  public ref: string;
1248
1254
 
@@ -1253,7 +1259,7 @@ export namespace replit {
1253
1259
  public forceTrace: boolean;
1254
1260
 
1255
1261
  /** Command body. */
1256
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
1262
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification");
1257
1263
 
1258
1264
  /**
1259
1265
  * Creates a new Command instance using the specified properties.
@@ -27403,6 +27409,103 @@ export namespace replit {
27403
27409
  public static getTypeUrl(typeUrlPrefix?: string): string;
27404
27410
  }
27405
27411
 
27412
+ /** Properties of a ReplResourcesUpdateNotification. */
27413
+ interface IReplResourcesUpdateNotification {
27414
+
27415
+ /** ReplResourcesUpdateNotification contents */
27416
+ contents?: (string|null);
27417
+ }
27418
+
27419
+ /** Represents a ReplResourcesUpdateNotification. */
27420
+ class ReplResourcesUpdateNotification {
27421
+
27422
+ /**
27423
+ * Constructs a new ReplResourcesUpdateNotification.
27424
+ * @param [properties] Properties to set
27425
+ */
27426
+ private constructor(properties?: replit.goval.api.IReplResourcesUpdateNotification);
27427
+
27428
+ /** ReplResourcesUpdateNotification contents. */
27429
+ public contents: string;
27430
+
27431
+ /**
27432
+ * Creates a new ReplResourcesUpdateNotification instance using the specified properties.
27433
+ * @param [properties] Properties to set
27434
+ * @returns ReplResourcesUpdateNotification instance
27435
+ */
27436
+ public static create(properties?: replit.goval.api.IReplResourcesUpdateNotification): replit.goval.api.ReplResourcesUpdateNotification;
27437
+
27438
+ /**
27439
+ * Encodes the specified ReplResourcesUpdateNotification message. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
27440
+ * @param message ReplResourcesUpdateNotification message or plain object to encode
27441
+ * @param [writer] Writer to encode to
27442
+ * @returns Writer
27443
+ */
27444
+ public static encode(message: replit.goval.api.ReplResourcesUpdateNotification, writer?: $protobuf.Writer): $protobuf.Writer;
27445
+
27446
+ /**
27447
+ * Encodes the specified ReplResourcesUpdateNotification message, length delimited. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
27448
+ * @param message ReplResourcesUpdateNotification message or plain object to encode
27449
+ * @param [writer] Writer to encode to
27450
+ * @returns Writer
27451
+ */
27452
+ public static encodeDelimited(message: replit.goval.api.ReplResourcesUpdateNotification, writer?: $protobuf.Writer): $protobuf.Writer;
27453
+
27454
+ /**
27455
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer.
27456
+ * @param reader Reader or buffer to decode from
27457
+ * @param [length] Message length if known beforehand
27458
+ * @returns ReplResourcesUpdateNotification
27459
+ * @throws {Error} If the payload is not a reader or valid buffer
27460
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27461
+ */
27462
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplResourcesUpdateNotification;
27463
+
27464
+ /**
27465
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer, length delimited.
27466
+ * @param reader Reader or buffer to decode from
27467
+ * @returns ReplResourcesUpdateNotification
27468
+ * @throws {Error} If the payload is not a reader or valid buffer
27469
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27470
+ */
27471
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplResourcesUpdateNotification;
27472
+
27473
+ /**
27474
+ * Verifies a ReplResourcesUpdateNotification message.
27475
+ * @param message Plain object to verify
27476
+ * @returns `null` if valid, otherwise the reason why it is not
27477
+ */
27478
+ public static verify(message: { [k: string]: any }): (string|null);
27479
+
27480
+ /**
27481
+ * Creates a ReplResourcesUpdateNotification message from a plain object. Also converts values to their respective internal types.
27482
+ * @param object Plain object
27483
+ * @returns ReplResourcesUpdateNotification
27484
+ */
27485
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplResourcesUpdateNotification;
27486
+
27487
+ /**
27488
+ * Creates a plain object from a ReplResourcesUpdateNotification message. Also converts values to other types if specified.
27489
+ * @param message ReplResourcesUpdateNotification
27490
+ * @param [options] Conversion options
27491
+ * @returns Plain object
27492
+ */
27493
+ public static toObject(message: replit.goval.api.ReplResourcesUpdateNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
27494
+
27495
+ /**
27496
+ * Converts this ReplResourcesUpdateNotification to JSON.
27497
+ * @returns JSON object
27498
+ */
27499
+ public toJSON(): { [k: string]: any };
27500
+
27501
+ /**
27502
+ * Gets the default type url for ReplResourcesUpdateNotification
27503
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27504
+ * @returns The default type url
27505
+ */
27506
+ public static getTypeUrl(typeUrlPrefix?: string): string;
27507
+ }
27508
+
27406
27509
  /** Properties of a TLSCertificate. */
27407
27510
  interface ITLSCertificate {
27408
27511
 
@@ -35914,97 +36017,6 @@ export namespace replit {
35914
36017
  /** Namespace features. */
35915
36018
  namespace features {
35916
36019
 
35917
- /** Properties of a Gpu. */
35918
- interface IGpu {
35919
- }
35920
-
35921
- /** Represents a Gpu. */
35922
- class Gpu {
35923
-
35924
- /**
35925
- * Constructs a new Gpu.
35926
- * @param [properties] Properties to set
35927
- */
35928
- private constructor(properties?: replit.goval.api.features.IGpu);
35929
-
35930
- /**
35931
- * Creates a new Gpu instance using the specified properties.
35932
- * @param [properties] Properties to set
35933
- * @returns Gpu instance
35934
- */
35935
- public static create(properties?: replit.goval.api.features.IGpu): replit.goval.api.features.Gpu;
35936
-
35937
- /**
35938
- * Encodes the specified Gpu message. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
35939
- * @param message Gpu message or plain object to encode
35940
- * @param [writer] Writer to encode to
35941
- * @returns Writer
35942
- */
35943
- public static encode(message: replit.goval.api.features.Gpu, writer?: $protobuf.Writer): $protobuf.Writer;
35944
-
35945
- /**
35946
- * Encodes the specified Gpu message, length delimited. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
35947
- * @param message Gpu message or plain object to encode
35948
- * @param [writer] Writer to encode to
35949
- * @returns Writer
35950
- */
35951
- public static encodeDelimited(message: replit.goval.api.features.Gpu, writer?: $protobuf.Writer): $protobuf.Writer;
35952
-
35953
- /**
35954
- * Decodes a Gpu message from the specified reader or buffer.
35955
- * @param reader Reader or buffer to decode from
35956
- * @param [length] Message length if known beforehand
35957
- * @returns Gpu
35958
- * @throws {Error} If the payload is not a reader or valid buffer
35959
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35960
- */
35961
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Gpu;
35962
-
35963
- /**
35964
- * Decodes a Gpu message from the specified reader or buffer, length delimited.
35965
- * @param reader Reader or buffer to decode from
35966
- * @returns Gpu
35967
- * @throws {Error} If the payload is not a reader or valid buffer
35968
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35969
- */
35970
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Gpu;
35971
-
35972
- /**
35973
- * Verifies a Gpu message.
35974
- * @param message Plain object to verify
35975
- * @returns `null` if valid, otherwise the reason why it is not
35976
- */
35977
- public static verify(message: { [k: string]: any }): (string|null);
35978
-
35979
- /**
35980
- * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
35981
- * @param object Plain object
35982
- * @returns Gpu
35983
- */
35984
- public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Gpu;
35985
-
35986
- /**
35987
- * Creates a plain object from a Gpu message. Also converts values to other types if specified.
35988
- * @param message Gpu
35989
- * @param [options] Conversion options
35990
- * @returns Plain object
35991
- */
35992
- public static toObject(message: replit.goval.api.features.Gpu, options?: $protobuf.IConversionOptions): { [k: string]: any };
35993
-
35994
- /**
35995
- * Converts this Gpu to JSON.
35996
- * @returns JSON object
35997
- */
35998
- public toJSON(): { [k: string]: any };
35999
-
36000
- /**
36001
- * Gets the default type url for Gpu
36002
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36003
- * @returns The default type url
36004
- */
36005
- public static getTypeUrl(typeUrlPrefix?: string): string;
36006
- }
36007
-
36008
36020
  /** Properties of a Boosted. */
36009
36021
  interface IBoosted {
36010
36022
  }
@@ -36096,109 +36108,12 @@ export namespace replit {
36096
36108
  public static getTypeUrl(typeUrlPrefix?: string): string;
36097
36109
  }
36098
36110
 
36099
- /** Properties of a Backpack. */
36100
- interface IBackpack {
36101
- }
36102
-
36103
- /** Represents a Backpack. */
36104
- class Backpack {
36105
-
36106
- /**
36107
- * Constructs a new Backpack.
36108
- * @param [properties] Properties to set
36109
- */
36110
- private constructor(properties?: replit.goval.api.features.IBackpack);
36111
-
36112
- /**
36113
- * Creates a new Backpack instance using the specified properties.
36114
- * @param [properties] Properties to set
36115
- * @returns Backpack instance
36116
- */
36117
- public static create(properties?: replit.goval.api.features.IBackpack): replit.goval.api.features.Backpack;
36118
-
36119
- /**
36120
- * Encodes the specified Backpack message. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
36121
- * @param message Backpack message or plain object to encode
36122
- * @param [writer] Writer to encode to
36123
- * @returns Writer
36124
- */
36125
- public static encode(message: replit.goval.api.features.Backpack, writer?: $protobuf.Writer): $protobuf.Writer;
36126
-
36127
- /**
36128
- * Encodes the specified Backpack message, length delimited. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
36129
- * @param message Backpack message or plain object to encode
36130
- * @param [writer] Writer to encode to
36131
- * @returns Writer
36132
- */
36133
- public static encodeDelimited(message: replit.goval.api.features.Backpack, writer?: $protobuf.Writer): $protobuf.Writer;
36134
-
36135
- /**
36136
- * Decodes a Backpack message from the specified reader or buffer.
36137
- * @param reader Reader or buffer to decode from
36138
- * @param [length] Message length if known beforehand
36139
- * @returns Backpack
36140
- * @throws {Error} If the payload is not a reader or valid buffer
36141
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
36142
- */
36143
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Backpack;
36144
-
36145
- /**
36146
- * Decodes a Backpack message from the specified reader or buffer, length delimited.
36147
- * @param reader Reader or buffer to decode from
36148
- * @returns Backpack
36149
- * @throws {Error} If the payload is not a reader or valid buffer
36150
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
36151
- */
36152
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Backpack;
36153
-
36154
- /**
36155
- * Verifies a Backpack message.
36156
- * @param message Plain object to verify
36157
- * @returns `null` if valid, otherwise the reason why it is not
36158
- */
36159
- public static verify(message: { [k: string]: any }): (string|null);
36160
-
36161
- /**
36162
- * Creates a Backpack message from a plain object. Also converts values to their respective internal types.
36163
- * @param object Plain object
36164
- * @returns Backpack
36165
- */
36166
- public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Backpack;
36167
-
36168
- /**
36169
- * Creates a plain object from a Backpack message. Also converts values to other types if specified.
36170
- * @param message Backpack
36171
- * @param [options] Conversion options
36172
- * @returns Plain object
36173
- */
36174
- public static toObject(message: replit.goval.api.features.Backpack, options?: $protobuf.IConversionOptions): { [k: string]: any };
36175
-
36176
- /**
36177
- * Converts this Backpack to JSON.
36178
- * @returns JSON object
36179
- */
36180
- public toJSON(): { [k: string]: any };
36181
-
36182
- /**
36183
- * Gets the default type url for Backpack
36184
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36185
- * @returns The default type url
36186
- */
36187
- public static getTypeUrl(typeUrlPrefix?: string): string;
36188
- }
36189
-
36190
36111
  /** Properties of a Feature. */
36191
36112
  interface IFeature {
36192
36113
 
36193
- /** Feature gpu */
36194
- gpu?: (replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null);
36195
-
36196
36114
  /** Feature boosted */
36197
36115
  boosted?: (replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null);
36198
36116
 
36199
- /** Feature backpack */
36200
- backpack?: (replit.goval.api.features.Backpack|replit.goval.api.features.IBackpack|null);
36201
-
36202
36117
  /** Feature required */
36203
36118
  required?: (boolean|null);
36204
36119
  }
@@ -36212,20 +36127,14 @@ export namespace replit {
36212
36127
  */
36213
36128
  private constructor(properties?: replit.goval.api.features.IFeature);
36214
36129
 
36215
- /** Feature gpu. */
36216
- public gpu?: (replit.goval.api.features.Gpu|null);
36217
-
36218
36130
  /** Feature boosted. */
36219
36131
  public boosted?: (replit.goval.api.features.Boosted|null);
36220
36132
 
36221
- /** Feature backpack. */
36222
- public backpack?: (replit.goval.api.features.Backpack|null);
36223
-
36224
36133
  /** Feature required. */
36225
36134
  public required: boolean;
36226
36135
 
36227
36136
  /** Feature feature. */
36228
- public feature?: ("gpu"|"boosted"|"backpack");
36137
+ public feature?: "boosted";
36229
36138
 
36230
36139
  /**
36231
36140
  * Creates a new Feature instance using the specified properties.
package/main/index.js CHANGED
@@ -251,6 +251,7 @@
251
251
  * @property {replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null} [secretsGetRequest] Command secretsGetRequest
252
252
  * @property {replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null} [secretsGetResponse] Command secretsGetResponse
253
253
  * @property {replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null} [secretsSetRequest] Command secretsSetRequest
254
+ * @property {replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null} [replResourcesUpdateNotification] Command replResourcesUpdateNotification
254
255
  * @property {string|null} [ref] Command ref
255
256
  * @property {Object.<string,string>|null} [traceInfo] Command traceInfo
256
257
  * @property {boolean|null} [forceTrace] Command forceTrace
@@ -1887,6 +1888,14 @@
1887
1888
  */
1888
1889
  Command.prototype.secretsSetRequest = null;
1889
1890
 
1891
+ /**
1892
+ * Command replResourcesUpdateNotification.
1893
+ * @member {replit.goval.api.ReplResourcesUpdateNotification|null|undefined} replResourcesUpdateNotification
1894
+ * @memberof replit.goval.api.Command
1895
+ * @instance
1896
+ */
1897
+ Command.prototype.replResourcesUpdateNotification = null;
1898
+
1890
1899
  /**
1891
1900
  * Command ref.
1892
1901
  * @member {string} ref
@@ -1916,12 +1925,12 @@
1916
1925
 
1917
1926
  /**
1918
1927
  * Command body.
1919
- * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
1928
+ * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification"|undefined} body
1920
1929
  * @memberof replit.goval.api.Command
1921
1930
  * @instance
1922
1931
  */
1923
1932
  Object.defineProperty(Command.prototype, "body", {
1924
- get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
1933
+ get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "replResourcesUpdateNotification"]),
1925
1934
  set: $util.oneOfSetter($oneOfFields)
1926
1935
  });
1927
1936
 
@@ -2353,6 +2362,8 @@
2353
2362
  $root.replit.goval.api.SecretsGetResponse.encode(message.secretsGetResponse, writer.uint32(/* id 467, wireType 2 =*/3738).fork()).ldelim();
2354
2363
  if (message.secretsSetRequest != null && Object.hasOwnProperty.call(message, "secretsSetRequest"))
2355
2364
  $root.replit.goval.api.SecretsSetRequest.encode(message.secretsSetRequest, writer.uint32(/* id 468, wireType 2 =*/3746).fork()).ldelim();
2365
+ if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
2366
+ $root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
2356
2367
  if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
2357
2368
  writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
2358
2369
  if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
@@ -3202,6 +3213,10 @@
3202
3213
  message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.decode(reader, reader.uint32());
3203
3214
  break;
3204
3215
  }
3216
+ case 600: {
3217
+ message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.decode(reader, reader.uint32());
3218
+ break;
3219
+ }
3205
3220
  case 1000: {
3206
3221
  message.ref = reader.string();
3207
3222
  break;
@@ -5239,6 +5254,16 @@
5239
5254
  return "secretsSetRequest." + error;
5240
5255
  }
5241
5256
  }
5257
+ if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
5258
+ if (properties.body === 1)
5259
+ return "body: multiple values";
5260
+ properties.body = 1;
5261
+ {
5262
+ var error = $root.replit.goval.api.ReplResourcesUpdateNotification.verify(message.replResourcesUpdateNotification);
5263
+ if (error)
5264
+ return "replResourcesUpdateNotification." + error;
5265
+ }
5266
+ }
5242
5267
  if (message.ref != null && message.hasOwnProperty("ref"))
5243
5268
  if (!$util.isString(message.ref))
5244
5269
  return "ref: string expected";
@@ -6247,6 +6272,11 @@
6247
6272
  throw TypeError(".replit.goval.api.Command.secretsSetRequest: object expected");
6248
6273
  message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.fromObject(object.secretsSetRequest);
6249
6274
  }
6275
+ if (object.replResourcesUpdateNotification != null) {
6276
+ if (typeof object.replResourcesUpdateNotification !== "object")
6277
+ throw TypeError(".replit.goval.api.Command.replResourcesUpdateNotification: object expected");
6278
+ message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.fromObject(object.replResourcesUpdateNotification);
6279
+ }
6250
6280
  if (object.ref != null)
6251
6281
  message.ref = String(object.ref);
6252
6282
  if (object.traceInfo) {
@@ -7286,6 +7316,11 @@
7286
7316
  if (options.oneofs)
7287
7317
  object.body = "secretsSetRequest";
7288
7318
  }
7319
+ if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
7320
+ object.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.toObject(message.replResourcesUpdateNotification, options);
7321
+ if (options.oneofs)
7322
+ object.body = "replResourcesUpdateNotification";
7323
+ }
7289
7324
  if (message.ref != null && message.hasOwnProperty("ref"))
7290
7325
  object.ref = message.ref;
7291
7326
  var keys2;
@@ -69148,6 +69183,208 @@
69148
69183
  return SecretsSetRequest;
69149
69184
  })();
69150
69185
 
69186
+ api.ReplResourcesUpdateNotification = (function() {
69187
+
69188
+ /**
69189
+ * Properties of a ReplResourcesUpdateNotification.
69190
+ * @memberof replit.goval.api
69191
+ * @interface IReplResourcesUpdateNotification
69192
+ * @property {string|null} [contents] ReplResourcesUpdateNotification contents
69193
+ */
69194
+
69195
+ /**
69196
+ * Constructs a new ReplResourcesUpdateNotification.
69197
+ * @memberof replit.goval.api
69198
+ * @classdesc Represents a ReplResourcesUpdateNotification.
69199
+ * @constructor
69200
+ * @param {replit.goval.api.IReplResourcesUpdateNotification=} [properties] Properties to set
69201
+ */
69202
+ function ReplResourcesUpdateNotification(properties) {
69203
+ if (properties)
69204
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
69205
+ if (properties[keys[i]] != null)
69206
+ this[keys[i]] = properties[keys[i]];
69207
+ }
69208
+
69209
+ /**
69210
+ * ReplResourcesUpdateNotification contents.
69211
+ * @member {string} contents
69212
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69213
+ * @instance
69214
+ */
69215
+ ReplResourcesUpdateNotification.prototype.contents = "";
69216
+
69217
+ /**
69218
+ * Creates a new ReplResourcesUpdateNotification instance using the specified properties.
69219
+ * @function create
69220
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69221
+ * @static
69222
+ * @param {replit.goval.api.IReplResourcesUpdateNotification=} [properties] Properties to set
69223
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification instance
69224
+ */
69225
+ ReplResourcesUpdateNotification.create = function create(properties) {
69226
+ return ReplResourcesUpdateNotification.fromObject(properties);
69227
+ };
69228
+
69229
+ /**
69230
+ * Encodes the specified ReplResourcesUpdateNotification message. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
69231
+ * @function encode
69232
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69233
+ * @static
69234
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification message or plain object to encode
69235
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69236
+ * @returns {$protobuf.Writer} Writer
69237
+ */
69238
+ ReplResourcesUpdateNotification.encode = function encode(message, writer) {
69239
+ if (!writer)
69240
+ writer = $Writer.create();
69241
+ if (message.contents != null && Object.hasOwnProperty.call(message, "contents"))
69242
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.contents);
69243
+ return writer;
69244
+ };
69245
+
69246
+ /**
69247
+ * Encodes the specified ReplResourcesUpdateNotification message, length delimited. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
69248
+ * @function encodeDelimited
69249
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69250
+ * @static
69251
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification message or plain object to encode
69252
+ * @param {$protobuf.Writer} [writer] Writer to encode to
69253
+ * @returns {$protobuf.Writer} Writer
69254
+ */
69255
+ ReplResourcesUpdateNotification.encodeDelimited = function encodeDelimited(message, writer) {
69256
+ return this.encode(message, writer).ldelim();
69257
+ };
69258
+
69259
+ /**
69260
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer.
69261
+ * @function decode
69262
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69263
+ * @static
69264
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69265
+ * @param {number} [length] Message length if known beforehand
69266
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
69267
+ * @throws {Error} If the payload is not a reader or valid buffer
69268
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69269
+ */
69270
+ ReplResourcesUpdateNotification.decode = function decode(reader, length) {
69271
+ if (!(reader instanceof $Reader))
69272
+ reader = $Reader.create(reader);
69273
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplResourcesUpdateNotification();
69274
+ while (reader.pos < end) {
69275
+ var tag = reader.uint32();
69276
+ switch (tag >>> 3) {
69277
+ case 1: {
69278
+ message.contents = reader.string();
69279
+ break;
69280
+ }
69281
+ default:
69282
+ reader.skipType(tag & 7);
69283
+ break;
69284
+ }
69285
+ }
69286
+ return message;
69287
+ };
69288
+
69289
+ /**
69290
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer, length delimited.
69291
+ * @function decodeDelimited
69292
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69293
+ * @static
69294
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69295
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
69296
+ * @throws {Error} If the payload is not a reader or valid buffer
69297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
69298
+ */
69299
+ ReplResourcesUpdateNotification.decodeDelimited = function decodeDelimited(reader) {
69300
+ if (!(reader instanceof $Reader))
69301
+ reader = new $Reader(reader);
69302
+ return this.decode(reader, reader.uint32());
69303
+ };
69304
+
69305
+ /**
69306
+ * Verifies a ReplResourcesUpdateNotification message.
69307
+ * @function verify
69308
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69309
+ * @static
69310
+ * @param {Object.<string,*>} message Plain object to verify
69311
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
69312
+ */
69313
+ ReplResourcesUpdateNotification.verify = function verify(message) {
69314
+ if (typeof message !== "object" || message === null)
69315
+ return "object expected";
69316
+ if (message.contents != null && message.hasOwnProperty("contents"))
69317
+ if (!$util.isString(message.contents))
69318
+ return "contents: string expected";
69319
+ return null;
69320
+ };
69321
+
69322
+ /**
69323
+ * Creates a ReplResourcesUpdateNotification message from a plain object. Also converts values to their respective internal types.
69324
+ * @function fromObject
69325
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69326
+ * @static
69327
+ * @param {Object.<string,*>} object Plain object
69328
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
69329
+ */
69330
+ ReplResourcesUpdateNotification.fromObject = function fromObject(object) {
69331
+ if (object instanceof $root.replit.goval.api.ReplResourcesUpdateNotification)
69332
+ return object;
69333
+ var message = new $root.replit.goval.api.ReplResourcesUpdateNotification();
69334
+ if (object.contents != null)
69335
+ message.contents = String(object.contents);
69336
+ return message;
69337
+ };
69338
+
69339
+ /**
69340
+ * Creates a plain object from a ReplResourcesUpdateNotification message. Also converts values to other types if specified.
69341
+ * @function toObject
69342
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69343
+ * @static
69344
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification
69345
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
69346
+ * @returns {Object.<string,*>} Plain object
69347
+ */
69348
+ ReplResourcesUpdateNotification.toObject = function toObject(message, options) {
69349
+ if (!options)
69350
+ options = {};
69351
+ var object = {};
69352
+ if (options.defaults)
69353
+ object.contents = "";
69354
+ if (message.contents != null && message.hasOwnProperty("contents"))
69355
+ object.contents = message.contents;
69356
+ return object;
69357
+ };
69358
+
69359
+ /**
69360
+ * Converts this ReplResourcesUpdateNotification to JSON.
69361
+ * @function toJSON
69362
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69363
+ * @instance
69364
+ * @returns {Object.<string,*>} JSON object
69365
+ */
69366
+ ReplResourcesUpdateNotification.prototype.toJSON = function toJSON() {
69367
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69368
+ };
69369
+
69370
+ /**
69371
+ * Gets the default type url for ReplResourcesUpdateNotification
69372
+ * @function getTypeUrl
69373
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
69374
+ * @static
69375
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
69376
+ * @returns {string} The default type url
69377
+ */
69378
+ ReplResourcesUpdateNotification.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
69379
+ if (typeUrlPrefix === undefined) {
69380
+ typeUrlPrefix = "type.googleapis.com";
69381
+ }
69382
+ return typeUrlPrefix + "/replit.goval.api.ReplResourcesUpdateNotification";
69383
+ };
69384
+
69385
+ return ReplResourcesUpdateNotification;
69386
+ })();
69387
+
69151
69388
  api.TLSCertificate = (function() {
69152
69389
 
69153
69390
  /**
@@ -89246,180 +89483,6 @@
89246
89483
  */
89247
89484
  var features = {};
89248
89485
 
89249
- features.Gpu = (function() {
89250
-
89251
- /**
89252
- * Properties of a Gpu.
89253
- * @memberof replit.goval.api.features
89254
- * @interface IGpu
89255
- */
89256
-
89257
- /**
89258
- * Constructs a new Gpu.
89259
- * @memberof replit.goval.api.features
89260
- * @classdesc Represents a Gpu.
89261
- * @constructor
89262
- * @param {replit.goval.api.features.IGpu=} [properties] Properties to set
89263
- */
89264
- function Gpu(properties) {
89265
- if (properties)
89266
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89267
- if (properties[keys[i]] != null)
89268
- this[keys[i]] = properties[keys[i]];
89269
- }
89270
-
89271
- /**
89272
- * Creates a new Gpu instance using the specified properties.
89273
- * @function create
89274
- * @memberof replit.goval.api.features.Gpu
89275
- * @static
89276
- * @param {replit.goval.api.features.IGpu=} [properties] Properties to set
89277
- * @returns {replit.goval.api.features.Gpu} Gpu instance
89278
- */
89279
- Gpu.create = function create(properties) {
89280
- return Gpu.fromObject(properties);
89281
- };
89282
-
89283
- /**
89284
- * Encodes the specified Gpu message. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
89285
- * @function encode
89286
- * @memberof replit.goval.api.features.Gpu
89287
- * @static
89288
- * @param {replit.goval.api.features.Gpu} message Gpu message or plain object to encode
89289
- * @param {$protobuf.Writer} [writer] Writer to encode to
89290
- * @returns {$protobuf.Writer} Writer
89291
- */
89292
- Gpu.encode = function encode(message, writer) {
89293
- if (!writer)
89294
- writer = $Writer.create();
89295
- return writer;
89296
- };
89297
-
89298
- /**
89299
- * Encodes the specified Gpu message, length delimited. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
89300
- * @function encodeDelimited
89301
- * @memberof replit.goval.api.features.Gpu
89302
- * @static
89303
- * @param {replit.goval.api.features.Gpu} message Gpu message or plain object to encode
89304
- * @param {$protobuf.Writer} [writer] Writer to encode to
89305
- * @returns {$protobuf.Writer} Writer
89306
- */
89307
- Gpu.encodeDelimited = function encodeDelimited(message, writer) {
89308
- return this.encode(message, writer).ldelim();
89309
- };
89310
-
89311
- /**
89312
- * Decodes a Gpu message from the specified reader or buffer.
89313
- * @function decode
89314
- * @memberof replit.goval.api.features.Gpu
89315
- * @static
89316
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89317
- * @param {number} [length] Message length if known beforehand
89318
- * @returns {replit.goval.api.features.Gpu} Gpu
89319
- * @throws {Error} If the payload is not a reader or valid buffer
89320
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89321
- */
89322
- Gpu.decode = function decode(reader, length) {
89323
- if (!(reader instanceof $Reader))
89324
- reader = $Reader.create(reader);
89325
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.features.Gpu();
89326
- while (reader.pos < end) {
89327
- var tag = reader.uint32();
89328
- switch (tag >>> 3) {
89329
- default:
89330
- reader.skipType(tag & 7);
89331
- break;
89332
- }
89333
- }
89334
- return message;
89335
- };
89336
-
89337
- /**
89338
- * Decodes a Gpu message from the specified reader or buffer, length delimited.
89339
- * @function decodeDelimited
89340
- * @memberof replit.goval.api.features.Gpu
89341
- * @static
89342
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89343
- * @returns {replit.goval.api.features.Gpu} Gpu
89344
- * @throws {Error} If the payload is not a reader or valid buffer
89345
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89346
- */
89347
- Gpu.decodeDelimited = function decodeDelimited(reader) {
89348
- if (!(reader instanceof $Reader))
89349
- reader = new $Reader(reader);
89350
- return this.decode(reader, reader.uint32());
89351
- };
89352
-
89353
- /**
89354
- * Verifies a Gpu message.
89355
- * @function verify
89356
- * @memberof replit.goval.api.features.Gpu
89357
- * @static
89358
- * @param {Object.<string,*>} message Plain object to verify
89359
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
89360
- */
89361
- Gpu.verify = function verify(message) {
89362
- if (typeof message !== "object" || message === null)
89363
- return "object expected";
89364
- return null;
89365
- };
89366
-
89367
- /**
89368
- * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
89369
- * @function fromObject
89370
- * @memberof replit.goval.api.features.Gpu
89371
- * @static
89372
- * @param {Object.<string,*>} object Plain object
89373
- * @returns {replit.goval.api.features.Gpu} Gpu
89374
- */
89375
- Gpu.fromObject = function fromObject(object) {
89376
- if (object instanceof $root.replit.goval.api.features.Gpu)
89377
- return object;
89378
- return new $root.replit.goval.api.features.Gpu();
89379
- };
89380
-
89381
- /**
89382
- * Creates a plain object from a Gpu message. Also converts values to other types if specified.
89383
- * @function toObject
89384
- * @memberof replit.goval.api.features.Gpu
89385
- * @static
89386
- * @param {replit.goval.api.features.Gpu} message Gpu
89387
- * @param {$protobuf.IConversionOptions} [options] Conversion options
89388
- * @returns {Object.<string,*>} Plain object
89389
- */
89390
- Gpu.toObject = function toObject() {
89391
- return {};
89392
- };
89393
-
89394
- /**
89395
- * Converts this Gpu to JSON.
89396
- * @function toJSON
89397
- * @memberof replit.goval.api.features.Gpu
89398
- * @instance
89399
- * @returns {Object.<string,*>} JSON object
89400
- */
89401
- Gpu.prototype.toJSON = function toJSON() {
89402
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
89403
- };
89404
-
89405
- /**
89406
- * Gets the default type url for Gpu
89407
- * @function getTypeUrl
89408
- * @memberof replit.goval.api.features.Gpu
89409
- * @static
89410
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
89411
- * @returns {string} The default type url
89412
- */
89413
- Gpu.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
89414
- if (typeUrlPrefix === undefined) {
89415
- typeUrlPrefix = "type.googleapis.com";
89416
- }
89417
- return typeUrlPrefix + "/replit.goval.api.features.Gpu";
89418
- };
89419
-
89420
- return Gpu;
89421
- })();
89422
-
89423
89486
  features.Boosted = (function() {
89424
89487
 
89425
89488
  /**
@@ -89594,189 +89657,13 @@
89594
89657
  return Boosted;
89595
89658
  })();
89596
89659
 
89597
- features.Backpack = (function() {
89598
-
89599
- /**
89600
- * Properties of a Backpack.
89601
- * @memberof replit.goval.api.features
89602
- * @interface IBackpack
89603
- */
89604
-
89605
- /**
89606
- * Constructs a new Backpack.
89607
- * @memberof replit.goval.api.features
89608
- * @classdesc Represents a Backpack.
89609
- * @constructor
89610
- * @param {replit.goval.api.features.IBackpack=} [properties] Properties to set
89611
- */
89612
- function Backpack(properties) {
89613
- if (properties)
89614
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89615
- if (properties[keys[i]] != null)
89616
- this[keys[i]] = properties[keys[i]];
89617
- }
89618
-
89619
- /**
89620
- * Creates a new Backpack instance using the specified properties.
89621
- * @function create
89622
- * @memberof replit.goval.api.features.Backpack
89623
- * @static
89624
- * @param {replit.goval.api.features.IBackpack=} [properties] Properties to set
89625
- * @returns {replit.goval.api.features.Backpack} Backpack instance
89626
- */
89627
- Backpack.create = function create(properties) {
89628
- return Backpack.fromObject(properties);
89629
- };
89630
-
89631
- /**
89632
- * Encodes the specified Backpack message. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
89633
- * @function encode
89634
- * @memberof replit.goval.api.features.Backpack
89635
- * @static
89636
- * @param {replit.goval.api.features.Backpack} message Backpack message or plain object to encode
89637
- * @param {$protobuf.Writer} [writer] Writer to encode to
89638
- * @returns {$protobuf.Writer} Writer
89639
- */
89640
- Backpack.encode = function encode(message, writer) {
89641
- if (!writer)
89642
- writer = $Writer.create();
89643
- return writer;
89644
- };
89645
-
89646
- /**
89647
- * Encodes the specified Backpack message, length delimited. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
89648
- * @function encodeDelimited
89649
- * @memberof replit.goval.api.features.Backpack
89650
- * @static
89651
- * @param {replit.goval.api.features.Backpack} message Backpack message or plain object to encode
89652
- * @param {$protobuf.Writer} [writer] Writer to encode to
89653
- * @returns {$protobuf.Writer} Writer
89654
- */
89655
- Backpack.encodeDelimited = function encodeDelimited(message, writer) {
89656
- return this.encode(message, writer).ldelim();
89657
- };
89658
-
89659
- /**
89660
- * Decodes a Backpack message from the specified reader or buffer.
89661
- * @function decode
89662
- * @memberof replit.goval.api.features.Backpack
89663
- * @static
89664
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89665
- * @param {number} [length] Message length if known beforehand
89666
- * @returns {replit.goval.api.features.Backpack} Backpack
89667
- * @throws {Error} If the payload is not a reader or valid buffer
89668
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89669
- */
89670
- Backpack.decode = function decode(reader, length) {
89671
- if (!(reader instanceof $Reader))
89672
- reader = $Reader.create(reader);
89673
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.features.Backpack();
89674
- while (reader.pos < end) {
89675
- var tag = reader.uint32();
89676
- switch (tag >>> 3) {
89677
- default:
89678
- reader.skipType(tag & 7);
89679
- break;
89680
- }
89681
- }
89682
- return message;
89683
- };
89684
-
89685
- /**
89686
- * Decodes a Backpack message from the specified reader or buffer, length delimited.
89687
- * @function decodeDelimited
89688
- * @memberof replit.goval.api.features.Backpack
89689
- * @static
89690
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89691
- * @returns {replit.goval.api.features.Backpack} Backpack
89692
- * @throws {Error} If the payload is not a reader or valid buffer
89693
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89694
- */
89695
- Backpack.decodeDelimited = function decodeDelimited(reader) {
89696
- if (!(reader instanceof $Reader))
89697
- reader = new $Reader(reader);
89698
- return this.decode(reader, reader.uint32());
89699
- };
89700
-
89701
- /**
89702
- * Verifies a Backpack message.
89703
- * @function verify
89704
- * @memberof replit.goval.api.features.Backpack
89705
- * @static
89706
- * @param {Object.<string,*>} message Plain object to verify
89707
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
89708
- */
89709
- Backpack.verify = function verify(message) {
89710
- if (typeof message !== "object" || message === null)
89711
- return "object expected";
89712
- return null;
89713
- };
89714
-
89715
- /**
89716
- * Creates a Backpack message from a plain object. Also converts values to their respective internal types.
89717
- * @function fromObject
89718
- * @memberof replit.goval.api.features.Backpack
89719
- * @static
89720
- * @param {Object.<string,*>} object Plain object
89721
- * @returns {replit.goval.api.features.Backpack} Backpack
89722
- */
89723
- Backpack.fromObject = function fromObject(object) {
89724
- if (object instanceof $root.replit.goval.api.features.Backpack)
89725
- return object;
89726
- return new $root.replit.goval.api.features.Backpack();
89727
- };
89728
-
89729
- /**
89730
- * Creates a plain object from a Backpack message. Also converts values to other types if specified.
89731
- * @function toObject
89732
- * @memberof replit.goval.api.features.Backpack
89733
- * @static
89734
- * @param {replit.goval.api.features.Backpack} message Backpack
89735
- * @param {$protobuf.IConversionOptions} [options] Conversion options
89736
- * @returns {Object.<string,*>} Plain object
89737
- */
89738
- Backpack.toObject = function toObject() {
89739
- return {};
89740
- };
89741
-
89742
- /**
89743
- * Converts this Backpack to JSON.
89744
- * @function toJSON
89745
- * @memberof replit.goval.api.features.Backpack
89746
- * @instance
89747
- * @returns {Object.<string,*>} JSON object
89748
- */
89749
- Backpack.prototype.toJSON = function toJSON() {
89750
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
89751
- };
89752
-
89753
- /**
89754
- * Gets the default type url for Backpack
89755
- * @function getTypeUrl
89756
- * @memberof replit.goval.api.features.Backpack
89757
- * @static
89758
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
89759
- * @returns {string} The default type url
89760
- */
89761
- Backpack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
89762
- if (typeUrlPrefix === undefined) {
89763
- typeUrlPrefix = "type.googleapis.com";
89764
- }
89765
- return typeUrlPrefix + "/replit.goval.api.features.Backpack";
89766
- };
89767
-
89768
- return Backpack;
89769
- })();
89770
-
89771
89660
  features.Feature = (function() {
89772
89661
 
89773
89662
  /**
89774
89663
  * Properties of a Feature.
89775
89664
  * @memberof replit.goval.api.features
89776
89665
  * @interface IFeature
89777
- * @property {replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null} [gpu] Feature gpu
89778
89666
  * @property {replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null} [boosted] Feature boosted
89779
- * @property {replit.goval.api.features.Backpack|replit.goval.api.features.IBackpack|null} [backpack] Feature backpack
89780
89667
  * @property {boolean|null} [required] Feature required
89781
89668
  */
89782
89669
 
@@ -89794,14 +89681,6 @@
89794
89681
  this[keys[i]] = properties[keys[i]];
89795
89682
  }
89796
89683
 
89797
- /**
89798
- * Feature gpu.
89799
- * @member {replit.goval.api.features.Gpu|null|undefined} gpu
89800
- * @memberof replit.goval.api.features.Feature
89801
- * @instance
89802
- */
89803
- Feature.prototype.gpu = null;
89804
-
89805
89684
  /**
89806
89685
  * Feature boosted.
89807
89686
  * @member {replit.goval.api.features.Boosted|null|undefined} boosted
@@ -89810,14 +89689,6 @@
89810
89689
  */
89811
89690
  Feature.prototype.boosted = null;
89812
89691
 
89813
- /**
89814
- * Feature backpack.
89815
- * @member {replit.goval.api.features.Backpack|null|undefined} backpack
89816
- * @memberof replit.goval.api.features.Feature
89817
- * @instance
89818
- */
89819
- Feature.prototype.backpack = null;
89820
-
89821
89692
  /**
89822
89693
  * Feature required.
89823
89694
  * @member {boolean} required
@@ -89831,12 +89702,12 @@
89831
89702
 
89832
89703
  /**
89833
89704
  * Feature feature.
89834
- * @member {"gpu"|"boosted"|"backpack"|undefined} feature
89705
+ * @member {"boosted"|undefined} feature
89835
89706
  * @memberof replit.goval.api.features.Feature
89836
89707
  * @instance
89837
89708
  */
89838
89709
  Object.defineProperty(Feature.prototype, "feature", {
89839
- get: $util.oneOfGetter($oneOfFields = ["gpu", "boosted", "backpack"]),
89710
+ get: $util.oneOfGetter($oneOfFields = ["boosted"]),
89840
89711
  set: $util.oneOfSetter($oneOfFields)
89841
89712
  });
89842
89713
 
@@ -89864,14 +89735,10 @@
89864
89735
  Feature.encode = function encode(message, writer) {
89865
89736
  if (!writer)
89866
89737
  writer = $Writer.create();
89867
- if (message.gpu != null && Object.hasOwnProperty.call(message, "gpu"))
89868
- $root.replit.goval.api.features.Gpu.encode(message.gpu, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
89869
89738
  if (message.boosted != null && Object.hasOwnProperty.call(message, "boosted"))
89870
89739
  $root.replit.goval.api.features.Boosted.encode(message.boosted, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
89871
89740
  if (message.required != null && Object.hasOwnProperty.call(message, "required"))
89872
89741
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required);
89873
- if (message.backpack != null && Object.hasOwnProperty.call(message, "backpack"))
89874
- $root.replit.goval.api.features.Backpack.encode(message.backpack, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
89875
89742
  return writer;
89876
89743
  };
89877
89744
 
@@ -89906,18 +89773,10 @@
89906
89773
  while (reader.pos < end) {
89907
89774
  var tag = reader.uint32();
89908
89775
  switch (tag >>> 3) {
89909
- case 1: {
89910
- message.gpu = $root.replit.goval.api.features.Gpu.decode(reader, reader.uint32());
89911
- break;
89912
- }
89913
89776
  case 2: {
89914
89777
  message.boosted = $root.replit.goval.api.features.Boosted.decode(reader, reader.uint32());
89915
89778
  break;
89916
89779
  }
89917
- case 4: {
89918
- message.backpack = $root.replit.goval.api.features.Backpack.decode(reader, reader.uint32());
89919
- break;
89920
- }
89921
89780
  case 3: {
89922
89781
  message.required = reader.bool();
89923
89782
  break;
@@ -89958,17 +89817,7 @@
89958
89817
  if (typeof message !== "object" || message === null)
89959
89818
  return "object expected";
89960
89819
  var properties = {};
89961
- if (message.gpu != null && message.hasOwnProperty("gpu")) {
89962
- properties.feature = 1;
89963
- {
89964
- var error = $root.replit.goval.api.features.Gpu.verify(message.gpu);
89965
- if (error)
89966
- return "gpu." + error;
89967
- }
89968
- }
89969
89820
  if (message.boosted != null && message.hasOwnProperty("boosted")) {
89970
- if (properties.feature === 1)
89971
- return "feature: multiple values";
89972
89821
  properties.feature = 1;
89973
89822
  {
89974
89823
  var error = $root.replit.goval.api.features.Boosted.verify(message.boosted);
@@ -89976,16 +89825,6 @@
89976
89825
  return "boosted." + error;
89977
89826
  }
89978
89827
  }
89979
- if (message.backpack != null && message.hasOwnProperty("backpack")) {
89980
- if (properties.feature === 1)
89981
- return "feature: multiple values";
89982
- properties.feature = 1;
89983
- {
89984
- var error = $root.replit.goval.api.features.Backpack.verify(message.backpack);
89985
- if (error)
89986
- return "backpack." + error;
89987
- }
89988
- }
89989
89828
  if (message.required != null && message.hasOwnProperty("required"))
89990
89829
  if (typeof message.required !== "boolean")
89991
89830
  return "required: boolean expected";
@@ -90004,21 +89843,11 @@
90004
89843
  if (object instanceof $root.replit.goval.api.features.Feature)
90005
89844
  return object;
90006
89845
  var message = new $root.replit.goval.api.features.Feature();
90007
- if (object.gpu != null) {
90008
- if (typeof object.gpu !== "object")
90009
- throw TypeError(".replit.goval.api.features.Feature.gpu: object expected");
90010
- message.gpu = $root.replit.goval.api.features.Gpu.fromObject(object.gpu);
90011
- }
90012
89846
  if (object.boosted != null) {
90013
89847
  if (typeof object.boosted !== "object")
90014
89848
  throw TypeError(".replit.goval.api.features.Feature.boosted: object expected");
90015
89849
  message.boosted = $root.replit.goval.api.features.Boosted.fromObject(object.boosted);
90016
89850
  }
90017
- if (object.backpack != null) {
90018
- if (typeof object.backpack !== "object")
90019
- throw TypeError(".replit.goval.api.features.Feature.backpack: object expected");
90020
- message.backpack = $root.replit.goval.api.features.Backpack.fromObject(object.backpack);
90021
- }
90022
89851
  if (object.required != null)
90023
89852
  message.required = Boolean(object.required);
90024
89853
  return message;
@@ -90039,11 +89868,6 @@
90039
89868
  var object = {};
90040
89869
  if (options.defaults)
90041
89870
  object.required = false;
90042
- if (message.gpu != null && message.hasOwnProperty("gpu")) {
90043
- object.gpu = $root.replit.goval.api.features.Gpu.toObject(message.gpu, options);
90044
- if (options.oneofs)
90045
- object.feature = "gpu";
90046
- }
90047
89871
  if (message.boosted != null && message.hasOwnProperty("boosted")) {
90048
89872
  object.boosted = $root.replit.goval.api.features.Boosted.toObject(message.boosted, options);
90049
89873
  if (options.oneofs)
@@ -90051,11 +89875,6 @@
90051
89875
  }
90052
89876
  if (message.required != null && message.hasOwnProperty("required"))
90053
89877
  object.required = message.required;
90054
- if (message.backpack != null && message.hasOwnProperty("backpack")) {
90055
- object.backpack = $root.replit.goval.api.features.Backpack.toObject(message.backpack, options);
90056
- if (options.oneofs)
90057
- object.feature = "backpack";
90058
- }
90059
89878
  return object;
90060
89879
  };
90061
89880
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "author": "eng@replit.com",