Skip to content

Variable: FieldSchema ​

ts
const FieldSchema: ZodObject<{
  clauseNames: ZodOptional<ZodArray<ZodString>>;
  custom: ZodOptional<ZodBoolean>;
  id: ZodOptional<ZodString>;
  name: ZodOptional<ZodString>;
  navigable: ZodOptional<ZodBoolean>;
  orderable: ZodOptional<ZodBoolean>;
  schema: ZodOptional<ZodObject<{
     custom: ZodOptional<ZodString>;
     customId: ZodOptional<ZodNumber>;
     items: ZodOptional<ZodString>;
     system: ZodOptional<ZodString>;
     type: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  searchable: ZodOptional<ZodBoolean>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/field.ts:5