Skip to content

@grabm/abm / Variable: diagnosticBucketSchema ​

ts
const diagnosticBucketSchema: ZodObject<{
  activityId: ZodString;
  cause: ZodEnum<{
     anchor: "anchor";
     break-outbound: "break-outbound";
     break-return: "break-return";
     discretionary: "discretionary";
     gateway-entry: "gateway-entry";
     gateway-exit: "gateway-exit";
     home-return: "home-return";
  }>;
  cohortId: ZodString;
  count: ZodNumber;
  endMinute: ZodNumber;
  mode: ZodNullable<ZodString>;
  outcome: ZodEnum<{
     cancelled: "cancelled";
     capacity-rejected: "capacity-rejected";
     completed: "completed";
     insufficient-time: "insufficient-time";
     protected-skip: "protected-skip";
     started: "started";
     stayed: "stayed";
     unavailable: "unavailable";
     unreachable: "unreachable";
  }>;
  startMinute: ZodNumber;
}, $strict>;

Documentation for the grABM library.