UNPKG

ngx-appwrite

Version:

A wrapper around the Appwrite WebSDK for easier implementation in Angular 16+ projects. The goal is to make the whole SDK accessible as well as provide some convenience functionality like RxJS streams where appropriate.

6 lines (5 loc) 367 B
import { Client, RealtimeResponseEvent } from 'appwrite'; import { Observable } from 'rxjs'; export declare const watch: <T>(client: Client, channel: string | string[], events?: string | string[]) => Observable<RealtimeResponseEvent<T>>; export declare const wait: (seconds: number) => Promise<void>; export declare const deepEqual: <T>(obj1: T, obj2: T) => boolean;