File tree 1 file changed +30
-1
lines changed
1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,35 @@ export type Thumbnail = {
237
237
width ?: number ;
238
238
resolution ?: string ;
239
239
}
240
-
240
+ export type OptionFormatSort =
241
+ | "hasvid"
242
+ | "hasaud"
243
+ | "ie_pref"
244
+ | "lang"
245
+ | "quality"
246
+ | "source"
247
+ | "proto"
248
+ | "vcodec"
249
+ | "acodec"
250
+ | "codec"
251
+ | "vext"
252
+ | "aext"
253
+ | "ext"
254
+ | "filesize"
255
+ | "fs_approx"
256
+ | "size"
257
+ | "height"
258
+ | "width"
259
+ | "res"
260
+ | "fps"
261
+ | "hdr"
262
+ | "channels"
263
+ | "tbr"
264
+ | "vbr"
265
+ | "abr"
266
+ | "br"
267
+ | "asr" ;
268
+ export type OptionFormatSortPlus = OptionFormatSort | `+${OptionFormatSort } `
241
269
export type Flags = {
242
270
abortOnError ?: boolean
243
271
abortOnUnavailableFragment ?: boolean
@@ -289,6 +317,7 @@ export type Flags = {
289
317
forceIpv6 ?: boolean
290
318
forceKeyframesAtCuts ?: boolean
291
319
format ?: string
320
+ formatSort ?: OptionFormatSortPlus [ ]
292
321
geoBypass ?: boolean
293
322
geoBypassCountry ?: string
294
323
geoBypassIpBlock ?: string
You can’t perform that action at this time.
0 commit comments