Module

x/wmill/metadata.ts>argSigToJsonSchemaType

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
function argSigToJsonSchemaType
import { argSigToJsonSchemaType } from "https://dotland.deno.dev/x/wmill@v1.354.0/metadata.ts";

Parameters

t:
| string
| { resource: string | null; }
| { list:
| string
| { str: any; }
| { object: { key: string; typ: any; }[]; }
| null
; }
| { str: string[] | null; }
| { object: { key: string; typ: any; }[]; }
| { oneof: [{ label: string; properties: { key: string; typ: any; }[]; }]; }