@meistrari/auth-nuxt 2.2.0 → 2.2.2
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,4 +1,4 @@
|
|
|
1
|
-
import type { FullOrganization
|
|
1
|
+
import type { FullOrganization } from '@meistrari/auth-core';
|
|
2
2
|
/**
|
|
3
3
|
* Shared state for session management.
|
|
4
4
|
* This module provides access to session-related state without creating circular dependencies.
|
|
@@ -99,7 +99,37 @@ export declare function useSessionState(): {
|
|
|
99
99
|
*/
|
|
100
100
|
export declare function useOrganizationState(): {
|
|
101
101
|
activeOrganization: import("vue").Ref<FullOrganization | null, FullOrganization | null>;
|
|
102
|
-
activeMember: import("vue").Ref<
|
|
102
|
+
activeMember: import("vue").Ref<{
|
|
103
|
+
id: string;
|
|
104
|
+
organizationId: string;
|
|
105
|
+
role: "org:admin" | "org:member" | "org:reviewer";
|
|
106
|
+
createdAt: Date;
|
|
107
|
+
userId: string;
|
|
108
|
+
teamId?: string | undefined | undefined;
|
|
109
|
+
user: {
|
|
110
|
+
id: string;
|
|
111
|
+
email: string;
|
|
112
|
+
name: string;
|
|
113
|
+
image?: string | undefined;
|
|
114
|
+
};
|
|
115
|
+
deletedAt?: Date | undefined;
|
|
116
|
+
lastActiveAt?: Date | undefined;
|
|
117
|
+
} | null, {
|
|
118
|
+
id: string;
|
|
119
|
+
organizationId: string;
|
|
120
|
+
role: "org:admin" | "org:member" | "org:reviewer";
|
|
121
|
+
createdAt: Date;
|
|
122
|
+
userId: string;
|
|
123
|
+
teamId?: string | undefined | undefined;
|
|
124
|
+
user: {
|
|
125
|
+
id: string;
|
|
126
|
+
email: string;
|
|
127
|
+
name: string;
|
|
128
|
+
image?: string | undefined;
|
|
129
|
+
};
|
|
130
|
+
deletedAt?: Date | undefined;
|
|
131
|
+
lastActiveAt?: Date | undefined;
|
|
132
|
+
} | null>;
|
|
103
133
|
};
|
|
104
134
|
export declare function useApplicationSessionState(): {
|
|
105
135
|
user: import("vue").Ref<{
|
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<{
|
|
13
13
|
success: boolean;
|
|
14
|
-
organizations: import("@meistrari/auth-core").
|
|
14
|
+
organizations: import("@meistrari/auth-core").FullOrganization[];
|
|
15
15
|
}>>;
|
|
16
16
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/auth-nuxt",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@meistrari/auth-core": "1.
|
|
34
|
+
"@meistrari/auth-core": "1.10.0",
|
|
35
35
|
"jose": "6.1.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|