1 | import { IModel, MetadataPropertyDecoratorFactory } from 'typestore';
|
2 | import { IndexedDBRepoPlugin } from './IndexedDBRepoPlugin';
|
3 | export declare type IndexedDBFinderFn = <M extends IModel>(repo: IndexedDBRepoPlugin<M>, ...args: any[]) => Promise<M[]>;
|
4 | export interface IIndexedDBFinderOptions {
|
5 | fn?: IndexedDBFinderFn;
|
6 | singleResult?: boolean;
|
7 | filter?: (o: any, ...args: any[]) => boolean;
|
8 | }
|
9 | export declare const IndexedDBFinderDescriptor: MetadataPropertyDecoratorFactory<IIndexedDBFinderOptions>;
|