Methods
- create(object: any): JQueryDeferred<T>
Parameters
Returns JQueryDeferred<T>
- defaultResponseMiddleware(data: unknown, ctx: MapsvgCtx): Record<string, unknown>
Parameters
Returns Record<string, unknown>
- delete(id: string | number): JQueryDeferred<void>
Parameters
Returns JQueryDeferred<void>
- encodeData(params: any): {}
- find(params?: Query): JQueryDeferred<any>
Parameters
Returns JQueryDeferred<any>
- findById(id: string | number): JQueryDeferred<T>
Parameters
Returns JQueryDeferred<T>
- getLoadedObject(id: string | number): T
- loadDataFromResponse(data: string | Record<string, any>, ctx: MapsvgCtx): void
Parameters
data: string | Record<string, any>
Returns void
- setSchema(schema: Schema): void
- update(object: any): JQueryDeferred<T>
Parameters
Returns JQueryDeferred<T>