Skip to content

Variable: DomainModelSchema ​

ts
const DomainModelSchema: ZodObject<{
  attributes: ZodObject<{
     claim: ZodOptional<ZodObject<{
        status: ZodOptional<ZodCustom<
           | "deleted"
           | ... & ...
           | "verified"
           | "unverified"
           | "superseded"
           | "missing_token", 
           | "deleted"
           | ... & ...
           | "verified"
           | "unverified"
           | "superseded"
          | "missing_token">>;
        type: ZodOptional<ZodCustom<... & ... | "http" | "dns", ... & ... | "http" | "dns">>;
     }, ApiObjectConfig<undefined>>>;
     name: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>;
  id: ZodString;
  links: ZodObject<{
     self: ZodNullable<ZodString>;
  }, ApiObjectConfig<undefined>>;
  type: ZodCustom<string & object | "domains", string & object | "domains">;
}, ApiObjectConfig<undefined>>;

Defined in: src/admin/models/domainModel.ts:5