@7365admin1/layer-common 4.35.1-staging.390 → 4.35.1-staging.391
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.
|
@@ -636,6 +636,8 @@ async function fetchPending() {
|
|
|
636
636
|
const res = await getVerifications({
|
|
637
637
|
status: 'pending',
|
|
638
638
|
type: 'user-invite',
|
|
639
|
+
// Only what Seven365 sent - never a client's own invitations (owner, 2026-09-25).
|
|
640
|
+
origin: 'seven365',
|
|
639
641
|
page: page.value,
|
|
640
642
|
search: search.value,
|
|
641
643
|
email: search.value,
|
|
@@ -9,6 +9,8 @@ export default function useVerification() {
|
|
|
9
9
|
siteId = "",
|
|
10
10
|
orgId = "",
|
|
11
11
|
limit = 20,
|
|
12
|
+
// "seven365": only the invitations Seven365 sent (the console's lists).
|
|
13
|
+
origin = "",
|
|
12
14
|
} = {}): Promise<{
|
|
13
15
|
items: TMiniVerification[];
|
|
14
16
|
pages: number;
|
|
@@ -16,7 +18,11 @@ export default function useVerification() {
|
|
|
16
18
|
}> {
|
|
17
19
|
return useNuxtApp().$api("/api/verifications", {
|
|
18
20
|
method: "GET",
|
|
19
|
-
query: {
|
|
21
|
+
query: {
|
|
22
|
+
status, search, page, type, email, app, siteId, orgId, limit,
|
|
23
|
+
// Sent only when asked for: an older API refuses a key it does not know.
|
|
24
|
+
...(origin && { origin }),
|
|
25
|
+
},
|
|
20
26
|
});
|
|
21
27
|
}
|
|
22
28
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.35.1-staging.
|
|
5
|
+
"version": "4.35.1-staging.391",
|
|
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.",
|