Skip to content

Variable: AppInstallUpgrade ​

ts
const AppInstallUpgrade: z.ZodObject<{
  actions: z.ZodArray<z.ZodObject<{
     action: z.ZodString;
     problem: z.ZodEnum<{
        async: "async";
        missing: "missing";
     }>;
     usedBy: z.ZodArray<z.ZodString>;
  }, z.core.$strip>>;
  changeId: z.ZodNullable<z.ZodGUID>;
  handlesAdded: z.ZodArray<z.ZodEnum<{
     handoff: "handoff";
     webhook: "webhook";
  }>>;
  hostsAdded: z.ZodArray<z.ZodString>;
  issues: z.ZodArray<z.ZodObject<{
     message: z.ZodString;
     path: z.ZodString;
  }, z.core.$strip>>;
  missingSecrets: z.ZodArray<z.ZodString>;
  needsAdded: z.ZodArray<z.ZodEnum<{
     documents: "documents";
  }>>;
  rollback: z.ZodBoolean;
  target: z.ZodObject<{
     id: z.ZodGUID;
     version: z.ZodString;
  }, z.core.$strip>;
  waitingFor: z.ZodNullable<z.ZodEnum<{
     actions: "actions";
     approval: "approval";
     config: "config";
     declined: "declined";
     secrets: "secrets";
  }>>;
}, z.core.$strip>;

AppInstallView.upgrade: where an opted-in install moves next, and what it waits for.

Released under the Apache-2.0 License.