@7365admin1/layer-common 4.71.1 → 4.71.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.71.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 99042e0: Building Management → Units import dialog: the instructions no longer ask for a block number (the import takes it from the chosen building).
8
+
3
9
  ## 4.71.1
4
10
 
5
11
  ### Patch Changes
@@ -1867,11 +1873,11 @@
1867
1873
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
1868
1874
  own rule from two endpoints the console already calls, unprojected:
1869
1875
 
1870
- GET /api/members/user/:user/app/admin the Seven365 staff membership
1871
- GET /api/roles/id/:role that membership's role document
1876
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
1877
+ GET /api/roles/id/:role that membership's role document
1872
1878
 
1873
- owner = member.type === "admin" && role.type === "admin" && role.default === true
1874
- staff = member.type === "admin" && role.type === "admin"
1879
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
1880
+ staff = member.type === "admin" && role.type === "admin"
1875
1881
 
1876
1882
  `role.default` is the marker because it is the only property of a platform
1877
1883
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -31,7 +31,7 @@
31
31
  title="Import Blocks, Levels and Units from Excel"
32
32
  noun="rows"
33
33
  name-label="Building / Level / Unit"
34
- fill-hint="One row per unit: block number, building name, level and unit. Building Name and Level have dropdowns with this property's own values."
34
+ fill-hint="One row per unit: building name, level and unit. Pick Building Name and Level from the dropdowns (type a new name for a new building). No block number needed — an existing building keeps its own and a new one gets the next free number."
35
35
  duplicate-note="Units already on that level are skipped and left unchanged."
36
36
  template-file-name="units-import-template.xlsx"
37
37
  :download-template="() => downloadTemplate('building-units', { site })"
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.71.1",
5
+ "version": "4.71.2",
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.",