@7365admin1/layer-common 4.68.0 → 4.69.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.69.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cb9d2a1: Inventory: show "Equipment is now in Inventory." when a retired Equipment page forwards here (?moved=equipment).
8
+
3
9
  ## 4.68.0
4
10
 
5
11
  ### Minor Changes
@@ -1831,11 +1837,11 @@
1831
1837
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
1832
1838
  own rule from two endpoints the console already calls, unprojected:
1833
1839
 
1834
- GET /api/members/user/:user/app/admin the Seven365 staff membership
1835
- GET /api/roles/id/:role that membership's role document
1840
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
1841
+ GET /api/roles/id/:role that membership's role document
1836
1842
 
1837
- owner = member.type === "admin" && role.type === "admin" && role.default === true
1838
- staff = member.type === "admin" && role.type === "admin"
1843
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
1844
+ staff = member.type === "admin" && role.type === "admin"
1839
1845
 
1840
1846
  `role.default` is the marker because it is the only property of a platform
1841
1847
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -29,6 +29,11 @@
29
29
  </template>
30
30
  </PageHeader>
31
31
 
32
+ <!-- The old Equipment pages forward here with ?moved=equipment (retired 2026-09-28). -->
33
+ <v-alert v-if="movedFromEquipment" type="info" variant="tonal" density="compact" closable class="mb-4">
34
+ Equipment is now in Inventory.
35
+ </v-alert>
36
+
32
37
  <v-progress-linear v-if="loading" indeterminate color="primary" class="mb-4" />
33
38
 
34
39
  <AppCard v-else-if="loadError" class="pa-6">
@@ -125,6 +130,8 @@ const props = defineProps({
125
130
  siteId: { type: String, required: true },
126
131
  });
127
132
 
133
+ const movedFromEquipment = useRoute().query.moved === "equipment";
134
+
128
135
  const { getStores, createStore: apiCreateStore, getRequests } = useInventory();
129
136
  const { getSites } = useSite();
130
137
  const { requiredRule } = useUtils();
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.68.0",
5
+ "version": "4.69.0",
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.",