@betacodd/lighthouse-package
Version:
NPM package and CLI tool to interact with lighthouse protocol
22 lines (21 loc) • 501 B
TypeScript
type fileObject = {
publicKey: string;
fileName: string;
mimeType: string;
txHash: string;
status: string;
createdAt: number;
fileSizeInBytes: string;
cid: string;
id: string;
lastUpdate: number;
encryption: boolean;
};
export type uploadsResponseType = {
data: {
fileList: fileObject[];
totalFiles: number;
};
};
declare const _default: (publicKey: string, pageNo?: number) => Promise<uploadsResponseType>;
export default _default;