@replit/protocol 0.3.9 → 0.3.11
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 +463 -1
- package/main/index.js +1285 -2
- package/main/index.js.flow +691 -1
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -209,6 +209,10 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
209
209
|
INixModule: Class<replit$goval$api$INixModule>,
|
|
210
210
|
INixModulesChanged: Class<replit$goval$api$INixModulesChanged>,
|
|
211
211
|
INixModulesBuildRequest: Class<replit$goval$api$INixModulesBuildRequest>,
|
|
212
|
+
INixModulesGetRegistryRequest: Class<replit$goval$api$INixModulesGetRegistryRequest>,
|
|
213
|
+
INixModulesGetRegistryResponse: Class<replit$goval$api$INixModulesGetRegistryResponse>,
|
|
214
|
+
INixModulesRegistryEntry: Class<replit$goval$api$INixModulesRegistryEntry>,
|
|
215
|
+
INixModulesUpgradeMapEntry: Class<replit$goval$api$INixModulesUpgradeMapEntry>,
|
|
212
216
|
IToolchainGetRequest: Class<replit$goval$api$IToolchainGetRequest>,
|
|
213
217
|
IToolchainConfigs: Class<replit$goval$api$IToolchainConfigs>,
|
|
214
218
|
IToolchainGetResponse: Class<replit$goval$api$IToolchainGetResponse>,
|
|
@@ -428,6 +432,10 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
428
432
|
NixModule: typeof replit$goval$api$NixModule,
|
|
429
433
|
NixModulesChanged: typeof replit$goval$api$NixModulesChanged,
|
|
430
434
|
NixModulesBuildRequest: typeof replit$goval$api$NixModulesBuildRequest,
|
|
435
|
+
NixModulesGetRegistryRequest: typeof replit$goval$api$NixModulesGetRegistryRequest,
|
|
436
|
+
NixModulesGetRegistryResponse: typeof replit$goval$api$NixModulesGetRegistryResponse,
|
|
437
|
+
NixModulesRegistryEntry: typeof replit$goval$api$NixModulesRegistryEntry,
|
|
438
|
+
NixModulesUpgradeMapEntry: typeof replit$goval$api$NixModulesUpgradeMapEntry,
|
|
431
439
|
ToolchainGetRequest: typeof replit$goval$api$ToolchainGetRequest,
|
|
432
440
|
ToolchainConfigs: typeof replit$goval$api$ToolchainConfigs,
|
|
433
441
|
ToolchainGetResponse: typeof replit$goval$api$ToolchainGetResponse,
|
|
@@ -1686,6 +1694,22 @@ declare type replit$goval$api$ICommand = {|
|
|
|
1686
1694
|
| replit$goval$api$IReplspaceApiOpenMultipleFiles
|
|
1687
1695
|
| null,
|
|
1688
1696
|
|
|
1697
|
+
/**
|
|
1698
|
+
* Command nixModulesGetRegistryRequest
|
|
1699
|
+
*/
|
|
1700
|
+
nixModulesGetRegistryRequest?:
|
|
1701
|
+
| replit$goval$api$NixModulesGetRegistryRequest
|
|
1702
|
+
| replit$goval$api$INixModulesGetRegistryRequest
|
|
1703
|
+
| null,
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Command nixModulesGetRegistryResponse
|
|
1707
|
+
*/
|
|
1708
|
+
nixModulesGetRegistryResponse?:
|
|
1709
|
+
| replit$goval$api$NixModulesGetRegistryResponse
|
|
1710
|
+
| replit$goval$api$INixModulesGetRegistryResponse
|
|
1711
|
+
| null,
|
|
1712
|
+
|
|
1689
1713
|
/**
|
|
1690
1714
|
* Command ref
|
|
1691
1715
|
*/
|
|
@@ -2609,6 +2633,16 @@ declare class replit$goval$api$Command {
|
|
|
2609
2633
|
*/
|
|
2610
2634
|
replspaceApiOpenMultipleFiles?: replit$goval$api$ReplspaceApiOpenMultipleFiles | null;
|
|
2611
2635
|
|
|
2636
|
+
/**
|
|
2637
|
+
* Command nixModulesGetRegistryRequest.
|
|
2638
|
+
*/
|
|
2639
|
+
nixModulesGetRegistryRequest?: replit$goval$api$NixModulesGetRegistryRequest | null;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* Command nixModulesGetRegistryResponse.
|
|
2643
|
+
*/
|
|
2644
|
+
nixModulesGetRegistryResponse?: replit$goval$api$NixModulesGetRegistryResponse | null;
|
|
2645
|
+
|
|
2612
2646
|
/**
|
|
2613
2647
|
* Command ref.
|
|
2614
2648
|
*/
|
|
@@ -2802,7 +2836,9 @@ declare class replit$goval$api$Command {
|
|
|
2802
2836
|
| "toolchainGetRequest"
|
|
2803
2837
|
| "toolchainGetResponse"
|
|
2804
2838
|
| "toolchainChanged"
|
|
2805
|
-
| "replspaceApiOpenMultipleFiles"
|
|
2839
|
+
| "replspaceApiOpenMultipleFiles"
|
|
2840
|
+
| "nixModulesGetRegistryRequest"
|
|
2841
|
+
| "nixModulesGetRegistryResponse";
|
|
2806
2842
|
|
|
2807
2843
|
/**
|
|
2808
2844
|
* Creates a new Command instance using the specified properties.
|
|
@@ -27667,6 +27703,26 @@ declare type replit$goval$api$INixModule = {|
|
|
|
27667
27703
|
| replit$goval$api$ILanguageServerOption
|
|
27668
27704
|
)[]
|
|
27669
27705
|
| null,
|
|
27706
|
+
|
|
27707
|
+
/**
|
|
27708
|
+
* NixModule buildType
|
|
27709
|
+
*/
|
|
27710
|
+
buildType?: string | null,
|
|
27711
|
+
|
|
27712
|
+
/**
|
|
27713
|
+
* NixModule resolutionPath
|
|
27714
|
+
*/
|
|
27715
|
+
resolutionPath?: string[] | null,
|
|
27716
|
+
|
|
27717
|
+
/**
|
|
27718
|
+
* NixModule registryId
|
|
27719
|
+
*/
|
|
27720
|
+
registryId?: string | null,
|
|
27721
|
+
|
|
27722
|
+
/**
|
|
27723
|
+
* NixModule originalRegistryId
|
|
27724
|
+
*/
|
|
27725
|
+
originalRegistryId?: string | null,
|
|
27670
27726
|
|};
|
|
27671
27727
|
|
|
27672
27728
|
/**
|
|
@@ -27719,6 +27775,26 @@ declare class replit$goval$api$NixModule {
|
|
|
27719
27775
|
*/
|
|
27720
27776
|
languageServers: replit$goval$api$LanguageServerOption[];
|
|
27721
27777
|
|
|
27778
|
+
/**
|
|
27779
|
+
* NixModule buildType.
|
|
27780
|
+
*/
|
|
27781
|
+
buildType: string;
|
|
27782
|
+
|
|
27783
|
+
/**
|
|
27784
|
+
* NixModule resolutionPath.
|
|
27785
|
+
*/
|
|
27786
|
+
resolutionPath: string[];
|
|
27787
|
+
|
|
27788
|
+
/**
|
|
27789
|
+
* NixModule registryId.
|
|
27790
|
+
*/
|
|
27791
|
+
registryId: string;
|
|
27792
|
+
|
|
27793
|
+
/**
|
|
27794
|
+
* NixModule originalRegistryId.
|
|
27795
|
+
*/
|
|
27796
|
+
originalRegistryId: string;
|
|
27797
|
+
|
|
27722
27798
|
/**
|
|
27723
27799
|
* Creates a new NixModule instance using the specified properties.
|
|
27724
27800
|
* @param [properties] Properties to set
|
|
@@ -28044,6 +28120,597 @@ declare class replit$goval$api$NixModulesBuildRequest {
|
|
|
28044
28120
|
|};
|
|
28045
28121
|
}
|
|
28046
28122
|
|
|
28123
|
+
/**
|
|
28124
|
+
* Properties of a NixModulesGetRegistryRequest.
|
|
28125
|
+
*/
|
|
28126
|
+
declare type replit$goval$api$INixModulesGetRegistryRequest = {||};
|
|
28127
|
+
|
|
28128
|
+
/**
|
|
28129
|
+
* Represents a NixModulesGetRegistryRequest.
|
|
28130
|
+
*/
|
|
28131
|
+
declare class replit$goval$api$NixModulesGetRegistryRequest {
|
|
28132
|
+
/**
|
|
28133
|
+
* Constructs a new NixModulesGetRegistryRequest.
|
|
28134
|
+
* @param [properties] Properties to set
|
|
28135
|
+
*/
|
|
28136
|
+
constructor(
|
|
28137
|
+
properties?: replit$goval$api$INixModulesGetRegistryRequest
|
|
28138
|
+
): this;
|
|
28139
|
+
|
|
28140
|
+
/**
|
|
28141
|
+
* Creates a new NixModulesGetRegistryRequest instance using the specified properties.
|
|
28142
|
+
* @param [properties] Properties to set
|
|
28143
|
+
* @returns NixModulesGetRegistryRequest instance
|
|
28144
|
+
*/
|
|
28145
|
+
static create(
|
|
28146
|
+
properties?: replit$goval$api$INixModulesGetRegistryRequest
|
|
28147
|
+
): replit$goval$api$NixModulesGetRegistryRequest;
|
|
28148
|
+
|
|
28149
|
+
/**
|
|
28150
|
+
* [object Object],[object Object],[object Object]
|
|
28151
|
+
* @param message NixModulesGetRegistryRequest message or plain object to encode
|
|
28152
|
+
* @param [writer] Writer to encode to
|
|
28153
|
+
* @returns Writer
|
|
28154
|
+
*/
|
|
28155
|
+
static encode(
|
|
28156
|
+
message: replit$goval$api$NixModulesGetRegistryRequest,
|
|
28157
|
+
writer?: $protobuf.Writer
|
|
28158
|
+
): $protobuf.Writer;
|
|
28159
|
+
|
|
28160
|
+
/**
|
|
28161
|
+
* [object Object],[object Object],[object Object]
|
|
28162
|
+
* @param message NixModulesGetRegistryRequest message or plain object to encode
|
|
28163
|
+
* @param [writer] Writer to encode to
|
|
28164
|
+
* @returns Writer
|
|
28165
|
+
*/
|
|
28166
|
+
static encodeDelimited(
|
|
28167
|
+
message: replit$goval$api$NixModulesGetRegistryRequest,
|
|
28168
|
+
writer?: $protobuf.Writer
|
|
28169
|
+
): $protobuf.Writer;
|
|
28170
|
+
|
|
28171
|
+
/**
|
|
28172
|
+
* Decodes a NixModulesGetRegistryRequest message from the specified reader or buffer.
|
|
28173
|
+
* @param reader Reader or buffer to decode from
|
|
28174
|
+
* @param [length] Message length if known beforehand
|
|
28175
|
+
* @returns NixModulesGetRegistryRequest
|
|
28176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28178
|
+
*/
|
|
28179
|
+
static decode(
|
|
28180
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28181
|
+
length?: number
|
|
28182
|
+
): replit$goval$api$NixModulesGetRegistryRequest;
|
|
28183
|
+
|
|
28184
|
+
/**
|
|
28185
|
+
* Decodes a NixModulesGetRegistryRequest message from the specified reader or buffer, length delimited.
|
|
28186
|
+
* @param reader Reader or buffer to decode from
|
|
28187
|
+
* @returns NixModulesGetRegistryRequest
|
|
28188
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28189
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28190
|
+
*/
|
|
28191
|
+
static decodeDelimited(
|
|
28192
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28193
|
+
): replit$goval$api$NixModulesGetRegistryRequest;
|
|
28194
|
+
|
|
28195
|
+
/**
|
|
28196
|
+
* Verifies a NixModulesGetRegistryRequest message.
|
|
28197
|
+
* @param message Plain object to verify
|
|
28198
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28199
|
+
*/
|
|
28200
|
+
static verify(message: {|
|
|
28201
|
+
[k: string]: any,
|
|
28202
|
+
|}): string | null;
|
|
28203
|
+
|
|
28204
|
+
/**
|
|
28205
|
+
* Creates a NixModulesGetRegistryRequest message from a plain object. Also converts values to their respective internal types.
|
|
28206
|
+
* @param object Plain object
|
|
28207
|
+
* @returns NixModulesGetRegistryRequest
|
|
28208
|
+
*/
|
|
28209
|
+
static fromObject(object: {|
|
|
28210
|
+
[k: string]: any,
|
|
28211
|
+
|}): replit$goval$api$NixModulesGetRegistryRequest;
|
|
28212
|
+
|
|
28213
|
+
/**
|
|
28214
|
+
* Creates a plain object from a NixModulesGetRegistryRequest message. Also converts values to other types if specified.
|
|
28215
|
+
* @param message NixModulesGetRegistryRequest
|
|
28216
|
+
* @param [options] Conversion options
|
|
28217
|
+
* @returns Plain object
|
|
28218
|
+
*/
|
|
28219
|
+
static toObject(
|
|
28220
|
+
message: replit$goval$api$NixModulesGetRegistryRequest,
|
|
28221
|
+
options?: $protobuf.IConversionOptions
|
|
28222
|
+
): {|
|
|
28223
|
+
[k: string]: any,
|
|
28224
|
+
|};
|
|
28225
|
+
|
|
28226
|
+
/**
|
|
28227
|
+
* Converts this NixModulesGetRegistryRequest to JSON.
|
|
28228
|
+
* @returns JSON object
|
|
28229
|
+
*/
|
|
28230
|
+
toJSON(): {|
|
|
28231
|
+
[k: string]: any,
|
|
28232
|
+
|};
|
|
28233
|
+
}
|
|
28234
|
+
|
|
28235
|
+
/**
|
|
28236
|
+
* Properties of a NixModulesGetRegistryResponse.
|
|
28237
|
+
*/
|
|
28238
|
+
declare type replit$goval$api$INixModulesGetRegistryResponse = {|
|
|
28239
|
+
/**
|
|
28240
|
+
* NixModulesGetRegistryResponse modules
|
|
28241
|
+
*/
|
|
28242
|
+
modules?:
|
|
28243
|
+
| (
|
|
28244
|
+
| replit$goval$api$NixModulesRegistryEntry
|
|
28245
|
+
| replit$goval$api$INixModulesRegistryEntry
|
|
28246
|
+
)[]
|
|
28247
|
+
| null,
|
|
28248
|
+
|
|
28249
|
+
/**
|
|
28250
|
+
* NixModulesGetRegistryResponse autoUpgrade
|
|
28251
|
+
*/
|
|
28252
|
+
autoUpgrade?: {|
|
|
28253
|
+
[k: string]:
|
|
28254
|
+
| replit$goval$api$NixModulesUpgradeMapEntry
|
|
28255
|
+
| replit$goval$api$INixModulesUpgradeMapEntry,
|
|
28256
|
+
|} | null,
|
|
28257
|
+
|
|
28258
|
+
/**
|
|
28259
|
+
* NixModulesGetRegistryResponse recommendUpgrade
|
|
28260
|
+
*/
|
|
28261
|
+
recommendUpgrade?: {|
|
|
28262
|
+
[k: string]:
|
|
28263
|
+
| replit$goval$api$NixModulesUpgradeMapEntry
|
|
28264
|
+
| replit$goval$api$INixModulesUpgradeMapEntry,
|
|
28265
|
+
|} | null,
|
|
28266
|
+
|};
|
|
28267
|
+
|
|
28268
|
+
/**
|
|
28269
|
+
* Represents a NixModulesGetRegistryResponse.
|
|
28270
|
+
*/
|
|
28271
|
+
declare class replit$goval$api$NixModulesGetRegistryResponse {
|
|
28272
|
+
/**
|
|
28273
|
+
* Constructs a new NixModulesGetRegistryResponse.
|
|
28274
|
+
* @param [properties] Properties to set
|
|
28275
|
+
*/
|
|
28276
|
+
constructor(
|
|
28277
|
+
properties?: replit$goval$api$INixModulesGetRegistryResponse
|
|
28278
|
+
): this;
|
|
28279
|
+
|
|
28280
|
+
/**
|
|
28281
|
+
* NixModulesGetRegistryResponse modules.
|
|
28282
|
+
*/
|
|
28283
|
+
modules: replit$goval$api$NixModulesRegistryEntry[];
|
|
28284
|
+
|
|
28285
|
+
/**
|
|
28286
|
+
* NixModulesGetRegistryResponse autoUpgrade.
|
|
28287
|
+
*/
|
|
28288
|
+
autoUpgrade: {|
|
|
28289
|
+
[k: string]: replit$goval$api$NixModulesUpgradeMapEntry,
|
|
28290
|
+
|};
|
|
28291
|
+
|
|
28292
|
+
/**
|
|
28293
|
+
* NixModulesGetRegistryResponse recommendUpgrade.
|
|
28294
|
+
*/
|
|
28295
|
+
recommendUpgrade: {|
|
|
28296
|
+
[k: string]: replit$goval$api$NixModulesUpgradeMapEntry,
|
|
28297
|
+
|};
|
|
28298
|
+
|
|
28299
|
+
/**
|
|
28300
|
+
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
28301
|
+
* @param [properties] Properties to set
|
|
28302
|
+
* @returns NixModulesGetRegistryResponse instance
|
|
28303
|
+
*/
|
|
28304
|
+
static create(
|
|
28305
|
+
properties?: replit$goval$api$INixModulesGetRegistryResponse
|
|
28306
|
+
): replit$goval$api$NixModulesGetRegistryResponse;
|
|
28307
|
+
|
|
28308
|
+
/**
|
|
28309
|
+
* [object Object],[object Object],[object Object]
|
|
28310
|
+
* @param message NixModulesGetRegistryResponse message or plain object to encode
|
|
28311
|
+
* @param [writer] Writer to encode to
|
|
28312
|
+
* @returns Writer
|
|
28313
|
+
*/
|
|
28314
|
+
static encode(
|
|
28315
|
+
message: replit$goval$api$NixModulesGetRegistryResponse,
|
|
28316
|
+
writer?: $protobuf.Writer
|
|
28317
|
+
): $protobuf.Writer;
|
|
28318
|
+
|
|
28319
|
+
/**
|
|
28320
|
+
* [object Object],[object Object],[object Object]
|
|
28321
|
+
* @param message NixModulesGetRegistryResponse message or plain object to encode
|
|
28322
|
+
* @param [writer] Writer to encode to
|
|
28323
|
+
* @returns Writer
|
|
28324
|
+
*/
|
|
28325
|
+
static encodeDelimited(
|
|
28326
|
+
message: replit$goval$api$NixModulesGetRegistryResponse,
|
|
28327
|
+
writer?: $protobuf.Writer
|
|
28328
|
+
): $protobuf.Writer;
|
|
28329
|
+
|
|
28330
|
+
/**
|
|
28331
|
+
* Decodes a NixModulesGetRegistryResponse message from the specified reader or buffer.
|
|
28332
|
+
* @param reader Reader or buffer to decode from
|
|
28333
|
+
* @param [length] Message length if known beforehand
|
|
28334
|
+
* @returns NixModulesGetRegistryResponse
|
|
28335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28337
|
+
*/
|
|
28338
|
+
static decode(
|
|
28339
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28340
|
+
length?: number
|
|
28341
|
+
): replit$goval$api$NixModulesGetRegistryResponse;
|
|
28342
|
+
|
|
28343
|
+
/**
|
|
28344
|
+
* Decodes a NixModulesGetRegistryResponse message from the specified reader or buffer, length delimited.
|
|
28345
|
+
* @param reader Reader or buffer to decode from
|
|
28346
|
+
* @returns NixModulesGetRegistryResponse
|
|
28347
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28348
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28349
|
+
*/
|
|
28350
|
+
static decodeDelimited(
|
|
28351
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28352
|
+
): replit$goval$api$NixModulesGetRegistryResponse;
|
|
28353
|
+
|
|
28354
|
+
/**
|
|
28355
|
+
* Verifies a NixModulesGetRegistryResponse message.
|
|
28356
|
+
* @param message Plain object to verify
|
|
28357
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28358
|
+
*/
|
|
28359
|
+
static verify(message: {|
|
|
28360
|
+
[k: string]: any,
|
|
28361
|
+
|}): string | null;
|
|
28362
|
+
|
|
28363
|
+
/**
|
|
28364
|
+
* Creates a NixModulesGetRegistryResponse message from a plain object. Also converts values to their respective internal types.
|
|
28365
|
+
* @param object Plain object
|
|
28366
|
+
* @returns NixModulesGetRegistryResponse
|
|
28367
|
+
*/
|
|
28368
|
+
static fromObject(object: {|
|
|
28369
|
+
[k: string]: any,
|
|
28370
|
+
|}): replit$goval$api$NixModulesGetRegistryResponse;
|
|
28371
|
+
|
|
28372
|
+
/**
|
|
28373
|
+
* Creates a plain object from a NixModulesGetRegistryResponse message. Also converts values to other types if specified.
|
|
28374
|
+
* @param message NixModulesGetRegistryResponse
|
|
28375
|
+
* @param [options] Conversion options
|
|
28376
|
+
* @returns Plain object
|
|
28377
|
+
*/
|
|
28378
|
+
static toObject(
|
|
28379
|
+
message: replit$goval$api$NixModulesGetRegistryResponse,
|
|
28380
|
+
options?: $protobuf.IConversionOptions
|
|
28381
|
+
): {|
|
|
28382
|
+
[k: string]: any,
|
|
28383
|
+
|};
|
|
28384
|
+
|
|
28385
|
+
/**
|
|
28386
|
+
* Converts this NixModulesGetRegistryResponse to JSON.
|
|
28387
|
+
* @returns JSON object
|
|
28388
|
+
*/
|
|
28389
|
+
toJSON(): {|
|
|
28390
|
+
[k: string]: any,
|
|
28391
|
+
|};
|
|
28392
|
+
}
|
|
28393
|
+
|
|
28394
|
+
/**
|
|
28395
|
+
* Properties of a NixModulesRegistryEntry.
|
|
28396
|
+
*/
|
|
28397
|
+
declare type replit$goval$api$INixModulesRegistryEntry = {|
|
|
28398
|
+
/**
|
|
28399
|
+
* NixModulesRegistryEntry id
|
|
28400
|
+
*/
|
|
28401
|
+
id?: string | null,
|
|
28402
|
+
|
|
28403
|
+
/**
|
|
28404
|
+
* NixModulesRegistryEntry name
|
|
28405
|
+
*/
|
|
28406
|
+
name?: string | null,
|
|
28407
|
+
|
|
28408
|
+
/**
|
|
28409
|
+
* NixModulesRegistryEntry description
|
|
28410
|
+
*/
|
|
28411
|
+
description?: string | null,
|
|
28412
|
+
|
|
28413
|
+
/**
|
|
28414
|
+
* NixModulesRegistryEntry version
|
|
28415
|
+
*/
|
|
28416
|
+
version?: number | null,
|
|
28417
|
+
|
|
28418
|
+
/**
|
|
28419
|
+
* NixModulesRegistryEntry tag
|
|
28420
|
+
*/
|
|
28421
|
+
tag?: string | null,
|
|
28422
|
+
|
|
28423
|
+
/**
|
|
28424
|
+
* NixModulesRegistryEntry tags
|
|
28425
|
+
*/
|
|
28426
|
+
tags?: string[] | null,
|
|
28427
|
+
|
|
28428
|
+
/**
|
|
28429
|
+
* NixModulesRegistryEntry commit
|
|
28430
|
+
*/
|
|
28431
|
+
commit?: string | null,
|
|
28432
|
+
|
|
28433
|
+
/**
|
|
28434
|
+
* NixModulesRegistryEntry path
|
|
28435
|
+
*/
|
|
28436
|
+
path?: string | null,
|
|
28437
|
+
|};
|
|
28438
|
+
|
|
28439
|
+
/**
|
|
28440
|
+
* Represents a NixModulesRegistryEntry.
|
|
28441
|
+
*/
|
|
28442
|
+
declare class replit$goval$api$NixModulesRegistryEntry {
|
|
28443
|
+
/**
|
|
28444
|
+
* Constructs a new NixModulesRegistryEntry.
|
|
28445
|
+
* @param [properties] Properties to set
|
|
28446
|
+
*/
|
|
28447
|
+
constructor(properties?: replit$goval$api$INixModulesRegistryEntry): this;
|
|
28448
|
+
|
|
28449
|
+
/**
|
|
28450
|
+
* NixModulesRegistryEntry id.
|
|
28451
|
+
*/
|
|
28452
|
+
id: string;
|
|
28453
|
+
|
|
28454
|
+
/**
|
|
28455
|
+
* NixModulesRegistryEntry name.
|
|
28456
|
+
*/
|
|
28457
|
+
name: string;
|
|
28458
|
+
|
|
28459
|
+
/**
|
|
28460
|
+
* NixModulesRegistryEntry description.
|
|
28461
|
+
*/
|
|
28462
|
+
description: string;
|
|
28463
|
+
|
|
28464
|
+
/**
|
|
28465
|
+
* NixModulesRegistryEntry version.
|
|
28466
|
+
*/
|
|
28467
|
+
version: number;
|
|
28468
|
+
|
|
28469
|
+
/**
|
|
28470
|
+
* NixModulesRegistryEntry tag.
|
|
28471
|
+
*/
|
|
28472
|
+
tag: string;
|
|
28473
|
+
|
|
28474
|
+
/**
|
|
28475
|
+
* NixModulesRegistryEntry tags.
|
|
28476
|
+
*/
|
|
28477
|
+
tags: string[];
|
|
28478
|
+
|
|
28479
|
+
/**
|
|
28480
|
+
* NixModulesRegistryEntry commit.
|
|
28481
|
+
*/
|
|
28482
|
+
commit: string;
|
|
28483
|
+
|
|
28484
|
+
/**
|
|
28485
|
+
* NixModulesRegistryEntry path.
|
|
28486
|
+
*/
|
|
28487
|
+
path: string;
|
|
28488
|
+
|
|
28489
|
+
/**
|
|
28490
|
+
* Creates a new NixModulesRegistryEntry instance using the specified properties.
|
|
28491
|
+
* @param [properties] Properties to set
|
|
28492
|
+
* @returns NixModulesRegistryEntry instance
|
|
28493
|
+
*/
|
|
28494
|
+
static create(
|
|
28495
|
+
properties?: replit$goval$api$INixModulesRegistryEntry
|
|
28496
|
+
): replit$goval$api$NixModulesRegistryEntry;
|
|
28497
|
+
|
|
28498
|
+
/**
|
|
28499
|
+
* [object Object],[object Object],[object Object]
|
|
28500
|
+
* @param message NixModulesRegistryEntry message or plain object to encode
|
|
28501
|
+
* @param [writer] Writer to encode to
|
|
28502
|
+
* @returns Writer
|
|
28503
|
+
*/
|
|
28504
|
+
static encode(
|
|
28505
|
+
message: replit$goval$api$NixModulesRegistryEntry,
|
|
28506
|
+
writer?: $protobuf.Writer
|
|
28507
|
+
): $protobuf.Writer;
|
|
28508
|
+
|
|
28509
|
+
/**
|
|
28510
|
+
* [object Object],[object Object],[object Object]
|
|
28511
|
+
* @param message NixModulesRegistryEntry message or plain object to encode
|
|
28512
|
+
* @param [writer] Writer to encode to
|
|
28513
|
+
* @returns Writer
|
|
28514
|
+
*/
|
|
28515
|
+
static encodeDelimited(
|
|
28516
|
+
message: replit$goval$api$NixModulesRegistryEntry,
|
|
28517
|
+
writer?: $protobuf.Writer
|
|
28518
|
+
): $protobuf.Writer;
|
|
28519
|
+
|
|
28520
|
+
/**
|
|
28521
|
+
* Decodes a NixModulesRegistryEntry message from the specified reader or buffer.
|
|
28522
|
+
* @param reader Reader or buffer to decode from
|
|
28523
|
+
* @param [length] Message length if known beforehand
|
|
28524
|
+
* @returns NixModulesRegistryEntry
|
|
28525
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28526
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28527
|
+
*/
|
|
28528
|
+
static decode(
|
|
28529
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28530
|
+
length?: number
|
|
28531
|
+
): replit$goval$api$NixModulesRegistryEntry;
|
|
28532
|
+
|
|
28533
|
+
/**
|
|
28534
|
+
* Decodes a NixModulesRegistryEntry message from the specified reader or buffer, length delimited.
|
|
28535
|
+
* @param reader Reader or buffer to decode from
|
|
28536
|
+
* @returns NixModulesRegistryEntry
|
|
28537
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28538
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28539
|
+
*/
|
|
28540
|
+
static decodeDelimited(
|
|
28541
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28542
|
+
): replit$goval$api$NixModulesRegistryEntry;
|
|
28543
|
+
|
|
28544
|
+
/**
|
|
28545
|
+
* Verifies a NixModulesRegistryEntry message.
|
|
28546
|
+
* @param message Plain object to verify
|
|
28547
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28548
|
+
*/
|
|
28549
|
+
static verify(message: {|
|
|
28550
|
+
[k: string]: any,
|
|
28551
|
+
|}): string | null;
|
|
28552
|
+
|
|
28553
|
+
/**
|
|
28554
|
+
* Creates a NixModulesRegistryEntry message from a plain object. Also converts values to their respective internal types.
|
|
28555
|
+
* @param object Plain object
|
|
28556
|
+
* @returns NixModulesRegistryEntry
|
|
28557
|
+
*/
|
|
28558
|
+
static fromObject(object: {|
|
|
28559
|
+
[k: string]: any,
|
|
28560
|
+
|}): replit$goval$api$NixModulesRegistryEntry;
|
|
28561
|
+
|
|
28562
|
+
/**
|
|
28563
|
+
* Creates a plain object from a NixModulesRegistryEntry message. Also converts values to other types if specified.
|
|
28564
|
+
* @param message NixModulesRegistryEntry
|
|
28565
|
+
* @param [options] Conversion options
|
|
28566
|
+
* @returns Plain object
|
|
28567
|
+
*/
|
|
28568
|
+
static toObject(
|
|
28569
|
+
message: replit$goval$api$NixModulesRegistryEntry,
|
|
28570
|
+
options?: $protobuf.IConversionOptions
|
|
28571
|
+
): {|
|
|
28572
|
+
[k: string]: any,
|
|
28573
|
+
|};
|
|
28574
|
+
|
|
28575
|
+
/**
|
|
28576
|
+
* Converts this NixModulesRegistryEntry to JSON.
|
|
28577
|
+
* @returns JSON object
|
|
28578
|
+
*/
|
|
28579
|
+
toJSON(): {|
|
|
28580
|
+
[k: string]: any,
|
|
28581
|
+
|};
|
|
28582
|
+
}
|
|
28583
|
+
|
|
28584
|
+
/**
|
|
28585
|
+
* Properties of a NixModulesUpgradeMapEntry.
|
|
28586
|
+
*/
|
|
28587
|
+
declare type replit$goval$api$INixModulesUpgradeMapEntry = {|
|
|
28588
|
+
/**
|
|
28589
|
+
* NixModulesUpgradeMapEntry to
|
|
28590
|
+
*/
|
|
28591
|
+
to?: string | null,
|
|
28592
|
+
|
|
28593
|
+
/**
|
|
28594
|
+
* NixModulesUpgradeMapEntry changelog
|
|
28595
|
+
*/
|
|
28596
|
+
changelog?: string | null,
|
|
28597
|
+
|};
|
|
28598
|
+
|
|
28599
|
+
/**
|
|
28600
|
+
* Represents a NixModulesUpgradeMapEntry.
|
|
28601
|
+
*/
|
|
28602
|
+
declare class replit$goval$api$NixModulesUpgradeMapEntry {
|
|
28603
|
+
/**
|
|
28604
|
+
* Constructs a new NixModulesUpgradeMapEntry.
|
|
28605
|
+
* @param [properties] Properties to set
|
|
28606
|
+
*/
|
|
28607
|
+
constructor(properties?: replit$goval$api$INixModulesUpgradeMapEntry): this;
|
|
28608
|
+
|
|
28609
|
+
/**
|
|
28610
|
+
* NixModulesUpgradeMapEntry to.
|
|
28611
|
+
*/
|
|
28612
|
+
to: string;
|
|
28613
|
+
|
|
28614
|
+
/**
|
|
28615
|
+
* NixModulesUpgradeMapEntry changelog.
|
|
28616
|
+
*/
|
|
28617
|
+
changelog: string;
|
|
28618
|
+
|
|
28619
|
+
/**
|
|
28620
|
+
* Creates a new NixModulesUpgradeMapEntry instance using the specified properties.
|
|
28621
|
+
* @param [properties] Properties to set
|
|
28622
|
+
* @returns NixModulesUpgradeMapEntry instance
|
|
28623
|
+
*/
|
|
28624
|
+
static create(
|
|
28625
|
+
properties?: replit$goval$api$INixModulesUpgradeMapEntry
|
|
28626
|
+
): replit$goval$api$NixModulesUpgradeMapEntry;
|
|
28627
|
+
|
|
28628
|
+
/**
|
|
28629
|
+
* [object Object],[object Object],[object Object]
|
|
28630
|
+
* @param message NixModulesUpgradeMapEntry message or plain object to encode
|
|
28631
|
+
* @param [writer] Writer to encode to
|
|
28632
|
+
* @returns Writer
|
|
28633
|
+
*/
|
|
28634
|
+
static encode(
|
|
28635
|
+
message: replit$goval$api$NixModulesUpgradeMapEntry,
|
|
28636
|
+
writer?: $protobuf.Writer
|
|
28637
|
+
): $protobuf.Writer;
|
|
28638
|
+
|
|
28639
|
+
/**
|
|
28640
|
+
* [object Object],[object Object],[object Object]
|
|
28641
|
+
* @param message NixModulesUpgradeMapEntry message or plain object to encode
|
|
28642
|
+
* @param [writer] Writer to encode to
|
|
28643
|
+
* @returns Writer
|
|
28644
|
+
*/
|
|
28645
|
+
static encodeDelimited(
|
|
28646
|
+
message: replit$goval$api$NixModulesUpgradeMapEntry,
|
|
28647
|
+
writer?: $protobuf.Writer
|
|
28648
|
+
): $protobuf.Writer;
|
|
28649
|
+
|
|
28650
|
+
/**
|
|
28651
|
+
* Decodes a NixModulesUpgradeMapEntry message from the specified reader or buffer.
|
|
28652
|
+
* @param reader Reader or buffer to decode from
|
|
28653
|
+
* @param [length] Message length if known beforehand
|
|
28654
|
+
* @returns NixModulesUpgradeMapEntry
|
|
28655
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28656
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28657
|
+
*/
|
|
28658
|
+
static decode(
|
|
28659
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28660
|
+
length?: number
|
|
28661
|
+
): replit$goval$api$NixModulesUpgradeMapEntry;
|
|
28662
|
+
|
|
28663
|
+
/**
|
|
28664
|
+
* Decodes a NixModulesUpgradeMapEntry message from the specified reader or buffer, length delimited.
|
|
28665
|
+
* @param reader Reader or buffer to decode from
|
|
28666
|
+
* @returns NixModulesUpgradeMapEntry
|
|
28667
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28668
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28669
|
+
*/
|
|
28670
|
+
static decodeDelimited(
|
|
28671
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28672
|
+
): replit$goval$api$NixModulesUpgradeMapEntry;
|
|
28673
|
+
|
|
28674
|
+
/**
|
|
28675
|
+
* Verifies a NixModulesUpgradeMapEntry message.
|
|
28676
|
+
* @param message Plain object to verify
|
|
28677
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28678
|
+
*/
|
|
28679
|
+
static verify(message: {|
|
|
28680
|
+
[k: string]: any,
|
|
28681
|
+
|}): string | null;
|
|
28682
|
+
|
|
28683
|
+
/**
|
|
28684
|
+
* Creates a NixModulesUpgradeMapEntry message from a plain object. Also converts values to their respective internal types.
|
|
28685
|
+
* @param object Plain object
|
|
28686
|
+
* @returns NixModulesUpgradeMapEntry
|
|
28687
|
+
*/
|
|
28688
|
+
static fromObject(object: {|
|
|
28689
|
+
[k: string]: any,
|
|
28690
|
+
|}): replit$goval$api$NixModulesUpgradeMapEntry;
|
|
28691
|
+
|
|
28692
|
+
/**
|
|
28693
|
+
* Creates a plain object from a NixModulesUpgradeMapEntry message. Also converts values to other types if specified.
|
|
28694
|
+
* @param message NixModulesUpgradeMapEntry
|
|
28695
|
+
* @param [options] Conversion options
|
|
28696
|
+
* @returns Plain object
|
|
28697
|
+
*/
|
|
28698
|
+
static toObject(
|
|
28699
|
+
message: replit$goval$api$NixModulesUpgradeMapEntry,
|
|
28700
|
+
options?: $protobuf.IConversionOptions
|
|
28701
|
+
): {|
|
|
28702
|
+
[k: string]: any,
|
|
28703
|
+
|};
|
|
28704
|
+
|
|
28705
|
+
/**
|
|
28706
|
+
* Converts this NixModulesUpgradeMapEntry to JSON.
|
|
28707
|
+
* @returns JSON object
|
|
28708
|
+
*/
|
|
28709
|
+
toJSON(): {|
|
|
28710
|
+
[k: string]: any,
|
|
28711
|
+
|};
|
|
28712
|
+
}
|
|
28713
|
+
|
|
28047
28714
|
/**
|
|
28048
28715
|
* Properties of a ToolchainGetRequest.
|
|
28049
28716
|
*/
|
|
@@ -30970,6 +31637,14 @@ declare type replit$goval$api$IReplTransfer = {|
|
|
|
30970
31637
|
* ReplTransfer flags
|
|
30971
31638
|
*/
|
|
30972
31639
|
flags?: string[] | null,
|
|
31640
|
+
|
|
31641
|
+
/**
|
|
31642
|
+
* ReplTransfer metadata
|
|
31643
|
+
*/
|
|
31644
|
+
metadata?:
|
|
31645
|
+
| replit$goval$api$repl$Metadata
|
|
31646
|
+
| replit$goval$api$repl$IMetadata
|
|
31647
|
+
| null,
|
|
30973
31648
|
|};
|
|
30974
31649
|
|
|
30975
31650
|
/**
|
|
@@ -31012,6 +31687,11 @@ declare class replit$goval$api$ReplTransfer {
|
|
|
31012
31687
|
*/
|
|
31013
31688
|
flags: string[];
|
|
31014
31689
|
|
|
31690
|
+
/**
|
|
31691
|
+
* ReplTransfer metadata.
|
|
31692
|
+
*/
|
|
31693
|
+
metadata?: replit$goval$api$repl$Metadata | null;
|
|
31694
|
+
|
|
31015
31695
|
/**
|
|
31016
31696
|
* Creates a new ReplTransfer instance using the specified properties.
|
|
31017
31697
|
* @param [properties] Properties to set
|
|
@@ -34573,6 +35253,11 @@ declare type replit$goval$api$repl$IBuckets = {|
|
|
|
34573
35253
|
* Buckets metadata
|
|
34574
35254
|
*/
|
|
34575
35255
|
metadata?: string | null,
|
|
35256
|
+
|
|
35257
|
+
/**
|
|
35258
|
+
* Buckets diskBlocks
|
|
35259
|
+
*/
|
|
35260
|
+
diskBlocks?: string | null,
|
|
34576
35261
|
|};
|
|
34577
35262
|
|
|
34578
35263
|
/**
|
|
@@ -34595,6 +35280,11 @@ declare class replit$goval$api$repl$Buckets {
|
|
|
34595
35280
|
*/
|
|
34596
35281
|
metadata: string;
|
|
34597
35282
|
|
|
35283
|
+
/**
|
|
35284
|
+
* Buckets diskBlocks.
|
|
35285
|
+
*/
|
|
35286
|
+
diskBlocks: string;
|
|
35287
|
+
|
|
34598
35288
|
/**
|
|
34599
35289
|
* Creates a new Buckets instance using the specified properties.
|
|
34600
35290
|
* @param [properties] Properties to set
|