This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/ipfs-core-types/src Expand file tree Collapse file tree 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 {
260260export interface GetOptions extends AbortOptions , PreloadOptions {
261261 archive ?: boolean
262262 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
264264}
265265
266266export interface ListOptions extends AbortOptions , PreloadOptions {
Original file line number Diff line number Diff line change 11import type { CID } from 'multiformats/cid'
22import type { Mtime , MtimeLike } from 'ipfs-unixfs'
33
4- export type Entry < Content extends AsyncIterable < Uint8Array > | Blob > =
4+ export type Entry < Content extends AsyncIterable < Uint8Array > | Blob > =
55 | FileEntry < Content >
66 | DirectoryEntry
77
@@ -10,7 +10,7 @@ export interface BaseEntry {
1010 mode ?: number
1111 mtime ?: Mtime
1212}
13- export interface FileEntry < Content extends AsyncIterable < Uint8Array > | Blob > extends BaseEntry {
13+ export interface FileEntry < Content extends AsyncIterable < Uint8Array > | Blob > extends BaseEntry {
1414 content ?: Content
1515}
1616
You can’t perform that action at this time.
0 commit comments