@dossierhq/sqlite-core
Version:
A library used by concrete SQLite adapters for Dossier.
5 lines (4 loc) • 642 B
TypeScript
import { type ChangelogEventQuery, type ErrorType, type PromiseResult } from '@dossierhq/core';
import { type DatabaseEventGetChangelogEventsPayload, type DatabasePagingInfo, type DatabaseResolvedEntityReference, type TransactionContext } from '@dossierhq/database-adapter';
import { type Database } from '../QueryFunctions.js';
export declare function eventGetChangelogEvents(database: Database, context: TransactionContext, query: ChangelogEventQuery, paging: DatabasePagingInfo, entity: DatabaseResolvedEntityReference | null): PromiseResult<DatabaseEventGetChangelogEventsPayload, typeof ErrorType.BadRequest | typeof ErrorType.Generic>;