Variable: ToastSubjects
Makaio Framework / contracts/toast / ToastSubjects
Variable: ToastSubjects
Section titled “Variable: ToastSubjects”
constToastSubjects:BusSubjects<FlatSubjectDefinitions<"toast", {dismiss:ZodObject<{toastId:ZodString; },$strip>;dismissed:ZodObject<{timestamp:ZodNumber;toastId:ZodString; },$strip>;interacted:ZodObject<{actionId:ZodString;timestamp:ZodNumber;toastId:ZodString; },$strip>;show:ZodObject<{actions:ZodOptional<ZodArray<ZodObject<{id:ZodString;label:ZodString;variant:ZodOptional<ZodEnum<…>>; },$strip>>>;durationMs:ZodOptional<ZodNullable<ZodNumber>>;level:ZodEnum<{error:"error";info:"info";success:"success";warning:"warning"; }>;message:ZodString;title:ZodOptional<ZodString>;toastId:ZodOptional<ZodString>; },$strip>; }>,"toast"> =ToastNamespace.subjects
Defined in: ../../../packages/contracts/src/toast/namespace.ts:45
Toast subjects for type-safe bus operations. Use these with MakaioBus.emit(), MakaioBus.on(), etc.