chore(docs): DML API Reference (#7863)

* added dml options

* added tsdocs + configurations
This commit is contained in:
Shahed Nasser
2024-07-01 10:21:56 +03:00
committed by GitHub
parent 9ded63cc62
commit 72f7500c84
20 changed files with 746 additions and 108 deletions
@@ -34,6 +34,19 @@ export function getTypeChildren({
)
})
break
case "union":
reflectionType.types.forEach((childItem) => {
// TODO this should ensure that the items are unique.
children.push(
...getTypeChildren({
reflectionType: childItem,
project,
level: level + 1,
maxLevel,
})
)
})
break
case "reference":
// eslint-disable-next-line no-case-declarations
const referencedReflection = reflectionType.reflection
@@ -53,7 +66,7 @@ export function getTypeChildren({
children = getTypeChildren({
reflectionType: referencedReflection.type,
project,
level: level + 1,
level,
maxLevel,
})
}