@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
30 lines (29 loc) • 1.32 kB
TypeScript
import { ODataService, ODataConfiguration } from '@mgrcto/angular-odata-v401';
import { TccBrowserCacheService } from '../../../core/services/tcc-browser-cache/tcc-browser-cache.service';
import { DeleteOperation } from '@mgrcto/angular-odata-v401';
import { HttpClient } from '@angular/common/http';
import { TccODataQuery } from '../tcc-odata-query/tcc-odata-query';
export declare class TccODataService<T> extends ODataService<T> {
private entitypath;
private http;
private _config;
private uniqueId;
private cacheService;
saveTime: number;
fromSave: boolean;
maxResultLimit: number;
count: number;
constructor(entitypath: string, http: HttpClient, _config: ODataConfiguration, uniqueId: string, cacheService: TccBrowserCacheService);
get entity(): string;
get httpClient(): HttpClient;
get odataconfig(): ODataConfiguration;
get uid(): string;
get cache(): TccBrowserCacheService;
Delete(key: any): DeleteOperation<T>;
getNestedEntityService<U>(key: string, typeName: string): ODataService<U>;
getNestedEntityService<U>(key: string, typeName: string, uniqueId: string): TccODataService<U>;
FromSave(bool?: boolean, saveTime?: number): TccODataService<T>;
Query(): TccODataQuery<T>;
private DeleteSavedData;
ResetCache(): void;
}