Browse Source

feat: update ApiDefinition interface

pull/5137/head
Arman Ozak 6 years ago
parent
commit
e8354eeeeb
  1. 12
      npm/ng-packs/packages/schematics/src/models/api-definition.ts

12
npm/ng-packs/packages/schematics/src/models/api-definition.ts

@ -4,12 +4,12 @@ export interface ApiDefinition {
} }
export interface Type { export interface Type {
baseType?: string; baseType: string | null;
isEnum: boolean; isEnum: boolean;
enumNames?: string[]; enumNames: string[] | null;
enumValues?: number[]; enumValues: number[] | null;
genericArguments?: string[]; genericArguments: string[] | null;
properties?: Property[]; properties: Property[] | null;
} }
export interface Property { export interface Property {
@ -62,7 +62,7 @@ export interface Parameter {
typeSimple: string; typeSimple: string;
isOptional: boolean; isOptional: boolean;
defaultValue: any; defaultValue: any;
constraintTypes?: string[]; constraintTypes: string[] | null;
bindingSourceId: string; bindingSourceId: string;
descriptorName: string; descriptorName: string;
} }

Loading…
Cancel
Save