import IJitzSPContext from "./IJitzSPContext"; import { IModel } from "./IModels"; export interface IRepository { context: IJitzSPContext; listName: string; listGuid: string; listUrl: string; getAll(selectFields?: string, expand?: string, filters?: string, orderBy?: string, top?: number, skip?: number, skipTokenUniqueField?: string, skipTokenUniqueFieldValue?: string): Promise; getAllFromUrl(url: string): Promise; itemsCount(filters?: string): Promise; getItemById(id: number, selectFields?: string, expand?: string): Promise; createItem(item: T): Promise; updateItem(item: T): Promise; deleteItem(id: number): Promise; deleteItems(ids: number[]): Promise; getAllRecursive(selectFields?: string, expand?: string, filters?: string, orderBy?: string, top?: number, maxRecursiveCount?: number): any; }