*Update dist
This commit is contained in:
parent
56a54b48ae
commit
3bf6ccb1f0
|
@ -43,7 +43,23 @@ export interface PluginAPI {
|
||||||
set: (newRouter: express.Router) => void;
|
set: (newRouter: express.Router) => void;
|
||||||
reset: () => void;
|
reset: () => void;
|
||||||
};
|
};
|
||||||
|
files: {
|
||||||
|
createIndependentFileSmall(
|
||||||
|
seed: Uint8Array,
|
||||||
|
userInode: string,
|
||||||
|
fileData: Uint8Array
|
||||||
|
): Promise<[IndependentFileSmall, Err]>;
|
||||||
|
openIndependentFileSmall(
|
||||||
|
seed: Uint8Array,
|
||||||
|
userInode: string
|
||||||
|
): Promise<[IndependentFileSmall, Err]>;
|
||||||
|
overwriteIndependentFileSmall(
|
||||||
|
file: IndependentFileSmall,
|
||||||
|
newData: Uint8Array
|
||||||
|
): Promise<Err>;
|
||||||
|
};
|
||||||
logger: Logger;
|
logger: Logger;
|
||||||
|
getSeed: () => Uint8Array;
|
||||||
}
|
}
|
||||||
export declare type PluginFunction = (api: PluginAPI) => Promise<void>;
|
export declare type PluginFunction = (api: PluginAPI) => Promise<void>;
|
||||||
export interface Plugin {
|
export interface Plugin {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,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