mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-22 08:34:59 +00:00
tool meta
This commit is contained in:
@@ -33,7 +33,7 @@ export namespace Bus {
|
||||
export function specs() {
|
||||
const children = {} as any;
|
||||
for (const [type, def] of registry.entries()) {
|
||||
children[def.type] = def.properties;
|
||||
children["event." + def.type] = def.properties;
|
||||
}
|
||||
const result = z.toJSONSchema(z.object(children)) as any;
|
||||
result.definitions = result.properties;
|
||||
|
||||
Reference in New Issue
Block a user