@replit/protocol 0.2.59 → 0.2.62
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 +1437 -93
- package/main/index.js +3206 -29
- package/main/index.js.flow +1903 -22
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -14,6 +14,19 @@ 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>,
|
|
17
30
|
IStartLSP: Class<api$IStartLSP>,
|
|
18
31
|
IAudio: Class<api$IAudio>,
|
|
19
32
|
IAudio2: Class<api$IAudio2>,
|
|
@@ -154,6 +167,7 @@ declare var npm$namespace$api: {|
|
|
|
154
167
|
IGitHubImportConfig: Class<api$IGitHubImportConfig>,
|
|
155
168
|
INixConfig: Class<api$INixConfig>,
|
|
156
169
|
IHostingConfig: Class<api$IHostingConfig>,
|
|
170
|
+
IAuthConfig: Class<api$IAuthConfig>,
|
|
157
171
|
IDotReplitInterp: Class<api$IDotReplitInterp>,
|
|
158
172
|
IDotReplitLanguage: Class<api$IDotReplitLanguage>,
|
|
159
173
|
ILanguageServerConfig: Class<api$ILanguageServerConfig>,
|
|
@@ -183,6 +197,19 @@ declare var npm$namespace$api: {|
|
|
|
183
197
|
IGovalToken: Class<api$IGovalToken>,
|
|
184
198
|
IGovalReplIdentity: Class<api$IGovalReplIdentity>,
|
|
185
199
|
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,
|
|
186
213
|
StartLSP: typeof api$StartLSP,
|
|
187
214
|
Audio: typeof api$Audio,
|
|
188
215
|
Audio2: typeof api$Audio2,
|
|
@@ -323,6 +350,7 @@ declare var npm$namespace$api: {|
|
|
|
323
350
|
GitHubImportConfig: typeof api$GitHubImportConfig,
|
|
324
351
|
NixConfig: typeof api$NixConfig,
|
|
325
352
|
HostingConfig: typeof api$HostingConfig,
|
|
353
|
+
AuthConfig: typeof api$AuthConfig,
|
|
326
354
|
DotReplitInterp: typeof api$DotReplitInterp,
|
|
327
355
|
DotReplitLanguage: typeof api$DotReplitLanguage,
|
|
328
356
|
LanguageServerConfig: typeof api$LanguageServerConfig,
|
|
@@ -1160,6 +1188,99 @@ declare type api$ICommand = {|
|
|
|
1160
1188
|
*/
|
|
1161
1189
|
firewallDenied?: api$FirewallDenied | api$IFirewallDenied | null,
|
|
1162
1190
|
|
|
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
|
+
|
|
1163
1284
|
/**
|
|
1164
1285
|
* Command ref
|
|
1165
1286
|
*/
|
|
@@ -1938,6 +2059,66 @@ declare class api$Command {
|
|
|
1938
2059
|
*/
|
|
1939
2060
|
firewallDenied?: api$FirewallDenied | null;
|
|
1940
2061
|
|
|
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
|
+
|
|
1941
2122
|
/**
|
|
1942
2123
|
* Command ref.
|
|
1943
2124
|
*/
|
|
@@ -2102,61 +2283,1505 @@ declare class api$Command {
|
|
|
2102
2283
|
| "dotReplitUpdateRequest"
|
|
2103
2284
|
| "dotReplitUpdateResponse"
|
|
2104
2285
|
| "startLSP"
|
|
2105
|
-
| "firewallDenied"
|
|
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";
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* Creates a new Command instance using the specified properties.
|
|
2302
|
+
* @param [properties] Properties to set
|
|
2303
|
+
* @returns Command instance
|
|
2304
|
+
*/
|
|
2305
|
+
static create(properties?: api$ICommand): api$Command;
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* [object Object],[object Object],[object Object]
|
|
2309
|
+
* @param message Command message or plain object to encode
|
|
2310
|
+
* @param [writer] Writer to encode to
|
|
2311
|
+
* @returns Writer
|
|
2312
|
+
*/
|
|
2313
|
+
static encode(
|
|
2314
|
+
message: api$Command,
|
|
2315
|
+
writer?: $protobuf.Writer
|
|
2316
|
+
): $protobuf.Writer;
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* [object Object],[object Object],[object Object]
|
|
2320
|
+
* @param message Command message or plain object to encode
|
|
2321
|
+
* @param [writer] Writer to encode to
|
|
2322
|
+
* @returns Writer
|
|
2323
|
+
*/
|
|
2324
|
+
static encodeDelimited(
|
|
2325
|
+
message: api$Command,
|
|
2326
|
+
writer?: $protobuf.Writer
|
|
2327
|
+
): $protobuf.Writer;
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* Decodes a Command message from the specified reader or buffer.
|
|
2331
|
+
* @param reader Reader or buffer to decode from
|
|
2332
|
+
* @param [length] Message length if known beforehand
|
|
2333
|
+
* @returns Command
|
|
2334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2336
|
+
*/
|
|
2337
|
+
static decode(
|
|
2338
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2339
|
+
length?: number
|
|
2340
|
+
): api$Command;
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* Decodes a Command message from the specified reader or buffer, length delimited.
|
|
2344
|
+
* @param reader Reader or buffer to decode from
|
|
2345
|
+
* @returns Command
|
|
2346
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2347
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2348
|
+
*/
|
|
2349
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Command;
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Verifies a Command message.
|
|
2353
|
+
* @param message Plain object to verify
|
|
2354
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2355
|
+
*/
|
|
2356
|
+
static verify(message: {|
|
|
2357
|
+
[k: string]: any,
|
|
2358
|
+
|}): string | null;
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* Creates a Command message from a plain object. Also converts values to their respective internal types.
|
|
2362
|
+
* @param object Plain object
|
|
2363
|
+
* @returns Command
|
|
2364
|
+
*/
|
|
2365
|
+
static fromObject(object: {|
|
|
2366
|
+
[k: string]: any,
|
|
2367
|
+
|}): api$Command;
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Creates a plain object from a Command message. Also converts values to other types if specified.
|
|
2371
|
+
* @param message Command
|
|
2372
|
+
* @param [options] Conversion options
|
|
2373
|
+
* @returns Plain object
|
|
2374
|
+
*/
|
|
2375
|
+
static toObject(
|
|
2376
|
+
message: api$Command,
|
|
2377
|
+
options?: $protobuf.IConversionOptions
|
|
2378
|
+
): {|
|
|
2379
|
+
[k: string]: any,
|
|
2380
|
+
|};
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Converts this Command to JSON.
|
|
2384
|
+
* @returns JSON object
|
|
2385
|
+
*/
|
|
2386
|
+
toJSON(): {|
|
|
2387
|
+
[k: string]: any,
|
|
2388
|
+
|};
|
|
2389
|
+
}
|
|
2390
|
+
|
|
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;
|
|
2106
3671
|
|
|
2107
3672
|
/**
|
|
2108
|
-
* Creates a
|
|
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.
|
|
2109
3719
|
* @param [properties] Properties to set
|
|
2110
|
-
* @returns Command instance
|
|
2111
3720
|
*/
|
|
2112
|
-
|
|
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;
|
|
2113
3736
|
|
|
2114
3737
|
/**
|
|
2115
3738
|
* [object Object],[object Object],[object Object]
|
|
2116
|
-
* @param message
|
|
3739
|
+
* @param message NixPackageSearchRequest message or plain object to encode
|
|
2117
3740
|
* @param [writer] Writer to encode to
|
|
2118
3741
|
* @returns Writer
|
|
2119
3742
|
*/
|
|
2120
3743
|
static encode(
|
|
2121
|
-
message: api$
|
|
3744
|
+
message: api$NixPackageSearchRequest,
|
|
2122
3745
|
writer?: $protobuf.Writer
|
|
2123
3746
|
): $protobuf.Writer;
|
|
2124
3747
|
|
|
2125
3748
|
/**
|
|
2126
3749
|
* [object Object],[object Object],[object Object]
|
|
2127
|
-
* @param message
|
|
3750
|
+
* @param message NixPackageSearchRequest message or plain object to encode
|
|
2128
3751
|
* @param [writer] Writer to encode to
|
|
2129
3752
|
* @returns Writer
|
|
2130
3753
|
*/
|
|
2131
3754
|
static encodeDelimited(
|
|
2132
|
-
message: api$
|
|
3755
|
+
message: api$NixPackageSearchRequest,
|
|
2133
3756
|
writer?: $protobuf.Writer
|
|
2134
3757
|
): $protobuf.Writer;
|
|
2135
3758
|
|
|
2136
3759
|
/**
|
|
2137
|
-
* Decodes a
|
|
3760
|
+
* Decodes a NixPackageSearchRequest message from the specified reader or buffer.
|
|
2138
3761
|
* @param reader Reader or buffer to decode from
|
|
2139
3762
|
* @param [length] Message length if known beforehand
|
|
2140
|
-
* @returns
|
|
3763
|
+
* @returns NixPackageSearchRequest
|
|
2141
3764
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2142
3765
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2143
3766
|
*/
|
|
2144
3767
|
static decode(
|
|
2145
3768
|
reader: $protobuf.Reader | Uint8Array,
|
|
2146
3769
|
length?: number
|
|
2147
|
-
): api$
|
|
3770
|
+
): api$NixPackageSearchRequest;
|
|
2148
3771
|
|
|
2149
3772
|
/**
|
|
2150
|
-
* Decodes a
|
|
3773
|
+
* Decodes a NixPackageSearchRequest message from the specified reader or buffer, length delimited.
|
|
2151
3774
|
* @param reader Reader or buffer to decode from
|
|
2152
|
-
* @returns
|
|
3775
|
+
* @returns NixPackageSearchRequest
|
|
2153
3776
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2154
3777
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2155
3778
|
*/
|
|
2156
|
-
static decodeDelimited(
|
|
3779
|
+
static decodeDelimited(
|
|
3780
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3781
|
+
): api$NixPackageSearchRequest;
|
|
2157
3782
|
|
|
2158
3783
|
/**
|
|
2159
|
-
* Verifies a
|
|
3784
|
+
* Verifies a NixPackageSearchRequest message.
|
|
2160
3785
|
* @param message Plain object to verify
|
|
2161
3786
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2162
3787
|
*/
|
|
@@ -2165,29 +3790,149 @@ declare class api$Command {
|
|
|
2165
3790
|
|}): string | null;
|
|
2166
3791
|
|
|
2167
3792
|
/**
|
|
2168
|
-
* Creates a
|
|
3793
|
+
* Creates a NixPackageSearchRequest message from a plain object. Also converts values to their respective internal types.
|
|
2169
3794
|
* @param object Plain object
|
|
2170
|
-
* @returns
|
|
3795
|
+
* @returns NixPackageSearchRequest
|
|
2171
3796
|
*/
|
|
2172
3797
|
static fromObject(object: {|
|
|
2173
3798
|
[k: string]: any,
|
|
2174
|
-
|}): api$
|
|
3799
|
+
|}): api$NixPackageSearchRequest;
|
|
2175
3800
|
|
|
2176
3801
|
/**
|
|
2177
|
-
* Creates a plain object from a
|
|
2178
|
-
* @param message
|
|
3802
|
+
* Creates a plain object from a NixPackageSearchRequest message. Also converts values to other types if specified.
|
|
3803
|
+
* @param message NixPackageSearchRequest
|
|
2179
3804
|
* @param [options] Conversion options
|
|
2180
3805
|
* @returns Plain object
|
|
2181
3806
|
*/
|
|
2182
3807
|
static toObject(
|
|
2183
|
-
message: api$
|
|
3808
|
+
message: api$NixPackageSearchRequest,
|
|
2184
3809
|
options?: $protobuf.IConversionOptions
|
|
2185
3810
|
): {|
|
|
2186
3811
|
[k: string]: any,
|
|
2187
3812
|
|};
|
|
2188
3813
|
|
|
2189
3814
|
/**
|
|
2190
|
-
* Converts this
|
|
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.
|
|
2191
3936
|
* @returns JSON object
|
|
2192
3937
|
*/
|
|
2193
3938
|
toJSON(): {|
|
|
@@ -19912,6 +21657,11 @@ declare type api$IDotReplit = {|
|
|
|
19912
21657
|
* DotReplit gitHubImport
|
|
19913
21658
|
*/
|
|
19914
21659
|
gitHubImport?: api$GitHubImportConfig | api$IGitHubImportConfig | null,
|
|
21660
|
+
|
|
21661
|
+
/**
|
|
21662
|
+
* DotReplit auth
|
|
21663
|
+
*/
|
|
21664
|
+
auth?: api$AuthConfig | api$IAuthConfig | null,
|
|
19915
21665
|
|};
|
|
19916
21666
|
|
|
19917
21667
|
/**
|
|
@@ -20008,6 +21758,11 @@ declare class api$DotReplit {
|
|
|
20008
21758
|
*/
|
|
20009
21759
|
gitHubImport?: api$GitHubImportConfig | null;
|
|
20010
21760
|
|
|
21761
|
+
/**
|
|
21762
|
+
* DotReplit auth.
|
|
21763
|
+
*/
|
|
21764
|
+
auth?: api$AuthConfig | null;
|
|
21765
|
+
|
|
20011
21766
|
/**
|
|
20012
21767
|
* Creates a new DotReplit instance using the specified properties.
|
|
20013
21768
|
* @param [properties] Properties to set
|
|
@@ -20461,6 +22216,122 @@ declare class api$HostingConfig {
|
|
|
20461
22216
|
|};
|
|
20462
22217
|
}
|
|
20463
22218
|
|
|
22219
|
+
/**
|
|
22220
|
+
* Properties of an AuthConfig.
|
|
22221
|
+
*/
|
|
22222
|
+
declare type api$IAuthConfig = {|
|
|
22223
|
+
/**
|
|
22224
|
+
* AuthConfig enabled
|
|
22225
|
+
*/
|
|
22226
|
+
enabled?: boolean | null,
|
|
22227
|
+
|};
|
|
22228
|
+
|
|
22229
|
+
/**
|
|
22230
|
+
* Represents an AuthConfig.
|
|
22231
|
+
*/
|
|
22232
|
+
declare class api$AuthConfig {
|
|
22233
|
+
/**
|
|
22234
|
+
* Constructs a new AuthConfig.
|
|
22235
|
+
* @param [properties] Properties to set
|
|
22236
|
+
*/
|
|
22237
|
+
constructor(properties?: api$IAuthConfig): this;
|
|
22238
|
+
|
|
22239
|
+
/**
|
|
22240
|
+
* AuthConfig enabled.
|
|
22241
|
+
*/
|
|
22242
|
+
enabled: boolean;
|
|
22243
|
+
|
|
22244
|
+
/**
|
|
22245
|
+
* Creates a new AuthConfig instance using the specified properties.
|
|
22246
|
+
* @param [properties] Properties to set
|
|
22247
|
+
* @returns AuthConfig instance
|
|
22248
|
+
*/
|
|
22249
|
+
static create(properties?: api$IAuthConfig): api$AuthConfig;
|
|
22250
|
+
|
|
22251
|
+
/**
|
|
22252
|
+
* [object Object],[object Object],[object Object]
|
|
22253
|
+
* @param message AuthConfig message or plain object to encode
|
|
22254
|
+
* @param [writer] Writer to encode to
|
|
22255
|
+
* @returns Writer
|
|
22256
|
+
*/
|
|
22257
|
+
static encode(
|
|
22258
|
+
message: api$AuthConfig,
|
|
22259
|
+
writer?: $protobuf.Writer
|
|
22260
|
+
): $protobuf.Writer;
|
|
22261
|
+
|
|
22262
|
+
/**
|
|
22263
|
+
* [object Object],[object Object],[object Object]
|
|
22264
|
+
* @param message AuthConfig message or plain object to encode
|
|
22265
|
+
* @param [writer] Writer to encode to
|
|
22266
|
+
* @returns Writer
|
|
22267
|
+
*/
|
|
22268
|
+
static encodeDelimited(
|
|
22269
|
+
message: api$AuthConfig,
|
|
22270
|
+
writer?: $protobuf.Writer
|
|
22271
|
+
): $protobuf.Writer;
|
|
22272
|
+
|
|
22273
|
+
/**
|
|
22274
|
+
* Decodes an AuthConfig message from the specified reader or buffer.
|
|
22275
|
+
* @param reader Reader or buffer to decode from
|
|
22276
|
+
* @param [length] Message length if known beforehand
|
|
22277
|
+
* @returns AuthConfig
|
|
22278
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22279
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22280
|
+
*/
|
|
22281
|
+
static decode(
|
|
22282
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
22283
|
+
length?: number
|
|
22284
|
+
): api$AuthConfig;
|
|
22285
|
+
|
|
22286
|
+
/**
|
|
22287
|
+
* Decodes an AuthConfig message from the specified reader or buffer, length delimited.
|
|
22288
|
+
* @param reader Reader or buffer to decode from
|
|
22289
|
+
* @returns AuthConfig
|
|
22290
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22291
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22292
|
+
*/
|
|
22293
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$AuthConfig;
|
|
22294
|
+
|
|
22295
|
+
/**
|
|
22296
|
+
* Verifies an AuthConfig message.
|
|
22297
|
+
* @param message Plain object to verify
|
|
22298
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22299
|
+
*/
|
|
22300
|
+
static verify(message: {|
|
|
22301
|
+
[k: string]: any,
|
|
22302
|
+
|}): string | null;
|
|
22303
|
+
|
|
22304
|
+
/**
|
|
22305
|
+
* Creates an AuthConfig message from a plain object. Also converts values to their respective internal types.
|
|
22306
|
+
* @param object Plain object
|
|
22307
|
+
* @returns AuthConfig
|
|
22308
|
+
*/
|
|
22309
|
+
static fromObject(object: {|
|
|
22310
|
+
[k: string]: any,
|
|
22311
|
+
|}): api$AuthConfig;
|
|
22312
|
+
|
|
22313
|
+
/**
|
|
22314
|
+
* Creates a plain object from an AuthConfig message. Also converts values to other types if specified.
|
|
22315
|
+
* @param message AuthConfig
|
|
22316
|
+
* @param [options] Conversion options
|
|
22317
|
+
* @returns Plain object
|
|
22318
|
+
*/
|
|
22319
|
+
static toObject(
|
|
22320
|
+
message: api$AuthConfig,
|
|
22321
|
+
options?: $protobuf.IConversionOptions
|
|
22322
|
+
): {|
|
|
22323
|
+
[k: string]: any,
|
|
22324
|
+
|};
|
|
22325
|
+
|
|
22326
|
+
/**
|
|
22327
|
+
* Converts this AuthConfig to JSON.
|
|
22328
|
+
* @returns JSON object
|
|
22329
|
+
*/
|
|
22330
|
+
toJSON(): {|
|
|
22331
|
+
[k: string]: any,
|
|
22332
|
+
|};
|
|
22333
|
+
}
|
|
22334
|
+
|
|
20464
22335
|
/**
|
|
20465
22336
|
* Properties of a DotReplitInterp.
|
|
20466
22337
|
*/
|
|
@@ -24890,6 +26761,11 @@ declare type api$IGovalReplIdentity = {|
|
|
|
24890
26761
|
* GovalReplIdentity aud
|
|
24891
26762
|
*/
|
|
24892
26763
|
aud?: string | null,
|
|
26764
|
+
|
|
26765
|
+
/**
|
|
26766
|
+
* GovalReplIdentity ephemeral
|
|
26767
|
+
*/
|
|
26768
|
+
ephemeral?: boolean | null,
|
|
24893
26769
|
|};
|
|
24894
26770
|
|
|
24895
26771
|
/**
|
|
@@ -24922,6 +26798,11 @@ declare class api$GovalReplIdentity {
|
|
|
24922
26798
|
*/
|
|
24923
26799
|
aud: string;
|
|
24924
26800
|
|
|
26801
|
+
/**
|
|
26802
|
+
* GovalReplIdentity ephemeral.
|
|
26803
|
+
*/
|
|
26804
|
+
ephemeral: boolean;
|
|
26805
|
+
|
|
24925
26806
|
/**
|
|
24926
26807
|
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
24927
26808
|
* @param [properties] Properties to set
|