UNPKG

@open-tender/cloud

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.

10 lines (9 loc) 699 B
import { AppState } from '../app'; export interface PushNotificationsState { orderId: string | number | null; fcmToken: string | null; } export declare const setPushNotificationsOrderId: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setPushNotificationsOrderId">, setFcmToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setFcmToken">; export declare const selectPushNotificationOrderId: (state: AppState) => string | number | null; export declare const selectFcmToken: (state: AppState) => string | null; export declare const pushNotificationsReducer: import("redux").Reducer<PushNotificationsState, import("redux").AnyAction>;