This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 2 files changed +3
-3
lines changed
packages/ipfs-core-types/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ export interface CatOptions extends AbortOptions, PreloadOptions {
260
260
export interface GetOptions extends AbortOptions , PreloadOptions {
261
261
archive ?: boolean
262
262
compress ?: boolean
263
- compressionLevel ?: - 1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
263
+ compressionLevel ?: - 1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
264
264
}
265
265
266
266
export interface ListOptions extends AbortOptions , PreloadOptions {
Original file line number Diff line number Diff line change 1
1
import type { CID } from 'multiformats/cid'
2
2
import type { Mtime , MtimeLike } from 'ipfs-unixfs'
3
3
4
- export type Entry < Content extends AsyncIterable < Uint8Array > | Blob > =
4
+ export type Entry < Content extends AsyncIterable < Uint8Array > | Blob > =
5
5
| FileEntry < Content >
6
6
| DirectoryEntry
7
7
@@ -10,7 +10,7 @@ export interface BaseEntry {
10
10
mode ?: number
11
11
mtime ?: Mtime
12
12
}
13
- export interface FileEntry < Content extends AsyncIterable < Uint8Array > | Blob > extends BaseEntry {
13
+ export interface FileEntry < Content extends AsyncIterable < Uint8Array > | Blob > extends BaseEntry {
14
14
content ?: Content
15
15
}
16
16
You can’t perform that action at this time.
0 commit comments