UNPKG

reduct-js

Version:

ReductStore Client SDK for Javascript/NodeJS/Typescript

46 lines (45 loc) 975 B
import { Status } from "./Status"; /** * Information about entry */ export declare class EntryInfo { /** * Name of the entry */ readonly name: string; /** * Number of blocks */ readonly blockCount: bigint; /** * Number of records */ readonly recordCount: bigint; /** * Size of stored data in the bucket in bytes */ readonly size: bigint; /** * Unix timestamp of the oldest record in microseconds */ readonly oldestRecord: bigint; /** * Unix timestamp of the latest record in microseconds */ readonly latestRecord: bigint; /** * Current status of the entry (READY or DELETING) */ readonly status: Status; static parse(bucket: Original): EntryInfo; } type Original = { name: string; block_count: string; record_count: string; size: string; oldest_record: string; latest_record: string; status?: string; }; export {};