Skip to content

Variable: SubmitComponentsSchema

ts
const SubmitComponentsSchema: ZodObject<{
  devopsComponents: ZodArray<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: ZodUnion<readonly [ZodString, ZodDate]>;
     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;
  }, $strip>>;
  properties: ZodOptional<ZodRecord<ZodString, ZodAny>>;
  providerMetadata: ZodOptional<ZodObject<{
     product: ZodOptional<ZodString>;
  }, $strip>>;
}, $strip>;

Defined in: src/agile/parameters/submitComponents.ts:4