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