UNPKG

angular-odata

Version:

Client side OData typescript library for Angular

26 lines (25 loc) 764 B
import { CsdlAnnotable, CsdlAnnotation } from './csdl-annotation'; import type { CsdlSchema } from './csdl-schema'; export declare class CsdlTypeDefinition extends CsdlAnnotable { private schema; Name: string; UnderlayingType: string; MaxLength?: number; Precision?: number; Scale?: number; Unicode?: boolean; SRID?: string; constructor(schema: CsdlSchema, { Name, UnderlayingType, MaxLength, Precision, Scale, Unicode, SRID, Annotation, }: { Name: string; UnderlayingType: string; MaxLength?: number; Precision?: number; Scale?: number; Unicode?: boolean; SRID?: string; Annotation?: CsdlAnnotation[]; }); toJson(): { [key: string]: any; }; }