reduct-js
Version:
ReductStore Client SDK for Javascript/NodeJS/Typescript
40 lines (39 loc) • 819 B
TypeScript
/**
* 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;
static parse(bucket: Original): EntryInfo;
}
type Original = {
name: string;
block_count: string;
record_count: string;
size: string;
oldest_record: string;
latest_record: string;
};
export {};