nuxt-glorious 2.0.0-develop-39 → 2.0.0-develop-41

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.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "2.0.0-develop-39"
4
+ "version": "2.0.0-develop-41"
5
5
  }
package/dist/module.mjs CHANGED
@@ -76,11 +76,6 @@ const module = defineNuxtModule({
76
76
  name: "g-auth",
77
77
  path: resolver.resolve("./runtime/middlewares/Auth")
78
78
  });
79
- addRouteMiddleware({
80
- name: "g-load-color",
81
- path: resolver.resolve("./runtime/middlewares/LoadColor"),
82
- global: true
83
- });
84
79
  }
85
80
  });
86
81
 
@@ -1,41 +1,27 @@
1
- interface AuthState {
2
- loaded: boolean;
3
- user: Record<string, any>;
4
- }
5
- interface UIColors {
6
- dom: Record<string, string>;
7
- tailwind: Record<string, string | Record<string, string>>;
8
- }
9
- interface UIState {
10
- colors: UIColors;
11
- isDark: boolean;
12
- }
13
- interface FormsState {
14
- [key: string]: {
15
- form: Record<string, any>;
16
- errors: any[];
1
+ export declare const GloriousStore: import("pinia").StoreDefinition<"GloriousStore", {
2
+ auth: {
3
+ loaded: boolean;
4
+ user: {};
17
5
  };
18
- }
19
- interface GloriousState {
20
- auth: AuthState;
21
- loading: Record<string, any>;
22
- keepData: Record<string, any>;
23
- forms: FormsState;
24
- response: Record<string, any>;
25
- modals: Record<string, any>;
26
- keepResponse: any[];
27
- ui: UIState;
28
- }
29
- interface GloriousGetters {
30
- [key: string]: (...args: any[]) => any;
6
+ loading: {};
7
+ keepData: {};
8
+ forms: {};
9
+ response: {};
10
+ modals: {};
11
+ keepResponse: never[];
12
+ ui: {
13
+ colors: {
14
+ dom: {};
15
+ tailwind: {};
16
+ };
17
+ isDark: boolean;
18
+ };
19
+ }, {
31
20
  authIsLogin(): boolean;
32
- }
33
- interface GloriousActions {
34
- formCreate(key: string | string[]): void;
21
+ }, {
22
+ formCreate(key: string | Array<string>): void;
35
23
  authLogout(): void;
36
24
  authSetToken(token: string, to?: string | null): void;
37
- authParseToken(token: string): any;
25
+ authParseToken(token: any): any;
38
26
  authGetUser(token?: string): void;
39
- }
40
- export declare const GloriousStore: import("pinia").StoreDefinition<"GloriousStore", GloriousState, GloriousGetters, GloriousActions>;
41
- export {};
27
+ }>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-develop-39",
2
+ "version": "2.0.0-develop-41",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",