UNPKG

@squidcloud/client

Version:

A typescript implementation of the Squid client

19 lines (18 loc) 648 B
import { Alias, SquidDocument } from '../public-types'; /** Two transactions cannot run in parallel - this mutex is used for blocking a second transaction. */ export declare const RUN_IN_TRANSACTION_MUTEX = "dataManager_runInTransaction"; /** * Represents a collection of documents associated with a specific alias * in a query, typically used in joined query results. * @category Database */ export interface DocsAndAlias { /** * An array of documents retrieved as part of the query. */ docs: Array<SquidDocument>; /** * The alias associated with the documents in a joined query context. */ alias: Alias; }