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.

12 lines (11 loc) 600 B
import { ServiceType } from '@open-tender/types'; import { AppState } from '../app'; export interface QrState { locationId: number | null; prep_type: string | null; table: number | null; service_type: ServiceType | null; } export declare const setQrParams: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qr/setQrParams">, resetQrParams: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"qr/resetQrParams">; export declare const selectQrParams: (state: AppState) => QrState; export declare const qrReducer: import("redux").Reducer<QrState, import("redux").AnyAction>;