generated from gxc-solutions/gxc-template-repo
This commit is contained in:
parent
4f9a581530
commit
17f580fc70
15 changed files with 296 additions and 3 deletions
6
lib/src/interfaces/indexer.ts
Normal file
6
lib/src/interfaces/indexer.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { IModel } from "./model";
|
||||
|
||||
export interface IIndexer<T extends IModel> {
|
||||
index(page: T): void;
|
||||
get(id: string): T;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue