@jealous-robot-dev/shared-types-responses 1.17.21 → 1.17.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,3 +40,7 @@ export interface LandingPageData {
40
40
  static_content_path: string;
41
41
  sections: LangdingPageSections[];
42
42
  }
43
+ export interface LPVitalData {
44
+ data: LandingPageData;
45
+ bg: LPBg;
46
+ }
@@ -17,14 +17,20 @@ export declare enum Pages {
17
17
  HOST_AN_EVENT = "host-an-event",
18
18
  BECOME_A_HOST = "become-a-host",
19
19
  VISITING_EVENTS = "visiting-events",
20
- AUTHENTICATION = "authentication",
20
+ LOGIN_OR_SIGNUP = "login-or-signup",
21
+ FORGOT_PASSWORD = "forgot-password",
22
+ RESET_PASSWORD = "reset-password",
21
23
  VIEW_EVENT = "view-event",
22
24
  CHECKOUT = "checkout",
23
25
  SEARCH_USERS = "search-users",
24
26
  SEARCH_EVENTS = "search-events",
25
- SECURITY = "security",
27
+ VERIFY_DEVICE = "verify-device",
26
28
  HELP = "help"
27
29
  }
30
+ export declare const GUEST_EXPERIENCE_PAGES: Pages[];
31
+ export declare const HOST_EXPERIENCE_PAGES: Pages[];
32
+ export declare const SHARED_EXPERIENCE_PAGES: Pages[];
33
+ export declare const AUTH_EXPERIENCE_PAGES: Pages[];
28
34
  export declare enum UITHEME {
29
35
  DARK = "dark",
30
36
  LIGHT = "light"
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Paths = exports.TextDirection = exports.UITHEME = exports.Pages = void 0;
3
+ exports.Paths = exports.TextDirection = exports.UITHEME = exports.AUTH_EXPERIENCE_PAGES = exports.SHARED_EXPERIENCE_PAGES = exports.HOST_EXPERIENCE_PAGES = exports.GUEST_EXPERIENCE_PAGES = exports.Pages = void 0;
4
4
  var Pages;
5
5
  (function (Pages) {
6
6
  Pages["NOTIFICATIONS"] = "notifications";
@@ -19,14 +19,33 @@ var Pages;
19
19
  Pages["HOST_AN_EVENT"] = "host-an-event";
20
20
  Pages["BECOME_A_HOST"] = "become-a-host";
21
21
  Pages["VISITING_EVENTS"] = "visiting-events";
22
- Pages["AUTHENTICATION"] = "authentication";
22
+ Pages["LOGIN_OR_SIGNUP"] = "login-or-signup";
23
+ Pages["FORGOT_PASSWORD"] = "forgot-password";
24
+ Pages["RESET_PASSWORD"] = "reset-password";
23
25
  Pages["VIEW_EVENT"] = "view-event";
24
26
  Pages["CHECKOUT"] = "checkout";
25
27
  Pages["SEARCH_USERS"] = "search-users";
26
28
  Pages["SEARCH_EVENTS"] = "search-events";
27
- Pages["SECURITY"] = "security";
29
+ Pages["VERIFY_DEVICE"] = "verify-device";
28
30
  Pages["HELP"] = "help";
29
31
  })(Pages = exports.Pages || (exports.Pages = {}));
32
+ exports.GUEST_EXPERIENCE_PAGES = [
33
+ Pages.COLLECTIONS, Pages.EXPLORER,
34
+ Pages.PROFILE, Pages.SEARCH_USERS,
35
+ Pages.USER_SETTINGS, Pages.VISITING_EVENTS,
36
+ Pages.SEARCH_EVENTS, Pages.INVITE
37
+ ];
38
+ exports.HOST_EXPERIENCE_PAGES = [
39
+ Pages.EVENT_MANAGER, Pages.HOST, Pages.PERFORMANCE
40
+ ];
41
+ exports.SHARED_EXPERIENCE_PAGES = [
42
+ Pages.PAYMENT_HISTORY, Pages.NOTIFICATIONS,
43
+ Pages.MESSENGER, Pages.SCHEDULE
44
+ ];
45
+ exports.AUTH_EXPERIENCE_PAGES = [
46
+ Pages.FORGOT_PASSWORD, Pages.LOGIN_OR_SIGNUP,
47
+ Pages.RESET_PASSWORD
48
+ ];
30
49
  var UITHEME;
31
50
  (function (UITHEME) {
32
51
  UITHEME["DARK"] = "dark";
@@ -47,7 +47,12 @@ export interface SHField {
47
47
  href: string;
48
48
  label: string;
49
49
  type: SHFieldLinkType;
50
+ has_notification?: boolean;
50
51
  is_bold?: boolean;
51
52
  with_hr?: boolean;
52
53
  page?: Pages;
53
54
  }
55
+ export interface SHConfig {
56
+ with_preferences?: boolean;
57
+ fields: SHField[];
58
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.17.21",
3
+ "version": "1.17.26",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",