@marianmeres/collection-types 1.37.0 → 1.38.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.
@@ -2,7 +2,7 @@
2
2
  * Area Pages Configuration Types (Unified 3-Level Hierarchy)
3
3
  *
4
4
  * Generic type definitions for area-based page hierarchies in the admin SPA.
5
- * Used by both "custom" and "customer" areas (and potentially others).
5
+ * Used by both "custom" and "user" areas (and potentially others).
6
6
  *
7
7
  * Hierarchy:
8
8
  * - Level 1: Group (shown in sidebar with expand/collapse)
@@ -2,7 +2,7 @@
2
2
  * Area Pages Configuration Types (Unified 3-Level Hierarchy)
3
3
  *
4
4
  * Generic type definitions for area-based page hierarchies in the admin SPA.
5
- * Used by both "custom" and "customer" areas (and potentially others).
5
+ * Used by both "custom" and "user" areas (and potentially others).
6
6
  *
7
7
  * Hierarchy:
8
8
  * - Level 1: Group (shown in sidebar with expand/collapse)
@@ -49,8 +49,8 @@ export interface JoyResponse {
49
49
  */
50
50
  customPages: AreaPagesConfig | null;
51
51
  /**
52
- * Customer pages configuration from `__joy_customer_pages__`.
52
+ * User pages configuration from `__joy_user_pages__`.
53
53
  * 3-level hierarchy: Group -> Page -> Tab.
54
54
  */
55
- customerPages: AreaPagesConfig | null;
55
+ userPages: AreaPagesConfig | null;
56
56
  }
package/dist/mod.js CHANGED
@@ -69,7 +69,7 @@ export * from "./schema-builder.js";
69
69
  export * from "./navigation.js";
70
70
  // Form Routes Configuration Types (admin UI)
71
71
  export * from "./form-routes.js";
72
- // Area Pages Configuration Types (unified custom/customer pages - admin UI)
72
+ // Area Pages Configuration Types (unified custom/user pages - admin UI)
73
73
  export * from "./area-pages.js";
74
74
  // Joy Config Types (admin UI)
75
75
  export * from "./joy-config.js";
@@ -95,7 +95,7 @@ export interface NavItemDef {
95
95
  * Each area represents a distinct section of the application with its own
96
96
  * routing pattern and navigation structure.
97
97
  */
98
- export type AreaId = "cms" | "custom" | "customer" | "extra" | "me";
98
+ export type AreaId = "cms" | "custom" | "user" | "extra" | "me";
99
99
  /**
100
100
  * Base nav item structure shared across all areas.
101
101
  * Designed to support hierarchical navigation (groups, pages, tabs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",