@replit/protocol 0.2.60 → 0.2.61
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 +1 -1243
- package/main/index.js +2 -2944
- package/main/index.js.flow +1 -1744
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -14,19 +14,6 @@ declare var npm$namespace$api: {|
|
|
|
14
14
|
TokenVersion: typeof api$TokenVersion,
|
|
15
15
|
FlagClaim: typeof api$FlagClaim,
|
|
16
16
|
ICommand: Class<api$ICommand>,
|
|
17
|
-
INixPackageAddRequest: Class<api$INixPackageAddRequest>,
|
|
18
|
-
INixPackageAddResponse: Class<api$INixPackageAddResponse>,
|
|
19
|
-
INixPackageRemoveRequest: Class<api$INixPackageRemoveRequest>,
|
|
20
|
-
INixPackageRemoveResponse: Class<api$INixPackageRemoveResponse>,
|
|
21
|
-
INixPackageListRequest: Class<api$INixPackageListRequest>,
|
|
22
|
-
INixPackageListResponse: Class<api$INixPackageListResponse>,
|
|
23
|
-
INixPackage: Class<api$INixPackage>,
|
|
24
|
-
INixChannelsRequest: Class<api$INixChannelsRequest>,
|
|
25
|
-
INixChannelsResponse: Class<api$INixChannelsResponse>,
|
|
26
|
-
INixChannelLatestStableRequest: Class<api$INixChannelLatestStableRequest>,
|
|
27
|
-
INixChannelLatestStableResponse: Class<api$INixChannelLatestStableResponse>,
|
|
28
|
-
INixPackageSearchRequest: Class<api$INixPackageSearchRequest>,
|
|
29
|
-
INixPackageSearchResponse: Class<api$INixPackageSearchResponse>,
|
|
30
17
|
IStartLSP: Class<api$IStartLSP>,
|
|
31
18
|
IAudio: Class<api$IAudio>,
|
|
32
19
|
IAudio2: Class<api$IAudio2>,
|
|
@@ -197,19 +184,6 @@ declare var npm$namespace$api: {|
|
|
|
197
184
|
IGovalToken: Class<api$IGovalToken>,
|
|
198
185
|
IGovalReplIdentity: Class<api$IGovalReplIdentity>,
|
|
199
186
|
Command: typeof api$Command,
|
|
200
|
-
NixPackageAddRequest: typeof api$NixPackageAddRequest,
|
|
201
|
-
NixPackageAddResponse: typeof api$NixPackageAddResponse,
|
|
202
|
-
NixPackageRemoveRequest: typeof api$NixPackageRemoveRequest,
|
|
203
|
-
NixPackageRemoveResponse: typeof api$NixPackageRemoveResponse,
|
|
204
|
-
NixPackageListRequest: typeof api$NixPackageListRequest,
|
|
205
|
-
NixPackageListResponse: typeof api$NixPackageListResponse,
|
|
206
|
-
NixPackage: typeof api$NixPackage,
|
|
207
|
-
NixChannelsRequest: typeof api$NixChannelsRequest,
|
|
208
|
-
NixChannelsResponse: typeof api$NixChannelsResponse,
|
|
209
|
-
NixChannelLatestStableRequest: typeof api$NixChannelLatestStableRequest,
|
|
210
|
-
NixChannelLatestStableResponse: typeof api$NixChannelLatestStableResponse,
|
|
211
|
-
NixPackageSearchRequest: typeof api$NixPackageSearchRequest,
|
|
212
|
-
NixPackageSearchResponse: typeof api$NixPackageSearchResponse,
|
|
213
187
|
StartLSP: typeof api$StartLSP,
|
|
214
188
|
Audio: typeof api$Audio,
|
|
215
189
|
Audio2: typeof api$Audio2,
|
|
@@ -1188,99 +1162,6 @@ declare type api$ICommand = {|
|
|
|
1188
1162
|
*/
|
|
1189
1163
|
firewallDenied?: api$FirewallDenied | api$IFirewallDenied | null,
|
|
1190
1164
|
|
|
1191
|
-
/**
|
|
1192
|
-
* Command nixPackageAddRequest
|
|
1193
|
-
*/
|
|
1194
|
-
nixPackageAddRequest?:
|
|
1195
|
-
| api$NixPackageAddRequest
|
|
1196
|
-
| api$INixPackageAddRequest
|
|
1197
|
-
| null,
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Command nixPackageAddResponse
|
|
1201
|
-
*/
|
|
1202
|
-
nixPackageAddResponse?:
|
|
1203
|
-
| api$NixPackageAddResponse
|
|
1204
|
-
| api$INixPackageAddResponse
|
|
1205
|
-
| null,
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Command nixPackageRemoveRequest
|
|
1209
|
-
*/
|
|
1210
|
-
nixPackageRemoveRequest?:
|
|
1211
|
-
| api$NixPackageRemoveRequest
|
|
1212
|
-
| api$INixPackageRemoveRequest
|
|
1213
|
-
| null,
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* Command nixPackageRemoveResponse
|
|
1217
|
-
*/
|
|
1218
|
-
nixPackageRemoveResponse?:
|
|
1219
|
-
| api$NixPackageRemoveResponse
|
|
1220
|
-
| api$INixPackageRemoveResponse
|
|
1221
|
-
| null,
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* Command nixPackageListRequest
|
|
1225
|
-
*/
|
|
1226
|
-
nixPackageListRequest?:
|
|
1227
|
-
| api$NixPackageListRequest
|
|
1228
|
-
| api$INixPackageListRequest
|
|
1229
|
-
| null,
|
|
1230
|
-
|
|
1231
|
-
/**
|
|
1232
|
-
* Command nixPackageListResponse
|
|
1233
|
-
*/
|
|
1234
|
-
nixPackageListResponse?:
|
|
1235
|
-
| api$NixPackageListResponse
|
|
1236
|
-
| api$INixPackageListResponse
|
|
1237
|
-
| null,
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
* Command nixChannelsRequest
|
|
1241
|
-
*/
|
|
1242
|
-
nixChannelsRequest?: api$NixChannelsRequest | api$INixChannelsRequest | null,
|
|
1243
|
-
|
|
1244
|
-
/**
|
|
1245
|
-
* Command nixChannelsResponse
|
|
1246
|
-
*/
|
|
1247
|
-
nixChannelsResponse?:
|
|
1248
|
-
| api$NixChannelsResponse
|
|
1249
|
-
| api$INixChannelsResponse
|
|
1250
|
-
| null,
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* Command nixChannelLatestStableRequest
|
|
1254
|
-
*/
|
|
1255
|
-
nixChannelLatestStableRequest?:
|
|
1256
|
-
| api$NixChannelLatestStableRequest
|
|
1257
|
-
| api$INixChannelLatestStableRequest
|
|
1258
|
-
| null,
|
|
1259
|
-
|
|
1260
|
-
/**
|
|
1261
|
-
* Command nixChannelLatestStableResponse
|
|
1262
|
-
*/
|
|
1263
|
-
nixChannelLatestStableResponse?:
|
|
1264
|
-
| api$NixChannelLatestStableResponse
|
|
1265
|
-
| api$INixChannelLatestStableResponse
|
|
1266
|
-
| null,
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* Command nixPackageSearchRequest
|
|
1270
|
-
*/
|
|
1271
|
-
nixPackageSearchRequest?:
|
|
1272
|
-
| api$NixPackageSearchRequest
|
|
1273
|
-
| api$INixPackageSearchRequest
|
|
1274
|
-
| null,
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Command nixPackageSearchResponse
|
|
1278
|
-
*/
|
|
1279
|
-
nixPackageSearchResponse?:
|
|
1280
|
-
| api$NixPackageSearchResponse
|
|
1281
|
-
| api$INixPackageSearchResponse
|
|
1282
|
-
| null,
|
|
1283
|
-
|
|
1284
1165
|
/**
|
|
1285
1166
|
* Command ref
|
|
1286
1167
|
*/
|
|
@@ -2059,66 +1940,6 @@ declare class api$Command {
|
|
|
2059
1940
|
*/
|
|
2060
1941
|
firewallDenied?: api$FirewallDenied | null;
|
|
2061
1942
|
|
|
2062
|
-
/**
|
|
2063
|
-
* Command nixPackageAddRequest.
|
|
2064
|
-
*/
|
|
2065
|
-
nixPackageAddRequest?: api$NixPackageAddRequest | null;
|
|
2066
|
-
|
|
2067
|
-
/**
|
|
2068
|
-
* Command nixPackageAddResponse.
|
|
2069
|
-
*/
|
|
2070
|
-
nixPackageAddResponse?: api$NixPackageAddResponse | null;
|
|
2071
|
-
|
|
2072
|
-
/**
|
|
2073
|
-
* Command nixPackageRemoveRequest.
|
|
2074
|
-
*/
|
|
2075
|
-
nixPackageRemoveRequest?: api$NixPackageRemoveRequest | null;
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* Command nixPackageRemoveResponse.
|
|
2079
|
-
*/
|
|
2080
|
-
nixPackageRemoveResponse?: api$NixPackageRemoveResponse | null;
|
|
2081
|
-
|
|
2082
|
-
/**
|
|
2083
|
-
* Command nixPackageListRequest.
|
|
2084
|
-
*/
|
|
2085
|
-
nixPackageListRequest?: api$NixPackageListRequest | null;
|
|
2086
|
-
|
|
2087
|
-
/**
|
|
2088
|
-
* Command nixPackageListResponse.
|
|
2089
|
-
*/
|
|
2090
|
-
nixPackageListResponse?: api$NixPackageListResponse | null;
|
|
2091
|
-
|
|
2092
|
-
/**
|
|
2093
|
-
* Command nixChannelsRequest.
|
|
2094
|
-
*/
|
|
2095
|
-
nixChannelsRequest?: api$NixChannelsRequest | null;
|
|
2096
|
-
|
|
2097
|
-
/**
|
|
2098
|
-
* Command nixChannelsResponse.
|
|
2099
|
-
*/
|
|
2100
|
-
nixChannelsResponse?: api$NixChannelsResponse | null;
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* Command nixChannelLatestStableRequest.
|
|
2104
|
-
*/
|
|
2105
|
-
nixChannelLatestStableRequest?: api$NixChannelLatestStableRequest | null;
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
* Command nixChannelLatestStableResponse.
|
|
2109
|
-
*/
|
|
2110
|
-
nixChannelLatestStableResponse?: api$NixChannelLatestStableResponse | null;
|
|
2111
|
-
|
|
2112
|
-
/**
|
|
2113
|
-
* Command nixPackageSearchRequest.
|
|
2114
|
-
*/
|
|
2115
|
-
nixPackageSearchRequest?: api$NixPackageSearchRequest | null;
|
|
2116
|
-
|
|
2117
|
-
/**
|
|
2118
|
-
* Command nixPackageSearchResponse.
|
|
2119
|
-
*/
|
|
2120
|
-
nixPackageSearchResponse?: api$NixPackageSearchResponse | null;
|
|
2121
|
-
|
|
2122
1943
|
/**
|
|
2123
1944
|
* Command ref.
|
|
2124
1945
|
*/
|
|
@@ -2283,19 +2104,7 @@ declare class api$Command {
|
|
|
2283
2104
|
| "dotReplitUpdateRequest"
|
|
2284
2105
|
| "dotReplitUpdateResponse"
|
|
2285
2106
|
| "startLSP"
|
|
2286
|
-
| "firewallDenied"
|
|
2287
|
-
| "nixPackageAddRequest"
|
|
2288
|
-
| "nixPackageAddResponse"
|
|
2289
|
-
| "nixPackageRemoveRequest"
|
|
2290
|
-
| "nixPackageRemoveResponse"
|
|
2291
|
-
| "nixPackageListRequest"
|
|
2292
|
-
| "nixPackageListResponse"
|
|
2293
|
-
| "nixChannelsRequest"
|
|
2294
|
-
| "nixChannelsResponse"
|
|
2295
|
-
| "nixChannelLatestStableRequest"
|
|
2296
|
-
| "nixChannelLatestStableResponse"
|
|
2297
|
-
| "nixPackageSearchRequest"
|
|
2298
|
-
| "nixPackageSearchResponse";
|
|
2107
|
+
| "firewallDenied";
|
|
2299
2108
|
|
|
2300
2109
|
/**
|
|
2301
2110
|
* Creates a new Command instance using the specified properties.
|
|
@@ -2388,1558 +2197,6 @@ declare class api$Command {
|
|
|
2388
2197
|
|};
|
|
2389
2198
|
}
|
|
2390
2199
|
|
|
2391
|
-
/**
|
|
2392
|
-
* Properties of a NixPackageAddRequest.
|
|
2393
|
-
*/
|
|
2394
|
-
declare type api$INixPackageAddRequest = {|
|
|
2395
|
-
/**
|
|
2396
|
-
* NixPackageAddRequest packages
|
|
2397
|
-
*/
|
|
2398
|
-
packages?: string[] | null,
|
|
2399
|
-
|};
|
|
2400
|
-
|
|
2401
|
-
/**
|
|
2402
|
-
* Represents a NixPackageAddRequest.
|
|
2403
|
-
*/
|
|
2404
|
-
declare class api$NixPackageAddRequest {
|
|
2405
|
-
/**
|
|
2406
|
-
* Constructs a new NixPackageAddRequest.
|
|
2407
|
-
* @param [properties] Properties to set
|
|
2408
|
-
*/
|
|
2409
|
-
constructor(properties?: api$INixPackageAddRequest): this;
|
|
2410
|
-
|
|
2411
|
-
/**
|
|
2412
|
-
* NixPackageAddRequest packages.
|
|
2413
|
-
*/
|
|
2414
|
-
packages: string[];
|
|
2415
|
-
|
|
2416
|
-
/**
|
|
2417
|
-
* Creates a new NixPackageAddRequest instance using the specified properties.
|
|
2418
|
-
* @param [properties] Properties to set
|
|
2419
|
-
* @returns NixPackageAddRequest instance
|
|
2420
|
-
*/
|
|
2421
|
-
static create(
|
|
2422
|
-
properties?: api$INixPackageAddRequest
|
|
2423
|
-
): api$NixPackageAddRequest;
|
|
2424
|
-
|
|
2425
|
-
/**
|
|
2426
|
-
* [object Object],[object Object],[object Object]
|
|
2427
|
-
* @param message NixPackageAddRequest message or plain object to encode
|
|
2428
|
-
* @param [writer] Writer to encode to
|
|
2429
|
-
* @returns Writer
|
|
2430
|
-
*/
|
|
2431
|
-
static encode(
|
|
2432
|
-
message: api$NixPackageAddRequest,
|
|
2433
|
-
writer?: $protobuf.Writer
|
|
2434
|
-
): $protobuf.Writer;
|
|
2435
|
-
|
|
2436
|
-
/**
|
|
2437
|
-
* [object Object],[object Object],[object Object]
|
|
2438
|
-
* @param message NixPackageAddRequest message or plain object to encode
|
|
2439
|
-
* @param [writer] Writer to encode to
|
|
2440
|
-
* @returns Writer
|
|
2441
|
-
*/
|
|
2442
|
-
static encodeDelimited(
|
|
2443
|
-
message: api$NixPackageAddRequest,
|
|
2444
|
-
writer?: $protobuf.Writer
|
|
2445
|
-
): $protobuf.Writer;
|
|
2446
|
-
|
|
2447
|
-
/**
|
|
2448
|
-
* Decodes a NixPackageAddRequest message from the specified reader or buffer.
|
|
2449
|
-
* @param reader Reader or buffer to decode from
|
|
2450
|
-
* @param [length] Message length if known beforehand
|
|
2451
|
-
* @returns NixPackageAddRequest
|
|
2452
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2453
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2454
|
-
*/
|
|
2455
|
-
static decode(
|
|
2456
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
2457
|
-
length?: number
|
|
2458
|
-
): api$NixPackageAddRequest;
|
|
2459
|
-
|
|
2460
|
-
/**
|
|
2461
|
-
* Decodes a NixPackageAddRequest message from the specified reader or buffer, length delimited.
|
|
2462
|
-
* @param reader Reader or buffer to decode from
|
|
2463
|
-
* @returns NixPackageAddRequest
|
|
2464
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2465
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2466
|
-
*/
|
|
2467
|
-
static decodeDelimited(
|
|
2468
|
-
reader: $protobuf.Reader | Uint8Array
|
|
2469
|
-
): api$NixPackageAddRequest;
|
|
2470
|
-
|
|
2471
|
-
/**
|
|
2472
|
-
* Verifies a NixPackageAddRequest message.
|
|
2473
|
-
* @param message Plain object to verify
|
|
2474
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2475
|
-
*/
|
|
2476
|
-
static verify(message: {|
|
|
2477
|
-
[k: string]: any,
|
|
2478
|
-
|}): string | null;
|
|
2479
|
-
|
|
2480
|
-
/**
|
|
2481
|
-
* Creates a NixPackageAddRequest message from a plain object. Also converts values to their respective internal types.
|
|
2482
|
-
* @param object Plain object
|
|
2483
|
-
* @returns NixPackageAddRequest
|
|
2484
|
-
*/
|
|
2485
|
-
static fromObject(object: {|
|
|
2486
|
-
[k: string]: any,
|
|
2487
|
-
|}): api$NixPackageAddRequest;
|
|
2488
|
-
|
|
2489
|
-
/**
|
|
2490
|
-
* Creates a plain object from a NixPackageAddRequest message. Also converts values to other types if specified.
|
|
2491
|
-
* @param message NixPackageAddRequest
|
|
2492
|
-
* @param [options] Conversion options
|
|
2493
|
-
* @returns Plain object
|
|
2494
|
-
*/
|
|
2495
|
-
static toObject(
|
|
2496
|
-
message: api$NixPackageAddRequest,
|
|
2497
|
-
options?: $protobuf.IConversionOptions
|
|
2498
|
-
): {|
|
|
2499
|
-
[k: string]: any,
|
|
2500
|
-
|};
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* Converts this NixPackageAddRequest to JSON.
|
|
2504
|
-
* @returns JSON object
|
|
2505
|
-
*/
|
|
2506
|
-
toJSON(): {|
|
|
2507
|
-
[k: string]: any,
|
|
2508
|
-
|};
|
|
2509
|
-
}
|
|
2510
|
-
|
|
2511
|
-
/**
|
|
2512
|
-
* Properties of a NixPackageAddResponse.
|
|
2513
|
-
*/
|
|
2514
|
-
declare type api$INixPackageAddResponse = {||};
|
|
2515
|
-
|
|
2516
|
-
/**
|
|
2517
|
-
* Represents a NixPackageAddResponse.
|
|
2518
|
-
*/
|
|
2519
|
-
declare class api$NixPackageAddResponse {
|
|
2520
|
-
/**
|
|
2521
|
-
* Constructs a new NixPackageAddResponse.
|
|
2522
|
-
* @param [properties] Properties to set
|
|
2523
|
-
*/
|
|
2524
|
-
constructor(properties?: api$INixPackageAddResponse): this;
|
|
2525
|
-
|
|
2526
|
-
/**
|
|
2527
|
-
* Creates a new NixPackageAddResponse instance using the specified properties.
|
|
2528
|
-
* @param [properties] Properties to set
|
|
2529
|
-
* @returns NixPackageAddResponse instance
|
|
2530
|
-
*/
|
|
2531
|
-
static create(
|
|
2532
|
-
properties?: api$INixPackageAddResponse
|
|
2533
|
-
): api$NixPackageAddResponse;
|
|
2534
|
-
|
|
2535
|
-
/**
|
|
2536
|
-
* [object Object],[object Object],[object Object]
|
|
2537
|
-
* @param message NixPackageAddResponse message or plain object to encode
|
|
2538
|
-
* @param [writer] Writer to encode to
|
|
2539
|
-
* @returns Writer
|
|
2540
|
-
*/
|
|
2541
|
-
static encode(
|
|
2542
|
-
message: api$NixPackageAddResponse,
|
|
2543
|
-
writer?: $protobuf.Writer
|
|
2544
|
-
): $protobuf.Writer;
|
|
2545
|
-
|
|
2546
|
-
/**
|
|
2547
|
-
* [object Object],[object Object],[object Object]
|
|
2548
|
-
* @param message NixPackageAddResponse message or plain object to encode
|
|
2549
|
-
* @param [writer] Writer to encode to
|
|
2550
|
-
* @returns Writer
|
|
2551
|
-
*/
|
|
2552
|
-
static encodeDelimited(
|
|
2553
|
-
message: api$NixPackageAddResponse,
|
|
2554
|
-
writer?: $protobuf.Writer
|
|
2555
|
-
): $protobuf.Writer;
|
|
2556
|
-
|
|
2557
|
-
/**
|
|
2558
|
-
* Decodes a NixPackageAddResponse message from the specified reader or buffer.
|
|
2559
|
-
* @param reader Reader or buffer to decode from
|
|
2560
|
-
* @param [length] Message length if known beforehand
|
|
2561
|
-
* @returns NixPackageAddResponse
|
|
2562
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2563
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2564
|
-
*/
|
|
2565
|
-
static decode(
|
|
2566
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
2567
|
-
length?: number
|
|
2568
|
-
): api$NixPackageAddResponse;
|
|
2569
|
-
|
|
2570
|
-
/**
|
|
2571
|
-
* Decodes a NixPackageAddResponse message from the specified reader or buffer, length delimited.
|
|
2572
|
-
* @param reader Reader or buffer to decode from
|
|
2573
|
-
* @returns NixPackageAddResponse
|
|
2574
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2575
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2576
|
-
*/
|
|
2577
|
-
static decodeDelimited(
|
|
2578
|
-
reader: $protobuf.Reader | Uint8Array
|
|
2579
|
-
): api$NixPackageAddResponse;
|
|
2580
|
-
|
|
2581
|
-
/**
|
|
2582
|
-
* Verifies a NixPackageAddResponse message.
|
|
2583
|
-
* @param message Plain object to verify
|
|
2584
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2585
|
-
*/
|
|
2586
|
-
static verify(message: {|
|
|
2587
|
-
[k: string]: any,
|
|
2588
|
-
|}): string | null;
|
|
2589
|
-
|
|
2590
|
-
/**
|
|
2591
|
-
* Creates a NixPackageAddResponse message from a plain object. Also converts values to their respective internal types.
|
|
2592
|
-
* @param object Plain object
|
|
2593
|
-
* @returns NixPackageAddResponse
|
|
2594
|
-
*/
|
|
2595
|
-
static fromObject(object: {|
|
|
2596
|
-
[k: string]: any,
|
|
2597
|
-
|}): api$NixPackageAddResponse;
|
|
2598
|
-
|
|
2599
|
-
/**
|
|
2600
|
-
* Creates a plain object from a NixPackageAddResponse message. Also converts values to other types if specified.
|
|
2601
|
-
* @param message NixPackageAddResponse
|
|
2602
|
-
* @param [options] Conversion options
|
|
2603
|
-
* @returns Plain object
|
|
2604
|
-
*/
|
|
2605
|
-
static toObject(
|
|
2606
|
-
message: api$NixPackageAddResponse,
|
|
2607
|
-
options?: $protobuf.IConversionOptions
|
|
2608
|
-
): {|
|
|
2609
|
-
[k: string]: any,
|
|
2610
|
-
|};
|
|
2611
|
-
|
|
2612
|
-
/**
|
|
2613
|
-
* Converts this NixPackageAddResponse to JSON.
|
|
2614
|
-
* @returns JSON object
|
|
2615
|
-
*/
|
|
2616
|
-
toJSON(): {|
|
|
2617
|
-
[k: string]: any,
|
|
2618
|
-
|};
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* Properties of a NixPackageRemoveRequest.
|
|
2623
|
-
*/
|
|
2624
|
-
declare type api$INixPackageRemoveRequest = {|
|
|
2625
|
-
/**
|
|
2626
|
-
* NixPackageRemoveRequest packages
|
|
2627
|
-
*/
|
|
2628
|
-
packages?: string[] | null,
|
|
2629
|
-
|};
|
|
2630
|
-
|
|
2631
|
-
/**
|
|
2632
|
-
* Represents a NixPackageRemoveRequest.
|
|
2633
|
-
*/
|
|
2634
|
-
declare class api$NixPackageRemoveRequest {
|
|
2635
|
-
/**
|
|
2636
|
-
* Constructs a new NixPackageRemoveRequest.
|
|
2637
|
-
* @param [properties] Properties to set
|
|
2638
|
-
*/
|
|
2639
|
-
constructor(properties?: api$INixPackageRemoveRequest): this;
|
|
2640
|
-
|
|
2641
|
-
/**
|
|
2642
|
-
* NixPackageRemoveRequest packages.
|
|
2643
|
-
*/
|
|
2644
|
-
packages: string[];
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* Creates a new NixPackageRemoveRequest instance using the specified properties.
|
|
2648
|
-
* @param [properties] Properties to set
|
|
2649
|
-
* @returns NixPackageRemoveRequest instance
|
|
2650
|
-
*/
|
|
2651
|
-
static create(
|
|
2652
|
-
properties?: api$INixPackageRemoveRequest
|
|
2653
|
-
): api$NixPackageRemoveRequest;
|
|
2654
|
-
|
|
2655
|
-
/**
|
|
2656
|
-
* [object Object],[object Object],[object Object]
|
|
2657
|
-
* @param message NixPackageRemoveRequest message or plain object to encode
|
|
2658
|
-
* @param [writer] Writer to encode to
|
|
2659
|
-
* @returns Writer
|
|
2660
|
-
*/
|
|
2661
|
-
static encode(
|
|
2662
|
-
message: api$NixPackageRemoveRequest,
|
|
2663
|
-
writer?: $protobuf.Writer
|
|
2664
|
-
): $protobuf.Writer;
|
|
2665
|
-
|
|
2666
|
-
/**
|
|
2667
|
-
* [object Object],[object Object],[object Object]
|
|
2668
|
-
* @param message NixPackageRemoveRequest message or plain object to encode
|
|
2669
|
-
* @param [writer] Writer to encode to
|
|
2670
|
-
* @returns Writer
|
|
2671
|
-
*/
|
|
2672
|
-
static encodeDelimited(
|
|
2673
|
-
message: api$NixPackageRemoveRequest,
|
|
2674
|
-
writer?: $protobuf.Writer
|
|
2675
|
-
): $protobuf.Writer;
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* Decodes a NixPackageRemoveRequest message from the specified reader or buffer.
|
|
2679
|
-
* @param reader Reader or buffer to decode from
|
|
2680
|
-
* @param [length] Message length if known beforehand
|
|
2681
|
-
* @returns NixPackageRemoveRequest
|
|
2682
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2683
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2684
|
-
*/
|
|
2685
|
-
static decode(
|
|
2686
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
2687
|
-
length?: number
|
|
2688
|
-
): api$NixPackageRemoveRequest;
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* Decodes a NixPackageRemoveRequest message from the specified reader or buffer, length delimited.
|
|
2692
|
-
* @param reader Reader or buffer to decode from
|
|
2693
|
-
* @returns NixPackageRemoveRequest
|
|
2694
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2695
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2696
|
-
*/
|
|
2697
|
-
static decodeDelimited(
|
|
2698
|
-
reader: $protobuf.Reader | Uint8Array
|
|
2699
|
-
): api$NixPackageRemoveRequest;
|
|
2700
|
-
|
|
2701
|
-
/**
|
|
2702
|
-
* Verifies a NixPackageRemoveRequest message.
|
|
2703
|
-
* @param message Plain object to verify
|
|
2704
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2705
|
-
*/
|
|
2706
|
-
static verify(message: {|
|
|
2707
|
-
[k: string]: any,
|
|
2708
|
-
|}): string | null;
|
|
2709
|
-
|
|
2710
|
-
/**
|
|
2711
|
-
* Creates a NixPackageRemoveRequest message from a plain object. Also converts values to their respective internal types.
|
|
2712
|
-
* @param object Plain object
|
|
2713
|
-
* @returns NixPackageRemoveRequest
|
|
2714
|
-
*/
|
|
2715
|
-
static fromObject(object: {|
|
|
2716
|
-
[k: string]: any,
|
|
2717
|
-
|}): api$NixPackageRemoveRequest;
|
|
2718
|
-
|
|
2719
|
-
/**
|
|
2720
|
-
* Creates a plain object from a NixPackageRemoveRequest message. Also converts values to other types if specified.
|
|
2721
|
-
* @param message NixPackageRemoveRequest
|
|
2722
|
-
* @param [options] Conversion options
|
|
2723
|
-
* @returns Plain object
|
|
2724
|
-
*/
|
|
2725
|
-
static toObject(
|
|
2726
|
-
message: api$NixPackageRemoveRequest,
|
|
2727
|
-
options?: $protobuf.IConversionOptions
|
|
2728
|
-
): {|
|
|
2729
|
-
[k: string]: any,
|
|
2730
|
-
|};
|
|
2731
|
-
|
|
2732
|
-
/**
|
|
2733
|
-
* Converts this NixPackageRemoveRequest to JSON.
|
|
2734
|
-
* @returns JSON object
|
|
2735
|
-
*/
|
|
2736
|
-
toJSON(): {|
|
|
2737
|
-
[k: string]: any,
|
|
2738
|
-
|};
|
|
2739
|
-
}
|
|
2740
|
-
|
|
2741
|
-
/**
|
|
2742
|
-
* Properties of a NixPackageRemoveResponse.
|
|
2743
|
-
*/
|
|
2744
|
-
declare type api$INixPackageRemoveResponse = {||};
|
|
2745
|
-
|
|
2746
|
-
/**
|
|
2747
|
-
* Represents a NixPackageRemoveResponse.
|
|
2748
|
-
*/
|
|
2749
|
-
declare class api$NixPackageRemoveResponse {
|
|
2750
|
-
/**
|
|
2751
|
-
* Constructs a new NixPackageRemoveResponse.
|
|
2752
|
-
* @param [properties] Properties to set
|
|
2753
|
-
*/
|
|
2754
|
-
constructor(properties?: api$INixPackageRemoveResponse): this;
|
|
2755
|
-
|
|
2756
|
-
/**
|
|
2757
|
-
* Creates a new NixPackageRemoveResponse instance using the specified properties.
|
|
2758
|
-
* @param [properties] Properties to set
|
|
2759
|
-
* @returns NixPackageRemoveResponse instance
|
|
2760
|
-
*/
|
|
2761
|
-
static create(
|
|
2762
|
-
properties?: api$INixPackageRemoveResponse
|
|
2763
|
-
): api$NixPackageRemoveResponse;
|
|
2764
|
-
|
|
2765
|
-
/**
|
|
2766
|
-
* [object Object],[object Object],[object Object]
|
|
2767
|
-
* @param message NixPackageRemoveResponse message or plain object to encode
|
|
2768
|
-
* @param [writer] Writer to encode to
|
|
2769
|
-
* @returns Writer
|
|
2770
|
-
*/
|
|
2771
|
-
static encode(
|
|
2772
|
-
message: api$NixPackageRemoveResponse,
|
|
2773
|
-
writer?: $protobuf.Writer
|
|
2774
|
-
): $protobuf.Writer;
|
|
2775
|
-
|
|
2776
|
-
/**
|
|
2777
|
-
* [object Object],[object Object],[object Object]
|
|
2778
|
-
* @param message NixPackageRemoveResponse message or plain object to encode
|
|
2779
|
-
* @param [writer] Writer to encode to
|
|
2780
|
-
* @returns Writer
|
|
2781
|
-
*/
|
|
2782
|
-
static encodeDelimited(
|
|
2783
|
-
message: api$NixPackageRemoveResponse,
|
|
2784
|
-
writer?: $protobuf.Writer
|
|
2785
|
-
): $protobuf.Writer;
|
|
2786
|
-
|
|
2787
|
-
/**
|
|
2788
|
-
* Decodes a NixPackageRemoveResponse message from the specified reader or buffer.
|
|
2789
|
-
* @param reader Reader or buffer to decode from
|
|
2790
|
-
* @param [length] Message length if known beforehand
|
|
2791
|
-
* @returns NixPackageRemoveResponse
|
|
2792
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2793
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2794
|
-
*/
|
|
2795
|
-
static decode(
|
|
2796
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
2797
|
-
length?: number
|
|
2798
|
-
): api$NixPackageRemoveResponse;
|
|
2799
|
-
|
|
2800
|
-
/**
|
|
2801
|
-
* Decodes a NixPackageRemoveResponse message from the specified reader or buffer, length delimited.
|
|
2802
|
-
* @param reader Reader or buffer to decode from
|
|
2803
|
-
* @returns NixPackageRemoveResponse
|
|
2804
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2805
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2806
|
-
*/
|
|
2807
|
-
static decodeDelimited(
|
|
2808
|
-
reader: $protobuf.Reader | Uint8Array
|
|
2809
|
-
): api$NixPackageRemoveResponse;
|
|
2810
|
-
|
|
2811
|
-
/**
|
|
2812
|
-
* Verifies a NixPackageRemoveResponse message.
|
|
2813
|
-
* @param message Plain object to verify
|
|
2814
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2815
|
-
*/
|
|
2816
|
-
static verify(message: {|
|
|
2817
|
-
[k: string]: any,
|
|
2818
|
-
|}): string | null;
|
|
2819
|
-
|
|
2820
|
-
/**
|
|
2821
|
-
* Creates a NixPackageRemoveResponse message from a plain object. Also converts values to their respective internal types.
|
|
2822
|
-
* @param object Plain object
|
|
2823
|
-
* @returns NixPackageRemoveResponse
|
|
2824
|
-
*/
|
|
2825
|
-
static fromObject(object: {|
|
|
2826
|
-
[k: string]: any,
|
|
2827
|
-
|}): api$NixPackageRemoveResponse;
|
|
2828
|
-
|
|
2829
|
-
/**
|
|
2830
|
-
* Creates a plain object from a NixPackageRemoveResponse message. Also converts values to other types if specified.
|
|
2831
|
-
* @param message NixPackageRemoveResponse
|
|
2832
|
-
* @param [options] Conversion options
|
|
2833
|
-
* @returns Plain object
|
|
2834
|
-
*/
|
|
2835
|
-
static toObject(
|
|
2836
|
-
message: api$NixPackageRemoveResponse,
|
|
2837
|
-
options?: $protobuf.IConversionOptions
|
|
2838
|
-
): {|
|
|
2839
|
-
[k: string]: any,
|
|
2840
|
-
|};
|
|
2841
|
-
|
|
2842
|
-
/**
|
|
2843
|
-
* Converts this NixPackageRemoveResponse to JSON.
|
|
2844
|
-
* @returns JSON object
|
|
2845
|
-
*/
|
|
2846
|
-
toJSON(): {|
|
|
2847
|
-
[k: string]: any,
|
|
2848
|
-
|};
|
|
2849
|
-
}
|
|
2850
|
-
|
|
2851
|
-
/**
|
|
2852
|
-
* Properties of a NixPackageListRequest.
|
|
2853
|
-
*/
|
|
2854
|
-
declare type api$INixPackageListRequest = {||};
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* Represents a NixPackageListRequest.
|
|
2858
|
-
*/
|
|
2859
|
-
declare class api$NixPackageListRequest {
|
|
2860
|
-
/**
|
|
2861
|
-
* Constructs a new NixPackageListRequest.
|
|
2862
|
-
* @param [properties] Properties to set
|
|
2863
|
-
*/
|
|
2864
|
-
constructor(properties?: api$INixPackageListRequest): this;
|
|
2865
|
-
|
|
2866
|
-
/**
|
|
2867
|
-
* Creates a new NixPackageListRequest instance using the specified properties.
|
|
2868
|
-
* @param [properties] Properties to set
|
|
2869
|
-
* @returns NixPackageListRequest instance
|
|
2870
|
-
*/
|
|
2871
|
-
static create(
|
|
2872
|
-
properties?: api$INixPackageListRequest
|
|
2873
|
-
): api$NixPackageListRequest;
|
|
2874
|
-
|
|
2875
|
-
/**
|
|
2876
|
-
* [object Object],[object Object],[object Object]
|
|
2877
|
-
* @param message NixPackageListRequest message or plain object to encode
|
|
2878
|
-
* @param [writer] Writer to encode to
|
|
2879
|
-
* @returns Writer
|
|
2880
|
-
*/
|
|
2881
|
-
static encode(
|
|
2882
|
-
message: api$NixPackageListRequest,
|
|
2883
|
-
writer?: $protobuf.Writer
|
|
2884
|
-
): $protobuf.Writer;
|
|
2885
|
-
|
|
2886
|
-
/**
|
|
2887
|
-
* [object Object],[object Object],[object Object]
|
|
2888
|
-
* @param message NixPackageListRequest message or plain object to encode
|
|
2889
|
-
* @param [writer] Writer to encode to
|
|
2890
|
-
* @returns Writer
|
|
2891
|
-
*/
|
|
2892
|
-
static encodeDelimited(
|
|
2893
|
-
message: api$NixPackageListRequest,
|
|
2894
|
-
writer?: $protobuf.Writer
|
|
2895
|
-
): $protobuf.Writer;
|
|
2896
|
-
|
|
2897
|
-
/**
|
|
2898
|
-
* Decodes a NixPackageListRequest message from the specified reader or buffer.
|
|
2899
|
-
* @param reader Reader or buffer to decode from
|
|
2900
|
-
* @param [length] Message length if known beforehand
|
|
2901
|
-
* @returns NixPackageListRequest
|
|
2902
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2903
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2904
|
-
*/
|
|
2905
|
-
static decode(
|
|
2906
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
2907
|
-
length?: number
|
|
2908
|
-
): api$NixPackageListRequest;
|
|
2909
|
-
|
|
2910
|
-
/**
|
|
2911
|
-
* Decodes a NixPackageListRequest message from the specified reader or buffer, length delimited.
|
|
2912
|
-
* @param reader Reader or buffer to decode from
|
|
2913
|
-
* @returns NixPackageListRequest
|
|
2914
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2915
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2916
|
-
*/
|
|
2917
|
-
static decodeDelimited(
|
|
2918
|
-
reader: $protobuf.Reader | Uint8Array
|
|
2919
|
-
): api$NixPackageListRequest;
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* Verifies a NixPackageListRequest message.
|
|
2923
|
-
* @param message Plain object to verify
|
|
2924
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2925
|
-
*/
|
|
2926
|
-
static verify(message: {|
|
|
2927
|
-
[k: string]: any,
|
|
2928
|
-
|}): string | null;
|
|
2929
|
-
|
|
2930
|
-
/**
|
|
2931
|
-
* Creates a NixPackageListRequest message from a plain object. Also converts values to their respective internal types.
|
|
2932
|
-
* @param object Plain object
|
|
2933
|
-
* @returns NixPackageListRequest
|
|
2934
|
-
*/
|
|
2935
|
-
static fromObject(object: {|
|
|
2936
|
-
[k: string]: any,
|
|
2937
|
-
|}): api$NixPackageListRequest;
|
|
2938
|
-
|
|
2939
|
-
/**
|
|
2940
|
-
* Creates a plain object from a NixPackageListRequest message. Also converts values to other types if specified.
|
|
2941
|
-
* @param message NixPackageListRequest
|
|
2942
|
-
* @param [options] Conversion options
|
|
2943
|
-
* @returns Plain object
|
|
2944
|
-
*/
|
|
2945
|
-
static toObject(
|
|
2946
|
-
message: api$NixPackageListRequest,
|
|
2947
|
-
options?: $protobuf.IConversionOptions
|
|
2948
|
-
): {|
|
|
2949
|
-
[k: string]: any,
|
|
2950
|
-
|};
|
|
2951
|
-
|
|
2952
|
-
/**
|
|
2953
|
-
* Converts this NixPackageListRequest to JSON.
|
|
2954
|
-
* @returns JSON object
|
|
2955
|
-
*/
|
|
2956
|
-
toJSON(): {|
|
|
2957
|
-
[k: string]: any,
|
|
2958
|
-
|};
|
|
2959
|
-
}
|
|
2960
|
-
|
|
2961
|
-
/**
|
|
2962
|
-
* Properties of a NixPackageListResponse.
|
|
2963
|
-
*/
|
|
2964
|
-
declare type api$INixPackageListResponse = {|
|
|
2965
|
-
/**
|
|
2966
|
-
* NixPackageListResponse packages
|
|
2967
|
-
*/
|
|
2968
|
-
packages?: (api$NixPackage | api$INixPackage)[] | null,
|
|
2969
|
-
|};
|
|
2970
|
-
|
|
2971
|
-
/**
|
|
2972
|
-
* Represents a NixPackageListResponse.
|
|
2973
|
-
*/
|
|
2974
|
-
declare class api$NixPackageListResponse {
|
|
2975
|
-
/**
|
|
2976
|
-
* Constructs a new NixPackageListResponse.
|
|
2977
|
-
* @param [properties] Properties to set
|
|
2978
|
-
*/
|
|
2979
|
-
constructor(properties?: api$INixPackageListResponse): this;
|
|
2980
|
-
|
|
2981
|
-
/**
|
|
2982
|
-
* NixPackageListResponse packages.
|
|
2983
|
-
*/
|
|
2984
|
-
packages: api$NixPackage[];
|
|
2985
|
-
|
|
2986
|
-
/**
|
|
2987
|
-
* Creates a new NixPackageListResponse instance using the specified properties.
|
|
2988
|
-
* @param [properties] Properties to set
|
|
2989
|
-
* @returns NixPackageListResponse instance
|
|
2990
|
-
*/
|
|
2991
|
-
static create(
|
|
2992
|
-
properties?: api$INixPackageListResponse
|
|
2993
|
-
): api$NixPackageListResponse;
|
|
2994
|
-
|
|
2995
|
-
/**
|
|
2996
|
-
* [object Object],[object Object],[object Object]
|
|
2997
|
-
* @param message NixPackageListResponse message or plain object to encode
|
|
2998
|
-
* @param [writer] Writer to encode to
|
|
2999
|
-
* @returns Writer
|
|
3000
|
-
*/
|
|
3001
|
-
static encode(
|
|
3002
|
-
message: api$NixPackageListResponse,
|
|
3003
|
-
writer?: $protobuf.Writer
|
|
3004
|
-
): $protobuf.Writer;
|
|
3005
|
-
|
|
3006
|
-
/**
|
|
3007
|
-
* [object Object],[object Object],[object Object]
|
|
3008
|
-
* @param message NixPackageListResponse message or plain object to encode
|
|
3009
|
-
* @param [writer] Writer to encode to
|
|
3010
|
-
* @returns Writer
|
|
3011
|
-
*/
|
|
3012
|
-
static encodeDelimited(
|
|
3013
|
-
message: api$NixPackageListResponse,
|
|
3014
|
-
writer?: $protobuf.Writer
|
|
3015
|
-
): $protobuf.Writer;
|
|
3016
|
-
|
|
3017
|
-
/**
|
|
3018
|
-
* Decodes a NixPackageListResponse message from the specified reader or buffer.
|
|
3019
|
-
* @param reader Reader or buffer to decode from
|
|
3020
|
-
* @param [length] Message length if known beforehand
|
|
3021
|
-
* @returns NixPackageListResponse
|
|
3022
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3023
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3024
|
-
*/
|
|
3025
|
-
static decode(
|
|
3026
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3027
|
-
length?: number
|
|
3028
|
-
): api$NixPackageListResponse;
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* Decodes a NixPackageListResponse message from the specified reader or buffer, length delimited.
|
|
3032
|
-
* @param reader Reader or buffer to decode from
|
|
3033
|
-
* @returns NixPackageListResponse
|
|
3034
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3035
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3036
|
-
*/
|
|
3037
|
-
static decodeDelimited(
|
|
3038
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3039
|
-
): api$NixPackageListResponse;
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* Verifies a NixPackageListResponse message.
|
|
3043
|
-
* @param message Plain object to verify
|
|
3044
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3045
|
-
*/
|
|
3046
|
-
static verify(message: {|
|
|
3047
|
-
[k: string]: any,
|
|
3048
|
-
|}): string | null;
|
|
3049
|
-
|
|
3050
|
-
/**
|
|
3051
|
-
* Creates a NixPackageListResponse message from a plain object. Also converts values to their respective internal types.
|
|
3052
|
-
* @param object Plain object
|
|
3053
|
-
* @returns NixPackageListResponse
|
|
3054
|
-
*/
|
|
3055
|
-
static fromObject(object: {|
|
|
3056
|
-
[k: string]: any,
|
|
3057
|
-
|}): api$NixPackageListResponse;
|
|
3058
|
-
|
|
3059
|
-
/**
|
|
3060
|
-
* Creates a plain object from a NixPackageListResponse message. Also converts values to other types if specified.
|
|
3061
|
-
* @param message NixPackageListResponse
|
|
3062
|
-
* @param [options] Conversion options
|
|
3063
|
-
* @returns Plain object
|
|
3064
|
-
*/
|
|
3065
|
-
static toObject(
|
|
3066
|
-
message: api$NixPackageListResponse,
|
|
3067
|
-
options?: $protobuf.IConversionOptions
|
|
3068
|
-
): {|
|
|
3069
|
-
[k: string]: any,
|
|
3070
|
-
|};
|
|
3071
|
-
|
|
3072
|
-
/**
|
|
3073
|
-
* Converts this NixPackageListResponse to JSON.
|
|
3074
|
-
* @returns JSON object
|
|
3075
|
-
*/
|
|
3076
|
-
toJSON(): {|
|
|
3077
|
-
[k: string]: any,
|
|
3078
|
-
|};
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
/**
|
|
3082
|
-
* Properties of a NixPackage.
|
|
3083
|
-
*/
|
|
3084
|
-
declare type api$INixPackage = {|
|
|
3085
|
-
/**
|
|
3086
|
-
* NixPackage name
|
|
3087
|
-
*/
|
|
3088
|
-
name?: string | null,
|
|
3089
|
-
|
|
3090
|
-
/**
|
|
3091
|
-
* NixPackage description
|
|
3092
|
-
*/
|
|
3093
|
-
description?: string | null,
|
|
3094
|
-
|
|
3095
|
-
/**
|
|
3096
|
-
* NixPackage version
|
|
3097
|
-
*/
|
|
3098
|
-
version?: string | null,
|
|
3099
|
-
|
|
3100
|
-
/**
|
|
3101
|
-
* NixPackage homepageURL
|
|
3102
|
-
*/
|
|
3103
|
-
homepageURL?: string[] | null,
|
|
3104
|
-
|
|
3105
|
-
/**
|
|
3106
|
-
* NixPackage maintainers
|
|
3107
|
-
*/
|
|
3108
|
-
maintainers?: string[] | null,
|
|
3109
|
-
|
|
3110
|
-
/**
|
|
3111
|
-
* NixPackage licenses
|
|
3112
|
-
*/
|
|
3113
|
-
licenses?: string[] | null,
|
|
3114
|
-
|};
|
|
3115
|
-
|
|
3116
|
-
/**
|
|
3117
|
-
* Represents a NixPackage.
|
|
3118
|
-
*/
|
|
3119
|
-
declare class api$NixPackage {
|
|
3120
|
-
/**
|
|
3121
|
-
* Constructs a new NixPackage.
|
|
3122
|
-
* @param [properties] Properties to set
|
|
3123
|
-
*/
|
|
3124
|
-
constructor(properties?: api$INixPackage): this;
|
|
3125
|
-
|
|
3126
|
-
/**
|
|
3127
|
-
* NixPackage name.
|
|
3128
|
-
*/
|
|
3129
|
-
name: string;
|
|
3130
|
-
|
|
3131
|
-
/**
|
|
3132
|
-
* NixPackage description.
|
|
3133
|
-
*/
|
|
3134
|
-
description: string;
|
|
3135
|
-
|
|
3136
|
-
/**
|
|
3137
|
-
* NixPackage version.
|
|
3138
|
-
*/
|
|
3139
|
-
version: string;
|
|
3140
|
-
|
|
3141
|
-
/**
|
|
3142
|
-
* NixPackage homepageURL.
|
|
3143
|
-
*/
|
|
3144
|
-
homepageURL: string[];
|
|
3145
|
-
|
|
3146
|
-
/**
|
|
3147
|
-
* NixPackage maintainers.
|
|
3148
|
-
*/
|
|
3149
|
-
maintainers: string[];
|
|
3150
|
-
|
|
3151
|
-
/**
|
|
3152
|
-
* NixPackage licenses.
|
|
3153
|
-
*/
|
|
3154
|
-
licenses: string[];
|
|
3155
|
-
|
|
3156
|
-
/**
|
|
3157
|
-
* Creates a new NixPackage instance using the specified properties.
|
|
3158
|
-
* @param [properties] Properties to set
|
|
3159
|
-
* @returns NixPackage instance
|
|
3160
|
-
*/
|
|
3161
|
-
static create(properties?: api$INixPackage): api$NixPackage;
|
|
3162
|
-
|
|
3163
|
-
/**
|
|
3164
|
-
* [object Object],[object Object],[object Object]
|
|
3165
|
-
* @param message NixPackage message or plain object to encode
|
|
3166
|
-
* @param [writer] Writer to encode to
|
|
3167
|
-
* @returns Writer
|
|
3168
|
-
*/
|
|
3169
|
-
static encode(
|
|
3170
|
-
message: api$NixPackage,
|
|
3171
|
-
writer?: $protobuf.Writer
|
|
3172
|
-
): $protobuf.Writer;
|
|
3173
|
-
|
|
3174
|
-
/**
|
|
3175
|
-
* [object Object],[object Object],[object Object]
|
|
3176
|
-
* @param message NixPackage message or plain object to encode
|
|
3177
|
-
* @param [writer] Writer to encode to
|
|
3178
|
-
* @returns Writer
|
|
3179
|
-
*/
|
|
3180
|
-
static encodeDelimited(
|
|
3181
|
-
message: api$NixPackage,
|
|
3182
|
-
writer?: $protobuf.Writer
|
|
3183
|
-
): $protobuf.Writer;
|
|
3184
|
-
|
|
3185
|
-
/**
|
|
3186
|
-
* Decodes a NixPackage message from the specified reader or buffer.
|
|
3187
|
-
* @param reader Reader or buffer to decode from
|
|
3188
|
-
* @param [length] Message length if known beforehand
|
|
3189
|
-
* @returns NixPackage
|
|
3190
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3191
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3192
|
-
*/
|
|
3193
|
-
static decode(
|
|
3194
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3195
|
-
length?: number
|
|
3196
|
-
): api$NixPackage;
|
|
3197
|
-
|
|
3198
|
-
/**
|
|
3199
|
-
* Decodes a NixPackage message from the specified reader or buffer, length delimited.
|
|
3200
|
-
* @param reader Reader or buffer to decode from
|
|
3201
|
-
* @returns NixPackage
|
|
3202
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3203
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3204
|
-
*/
|
|
3205
|
-
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$NixPackage;
|
|
3206
|
-
|
|
3207
|
-
/**
|
|
3208
|
-
* Verifies a NixPackage message.
|
|
3209
|
-
* @param message Plain object to verify
|
|
3210
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3211
|
-
*/
|
|
3212
|
-
static verify(message: {|
|
|
3213
|
-
[k: string]: any,
|
|
3214
|
-
|}): string | null;
|
|
3215
|
-
|
|
3216
|
-
/**
|
|
3217
|
-
* Creates a NixPackage message from a plain object. Also converts values to their respective internal types.
|
|
3218
|
-
* @param object Plain object
|
|
3219
|
-
* @returns NixPackage
|
|
3220
|
-
*/
|
|
3221
|
-
static fromObject(object: {|
|
|
3222
|
-
[k: string]: any,
|
|
3223
|
-
|}): api$NixPackage;
|
|
3224
|
-
|
|
3225
|
-
/**
|
|
3226
|
-
* Creates a plain object from a NixPackage message. Also converts values to other types if specified.
|
|
3227
|
-
* @param message NixPackage
|
|
3228
|
-
* @param [options] Conversion options
|
|
3229
|
-
* @returns Plain object
|
|
3230
|
-
*/
|
|
3231
|
-
static toObject(
|
|
3232
|
-
message: api$NixPackage,
|
|
3233
|
-
options?: $protobuf.IConversionOptions
|
|
3234
|
-
): {|
|
|
3235
|
-
[k: string]: any,
|
|
3236
|
-
|};
|
|
3237
|
-
|
|
3238
|
-
/**
|
|
3239
|
-
* Converts this NixPackage to JSON.
|
|
3240
|
-
* @returns JSON object
|
|
3241
|
-
*/
|
|
3242
|
-
toJSON(): {|
|
|
3243
|
-
[k: string]: any,
|
|
3244
|
-
|};
|
|
3245
|
-
}
|
|
3246
|
-
|
|
3247
|
-
/**
|
|
3248
|
-
* Properties of a NixChannelsRequest.
|
|
3249
|
-
*/
|
|
3250
|
-
declare type api$INixChannelsRequest = {||};
|
|
3251
|
-
|
|
3252
|
-
/**
|
|
3253
|
-
* Represents a NixChannelsRequest.
|
|
3254
|
-
*/
|
|
3255
|
-
declare class api$NixChannelsRequest {
|
|
3256
|
-
/**
|
|
3257
|
-
* Constructs a new NixChannelsRequest.
|
|
3258
|
-
* @param [properties] Properties to set
|
|
3259
|
-
*/
|
|
3260
|
-
constructor(properties?: api$INixChannelsRequest): this;
|
|
3261
|
-
|
|
3262
|
-
/**
|
|
3263
|
-
* Creates a new NixChannelsRequest instance using the specified properties.
|
|
3264
|
-
* @param [properties] Properties to set
|
|
3265
|
-
* @returns NixChannelsRequest instance
|
|
3266
|
-
*/
|
|
3267
|
-
static create(properties?: api$INixChannelsRequest): api$NixChannelsRequest;
|
|
3268
|
-
|
|
3269
|
-
/**
|
|
3270
|
-
* [object Object],[object Object],[object Object]
|
|
3271
|
-
* @param message NixChannelsRequest message or plain object to encode
|
|
3272
|
-
* @param [writer] Writer to encode to
|
|
3273
|
-
* @returns Writer
|
|
3274
|
-
*/
|
|
3275
|
-
static encode(
|
|
3276
|
-
message: api$NixChannelsRequest,
|
|
3277
|
-
writer?: $protobuf.Writer
|
|
3278
|
-
): $protobuf.Writer;
|
|
3279
|
-
|
|
3280
|
-
/**
|
|
3281
|
-
* [object Object],[object Object],[object Object]
|
|
3282
|
-
* @param message NixChannelsRequest message or plain object to encode
|
|
3283
|
-
* @param [writer] Writer to encode to
|
|
3284
|
-
* @returns Writer
|
|
3285
|
-
*/
|
|
3286
|
-
static encodeDelimited(
|
|
3287
|
-
message: api$NixChannelsRequest,
|
|
3288
|
-
writer?: $protobuf.Writer
|
|
3289
|
-
): $protobuf.Writer;
|
|
3290
|
-
|
|
3291
|
-
/**
|
|
3292
|
-
* Decodes a NixChannelsRequest message from the specified reader or buffer.
|
|
3293
|
-
* @param reader Reader or buffer to decode from
|
|
3294
|
-
* @param [length] Message length if known beforehand
|
|
3295
|
-
* @returns NixChannelsRequest
|
|
3296
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3297
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3298
|
-
*/
|
|
3299
|
-
static decode(
|
|
3300
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3301
|
-
length?: number
|
|
3302
|
-
): api$NixChannelsRequest;
|
|
3303
|
-
|
|
3304
|
-
/**
|
|
3305
|
-
* Decodes a NixChannelsRequest message from the specified reader or buffer, length delimited.
|
|
3306
|
-
* @param reader Reader or buffer to decode from
|
|
3307
|
-
* @returns NixChannelsRequest
|
|
3308
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3309
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3310
|
-
*/
|
|
3311
|
-
static decodeDelimited(
|
|
3312
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3313
|
-
): api$NixChannelsRequest;
|
|
3314
|
-
|
|
3315
|
-
/**
|
|
3316
|
-
* Verifies a NixChannelsRequest message.
|
|
3317
|
-
* @param message Plain object to verify
|
|
3318
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3319
|
-
*/
|
|
3320
|
-
static verify(message: {|
|
|
3321
|
-
[k: string]: any,
|
|
3322
|
-
|}): string | null;
|
|
3323
|
-
|
|
3324
|
-
/**
|
|
3325
|
-
* Creates a NixChannelsRequest message from a plain object. Also converts values to their respective internal types.
|
|
3326
|
-
* @param object Plain object
|
|
3327
|
-
* @returns NixChannelsRequest
|
|
3328
|
-
*/
|
|
3329
|
-
static fromObject(object: {|
|
|
3330
|
-
[k: string]: any,
|
|
3331
|
-
|}): api$NixChannelsRequest;
|
|
3332
|
-
|
|
3333
|
-
/**
|
|
3334
|
-
* Creates a plain object from a NixChannelsRequest message. Also converts values to other types if specified.
|
|
3335
|
-
* @param message NixChannelsRequest
|
|
3336
|
-
* @param [options] Conversion options
|
|
3337
|
-
* @returns Plain object
|
|
3338
|
-
*/
|
|
3339
|
-
static toObject(
|
|
3340
|
-
message: api$NixChannelsRequest,
|
|
3341
|
-
options?: $protobuf.IConversionOptions
|
|
3342
|
-
): {|
|
|
3343
|
-
[k: string]: any,
|
|
3344
|
-
|};
|
|
3345
|
-
|
|
3346
|
-
/**
|
|
3347
|
-
* Converts this NixChannelsRequest to JSON.
|
|
3348
|
-
* @returns JSON object
|
|
3349
|
-
*/
|
|
3350
|
-
toJSON(): {|
|
|
3351
|
-
[k: string]: any,
|
|
3352
|
-
|};
|
|
3353
|
-
}
|
|
3354
|
-
|
|
3355
|
-
/**
|
|
3356
|
-
* Properties of a NixChannelsResponse.
|
|
3357
|
-
*/
|
|
3358
|
-
declare type api$INixChannelsResponse = {|
|
|
3359
|
-
/**
|
|
3360
|
-
* NixChannelsResponse channels
|
|
3361
|
-
*/
|
|
3362
|
-
channels?: string[] | null,
|
|
3363
|
-
|};
|
|
3364
|
-
|
|
3365
|
-
/**
|
|
3366
|
-
* Represents a NixChannelsResponse.
|
|
3367
|
-
*/
|
|
3368
|
-
declare class api$NixChannelsResponse {
|
|
3369
|
-
/**
|
|
3370
|
-
* Constructs a new NixChannelsResponse.
|
|
3371
|
-
* @param [properties] Properties to set
|
|
3372
|
-
*/
|
|
3373
|
-
constructor(properties?: api$INixChannelsResponse): this;
|
|
3374
|
-
|
|
3375
|
-
/**
|
|
3376
|
-
* NixChannelsResponse channels.
|
|
3377
|
-
*/
|
|
3378
|
-
channels: string[];
|
|
3379
|
-
|
|
3380
|
-
/**
|
|
3381
|
-
* Creates a new NixChannelsResponse instance using the specified properties.
|
|
3382
|
-
* @param [properties] Properties to set
|
|
3383
|
-
* @returns NixChannelsResponse instance
|
|
3384
|
-
*/
|
|
3385
|
-
static create(properties?: api$INixChannelsResponse): api$NixChannelsResponse;
|
|
3386
|
-
|
|
3387
|
-
/**
|
|
3388
|
-
* [object Object],[object Object],[object Object]
|
|
3389
|
-
* @param message NixChannelsResponse message or plain object to encode
|
|
3390
|
-
* @param [writer] Writer to encode to
|
|
3391
|
-
* @returns Writer
|
|
3392
|
-
*/
|
|
3393
|
-
static encode(
|
|
3394
|
-
message: api$NixChannelsResponse,
|
|
3395
|
-
writer?: $protobuf.Writer
|
|
3396
|
-
): $protobuf.Writer;
|
|
3397
|
-
|
|
3398
|
-
/**
|
|
3399
|
-
* [object Object],[object Object],[object Object]
|
|
3400
|
-
* @param message NixChannelsResponse message or plain object to encode
|
|
3401
|
-
* @param [writer] Writer to encode to
|
|
3402
|
-
* @returns Writer
|
|
3403
|
-
*/
|
|
3404
|
-
static encodeDelimited(
|
|
3405
|
-
message: api$NixChannelsResponse,
|
|
3406
|
-
writer?: $protobuf.Writer
|
|
3407
|
-
): $protobuf.Writer;
|
|
3408
|
-
|
|
3409
|
-
/**
|
|
3410
|
-
* Decodes a NixChannelsResponse message from the specified reader or buffer.
|
|
3411
|
-
* @param reader Reader or buffer to decode from
|
|
3412
|
-
* @param [length] Message length if known beforehand
|
|
3413
|
-
* @returns NixChannelsResponse
|
|
3414
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3415
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3416
|
-
*/
|
|
3417
|
-
static decode(
|
|
3418
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3419
|
-
length?: number
|
|
3420
|
-
): api$NixChannelsResponse;
|
|
3421
|
-
|
|
3422
|
-
/**
|
|
3423
|
-
* Decodes a NixChannelsResponse message from the specified reader or buffer, length delimited.
|
|
3424
|
-
* @param reader Reader or buffer to decode from
|
|
3425
|
-
* @returns NixChannelsResponse
|
|
3426
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3427
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3428
|
-
*/
|
|
3429
|
-
static decodeDelimited(
|
|
3430
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3431
|
-
): api$NixChannelsResponse;
|
|
3432
|
-
|
|
3433
|
-
/**
|
|
3434
|
-
* Verifies a NixChannelsResponse message.
|
|
3435
|
-
* @param message Plain object to verify
|
|
3436
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3437
|
-
*/
|
|
3438
|
-
static verify(message: {|
|
|
3439
|
-
[k: string]: any,
|
|
3440
|
-
|}): string | null;
|
|
3441
|
-
|
|
3442
|
-
/**
|
|
3443
|
-
* Creates a NixChannelsResponse message from a plain object. Also converts values to their respective internal types.
|
|
3444
|
-
* @param object Plain object
|
|
3445
|
-
* @returns NixChannelsResponse
|
|
3446
|
-
*/
|
|
3447
|
-
static fromObject(object: {|
|
|
3448
|
-
[k: string]: any,
|
|
3449
|
-
|}): api$NixChannelsResponse;
|
|
3450
|
-
|
|
3451
|
-
/**
|
|
3452
|
-
* Creates a plain object from a NixChannelsResponse message. Also converts values to other types if specified.
|
|
3453
|
-
* @param message NixChannelsResponse
|
|
3454
|
-
* @param [options] Conversion options
|
|
3455
|
-
* @returns Plain object
|
|
3456
|
-
*/
|
|
3457
|
-
static toObject(
|
|
3458
|
-
message: api$NixChannelsResponse,
|
|
3459
|
-
options?: $protobuf.IConversionOptions
|
|
3460
|
-
): {|
|
|
3461
|
-
[k: string]: any,
|
|
3462
|
-
|};
|
|
3463
|
-
|
|
3464
|
-
/**
|
|
3465
|
-
* Converts this NixChannelsResponse to JSON.
|
|
3466
|
-
* @returns JSON object
|
|
3467
|
-
*/
|
|
3468
|
-
toJSON(): {|
|
|
3469
|
-
[k: string]: any,
|
|
3470
|
-
|};
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
|
-
/**
|
|
3474
|
-
* Properties of a NixChannelLatestStableRequest.
|
|
3475
|
-
*/
|
|
3476
|
-
declare type api$INixChannelLatestStableRequest = {||};
|
|
3477
|
-
|
|
3478
|
-
/**
|
|
3479
|
-
* Represents a NixChannelLatestStableRequest.
|
|
3480
|
-
*/
|
|
3481
|
-
declare class api$NixChannelLatestStableRequest {
|
|
3482
|
-
/**
|
|
3483
|
-
* Constructs a new NixChannelLatestStableRequest.
|
|
3484
|
-
* @param [properties] Properties to set
|
|
3485
|
-
*/
|
|
3486
|
-
constructor(properties?: api$INixChannelLatestStableRequest): this;
|
|
3487
|
-
|
|
3488
|
-
/**
|
|
3489
|
-
* Creates a new NixChannelLatestStableRequest instance using the specified properties.
|
|
3490
|
-
* @param [properties] Properties to set
|
|
3491
|
-
* @returns NixChannelLatestStableRequest instance
|
|
3492
|
-
*/
|
|
3493
|
-
static create(
|
|
3494
|
-
properties?: api$INixChannelLatestStableRequest
|
|
3495
|
-
): api$NixChannelLatestStableRequest;
|
|
3496
|
-
|
|
3497
|
-
/**
|
|
3498
|
-
* [object Object],[object Object],[object Object]
|
|
3499
|
-
* @param message NixChannelLatestStableRequest message or plain object to encode
|
|
3500
|
-
* @param [writer] Writer to encode to
|
|
3501
|
-
* @returns Writer
|
|
3502
|
-
*/
|
|
3503
|
-
static encode(
|
|
3504
|
-
message: api$NixChannelLatestStableRequest,
|
|
3505
|
-
writer?: $protobuf.Writer
|
|
3506
|
-
): $protobuf.Writer;
|
|
3507
|
-
|
|
3508
|
-
/**
|
|
3509
|
-
* [object Object],[object Object],[object Object]
|
|
3510
|
-
* @param message NixChannelLatestStableRequest message or plain object to encode
|
|
3511
|
-
* @param [writer] Writer to encode to
|
|
3512
|
-
* @returns Writer
|
|
3513
|
-
*/
|
|
3514
|
-
static encodeDelimited(
|
|
3515
|
-
message: api$NixChannelLatestStableRequest,
|
|
3516
|
-
writer?: $protobuf.Writer
|
|
3517
|
-
): $protobuf.Writer;
|
|
3518
|
-
|
|
3519
|
-
/**
|
|
3520
|
-
* Decodes a NixChannelLatestStableRequest message from the specified reader or buffer.
|
|
3521
|
-
* @param reader Reader or buffer to decode from
|
|
3522
|
-
* @param [length] Message length if known beforehand
|
|
3523
|
-
* @returns NixChannelLatestStableRequest
|
|
3524
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3525
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3526
|
-
*/
|
|
3527
|
-
static decode(
|
|
3528
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3529
|
-
length?: number
|
|
3530
|
-
): api$NixChannelLatestStableRequest;
|
|
3531
|
-
|
|
3532
|
-
/**
|
|
3533
|
-
* Decodes a NixChannelLatestStableRequest message from the specified reader or buffer, length delimited.
|
|
3534
|
-
* @param reader Reader or buffer to decode from
|
|
3535
|
-
* @returns NixChannelLatestStableRequest
|
|
3536
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3537
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3538
|
-
*/
|
|
3539
|
-
static decodeDelimited(
|
|
3540
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3541
|
-
): api$NixChannelLatestStableRequest;
|
|
3542
|
-
|
|
3543
|
-
/**
|
|
3544
|
-
* Verifies a NixChannelLatestStableRequest message.
|
|
3545
|
-
* @param message Plain object to verify
|
|
3546
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3547
|
-
*/
|
|
3548
|
-
static verify(message: {|
|
|
3549
|
-
[k: string]: any,
|
|
3550
|
-
|}): string | null;
|
|
3551
|
-
|
|
3552
|
-
/**
|
|
3553
|
-
* Creates a NixChannelLatestStableRequest message from a plain object. Also converts values to their respective internal types.
|
|
3554
|
-
* @param object Plain object
|
|
3555
|
-
* @returns NixChannelLatestStableRequest
|
|
3556
|
-
*/
|
|
3557
|
-
static fromObject(object: {|
|
|
3558
|
-
[k: string]: any,
|
|
3559
|
-
|}): api$NixChannelLatestStableRequest;
|
|
3560
|
-
|
|
3561
|
-
/**
|
|
3562
|
-
* Creates a plain object from a NixChannelLatestStableRequest message. Also converts values to other types if specified.
|
|
3563
|
-
* @param message NixChannelLatestStableRequest
|
|
3564
|
-
* @param [options] Conversion options
|
|
3565
|
-
* @returns Plain object
|
|
3566
|
-
*/
|
|
3567
|
-
static toObject(
|
|
3568
|
-
message: api$NixChannelLatestStableRequest,
|
|
3569
|
-
options?: $protobuf.IConversionOptions
|
|
3570
|
-
): {|
|
|
3571
|
-
[k: string]: any,
|
|
3572
|
-
|};
|
|
3573
|
-
|
|
3574
|
-
/**
|
|
3575
|
-
* Converts this NixChannelLatestStableRequest to JSON.
|
|
3576
|
-
* @returns JSON object
|
|
3577
|
-
*/
|
|
3578
|
-
toJSON(): {|
|
|
3579
|
-
[k: string]: any,
|
|
3580
|
-
|};
|
|
3581
|
-
}
|
|
3582
|
-
|
|
3583
|
-
/**
|
|
3584
|
-
* Properties of a NixChannelLatestStableResponse.
|
|
3585
|
-
*/
|
|
3586
|
-
declare type api$INixChannelLatestStableResponse = {|
|
|
3587
|
-
/**
|
|
3588
|
-
* NixChannelLatestStableResponse channel
|
|
3589
|
-
*/
|
|
3590
|
-
channel?: string | null,
|
|
3591
|
-
|};
|
|
3592
|
-
|
|
3593
|
-
/**
|
|
3594
|
-
* Represents a NixChannelLatestStableResponse.
|
|
3595
|
-
*/
|
|
3596
|
-
declare class api$NixChannelLatestStableResponse {
|
|
3597
|
-
/**
|
|
3598
|
-
* Constructs a new NixChannelLatestStableResponse.
|
|
3599
|
-
* @param [properties] Properties to set
|
|
3600
|
-
*/
|
|
3601
|
-
constructor(properties?: api$INixChannelLatestStableResponse): this;
|
|
3602
|
-
|
|
3603
|
-
/**
|
|
3604
|
-
* NixChannelLatestStableResponse channel.
|
|
3605
|
-
*/
|
|
3606
|
-
channel: string;
|
|
3607
|
-
|
|
3608
|
-
/**
|
|
3609
|
-
* Creates a new NixChannelLatestStableResponse instance using the specified properties.
|
|
3610
|
-
* @param [properties] Properties to set
|
|
3611
|
-
* @returns NixChannelLatestStableResponse instance
|
|
3612
|
-
*/
|
|
3613
|
-
static create(
|
|
3614
|
-
properties?: api$INixChannelLatestStableResponse
|
|
3615
|
-
): api$NixChannelLatestStableResponse;
|
|
3616
|
-
|
|
3617
|
-
/**
|
|
3618
|
-
* [object Object],[object Object],[object Object]
|
|
3619
|
-
* @param message NixChannelLatestStableResponse message or plain object to encode
|
|
3620
|
-
* @param [writer] Writer to encode to
|
|
3621
|
-
* @returns Writer
|
|
3622
|
-
*/
|
|
3623
|
-
static encode(
|
|
3624
|
-
message: api$NixChannelLatestStableResponse,
|
|
3625
|
-
writer?: $protobuf.Writer
|
|
3626
|
-
): $protobuf.Writer;
|
|
3627
|
-
|
|
3628
|
-
/**
|
|
3629
|
-
* [object Object],[object Object],[object Object]
|
|
3630
|
-
* @param message NixChannelLatestStableResponse message or plain object to encode
|
|
3631
|
-
* @param [writer] Writer to encode to
|
|
3632
|
-
* @returns Writer
|
|
3633
|
-
*/
|
|
3634
|
-
static encodeDelimited(
|
|
3635
|
-
message: api$NixChannelLatestStableResponse,
|
|
3636
|
-
writer?: $protobuf.Writer
|
|
3637
|
-
): $protobuf.Writer;
|
|
3638
|
-
|
|
3639
|
-
/**
|
|
3640
|
-
* Decodes a NixChannelLatestStableResponse message from the specified reader or buffer.
|
|
3641
|
-
* @param reader Reader or buffer to decode from
|
|
3642
|
-
* @param [length] Message length if known beforehand
|
|
3643
|
-
* @returns NixChannelLatestStableResponse
|
|
3644
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3645
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3646
|
-
*/
|
|
3647
|
-
static decode(
|
|
3648
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3649
|
-
length?: number
|
|
3650
|
-
): api$NixChannelLatestStableResponse;
|
|
3651
|
-
|
|
3652
|
-
/**
|
|
3653
|
-
* Decodes a NixChannelLatestStableResponse message from the specified reader or buffer, length delimited.
|
|
3654
|
-
* @param reader Reader or buffer to decode from
|
|
3655
|
-
* @returns NixChannelLatestStableResponse
|
|
3656
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3657
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3658
|
-
*/
|
|
3659
|
-
static decodeDelimited(
|
|
3660
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3661
|
-
): api$NixChannelLatestStableResponse;
|
|
3662
|
-
|
|
3663
|
-
/**
|
|
3664
|
-
* Verifies a NixChannelLatestStableResponse message.
|
|
3665
|
-
* @param message Plain object to verify
|
|
3666
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3667
|
-
*/
|
|
3668
|
-
static verify(message: {|
|
|
3669
|
-
[k: string]: any,
|
|
3670
|
-
|}): string | null;
|
|
3671
|
-
|
|
3672
|
-
/**
|
|
3673
|
-
* Creates a NixChannelLatestStableResponse message from a plain object. Also converts values to their respective internal types.
|
|
3674
|
-
* @param object Plain object
|
|
3675
|
-
* @returns NixChannelLatestStableResponse
|
|
3676
|
-
*/
|
|
3677
|
-
static fromObject(object: {|
|
|
3678
|
-
[k: string]: any,
|
|
3679
|
-
|}): api$NixChannelLatestStableResponse;
|
|
3680
|
-
|
|
3681
|
-
/**
|
|
3682
|
-
* Creates a plain object from a NixChannelLatestStableResponse message. Also converts values to other types if specified.
|
|
3683
|
-
* @param message NixChannelLatestStableResponse
|
|
3684
|
-
* @param [options] Conversion options
|
|
3685
|
-
* @returns Plain object
|
|
3686
|
-
*/
|
|
3687
|
-
static toObject(
|
|
3688
|
-
message: api$NixChannelLatestStableResponse,
|
|
3689
|
-
options?: $protobuf.IConversionOptions
|
|
3690
|
-
): {|
|
|
3691
|
-
[k: string]: any,
|
|
3692
|
-
|};
|
|
3693
|
-
|
|
3694
|
-
/**
|
|
3695
|
-
* Converts this NixChannelLatestStableResponse to JSON.
|
|
3696
|
-
* @returns JSON object
|
|
3697
|
-
*/
|
|
3698
|
-
toJSON(): {|
|
|
3699
|
-
[k: string]: any,
|
|
3700
|
-
|};
|
|
3701
|
-
}
|
|
3702
|
-
|
|
3703
|
-
/**
|
|
3704
|
-
* Properties of a NixPackageSearchRequest.
|
|
3705
|
-
*/
|
|
3706
|
-
declare type api$INixPackageSearchRequest = {|
|
|
3707
|
-
/**
|
|
3708
|
-
* NixPackageSearchRequest query
|
|
3709
|
-
*/
|
|
3710
|
-
query?: string | null,
|
|
3711
|
-
|};
|
|
3712
|
-
|
|
3713
|
-
/**
|
|
3714
|
-
* Represents a NixPackageSearchRequest.
|
|
3715
|
-
*/
|
|
3716
|
-
declare class api$NixPackageSearchRequest {
|
|
3717
|
-
/**
|
|
3718
|
-
* Constructs a new NixPackageSearchRequest.
|
|
3719
|
-
* @param [properties] Properties to set
|
|
3720
|
-
*/
|
|
3721
|
-
constructor(properties?: api$INixPackageSearchRequest): this;
|
|
3722
|
-
|
|
3723
|
-
/**
|
|
3724
|
-
* NixPackageSearchRequest query.
|
|
3725
|
-
*/
|
|
3726
|
-
query: string;
|
|
3727
|
-
|
|
3728
|
-
/**
|
|
3729
|
-
* Creates a new NixPackageSearchRequest instance using the specified properties.
|
|
3730
|
-
* @param [properties] Properties to set
|
|
3731
|
-
* @returns NixPackageSearchRequest instance
|
|
3732
|
-
*/
|
|
3733
|
-
static create(
|
|
3734
|
-
properties?: api$INixPackageSearchRequest
|
|
3735
|
-
): api$NixPackageSearchRequest;
|
|
3736
|
-
|
|
3737
|
-
/**
|
|
3738
|
-
* [object Object],[object Object],[object Object]
|
|
3739
|
-
* @param message NixPackageSearchRequest message or plain object to encode
|
|
3740
|
-
* @param [writer] Writer to encode to
|
|
3741
|
-
* @returns Writer
|
|
3742
|
-
*/
|
|
3743
|
-
static encode(
|
|
3744
|
-
message: api$NixPackageSearchRequest,
|
|
3745
|
-
writer?: $protobuf.Writer
|
|
3746
|
-
): $protobuf.Writer;
|
|
3747
|
-
|
|
3748
|
-
/**
|
|
3749
|
-
* [object Object],[object Object],[object Object]
|
|
3750
|
-
* @param message NixPackageSearchRequest message or plain object to encode
|
|
3751
|
-
* @param [writer] Writer to encode to
|
|
3752
|
-
* @returns Writer
|
|
3753
|
-
*/
|
|
3754
|
-
static encodeDelimited(
|
|
3755
|
-
message: api$NixPackageSearchRequest,
|
|
3756
|
-
writer?: $protobuf.Writer
|
|
3757
|
-
): $protobuf.Writer;
|
|
3758
|
-
|
|
3759
|
-
/**
|
|
3760
|
-
* Decodes a NixPackageSearchRequest message from the specified reader or buffer.
|
|
3761
|
-
* @param reader Reader or buffer to decode from
|
|
3762
|
-
* @param [length] Message length if known beforehand
|
|
3763
|
-
* @returns NixPackageSearchRequest
|
|
3764
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3765
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3766
|
-
*/
|
|
3767
|
-
static decode(
|
|
3768
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3769
|
-
length?: number
|
|
3770
|
-
): api$NixPackageSearchRequest;
|
|
3771
|
-
|
|
3772
|
-
/**
|
|
3773
|
-
* Decodes a NixPackageSearchRequest message from the specified reader or buffer, length delimited.
|
|
3774
|
-
* @param reader Reader or buffer to decode from
|
|
3775
|
-
* @returns NixPackageSearchRequest
|
|
3776
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3777
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3778
|
-
*/
|
|
3779
|
-
static decodeDelimited(
|
|
3780
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3781
|
-
): api$NixPackageSearchRequest;
|
|
3782
|
-
|
|
3783
|
-
/**
|
|
3784
|
-
* Verifies a NixPackageSearchRequest message.
|
|
3785
|
-
* @param message Plain object to verify
|
|
3786
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3787
|
-
*/
|
|
3788
|
-
static verify(message: {|
|
|
3789
|
-
[k: string]: any,
|
|
3790
|
-
|}): string | null;
|
|
3791
|
-
|
|
3792
|
-
/**
|
|
3793
|
-
* Creates a NixPackageSearchRequest message from a plain object. Also converts values to their respective internal types.
|
|
3794
|
-
* @param object Plain object
|
|
3795
|
-
* @returns NixPackageSearchRequest
|
|
3796
|
-
*/
|
|
3797
|
-
static fromObject(object: {|
|
|
3798
|
-
[k: string]: any,
|
|
3799
|
-
|}): api$NixPackageSearchRequest;
|
|
3800
|
-
|
|
3801
|
-
/**
|
|
3802
|
-
* Creates a plain object from a NixPackageSearchRequest message. Also converts values to other types if specified.
|
|
3803
|
-
* @param message NixPackageSearchRequest
|
|
3804
|
-
* @param [options] Conversion options
|
|
3805
|
-
* @returns Plain object
|
|
3806
|
-
*/
|
|
3807
|
-
static toObject(
|
|
3808
|
-
message: api$NixPackageSearchRequest,
|
|
3809
|
-
options?: $protobuf.IConversionOptions
|
|
3810
|
-
): {|
|
|
3811
|
-
[k: string]: any,
|
|
3812
|
-
|};
|
|
3813
|
-
|
|
3814
|
-
/**
|
|
3815
|
-
* Converts this NixPackageSearchRequest to JSON.
|
|
3816
|
-
* @returns JSON object
|
|
3817
|
-
*/
|
|
3818
|
-
toJSON(): {|
|
|
3819
|
-
[k: string]: any,
|
|
3820
|
-
|};
|
|
3821
|
-
}
|
|
3822
|
-
|
|
3823
|
-
/**
|
|
3824
|
-
* Properties of a NixPackageSearchResponse.
|
|
3825
|
-
*/
|
|
3826
|
-
declare type api$INixPackageSearchResponse = {|
|
|
3827
|
-
/**
|
|
3828
|
-
* NixPackageSearchResponse packages
|
|
3829
|
-
*/
|
|
3830
|
-
packages?: (api$NixPackage | api$INixPackage)[] | null,
|
|
3831
|
-
|};
|
|
3832
|
-
|
|
3833
|
-
/**
|
|
3834
|
-
* Represents a NixPackageSearchResponse.
|
|
3835
|
-
*/
|
|
3836
|
-
declare class api$NixPackageSearchResponse {
|
|
3837
|
-
/**
|
|
3838
|
-
* Constructs a new NixPackageSearchResponse.
|
|
3839
|
-
* @param [properties] Properties to set
|
|
3840
|
-
*/
|
|
3841
|
-
constructor(properties?: api$INixPackageSearchResponse): this;
|
|
3842
|
-
|
|
3843
|
-
/**
|
|
3844
|
-
* NixPackageSearchResponse packages.
|
|
3845
|
-
*/
|
|
3846
|
-
packages: api$NixPackage[];
|
|
3847
|
-
|
|
3848
|
-
/**
|
|
3849
|
-
* Creates a new NixPackageSearchResponse instance using the specified properties.
|
|
3850
|
-
* @param [properties] Properties to set
|
|
3851
|
-
* @returns NixPackageSearchResponse instance
|
|
3852
|
-
*/
|
|
3853
|
-
static create(
|
|
3854
|
-
properties?: api$INixPackageSearchResponse
|
|
3855
|
-
): api$NixPackageSearchResponse;
|
|
3856
|
-
|
|
3857
|
-
/**
|
|
3858
|
-
* [object Object],[object Object],[object Object]
|
|
3859
|
-
* @param message NixPackageSearchResponse message or plain object to encode
|
|
3860
|
-
* @param [writer] Writer to encode to
|
|
3861
|
-
* @returns Writer
|
|
3862
|
-
*/
|
|
3863
|
-
static encode(
|
|
3864
|
-
message: api$NixPackageSearchResponse,
|
|
3865
|
-
writer?: $protobuf.Writer
|
|
3866
|
-
): $protobuf.Writer;
|
|
3867
|
-
|
|
3868
|
-
/**
|
|
3869
|
-
* [object Object],[object Object],[object Object]
|
|
3870
|
-
* @param message NixPackageSearchResponse message or plain object to encode
|
|
3871
|
-
* @param [writer] Writer to encode to
|
|
3872
|
-
* @returns Writer
|
|
3873
|
-
*/
|
|
3874
|
-
static encodeDelimited(
|
|
3875
|
-
message: api$NixPackageSearchResponse,
|
|
3876
|
-
writer?: $protobuf.Writer
|
|
3877
|
-
): $protobuf.Writer;
|
|
3878
|
-
|
|
3879
|
-
/**
|
|
3880
|
-
* Decodes a NixPackageSearchResponse message from the specified reader or buffer.
|
|
3881
|
-
* @param reader Reader or buffer to decode from
|
|
3882
|
-
* @param [length] Message length if known beforehand
|
|
3883
|
-
* @returns NixPackageSearchResponse
|
|
3884
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3885
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3886
|
-
*/
|
|
3887
|
-
static decode(
|
|
3888
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
3889
|
-
length?: number
|
|
3890
|
-
): api$NixPackageSearchResponse;
|
|
3891
|
-
|
|
3892
|
-
/**
|
|
3893
|
-
* Decodes a NixPackageSearchResponse message from the specified reader or buffer, length delimited.
|
|
3894
|
-
* @param reader Reader or buffer to decode from
|
|
3895
|
-
* @returns NixPackageSearchResponse
|
|
3896
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3897
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3898
|
-
*/
|
|
3899
|
-
static decodeDelimited(
|
|
3900
|
-
reader: $protobuf.Reader | Uint8Array
|
|
3901
|
-
): api$NixPackageSearchResponse;
|
|
3902
|
-
|
|
3903
|
-
/**
|
|
3904
|
-
* Verifies a NixPackageSearchResponse message.
|
|
3905
|
-
* @param message Plain object to verify
|
|
3906
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3907
|
-
*/
|
|
3908
|
-
static verify(message: {|
|
|
3909
|
-
[k: string]: any,
|
|
3910
|
-
|}): string | null;
|
|
3911
|
-
|
|
3912
|
-
/**
|
|
3913
|
-
* Creates a NixPackageSearchResponse message from a plain object. Also converts values to their respective internal types.
|
|
3914
|
-
* @param object Plain object
|
|
3915
|
-
* @returns NixPackageSearchResponse
|
|
3916
|
-
*/
|
|
3917
|
-
static fromObject(object: {|
|
|
3918
|
-
[k: string]: any,
|
|
3919
|
-
|}): api$NixPackageSearchResponse;
|
|
3920
|
-
|
|
3921
|
-
/**
|
|
3922
|
-
* Creates a plain object from a NixPackageSearchResponse message. Also converts values to other types if specified.
|
|
3923
|
-
* @param message NixPackageSearchResponse
|
|
3924
|
-
* @param [options] Conversion options
|
|
3925
|
-
* @returns Plain object
|
|
3926
|
-
*/
|
|
3927
|
-
static toObject(
|
|
3928
|
-
message: api$NixPackageSearchResponse,
|
|
3929
|
-
options?: $protobuf.IConversionOptions
|
|
3930
|
-
): {|
|
|
3931
|
-
[k: string]: any,
|
|
3932
|
-
|};
|
|
3933
|
-
|
|
3934
|
-
/**
|
|
3935
|
-
* Converts this NixPackageSearchResponse to JSON.
|
|
3936
|
-
* @returns JSON object
|
|
3937
|
-
*/
|
|
3938
|
-
toJSON(): {|
|
|
3939
|
-
[k: string]: any,
|
|
3940
|
-
|};
|
|
3941
|
-
}
|
|
3942
|
-
|
|
3943
2200
|
/**
|
|
3944
2201
|
* Properties of a StartLSP.
|
|
3945
2202
|
*/
|