Skip to content

Variable: LocalNotificationSubjects

Makaio Framework


Makaio Framework / services-core/local-notification/namespace / LocalNotificationSubjects

const LocalNotificationSubjects: BusSubjects<FlatSubjectDefinitions<"local-notification", { getProvider: { request: ZodObject<{ }, $strip>; response: ZodObject<{ provider: ZodNullable<ZodObject<{ available: ZodBoolean; displayName: ZodString; id: ZodString; }, $strip>>; }, $strip>; }; notify: { request: ZodObject<{ body: ZodString; icon: ZodOptional<ZodString>; title: ZodString; url: ZodOptional<ZodString>; }, $strip>; response: ZodDiscriminatedUnion<[ZodObject<{ success: ZodLiteral<true>; }, $strict>, ZodObject<{ error: ZodString; success: ZodLiteral<false>; }, $strict>], "success">; }; }>, "local-notification"> = LocalNotificationNamespace.subjects

Defined in: ../../../packages/services/core/src/local-notification/namespace.ts:28

Typed subjects for local notification operations.

Subjects available:

  • LocalNotificationSubjects.notify — Show a local notification (RPC)
  • LocalNotificationSubjects.getProvider — Get provider info (RPC)