remove files types
This commit is contained in:
parent
66c879033a
commit
a4c4920839
34
src/files.ts
34
src/files.ts
|
@ -1,34 +0,0 @@
|
|||
// @ts-ignore
|
||||
import type { Ed25519Keypair, Err } from "libskynet";
|
||||
import { OverwriteDataFn, ReadDataFn } from "./index.js";
|
||||
|
||||
export interface IndependentFileSmallMetadata {
|
||||
largestHistoricSize: bigint;
|
||||
}
|
||||
|
||||
export interface IndependentFileSmall {
|
||||
dataKey: Uint8Array;
|
||||
fileData: Uint8Array;
|
||||
inode: string;
|
||||
keypair: Ed25519Keypair;
|
||||
metadata: IndependentFileSmallMetadata;
|
||||
revision: bigint;
|
||||
seed: Uint8Array;
|
||||
|
||||
skylink: string;
|
||||
viewKey: string;
|
||||
|
||||
overwriteData: OverwriteDataFn;
|
||||
|
||||
readData: ReadDataFn;
|
||||
}
|
||||
|
||||
export interface SslData {
|
||||
cert?: Uint8Array;
|
||||
key?: Uint8Array;
|
||||
}
|
||||
|
||||
export interface SavedSslData {
|
||||
cert?: IndependentFileSmall;
|
||||
key?: IndependentFileSmall;
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
export * from "./rpc.js";
|
||||
export * from "./plugin.js";
|
||||
export * from "./files.js";
|
||||
|
|
Loading…
Reference in New Issue