UNPKG

rxdb

Version:

A local-first realtime NoSQL Database for JavaScript applications - https://rxdb.info/

32 lines (25 loc) 795 B
import type { ById, ReplicationOptions, ReplicationPullOptions, ReplicationPushOptions } from '../../types/index.d.ts'; import type { Client, Account } from 'appwrite'; export type AppwriteCheckpointType = { updatedAt: string; id: string; }; export type FetchMethodType = typeof fetch; export type SyncOptionsAppwrite<RxDocType> = Omit< ReplicationOptions<RxDocType, any>, 'pull' | 'push' | 'deletedField' > & { databaseId: string; collectionId: string; client: Client; deletedField: string; pull?: Omit<ReplicationPullOptions<RxDocType, AppwriteCheckpointType>, 'handler' | 'stream$'> & { }; push?: Omit<ReplicationPushOptions<RxDocType>, 'handler'>; }; export type URLQueryParams = ById<string | number | undefined | boolean>;