Skip to content

Commit

Permalink
Merge pull request #12 from superindustries/feature/export-profile-no…
Browse files Browse the repository at this point in the history
…de-type

feat: Export union type for all profile ast node types
  • Loading branch information
TheEdward162 authored Aug 24, 2020
2 parents f85140f + 38ce085 commit 3c7ede3
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 3c7ede3

Please sign in to comment.