@burdenoff/microfe-notification 2026.424.101 → 2026.513.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/NotificationCard.d.ts.map +1 -1
- package/dist/components/NotificationCard.js +62 -57
- package/dist/components/NotificationCard.js.map +1 -1
- package/dist/generated/global-operations.d.ts +556 -8
- package/dist/generated/global-operations.d.ts.map +1 -1
- package/dist/generated/global-operations.js +198 -155
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2907 -153
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.d.ts +4605 -117
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/graphql/global-client.d.ts.map +1 -1
- package/dist/graphql/global-client.js +41 -23
- package/dist/graphql/global-client.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useNotificationAdmin.d.ts.map +1 -1
- package/dist/hooks/useNotificationPreferences.d.ts +12 -0
- package/dist/hooks/useNotificationPreferences.d.ts.map +1 -0
- package/dist/hooks/useNotificationPreferences.js +114 -0
- package/dist/hooks/useNotificationPreferences.js.map +1 -0
- package/dist/hooks/useNotifications.d.ts +6 -1
- package/dist/hooks/useNotifications.d.ts.map +1 -1
- package/dist/hooks/useNotifications.js +148 -99
- package/dist/hooks/useNotifications.js.map +1 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +24 -0
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
- package/dist/node_modules/@apollo/client/errors/utils.js +16 -0
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +52 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +41 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +34 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +6 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +16 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js +19 -0
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +21 -0
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +17 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +23 -0
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js +57 -0
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/@wry/trie/lib/index.js +53 -0
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/graphql-ws/dist/client.js +272 -0
- package/dist/node_modules/graphql-ws/dist/client.js.map +1 -0
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +62 -0
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +21 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +78 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +117 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +93 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js +12 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +9 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +16 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +22 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +13 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +14 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +52 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/pages/CreateNotificationPage.d.ts.map +1 -1
- package/dist/pages/CreateNotificationPage.js +449 -448
- package/dist/pages/CreateNotificationPage.js.map +1 -1
- package/dist/pages/NotificationCenterPage.d.ts.map +1 -1
- package/dist/pages/NotificationCenterPage.js +128 -123
- package/dist/pages/NotificationCenterPage.js.map +1 -1
- package/dist/pages/NotificationHistoryAdminPage.js +1 -1
- package/dist/pages/NotificationHistoryAdminPage.js.map +1 -1
- package/dist/pages/NotificationHistoryPage.d.ts.map +1 -1
- package/dist/pages/NotificationHistoryPage.js +35 -37
- package/dist/pages/NotificationHistoryPage.js.map +1 -1
- package/dist/pages/NotificationPreferencesPage.d.ts.map +1 -1
- package/dist/pages/NotificationPreferencesPage.js +224 -79
- package/dist/pages/NotificationPreferencesPage.js.map +1 -1
- package/dist/pages/NotificationTemplatesPage.d.ts.map +1 -1
- package/dist/pages/NotificationTemplatesPage.js +155 -141
- package/dist/pages/NotificationTemplatesPage.js.map +1 -1
- package/dist/providers/NotificationProvider.d.ts.map +1 -1
- package/dist/providers/NotificationProvider.js +6 -5
- package/dist/providers/NotificationProvider.js.map +1 -1
- package/dist/types/index.d.ts +36 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +5 -3
|
@@ -7,25 +7,26 @@ var a = e(null), o = () => {
|
|
|
7
7
|
let e = t(a);
|
|
8
8
|
if (!e) throw Error("useNotification must be used within NotificationProvider");
|
|
9
9
|
return e;
|
|
10
|
-
}, s = ({ children: e, basePath: t, navigate: o, currentUser: s, workspaceId: c, apiGatewayUrl: l, authToken: u, onNotificationClick: d }) => {
|
|
11
|
-
let
|
|
10
|
+
}, s = ({ children: e, basePath: t, navigate: o, currentUser: s, workspaceId: c, apiGatewayUrl: l, authToken: u, onNotificationClick: d, eventBus: f }) => {
|
|
11
|
+
let p = {
|
|
12
12
|
basePath: t,
|
|
13
13
|
navigate: o,
|
|
14
14
|
currentUser: s,
|
|
15
15
|
workspaceId: c,
|
|
16
16
|
apiGatewayUrl: l,
|
|
17
17
|
authToken: u,
|
|
18
|
-
onNotificationClick: d
|
|
18
|
+
onNotificationClick: d,
|
|
19
|
+
eventBus: f
|
|
19
20
|
};
|
|
20
21
|
return t ? /* @__PURE__ */ i(a.Provider, {
|
|
21
|
-
value:
|
|
22
|
+
value: p,
|
|
22
23
|
children: /* @__PURE__ */ i(r, {
|
|
23
24
|
scopeId: null,
|
|
24
25
|
gateway: "global",
|
|
25
26
|
children: e
|
|
26
27
|
})
|
|
27
28
|
}) : /* @__PURE__ */ i(a.Provider, {
|
|
28
|
-
value:
|
|
29
|
+
value: p,
|
|
29
30
|
children: /* @__PURE__ */ i(n, { children: e })
|
|
30
31
|
});
|
|
31
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationProvider.js","names":[],"sources":["../../src/providers/NotificationProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, useContext } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport type { NotificationRootProps } from '../types';\n\n/**\n * Context value for Notification microfrontend\n */\ninterface NotificationContextValue extends NotificationRootProps {}\n\nconst NotificationContext = createContext<NotificationContextValue | null>(null);\n\n/**\n * Hook to access Notification context\n */\nexport const useNotification = () => {\n const context = useContext(NotificationContext);\n if (!context) {\n throw new Error('useNotification must be used within NotificationProvider');\n }\n return context;\n};\n\n/**\n * Provider component for Notification microfrontend\n * Sets up routing and context\n */\nexport const NotificationProvider: FC<PropsWithChildren<NotificationRootProps>> = ({\n children,\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n onNotificationClick,\n}) => {\n const contextValue: NotificationContextValue = {\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n onNotificationClick,\n };\n\n // When integrated into a shell (basePath provided), the shell already has a router\n // so we don't create another one. When standalone (no basePath), use MemoryRouter.\n // PermissionProvider requires AuthProvider which is provided by the shell, so it is\n // only mounted in integrated mode. It fetches permissions from global-rbac-svc via\n // the global gateway. Standalone mode is for limited preview/dev usage and does not\n // exercise the permission-gated pages.\n if (basePath) {\n // Integrated mode: shell already has BrowserRouter, don't create nested router\n return (\n <NotificationContext.Provider value={contextValue}>\n <PermissionProvider scopeId={null} gateway=\"global\">\n {children}\n </PermissionProvider>\n </NotificationContext.Provider>\n );\n }\n\n // Standalone mode: create MemoryRouter for independent operation. We deliberately\n // do NOT wrap in PermissionProvider here because it depends on AuthProvider which\n // only the host shell supplies — wrapping would crash on `useAuth()` at mount.\n return (\n <NotificationContext.Provider value={contextValue}>\n <MemoryRouter>{children}</MemoryRouter>\n </NotificationContext.Provider>\n );\n};\n"],"mappings":";;;;;AAWA,IAAM,IAAsB,EAA+C,KAAK,EAKnE,UAAwB;CACnC,IAAM,IAAU,EAAW,EAAoB;AAC/C,KAAI,CAAC,EACH,OAAU,MAAM,2DAA2D;AAE7E,QAAO;GAOI,KAAsE,EACjF,aACA,aACA,aACA,gBACA,gBACA,kBACA,cACA,
|
|
1
|
+
{"version":3,"file":"NotificationProvider.js","names":[],"sources":["../../src/providers/NotificationProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from 'react';\nimport { createContext, useContext } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport { PermissionProvider } from '@burdenoff/fe-libs/shared/providers/shell';\nimport type { NotificationRootProps } from '../types';\n\n/**\n * Context value for Notification microfrontend\n */\ninterface NotificationContextValue extends NotificationRootProps {}\n\nconst NotificationContext = createContext<NotificationContextValue | null>(null);\n\n/**\n * Hook to access Notification context\n */\nexport const useNotification = () => {\n const context = useContext(NotificationContext);\n if (!context) {\n throw new Error('useNotification must be used within NotificationProvider');\n }\n return context;\n};\n\n/**\n * Provider component for Notification microfrontend\n * Sets up routing and context\n */\nexport const NotificationProvider: FC<PropsWithChildren<NotificationRootProps>> = ({\n children,\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n onNotificationClick,\n eventBus,\n}) => {\n const contextValue: NotificationContextValue = {\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n onNotificationClick,\n eventBus,\n };\n\n // When integrated into a shell (basePath provided), the shell already has a router\n // so we don't create another one. When standalone (no basePath), use MemoryRouter.\n // PermissionProvider requires AuthProvider which is provided by the shell, so it is\n // only mounted in integrated mode. It fetches permissions from global-rbac-svc via\n // the global gateway. Standalone mode is for limited preview/dev usage and does not\n // exercise the permission-gated pages.\n if (basePath) {\n // Integrated mode: shell already has BrowserRouter, don't create nested router\n return (\n <NotificationContext.Provider value={contextValue}>\n <PermissionProvider scopeId={null} gateway=\"global\">\n {children}\n </PermissionProvider>\n </NotificationContext.Provider>\n );\n }\n\n // Standalone mode: create MemoryRouter for independent operation. We deliberately\n // do NOT wrap in PermissionProvider here because it depends on AuthProvider which\n // only the host shell supplies — wrapping would crash on `useAuth()` at mount.\n return (\n <NotificationContext.Provider value={contextValue}>\n <MemoryRouter>{children}</MemoryRouter>\n </NotificationContext.Provider>\n );\n};\n"],"mappings":";;;;;AAWA,IAAM,IAAsB,EAA+C,KAAK,EAKnE,UAAwB;CACnC,IAAM,IAAU,EAAW,EAAoB;AAC/C,KAAI,CAAC,EACH,OAAU,MAAM,2DAA2D;AAE7E,QAAO;GAOI,KAAsE,EACjF,aACA,aACA,aACA,gBACA,gBACA,kBACA,cACA,wBACA,kBACI;CACJ,IAAM,IAAyC;EAC7C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;AAsBD,QAdI,IAGA,kBAAC,EAAoB,UAArB;EAA8B,OAAO;YACnC,kBAAC,GAAD;GAAoB,SAAS;GAAM,SAAQ;GACxC;GACkB,CAAA;EACQ,CAAA,GAQjC,kBAAC,EAAoB,UAArB;EAA8B,OAAO;YACnC,kBAAC,GAAD,EAAe,aAAwB,CAAA;EACV,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ export interface NotificationRootProps extends MicrofrontendRootProps {
|
|
|
20
20
|
* Optional callback when a notification is clicked
|
|
21
21
|
*/
|
|
22
22
|
onNotificationClick?: (notification: Notification) => void;
|
|
23
|
+
/** Optional shell-owned event bus for cross-MFE notification events. */
|
|
24
|
+
eventBus?: {
|
|
25
|
+
emit: (event: string, payload: unknown) => void;
|
|
26
|
+
};
|
|
23
27
|
}
|
|
24
28
|
/**
|
|
25
29
|
* Notification type enum (matches backend NotificationType)
|
|
@@ -177,6 +181,38 @@ export interface NotificationTopicSubscription {
|
|
|
177
181
|
topicId: string;
|
|
178
182
|
userId: string;
|
|
179
183
|
}
|
|
184
|
+
export type NotificationPreferenceScope = 'GLOBAL' | 'CHANNEL' | 'TYPE' | 'TOPIC';
|
|
185
|
+
export type NotificationPreferenceFrequency = 'IMMEDIATE' | 'DAILY_DIGEST' | 'WEEKLY_DIGEST' | 'NEVER';
|
|
186
|
+
export interface NotificationPreference {
|
|
187
|
+
id: string;
|
|
188
|
+
userId: string;
|
|
189
|
+
preferenceKey: string;
|
|
190
|
+
scope: NotificationPreferenceScope;
|
|
191
|
+
channel?: NotificationChannel;
|
|
192
|
+
type?: NotificationType;
|
|
193
|
+
topicId?: string;
|
|
194
|
+
topic?: NotificationTopicSummary;
|
|
195
|
+
enabled: boolean;
|
|
196
|
+
frequency: NotificationPreferenceFrequency;
|
|
197
|
+
quietHoursStart?: string;
|
|
198
|
+
quietHoursEnd?: string;
|
|
199
|
+
timezone?: string;
|
|
200
|
+
metadata?: Record<string, unknown>;
|
|
201
|
+
createdAt: string;
|
|
202
|
+
updatedAt: string;
|
|
203
|
+
}
|
|
204
|
+
export interface UpsertNotificationPreferenceInput {
|
|
205
|
+
scope: NotificationPreferenceScope;
|
|
206
|
+
channel?: NotificationChannel;
|
|
207
|
+
type?: NotificationType;
|
|
208
|
+
topicId?: string;
|
|
209
|
+
enabled: boolean;
|
|
210
|
+
frequency?: NotificationPreferenceFrequency;
|
|
211
|
+
quietHoursStart?: string | null;
|
|
212
|
+
quietHoursEnd?: string | null;
|
|
213
|
+
timezone?: string | null;
|
|
214
|
+
metadata?: Record<string, unknown>;
|
|
215
|
+
}
|
|
180
216
|
export interface NotificationAdminFilters {
|
|
181
217
|
search: string;
|
|
182
218
|
status: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEjF,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC;IAE9D;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,KAAK,MAAM,IAAI,CAAC;IAEvE;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEjF,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE;;;OAGG;IACH,gBAAgB,C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MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,IAAI,CAAC,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
+
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
|
3
|
+
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-notification",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.513.2",
|
|
4
4
|
"description": "Notification microfrontend for multi-channel notification management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"imports": {
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
"codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
|
|
29
29
|
"codegen:all": "bun run schema:pull && bun run codegen",
|
|
30
30
|
"lint": "eslint src/",
|
|
31
|
+
"lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
|
|
31
32
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
32
33
|
"type:check": "tsc --noEmit",
|
|
33
|
-
"sanity": "bun run codegen && bun run lint && bun run format && bun run type:check",
|
|
34
|
+
"sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check",
|
|
34
35
|
"switch:status": "bun scripts/deps-mode.ts status",
|
|
35
36
|
"switch:remote": "bun scripts/deps-mode.ts remote",
|
|
36
37
|
"switch:local": "bun scripts/deps-mode.ts local",
|
|
@@ -48,9 +49,10 @@
|
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
51
|
"@apollo/client": "^4.0.9",
|
|
51
|
-
"@burdenoff/fe-libs": "
|
|
52
|
+
"@burdenoff/fe-libs": "2026.511.2",
|
|
52
53
|
"@types/lodash-es": "^4.17.12",
|
|
53
54
|
"graphql": "^16.12.0",
|
|
55
|
+
"graphql-ws": "^6.0.6",
|
|
54
56
|
"lodash-es": "^4.17.23",
|
|
55
57
|
"lucide-react": "^0.468.0",
|
|
56
58
|
"zustand": "^5.0.3"
|