nuxt-glorious 2.0.0-develop-38 → 2.0.0-develop-40

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-38"
4
+ "version": "2.0.0-develop-40"
5
5
  }
package/dist/module.mjs CHANGED
@@ -62,7 +62,6 @@ const module = defineNuxtModule({
62
62
  });
63
63
  addPlugin(resolver.resolve("./runtime/plugins/modalClose"));
64
64
  addPlugin(resolver.resolve("./runtime/plugins/InputComponent"));
65
- addPlugin(resolver.resolve("./runtime/plugins/tailwindColor"));
66
65
  addRouteMiddleware({
67
66
  name: "g-auth-strategy",
68
67
  path: resolver.resolve("./runtime/middlewares/AuthStrategy"),
@@ -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-38",
2
+ "version": "2.0.0-develop-40",
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",
File without changes
File without changes