mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-15 05:04:50 +00:00
chore: generate
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user