Skip to content

Variable: LocalNotificationNamespace

Makaio Framework


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

const LocalNotificationNamespace: BusNamespace<"local-notification", SubjectRecordFromSchemaRecord<{ 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">; }; }>, {[key: string]: string; }, { 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">; }; }>

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

Local notification namespace registration.

Provides type-safe subjects for platform-native notification operations. Each platform (Electron, iOS, Android, Web) registers a single provider that handles these subjects.