@7365admin1/layer-common 4.13.2-staging.323 → 4.13.2-staging.325

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.
@@ -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.13.2-staging.323",
5
+ "version": "4.13.2-staging.325",
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.",