@7365admin1/layer-common 3.2.8-staging.213 → 3.2.8-staging.214
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.
|
@@ -348,7 +348,8 @@ const { getRoleById: _getRoleById, deleteRole } = useRole();
|
|
|
348
348
|
|
|
349
349
|
const { data: role, refresh: getRoleById } = useLazyAsyncData(
|
|
350
350
|
"role-permissions-get-by-id",
|
|
351
|
-
() => _getRoleById(roleId.value)
|
|
351
|
+
() => _getRoleById(roleId.value),
|
|
352
|
+
{ immediate: false }
|
|
352
353
|
);
|
|
353
354
|
|
|
354
355
|
watchEffect(() => {
|
package/composables/useMember.ts
CHANGED
|
@@ -28,10 +28,6 @@ export default function useMember() {
|
|
|
28
28
|
function getAllByUserId(user: string) {
|
|
29
29
|
return useNuxtApp().$api<TMember>(`/api/members/users/${user}`);
|
|
30
30
|
}
|
|
31
|
-
function getByMemberId(user: string) {
|
|
32
|
-
return useNuxtApp().$api<TMember>(`/api//user/${user}`);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
31
|
function getByUserIdType(user: string, type: string) {
|
|
36
32
|
return useNuxtApp().$api<TMember>(`/api/members/user/${user}/app/${type}`);
|
|
37
33
|
}
|
|
@@ -165,7 +161,6 @@ export default function useMember() {
|
|
|
165
161
|
createUserByVerification,
|
|
166
162
|
createMemberInvite,
|
|
167
163
|
getByUserIdType,
|
|
168
|
-
getByMemberId,
|
|
169
164
|
updateMemberStatus,
|
|
170
165
|
updateMemberRole,
|
|
171
166
|
createMemberDirect,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "3.2.8-staging.
|
|
5
|
+
"version": "3.2.8-staging.214",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|