@replit/protocol 0.2.57 → 0.2.60

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,6 +458,42 @@ 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
+
461
497
  /** Command ref */
462
498
  ref?: (string|null);
463
499
 
@@ -831,177 +867,1383 @@ export namespace api {
831
867
  /** Command metrics. */
832
868
  public metrics?: (api.Metrics|null);
833
869
 
834
- /** Command bootStatus. */
835
- public bootStatus?: (api.BootStatus|null);
870
+ /** Command bootStatus. */
871
+ public bootStatus?: (api.BootStatus|null);
872
+
873
+ /** Command readMetaRequest. */
874
+ public readMetaRequest?: (api.ReadMetaRequest|null);
875
+
876
+ /** Command readMetaResponse. */
877
+ public readMetaResponse?: (api.ReadMetaResponse|null);
878
+
879
+ /** Command writeMetaRequest. */
880
+ public writeMetaRequest?: (api.WriteMetaRequest|null);
881
+
882
+ /** Command writeMetaResponse. */
883
+ public writeMetaResponse?: (api.WriteMetaResponse|null);
884
+
885
+ /** Command appendMetaRequest. */
886
+ public appendMetaRequest?: (api.AppendMetaRequest|null);
887
+
888
+ /** Command appendMetaResponse. */
889
+ public appendMetaResponse?: (api.AppendMetaResponse|null);
890
+
891
+ /** Command audio. */
892
+ public audio?: (api.Audio|null);
893
+
894
+ /** Command pprofRequest. */
895
+ public pprofRequest?: (api.PprofRequest|null);
896
+
897
+ /** Command pprofResponse. */
898
+ public pprofResponse?: (api.PprofResponse|null);
899
+
900
+ /** Command audio2. */
901
+ public audio2?: (api.Audio2|null);
902
+
903
+ /** Command PTYConfig. */
904
+ public PTYConfig?: (api.PTYConfig|null);
905
+
906
+ /** Command debugMain. */
907
+ public debugMain?: (api.DebugMain|null);
908
+
909
+ /** Command debugState. */
910
+ public debugState?: (api.DebugState|null);
911
+
912
+ /** Command debugMainReply. */
913
+ public debugMainReply?: (api.DebugMainReply|null);
914
+
915
+ /** Command debugInput. */
916
+ public debugInput?: (api.DebugInput|null);
917
+
918
+ /** Command debugOutput. */
919
+ public debugOutput?: (api.DebugOutput|null);
920
+
921
+ /** Command debugStop. */
922
+ public debugStop?: (api.DebugStop|null);
923
+
924
+ /** Command debugLeave. */
925
+ public debugLeave?: (api.DebugLeave|null);
926
+
927
+ /** Command debugSessions. */
928
+ public debugSessions?: (api.DebugSessions|null);
929
+
930
+ /** Command debugAddBreakpointRequest. */
931
+ public debugAddBreakpointRequest?: (api.DebugAddBreakpointRequest|null);
932
+
933
+ /** Command debugUpdateBreakpointRequest. */
934
+ public debugUpdateBreakpointRequest?: (api.DebugUpdateBreakpointRequest|null);
935
+
936
+ /** Command debugRemoveBreakpointRequest. */
937
+ public debugRemoveBreakpointRequest?: (api.DebugRemoveBreakpointRequest|null);
938
+
939
+ /** Command debugBreakpointEvent. */
940
+ public debugBreakpointEvent?: (api.DebugBreakpointEvent|null);
941
+
942
+ /** Command dotReplitGetRequest. */
943
+ public dotReplitGetRequest?: (api.DotReplitGetRequest|null);
944
+
945
+ /** Command dotReplitGetResponse. */
946
+ public dotReplitGetResponse?: (api.DotReplitGetResponse|null);
947
+
948
+ /** Command runConfigGetRequest. */
949
+ public runConfigGetRequest?: (api.RunConfigGetRequest|null);
950
+
951
+ /** Command runConfigGetResponse. */
952
+ public runConfigGetResponse?: (api.RunConfigGetResponse|null);
953
+
954
+ /** Command dotReplitUpdateRequest. */
955
+ public dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|null);
956
+
957
+ /** Command dotReplitUpdateResponse. */
958
+ public dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|null);
959
+
960
+ /** Command startLSP. */
961
+ public startLSP?: (api.StartLSP|null);
962
+
963
+ /** Command firewallDenied. */
964
+ public firewallDenied?: (api.FirewallDenied|null);
965
+
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
+ /** Command ref. */
1003
+ public ref: string;
1004
+
1005
+ /** Command traceInfo. */
1006
+ public traceInfo: { [k: string]: string };
1007
+
1008
+ /** 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");
1010
+
1011
+ /**
1012
+ * Creates a new Command instance using the specified properties.
1013
+ * @param [properties] Properties to set
1014
+ * @returns Command instance
1015
+ */
1016
+ public static create(properties?: api.ICommand): api.Command;
1017
+
1018
+ /**
1019
+ * Encodes the specified Command message. Does not implicitly {@link api.Command.verify|verify} messages.
1020
+ * @param message Command message or plain object to encode
1021
+ * @param [writer] Writer to encode to
1022
+ * @returns Writer
1023
+ */
1024
+ public static encode(message: api.Command, writer?: $protobuf.Writer): $protobuf.Writer;
1025
+
1026
+ /**
1027
+ * Encodes the specified Command message, length delimited. Does not implicitly {@link api.Command.verify|verify} messages.
1028
+ * @param message Command message or plain object to encode
1029
+ * @param [writer] Writer to encode to
1030
+ * @returns Writer
1031
+ */
1032
+ public static encodeDelimited(message: api.Command, writer?: $protobuf.Writer): $protobuf.Writer;
1033
+
1034
+ /**
1035
+ * Decodes a Command message from the specified reader or buffer.
1036
+ * @param reader Reader or buffer to decode from
1037
+ * @param [length] Message length if known beforehand
1038
+ * @returns Command
1039
+ * @throws {Error} If the payload is not a reader or valid buffer
1040
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1041
+ */
1042
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.Command;
1043
+
1044
+ /**
1045
+ * Decodes a Command message from the specified reader or buffer, length delimited.
1046
+ * @param reader Reader or buffer to decode from
1047
+ * @returns Command
1048
+ * @throws {Error} If the payload is not a reader or valid buffer
1049
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1050
+ */
1051
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.Command;
1052
+
1053
+ /**
1054
+ * Verifies a Command message.
1055
+ * @param message Plain object to verify
1056
+ * @returns `null` if valid, otherwise the reason why it is not
1057
+ */
1058
+ public static verify(message: { [k: string]: any }): (string|null);
1059
+
1060
+ /**
1061
+ * Creates a Command message from a plain object. Also converts values to their respective internal types.
1062
+ * @param object Plain object
1063
+ * @returns Command
1064
+ */
1065
+ public static fromObject(object: { [k: string]: any }): api.Command;
1066
+
1067
+ /**
1068
+ * Creates a plain object from a Command message. Also converts values to other types if specified.
1069
+ * @param message Command
1070
+ * @param [options] Conversion options
1071
+ * @returns Plain object
1072
+ */
1073
+ public static toObject(message: api.Command, options?: $protobuf.IConversionOptions): { [k: string]: any };
1074
+
1075
+ /**
1076
+ * Converts this Command to JSON.
1077
+ * @returns JSON object
1078
+ */
1079
+ public toJSON(): { [k: string]: any };
1080
+ }
1081
+
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 };
836
1974
 
837
- /** Command readMetaRequest. */
838
- public readMetaRequest?: (api.ReadMetaRequest|null);
1975
+ /**
1976
+ * Converts this NixChannelLatestStableRequest to JSON.
1977
+ * @returns JSON object
1978
+ */
1979
+ public toJSON(): { [k: string]: any };
1980
+ }
839
1981
 
840
- /** Command readMetaResponse. */
841
- public readMetaResponse?: (api.ReadMetaResponse|null);
1982
+ /** Properties of a NixChannelLatestStableResponse. */
1983
+ interface INixChannelLatestStableResponse {
842
1984
 
843
- /** Command writeMetaRequest. */
844
- public writeMetaRequest?: (api.WriteMetaRequest|null);
1985
+ /** NixChannelLatestStableResponse channel */
1986
+ channel?: (string|null);
1987
+ }
845
1988
 
846
- /** Command writeMetaResponse. */
847
- public writeMetaResponse?: (api.WriteMetaResponse|null);
1989
+ /** Represents a NixChannelLatestStableResponse. */
1990
+ class NixChannelLatestStableResponse {
848
1991
 
849
- /** Command appendMetaRequest. */
850
- public appendMetaRequest?: (api.AppendMetaRequest|null);
1992
+ /**
1993
+ * Constructs a new NixChannelLatestStableResponse.
1994
+ * @param [properties] Properties to set
1995
+ */
1996
+ private constructor(properties?: api.INixChannelLatestStableResponse);
851
1997
 
852
- /** Command appendMetaResponse. */
853
- public appendMetaResponse?: (api.AppendMetaResponse|null);
1998
+ /** NixChannelLatestStableResponse channel. */
1999
+ public channel: string;
854
2000
 
855
- /** Command audio. */
856
- public audio?: (api.Audio|null);
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;
857
2007
 
858
- /** Command pprofRequest. */
859
- public pprofRequest?: (api.PprofRequest|null);
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;
860
2015
 
861
- /** Command pprofResponse. */
862
- public pprofResponse?: (api.PprofResponse|null);
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;
863
2023
 
864
- /** Command audio2. */
865
- public audio2?: (api.Audio2|null);
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;
866
2033
 
867
- /** Command PTYConfig. */
868
- public PTYConfig?: (api.PTYConfig|null);
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;
869
2042
 
870
- /** Command debugMain. */
871
- public debugMain?: (api.DebugMain|null);
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);
872
2049
 
873
- /** Command debugState. */
874
- public debugState?: (api.DebugState|null);
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;
875
2056
 
876
- /** Command debugMainReply. */
877
- public debugMainReply?: (api.DebugMainReply|null);
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 };
878
2064
 
879
- /** Command debugInput. */
880
- public debugInput?: (api.DebugInput|null);
2065
+ /**
2066
+ * Converts this NixChannelLatestStableResponse to JSON.
2067
+ * @returns JSON object
2068
+ */
2069
+ public toJSON(): { [k: string]: any };
2070
+ }
881
2071
 
882
- /** Command debugOutput. */
883
- public debugOutput?: (api.DebugOutput|null);
2072
+ /** Properties of a NixPackageSearchRequest. */
2073
+ interface INixPackageSearchRequest {
884
2074
 
885
- /** Command debugStop. */
886
- public debugStop?: (api.DebugStop|null);
2075
+ /** NixPackageSearchRequest query */
2076
+ query?: (string|null);
2077
+ }
887
2078
 
888
- /** Command debugLeave. */
889
- public debugLeave?: (api.DebugLeave|null);
2079
+ /** Represents a NixPackageSearchRequest. */
2080
+ class NixPackageSearchRequest {
890
2081
 
891
- /** Command debugSessions. */
892
- public debugSessions?: (api.DebugSessions|null);
2082
+ /**
2083
+ * Constructs a new NixPackageSearchRequest.
2084
+ * @param [properties] Properties to set
2085
+ */
2086
+ private constructor(properties?: api.INixPackageSearchRequest);
893
2087
 
894
- /** Command debugAddBreakpointRequest. */
895
- public debugAddBreakpointRequest?: (api.DebugAddBreakpointRequest|null);
2088
+ /** NixPackageSearchRequest query. */
2089
+ public query: string;
896
2090
 
897
- /** Command debugUpdateBreakpointRequest. */
898
- public debugUpdateBreakpointRequest?: (api.DebugUpdateBreakpointRequest|null);
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;
899
2097
 
900
- /** Command debugRemoveBreakpointRequest. */
901
- public debugRemoveBreakpointRequest?: (api.DebugRemoveBreakpointRequest|null);
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;
902
2105
 
903
- /** Command debugBreakpointEvent. */
904
- public debugBreakpointEvent?: (api.DebugBreakpointEvent|null);
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;
905
2113
 
906
- /** Command dotReplitGetRequest. */
907
- public dotReplitGetRequest?: (api.DotReplitGetRequest|null);
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;
908
2123
 
909
- /** Command dotReplitGetResponse. */
910
- public dotReplitGetResponse?: (api.DotReplitGetResponse|null);
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;
911
2132
 
912
- /** Command runConfigGetRequest. */
913
- public runConfigGetRequest?: (api.RunConfigGetRequest|null);
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);
914
2139
 
915
- /** Command runConfigGetResponse. */
916
- public runConfigGetResponse?: (api.RunConfigGetResponse|null);
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;
917
2146
 
918
- /** Command dotReplitUpdateRequest. */
919
- public dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|null);
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 };
920
2154
 
921
- /** Command dotReplitUpdateResponse. */
922
- public dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|null);
2155
+ /**
2156
+ * Converts this NixPackageSearchRequest to JSON.
2157
+ * @returns JSON object
2158
+ */
2159
+ public toJSON(): { [k: string]: any };
2160
+ }
923
2161
 
924
- /** Command startLSP. */
925
- public startLSP?: (api.StartLSP|null);
2162
+ /** Properties of a NixPackageSearchResponse. */
2163
+ interface INixPackageSearchResponse {
926
2164
 
927
- /** Command firewallDenied. */
928
- public firewallDenied?: (api.FirewallDenied|null);
2165
+ /** NixPackageSearchResponse packages */
2166
+ packages?: ((api.NixPackage|api.INixPackage)[]|null);
2167
+ }
929
2168
 
930
- /** Command ref. */
931
- public ref: string;
2169
+ /** Represents a NixPackageSearchResponse. */
2170
+ class NixPackageSearchResponse {
932
2171
 
933
- /** Command traceInfo. */
934
- public traceInfo: { [k: string]: string };
2172
+ /**
2173
+ * Constructs a new NixPackageSearchResponse.
2174
+ * @param [properties] Properties to set
2175
+ */
2176
+ private constructor(properties?: api.INixPackageSearchResponse);
935
2177
 
936
- /** Command body. */
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");
2178
+ /** NixPackageSearchResponse packages. */
2179
+ public packages: api.NixPackage[];
938
2180
 
939
2181
  /**
940
- * Creates a new Command instance using the specified properties.
2182
+ * Creates a new NixPackageSearchResponse instance using the specified properties.
941
2183
  * @param [properties] Properties to set
942
- * @returns Command instance
2184
+ * @returns NixPackageSearchResponse instance
943
2185
  */
944
- public static create(properties?: api.ICommand): api.Command;
2186
+ public static create(properties?: api.INixPackageSearchResponse): api.NixPackageSearchResponse;
945
2187
 
946
2188
  /**
947
- * Encodes the specified Command message. Does not implicitly {@link api.Command.verify|verify} messages.
948
- * @param message Command message or plain object to encode
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
949
2191
  * @param [writer] Writer to encode to
950
2192
  * @returns Writer
951
2193
  */
952
- public static encode(message: api.Command, writer?: $protobuf.Writer): $protobuf.Writer;
2194
+ public static encode(message: api.NixPackageSearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
953
2195
 
954
2196
  /**
955
- * Encodes the specified Command message, length delimited. Does not implicitly {@link api.Command.verify|verify} messages.
956
- * @param message Command message or plain object to encode
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
957
2199
  * @param [writer] Writer to encode to
958
2200
  * @returns Writer
959
2201
  */
960
- public static encodeDelimited(message: api.Command, writer?: $protobuf.Writer): $protobuf.Writer;
2202
+ public static encodeDelimited(message: api.NixPackageSearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
961
2203
 
962
2204
  /**
963
- * Decodes a Command message from the specified reader or buffer.
2205
+ * Decodes a NixPackageSearchResponse message from the specified reader or buffer.
964
2206
  * @param reader Reader or buffer to decode from
965
2207
  * @param [length] Message length if known beforehand
966
- * @returns Command
2208
+ * @returns NixPackageSearchResponse
967
2209
  * @throws {Error} If the payload is not a reader or valid buffer
968
2210
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
969
2211
  */
970
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.Command;
2212
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixPackageSearchResponse;
971
2213
 
972
2214
  /**
973
- * Decodes a Command message from the specified reader or buffer, length delimited.
2215
+ * Decodes a NixPackageSearchResponse message from the specified reader or buffer, length delimited.
974
2216
  * @param reader Reader or buffer to decode from
975
- * @returns Command
2217
+ * @returns NixPackageSearchResponse
976
2218
  * @throws {Error} If the payload is not a reader or valid buffer
977
2219
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
978
2220
  */
979
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.Command;
2221
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixPackageSearchResponse;
980
2222
 
981
2223
  /**
982
- * Verifies a Command message.
2224
+ * Verifies a NixPackageSearchResponse message.
983
2225
  * @param message Plain object to verify
984
2226
  * @returns `null` if valid, otherwise the reason why it is not
985
2227
  */
986
2228
  public static verify(message: { [k: string]: any }): (string|null);
987
2229
 
988
2230
  /**
989
- * Creates a Command message from a plain object. Also converts values to their respective internal types.
2231
+ * Creates a NixPackageSearchResponse message from a plain object. Also converts values to their respective internal types.
990
2232
  * @param object Plain object
991
- * @returns Command
2233
+ * @returns NixPackageSearchResponse
992
2234
  */
993
- public static fromObject(object: { [k: string]: any }): api.Command;
2235
+ public static fromObject(object: { [k: string]: any }): api.NixPackageSearchResponse;
994
2236
 
995
2237
  /**
996
- * Creates a plain object from a Command message. Also converts values to other types if specified.
997
- * @param message Command
2238
+ * Creates a plain object from a NixPackageSearchResponse message. Also converts values to other types if specified.
2239
+ * @param message NixPackageSearchResponse
998
2240
  * @param [options] Conversion options
999
2241
  * @returns Plain object
1000
2242
  */
1001
- public static toObject(message: api.Command, options?: $protobuf.IConversionOptions): { [k: string]: any };
2243
+ public static toObject(message: api.NixPackageSearchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1002
2244
 
1003
2245
  /**
1004
- * Converts this Command to JSON.
2246
+ * Converts this NixPackageSearchResponse to JSON.
1005
2247
  * @returns JSON object
1006
2248
  */
1007
2249
  public toJSON(): { [k: string]: any };
@@ -8763,8 +10005,8 @@ export namespace api {
8763
10005
  /** OTPacket version */
8764
10006
  version?: (number|null);
8765
10007
 
8766
- /** OTPacket ops */
8767
- ops?: ((api.OTRuneTransformOp|api.IOTRuneTransformOp)[]|null);
10008
+ /** OTPacket op */
10009
+ op?: ((api.OTOpComponent|api.IOTOpComponent)[]|null);
8768
10010
 
8769
10011
  /** OTPacket crc32 */
8770
10012
  crc32?: (number|null);
@@ -8794,8 +10036,8 @@ export namespace api {
8794
10036
  /** OTPacket version. */
8795
10037
  public version: number;
8796
10038
 
8797
- /** OTPacket ops. */
8798
- public ops: api.OTRuneTransformOp[];
10039
+ /** OTPacket op. */
10040
+ public op: api.OTOpComponent[];
8799
10041
 
8800
10042
  /** OTPacket crc32. */
8801
10043
  public crc32: number;
@@ -8880,106 +10122,106 @@ export namespace api {
8880
10122
  public toJSON(): { [k: string]: any };
8881
10123
  }
8882
10124
 
8883
- /** Properties of a OTRuneTransformOp. */
8884
- interface IOTRuneTransformOp {
10125
+ /** Properties of a OTOpComponent. */
10126
+ interface IOTOpComponent {
8885
10127
 
8886
- /** OTRuneTransformOp skip */
10128
+ /** OTOpComponent skip */
8887
10129
  skip?: (number|null);
8888
10130
 
8889
- /** OTRuneTransformOp delete */
10131
+ /** OTOpComponent delete */
8890
10132
  "delete"?: (number|null);
8891
10133
 
8892
- /** OTRuneTransformOp insert */
10134
+ /** OTOpComponent insert */
8893
10135
  insert?: (string|null);
8894
10136
  }
8895
10137
 
8896
- /** Represents a OTRuneTransformOp. */
8897
- class OTRuneTransformOp {
10138
+ /** Represents a OTOpComponent. */
10139
+ class OTOpComponent {
8898
10140
 
8899
10141
  /**
8900
- * Constructs a new OTRuneTransformOp.
10142
+ * Constructs a new OTOpComponent.
8901
10143
  * @param [properties] Properties to set
8902
10144
  */
8903
- private constructor(properties?: api.IOTRuneTransformOp);
10145
+ private constructor(properties?: api.IOTOpComponent);
8904
10146
 
8905
- /** OTRuneTransformOp skip. */
10147
+ /** OTOpComponent skip. */
8906
10148
  public skip?: (number|null);
8907
10149
 
8908
- /** OTRuneTransformOp delete. */
10150
+ /** OTOpComponent delete. */
8909
10151
  public delete?: (number|null);
8910
10152
 
8911
- /** OTRuneTransformOp insert. */
10153
+ /** OTOpComponent insert. */
8912
10154
  public insert?: (string|null);
8913
10155
 
8914
- /** OTRuneTransformOp op. */
8915
- public op?: ("skip"|"delete"|"insert");
10156
+ /** OTOpComponent opComponent. */
10157
+ public opComponent?: ("skip"|"delete"|"insert");
8916
10158
 
8917
10159
  /**
8918
- * Creates a new OTRuneTransformOp instance using the specified properties.
10160
+ * Creates a new OTOpComponent instance using the specified properties.
8919
10161
  * @param [properties] Properties to set
8920
- * @returns OTRuneTransformOp instance
10162
+ * @returns OTOpComponent instance
8921
10163
  */
8922
- public static create(properties?: api.IOTRuneTransformOp): api.OTRuneTransformOp;
10164
+ public static create(properties?: api.IOTOpComponent): api.OTOpComponent;
8923
10165
 
8924
10166
  /**
8925
- * Encodes the specified OTRuneTransformOp message. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
8926
- * @param message OTRuneTransformOp message or plain object to encode
10167
+ * Encodes the specified OTOpComponent message. Does not implicitly {@link api.OTOpComponent.verify|verify} messages.
10168
+ * @param message OTOpComponent message or plain object to encode
8927
10169
  * @param [writer] Writer to encode to
8928
10170
  * @returns Writer
8929
10171
  */
8930
- public static encode(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
10172
+ public static encode(message: api.OTOpComponent, writer?: $protobuf.Writer): $protobuf.Writer;
8931
10173
 
8932
10174
  /**
8933
- * Encodes the specified OTRuneTransformOp message, length delimited. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
8934
- * @param message OTRuneTransformOp message or plain object to encode
10175
+ * Encodes the specified OTOpComponent message, length delimited. Does not implicitly {@link api.OTOpComponent.verify|verify} messages.
10176
+ * @param message OTOpComponent message or plain object to encode
8935
10177
  * @param [writer] Writer to encode to
8936
10178
  * @returns Writer
8937
10179
  */
8938
- public static encodeDelimited(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
10180
+ public static encodeDelimited(message: api.OTOpComponent, writer?: $protobuf.Writer): $protobuf.Writer;
8939
10181
 
8940
10182
  /**
8941
- * Decodes a OTRuneTransformOp message from the specified reader or buffer.
10183
+ * Decodes a OTOpComponent message from the specified reader or buffer.
8942
10184
  * @param reader Reader or buffer to decode from
8943
10185
  * @param [length] Message length if known beforehand
8944
- * @returns OTRuneTransformOp
10186
+ * @returns OTOpComponent
8945
10187
  * @throws {Error} If the payload is not a reader or valid buffer
8946
10188
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8947
10189
  */
8948
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.OTRuneTransformOp;
10190
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.OTOpComponent;
8949
10191
 
8950
10192
  /**
8951
- * Decodes a OTRuneTransformOp message from the specified reader or buffer, length delimited.
10193
+ * Decodes a OTOpComponent message from the specified reader or buffer, length delimited.
8952
10194
  * @param reader Reader or buffer to decode from
8953
- * @returns OTRuneTransformOp
10195
+ * @returns OTOpComponent
8954
10196
  * @throws {Error} If the payload is not a reader or valid buffer
8955
10197
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8956
10198
  */
8957
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.OTRuneTransformOp;
10199
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.OTOpComponent;
8958
10200
 
8959
10201
  /**
8960
- * Verifies a OTRuneTransformOp message.
10202
+ * Verifies a OTOpComponent message.
8961
10203
  * @param message Plain object to verify
8962
10204
  * @returns `null` if valid, otherwise the reason why it is not
8963
10205
  */
8964
10206
  public static verify(message: { [k: string]: any }): (string|null);
8965
10207
 
8966
10208
  /**
8967
- * Creates a OTRuneTransformOp message from a plain object. Also converts values to their respective internal types.
10209
+ * Creates a OTOpComponent message from a plain object. Also converts values to their respective internal types.
8968
10210
  * @param object Plain object
8969
- * @returns OTRuneTransformOp
10211
+ * @returns OTOpComponent
8970
10212
  */
8971
- public static fromObject(object: { [k: string]: any }): api.OTRuneTransformOp;
10213
+ public static fromObject(object: { [k: string]: any }): api.OTOpComponent;
8972
10214
 
8973
10215
  /**
8974
- * Creates a plain object from a OTRuneTransformOp message. Also converts values to other types if specified.
8975
- * @param message OTRuneTransformOp
10216
+ * Creates a plain object from a OTOpComponent message. Also converts values to other types if specified.
10217
+ * @param message OTOpComponent
8976
10218
  * @param [options] Conversion options
8977
10219
  * @returns Plain object
8978
10220
  */
8979
- public static toObject(message: api.OTRuneTransformOp, options?: $protobuf.IConversionOptions): { [k: string]: any };
10221
+ public static toObject(message: api.OTOpComponent, options?: $protobuf.IConversionOptions): { [k: string]: any };
8980
10222
 
8981
10223
  /**
8982
- * Converts this OTRuneTransformOp to JSON.
10224
+ * Converts this OTOpComponent to JSON.
8983
10225
  * @returns JSON object
8984
10226
  */
8985
10227
  public toJSON(): { [k: string]: any };
@@ -14366,6 +15608,9 @@ export namespace api {
14366
15608
 
14367
15609
  /** DotReplit gitHubImport */
14368
15610
  gitHubImport?: (api.GitHubImportConfig|api.IGitHubImportConfig|null);
15611
+
15612
+ /** DotReplit auth */
15613
+ auth?: (api.AuthConfig|api.IAuthConfig|null);
14369
15614
  }
14370
15615
 
14371
15616
  /** Represents a DotReplit. */
@@ -14425,6 +15670,9 @@ export namespace api {
14425
15670
  /** DotReplit gitHubImport. */
14426
15671
  public gitHubImport?: (api.GitHubImportConfig|null);
14427
15672
 
15673
+ /** DotReplit auth. */
15674
+ public auth?: (api.AuthConfig|null);
15675
+
14428
15676
  /**
14429
15677
  * Creates a new DotReplit instance using the specified properties.
14430
15678
  * @param [properties] Properties to set
@@ -14772,6 +16020,96 @@ export namespace api {
14772
16020
  public toJSON(): { [k: string]: any };
14773
16021
  }
14774
16022
 
16023
+ /** Properties of an AuthConfig. */
16024
+ interface IAuthConfig {
16025
+
16026
+ /** AuthConfig enabled */
16027
+ enabled?: (boolean|null);
16028
+ }
16029
+
16030
+ /** Represents an AuthConfig. */
16031
+ class AuthConfig {
16032
+
16033
+ /**
16034
+ * Constructs a new AuthConfig.
16035
+ * @param [properties] Properties to set
16036
+ */
16037
+ private constructor(properties?: api.IAuthConfig);
16038
+
16039
+ /** AuthConfig enabled. */
16040
+ public enabled: boolean;
16041
+
16042
+ /**
16043
+ * Creates a new AuthConfig instance using the specified properties.
16044
+ * @param [properties] Properties to set
16045
+ * @returns AuthConfig instance
16046
+ */
16047
+ public static create(properties?: api.IAuthConfig): api.AuthConfig;
16048
+
16049
+ /**
16050
+ * Encodes the specified AuthConfig message. Does not implicitly {@link api.AuthConfig.verify|verify} messages.
16051
+ * @param message AuthConfig message or plain object to encode
16052
+ * @param [writer] Writer to encode to
16053
+ * @returns Writer
16054
+ */
16055
+ public static encode(message: api.AuthConfig, writer?: $protobuf.Writer): $protobuf.Writer;
16056
+
16057
+ /**
16058
+ * Encodes the specified AuthConfig message, length delimited. Does not implicitly {@link api.AuthConfig.verify|verify} messages.
16059
+ * @param message AuthConfig message or plain object to encode
16060
+ * @param [writer] Writer to encode to
16061
+ * @returns Writer
16062
+ */
16063
+ public static encodeDelimited(message: api.AuthConfig, writer?: $protobuf.Writer): $protobuf.Writer;
16064
+
16065
+ /**
16066
+ * Decodes an AuthConfig message from the specified reader or buffer.
16067
+ * @param reader Reader or buffer to decode from
16068
+ * @param [length] Message length if known beforehand
16069
+ * @returns AuthConfig
16070
+ * @throws {Error} If the payload is not a reader or valid buffer
16071
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16072
+ */
16073
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.AuthConfig;
16074
+
16075
+ /**
16076
+ * Decodes an AuthConfig message from the specified reader or buffer, length delimited.
16077
+ * @param reader Reader or buffer to decode from
16078
+ * @returns AuthConfig
16079
+ * @throws {Error} If the payload is not a reader or valid buffer
16080
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16081
+ */
16082
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.AuthConfig;
16083
+
16084
+ /**
16085
+ * Verifies an AuthConfig message.
16086
+ * @param message Plain object to verify
16087
+ * @returns `null` if valid, otherwise the reason why it is not
16088
+ */
16089
+ public static verify(message: { [k: string]: any }): (string|null);
16090
+
16091
+ /**
16092
+ * Creates an AuthConfig message from a plain object. Also converts values to their respective internal types.
16093
+ * @param object Plain object
16094
+ * @returns AuthConfig
16095
+ */
16096
+ public static fromObject(object: { [k: string]: any }): api.AuthConfig;
16097
+
16098
+ /**
16099
+ * Creates a plain object from an AuthConfig message. Also converts values to other types if specified.
16100
+ * @param message AuthConfig
16101
+ * @param [options] Conversion options
16102
+ * @returns Plain object
16103
+ */
16104
+ public static toObject(message: api.AuthConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
16105
+
16106
+ /**
16107
+ * Converts this AuthConfig to JSON.
16108
+ * @returns JSON object
16109
+ */
16110
+ public toJSON(): { [k: string]: any };
16111
+ }
16112
+
14775
16113
  /** Properties of a DotReplitInterp. */
14776
16114
  interface IDotReplitInterp {
14777
16115