Skip to content

Commit

Permalink
chore: Add Array of NestedModelDefinition to ModelDefinitionValue
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Oct 30, 2021
1 parent 78f4e89 commit 4ac7082
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/glossary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ export type ModelDefinitionValue =
| OneOf<any>
| ManyOf<any>
| NestedModelDefinition
| Array<NestedModelDefinition>

export type NestedModelDefinition = {
[propertyName: string]:
| ModelValueTypeGetter
| OneOf<any>
| ManyOf<any>
| NestedModelDefinition
| Array<NestedModelDefinition>
}

export type FactoryAPI<Dictionary extends Record<string, any>> = {
Expand Down

0 comments on commit 4ac7082

Please sign in to comment.