UNPKG

angular-odata

Version:

Client side OData typescript library for Angular

39 lines (38 loc) 1.55 kB
import { Base, Callable, Index, Metadata } from './base'; import { Schema as ApiGenSchema } from '../schema'; import { Module } from './module'; import { ApiConfig } from './api-config'; import { ODataMetadata } from '../metadata'; import { Enum } from './enum'; import { Entity } from './entity'; import { Model } from './model'; import { Collection } from './collection'; import { Service } from './service'; import { CsdlEnumType } from '../metadata/csdl/csdl-enum-type'; import { CsdlComplexType, CsdlEntityType } from '../metadata/csdl/csdl-structured-type'; import { CsdlEntitySet } from '../metadata/csdl/csdl-entity-set'; export declare class Package { protected options: ApiGenSchema; metadata: Metadata; module: Module; config: ApiConfig; index: Index; enums: Enum[]; entities: Entity[]; services: Service[]; models: Model[]; collections: Collection[]; functions: Callable[]; actions: Callable[]; constructor(options: ApiGenSchema, meta: ODataMetadata); resolveImports(): void; sources(): Base[]; findEnum(fullName: string): Enum | undefined; findEnumType(fullName: string): CsdlEnumType | undefined; findEntity(fullName: string): Entity | undefined; findEntityType(fullName: string): CsdlEntityType | undefined; findEntitySet(fullName: string): CsdlEntitySet | undefined; findComplexType(fullName: string): CsdlComplexType | undefined; findModel(fullName: string): Model | undefined; findCollection(fullName: string): Collection | undefined; }