Skip to content

Variable: DefaultTypeSchema ​

ts
const DefaultTypeSchema: ZodDiscriminatedUnion<[ZodObject<{
  id: ZodLiteral<-1>;
  name: ZodEnum<{
     None: "None";
  }>;
}, ApiObjectConfig<undefined>>, ZodObject<{
  id: ZodLiteral<0>;
  name: ZodEnum<{
     Text: "Text";
  }>;
}, ApiObjectConfig<undefined>>, ZodObject<{
  id: ZodLiteral<1>;
  name: ZodEnum<{
     Integer: "Integer";
  }>;
}, ApiObjectConfig<undefined>>, ZodObject<{
  id: ZodLiteral<2>;
  name: ZodEnum<{
     Boolean: "Boolean";
  }>;
}, ApiObjectConfig<undefined>>], "id">;

Defined in: src/assets/models/defaultType.ts:21

IdDescription
-1None
0Text
1Integer
2Boolean
3Double
4Date
5Time
6DateTime
7Url
8Email
9Textarea
10Select
11IP Address