diff options
Diffstat (limited to 'client/src/models.ts')
-rw-r--r-- | client/src/models.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/models.ts b/client/src/models.ts index 6840a46..5e53484 100644 --- a/client/src/models.ts +++ b/client/src/models.ts @@ -1,3 +1,6 @@ +import { SerializedError } from '@reduxjs/toolkit'; +import { FetchBaseQueryError } from '@reduxjs/toolkit/query'; + export interface Guest { id?: number; firstName: string; @@ -28,3 +31,9 @@ export interface AdminLogin { guests: Guest[]; token: string; } + +export interface StatusProps { + isError?: boolean; + error: FetchBaseQueryError | SerializedError | undefined; + setOpen: (open: boolean) => void; +} |