@replit/protocol 0.2.61 → 0.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/index.d.ts +1361 -113
- package/main/index.js +2997 -33
- package/main/index.js.flow +1949 -196
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -14,6 +14,19 @@ declare var npm$namespace$api: {|
|
|
|
14
14
|
TokenVersion: typeof api$TokenVersion,
|
|
15
15
|
FlagClaim: typeof api$FlagClaim,
|
|
16
16
|
ICommand: Class<api$ICommand>,
|
|
17
|
+
INixPackageAddRequest: Class<api$INixPackageAddRequest>,
|
|
18
|
+
INixPackageAddResponse: Class<api$INixPackageAddResponse>,
|
|
19
|
+
INixPackageRemoveRequest: Class<api$INixPackageRemoveRequest>,
|
|
20
|
+
INixPackageRemoveResponse: Class<api$INixPackageRemoveResponse>,
|
|
21
|
+
INixPackageListRequest: Class<api$INixPackageListRequest>,
|
|
22
|
+
INixPackageListResponse: Class<api$INixPackageListResponse>,
|
|
23
|
+
INixPackage: Class<api$INixPackage>,
|
|
24
|
+
INixChannelsRequest: Class<api$INixChannelsRequest>,
|
|
25
|
+
INixChannelsResponse: Class<api$INixChannelsResponse>,
|
|
26
|
+
INixChannelLatestStableRequest: Class<api$INixChannelLatestStableRequest>,
|
|
27
|
+
INixChannelLatestStableResponse: Class<api$INixChannelLatestStableResponse>,
|
|
28
|
+
INixPackageSearchRequest: Class<api$INixPackageSearchRequest>,
|
|
29
|
+
INixPackageSearchResponse: Class<api$INixPackageSearchResponse>,
|
|
17
30
|
IStartLSP: Class<api$IStartLSP>,
|
|
18
31
|
IAudio: Class<api$IAudio>,
|
|
19
32
|
IAudio2: Class<api$IAudio2>,
|
|
@@ -184,6 +197,19 @@ declare var npm$namespace$api: {|
|
|
|
184
197
|
IGovalToken: Class<api$IGovalToken>,
|
|
185
198
|
IGovalReplIdentity: Class<api$IGovalReplIdentity>,
|
|
186
199
|
Command: typeof api$Command,
|
|
200
|
+
NixPackageAddRequest: typeof api$NixPackageAddRequest,
|
|
201
|
+
NixPackageAddResponse: typeof api$NixPackageAddResponse,
|
|
202
|
+
NixPackageRemoveRequest: typeof api$NixPackageRemoveRequest,
|
|
203
|
+
NixPackageRemoveResponse: typeof api$NixPackageRemoveResponse,
|
|
204
|
+
NixPackageListRequest: typeof api$NixPackageListRequest,
|
|
205
|
+
NixPackageListResponse: typeof api$NixPackageListResponse,
|
|
206
|
+
NixPackage: typeof api$NixPackage,
|
|
207
|
+
NixChannelsRequest: typeof api$NixChannelsRequest,
|
|
208
|
+
NixChannelsResponse: typeof api$NixChannelsResponse,
|
|
209
|
+
NixChannelLatestStableRequest: typeof api$NixChannelLatestStableRequest,
|
|
210
|
+
NixChannelLatestStableResponse: typeof api$NixChannelLatestStableResponse,
|
|
211
|
+
NixPackageSearchRequest: typeof api$NixPackageSearchRequest,
|
|
212
|
+
NixPackageSearchResponse: typeof api$NixPackageSearchResponse,
|
|
187
213
|
StartLSP: typeof api$StartLSP,
|
|
188
214
|
Audio: typeof api$Audio,
|
|
189
215
|
Audio2: typeof api$Audio2,
|
|
@@ -1162,6 +1188,99 @@ declare type api$ICommand = {|
|
|
|
1162
1188
|
*/
|
|
1163
1189
|
firewallDenied?: api$FirewallDenied | api$IFirewallDenied | null,
|
|
1164
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
* Command nixPackageAddRequest
|
|
1193
|
+
*/
|
|
1194
|
+
nixPackageAddRequest?:
|
|
1195
|
+
| api$NixPackageAddRequest
|
|
1196
|
+
| api$INixPackageAddRequest
|
|
1197
|
+
| null,
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Command nixPackageAddResponse
|
|
1201
|
+
*/
|
|
1202
|
+
nixPackageAddResponse?:
|
|
1203
|
+
| api$NixPackageAddResponse
|
|
1204
|
+
| api$INixPackageAddResponse
|
|
1205
|
+
| null,
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Command nixPackageRemoveRequest
|
|
1209
|
+
*/
|
|
1210
|
+
nixPackageRemoveRequest?:
|
|
1211
|
+
| api$NixPackageRemoveRequest
|
|
1212
|
+
| api$INixPackageRemoveRequest
|
|
1213
|
+
| null,
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Command nixPackageRemoveResponse
|
|
1217
|
+
*/
|
|
1218
|
+
nixPackageRemoveResponse?:
|
|
1219
|
+
| api$NixPackageRemoveResponse
|
|
1220
|
+
| api$INixPackageRemoveResponse
|
|
1221
|
+
| null,
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Command nixPackageListRequest
|
|
1225
|
+
*/
|
|
1226
|
+
nixPackageListRequest?:
|
|
1227
|
+
| api$NixPackageListRequest
|
|
1228
|
+
| api$INixPackageListRequest
|
|
1229
|
+
| null,
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Command nixPackageListResponse
|
|
1233
|
+
*/
|
|
1234
|
+
nixPackageListResponse?:
|
|
1235
|
+
| api$NixPackageListResponse
|
|
1236
|
+
| api$INixPackageListResponse
|
|
1237
|
+
| null,
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Command nixChannelsRequest
|
|
1241
|
+
*/
|
|
1242
|
+
nixChannelsRequest?: api$NixChannelsRequest | api$INixChannelsRequest | null,
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Command nixChannelsResponse
|
|
1246
|
+
*/
|
|
1247
|
+
nixChannelsResponse?:
|
|
1248
|
+
| api$NixChannelsResponse
|
|
1249
|
+
| api$INixChannelsResponse
|
|
1250
|
+
| null,
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Command nixChannelLatestStableRequest
|
|
1254
|
+
*/
|
|
1255
|
+
nixChannelLatestStableRequest?:
|
|
1256
|
+
| api$NixChannelLatestStableRequest
|
|
1257
|
+
| api$INixChannelLatestStableRequest
|
|
1258
|
+
| null,
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Command nixChannelLatestStableResponse
|
|
1262
|
+
*/
|
|
1263
|
+
nixChannelLatestStableResponse?:
|
|
1264
|
+
| api$NixChannelLatestStableResponse
|
|
1265
|
+
| api$INixChannelLatestStableResponse
|
|
1266
|
+
| null,
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* Command nixPackageSearchRequest
|
|
1270
|
+
*/
|
|
1271
|
+
nixPackageSearchRequest?:
|
|
1272
|
+
| api$NixPackageSearchRequest
|
|
1273
|
+
| api$INixPackageSearchRequest
|
|
1274
|
+
| null,
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* Command nixPackageSearchResponse
|
|
1278
|
+
*/
|
|
1279
|
+
nixPackageSearchResponse?:
|
|
1280
|
+
| api$NixPackageSearchResponse
|
|
1281
|
+
| api$INixPackageSearchResponse
|
|
1282
|
+
| null,
|
|
1283
|
+
|
|
1165
1284
|
/**
|
|
1166
1285
|
* Command ref
|
|
1167
1286
|
*/
|
|
@@ -1896,269 +2015,1893 @@ declare class api$Command {
|
|
|
1896
2015
|
debugRemoveBreakpointRequest?: api$DebugRemoveBreakpointRequest | null;
|
|
1897
2016
|
|
|
1898
2017
|
/**
|
|
1899
|
-
* Command debugBreakpointEvent.
|
|
2018
|
+
* Command debugBreakpointEvent.
|
|
2019
|
+
*/
|
|
2020
|
+
debugBreakpointEvent?: api$DebugBreakpointEvent | null;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Command dotReplitGetRequest.
|
|
2024
|
+
*/
|
|
2025
|
+
dotReplitGetRequest?: api$DotReplitGetRequest | null;
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* Command dotReplitGetResponse.
|
|
2029
|
+
*/
|
|
2030
|
+
dotReplitGetResponse?: api$DotReplitGetResponse | null;
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* Command runConfigGetRequest.
|
|
2034
|
+
*/
|
|
2035
|
+
runConfigGetRequest?: api$RunConfigGetRequest | null;
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* Command runConfigGetResponse.
|
|
2039
|
+
*/
|
|
2040
|
+
runConfigGetResponse?: api$RunConfigGetResponse | null;
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Command dotReplitUpdateRequest.
|
|
2044
|
+
*/
|
|
2045
|
+
dotReplitUpdateRequest?: api$DotReplitUpdateRequest | null;
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Command dotReplitUpdateResponse.
|
|
2049
|
+
*/
|
|
2050
|
+
dotReplitUpdateResponse?: api$DotReplitUpdateResponse | null;
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Command startLSP.
|
|
2054
|
+
*/
|
|
2055
|
+
startLSP?: api$StartLSP | null;
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Command firewallDenied.
|
|
2059
|
+
*/
|
|
2060
|
+
firewallDenied?: api$FirewallDenied | null;
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Command nixPackageAddRequest.
|
|
2064
|
+
*/
|
|
2065
|
+
nixPackageAddRequest?: api$NixPackageAddRequest | null;
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* Command nixPackageAddResponse.
|
|
2069
|
+
*/
|
|
2070
|
+
nixPackageAddResponse?: api$NixPackageAddResponse | null;
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* Command nixPackageRemoveRequest.
|
|
2074
|
+
*/
|
|
2075
|
+
nixPackageRemoveRequest?: api$NixPackageRemoveRequest | null;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Command nixPackageRemoveResponse.
|
|
2079
|
+
*/
|
|
2080
|
+
nixPackageRemoveResponse?: api$NixPackageRemoveResponse | null;
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Command nixPackageListRequest.
|
|
2084
|
+
*/
|
|
2085
|
+
nixPackageListRequest?: api$NixPackageListRequest | null;
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Command nixPackageListResponse.
|
|
2089
|
+
*/
|
|
2090
|
+
nixPackageListResponse?: api$NixPackageListResponse | null;
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* Command nixChannelsRequest.
|
|
2094
|
+
*/
|
|
2095
|
+
nixChannelsRequest?: api$NixChannelsRequest | null;
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Command nixChannelsResponse.
|
|
2099
|
+
*/
|
|
2100
|
+
nixChannelsResponse?: api$NixChannelsResponse | null;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Command nixChannelLatestStableRequest.
|
|
2104
|
+
*/
|
|
2105
|
+
nixChannelLatestStableRequest?: api$NixChannelLatestStableRequest | null;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* Command nixChannelLatestStableResponse.
|
|
2109
|
+
*/
|
|
2110
|
+
nixChannelLatestStableResponse?: api$NixChannelLatestStableResponse | null;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Command nixPackageSearchRequest.
|
|
2114
|
+
*/
|
|
2115
|
+
nixPackageSearchRequest?: api$NixPackageSearchRequest | null;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Command nixPackageSearchResponse.
|
|
2119
|
+
*/
|
|
2120
|
+
nixPackageSearchResponse?: api$NixPackageSearchResponse | null;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* Command ref.
|
|
2124
|
+
*/
|
|
2125
|
+
ref: string;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* Command traceInfo.
|
|
2129
|
+
*/
|
|
2130
|
+
traceInfo: {|
|
|
2131
|
+
[k: string]: string,
|
|
2132
|
+
|};
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Command body.
|
|
2136
|
+
*/
|
|
2137
|
+
body?:
|
|
2138
|
+
| "openChan"
|
|
2139
|
+
| "openChanRes"
|
|
2140
|
+
| "closeChan"
|
|
2141
|
+
| "closeChanRes"
|
|
2142
|
+
| "containerState"
|
|
2143
|
+
| "portOpen"
|
|
2144
|
+
| "portClose"
|
|
2145
|
+
| "toast"
|
|
2146
|
+
| "protocolError"
|
|
2147
|
+
| "redirect"
|
|
2148
|
+
| "alwaysOn"
|
|
2149
|
+
| "runMain"
|
|
2150
|
+
| "clear"
|
|
2151
|
+
| "eval"
|
|
2152
|
+
| "result"
|
|
2153
|
+
| "input"
|
|
2154
|
+
| "output"
|
|
2155
|
+
| "error"
|
|
2156
|
+
| "stderr"
|
|
2157
|
+
| "log"
|
|
2158
|
+
| "saneTerm"
|
|
2159
|
+
| "resizeTerm"
|
|
2160
|
+
| "state"
|
|
2161
|
+
| "ok"
|
|
2162
|
+
| "persist"
|
|
2163
|
+
| "persistMirror"
|
|
2164
|
+
| "write"
|
|
2165
|
+
| "remove"
|
|
2166
|
+
| "move"
|
|
2167
|
+
| "tryRemove"
|
|
2168
|
+
| "mkdir"
|
|
2169
|
+
| "stat"
|
|
2170
|
+
| "statRes"
|
|
2171
|
+
| "transferStart"
|
|
2172
|
+
| "transferChunk"
|
|
2173
|
+
| "transferComplete"
|
|
2174
|
+
| "transferCancel"
|
|
2175
|
+
| "transfer"
|
|
2176
|
+
| "read"
|
|
2177
|
+
| "readdir"
|
|
2178
|
+
| "files"
|
|
2179
|
+
| "file"
|
|
2180
|
+
| "checkChanges"
|
|
2181
|
+
| "changedFiles"
|
|
2182
|
+
| "lintResults"
|
|
2183
|
+
| "runContainedTest"
|
|
2184
|
+
| "testResult"
|
|
2185
|
+
| "debuggerStart"
|
|
2186
|
+
| "debuggerStep"
|
|
2187
|
+
| "debuggerStatus"
|
|
2188
|
+
| "ensurePackages"
|
|
2189
|
+
| "ping"
|
|
2190
|
+
| "pong"
|
|
2191
|
+
| "hello"
|
|
2192
|
+
| "goodbye"
|
|
2193
|
+
| "proxyGoingAway"
|
|
2194
|
+
| "hint"
|
|
2195
|
+
| "connect"
|
|
2196
|
+
| "send"
|
|
2197
|
+
| "recv"
|
|
2198
|
+
| "disconnect"
|
|
2199
|
+
| "fileAuthReq"
|
|
2200
|
+
| "fileAuthRes"
|
|
2201
|
+
| "mutliFileAuthRes"
|
|
2202
|
+
| "listObjects"
|
|
2203
|
+
| "listObjectsResp"
|
|
2204
|
+
| "ot"
|
|
2205
|
+
| "otstatus"
|
|
2206
|
+
| "otLinkFile"
|
|
2207
|
+
| "otLinkFileResponse"
|
|
2208
|
+
| "otNewCursor"
|
|
2209
|
+
| "otDeleteCursor"
|
|
2210
|
+
| "otFetchRequest"
|
|
2211
|
+
| "otFetchResponse"
|
|
2212
|
+
| "otTransformSelectionRequest"
|
|
2213
|
+
| "otTransformSelectionResponse"
|
|
2214
|
+
| "flush"
|
|
2215
|
+
| "debug"
|
|
2216
|
+
| "startVCR"
|
|
2217
|
+
| "readVCR"
|
|
2218
|
+
| "VCRLog"
|
|
2219
|
+
| "auth"
|
|
2220
|
+
| "execInfo"
|
|
2221
|
+
| "subscribeFile"
|
|
2222
|
+
| "fileEvent"
|
|
2223
|
+
| "roster"
|
|
2224
|
+
| "join"
|
|
2225
|
+
| "part"
|
|
2226
|
+
| "openFile"
|
|
2227
|
+
| "fileOpened"
|
|
2228
|
+
| "followUser"
|
|
2229
|
+
| "unfollowUser"
|
|
2230
|
+
| "updateSessionTimestamp"
|
|
2231
|
+
| "sessionTimestampUpdated"
|
|
2232
|
+
| "exec"
|
|
2233
|
+
| "packageSearch"
|
|
2234
|
+
| "packageSearchResp"
|
|
2235
|
+
| "packageInfo"
|
|
2236
|
+
| "packageInfoResp"
|
|
2237
|
+
| "packageAdd"
|
|
2238
|
+
| "packageRemove"
|
|
2239
|
+
| "packageInstall"
|
|
2240
|
+
| "packageListSpecfile"
|
|
2241
|
+
| "packageListSpecfileResp"
|
|
2242
|
+
| "packageCacheSave"
|
|
2243
|
+
| "chatMessage"
|
|
2244
|
+
| "chatTyping"
|
|
2245
|
+
| "chatScrollback"
|
|
2246
|
+
| "fsSnapshot"
|
|
2247
|
+
| "fsSnapshotEvent"
|
|
2248
|
+
| "fsTakeLock"
|
|
2249
|
+
| "fsReleaseLock"
|
|
2250
|
+
| "hasCap"
|
|
2251
|
+
| "snapshotEvent"
|
|
2252
|
+
| "NoninteractiveFSChangeEvent"
|
|
2253
|
+
| "pid1Config"
|
|
2254
|
+
| "metrics"
|
|
2255
|
+
| "bootStatus"
|
|
2256
|
+
| "readMetaRequest"
|
|
2257
|
+
| "readMetaResponse"
|
|
2258
|
+
| "writeMetaRequest"
|
|
2259
|
+
| "writeMetaResponse"
|
|
2260
|
+
| "appendMetaRequest"
|
|
2261
|
+
| "appendMetaResponse"
|
|
2262
|
+
| "audio"
|
|
2263
|
+
| "pprofRequest"
|
|
2264
|
+
| "pprofResponse"
|
|
2265
|
+
| "audio2"
|
|
2266
|
+
| "PTYConfig"
|
|
2267
|
+
| "debugMain"
|
|
2268
|
+
| "debugState"
|
|
2269
|
+
| "debugMainReply"
|
|
2270
|
+
| "debugInput"
|
|
2271
|
+
| "debugOutput"
|
|
2272
|
+
| "debugStop"
|
|
2273
|
+
| "debugLeave"
|
|
2274
|
+
| "debugSessions"
|
|
2275
|
+
| "debugAddBreakpointRequest"
|
|
2276
|
+
| "debugUpdateBreakpointRequest"
|
|
2277
|
+
| "debugRemoveBreakpointRequest"
|
|
2278
|
+
| "debugBreakpointEvent"
|
|
2279
|
+
| "dotReplitGetRequest"
|
|
2280
|
+
| "dotReplitGetResponse"
|
|
2281
|
+
| "runConfigGetRequest"
|
|
2282
|
+
| "runConfigGetResponse"
|
|
2283
|
+
| "dotReplitUpdateRequest"
|
|
2284
|
+
| "dotReplitUpdateResponse"
|
|
2285
|
+
| "startLSP"
|
|
2286
|
+
| "firewallDenied"
|
|
2287
|
+
| "nixPackageAddRequest"
|
|
2288
|
+
| "nixPackageAddResponse"
|
|
2289
|
+
| "nixPackageRemoveRequest"
|
|
2290
|
+
| "nixPackageRemoveResponse"
|
|
2291
|
+
| "nixPackageListRequest"
|
|
2292
|
+
| "nixPackageListResponse"
|
|
2293
|
+
| "nixChannelsRequest"
|
|
2294
|
+
| "nixChannelsResponse"
|
|
2295
|
+
| "nixChannelLatestStableRequest"
|
|
2296
|
+
| "nixChannelLatestStableResponse"
|
|
2297
|
+
| "nixPackageSearchRequest"
|
|
2298
|
+
| "nixPackageSearchResponse";
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* Creates a new Command instance using the specified properties.
|
|
2302
|
+
* @param [properties] Properties to set
|
|
2303
|
+
* @returns Command instance
|
|
2304
|
+
*/
|
|
2305
|
+
static create(properties?: api$ICommand): api$Command;
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* [object Object],[object Object],[object Object]
|
|
2309
|
+
* @param message Command message or plain object to encode
|
|
2310
|
+
* @param [writer] Writer to encode to
|
|
2311
|
+
* @returns Writer
|
|
2312
|
+
*/
|
|
2313
|
+
static encode(
|
|
2314
|
+
message: api$Command,
|
|
2315
|
+
writer?: $protobuf.Writer
|
|
2316
|
+
): $protobuf.Writer;
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* [object Object],[object Object],[object Object]
|
|
2320
|
+
* @param message Command message or plain object to encode
|
|
2321
|
+
* @param [writer] Writer to encode to
|
|
2322
|
+
* @returns Writer
|
|
2323
|
+
*/
|
|
2324
|
+
static encodeDelimited(
|
|
2325
|
+
message: api$Command,
|
|
2326
|
+
writer?: $protobuf.Writer
|
|
2327
|
+
): $protobuf.Writer;
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* Decodes a Command message from the specified reader or buffer.
|
|
2331
|
+
* @param reader Reader or buffer to decode from
|
|
2332
|
+
* @param [length] Message length if known beforehand
|
|
2333
|
+
* @returns Command
|
|
2334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2336
|
+
*/
|
|
2337
|
+
static decode(
|
|
2338
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2339
|
+
length?: number
|
|
2340
|
+
): api$Command;
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* Decodes a Command message from the specified reader or buffer, length delimited.
|
|
2344
|
+
* @param reader Reader or buffer to decode from
|
|
2345
|
+
* @returns Command
|
|
2346
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2347
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2348
|
+
*/
|
|
2349
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$Command;
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Verifies a Command message.
|
|
2353
|
+
* @param message Plain object to verify
|
|
2354
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2355
|
+
*/
|
|
2356
|
+
static verify(message: {|
|
|
2357
|
+
[k: string]: any,
|
|
2358
|
+
|}): string | null;
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* Creates a Command message from a plain object. Also converts values to their respective internal types.
|
|
2362
|
+
* @param object Plain object
|
|
2363
|
+
* @returns Command
|
|
2364
|
+
*/
|
|
2365
|
+
static fromObject(object: {|
|
|
2366
|
+
[k: string]: any,
|
|
2367
|
+
|}): api$Command;
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Creates a plain object from a Command message. Also converts values to other types if specified.
|
|
2371
|
+
* @param message Command
|
|
2372
|
+
* @param [options] Conversion options
|
|
2373
|
+
* @returns Plain object
|
|
2374
|
+
*/
|
|
2375
|
+
static toObject(
|
|
2376
|
+
message: api$Command,
|
|
2377
|
+
options?: $protobuf.IConversionOptions
|
|
2378
|
+
): {|
|
|
2379
|
+
[k: string]: any,
|
|
2380
|
+
|};
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Converts this Command to JSON.
|
|
2384
|
+
* @returns JSON object
|
|
2385
|
+
*/
|
|
2386
|
+
toJSON(): {|
|
|
2387
|
+
[k: string]: any,
|
|
2388
|
+
|};
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Properties of a NixPackageAddRequest.
|
|
2393
|
+
*/
|
|
2394
|
+
declare type api$INixPackageAddRequest = {|
|
|
2395
|
+
/**
|
|
2396
|
+
* NixPackageAddRequest packages
|
|
2397
|
+
*/
|
|
2398
|
+
packages?: string[] | null,
|
|
2399
|
+
|};
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* Represents a NixPackageAddRequest.
|
|
2403
|
+
*/
|
|
2404
|
+
declare class api$NixPackageAddRequest {
|
|
2405
|
+
/**
|
|
2406
|
+
* Constructs a new NixPackageAddRequest.
|
|
2407
|
+
* @param [properties] Properties to set
|
|
2408
|
+
*/
|
|
2409
|
+
constructor(properties?: api$INixPackageAddRequest): this;
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* NixPackageAddRequest packages.
|
|
2413
|
+
*/
|
|
2414
|
+
packages: string[];
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* Creates a new NixPackageAddRequest instance using the specified properties.
|
|
2418
|
+
* @param [properties] Properties to set
|
|
2419
|
+
* @returns NixPackageAddRequest instance
|
|
2420
|
+
*/
|
|
2421
|
+
static create(
|
|
2422
|
+
properties?: api$INixPackageAddRequest
|
|
2423
|
+
): api$NixPackageAddRequest;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* [object Object],[object Object],[object Object]
|
|
2427
|
+
* @param message NixPackageAddRequest message or plain object to encode
|
|
2428
|
+
* @param [writer] Writer to encode to
|
|
2429
|
+
* @returns Writer
|
|
2430
|
+
*/
|
|
2431
|
+
static encode(
|
|
2432
|
+
message: api$NixPackageAddRequest,
|
|
2433
|
+
writer?: $protobuf.Writer
|
|
2434
|
+
): $protobuf.Writer;
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* [object Object],[object Object],[object Object]
|
|
2438
|
+
* @param message NixPackageAddRequest message or plain object to encode
|
|
2439
|
+
* @param [writer] Writer to encode to
|
|
2440
|
+
* @returns Writer
|
|
2441
|
+
*/
|
|
2442
|
+
static encodeDelimited(
|
|
2443
|
+
message: api$NixPackageAddRequest,
|
|
2444
|
+
writer?: $protobuf.Writer
|
|
2445
|
+
): $protobuf.Writer;
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* Decodes a NixPackageAddRequest message from the specified reader or buffer.
|
|
2449
|
+
* @param reader Reader or buffer to decode from
|
|
2450
|
+
* @param [length] Message length if known beforehand
|
|
2451
|
+
* @returns NixPackageAddRequest
|
|
2452
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2453
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2454
|
+
*/
|
|
2455
|
+
static decode(
|
|
2456
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2457
|
+
length?: number
|
|
2458
|
+
): api$NixPackageAddRequest;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Decodes a NixPackageAddRequest message from the specified reader or buffer, length delimited.
|
|
2462
|
+
* @param reader Reader or buffer to decode from
|
|
2463
|
+
* @returns NixPackageAddRequest
|
|
2464
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2465
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2466
|
+
*/
|
|
2467
|
+
static decodeDelimited(
|
|
2468
|
+
reader: $protobuf.Reader | Uint8Array
|
|
2469
|
+
): api$NixPackageAddRequest;
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* Verifies a NixPackageAddRequest message.
|
|
2473
|
+
* @param message Plain object to verify
|
|
2474
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2475
|
+
*/
|
|
2476
|
+
static verify(message: {|
|
|
2477
|
+
[k: string]: any,
|
|
2478
|
+
|}): string | null;
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* Creates a NixPackageAddRequest message from a plain object. Also converts values to their respective internal types.
|
|
2482
|
+
* @param object Plain object
|
|
2483
|
+
* @returns NixPackageAddRequest
|
|
2484
|
+
*/
|
|
2485
|
+
static fromObject(object: {|
|
|
2486
|
+
[k: string]: any,
|
|
2487
|
+
|}): api$NixPackageAddRequest;
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Creates a plain object from a NixPackageAddRequest message. Also converts values to other types if specified.
|
|
2491
|
+
* @param message NixPackageAddRequest
|
|
2492
|
+
* @param [options] Conversion options
|
|
2493
|
+
* @returns Plain object
|
|
2494
|
+
*/
|
|
2495
|
+
static toObject(
|
|
2496
|
+
message: api$NixPackageAddRequest,
|
|
2497
|
+
options?: $protobuf.IConversionOptions
|
|
2498
|
+
): {|
|
|
2499
|
+
[k: string]: any,
|
|
2500
|
+
|};
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* Converts this NixPackageAddRequest to JSON.
|
|
2504
|
+
* @returns JSON object
|
|
2505
|
+
*/
|
|
2506
|
+
toJSON(): {|
|
|
2507
|
+
[k: string]: any,
|
|
2508
|
+
|};
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* Properties of a NixPackageAddResponse.
|
|
2513
|
+
*/
|
|
2514
|
+
declare type api$INixPackageAddResponse = {||};
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* Represents a NixPackageAddResponse.
|
|
2518
|
+
*/
|
|
2519
|
+
declare class api$NixPackageAddResponse {
|
|
2520
|
+
/**
|
|
2521
|
+
* Constructs a new NixPackageAddResponse.
|
|
2522
|
+
* @param [properties] Properties to set
|
|
2523
|
+
*/
|
|
2524
|
+
constructor(properties?: api$INixPackageAddResponse): this;
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* Creates a new NixPackageAddResponse instance using the specified properties.
|
|
2528
|
+
* @param [properties] Properties to set
|
|
2529
|
+
* @returns NixPackageAddResponse instance
|
|
2530
|
+
*/
|
|
2531
|
+
static create(
|
|
2532
|
+
properties?: api$INixPackageAddResponse
|
|
2533
|
+
): api$NixPackageAddResponse;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* [object Object],[object Object],[object Object]
|
|
2537
|
+
* @param message NixPackageAddResponse message or plain object to encode
|
|
2538
|
+
* @param [writer] Writer to encode to
|
|
2539
|
+
* @returns Writer
|
|
2540
|
+
*/
|
|
2541
|
+
static encode(
|
|
2542
|
+
message: api$NixPackageAddResponse,
|
|
2543
|
+
writer?: $protobuf.Writer
|
|
2544
|
+
): $protobuf.Writer;
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* [object Object],[object Object],[object Object]
|
|
2548
|
+
* @param message NixPackageAddResponse message or plain object to encode
|
|
2549
|
+
* @param [writer] Writer to encode to
|
|
2550
|
+
* @returns Writer
|
|
2551
|
+
*/
|
|
2552
|
+
static encodeDelimited(
|
|
2553
|
+
message: api$NixPackageAddResponse,
|
|
2554
|
+
writer?: $protobuf.Writer
|
|
2555
|
+
): $protobuf.Writer;
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* Decodes a NixPackageAddResponse message from the specified reader or buffer.
|
|
2559
|
+
* @param reader Reader or buffer to decode from
|
|
2560
|
+
* @param [length] Message length if known beforehand
|
|
2561
|
+
* @returns NixPackageAddResponse
|
|
2562
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2563
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2564
|
+
*/
|
|
2565
|
+
static decode(
|
|
2566
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2567
|
+
length?: number
|
|
2568
|
+
): api$NixPackageAddResponse;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Decodes a NixPackageAddResponse message from the specified reader or buffer, length delimited.
|
|
2572
|
+
* @param reader Reader or buffer to decode from
|
|
2573
|
+
* @returns NixPackageAddResponse
|
|
2574
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2575
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2576
|
+
*/
|
|
2577
|
+
static decodeDelimited(
|
|
2578
|
+
reader: $protobuf.Reader | Uint8Array
|
|
2579
|
+
): api$NixPackageAddResponse;
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Verifies a NixPackageAddResponse message.
|
|
2583
|
+
* @param message Plain object to verify
|
|
2584
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2585
|
+
*/
|
|
2586
|
+
static verify(message: {|
|
|
2587
|
+
[k: string]: any,
|
|
2588
|
+
|}): string | null;
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* Creates a NixPackageAddResponse message from a plain object. Also converts values to their respective internal types.
|
|
2592
|
+
* @param object Plain object
|
|
2593
|
+
* @returns NixPackageAddResponse
|
|
2594
|
+
*/
|
|
2595
|
+
static fromObject(object: {|
|
|
2596
|
+
[k: string]: any,
|
|
2597
|
+
|}): api$NixPackageAddResponse;
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* Creates a plain object from a NixPackageAddResponse message. Also converts values to other types if specified.
|
|
2601
|
+
* @param message NixPackageAddResponse
|
|
2602
|
+
* @param [options] Conversion options
|
|
2603
|
+
* @returns Plain object
|
|
2604
|
+
*/
|
|
2605
|
+
static toObject(
|
|
2606
|
+
message: api$NixPackageAddResponse,
|
|
2607
|
+
options?: $protobuf.IConversionOptions
|
|
2608
|
+
): {|
|
|
2609
|
+
[k: string]: any,
|
|
2610
|
+
|};
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* Converts this NixPackageAddResponse to JSON.
|
|
2614
|
+
* @returns JSON object
|
|
2615
|
+
*/
|
|
2616
|
+
toJSON(): {|
|
|
2617
|
+
[k: string]: any,
|
|
2618
|
+
|};
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Properties of a NixPackageRemoveRequest.
|
|
2623
|
+
*/
|
|
2624
|
+
declare type api$INixPackageRemoveRequest = {|
|
|
2625
|
+
/**
|
|
2626
|
+
* NixPackageRemoveRequest packages
|
|
2627
|
+
*/
|
|
2628
|
+
packages?: string[] | null,
|
|
2629
|
+
|};
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Represents a NixPackageRemoveRequest.
|
|
2633
|
+
*/
|
|
2634
|
+
declare class api$NixPackageRemoveRequest {
|
|
2635
|
+
/**
|
|
2636
|
+
* Constructs a new NixPackageRemoveRequest.
|
|
2637
|
+
* @param [properties] Properties to set
|
|
2638
|
+
*/
|
|
2639
|
+
constructor(properties?: api$INixPackageRemoveRequest): this;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* NixPackageRemoveRequest packages.
|
|
2643
|
+
*/
|
|
2644
|
+
packages: string[];
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* Creates a new NixPackageRemoveRequest instance using the specified properties.
|
|
2648
|
+
* @param [properties] Properties to set
|
|
2649
|
+
* @returns NixPackageRemoveRequest instance
|
|
2650
|
+
*/
|
|
2651
|
+
static create(
|
|
2652
|
+
properties?: api$INixPackageRemoveRequest
|
|
2653
|
+
): api$NixPackageRemoveRequest;
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* [object Object],[object Object],[object Object]
|
|
2657
|
+
* @param message NixPackageRemoveRequest message or plain object to encode
|
|
2658
|
+
* @param [writer] Writer to encode to
|
|
2659
|
+
* @returns Writer
|
|
2660
|
+
*/
|
|
2661
|
+
static encode(
|
|
2662
|
+
message: api$NixPackageRemoveRequest,
|
|
2663
|
+
writer?: $protobuf.Writer
|
|
2664
|
+
): $protobuf.Writer;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* [object Object],[object Object],[object Object]
|
|
2668
|
+
* @param message NixPackageRemoveRequest message or plain object to encode
|
|
2669
|
+
* @param [writer] Writer to encode to
|
|
2670
|
+
* @returns Writer
|
|
2671
|
+
*/
|
|
2672
|
+
static encodeDelimited(
|
|
2673
|
+
message: api$NixPackageRemoveRequest,
|
|
2674
|
+
writer?: $protobuf.Writer
|
|
2675
|
+
): $protobuf.Writer;
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* Decodes a NixPackageRemoveRequest message from the specified reader or buffer.
|
|
2679
|
+
* @param reader Reader or buffer to decode from
|
|
2680
|
+
* @param [length] Message length if known beforehand
|
|
2681
|
+
* @returns NixPackageRemoveRequest
|
|
2682
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2683
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2684
|
+
*/
|
|
2685
|
+
static decode(
|
|
2686
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2687
|
+
length?: number
|
|
2688
|
+
): api$NixPackageRemoveRequest;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Decodes a NixPackageRemoveRequest message from the specified reader or buffer, length delimited.
|
|
2692
|
+
* @param reader Reader or buffer to decode from
|
|
2693
|
+
* @returns NixPackageRemoveRequest
|
|
2694
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2695
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2696
|
+
*/
|
|
2697
|
+
static decodeDelimited(
|
|
2698
|
+
reader: $protobuf.Reader | Uint8Array
|
|
2699
|
+
): api$NixPackageRemoveRequest;
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* Verifies a NixPackageRemoveRequest message.
|
|
2703
|
+
* @param message Plain object to verify
|
|
2704
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2705
|
+
*/
|
|
2706
|
+
static verify(message: {|
|
|
2707
|
+
[k: string]: any,
|
|
2708
|
+
|}): string | null;
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* Creates a NixPackageRemoveRequest message from a plain object. Also converts values to their respective internal types.
|
|
2712
|
+
* @param object Plain object
|
|
2713
|
+
* @returns NixPackageRemoveRequest
|
|
2714
|
+
*/
|
|
2715
|
+
static fromObject(object: {|
|
|
2716
|
+
[k: string]: any,
|
|
2717
|
+
|}): api$NixPackageRemoveRequest;
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* Creates a plain object from a NixPackageRemoveRequest message. Also converts values to other types if specified.
|
|
2721
|
+
* @param message NixPackageRemoveRequest
|
|
2722
|
+
* @param [options] Conversion options
|
|
2723
|
+
* @returns Plain object
|
|
2724
|
+
*/
|
|
2725
|
+
static toObject(
|
|
2726
|
+
message: api$NixPackageRemoveRequest,
|
|
2727
|
+
options?: $protobuf.IConversionOptions
|
|
2728
|
+
): {|
|
|
2729
|
+
[k: string]: any,
|
|
2730
|
+
|};
|
|
2731
|
+
|
|
2732
|
+
/**
|
|
2733
|
+
* Converts this NixPackageRemoveRequest to JSON.
|
|
2734
|
+
* @returns JSON object
|
|
2735
|
+
*/
|
|
2736
|
+
toJSON(): {|
|
|
2737
|
+
[k: string]: any,
|
|
2738
|
+
|};
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* Properties of a NixPackageRemoveResponse.
|
|
2743
|
+
*/
|
|
2744
|
+
declare type api$INixPackageRemoveResponse = {||};
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Represents a NixPackageRemoveResponse.
|
|
2748
|
+
*/
|
|
2749
|
+
declare class api$NixPackageRemoveResponse {
|
|
2750
|
+
/**
|
|
2751
|
+
* Constructs a new NixPackageRemoveResponse.
|
|
2752
|
+
* @param [properties] Properties to set
|
|
2753
|
+
*/
|
|
2754
|
+
constructor(properties?: api$INixPackageRemoveResponse): this;
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Creates a new NixPackageRemoveResponse instance using the specified properties.
|
|
2758
|
+
* @param [properties] Properties to set
|
|
2759
|
+
* @returns NixPackageRemoveResponse instance
|
|
2760
|
+
*/
|
|
2761
|
+
static create(
|
|
2762
|
+
properties?: api$INixPackageRemoveResponse
|
|
2763
|
+
): api$NixPackageRemoveResponse;
|
|
2764
|
+
|
|
2765
|
+
/**
|
|
2766
|
+
* [object Object],[object Object],[object Object]
|
|
2767
|
+
* @param message NixPackageRemoveResponse message or plain object to encode
|
|
2768
|
+
* @param [writer] Writer to encode to
|
|
2769
|
+
* @returns Writer
|
|
2770
|
+
*/
|
|
2771
|
+
static encode(
|
|
2772
|
+
message: api$NixPackageRemoveResponse,
|
|
2773
|
+
writer?: $protobuf.Writer
|
|
2774
|
+
): $protobuf.Writer;
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* [object Object],[object Object],[object Object]
|
|
2778
|
+
* @param message NixPackageRemoveResponse message or plain object to encode
|
|
2779
|
+
* @param [writer] Writer to encode to
|
|
2780
|
+
* @returns Writer
|
|
2781
|
+
*/
|
|
2782
|
+
static encodeDelimited(
|
|
2783
|
+
message: api$NixPackageRemoveResponse,
|
|
2784
|
+
writer?: $protobuf.Writer
|
|
2785
|
+
): $protobuf.Writer;
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* Decodes a NixPackageRemoveResponse message from the specified reader or buffer.
|
|
2789
|
+
* @param reader Reader or buffer to decode from
|
|
2790
|
+
* @param [length] Message length if known beforehand
|
|
2791
|
+
* @returns NixPackageRemoveResponse
|
|
2792
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2793
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2794
|
+
*/
|
|
2795
|
+
static decode(
|
|
2796
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2797
|
+
length?: number
|
|
2798
|
+
): api$NixPackageRemoveResponse;
|
|
2799
|
+
|
|
2800
|
+
/**
|
|
2801
|
+
* Decodes a NixPackageRemoveResponse message from the specified reader or buffer, length delimited.
|
|
2802
|
+
* @param reader Reader or buffer to decode from
|
|
2803
|
+
* @returns NixPackageRemoveResponse
|
|
2804
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2805
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2806
|
+
*/
|
|
2807
|
+
static decodeDelimited(
|
|
2808
|
+
reader: $protobuf.Reader | Uint8Array
|
|
2809
|
+
): api$NixPackageRemoveResponse;
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* Verifies a NixPackageRemoveResponse message.
|
|
2813
|
+
* @param message Plain object to verify
|
|
2814
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2815
|
+
*/
|
|
2816
|
+
static verify(message: {|
|
|
2817
|
+
[k: string]: any,
|
|
2818
|
+
|}): string | null;
|
|
2819
|
+
|
|
2820
|
+
/**
|
|
2821
|
+
* Creates a NixPackageRemoveResponse message from a plain object. Also converts values to their respective internal types.
|
|
2822
|
+
* @param object Plain object
|
|
2823
|
+
* @returns NixPackageRemoveResponse
|
|
2824
|
+
*/
|
|
2825
|
+
static fromObject(object: {|
|
|
2826
|
+
[k: string]: any,
|
|
2827
|
+
|}): api$NixPackageRemoveResponse;
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* Creates a plain object from a NixPackageRemoveResponse message. Also converts values to other types if specified.
|
|
2831
|
+
* @param message NixPackageRemoveResponse
|
|
2832
|
+
* @param [options] Conversion options
|
|
2833
|
+
* @returns Plain object
|
|
2834
|
+
*/
|
|
2835
|
+
static toObject(
|
|
2836
|
+
message: api$NixPackageRemoveResponse,
|
|
2837
|
+
options?: $protobuf.IConversionOptions
|
|
2838
|
+
): {|
|
|
2839
|
+
[k: string]: any,
|
|
2840
|
+
|};
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* Converts this NixPackageRemoveResponse to JSON.
|
|
2844
|
+
* @returns JSON object
|
|
2845
|
+
*/
|
|
2846
|
+
toJSON(): {|
|
|
2847
|
+
[k: string]: any,
|
|
2848
|
+
|};
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Properties of a NixPackageListRequest.
|
|
2853
|
+
*/
|
|
2854
|
+
declare type api$INixPackageListRequest = {||};
|
|
2855
|
+
|
|
2856
|
+
/**
|
|
2857
|
+
* Represents a NixPackageListRequest.
|
|
2858
|
+
*/
|
|
2859
|
+
declare class api$NixPackageListRequest {
|
|
2860
|
+
/**
|
|
2861
|
+
* Constructs a new NixPackageListRequest.
|
|
2862
|
+
* @param [properties] Properties to set
|
|
2863
|
+
*/
|
|
2864
|
+
constructor(properties?: api$INixPackageListRequest): this;
|
|
2865
|
+
|
|
2866
|
+
/**
|
|
2867
|
+
* Creates a new NixPackageListRequest instance using the specified properties.
|
|
2868
|
+
* @param [properties] Properties to set
|
|
2869
|
+
* @returns NixPackageListRequest instance
|
|
2870
|
+
*/
|
|
2871
|
+
static create(
|
|
2872
|
+
properties?: api$INixPackageListRequest
|
|
2873
|
+
): api$NixPackageListRequest;
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
* [object Object],[object Object],[object Object]
|
|
2877
|
+
* @param message NixPackageListRequest message or plain object to encode
|
|
2878
|
+
* @param [writer] Writer to encode to
|
|
2879
|
+
* @returns Writer
|
|
2880
|
+
*/
|
|
2881
|
+
static encode(
|
|
2882
|
+
message: api$NixPackageListRequest,
|
|
2883
|
+
writer?: $protobuf.Writer
|
|
2884
|
+
): $protobuf.Writer;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* [object Object],[object Object],[object Object]
|
|
2888
|
+
* @param message NixPackageListRequest message or plain object to encode
|
|
2889
|
+
* @param [writer] Writer to encode to
|
|
2890
|
+
* @returns Writer
|
|
2891
|
+
*/
|
|
2892
|
+
static encodeDelimited(
|
|
2893
|
+
message: api$NixPackageListRequest,
|
|
2894
|
+
writer?: $protobuf.Writer
|
|
2895
|
+
): $protobuf.Writer;
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* Decodes a NixPackageListRequest message from the specified reader or buffer.
|
|
2899
|
+
* @param reader Reader or buffer to decode from
|
|
2900
|
+
* @param [length] Message length if known beforehand
|
|
2901
|
+
* @returns NixPackageListRequest
|
|
2902
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2903
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2904
|
+
*/
|
|
2905
|
+
static decode(
|
|
2906
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2907
|
+
length?: number
|
|
2908
|
+
): api$NixPackageListRequest;
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Decodes a NixPackageListRequest message from the specified reader or buffer, length delimited.
|
|
2912
|
+
* @param reader Reader or buffer to decode from
|
|
2913
|
+
* @returns NixPackageListRequest
|
|
2914
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2915
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2916
|
+
*/
|
|
2917
|
+
static decodeDelimited(
|
|
2918
|
+
reader: $protobuf.Reader | Uint8Array
|
|
2919
|
+
): api$NixPackageListRequest;
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Verifies a NixPackageListRequest message.
|
|
2923
|
+
* @param message Plain object to verify
|
|
2924
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2925
|
+
*/
|
|
2926
|
+
static verify(message: {|
|
|
2927
|
+
[k: string]: any,
|
|
2928
|
+
|}): string | null;
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Creates a NixPackageListRequest message from a plain object. Also converts values to their respective internal types.
|
|
2932
|
+
* @param object Plain object
|
|
2933
|
+
* @returns NixPackageListRequest
|
|
2934
|
+
*/
|
|
2935
|
+
static fromObject(object: {|
|
|
2936
|
+
[k: string]: any,
|
|
2937
|
+
|}): api$NixPackageListRequest;
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Creates a plain object from a NixPackageListRequest message. Also converts values to other types if specified.
|
|
2941
|
+
* @param message NixPackageListRequest
|
|
2942
|
+
* @param [options] Conversion options
|
|
2943
|
+
* @returns Plain object
|
|
2944
|
+
*/
|
|
2945
|
+
static toObject(
|
|
2946
|
+
message: api$NixPackageListRequest,
|
|
2947
|
+
options?: $protobuf.IConversionOptions
|
|
2948
|
+
): {|
|
|
2949
|
+
[k: string]: any,
|
|
2950
|
+
|};
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
* Converts this NixPackageListRequest to JSON.
|
|
2954
|
+
* @returns JSON object
|
|
2955
|
+
*/
|
|
2956
|
+
toJSON(): {|
|
|
2957
|
+
[k: string]: any,
|
|
2958
|
+
|};
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
/**
|
|
2962
|
+
* Properties of a NixPackageListResponse.
|
|
2963
|
+
*/
|
|
2964
|
+
declare type api$INixPackageListResponse = {|
|
|
2965
|
+
/**
|
|
2966
|
+
* NixPackageListResponse packages
|
|
2967
|
+
*/
|
|
2968
|
+
packages?: (api$NixPackage | api$INixPackage)[] | null,
|
|
2969
|
+
|};
|
|
2970
|
+
|
|
2971
|
+
/**
|
|
2972
|
+
* Represents a NixPackageListResponse.
|
|
2973
|
+
*/
|
|
2974
|
+
declare class api$NixPackageListResponse {
|
|
2975
|
+
/**
|
|
2976
|
+
* Constructs a new NixPackageListResponse.
|
|
2977
|
+
* @param [properties] Properties to set
|
|
2978
|
+
*/
|
|
2979
|
+
constructor(properties?: api$INixPackageListResponse): this;
|
|
2980
|
+
|
|
2981
|
+
/**
|
|
2982
|
+
* NixPackageListResponse packages.
|
|
2983
|
+
*/
|
|
2984
|
+
packages: api$NixPackage[];
|
|
2985
|
+
|
|
2986
|
+
/**
|
|
2987
|
+
* Creates a new NixPackageListResponse instance using the specified properties.
|
|
2988
|
+
* @param [properties] Properties to set
|
|
2989
|
+
* @returns NixPackageListResponse instance
|
|
2990
|
+
*/
|
|
2991
|
+
static create(
|
|
2992
|
+
properties?: api$INixPackageListResponse
|
|
2993
|
+
): api$NixPackageListResponse;
|
|
2994
|
+
|
|
2995
|
+
/**
|
|
2996
|
+
* [object Object],[object Object],[object Object]
|
|
2997
|
+
* @param message NixPackageListResponse message or plain object to encode
|
|
2998
|
+
* @param [writer] Writer to encode to
|
|
2999
|
+
* @returns Writer
|
|
3000
|
+
*/
|
|
3001
|
+
static encode(
|
|
3002
|
+
message: api$NixPackageListResponse,
|
|
3003
|
+
writer?: $protobuf.Writer
|
|
3004
|
+
): $protobuf.Writer;
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* [object Object],[object Object],[object Object]
|
|
3008
|
+
* @param message NixPackageListResponse message or plain object to encode
|
|
3009
|
+
* @param [writer] Writer to encode to
|
|
3010
|
+
* @returns Writer
|
|
3011
|
+
*/
|
|
3012
|
+
static encodeDelimited(
|
|
3013
|
+
message: api$NixPackageListResponse,
|
|
3014
|
+
writer?: $protobuf.Writer
|
|
3015
|
+
): $protobuf.Writer;
|
|
3016
|
+
|
|
3017
|
+
/**
|
|
3018
|
+
* Decodes a NixPackageListResponse message from the specified reader or buffer.
|
|
3019
|
+
* @param reader Reader or buffer to decode from
|
|
3020
|
+
* @param [length] Message length if known beforehand
|
|
3021
|
+
* @returns NixPackageListResponse
|
|
3022
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3023
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3024
|
+
*/
|
|
3025
|
+
static decode(
|
|
3026
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3027
|
+
length?: number
|
|
3028
|
+
): api$NixPackageListResponse;
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* Decodes a NixPackageListResponse message from the specified reader or buffer, length delimited.
|
|
3032
|
+
* @param reader Reader or buffer to decode from
|
|
3033
|
+
* @returns NixPackageListResponse
|
|
3034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3036
|
+
*/
|
|
3037
|
+
static decodeDelimited(
|
|
3038
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3039
|
+
): api$NixPackageListResponse;
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* Verifies a NixPackageListResponse message.
|
|
3043
|
+
* @param message Plain object to verify
|
|
3044
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3045
|
+
*/
|
|
3046
|
+
static verify(message: {|
|
|
3047
|
+
[k: string]: any,
|
|
3048
|
+
|}): string | null;
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* Creates a NixPackageListResponse message from a plain object. Also converts values to their respective internal types.
|
|
3052
|
+
* @param object Plain object
|
|
3053
|
+
* @returns NixPackageListResponse
|
|
3054
|
+
*/
|
|
3055
|
+
static fromObject(object: {|
|
|
3056
|
+
[k: string]: any,
|
|
3057
|
+
|}): api$NixPackageListResponse;
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* Creates a plain object from a NixPackageListResponse message. Also converts values to other types if specified.
|
|
3061
|
+
* @param message NixPackageListResponse
|
|
3062
|
+
* @param [options] Conversion options
|
|
3063
|
+
* @returns Plain object
|
|
3064
|
+
*/
|
|
3065
|
+
static toObject(
|
|
3066
|
+
message: api$NixPackageListResponse,
|
|
3067
|
+
options?: $protobuf.IConversionOptions
|
|
3068
|
+
): {|
|
|
3069
|
+
[k: string]: any,
|
|
3070
|
+
|};
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Converts this NixPackageListResponse to JSON.
|
|
3074
|
+
* @returns JSON object
|
|
3075
|
+
*/
|
|
3076
|
+
toJSON(): {|
|
|
3077
|
+
[k: string]: any,
|
|
3078
|
+
|};
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
/**
|
|
3082
|
+
* Properties of a NixPackage.
|
|
3083
|
+
*/
|
|
3084
|
+
declare type api$INixPackage = {|
|
|
3085
|
+
/**
|
|
3086
|
+
* NixPackage name
|
|
3087
|
+
*/
|
|
3088
|
+
name?: string | null,
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* NixPackage description
|
|
3092
|
+
*/
|
|
3093
|
+
description?: string | null,
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* NixPackage version
|
|
3097
|
+
*/
|
|
3098
|
+
version?: string | null,
|
|
3099
|
+
|
|
3100
|
+
/**
|
|
3101
|
+
* NixPackage homepageURL
|
|
3102
|
+
*/
|
|
3103
|
+
homepageURL?: string[] | null,
|
|
3104
|
+
|
|
3105
|
+
/**
|
|
3106
|
+
* NixPackage maintainers
|
|
3107
|
+
*/
|
|
3108
|
+
maintainers?: string[] | null,
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* NixPackage licenses
|
|
3112
|
+
*/
|
|
3113
|
+
licenses?: string[] | null,
|
|
3114
|
+
|};
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Represents a NixPackage.
|
|
3118
|
+
*/
|
|
3119
|
+
declare class api$NixPackage {
|
|
3120
|
+
/**
|
|
3121
|
+
* Constructs a new NixPackage.
|
|
3122
|
+
* @param [properties] Properties to set
|
|
3123
|
+
*/
|
|
3124
|
+
constructor(properties?: api$INixPackage): this;
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* NixPackage name.
|
|
3128
|
+
*/
|
|
3129
|
+
name: string;
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* NixPackage description.
|
|
3133
|
+
*/
|
|
3134
|
+
description: string;
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* NixPackage version.
|
|
3138
|
+
*/
|
|
3139
|
+
version: string;
|
|
3140
|
+
|
|
3141
|
+
/**
|
|
3142
|
+
* NixPackage homepageURL.
|
|
3143
|
+
*/
|
|
3144
|
+
homepageURL: string[];
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* NixPackage maintainers.
|
|
3148
|
+
*/
|
|
3149
|
+
maintainers: string[];
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* NixPackage licenses.
|
|
3153
|
+
*/
|
|
3154
|
+
licenses: string[];
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Creates a new NixPackage instance using the specified properties.
|
|
3158
|
+
* @param [properties] Properties to set
|
|
3159
|
+
* @returns NixPackage instance
|
|
3160
|
+
*/
|
|
3161
|
+
static create(properties?: api$INixPackage): api$NixPackage;
|
|
3162
|
+
|
|
3163
|
+
/**
|
|
3164
|
+
* [object Object],[object Object],[object Object]
|
|
3165
|
+
* @param message NixPackage message or plain object to encode
|
|
3166
|
+
* @param [writer] Writer to encode to
|
|
3167
|
+
* @returns Writer
|
|
3168
|
+
*/
|
|
3169
|
+
static encode(
|
|
3170
|
+
message: api$NixPackage,
|
|
3171
|
+
writer?: $protobuf.Writer
|
|
3172
|
+
): $protobuf.Writer;
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* [object Object],[object Object],[object Object]
|
|
3176
|
+
* @param message NixPackage message or plain object to encode
|
|
3177
|
+
* @param [writer] Writer to encode to
|
|
3178
|
+
* @returns Writer
|
|
3179
|
+
*/
|
|
3180
|
+
static encodeDelimited(
|
|
3181
|
+
message: api$NixPackage,
|
|
3182
|
+
writer?: $protobuf.Writer
|
|
3183
|
+
): $protobuf.Writer;
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* Decodes a NixPackage message from the specified reader or buffer.
|
|
3187
|
+
* @param reader Reader or buffer to decode from
|
|
3188
|
+
* @param [length] Message length if known beforehand
|
|
3189
|
+
* @returns NixPackage
|
|
3190
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3191
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3192
|
+
*/
|
|
3193
|
+
static decode(
|
|
3194
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3195
|
+
length?: number
|
|
3196
|
+
): api$NixPackage;
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* Decodes a NixPackage message from the specified reader or buffer, length delimited.
|
|
3200
|
+
* @param reader Reader or buffer to decode from
|
|
3201
|
+
* @returns NixPackage
|
|
3202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3204
|
+
*/
|
|
3205
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$NixPackage;
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
* Verifies a NixPackage message.
|
|
3209
|
+
* @param message Plain object to verify
|
|
3210
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3211
|
+
*/
|
|
3212
|
+
static verify(message: {|
|
|
3213
|
+
[k: string]: any,
|
|
3214
|
+
|}): string | null;
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Creates a NixPackage message from a plain object. Also converts values to their respective internal types.
|
|
3218
|
+
* @param object Plain object
|
|
3219
|
+
* @returns NixPackage
|
|
3220
|
+
*/
|
|
3221
|
+
static fromObject(object: {|
|
|
3222
|
+
[k: string]: any,
|
|
3223
|
+
|}): api$NixPackage;
|
|
3224
|
+
|
|
3225
|
+
/**
|
|
3226
|
+
* Creates a plain object from a NixPackage message. Also converts values to other types if specified.
|
|
3227
|
+
* @param message NixPackage
|
|
3228
|
+
* @param [options] Conversion options
|
|
3229
|
+
* @returns Plain object
|
|
3230
|
+
*/
|
|
3231
|
+
static toObject(
|
|
3232
|
+
message: api$NixPackage,
|
|
3233
|
+
options?: $protobuf.IConversionOptions
|
|
3234
|
+
): {|
|
|
3235
|
+
[k: string]: any,
|
|
3236
|
+
|};
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Converts this NixPackage to JSON.
|
|
3240
|
+
* @returns JSON object
|
|
3241
|
+
*/
|
|
3242
|
+
toJSON(): {|
|
|
3243
|
+
[k: string]: any,
|
|
3244
|
+
|};
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
/**
|
|
3248
|
+
* Properties of a NixChannelsRequest.
|
|
3249
|
+
*/
|
|
3250
|
+
declare type api$INixChannelsRequest = {||};
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* Represents a NixChannelsRequest.
|
|
3254
|
+
*/
|
|
3255
|
+
declare class api$NixChannelsRequest {
|
|
3256
|
+
/**
|
|
3257
|
+
* Constructs a new NixChannelsRequest.
|
|
3258
|
+
* @param [properties] Properties to set
|
|
3259
|
+
*/
|
|
3260
|
+
constructor(properties?: api$INixChannelsRequest): this;
|
|
3261
|
+
|
|
3262
|
+
/**
|
|
3263
|
+
* Creates a new NixChannelsRequest instance using the specified properties.
|
|
3264
|
+
* @param [properties] Properties to set
|
|
3265
|
+
* @returns NixChannelsRequest instance
|
|
3266
|
+
*/
|
|
3267
|
+
static create(properties?: api$INixChannelsRequest): api$NixChannelsRequest;
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* [object Object],[object Object],[object Object]
|
|
3271
|
+
* @param message NixChannelsRequest message or plain object to encode
|
|
3272
|
+
* @param [writer] Writer to encode to
|
|
3273
|
+
* @returns Writer
|
|
3274
|
+
*/
|
|
3275
|
+
static encode(
|
|
3276
|
+
message: api$NixChannelsRequest,
|
|
3277
|
+
writer?: $protobuf.Writer
|
|
3278
|
+
): $protobuf.Writer;
|
|
3279
|
+
|
|
3280
|
+
/**
|
|
3281
|
+
* [object Object],[object Object],[object Object]
|
|
3282
|
+
* @param message NixChannelsRequest message or plain object to encode
|
|
3283
|
+
* @param [writer] Writer to encode to
|
|
3284
|
+
* @returns Writer
|
|
3285
|
+
*/
|
|
3286
|
+
static encodeDelimited(
|
|
3287
|
+
message: api$NixChannelsRequest,
|
|
3288
|
+
writer?: $protobuf.Writer
|
|
3289
|
+
): $protobuf.Writer;
|
|
3290
|
+
|
|
3291
|
+
/**
|
|
3292
|
+
* Decodes a NixChannelsRequest message from the specified reader or buffer.
|
|
3293
|
+
* @param reader Reader or buffer to decode from
|
|
3294
|
+
* @param [length] Message length if known beforehand
|
|
3295
|
+
* @returns NixChannelsRequest
|
|
3296
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3297
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3298
|
+
*/
|
|
3299
|
+
static decode(
|
|
3300
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3301
|
+
length?: number
|
|
3302
|
+
): api$NixChannelsRequest;
|
|
3303
|
+
|
|
3304
|
+
/**
|
|
3305
|
+
* Decodes a NixChannelsRequest message from the specified reader or buffer, length delimited.
|
|
3306
|
+
* @param reader Reader or buffer to decode from
|
|
3307
|
+
* @returns NixChannelsRequest
|
|
3308
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3309
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3310
|
+
*/
|
|
3311
|
+
static decodeDelimited(
|
|
3312
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3313
|
+
): api$NixChannelsRequest;
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* Verifies a NixChannelsRequest message.
|
|
3317
|
+
* @param message Plain object to verify
|
|
3318
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3319
|
+
*/
|
|
3320
|
+
static verify(message: {|
|
|
3321
|
+
[k: string]: any,
|
|
3322
|
+
|}): string | null;
|
|
3323
|
+
|
|
3324
|
+
/**
|
|
3325
|
+
* Creates a NixChannelsRequest message from a plain object. Also converts values to their respective internal types.
|
|
3326
|
+
* @param object Plain object
|
|
3327
|
+
* @returns NixChannelsRequest
|
|
3328
|
+
*/
|
|
3329
|
+
static fromObject(object: {|
|
|
3330
|
+
[k: string]: any,
|
|
3331
|
+
|}): api$NixChannelsRequest;
|
|
3332
|
+
|
|
3333
|
+
/**
|
|
3334
|
+
* Creates a plain object from a NixChannelsRequest message. Also converts values to other types if specified.
|
|
3335
|
+
* @param message NixChannelsRequest
|
|
3336
|
+
* @param [options] Conversion options
|
|
3337
|
+
* @returns Plain object
|
|
3338
|
+
*/
|
|
3339
|
+
static toObject(
|
|
3340
|
+
message: api$NixChannelsRequest,
|
|
3341
|
+
options?: $protobuf.IConversionOptions
|
|
3342
|
+
): {|
|
|
3343
|
+
[k: string]: any,
|
|
3344
|
+
|};
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Converts this NixChannelsRequest to JSON.
|
|
3348
|
+
* @returns JSON object
|
|
3349
|
+
*/
|
|
3350
|
+
toJSON(): {|
|
|
3351
|
+
[k: string]: any,
|
|
3352
|
+
|};
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* Properties of a NixChannelsResponse.
|
|
3357
|
+
*/
|
|
3358
|
+
declare type api$INixChannelsResponse = {|
|
|
3359
|
+
/**
|
|
3360
|
+
* NixChannelsResponse channels
|
|
3361
|
+
*/
|
|
3362
|
+
channels?: string[] | null,
|
|
3363
|
+
|};
|
|
3364
|
+
|
|
3365
|
+
/**
|
|
3366
|
+
* Represents a NixChannelsResponse.
|
|
3367
|
+
*/
|
|
3368
|
+
declare class api$NixChannelsResponse {
|
|
3369
|
+
/**
|
|
3370
|
+
* Constructs a new NixChannelsResponse.
|
|
3371
|
+
* @param [properties] Properties to set
|
|
3372
|
+
*/
|
|
3373
|
+
constructor(properties?: api$INixChannelsResponse): this;
|
|
3374
|
+
|
|
3375
|
+
/**
|
|
3376
|
+
* NixChannelsResponse channels.
|
|
3377
|
+
*/
|
|
3378
|
+
channels: string[];
|
|
3379
|
+
|
|
3380
|
+
/**
|
|
3381
|
+
* Creates a new NixChannelsResponse instance using the specified properties.
|
|
3382
|
+
* @param [properties] Properties to set
|
|
3383
|
+
* @returns NixChannelsResponse instance
|
|
3384
|
+
*/
|
|
3385
|
+
static create(properties?: api$INixChannelsResponse): api$NixChannelsResponse;
|
|
3386
|
+
|
|
3387
|
+
/**
|
|
3388
|
+
* [object Object],[object Object],[object Object]
|
|
3389
|
+
* @param message NixChannelsResponse message or plain object to encode
|
|
3390
|
+
* @param [writer] Writer to encode to
|
|
3391
|
+
* @returns Writer
|
|
3392
|
+
*/
|
|
3393
|
+
static encode(
|
|
3394
|
+
message: api$NixChannelsResponse,
|
|
3395
|
+
writer?: $protobuf.Writer
|
|
3396
|
+
): $protobuf.Writer;
|
|
3397
|
+
|
|
3398
|
+
/**
|
|
3399
|
+
* [object Object],[object Object],[object Object]
|
|
3400
|
+
* @param message NixChannelsResponse message or plain object to encode
|
|
3401
|
+
* @param [writer] Writer to encode to
|
|
3402
|
+
* @returns Writer
|
|
3403
|
+
*/
|
|
3404
|
+
static encodeDelimited(
|
|
3405
|
+
message: api$NixChannelsResponse,
|
|
3406
|
+
writer?: $protobuf.Writer
|
|
3407
|
+
): $protobuf.Writer;
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Decodes a NixChannelsResponse message from the specified reader or buffer.
|
|
3411
|
+
* @param reader Reader or buffer to decode from
|
|
3412
|
+
* @param [length] Message length if known beforehand
|
|
3413
|
+
* @returns NixChannelsResponse
|
|
3414
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3415
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3416
|
+
*/
|
|
3417
|
+
static decode(
|
|
3418
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3419
|
+
length?: number
|
|
3420
|
+
): api$NixChannelsResponse;
|
|
3421
|
+
|
|
3422
|
+
/**
|
|
3423
|
+
* Decodes a NixChannelsResponse message from the specified reader or buffer, length delimited.
|
|
3424
|
+
* @param reader Reader or buffer to decode from
|
|
3425
|
+
* @returns NixChannelsResponse
|
|
3426
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3427
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3428
|
+
*/
|
|
3429
|
+
static decodeDelimited(
|
|
3430
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3431
|
+
): api$NixChannelsResponse;
|
|
3432
|
+
|
|
3433
|
+
/**
|
|
3434
|
+
* Verifies a NixChannelsResponse message.
|
|
3435
|
+
* @param message Plain object to verify
|
|
3436
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3437
|
+
*/
|
|
3438
|
+
static verify(message: {|
|
|
3439
|
+
[k: string]: any,
|
|
3440
|
+
|}): string | null;
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Creates a NixChannelsResponse message from a plain object. Also converts values to their respective internal types.
|
|
3444
|
+
* @param object Plain object
|
|
3445
|
+
* @returns NixChannelsResponse
|
|
3446
|
+
*/
|
|
3447
|
+
static fromObject(object: {|
|
|
3448
|
+
[k: string]: any,
|
|
3449
|
+
|}): api$NixChannelsResponse;
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* Creates a plain object from a NixChannelsResponse message. Also converts values to other types if specified.
|
|
3453
|
+
* @param message NixChannelsResponse
|
|
3454
|
+
* @param [options] Conversion options
|
|
3455
|
+
* @returns Plain object
|
|
3456
|
+
*/
|
|
3457
|
+
static toObject(
|
|
3458
|
+
message: api$NixChannelsResponse,
|
|
3459
|
+
options?: $protobuf.IConversionOptions
|
|
3460
|
+
): {|
|
|
3461
|
+
[k: string]: any,
|
|
3462
|
+
|};
|
|
3463
|
+
|
|
3464
|
+
/**
|
|
3465
|
+
* Converts this NixChannelsResponse to JSON.
|
|
3466
|
+
* @returns JSON object
|
|
3467
|
+
*/
|
|
3468
|
+
toJSON(): {|
|
|
3469
|
+
[k: string]: any,
|
|
3470
|
+
|};
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* Properties of a NixChannelLatestStableRequest.
|
|
3475
|
+
*/
|
|
3476
|
+
declare type api$INixChannelLatestStableRequest = {||};
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Represents a NixChannelLatestStableRequest.
|
|
3480
|
+
*/
|
|
3481
|
+
declare class api$NixChannelLatestStableRequest {
|
|
3482
|
+
/**
|
|
3483
|
+
* Constructs a new NixChannelLatestStableRequest.
|
|
3484
|
+
* @param [properties] Properties to set
|
|
3485
|
+
*/
|
|
3486
|
+
constructor(properties?: api$INixChannelLatestStableRequest): this;
|
|
3487
|
+
|
|
3488
|
+
/**
|
|
3489
|
+
* Creates a new NixChannelLatestStableRequest instance using the specified properties.
|
|
3490
|
+
* @param [properties] Properties to set
|
|
3491
|
+
* @returns NixChannelLatestStableRequest instance
|
|
3492
|
+
*/
|
|
3493
|
+
static create(
|
|
3494
|
+
properties?: api$INixChannelLatestStableRequest
|
|
3495
|
+
): api$NixChannelLatestStableRequest;
|
|
3496
|
+
|
|
3497
|
+
/**
|
|
3498
|
+
* [object Object],[object Object],[object Object]
|
|
3499
|
+
* @param message NixChannelLatestStableRequest message or plain object to encode
|
|
3500
|
+
* @param [writer] Writer to encode to
|
|
3501
|
+
* @returns Writer
|
|
3502
|
+
*/
|
|
3503
|
+
static encode(
|
|
3504
|
+
message: api$NixChannelLatestStableRequest,
|
|
3505
|
+
writer?: $protobuf.Writer
|
|
3506
|
+
): $protobuf.Writer;
|
|
3507
|
+
|
|
3508
|
+
/**
|
|
3509
|
+
* [object Object],[object Object],[object Object]
|
|
3510
|
+
* @param message NixChannelLatestStableRequest message or plain object to encode
|
|
3511
|
+
* @param [writer] Writer to encode to
|
|
3512
|
+
* @returns Writer
|
|
3513
|
+
*/
|
|
3514
|
+
static encodeDelimited(
|
|
3515
|
+
message: api$NixChannelLatestStableRequest,
|
|
3516
|
+
writer?: $protobuf.Writer
|
|
3517
|
+
): $protobuf.Writer;
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Decodes a NixChannelLatestStableRequest message from the specified reader or buffer.
|
|
3521
|
+
* @param reader Reader or buffer to decode from
|
|
3522
|
+
* @param [length] Message length if known beforehand
|
|
3523
|
+
* @returns NixChannelLatestStableRequest
|
|
3524
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3525
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3526
|
+
*/
|
|
3527
|
+
static decode(
|
|
3528
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3529
|
+
length?: number
|
|
3530
|
+
): api$NixChannelLatestStableRequest;
|
|
3531
|
+
|
|
3532
|
+
/**
|
|
3533
|
+
* Decodes a NixChannelLatestStableRequest message from the specified reader or buffer, length delimited.
|
|
3534
|
+
* @param reader Reader or buffer to decode from
|
|
3535
|
+
* @returns NixChannelLatestStableRequest
|
|
3536
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3537
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3538
|
+
*/
|
|
3539
|
+
static decodeDelimited(
|
|
3540
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3541
|
+
): api$NixChannelLatestStableRequest;
|
|
3542
|
+
|
|
3543
|
+
/**
|
|
3544
|
+
* Verifies a NixChannelLatestStableRequest message.
|
|
3545
|
+
* @param message Plain object to verify
|
|
3546
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3547
|
+
*/
|
|
3548
|
+
static verify(message: {|
|
|
3549
|
+
[k: string]: any,
|
|
3550
|
+
|}): string | null;
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* Creates a NixChannelLatestStableRequest message from a plain object. Also converts values to their respective internal types.
|
|
3554
|
+
* @param object Plain object
|
|
3555
|
+
* @returns NixChannelLatestStableRequest
|
|
3556
|
+
*/
|
|
3557
|
+
static fromObject(object: {|
|
|
3558
|
+
[k: string]: any,
|
|
3559
|
+
|}): api$NixChannelLatestStableRequest;
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* Creates a plain object from a NixChannelLatestStableRequest message. Also converts values to other types if specified.
|
|
3563
|
+
* @param message NixChannelLatestStableRequest
|
|
3564
|
+
* @param [options] Conversion options
|
|
3565
|
+
* @returns Plain object
|
|
3566
|
+
*/
|
|
3567
|
+
static toObject(
|
|
3568
|
+
message: api$NixChannelLatestStableRequest,
|
|
3569
|
+
options?: $protobuf.IConversionOptions
|
|
3570
|
+
): {|
|
|
3571
|
+
[k: string]: any,
|
|
3572
|
+
|};
|
|
3573
|
+
|
|
3574
|
+
/**
|
|
3575
|
+
* Converts this NixChannelLatestStableRequest to JSON.
|
|
3576
|
+
* @returns JSON object
|
|
3577
|
+
*/
|
|
3578
|
+
toJSON(): {|
|
|
3579
|
+
[k: string]: any,
|
|
3580
|
+
|};
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
/**
|
|
3584
|
+
* Properties of a NixChannelLatestStableResponse.
|
|
3585
|
+
*/
|
|
3586
|
+
declare type api$INixChannelLatestStableResponse = {|
|
|
3587
|
+
/**
|
|
3588
|
+
* NixChannelLatestStableResponse channel
|
|
3589
|
+
*/
|
|
3590
|
+
channel?: string | null,
|
|
3591
|
+
|};
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* Represents a NixChannelLatestStableResponse.
|
|
3595
|
+
*/
|
|
3596
|
+
declare class api$NixChannelLatestStableResponse {
|
|
3597
|
+
/**
|
|
3598
|
+
* Constructs a new NixChannelLatestStableResponse.
|
|
3599
|
+
* @param [properties] Properties to set
|
|
3600
|
+
*/
|
|
3601
|
+
constructor(properties?: api$INixChannelLatestStableResponse): this;
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* NixChannelLatestStableResponse channel.
|
|
3605
|
+
*/
|
|
3606
|
+
channel: string;
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* Creates a new NixChannelLatestStableResponse instance using the specified properties.
|
|
3610
|
+
* @param [properties] Properties to set
|
|
3611
|
+
* @returns NixChannelLatestStableResponse instance
|
|
3612
|
+
*/
|
|
3613
|
+
static create(
|
|
3614
|
+
properties?: api$INixChannelLatestStableResponse
|
|
3615
|
+
): api$NixChannelLatestStableResponse;
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* [object Object],[object Object],[object Object]
|
|
3619
|
+
* @param message NixChannelLatestStableResponse message or plain object to encode
|
|
3620
|
+
* @param [writer] Writer to encode to
|
|
3621
|
+
* @returns Writer
|
|
3622
|
+
*/
|
|
3623
|
+
static encode(
|
|
3624
|
+
message: api$NixChannelLatestStableResponse,
|
|
3625
|
+
writer?: $protobuf.Writer
|
|
3626
|
+
): $protobuf.Writer;
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* [object Object],[object Object],[object Object]
|
|
3630
|
+
* @param message NixChannelLatestStableResponse message or plain object to encode
|
|
3631
|
+
* @param [writer] Writer to encode to
|
|
3632
|
+
* @returns Writer
|
|
3633
|
+
*/
|
|
3634
|
+
static encodeDelimited(
|
|
3635
|
+
message: api$NixChannelLatestStableResponse,
|
|
3636
|
+
writer?: $protobuf.Writer
|
|
3637
|
+
): $protobuf.Writer;
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* Decodes a NixChannelLatestStableResponse message from the specified reader or buffer.
|
|
3641
|
+
* @param reader Reader or buffer to decode from
|
|
3642
|
+
* @param [length] Message length if known beforehand
|
|
3643
|
+
* @returns NixChannelLatestStableResponse
|
|
3644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3646
|
+
*/
|
|
3647
|
+
static decode(
|
|
3648
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3649
|
+
length?: number
|
|
3650
|
+
): api$NixChannelLatestStableResponse;
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* Decodes a NixChannelLatestStableResponse message from the specified reader or buffer, length delimited.
|
|
3654
|
+
* @param reader Reader or buffer to decode from
|
|
3655
|
+
* @returns NixChannelLatestStableResponse
|
|
3656
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3657
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3658
|
+
*/
|
|
3659
|
+
static decodeDelimited(
|
|
3660
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3661
|
+
): api$NixChannelLatestStableResponse;
|
|
3662
|
+
|
|
3663
|
+
/**
|
|
3664
|
+
* Verifies a NixChannelLatestStableResponse message.
|
|
3665
|
+
* @param message Plain object to verify
|
|
3666
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3667
|
+
*/
|
|
3668
|
+
static verify(message: {|
|
|
3669
|
+
[k: string]: any,
|
|
3670
|
+
|}): string | null;
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* Creates a NixChannelLatestStableResponse message from a plain object. Also converts values to their respective internal types.
|
|
3674
|
+
* @param object Plain object
|
|
3675
|
+
* @returns NixChannelLatestStableResponse
|
|
3676
|
+
*/
|
|
3677
|
+
static fromObject(object: {|
|
|
3678
|
+
[k: string]: any,
|
|
3679
|
+
|}): api$NixChannelLatestStableResponse;
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Creates a plain object from a NixChannelLatestStableResponse message. Also converts values to other types if specified.
|
|
3683
|
+
* @param message NixChannelLatestStableResponse
|
|
3684
|
+
* @param [options] Conversion options
|
|
3685
|
+
* @returns Plain object
|
|
3686
|
+
*/
|
|
3687
|
+
static toObject(
|
|
3688
|
+
message: api$NixChannelLatestStableResponse,
|
|
3689
|
+
options?: $protobuf.IConversionOptions
|
|
3690
|
+
): {|
|
|
3691
|
+
[k: string]: any,
|
|
3692
|
+
|};
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* Converts this NixChannelLatestStableResponse to JSON.
|
|
3696
|
+
* @returns JSON object
|
|
3697
|
+
*/
|
|
3698
|
+
toJSON(): {|
|
|
3699
|
+
[k: string]: any,
|
|
3700
|
+
|};
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* Properties of a NixPackageSearchRequest.
|
|
3705
|
+
*/
|
|
3706
|
+
declare type api$INixPackageSearchRequest = {|
|
|
3707
|
+
/**
|
|
3708
|
+
* NixPackageSearchRequest query
|
|
3709
|
+
*/
|
|
3710
|
+
query?: string | null,
|
|
3711
|
+
|};
|
|
3712
|
+
|
|
3713
|
+
/**
|
|
3714
|
+
* Represents a NixPackageSearchRequest.
|
|
3715
|
+
*/
|
|
3716
|
+
declare class api$NixPackageSearchRequest {
|
|
3717
|
+
/**
|
|
3718
|
+
* Constructs a new NixPackageSearchRequest.
|
|
3719
|
+
* @param [properties] Properties to set
|
|
3720
|
+
*/
|
|
3721
|
+
constructor(properties?: api$INixPackageSearchRequest): this;
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* NixPackageSearchRequest query.
|
|
3725
|
+
*/
|
|
3726
|
+
query: string;
|
|
3727
|
+
|
|
3728
|
+
/**
|
|
3729
|
+
* Creates a new NixPackageSearchRequest instance using the specified properties.
|
|
3730
|
+
* @param [properties] Properties to set
|
|
3731
|
+
* @returns NixPackageSearchRequest instance
|
|
1900
3732
|
*/
|
|
1901
|
-
|
|
3733
|
+
static create(
|
|
3734
|
+
properties?: api$INixPackageSearchRequest
|
|
3735
|
+
): api$NixPackageSearchRequest;
|
|
1902
3736
|
|
|
1903
3737
|
/**
|
|
1904
|
-
*
|
|
3738
|
+
* [object Object],[object Object],[object Object]
|
|
3739
|
+
* @param message NixPackageSearchRequest message or plain object to encode
|
|
3740
|
+
* @param [writer] Writer to encode to
|
|
3741
|
+
* @returns Writer
|
|
1905
3742
|
*/
|
|
1906
|
-
|
|
3743
|
+
static encode(
|
|
3744
|
+
message: api$NixPackageSearchRequest,
|
|
3745
|
+
writer?: $protobuf.Writer
|
|
3746
|
+
): $protobuf.Writer;
|
|
1907
3747
|
|
|
1908
3748
|
/**
|
|
1909
|
-
*
|
|
3749
|
+
* [object Object],[object Object],[object Object]
|
|
3750
|
+
* @param message NixPackageSearchRequest message or plain object to encode
|
|
3751
|
+
* @param [writer] Writer to encode to
|
|
3752
|
+
* @returns Writer
|
|
1910
3753
|
*/
|
|
1911
|
-
|
|
3754
|
+
static encodeDelimited(
|
|
3755
|
+
message: api$NixPackageSearchRequest,
|
|
3756
|
+
writer?: $protobuf.Writer
|
|
3757
|
+
): $protobuf.Writer;
|
|
1912
3758
|
|
|
1913
3759
|
/**
|
|
1914
|
-
*
|
|
3760
|
+
* Decodes a NixPackageSearchRequest message from the specified reader or buffer.
|
|
3761
|
+
* @param reader Reader or buffer to decode from
|
|
3762
|
+
* @param [length] Message length if known beforehand
|
|
3763
|
+
* @returns NixPackageSearchRequest
|
|
3764
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3765
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1915
3766
|
*/
|
|
1916
|
-
|
|
3767
|
+
static decode(
|
|
3768
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3769
|
+
length?: number
|
|
3770
|
+
): api$NixPackageSearchRequest;
|
|
1917
3771
|
|
|
1918
3772
|
/**
|
|
1919
|
-
*
|
|
3773
|
+
* Decodes a NixPackageSearchRequest message from the specified reader or buffer, length delimited.
|
|
3774
|
+
* @param reader Reader or buffer to decode from
|
|
3775
|
+
* @returns NixPackageSearchRequest
|
|
3776
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3777
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1920
3778
|
*/
|
|
1921
|
-
|
|
3779
|
+
static decodeDelimited(
|
|
3780
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3781
|
+
): api$NixPackageSearchRequest;
|
|
1922
3782
|
|
|
1923
3783
|
/**
|
|
1924
|
-
*
|
|
3784
|
+
* Verifies a NixPackageSearchRequest message.
|
|
3785
|
+
* @param message Plain object to verify
|
|
3786
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1925
3787
|
*/
|
|
1926
|
-
|
|
3788
|
+
static verify(message: {|
|
|
3789
|
+
[k: string]: any,
|
|
3790
|
+
|}): string | null;
|
|
1927
3791
|
|
|
1928
3792
|
/**
|
|
1929
|
-
*
|
|
3793
|
+
* Creates a NixPackageSearchRequest message from a plain object. Also converts values to their respective internal types.
|
|
3794
|
+
* @param object Plain object
|
|
3795
|
+
* @returns NixPackageSearchRequest
|
|
1930
3796
|
*/
|
|
1931
|
-
|
|
3797
|
+
static fromObject(object: {|
|
|
3798
|
+
[k: string]: any,
|
|
3799
|
+
|}): api$NixPackageSearchRequest;
|
|
1932
3800
|
|
|
1933
3801
|
/**
|
|
1934
|
-
*
|
|
3802
|
+
* Creates a plain object from a NixPackageSearchRequest message. Also converts values to other types if specified.
|
|
3803
|
+
* @param message NixPackageSearchRequest
|
|
3804
|
+
* @param [options] Conversion options
|
|
3805
|
+
* @returns Plain object
|
|
1935
3806
|
*/
|
|
1936
|
-
|
|
3807
|
+
static toObject(
|
|
3808
|
+
message: api$NixPackageSearchRequest,
|
|
3809
|
+
options?: $protobuf.IConversionOptions
|
|
3810
|
+
): {|
|
|
3811
|
+
[k: string]: any,
|
|
3812
|
+
|};
|
|
1937
3813
|
|
|
1938
3814
|
/**
|
|
1939
|
-
*
|
|
3815
|
+
* Converts this NixPackageSearchRequest to JSON.
|
|
3816
|
+
* @returns JSON object
|
|
1940
3817
|
*/
|
|
1941
|
-
|
|
3818
|
+
toJSON(): {|
|
|
3819
|
+
[k: string]: any,
|
|
3820
|
+
|};
|
|
3821
|
+
}
|
|
1942
3822
|
|
|
3823
|
+
/**
|
|
3824
|
+
* Properties of a NixPackageSearchResponse.
|
|
3825
|
+
*/
|
|
3826
|
+
declare type api$INixPackageSearchResponse = {|
|
|
1943
3827
|
/**
|
|
1944
|
-
*
|
|
3828
|
+
* NixPackageSearchResponse packages
|
|
1945
3829
|
*/
|
|
1946
|
-
|
|
3830
|
+
packages?: (api$NixPackage | api$INixPackage)[] | null,
|
|
3831
|
+
|};
|
|
1947
3832
|
|
|
3833
|
+
/**
|
|
3834
|
+
* Represents a NixPackageSearchResponse.
|
|
3835
|
+
*/
|
|
3836
|
+
declare class api$NixPackageSearchResponse {
|
|
1948
3837
|
/**
|
|
1949
|
-
*
|
|
3838
|
+
* Constructs a new NixPackageSearchResponse.
|
|
3839
|
+
* @param [properties] Properties to set
|
|
1950
3840
|
*/
|
|
1951
|
-
|
|
1952
|
-
[k: string]: string,
|
|
1953
|
-
|};
|
|
3841
|
+
constructor(properties?: api$INixPackageSearchResponse): this;
|
|
1954
3842
|
|
|
1955
3843
|
/**
|
|
1956
|
-
*
|
|
3844
|
+
* NixPackageSearchResponse packages.
|
|
1957
3845
|
*/
|
|
1958
|
-
|
|
1959
|
-
| "openChan"
|
|
1960
|
-
| "openChanRes"
|
|
1961
|
-
| "closeChan"
|
|
1962
|
-
| "closeChanRes"
|
|
1963
|
-
| "containerState"
|
|
1964
|
-
| "portOpen"
|
|
1965
|
-
| "portClose"
|
|
1966
|
-
| "toast"
|
|
1967
|
-
| "protocolError"
|
|
1968
|
-
| "redirect"
|
|
1969
|
-
| "alwaysOn"
|
|
1970
|
-
| "runMain"
|
|
1971
|
-
| "clear"
|
|
1972
|
-
| "eval"
|
|
1973
|
-
| "result"
|
|
1974
|
-
| "input"
|
|
1975
|
-
| "output"
|
|
1976
|
-
| "error"
|
|
1977
|
-
| "stderr"
|
|
1978
|
-
| "log"
|
|
1979
|
-
| "saneTerm"
|
|
1980
|
-
| "resizeTerm"
|
|
1981
|
-
| "state"
|
|
1982
|
-
| "ok"
|
|
1983
|
-
| "persist"
|
|
1984
|
-
| "persistMirror"
|
|
1985
|
-
| "write"
|
|
1986
|
-
| "remove"
|
|
1987
|
-
| "move"
|
|
1988
|
-
| "tryRemove"
|
|
1989
|
-
| "mkdir"
|
|
1990
|
-
| "stat"
|
|
1991
|
-
| "statRes"
|
|
1992
|
-
| "transferStart"
|
|
1993
|
-
| "transferChunk"
|
|
1994
|
-
| "transferComplete"
|
|
1995
|
-
| "transferCancel"
|
|
1996
|
-
| "transfer"
|
|
1997
|
-
| "read"
|
|
1998
|
-
| "readdir"
|
|
1999
|
-
| "files"
|
|
2000
|
-
| "file"
|
|
2001
|
-
| "checkChanges"
|
|
2002
|
-
| "changedFiles"
|
|
2003
|
-
| "lintResults"
|
|
2004
|
-
| "runContainedTest"
|
|
2005
|
-
| "testResult"
|
|
2006
|
-
| "debuggerStart"
|
|
2007
|
-
| "debuggerStep"
|
|
2008
|
-
| "debuggerStatus"
|
|
2009
|
-
| "ensurePackages"
|
|
2010
|
-
| "ping"
|
|
2011
|
-
| "pong"
|
|
2012
|
-
| "hello"
|
|
2013
|
-
| "goodbye"
|
|
2014
|
-
| "proxyGoingAway"
|
|
2015
|
-
| "hint"
|
|
2016
|
-
| "connect"
|
|
2017
|
-
| "send"
|
|
2018
|
-
| "recv"
|
|
2019
|
-
| "disconnect"
|
|
2020
|
-
| "fileAuthReq"
|
|
2021
|
-
| "fileAuthRes"
|
|
2022
|
-
| "mutliFileAuthRes"
|
|
2023
|
-
| "listObjects"
|
|
2024
|
-
| "listObjectsResp"
|
|
2025
|
-
| "ot"
|
|
2026
|
-
| "otstatus"
|
|
2027
|
-
| "otLinkFile"
|
|
2028
|
-
| "otLinkFileResponse"
|
|
2029
|
-
| "otNewCursor"
|
|
2030
|
-
| "otDeleteCursor"
|
|
2031
|
-
| "otFetchRequest"
|
|
2032
|
-
| "otFetchResponse"
|
|
2033
|
-
| "otTransformSelectionRequest"
|
|
2034
|
-
| "otTransformSelectionResponse"
|
|
2035
|
-
| "flush"
|
|
2036
|
-
| "debug"
|
|
2037
|
-
| "startVCR"
|
|
2038
|
-
| "readVCR"
|
|
2039
|
-
| "VCRLog"
|
|
2040
|
-
| "auth"
|
|
2041
|
-
| "execInfo"
|
|
2042
|
-
| "subscribeFile"
|
|
2043
|
-
| "fileEvent"
|
|
2044
|
-
| "roster"
|
|
2045
|
-
| "join"
|
|
2046
|
-
| "part"
|
|
2047
|
-
| "openFile"
|
|
2048
|
-
| "fileOpened"
|
|
2049
|
-
| "followUser"
|
|
2050
|
-
| "unfollowUser"
|
|
2051
|
-
| "updateSessionTimestamp"
|
|
2052
|
-
| "sessionTimestampUpdated"
|
|
2053
|
-
| "exec"
|
|
2054
|
-
| "packageSearch"
|
|
2055
|
-
| "packageSearchResp"
|
|
2056
|
-
| "packageInfo"
|
|
2057
|
-
| "packageInfoResp"
|
|
2058
|
-
| "packageAdd"
|
|
2059
|
-
| "packageRemove"
|
|
2060
|
-
| "packageInstall"
|
|
2061
|
-
| "packageListSpecfile"
|
|
2062
|
-
| "packageListSpecfileResp"
|
|
2063
|
-
| "packageCacheSave"
|
|
2064
|
-
| "chatMessage"
|
|
2065
|
-
| "chatTyping"
|
|
2066
|
-
| "chatScrollback"
|
|
2067
|
-
| "fsSnapshot"
|
|
2068
|
-
| "fsSnapshotEvent"
|
|
2069
|
-
| "fsTakeLock"
|
|
2070
|
-
| "fsReleaseLock"
|
|
2071
|
-
| "hasCap"
|
|
2072
|
-
| "snapshotEvent"
|
|
2073
|
-
| "NoninteractiveFSChangeEvent"
|
|
2074
|
-
| "pid1Config"
|
|
2075
|
-
| "metrics"
|
|
2076
|
-
| "bootStatus"
|
|
2077
|
-
| "readMetaRequest"
|
|
2078
|
-
| "readMetaResponse"
|
|
2079
|
-
| "writeMetaRequest"
|
|
2080
|
-
| "writeMetaResponse"
|
|
2081
|
-
| "appendMetaRequest"
|
|
2082
|
-
| "appendMetaResponse"
|
|
2083
|
-
| "audio"
|
|
2084
|
-
| "pprofRequest"
|
|
2085
|
-
| "pprofResponse"
|
|
2086
|
-
| "audio2"
|
|
2087
|
-
| "PTYConfig"
|
|
2088
|
-
| "debugMain"
|
|
2089
|
-
| "debugState"
|
|
2090
|
-
| "debugMainReply"
|
|
2091
|
-
| "debugInput"
|
|
2092
|
-
| "debugOutput"
|
|
2093
|
-
| "debugStop"
|
|
2094
|
-
| "debugLeave"
|
|
2095
|
-
| "debugSessions"
|
|
2096
|
-
| "debugAddBreakpointRequest"
|
|
2097
|
-
| "debugUpdateBreakpointRequest"
|
|
2098
|
-
| "debugRemoveBreakpointRequest"
|
|
2099
|
-
| "debugBreakpointEvent"
|
|
2100
|
-
| "dotReplitGetRequest"
|
|
2101
|
-
| "dotReplitGetResponse"
|
|
2102
|
-
| "runConfigGetRequest"
|
|
2103
|
-
| "runConfigGetResponse"
|
|
2104
|
-
| "dotReplitUpdateRequest"
|
|
2105
|
-
| "dotReplitUpdateResponse"
|
|
2106
|
-
| "startLSP"
|
|
2107
|
-
| "firewallDenied";
|
|
3846
|
+
packages: api$NixPackage[];
|
|
2108
3847
|
|
|
2109
3848
|
/**
|
|
2110
|
-
* Creates a new
|
|
3849
|
+
* Creates a new NixPackageSearchResponse instance using the specified properties.
|
|
2111
3850
|
* @param [properties] Properties to set
|
|
2112
|
-
* @returns
|
|
3851
|
+
* @returns NixPackageSearchResponse instance
|
|
2113
3852
|
*/
|
|
2114
|
-
static create(
|
|
3853
|
+
static create(
|
|
3854
|
+
properties?: api$INixPackageSearchResponse
|
|
3855
|
+
): api$NixPackageSearchResponse;
|
|
2115
3856
|
|
|
2116
3857
|
/**
|
|
2117
3858
|
* [object Object],[object Object],[object Object]
|
|
2118
|
-
* @param message
|
|
3859
|
+
* @param message NixPackageSearchResponse message or plain object to encode
|
|
2119
3860
|
* @param [writer] Writer to encode to
|
|
2120
3861
|
* @returns Writer
|
|
2121
3862
|
*/
|
|
2122
3863
|
static encode(
|
|
2123
|
-
message: api$
|
|
3864
|
+
message: api$NixPackageSearchResponse,
|
|
2124
3865
|
writer?: $protobuf.Writer
|
|
2125
3866
|
): $protobuf.Writer;
|
|
2126
3867
|
|
|
2127
3868
|
/**
|
|
2128
3869
|
* [object Object],[object Object],[object Object]
|
|
2129
|
-
* @param message
|
|
3870
|
+
* @param message NixPackageSearchResponse message or plain object to encode
|
|
2130
3871
|
* @param [writer] Writer to encode to
|
|
2131
3872
|
* @returns Writer
|
|
2132
3873
|
*/
|
|
2133
3874
|
static encodeDelimited(
|
|
2134
|
-
message: api$
|
|
3875
|
+
message: api$NixPackageSearchResponse,
|
|
2135
3876
|
writer?: $protobuf.Writer
|
|
2136
3877
|
): $protobuf.Writer;
|
|
2137
3878
|
|
|
2138
3879
|
/**
|
|
2139
|
-
* Decodes a
|
|
3880
|
+
* Decodes a NixPackageSearchResponse message from the specified reader or buffer.
|
|
2140
3881
|
* @param reader Reader or buffer to decode from
|
|
2141
3882
|
* @param [length] Message length if known beforehand
|
|
2142
|
-
* @returns
|
|
3883
|
+
* @returns NixPackageSearchResponse
|
|
2143
3884
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2144
3885
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2145
3886
|
*/
|
|
2146
3887
|
static decode(
|
|
2147
3888
|
reader: $protobuf.Reader | Uint8Array,
|
|
2148
3889
|
length?: number
|
|
2149
|
-
): api$
|
|
3890
|
+
): api$NixPackageSearchResponse;
|
|
2150
3891
|
|
|
2151
3892
|
/**
|
|
2152
|
-
* Decodes a
|
|
3893
|
+
* Decodes a NixPackageSearchResponse message from the specified reader or buffer, length delimited.
|
|
2153
3894
|
* @param reader Reader or buffer to decode from
|
|
2154
|
-
* @returns
|
|
3895
|
+
* @returns NixPackageSearchResponse
|
|
2155
3896
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2156
3897
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2157
3898
|
*/
|
|
2158
|
-
static decodeDelimited(
|
|
3899
|
+
static decodeDelimited(
|
|
3900
|
+
reader: $protobuf.Reader | Uint8Array
|
|
3901
|
+
): api$NixPackageSearchResponse;
|
|
2159
3902
|
|
|
2160
3903
|
/**
|
|
2161
|
-
* Verifies a
|
|
3904
|
+
* Verifies a NixPackageSearchResponse message.
|
|
2162
3905
|
* @param message Plain object to verify
|
|
2163
3906
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2164
3907
|
*/
|
|
@@ -2167,29 +3910,29 @@ declare class api$Command {
|
|
|
2167
3910
|
|}): string | null;
|
|
2168
3911
|
|
|
2169
3912
|
/**
|
|
2170
|
-
* Creates a
|
|
3913
|
+
* Creates a NixPackageSearchResponse message from a plain object. Also converts values to their respective internal types.
|
|
2171
3914
|
* @param object Plain object
|
|
2172
|
-
* @returns
|
|
3915
|
+
* @returns NixPackageSearchResponse
|
|
2173
3916
|
*/
|
|
2174
3917
|
static fromObject(object: {|
|
|
2175
3918
|
[k: string]: any,
|
|
2176
|
-
|}): api$
|
|
3919
|
+
|}): api$NixPackageSearchResponse;
|
|
2177
3920
|
|
|
2178
3921
|
/**
|
|
2179
|
-
* Creates a plain object from a
|
|
2180
|
-
* @param message
|
|
3922
|
+
* Creates a plain object from a NixPackageSearchResponse message. Also converts values to other types if specified.
|
|
3923
|
+
* @param message NixPackageSearchResponse
|
|
2181
3924
|
* @param [options] Conversion options
|
|
2182
3925
|
* @returns Plain object
|
|
2183
3926
|
*/
|
|
2184
3927
|
static toObject(
|
|
2185
|
-
message: api$
|
|
3928
|
+
message: api$NixPackageSearchResponse,
|
|
2186
3929
|
options?: $protobuf.IConversionOptions
|
|
2187
3930
|
): {|
|
|
2188
3931
|
[k: string]: any,
|
|
2189
3932
|
|};
|
|
2190
3933
|
|
|
2191
3934
|
/**
|
|
2192
|
-
* Converts this
|
|
3935
|
+
* Converts this NixPackageSearchResponse to JSON.
|
|
2193
3936
|
* @returns JSON object
|
|
2194
3937
|
*/
|
|
2195
3938
|
toJSON(): {|
|
|
@@ -25018,6 +26761,11 @@ declare type api$IGovalReplIdentity = {|
|
|
|
25018
26761
|
* GovalReplIdentity aud
|
|
25019
26762
|
*/
|
|
25020
26763
|
aud?: string | null,
|
|
26764
|
+
|
|
26765
|
+
/**
|
|
26766
|
+
* GovalReplIdentity ephemeral
|
|
26767
|
+
*/
|
|
26768
|
+
ephemeral?: boolean | null,
|
|
25021
26769
|
|};
|
|
25022
26770
|
|
|
25023
26771
|
/**
|
|
@@ -25050,6 +26798,11 @@ declare class api$GovalReplIdentity {
|
|
|
25050
26798
|
*/
|
|
25051
26799
|
aud: string;
|
|
25052
26800
|
|
|
26801
|
+
/**
|
|
26802
|
+
* GovalReplIdentity ephemeral.
|
|
26803
|
+
*/
|
|
26804
|
+
ephemeral: boolean;
|
|
26805
|
+
|
|
25053
26806
|
/**
|
|
25054
26807
|
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
25055
26808
|
* @param [properties] Properties to set
|