UNPKG

novel-opds-now

Version:

按需生成 epub,此模組不使用排程任務來生成 epub

17 lines (16 loc) 586 B
import Bluebird from 'bluebird'; import { IUseIPFSApi } from '../../types'; import { ITSResolvable } from 'ts-type/lib/generic'; import { ICIDValue } from '@lazy-ipfs/detect-cid-lib'; export declare const waitingCache: Set<string>; export declare function _addMutableFileSystem(dir_path: string, data: { path: string; cid: ICIDValue; }, options?: { ipfs?: ITSResolvable<IUseIPFSApi>; done?(file_path: string): ITSResolvable<any>; }, ignoreWaitingCheck?: boolean): Bluebird<{ dir_path: string; file_path: string; file_cid: import("ipfs-http-client").CID; }>;