@jealous-robot-dev/shared-types-responses 1.18.11 → 1.18.12
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { Currency, Locale, MainUserData } from "..";
|
2
|
-
import { Pages, TextDirection, UITHEME } from "./main-data";
|
3
|
-
export interface AuthCtxData {
|
4
|
-
isAuth: boolean;
|
5
|
-
user: MainUserData | null;
|
6
|
-
}
|
7
|
-
export interface RouterCtxData {
|
8
|
-
page: Pages;
|
9
|
-
resetPage: (page: Pages) => void;
|
10
|
-
}
|
11
|
-
export interface StylesCtxData {
|
12
|
-
direction: TextDirection;
|
13
|
-
}
|
14
|
-
export interface SystemCtxData {
|
15
|
-
no_consent?: boolean;
|
16
|
-
device_id: string | null;
|
17
|
-
ensureDeviceId: () => void;
|
18
|
-
}
|
19
|
-
export interface PreferencesCtxData {
|
20
|
-
locale: Locale;
|
21
|
-
currency: Currency;
|
22
|
-
theme: UITHEME;
|
23
|
-
resetTheme: () => void;
|
24
|
-
}
|