chore: generate
This commit is contained in:
parent
7e3e85ba59
commit
9f150b0776
1 changed files with 1 additions and 2 deletions
|
|
@ -900,8 +900,7 @@ export namespace ProviderTransform {
|
||||||
const isPlainObject = (node: unknown): node is Record<string, any> =>
|
const isPlainObject = (node: unknown): node is Record<string, any> =>
|
||||||
typeof node === "object" && node !== null && !Array.isArray(node)
|
typeof node === "object" && node !== null && !Array.isArray(node)
|
||||||
const hasCombiner = (node: unknown) =>
|
const hasCombiner = (node: unknown) =>
|
||||||
isPlainObject(node) &&
|
isPlainObject(node) && (Array.isArray(node.anyOf) || Array.isArray(node.oneOf) || Array.isArray(node.allOf))
|
||||||
(Array.isArray(node.anyOf) || Array.isArray(node.oneOf) || Array.isArray(node.allOf))
|
|
||||||
const hasSchemaIntent = (node: unknown) => {
|
const hasSchemaIntent = (node: unknown) => {
|
||||||
if (!isPlainObject(node)) return false
|
if (!isPlainObject(node)) return false
|
||||||
if (hasCombiner(node)) return true
|
if (hasCombiner(node)) return true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue