- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
18 lines
598 B
TypeScript
18 lines
598 B
TypeScript
import { Cursor } from "../cursor.js";
|
|
import type { WsClient } from "./client.js";
|
|
import type * as proto from "./proto.js";
|
|
import type { WsStream } from "./stream.js";
|
|
export declare class WsCursor extends Cursor {
|
|
#private;
|
|
/** @private */
|
|
constructor(client: WsClient, stream: WsStream, cursorId: number);
|
|
/** Fetch the next entry from the cursor. */
|
|
next(): Promise<proto.CursorEntry | undefined>;
|
|
/** @private */
|
|
_setClosed(error: Error): void;
|
|
/** Close the cursor. */
|
|
close(): void;
|
|
/** True if the cursor is closed. */
|
|
get closed(): boolean;
|
|
}
|