Skip to content

Commit

Permalink
feat: Export union type for all profile ast node types
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-valenta committed Aug 24, 2020
1 parent f85140f commit 38ce085
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/interfaces/ast/profile-ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,20 @@ export type DocumentDefinition =
| UseCaseDefinitionNode
| NamedFieldDefinitionNode
| NamedModelDefinitionNode;

export type ProfileASTNode =
| EnumDefinitionNode
| EnumValueNode
| FieldDefinitionNode
| ListDefinitionNode
| ModelTypeNameNode
| NamedFieldDefinitionNode
| NamedModelDefinitionNode
| NonNullDefinitionNode
| ObjectDefinitionNode
| PrimitiveTypeNameNode
| ProfileDocumentNode
| ProfileIdNode
| ProfileNode
| UnionDefinitionNode
| UseCaseDefinitionNode;

0 comments on commit 38ce085

Please sign in to comment.