@7365admin1/layer-common 4.15.0 → 4.15.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,17 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 01e9fa3: A Real Estate Developer client links to the Property Management app (app switcher, cross-app redirects, client details service link).
8
+
9
+ ## 4.15.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 182e513: Invite Client offers Real Estate Developer, which gets the Property Management modules and the Service365 resident app modules like a Property Management client.
14
+
3
15
  ## 4.15.0
4
16
 
5
17
  ### Minor Changes
@@ -1131,11 +1143,11 @@
1131
1143
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
1132
1144
  own rule from two endpoints the console already calls, unprojected:
1133
1145
 
1134
- GET /api/members/user/:user/app/admin the Seven365 staff membership
1135
- GET /api/roles/id/:role that membership's role document
1146
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
1147
+ GET /api/roles/id/:role that membership's role document
1136
1148
 
1137
- owner = member.type === "admin" && role.type === "admin" && role.default === true
1138
- staff = member.type === "admin" && role.type === "admin"
1149
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
1150
+ staff = member.type === "admin" && role.type === "admin"
1139
1151
 
1140
1152
  `role.default` is the marker because it is the only property of a platform
1141
1153
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -234,6 +234,9 @@ const APP_CONFIG: Record<string, any> = {
234
234
  link: APP_POOL_MAINTENANCE
235
235
  }
236
236
  }
237
+ // A Real Estate Developer client is served by the Property Management app
238
+ // (product decision 2026-09-12: developer = the Property Management set).
239
+ APP_CONFIG.real_estate_developer = APP_CONFIG.property_management_agency
237
240
 
238
241
  const orgApi = useOrg()
239
242
  const userApi = useUser()
@@ -302,6 +302,9 @@ if (props.mode === "create") {
302
302
  /* ================= APP LIST ================= */
303
303
  const APP_LIST = [
304
304
  { title: "Property Management Agency", value: "property_management_agency" },
305
+ // Owner, 2026-09-12: a developer gets the Property Management set - its
306
+ // modules and the Service365 resident app (NATURE_APPLICATIONS).
307
+ { title: "Real Estate Developer", value: "real_estate_developer" },
305
308
  { title: "Security Agency", value: "security_agency" },
306
309
  { title: "Cleaning Services", value: "cleaning_services" },
307
310
  { title: "Mechanical & Electrical Services", value: "mechanical_electrical_services" },
@@ -6,12 +6,14 @@
6
6
  * runtime config. Without this map each app had to carry its own copy, which is
7
7
  * how a switcher ends up able to LIST an organisation it cannot open.
8
8
  *
9
- * `real_estate_developer` is deliberately absent: it is an allowed nature with
10
- * no app of its own, and `appUrl` answers "" for it rather than guessing.
9
+ * `real_estate_developer` has no app of its own: a developer is the Property
10
+ * Management set (product decision 2026-09-12), and the server stores its
11
+ * memberships and roles as Property Management ones, so it opens that app.
11
12
  */
12
13
  const APP_URL_KEY_BY_NATURE: Record<string, string> = {
13
14
  security_agency: "APP_SECURITY",
14
15
  property_management_agency: "APP_PROPERTY_MANAGEMENT",
16
+ real_estate_developer: "APP_PROPERTY_MANAGEMENT",
15
17
  cleaning_services: "APP_HYGIENE",
16
18
  mechanical_electrical_services: "APP_MECHANICAL_ELECTRICAL",
17
19
  pest_control_services: "APP_PEST_CONTROL",
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.15.0",
5
+ "version": "4.15.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.",