Skip to content

Variable: GetComponentByIdSchema

ts
const GetComponentByIdSchema: ZodObject<{
  avatarUrl: ZodURL;
  componentType: ZodCustom<
     | string & object
     | "Service"
     | "Application"
     | "Library"
     | "Capability"
     | "Cloud resource"
     | "Data pipeline"
     | "Machine learning model"
     | "UI element"
     | "Website"
     | "Other", 
     | string & object
     | "Service"
     | "Application"
     | "Library"
     | "Capability"
     | "Cloud resource"
     | "Data pipeline"
     | "Machine learning model"
     | "UI element"
     | "Website"
    | "Other">;
  description: ZodString;
  id: ZodString;
  lastUpdated: ZodCoercedDate<unknown>;
  name: ZodString;
  providerName: ZodOptional<ZodString>;
  schemaVersion: ZodCustom<string & object | "1.0", string & object | "1.0">;
  tier: ZodCustom<string & object | "Tier 1" | "Tier 2" | "Tier 3" | "Tier 4", string & object | "Tier 1" | "Tier 2" | "Tier 3" | "Tier 4">;
  updateSequenceNumber: ZodNumber;
  url: ZodURL;
}, $loose>;

Defined in: src/agile/models/getComponentById.ts:5

Data related to a specific component in a specific workspace that is affected by incidents.*