@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 CHANGED
@@ -458,42 +458,6 @@ export namespace api {
458
458
  /** Command firewallDenied */
459
459
  firewallDenied?: (api.FirewallDenied|api.IFirewallDenied|null);
460
460
 
461
- /** Command nixPackageAddRequest */
462
- nixPackageAddRequest?: (api.NixPackageAddRequest|api.INixPackageAddRequest|null);
463
-
464
- /** Command nixPackageAddResponse */
465
- nixPackageAddResponse?: (api.NixPackageAddResponse|api.INixPackageAddResponse|null);
466
-
467
- /** Command nixPackageRemoveRequest */
468
- nixPackageRemoveRequest?: (api.NixPackageRemoveRequest|api.INixPackageRemoveRequest|null);
469
-
470
- /** Command nixPackageRemoveResponse */
471
- nixPackageRemoveResponse?: (api.NixPackageRemoveResponse|api.INixPackageRemoveResponse|null);
472
-
473
- /** Command nixPackageListRequest */
474
- nixPackageListRequest?: (api.NixPackageListRequest|api.INixPackageListRequest|null);
475
-
476
- /** Command nixPackageListResponse */
477
- nixPackageListResponse?: (api.NixPackageListResponse|api.INixPackageListResponse|null);
478
-
479
- /** Command nixChannelsRequest */
480
- nixChannelsRequest?: (api.NixChannelsRequest|api.INixChannelsRequest|null);
481
-
482
- /** Command nixChannelsResponse */
483
- nixChannelsResponse?: (api.NixChannelsResponse|api.INixChannelsResponse|null);
484
-
485
- /** Command nixChannelLatestStableRequest */
486
- nixChannelLatestStableRequest?: (api.NixChannelLatestStableRequest|api.INixChannelLatestStableRequest|null);
487
-
488
- /** Command nixChannelLatestStableResponse */
489
- nixChannelLatestStableResponse?: (api.NixChannelLatestStableResponse|api.INixChannelLatestStableResponse|null);
490
-
491
- /** Command nixPackageSearchRequest */
492
- nixPackageSearchRequest?: (api.NixPackageSearchRequest|api.INixPackageSearchRequest|null);
493
-
494
- /** Command nixPackageSearchResponse */
495
- nixPackageSearchResponse?: (api.NixPackageSearchResponse|api.INixPackageSearchResponse|null);
496
-
497
461
  /** Command ref */
498
462
  ref?: (string|null);
499
463
 
@@ -963,42 +927,6 @@ export namespace api {
963
927
  /** Command firewallDenied. */
964
928
  public firewallDenied?: (api.FirewallDenied|null);
965
929
 
966
- /** Command nixPackageAddRequest. */
967
- public nixPackageAddRequest?: (api.NixPackageAddRequest|null);
968
-
969
- /** Command nixPackageAddResponse. */
970
- public nixPackageAddResponse?: (api.NixPackageAddResponse|null);
971
-
972
- /** Command nixPackageRemoveRequest. */
973
- public nixPackageRemoveRequest?: (api.NixPackageRemoveRequest|null);
974
-
975
- /** Command nixPackageRemoveResponse. */
976
- public nixPackageRemoveResponse?: (api.NixPackageRemoveResponse|null);
977
-
978
- /** Command nixPackageListRequest. */
979
- public nixPackageListRequest?: (api.NixPackageListRequest|null);
980
-
981
- /** Command nixPackageListResponse. */
982
- public nixPackageListResponse?: (api.NixPackageListResponse|null);
983
-
984
- /** Command nixChannelsRequest. */
985
- public nixChannelsRequest?: (api.NixChannelsRequest|null);
986
-
987
- /** Command nixChannelsResponse. */
988
- public nixChannelsResponse?: (api.NixChannelsResponse|null);
989
-
990
- /** Command nixChannelLatestStableRequest. */
991
- public nixChannelLatestStableRequest?: (api.NixChannelLatestStableRequest|null);
992
-
993
- /** Command nixChannelLatestStableResponse. */
994
- public nixChannelLatestStableResponse?: (api.NixChannelLatestStableResponse|null);
995
-
996
- /** Command nixPackageSearchRequest. */
997
- public nixPackageSearchRequest?: (api.NixPackageSearchRequest|null);
998
-
999
- /** Command nixPackageSearchResponse. */
1000
- public nixPackageSearchResponse?: (api.NixPackageSearchResponse|null);
1001
-
1002
930
  /** Command ref. */
1003
931
  public ref: string;
1004
932
 
@@ -1006,7 +934,7 @@ export namespace api {
1006
934
  public traceInfo: { [k: string]: string };
1007
935
 
1008
936
  /** Command body. */
1009
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
937
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied");
1010
938
 
1011
939
  /**
1012
940
  * Creates a new Command instance using the specified properties.
@@ -1079,1176 +1007,6 @@ export namespace api {
1079
1007
  public toJSON(): { [k: string]: any };
1080
1008
  }
1081
1009
 
1082
- /** Properties of a NixPackageAddRequest. */
1083
- interface INixPackageAddRequest {
1084
-
1085
- /** NixPackageAddRequest packages */
1086
- packages?: (string[]|null);
1087
- }
1088
-
1089
- /** Represents a NixPackageAddRequest. */
1090
- class NixPackageAddRequest {
1091
-
1092
- /**
1093
- * Constructs a new NixPackageAddRequest.
1094
- * @param [properties] Properties to set
1095
- */
1096
- private constructor(properties?: api.INixPackageAddRequest);
1097
-
1098
- /** NixPackageAddRequest packages. */
1099
- public packages: string[];
1100
-
1101
- /**
1102
- * Creates a new NixPackageAddRequest instance using the specified properties.
1103
- * @param [properties] Properties to set
1104
- * @returns NixPackageAddRequest instance
1105
- */
1106
- public static create(properties?: api.INixPackageAddRequest): api.NixPackageAddRequest;
1107
-
1108
- /**
1109
- * Encodes the specified NixPackageAddRequest message. Does not implicitly {@link api.NixPackageAddRequest.verify|verify} messages.
1110
- * @param message NixPackageAddRequest message or plain object to encode
1111
- * @param [writer] Writer to encode to
1112
- * @returns Writer
1113
- */
1114
- public static encode(message: api.NixPackageAddRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1115
-
1116
- /**
1117
- * Encodes the specified NixPackageAddRequest message, length delimited. Does not implicitly {@link api.NixPackageAddRequest.verify|verify} messages.
1118
- * @param message NixPackageAddRequest message or plain object to encode
1119
- * @param [writer] Writer to encode to
1120
- * @returns Writer
1121
- */
1122
- public static encodeDelimited(message: api.NixPackageAddRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1123
-
1124
- /**
1125
- * Decodes a NixPackageAddRequest message from the specified reader or buffer.
1126
- * @param reader Reader or buffer to decode from
1127
- * @param [length] Message length if known beforehand
1128
- * @returns NixPackageAddRequest
1129
- * @throws {Error} If the payload is not a reader or valid buffer
1130
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1131
- */
1132
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageAddRequest;
1133
-
1134
- /**
1135
- * Decodes a NixPackageAddRequest message from the specified reader or buffer, length delimited.
1136
- * @param reader Reader or buffer to decode from
1137
- * @returns NixPackageAddRequest
1138
- * @throws {Error} If the payload is not a reader or valid buffer
1139
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1140
- */
1141
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageAddRequest;
1142
-
1143
- /**
1144
- * Verifies a NixPackageAddRequest message.
1145
- * @param message Plain object to verify
1146
- * @returns `null` if valid, otherwise the reason why it is not
1147
- */
1148
- public static verify(message: { [k: string]: any }): (string|null);
1149
-
1150
- /**
1151
- * Creates a NixPackageAddRequest message from a plain object. Also converts values to their respective internal types.
1152
- * @param object Plain object
1153
- * @returns NixPackageAddRequest
1154
- */
1155
- public static fromObject(object: { [k: string]: any }): api.NixPackageAddRequest;
1156
-
1157
- /**
1158
- * Creates a plain object from a NixPackageAddRequest message. Also converts values to other types if specified.
1159
- * @param message NixPackageAddRequest
1160
- * @param [options] Conversion options
1161
- * @returns Plain object
1162
- */
1163
- public static toObject(message: api.NixPackageAddRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1164
-
1165
- /**
1166
- * Converts this NixPackageAddRequest to JSON.
1167
- * @returns JSON object
1168
- */
1169
- public toJSON(): { [k: string]: any };
1170
- }
1171
-
1172
- /** Properties of a NixPackageAddResponse. */
1173
- interface INixPackageAddResponse {
1174
- }
1175
-
1176
- /** Represents a NixPackageAddResponse. */
1177
- class NixPackageAddResponse {
1178
-
1179
- /**
1180
- * Constructs a new NixPackageAddResponse.
1181
- * @param [properties] Properties to set
1182
- */
1183
- private constructor(properties?: api.INixPackageAddResponse);
1184
-
1185
- /**
1186
- * Creates a new NixPackageAddResponse instance using the specified properties.
1187
- * @param [properties] Properties to set
1188
- * @returns NixPackageAddResponse instance
1189
- */
1190
- public static create(properties?: api.INixPackageAddResponse): api.NixPackageAddResponse;
1191
-
1192
- /**
1193
- * Encodes the specified NixPackageAddResponse message. Does not implicitly {@link api.NixPackageAddResponse.verify|verify} messages.
1194
- * @param message NixPackageAddResponse message or plain object to encode
1195
- * @param [writer] Writer to encode to
1196
- * @returns Writer
1197
- */
1198
- public static encode(message: api.NixPackageAddResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1199
-
1200
- /**
1201
- * Encodes the specified NixPackageAddResponse message, length delimited. Does not implicitly {@link api.NixPackageAddResponse.verify|verify} messages.
1202
- * @param message NixPackageAddResponse message or plain object to encode
1203
- * @param [writer] Writer to encode to
1204
- * @returns Writer
1205
- */
1206
- public static encodeDelimited(message: api.NixPackageAddResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1207
-
1208
- /**
1209
- * Decodes a NixPackageAddResponse message from the specified reader or buffer.
1210
- * @param reader Reader or buffer to decode from
1211
- * @param [length] Message length if known beforehand
1212
- * @returns NixPackageAddResponse
1213
- * @throws {Error} If the payload is not a reader or valid buffer
1214
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1215
- */
1216
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageAddResponse;
1217
-
1218
- /**
1219
- * Decodes a NixPackageAddResponse message from the specified reader or buffer, length delimited.
1220
- * @param reader Reader or buffer to decode from
1221
- * @returns NixPackageAddResponse
1222
- * @throws {Error} If the payload is not a reader or valid buffer
1223
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1224
- */
1225
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageAddResponse;
1226
-
1227
- /**
1228
- * Verifies a NixPackageAddResponse message.
1229
- * @param message Plain object to verify
1230
- * @returns `null` if valid, otherwise the reason why it is not
1231
- */
1232
- public static verify(message: { [k: string]: any }): (string|null);
1233
-
1234
- /**
1235
- * Creates a NixPackageAddResponse message from a plain object. Also converts values to their respective internal types.
1236
- * @param object Plain object
1237
- * @returns NixPackageAddResponse
1238
- */
1239
- public static fromObject(object: { [k: string]: any }): api.NixPackageAddResponse;
1240
-
1241
- /**
1242
- * Creates a plain object from a NixPackageAddResponse message. Also converts values to other types if specified.
1243
- * @param message NixPackageAddResponse
1244
- * @param [options] Conversion options
1245
- * @returns Plain object
1246
- */
1247
- public static toObject(message: api.NixPackageAddResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1248
-
1249
- /**
1250
- * Converts this NixPackageAddResponse to JSON.
1251
- * @returns JSON object
1252
- */
1253
- public toJSON(): { [k: string]: any };
1254
- }
1255
-
1256
- /** Properties of a NixPackageRemoveRequest. */
1257
- interface INixPackageRemoveRequest {
1258
-
1259
- /** NixPackageRemoveRequest packages */
1260
- packages?: (string[]|null);
1261
- }
1262
-
1263
- /** Represents a NixPackageRemoveRequest. */
1264
- class NixPackageRemoveRequest {
1265
-
1266
- /**
1267
- * Constructs a new NixPackageRemoveRequest.
1268
- * @param [properties] Properties to set
1269
- */
1270
- private constructor(properties?: api.INixPackageRemoveRequest);
1271
-
1272
- /** NixPackageRemoveRequest packages. */
1273
- public packages: string[];
1274
-
1275
- /**
1276
- * Creates a new NixPackageRemoveRequest instance using the specified properties.
1277
- * @param [properties] Properties to set
1278
- * @returns NixPackageRemoveRequest instance
1279
- */
1280
- public static create(properties?: api.INixPackageRemoveRequest): api.NixPackageRemoveRequest;
1281
-
1282
- /**
1283
- * Encodes the specified NixPackageRemoveRequest message. Does not implicitly {@link api.NixPackageRemoveRequest.verify|verify} messages.
1284
- * @param message NixPackageRemoveRequest message or plain object to encode
1285
- * @param [writer] Writer to encode to
1286
- * @returns Writer
1287
- */
1288
- public static encode(message: api.NixPackageRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1289
-
1290
- /**
1291
- * Encodes the specified NixPackageRemoveRequest message, length delimited. Does not implicitly {@link api.NixPackageRemoveRequest.verify|verify} messages.
1292
- * @param message NixPackageRemoveRequest message or plain object to encode
1293
- * @param [writer] Writer to encode to
1294
- * @returns Writer
1295
- */
1296
- public static encodeDelimited(message: api.NixPackageRemoveRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1297
-
1298
- /**
1299
- * Decodes a NixPackageRemoveRequest message from the specified reader or buffer.
1300
- * @param reader Reader or buffer to decode from
1301
- * @param [length] Message length if known beforehand
1302
- * @returns NixPackageRemoveRequest
1303
- * @throws {Error} If the payload is not a reader or valid buffer
1304
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1305
- */
1306
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageRemoveRequest;
1307
-
1308
- /**
1309
- * Decodes a NixPackageRemoveRequest message from the specified reader or buffer, length delimited.
1310
- * @param reader Reader or buffer to decode from
1311
- * @returns NixPackageRemoveRequest
1312
- * @throws {Error} If the payload is not a reader or valid buffer
1313
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1314
- */
1315
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageRemoveRequest;
1316
-
1317
- /**
1318
- * Verifies a NixPackageRemoveRequest message.
1319
- * @param message Plain object to verify
1320
- * @returns `null` if valid, otherwise the reason why it is not
1321
- */
1322
- public static verify(message: { [k: string]: any }): (string|null);
1323
-
1324
- /**
1325
- * Creates a NixPackageRemoveRequest message from a plain object. Also converts values to their respective internal types.
1326
- * @param object Plain object
1327
- * @returns NixPackageRemoveRequest
1328
- */
1329
- public static fromObject(object: { [k: string]: any }): api.NixPackageRemoveRequest;
1330
-
1331
- /**
1332
- * Creates a plain object from a NixPackageRemoveRequest message. Also converts values to other types if specified.
1333
- * @param message NixPackageRemoveRequest
1334
- * @param [options] Conversion options
1335
- * @returns Plain object
1336
- */
1337
- public static toObject(message: api.NixPackageRemoveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1338
-
1339
- /**
1340
- * Converts this NixPackageRemoveRequest to JSON.
1341
- * @returns JSON object
1342
- */
1343
- public toJSON(): { [k: string]: any };
1344
- }
1345
-
1346
- /** Properties of a NixPackageRemoveResponse. */
1347
- interface INixPackageRemoveResponse {
1348
- }
1349
-
1350
- /** Represents a NixPackageRemoveResponse. */
1351
- class NixPackageRemoveResponse {
1352
-
1353
- /**
1354
- * Constructs a new NixPackageRemoveResponse.
1355
- * @param [properties] Properties to set
1356
- */
1357
- private constructor(properties?: api.INixPackageRemoveResponse);
1358
-
1359
- /**
1360
- * Creates a new NixPackageRemoveResponse instance using the specified properties.
1361
- * @param [properties] Properties to set
1362
- * @returns NixPackageRemoveResponse instance
1363
- */
1364
- public static create(properties?: api.INixPackageRemoveResponse): api.NixPackageRemoveResponse;
1365
-
1366
- /**
1367
- * Encodes the specified NixPackageRemoveResponse message. Does not implicitly {@link api.NixPackageRemoveResponse.verify|verify} messages.
1368
- * @param message NixPackageRemoveResponse message or plain object to encode
1369
- * @param [writer] Writer to encode to
1370
- * @returns Writer
1371
- */
1372
- public static encode(message: api.NixPackageRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1373
-
1374
- /**
1375
- * Encodes the specified NixPackageRemoveResponse message, length delimited. Does not implicitly {@link api.NixPackageRemoveResponse.verify|verify} messages.
1376
- * @param message NixPackageRemoveResponse message or plain object to encode
1377
- * @param [writer] Writer to encode to
1378
- * @returns Writer
1379
- */
1380
- public static encodeDelimited(message: api.NixPackageRemoveResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1381
-
1382
- /**
1383
- * Decodes a NixPackageRemoveResponse message from the specified reader or buffer.
1384
- * @param reader Reader or buffer to decode from
1385
- * @param [length] Message length if known beforehand
1386
- * @returns NixPackageRemoveResponse
1387
- * @throws {Error} If the payload is not a reader or valid buffer
1388
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1389
- */
1390
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageRemoveResponse;
1391
-
1392
- /**
1393
- * Decodes a NixPackageRemoveResponse message from the specified reader or buffer, length delimited.
1394
- * @param reader Reader or buffer to decode from
1395
- * @returns NixPackageRemoveResponse
1396
- * @throws {Error} If the payload is not a reader or valid buffer
1397
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1398
- */
1399
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageRemoveResponse;
1400
-
1401
- /**
1402
- * Verifies a NixPackageRemoveResponse message.
1403
- * @param message Plain object to verify
1404
- * @returns `null` if valid, otherwise the reason why it is not
1405
- */
1406
- public static verify(message: { [k: string]: any }): (string|null);
1407
-
1408
- /**
1409
- * Creates a NixPackageRemoveResponse message from a plain object. Also converts values to their respective internal types.
1410
- * @param object Plain object
1411
- * @returns NixPackageRemoveResponse
1412
- */
1413
- public static fromObject(object: { [k: string]: any }): api.NixPackageRemoveResponse;
1414
-
1415
- /**
1416
- * Creates a plain object from a NixPackageRemoveResponse message. Also converts values to other types if specified.
1417
- * @param message NixPackageRemoveResponse
1418
- * @param [options] Conversion options
1419
- * @returns Plain object
1420
- */
1421
- public static toObject(message: api.NixPackageRemoveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1422
-
1423
- /**
1424
- * Converts this NixPackageRemoveResponse to JSON.
1425
- * @returns JSON object
1426
- */
1427
- public toJSON(): { [k: string]: any };
1428
- }
1429
-
1430
- /** Properties of a NixPackageListRequest. */
1431
- interface INixPackageListRequest {
1432
- }
1433
-
1434
- /** Represents a NixPackageListRequest. */
1435
- class NixPackageListRequest {
1436
-
1437
- /**
1438
- * Constructs a new NixPackageListRequest.
1439
- * @param [properties] Properties to set
1440
- */
1441
- private constructor(properties?: api.INixPackageListRequest);
1442
-
1443
- /**
1444
- * Creates a new NixPackageListRequest instance using the specified properties.
1445
- * @param [properties] Properties to set
1446
- * @returns NixPackageListRequest instance
1447
- */
1448
- public static create(properties?: api.INixPackageListRequest): api.NixPackageListRequest;
1449
-
1450
- /**
1451
- * Encodes the specified NixPackageListRequest message. Does not implicitly {@link api.NixPackageListRequest.verify|verify} messages.
1452
- * @param message NixPackageListRequest message or plain object to encode
1453
- * @param [writer] Writer to encode to
1454
- * @returns Writer
1455
- */
1456
- public static encode(message: api.NixPackageListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1457
-
1458
- /**
1459
- * Encodes the specified NixPackageListRequest message, length delimited. Does not implicitly {@link api.NixPackageListRequest.verify|verify} messages.
1460
- * @param message NixPackageListRequest message or plain object to encode
1461
- * @param [writer] Writer to encode to
1462
- * @returns Writer
1463
- */
1464
- public static encodeDelimited(message: api.NixPackageListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1465
-
1466
- /**
1467
- * Decodes a NixPackageListRequest message from the specified reader or buffer.
1468
- * @param reader Reader or buffer to decode from
1469
- * @param [length] Message length if known beforehand
1470
- * @returns NixPackageListRequest
1471
- * @throws {Error} If the payload is not a reader or valid buffer
1472
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1473
- */
1474
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageListRequest;
1475
-
1476
- /**
1477
- * Decodes a NixPackageListRequest message from the specified reader or buffer, length delimited.
1478
- * @param reader Reader or buffer to decode from
1479
- * @returns NixPackageListRequest
1480
- * @throws {Error} If the payload is not a reader or valid buffer
1481
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1482
- */
1483
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageListRequest;
1484
-
1485
- /**
1486
- * Verifies a NixPackageListRequest message.
1487
- * @param message Plain object to verify
1488
- * @returns `null` if valid, otherwise the reason why it is not
1489
- */
1490
- public static verify(message: { [k: string]: any }): (string|null);
1491
-
1492
- /**
1493
- * Creates a NixPackageListRequest message from a plain object. Also converts values to their respective internal types.
1494
- * @param object Plain object
1495
- * @returns NixPackageListRequest
1496
- */
1497
- public static fromObject(object: { [k: string]: any }): api.NixPackageListRequest;
1498
-
1499
- /**
1500
- * Creates a plain object from a NixPackageListRequest message. Also converts values to other types if specified.
1501
- * @param message NixPackageListRequest
1502
- * @param [options] Conversion options
1503
- * @returns Plain object
1504
- */
1505
- public static toObject(message: api.NixPackageListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1506
-
1507
- /**
1508
- * Converts this NixPackageListRequest to JSON.
1509
- * @returns JSON object
1510
- */
1511
- public toJSON(): { [k: string]: any };
1512
- }
1513
-
1514
- /** Properties of a NixPackageListResponse. */
1515
- interface INixPackageListResponse {
1516
-
1517
- /** NixPackageListResponse packages */
1518
- packages?: ((api.NixPackage|api.INixPackage)[]|null);
1519
- }
1520
-
1521
- /** Represents a NixPackageListResponse. */
1522
- class NixPackageListResponse {
1523
-
1524
- /**
1525
- * Constructs a new NixPackageListResponse.
1526
- * @param [properties] Properties to set
1527
- */
1528
- private constructor(properties?: api.INixPackageListResponse);
1529
-
1530
- /** NixPackageListResponse packages. */
1531
- public packages: api.NixPackage[];
1532
-
1533
- /**
1534
- * Creates a new NixPackageListResponse instance using the specified properties.
1535
- * @param [properties] Properties to set
1536
- * @returns NixPackageListResponse instance
1537
- */
1538
- public static create(properties?: api.INixPackageListResponse): api.NixPackageListResponse;
1539
-
1540
- /**
1541
- * Encodes the specified NixPackageListResponse message. Does not implicitly {@link api.NixPackageListResponse.verify|verify} messages.
1542
- * @param message NixPackageListResponse message or plain object to encode
1543
- * @param [writer] Writer to encode to
1544
- * @returns Writer
1545
- */
1546
- public static encode(message: api.NixPackageListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1547
-
1548
- /**
1549
- * Encodes the specified NixPackageListResponse message, length delimited. Does not implicitly {@link api.NixPackageListResponse.verify|verify} messages.
1550
- * @param message NixPackageListResponse message or plain object to encode
1551
- * @param [writer] Writer to encode to
1552
- * @returns Writer
1553
- */
1554
- public static encodeDelimited(message: api.NixPackageListResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1555
-
1556
- /**
1557
- * Decodes a NixPackageListResponse message from the specified reader or buffer.
1558
- * @param reader Reader or buffer to decode from
1559
- * @param [length] Message length if known beforehand
1560
- * @returns NixPackageListResponse
1561
- * @throws {Error} If the payload is not a reader or valid buffer
1562
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1563
- */
1564
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageListResponse;
1565
-
1566
- /**
1567
- * Decodes a NixPackageListResponse message from the specified reader or buffer, length delimited.
1568
- * @param reader Reader or buffer to decode from
1569
- * @returns NixPackageListResponse
1570
- * @throws {Error} If the payload is not a reader or valid buffer
1571
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1572
- */
1573
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageListResponse;
1574
-
1575
- /**
1576
- * Verifies a NixPackageListResponse message.
1577
- * @param message Plain object to verify
1578
- * @returns `null` if valid, otherwise the reason why it is not
1579
- */
1580
- public static verify(message: { [k: string]: any }): (string|null);
1581
-
1582
- /**
1583
- * Creates a NixPackageListResponse message from a plain object. Also converts values to their respective internal types.
1584
- * @param object Plain object
1585
- * @returns NixPackageListResponse
1586
- */
1587
- public static fromObject(object: { [k: string]: any }): api.NixPackageListResponse;
1588
-
1589
- /**
1590
- * Creates a plain object from a NixPackageListResponse message. Also converts values to other types if specified.
1591
- * @param message NixPackageListResponse
1592
- * @param [options] Conversion options
1593
- * @returns Plain object
1594
- */
1595
- public static toObject(message: api.NixPackageListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1596
-
1597
- /**
1598
- * Converts this NixPackageListResponse to JSON.
1599
- * @returns JSON object
1600
- */
1601
- public toJSON(): { [k: string]: any };
1602
- }
1603
-
1604
- /** Properties of a NixPackage. */
1605
- interface INixPackage {
1606
-
1607
- /** NixPackage name */
1608
- name?: (string|null);
1609
-
1610
- /** NixPackage description */
1611
- description?: (string|null);
1612
-
1613
- /** NixPackage version */
1614
- version?: (string|null);
1615
-
1616
- /** NixPackage homepageURL */
1617
- homepageURL?: (string[]|null);
1618
-
1619
- /** NixPackage maintainers */
1620
- maintainers?: (string[]|null);
1621
-
1622
- /** NixPackage licenses */
1623
- licenses?: (string[]|null);
1624
- }
1625
-
1626
- /** Represents a NixPackage. */
1627
- class NixPackage {
1628
-
1629
- /**
1630
- * Constructs a new NixPackage.
1631
- * @param [properties] Properties to set
1632
- */
1633
- private constructor(properties?: api.INixPackage);
1634
-
1635
- /** NixPackage name. */
1636
- public name: string;
1637
-
1638
- /** NixPackage description. */
1639
- public description: string;
1640
-
1641
- /** NixPackage version. */
1642
- public version: string;
1643
-
1644
- /** NixPackage homepageURL. */
1645
- public homepageURL: string[];
1646
-
1647
- /** NixPackage maintainers. */
1648
- public maintainers: string[];
1649
-
1650
- /** NixPackage licenses. */
1651
- public licenses: string[];
1652
-
1653
- /**
1654
- * Creates a new NixPackage instance using the specified properties.
1655
- * @param [properties] Properties to set
1656
- * @returns NixPackage instance
1657
- */
1658
- public static create(properties?: api.INixPackage): api.NixPackage;
1659
-
1660
- /**
1661
- * Encodes the specified NixPackage message. Does not implicitly {@link api.NixPackage.verify|verify} messages.
1662
- * @param message NixPackage message or plain object to encode
1663
- * @param [writer] Writer to encode to
1664
- * @returns Writer
1665
- */
1666
- public static encode(message: api.NixPackage, writer?: $protobuf.Writer): $protobuf.Writer;
1667
-
1668
- /**
1669
- * Encodes the specified NixPackage message, length delimited. Does not implicitly {@link api.NixPackage.verify|verify} messages.
1670
- * @param message NixPackage message or plain object to encode
1671
- * @param [writer] Writer to encode to
1672
- * @returns Writer
1673
- */
1674
- public static encodeDelimited(message: api.NixPackage, writer?: $protobuf.Writer): $protobuf.Writer;
1675
-
1676
- /**
1677
- * Decodes a NixPackage message from the specified reader or buffer.
1678
- * @param reader Reader or buffer to decode from
1679
- * @param [length] Message length if known beforehand
1680
- * @returns NixPackage
1681
- * @throws {Error} If the payload is not a reader or valid buffer
1682
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1683
- */
1684
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackage;
1685
-
1686
- /**
1687
- * Decodes a NixPackage message from the specified reader or buffer, length delimited.
1688
- * @param reader Reader or buffer to decode from
1689
- * @returns NixPackage
1690
- * @throws {Error} If the payload is not a reader or valid buffer
1691
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1692
- */
1693
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackage;
1694
-
1695
- /**
1696
- * Verifies a NixPackage message.
1697
- * @param message Plain object to verify
1698
- * @returns `null` if valid, otherwise the reason why it is not
1699
- */
1700
- public static verify(message: { [k: string]: any }): (string|null);
1701
-
1702
- /**
1703
- * Creates a NixPackage message from a plain object. Also converts values to their respective internal types.
1704
- * @param object Plain object
1705
- * @returns NixPackage
1706
- */
1707
- public static fromObject(object: { [k: string]: any }): api.NixPackage;
1708
-
1709
- /**
1710
- * Creates a plain object from a NixPackage message. Also converts values to other types if specified.
1711
- * @param message NixPackage
1712
- * @param [options] Conversion options
1713
- * @returns Plain object
1714
- */
1715
- public static toObject(message: api.NixPackage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1716
-
1717
- /**
1718
- * Converts this NixPackage to JSON.
1719
- * @returns JSON object
1720
- */
1721
- public toJSON(): { [k: string]: any };
1722
- }
1723
-
1724
- /** Properties of a NixChannelsRequest. */
1725
- interface INixChannelsRequest {
1726
- }
1727
-
1728
- /** Represents a NixChannelsRequest. */
1729
- class NixChannelsRequest {
1730
-
1731
- /**
1732
- * Constructs a new NixChannelsRequest.
1733
- * @param [properties] Properties to set
1734
- */
1735
- private constructor(properties?: api.INixChannelsRequest);
1736
-
1737
- /**
1738
- * Creates a new NixChannelsRequest instance using the specified properties.
1739
- * @param [properties] Properties to set
1740
- * @returns NixChannelsRequest instance
1741
- */
1742
- public static create(properties?: api.INixChannelsRequest): api.NixChannelsRequest;
1743
-
1744
- /**
1745
- * Encodes the specified NixChannelsRequest message. Does not implicitly {@link api.NixChannelsRequest.verify|verify} messages.
1746
- * @param message NixChannelsRequest message or plain object to encode
1747
- * @param [writer] Writer to encode to
1748
- * @returns Writer
1749
- */
1750
- public static encode(message: api.NixChannelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1751
-
1752
- /**
1753
- * Encodes the specified NixChannelsRequest message, length delimited. Does not implicitly {@link api.NixChannelsRequest.verify|verify} messages.
1754
- * @param message NixChannelsRequest message or plain object to encode
1755
- * @param [writer] Writer to encode to
1756
- * @returns Writer
1757
- */
1758
- public static encodeDelimited(message: api.NixChannelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1759
-
1760
- /**
1761
- * Decodes a NixChannelsRequest message from the specified reader or buffer.
1762
- * @param reader Reader or buffer to decode from
1763
- * @param [length] Message length if known beforehand
1764
- * @returns NixChannelsRequest
1765
- * @throws {Error} If the payload is not a reader or valid buffer
1766
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1767
- */
1768
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixChannelsRequest;
1769
-
1770
- /**
1771
- * Decodes a NixChannelsRequest message from the specified reader or buffer, length delimited.
1772
- * @param reader Reader or buffer to decode from
1773
- * @returns NixChannelsRequest
1774
- * @throws {Error} If the payload is not a reader or valid buffer
1775
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1776
- */
1777
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixChannelsRequest;
1778
-
1779
- /**
1780
- * Verifies a NixChannelsRequest message.
1781
- * @param message Plain object to verify
1782
- * @returns `null` if valid, otherwise the reason why it is not
1783
- */
1784
- public static verify(message: { [k: string]: any }): (string|null);
1785
-
1786
- /**
1787
- * Creates a NixChannelsRequest message from a plain object. Also converts values to their respective internal types.
1788
- * @param object Plain object
1789
- * @returns NixChannelsRequest
1790
- */
1791
- public static fromObject(object: { [k: string]: any }): api.NixChannelsRequest;
1792
-
1793
- /**
1794
- * Creates a plain object from a NixChannelsRequest message. Also converts values to other types if specified.
1795
- * @param message NixChannelsRequest
1796
- * @param [options] Conversion options
1797
- * @returns Plain object
1798
- */
1799
- public static toObject(message: api.NixChannelsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1800
-
1801
- /**
1802
- * Converts this NixChannelsRequest to JSON.
1803
- * @returns JSON object
1804
- */
1805
- public toJSON(): { [k: string]: any };
1806
- }
1807
-
1808
- /** Properties of a NixChannelsResponse. */
1809
- interface INixChannelsResponse {
1810
-
1811
- /** NixChannelsResponse channels */
1812
- channels?: (string[]|null);
1813
- }
1814
-
1815
- /** Represents a NixChannelsResponse. */
1816
- class NixChannelsResponse {
1817
-
1818
- /**
1819
- * Constructs a new NixChannelsResponse.
1820
- * @param [properties] Properties to set
1821
- */
1822
- private constructor(properties?: api.INixChannelsResponse);
1823
-
1824
- /** NixChannelsResponse channels. */
1825
- public channels: string[];
1826
-
1827
- /**
1828
- * Creates a new NixChannelsResponse instance using the specified properties.
1829
- * @param [properties] Properties to set
1830
- * @returns NixChannelsResponse instance
1831
- */
1832
- public static create(properties?: api.INixChannelsResponse): api.NixChannelsResponse;
1833
-
1834
- /**
1835
- * Encodes the specified NixChannelsResponse message. Does not implicitly {@link api.NixChannelsResponse.verify|verify} messages.
1836
- * @param message NixChannelsResponse message or plain object to encode
1837
- * @param [writer] Writer to encode to
1838
- * @returns Writer
1839
- */
1840
- public static encode(message: api.NixChannelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1841
-
1842
- /**
1843
- * Encodes the specified NixChannelsResponse message, length delimited. Does not implicitly {@link api.NixChannelsResponse.verify|verify} messages.
1844
- * @param message NixChannelsResponse message or plain object to encode
1845
- * @param [writer] Writer to encode to
1846
- * @returns Writer
1847
- */
1848
- public static encodeDelimited(message: api.NixChannelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1849
-
1850
- /**
1851
- * Decodes a NixChannelsResponse message from the specified reader or buffer.
1852
- * @param reader Reader or buffer to decode from
1853
- * @param [length] Message length if known beforehand
1854
- * @returns NixChannelsResponse
1855
- * @throws {Error} If the payload is not a reader or valid buffer
1856
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1857
- */
1858
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixChannelsResponse;
1859
-
1860
- /**
1861
- * Decodes a NixChannelsResponse message from the specified reader or buffer, length delimited.
1862
- * @param reader Reader or buffer to decode from
1863
- * @returns NixChannelsResponse
1864
- * @throws {Error} If the payload is not a reader or valid buffer
1865
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1866
- */
1867
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixChannelsResponse;
1868
-
1869
- /**
1870
- * Verifies a NixChannelsResponse message.
1871
- * @param message Plain object to verify
1872
- * @returns `null` if valid, otherwise the reason why it is not
1873
- */
1874
- public static verify(message: { [k: string]: any }): (string|null);
1875
-
1876
- /**
1877
- * Creates a NixChannelsResponse message from a plain object. Also converts values to their respective internal types.
1878
- * @param object Plain object
1879
- * @returns NixChannelsResponse
1880
- */
1881
- public static fromObject(object: { [k: string]: any }): api.NixChannelsResponse;
1882
-
1883
- /**
1884
- * Creates a plain object from a NixChannelsResponse message. Also converts values to other types if specified.
1885
- * @param message NixChannelsResponse
1886
- * @param [options] Conversion options
1887
- * @returns Plain object
1888
- */
1889
- public static toObject(message: api.NixChannelsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1890
-
1891
- /**
1892
- * Converts this NixChannelsResponse to JSON.
1893
- * @returns JSON object
1894
- */
1895
- public toJSON(): { [k: string]: any };
1896
- }
1897
-
1898
- /** Properties of a NixChannelLatestStableRequest. */
1899
- interface INixChannelLatestStableRequest {
1900
- }
1901
-
1902
- /** Represents a NixChannelLatestStableRequest. */
1903
- class NixChannelLatestStableRequest {
1904
-
1905
- /**
1906
- * Constructs a new NixChannelLatestStableRequest.
1907
- * @param [properties] Properties to set
1908
- */
1909
- private constructor(properties?: api.INixChannelLatestStableRequest);
1910
-
1911
- /**
1912
- * Creates a new NixChannelLatestStableRequest instance using the specified properties.
1913
- * @param [properties] Properties to set
1914
- * @returns NixChannelLatestStableRequest instance
1915
- */
1916
- public static create(properties?: api.INixChannelLatestStableRequest): api.NixChannelLatestStableRequest;
1917
-
1918
- /**
1919
- * Encodes the specified NixChannelLatestStableRequest message. Does not implicitly {@link api.NixChannelLatestStableRequest.verify|verify} messages.
1920
- * @param message NixChannelLatestStableRequest message or plain object to encode
1921
- * @param [writer] Writer to encode to
1922
- * @returns Writer
1923
- */
1924
- public static encode(message: api.NixChannelLatestStableRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1925
-
1926
- /**
1927
- * Encodes the specified NixChannelLatestStableRequest message, length delimited. Does not implicitly {@link api.NixChannelLatestStableRequest.verify|verify} messages.
1928
- * @param message NixChannelLatestStableRequest message or plain object to encode
1929
- * @param [writer] Writer to encode to
1930
- * @returns Writer
1931
- */
1932
- public static encodeDelimited(message: api.NixChannelLatestStableRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1933
-
1934
- /**
1935
- * Decodes a NixChannelLatestStableRequest message from the specified reader or buffer.
1936
- * @param reader Reader or buffer to decode from
1937
- * @param [length] Message length if known beforehand
1938
- * @returns NixChannelLatestStableRequest
1939
- * @throws {Error} If the payload is not a reader or valid buffer
1940
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1941
- */
1942
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixChannelLatestStableRequest;
1943
-
1944
- /**
1945
- * Decodes a NixChannelLatestStableRequest message from the specified reader or buffer, length delimited.
1946
- * @param reader Reader or buffer to decode from
1947
- * @returns NixChannelLatestStableRequest
1948
- * @throws {Error} If the payload is not a reader or valid buffer
1949
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1950
- */
1951
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixChannelLatestStableRequest;
1952
-
1953
- /**
1954
- * Verifies a NixChannelLatestStableRequest message.
1955
- * @param message Plain object to verify
1956
- * @returns `null` if valid, otherwise the reason why it is not
1957
- */
1958
- public static verify(message: { [k: string]: any }): (string|null);
1959
-
1960
- /**
1961
- * Creates a NixChannelLatestStableRequest message from a plain object. Also converts values to their respective internal types.
1962
- * @param object Plain object
1963
- * @returns NixChannelLatestStableRequest
1964
- */
1965
- public static fromObject(object: { [k: string]: any }): api.NixChannelLatestStableRequest;
1966
-
1967
- /**
1968
- * Creates a plain object from a NixChannelLatestStableRequest message. Also converts values to other types if specified.
1969
- * @param message NixChannelLatestStableRequest
1970
- * @param [options] Conversion options
1971
- * @returns Plain object
1972
- */
1973
- public static toObject(message: api.NixChannelLatestStableRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1974
-
1975
- /**
1976
- * Converts this NixChannelLatestStableRequest to JSON.
1977
- * @returns JSON object
1978
- */
1979
- public toJSON(): { [k: string]: any };
1980
- }
1981
-
1982
- /** Properties of a NixChannelLatestStableResponse. */
1983
- interface INixChannelLatestStableResponse {
1984
-
1985
- /** NixChannelLatestStableResponse channel */
1986
- channel?: (string|null);
1987
- }
1988
-
1989
- /** Represents a NixChannelLatestStableResponse. */
1990
- class NixChannelLatestStableResponse {
1991
-
1992
- /**
1993
- * Constructs a new NixChannelLatestStableResponse.
1994
- * @param [properties] Properties to set
1995
- */
1996
- private constructor(properties?: api.INixChannelLatestStableResponse);
1997
-
1998
- /** NixChannelLatestStableResponse channel. */
1999
- public channel: string;
2000
-
2001
- /**
2002
- * Creates a new NixChannelLatestStableResponse instance using the specified properties.
2003
- * @param [properties] Properties to set
2004
- * @returns NixChannelLatestStableResponse instance
2005
- */
2006
- public static create(properties?: api.INixChannelLatestStableResponse): api.NixChannelLatestStableResponse;
2007
-
2008
- /**
2009
- * Encodes the specified NixChannelLatestStableResponse message. Does not implicitly {@link api.NixChannelLatestStableResponse.verify|verify} messages.
2010
- * @param message NixChannelLatestStableResponse message or plain object to encode
2011
- * @param [writer] Writer to encode to
2012
- * @returns Writer
2013
- */
2014
- public static encode(message: api.NixChannelLatestStableResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2015
-
2016
- /**
2017
- * Encodes the specified NixChannelLatestStableResponse message, length delimited. Does not implicitly {@link api.NixChannelLatestStableResponse.verify|verify} messages.
2018
- * @param message NixChannelLatestStableResponse message or plain object to encode
2019
- * @param [writer] Writer to encode to
2020
- * @returns Writer
2021
- */
2022
- public static encodeDelimited(message: api.NixChannelLatestStableResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2023
-
2024
- /**
2025
- * Decodes a NixChannelLatestStableResponse message from the specified reader or buffer.
2026
- * @param reader Reader or buffer to decode from
2027
- * @param [length] Message length if known beforehand
2028
- * @returns NixChannelLatestStableResponse
2029
- * @throws {Error} If the payload is not a reader or valid buffer
2030
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2031
- */
2032
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixChannelLatestStableResponse;
2033
-
2034
- /**
2035
- * Decodes a NixChannelLatestStableResponse message from the specified reader or buffer, length delimited.
2036
- * @param reader Reader or buffer to decode from
2037
- * @returns NixChannelLatestStableResponse
2038
- * @throws {Error} If the payload is not a reader or valid buffer
2039
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2040
- */
2041
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixChannelLatestStableResponse;
2042
-
2043
- /**
2044
- * Verifies a NixChannelLatestStableResponse message.
2045
- * @param message Plain object to verify
2046
- * @returns `null` if valid, otherwise the reason why it is not
2047
- */
2048
- public static verify(message: { [k: string]: any }): (string|null);
2049
-
2050
- /**
2051
- * Creates a NixChannelLatestStableResponse message from a plain object. Also converts values to their respective internal types.
2052
- * @param object Plain object
2053
- * @returns NixChannelLatestStableResponse
2054
- */
2055
- public static fromObject(object: { [k: string]: any }): api.NixChannelLatestStableResponse;
2056
-
2057
- /**
2058
- * Creates a plain object from a NixChannelLatestStableResponse message. Also converts values to other types if specified.
2059
- * @param message NixChannelLatestStableResponse
2060
- * @param [options] Conversion options
2061
- * @returns Plain object
2062
- */
2063
- public static toObject(message: api.NixChannelLatestStableResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2064
-
2065
- /**
2066
- * Converts this NixChannelLatestStableResponse to JSON.
2067
- * @returns JSON object
2068
- */
2069
- public toJSON(): { [k: string]: any };
2070
- }
2071
-
2072
- /** Properties of a NixPackageSearchRequest. */
2073
- interface INixPackageSearchRequest {
2074
-
2075
- /** NixPackageSearchRequest query */
2076
- query?: (string|null);
2077
- }
2078
-
2079
- /** Represents a NixPackageSearchRequest. */
2080
- class NixPackageSearchRequest {
2081
-
2082
- /**
2083
- * Constructs a new NixPackageSearchRequest.
2084
- * @param [properties] Properties to set
2085
- */
2086
- private constructor(properties?: api.INixPackageSearchRequest);
2087
-
2088
- /** NixPackageSearchRequest query. */
2089
- public query: string;
2090
-
2091
- /**
2092
- * Creates a new NixPackageSearchRequest instance using the specified properties.
2093
- * @param [properties] Properties to set
2094
- * @returns NixPackageSearchRequest instance
2095
- */
2096
- public static create(properties?: api.INixPackageSearchRequest): api.NixPackageSearchRequest;
2097
-
2098
- /**
2099
- * Encodes the specified NixPackageSearchRequest message. Does not implicitly {@link api.NixPackageSearchRequest.verify|verify} messages.
2100
- * @param message NixPackageSearchRequest message or plain object to encode
2101
- * @param [writer] Writer to encode to
2102
- * @returns Writer
2103
- */
2104
- public static encode(message: api.NixPackageSearchRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2105
-
2106
- /**
2107
- * Encodes the specified NixPackageSearchRequest message, length delimited. Does not implicitly {@link api.NixPackageSearchRequest.verify|verify} messages.
2108
- * @param message NixPackageSearchRequest message or plain object to encode
2109
- * @param [writer] Writer to encode to
2110
- * @returns Writer
2111
- */
2112
- public static encodeDelimited(message: api.NixPackageSearchRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2113
-
2114
- /**
2115
- * Decodes a NixPackageSearchRequest message from the specified reader or buffer.
2116
- * @param reader Reader or buffer to decode from
2117
- * @param [length] Message length if known beforehand
2118
- * @returns NixPackageSearchRequest
2119
- * @throws {Error} If the payload is not a reader or valid buffer
2120
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2121
- */
2122
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageSearchRequest;
2123
-
2124
- /**
2125
- * Decodes a NixPackageSearchRequest message from the specified reader or buffer, length delimited.
2126
- * @param reader Reader or buffer to decode from
2127
- * @returns NixPackageSearchRequest
2128
- * @throws {Error} If the payload is not a reader or valid buffer
2129
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2130
- */
2131
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageSearchRequest;
2132
-
2133
- /**
2134
- * Verifies a NixPackageSearchRequest message.
2135
- * @param message Plain object to verify
2136
- * @returns `null` if valid, otherwise the reason why it is not
2137
- */
2138
- public static verify(message: { [k: string]: any }): (string|null);
2139
-
2140
- /**
2141
- * Creates a NixPackageSearchRequest message from a plain object. Also converts values to their respective internal types.
2142
- * @param object Plain object
2143
- * @returns NixPackageSearchRequest
2144
- */
2145
- public static fromObject(object: { [k: string]: any }): api.NixPackageSearchRequest;
2146
-
2147
- /**
2148
- * Creates a plain object from a NixPackageSearchRequest message. Also converts values to other types if specified.
2149
- * @param message NixPackageSearchRequest
2150
- * @param [options] Conversion options
2151
- * @returns Plain object
2152
- */
2153
- public static toObject(message: api.NixPackageSearchRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2154
-
2155
- /**
2156
- * Converts this NixPackageSearchRequest to JSON.
2157
- * @returns JSON object
2158
- */
2159
- public toJSON(): { [k: string]: any };
2160
- }
2161
-
2162
- /** Properties of a NixPackageSearchResponse. */
2163
- interface INixPackageSearchResponse {
2164
-
2165
- /** NixPackageSearchResponse packages */
2166
- packages?: ((api.NixPackage|api.INixPackage)[]|null);
2167
- }
2168
-
2169
- /** Represents a NixPackageSearchResponse. */
2170
- class NixPackageSearchResponse {
2171
-
2172
- /**
2173
- * Constructs a new NixPackageSearchResponse.
2174
- * @param [properties] Properties to set
2175
- */
2176
- private constructor(properties?: api.INixPackageSearchResponse);
2177
-
2178
- /** NixPackageSearchResponse packages. */
2179
- public packages: api.NixPackage[];
2180
-
2181
- /**
2182
- * Creates a new NixPackageSearchResponse instance using the specified properties.
2183
- * @param [properties] Properties to set
2184
- * @returns NixPackageSearchResponse instance
2185
- */
2186
- public static create(properties?: api.INixPackageSearchResponse): api.NixPackageSearchResponse;
2187
-
2188
- /**
2189
- * Encodes the specified NixPackageSearchResponse message. Does not implicitly {@link api.NixPackageSearchResponse.verify|verify} messages.
2190
- * @param message NixPackageSearchResponse message or plain object to encode
2191
- * @param [writer] Writer to encode to
2192
- * @returns Writer
2193
- */
2194
- public static encode(message: api.NixPackageSearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2195
-
2196
- /**
2197
- * Encodes the specified NixPackageSearchResponse message, length delimited. Does not implicitly {@link api.NixPackageSearchResponse.verify|verify} messages.
2198
- * @param message NixPackageSearchResponse message or plain object to encode
2199
- * @param [writer] Writer to encode to
2200
- * @returns Writer
2201
- */
2202
- public static encodeDelimited(message: api.NixPackageSearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2203
-
2204
- /**
2205
- * Decodes a NixPackageSearchResponse message from the specified reader or buffer.
2206
- * @param reader Reader or buffer to decode from
2207
- * @param [length] Message length if known beforehand
2208
- * @returns NixPackageSearchResponse
2209
- * @throws {Error} If the payload is not a reader or valid buffer
2210
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2211
- */
2212
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageSearchResponse;
2213
-
2214
- /**
2215
- * Decodes a NixPackageSearchResponse message from the specified reader or buffer, length delimited.
2216
- * @param reader Reader or buffer to decode from
2217
- * @returns NixPackageSearchResponse
2218
- * @throws {Error} If the payload is not a reader or valid buffer
2219
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2220
- */
2221
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageSearchResponse;
2222
-
2223
- /**
2224
- * Verifies a NixPackageSearchResponse message.
2225
- * @param message Plain object to verify
2226
- * @returns `null` if valid, otherwise the reason why it is not
2227
- */
2228
- public static verify(message: { [k: string]: any }): (string|null);
2229
-
2230
- /**
2231
- * Creates a NixPackageSearchResponse message from a plain object. Also converts values to their respective internal types.
2232
- * @param object Plain object
2233
- * @returns NixPackageSearchResponse
2234
- */
2235
- public static fromObject(object: { [k: string]: any }): api.NixPackageSearchResponse;
2236
-
2237
- /**
2238
- * Creates a plain object from a NixPackageSearchResponse message. Also converts values to other types if specified.
2239
- * @param message NixPackageSearchResponse
2240
- * @param [options] Conversion options
2241
- * @returns Plain object
2242
- */
2243
- public static toObject(message: api.NixPackageSearchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2244
-
2245
- /**
2246
- * Converts this NixPackageSearchResponse to JSON.
2247
- * @returns JSON object
2248
- */
2249
- public toJSON(): { [k: string]: any };
2250
- }
2251
-
2252
1010
  /** Properties of a StartLSP. */
2253
1011
  interface IStartLSP {
2254
1012