reduct-js
Version:
ReductStore Client SDK for Javascript/NodeJS/Typescript
25 lines (24 loc) • 627 B
TypeScript
import { QueryOptions } from "./QueryEntry";
/**
* Represents information about a bucket
*/
export declare class QueryLinkOptions {
/** bucket name */
bucket: string;
/** entry name */
entry: string;
/** record index */
index: number;
/** query */
query: QueryOptions;
/** expiration time as UNIX timestamp in seconds */
expireAt: Date;
static serialize(options: QueryLinkOptions, start?: bigint, stop?: bigint): OriginalCreateQueryLink;
}
export type OriginalCreateQueryLink = {
bucket: string;
entry: string;
index?: number;
query: any;
expire_at: number;
};