Appearance
Variable: AttentionItem
ts
const AttentionItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
count: z.ZodNumber;
kind: z.ZodLiteral<"approvals">;
oldest: z.ZodArray<z.ZodObject<{
id: z.ZodGUID;
link: z.ZodObject<{
key: z.ZodString;
kind: z.ZodEnum<{
collection_flow: ...;
rule: ...;
rule_set: ...;
workflow: ...;
}>;
version: z.ZodNonOptional<z.ZodOptional<...>>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
app: z.ZodString;
kind: z.ZodLiteral<"app_disabled">;
}, z.core.$strip>, z.ZodObject<{
app: z.ZodString;
kind: z.ZodLiteral<"app_unconfigured">;
missingSecrets: z.ZodArray<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
app: z.ZodString;
calls: z.ZodNumber;
circuit: z.ZodOptional<z.ZodEnum<{
half_open: "half_open";
open: "open";
}>>;
failures: z.ZodNumber;
kind: z.ZodLiteral<"app_failing">;
timeouts: z.ZodNumber;
}, z.core.$strip>, z.ZodObject<{
at: z.ZodCoercedDate<unknown>;
error: z.ZodNullable<z.ZodString>;
kind: z.ZodLiteral<"export_failed">;
name: z.ZodString;
scheduleId: z.ZodGUID;
}, z.core.$strip>, z.ZodObject<{
count: z.ZodNumber;
endpointId: z.ZodGUID;
event: z.ZodString;
kind: z.ZodLiteral<"webhook_exhausted">;
url: z.ZodString;
}, z.core.$strip>], "kind">;Something on Home's "Needs your attention" list.