UNPKG

@orbit/record-cache

Version:

Orbit base classes used to access and maintain a set of records.

9 lines (8 loc) 454 B
import { RequestOptions } from '@orbit/data'; import { RecordOperation, RecordOperationResult } from '@orbit/records'; import { Dict } from '@orbit/utils'; import { AsyncRecordAccessor } from '../record-accessor'; export interface AsyncTransformOperator { (cache: AsyncRecordAccessor, operation: RecordOperation, options?: RequestOptions): Promise<RecordOperationResult>; } export declare const AsyncTransformOperators: Dict<AsyncTransformOperator>;