Skip to content

Variable: CreateMetaIssueTypeSchema ​

ts
const CreateMetaIssueTypeSchema: ZodObject<{
  avatarId: ZodOptional<ZodNumber>;
  description: ZodOptional<ZodString>;
  fields: ZodOptional<ZodRecord<ZodString, ZodObject<{
     allowedValues: ZodOptional<ZodArray<ZodRecord<ZodString, ZodAny>>>;
     autoCompleteUrl: ZodOptional<ZodString>;
     defaultValue: ZodOptional<ZodRecord<ZodString, ZodAny>>;
     fieldId: ZodOptional<ZodString>;
     hasDefaultValue: ZodOptional<ZodBoolean>;
     name: ZodOptional<ZodString>;
     operations: ZodOptional<ZodArray<ZodString>>;
     required: ZodOptional<ZodBoolean>;
     schema: ZodOptional<ZodObject<{
        custom: ZodOptional<ZodString>;
        customId: ZodOptional<ZodNumber>;
        items: ZodOptional<ZodString>;
        system: ZodOptional<ZodString>;
        type: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>;
  }, ApiObjectConfig<undefined>>>>;
  iconUrl: ZodOptional<ZodString>;
  id: ZodOptional<ZodString>;
  name: ZodOptional<ZodString>;
  self: ZodOptional<ZodString>;
  subtask: ZodOptional<ZodBoolean>;
}, ApiObjectConfig<undefined>>;

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