@company-semantics/contracts 13.2.1 → 13.3.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 +1 -1
- package/src/org/schemas.ts +12 -0
package/package.json
CHANGED
package/src/org/schemas.ts
CHANGED
|
@@ -1310,6 +1310,18 @@ export const CapabilitiesResponseSchema = z.object({
|
|
|
1310
1310
|
orgUnit: z.object({
|
|
1311
1311
|
manage: ActionCapabilitySchema,
|
|
1312
1312
|
}),
|
|
1313
|
+
// Entity ownership-transfer overrides (backend ADR-BE-259). Optional so
|
|
1314
|
+
// older backends that don't derive them still validate.
|
|
1315
|
+
companyMd: z
|
|
1316
|
+
.object({
|
|
1317
|
+
transferOwnership: ActionCapabilitySchema,
|
|
1318
|
+
})
|
|
1319
|
+
.optional(),
|
|
1320
|
+
workItem: z
|
|
1321
|
+
.object({
|
|
1322
|
+
transferOwnership: ActionCapabilitySchema,
|
|
1323
|
+
})
|
|
1324
|
+
.optional(),
|
|
1313
1325
|
})
|
|
1314
1326
|
.optional(),
|
|
1315
1327
|
});
|