Skip to content

Variable: DefinitionVersionSummary ​

ts
const DefinitionVersionSummary: z.ZodObject<{
  approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
     comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
     decidedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
     decidedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
     decision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
        approved: "approved";
        rejected: "rejected";
        withdrawn: "withdrawn";
     }>>>;
     decisionComment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
     id: z.ZodGUID;
     key: z.ZodString;
     kind: z.ZodEnum<{
        collection_flow: "collection_flow";
        rule: "rule";
        rule_set: "rule_set";
        workflow: "workflow";
     }>;
     requestedAt: z.ZodCoercedDate<unknown>;
     requestedBy: z.ZodString;
     tenantId: z.ZodGUID;
     version: z.ZodNumber;
  }, z.core.$strip>>>;
  createdAt: z.ZodCoercedDate<unknown>;
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  key: z.ZodString;
  kind: z.ZodEnum<{
     collection_flow: "collection_flow";
     rule: "rule";
     rule_set: "rule_set";
     workflow: "workflow";
  }>;
  name: z.ZodString;
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  status: z.ZodEnum<{
     archived: "archived";
     draft: "draft";
     pending_approval: "pending_approval";
     published: "published";
  }>;
  updatedAt: z.ZodCoercedDate<unknown>;
  updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  version: z.ZodNumber;
}, z.core.$strip>;

A row of a definition's version history.

Released under the Apache-2.0 License.