UNPKG

@nu-art/db-api-generator

Version:
8 lines (7 loc) 421 B
import { DB_Object } from '@nu-art/ts-common'; import { MultiApiEvent, SingleApiEvent } from '../types'; import { ModuleFE_BaseDB } from './ModuleFE_BaseDB'; export type ApiCallerEventType<DBType extends DB_Object> = [SingleApiEvent, DBType] | [MultiApiEvent, DBType[]]; export interface OnSyncStatusChangedListener<DBType extends DB_Object> { __onSyncStatusChanged: (module: ModuleFE_BaseDB<DBType, any>) => void; }