UNPKG

@useorbis/db-sdk

Version:

Orbis' Typescript SDK for building open-data experiences.

12 lines (11 loc) 518 B
import { StreamID } from "@ceramicnetwork/streamid"; import { OrbisDB } from "../../index.js"; import { StatementHistory } from "./historyProvider.js"; export declare class UpdateByIdStatement<T = Record<string, any>> extends StatementHistory { #private; constructor(orbis: OrbisDB, documentId: string | StreamID); id(documentId: string | StreamID): this; replace(newValue: T): this; set(partialValues: Partial<T>): this; run(): Promise<import("../../index.js").CeramicDocument | undefined>; }