@company-semantics/contracts 14.0.0 → 15.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "14.0.0",
3
+ "version": "15.0.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -119,7 +119,7 @@
119
119
  "zod": "^4.4.3"
120
120
  },
121
121
  "devDependencies": {
122
- "@types/node": "^25.9.3",
122
+ "@types/node": "^22.10.0",
123
123
  "husky": "^9.1.7",
124
124
  "lint-staged": "^17.0.7",
125
125
  "markdownlint-cli2": "^0.22.1",
@@ -70,7 +70,7 @@ export interface EmailPayloads {
70
70
  /** Name of the org unit / team the access applies to */
71
71
  unitName: string;
72
72
  /** Human-readable role label the recipient was given */
73
- roleLabel: "Leader" | "Delegate";
73
+ roleLabel: "Unit owner" | "Delegate";
74
74
  /** Full URL to view the org unit in the app */
75
75
  ctaUrl: string;
76
76
  /** Optional message from the granter, shown in the email and recorded with the grant */
@@ -44,7 +44,7 @@ export const OrgChartRoleSchema = z.enum(ORG_CHART_ROLES);
44
44
  */
45
45
  export const ORG_CHART_ROLE_LABELS: Record<OrgChartRole, string> = {
46
46
  owner: "CEO",
47
- leader: "Leader",
47
+ leader: "Unit owner",
48
48
  delegate: "Delegate",
49
49
  admin: "Admin",
50
50
  };