Appearance
Variable: TimelineEntry
ts
const TimelineEntry: 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>;One entry of a subject's chronological history, projected server-side from the entity tables and the audit log. data carries the kind-specific record (a Decision, a Case, ...).