Skip to content

Variable: TimelinePage ​

ts
const TimelinePage: z.ZodObject<{
  items: z.ZodArray<z.ZodObject<{
     actor: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        type: z.ZodEnum<{
           app: "app";
           applicant: "applicant";
           service: "service";
           system: "system";
           user: "user";
           workflow: "workflow";
        }>;
     }, z.core.$strip>>;
     at: z.ZodCoercedDate<unknown>;
     data: z.ZodOptional<z.ZodUnknown>;
     id: z.ZodString;
     kind: z.ZodEnum<{
        audit: "audit";
        case: "case";
        decision: "decision";
        document: "document";
        event: "event";
        note: "note";
        run: "run";
        submission: "submission";
     }>;
     resourceId: z.ZodString;
     resourceType: z.ZodString;
     summary: z.ZodOptional<z.ZodString>;
     title: z.ZodString;
  }, z.core.$strip>>;
  nextCursor: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;

A page of a subject's history and the cursor of the next one (null after the last).

Released under the Apache-2.0 License.