| 220 | } |
| 221 | |
| 222 | export interface ObservablePersistLocal { |
| 223 | initialize?(config: ObservablePersistenceConfigLocalGlobalOptions): void | Promise<void>; |
| 224 | loadTable?(table: string, config: PersistOptionsLocal): Promise<any> | void; |
| 225 | getTable<T = any>(table: string, config: PersistOptionsLocal, init: object): T; |
| 226 | set(table: string, changes: Change[], config: PersistOptionsLocal): Promise<any> | void; |
| 227 | deleteTable(table: string, config: PersistOptionsLocal): Promise<any> | void; |
| 228 | getMetadata(table: string, config: PersistOptionsLocal): PersistMetadata; |
| 229 | setMetadata(table: string, metadata: PersistMetadata, config: PersistOptionsLocal): Promise<any> | void; |
| 230 | deleteMetadata(table: string, config: PersistOptionsLocal): Promise<any> | void; |
| 231 | } |
| 232 | export interface ObservablePersistRemoteSetParams<T> { |
| 233 | syncState: Observable<ObservablePersistState>; |
| 234 | obs: Observable<T>; |
no outgoing calls
no test coverage detected