@company-semantics/contracts 21.3.0 → 22.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,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = 'c4553ad2d609' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'c4553ad2d6092751eed87104b6614f3ef60884954c1d5a029a98129d32c5b9bf' as const;
|
package/src/api/generated.ts
CHANGED
package/src/identity/README.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* ADR-BE-120). Tree traversal must never consult either.
|
|
13
13
|
*/
|
|
14
14
|
import { z } from "zod";
|
|
15
|
+
import { AuthorityMutabilitySchema } from "../org/schemas";
|
|
15
16
|
|
|
16
17
|
// ---------------------------------------------------------------------------
|
|
17
18
|
// Reporting Relationship Type
|
|
@@ -34,6 +35,14 @@ export type ReportingRelationshipType = z.infer<
|
|
|
34
35
|
export const PeopleOrgChartOwnedUnitSchema = z.object({
|
|
35
36
|
id: z.string().uuid(),
|
|
36
37
|
name: z.string(),
|
|
38
|
+
// Whether this local structural ownership is DERIVED from reporting topology
|
|
39
|
+
// (the senior person homed in a unit with no manager inside it — ADR-BE-267/
|
|
40
|
+
// 294/329) or an explicit grant (`user_managed`). The chart marks a derived
|
|
41
|
+
// owner with the distinct ✧ marker (not the held-key glyph). A derived owner
|
|
42
|
+
// can't be revoked in place — only relinquished. Display + affordance gating
|
|
43
|
+
// only; never an authorization input. Mirrors `WorkspaceMemberUnitDesignation
|
|
44
|
+
// Entry.mutability`.
|
|
45
|
+
mutability: AuthorityMutabilitySchema,
|
|
37
46
|
});
|
|
38
47
|
|
|
39
48
|
export type PeopleOrgChartOwnedUnit = z.infer<
|