@jealous-robot-dev/shared-types-responses 1.18.10 → 1.18.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.10",
3
+ "version": "1.18.11",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",