angular-odata
Version:
Client side OData typescript library for Angular
31 lines (30 loc) • 1.15 kB
TypeScript
import { Base } from './base';
import { CsdlComplexType, CsdlEntityType } from '../metadata/csdl/csdl-structured-type';
import { Source } from '@angular-devkit/schematics';
import { Schema as ApiGenSchema } from '../schema';
import { CsdlNavigationProperty, CsdlProperty } from '../metadata/csdl/csdl-structural-property';
import { Package } from './package';
export declare class EntityProperty {
protected entity: Entity;
protected edmType: CsdlProperty | CsdlNavigationProperty;
constructor(entity: Entity, edmType: CsdlProperty | CsdlNavigationProperty);
name(): string;
type(): string;
isGeoSpatial(): boolean;
}
export declare class Entity extends Base {
protected edmType: CsdlEntityType | CsdlComplexType;
constructor(pkg: Package, options: ApiGenSchema, edmType: CsdlEntityType | CsdlComplexType);
template(): Source;
variables(): {
[name: string]: any;
};
name(): string;
fileName(): string;
directory(): string;
fullName(): string;
importTypes(): string[];
properties(): EntityProperty[];
geoProperties(): EntityProperty[];
hasGeoProperties(): boolean;
}