@company-semantics/contracts 0.143.0 → 0.143.1

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": "0.143.0",
3
+ "version": "0.143.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,12 @@ export interface Department {
22
22
  readonly slug: string;
23
23
  readonly description: string | null;
24
24
  readonly memberCount: number;
25
- readonly orderKey: string;
25
+ /**
26
+ * Fractional-index key for drag-to-reorder. Backend always returns this;
27
+ * typed optional until the OpenAPI spec (DepartmentSummarySchema) is
28
+ * regenerated to include the field. Once regen ships, tighten to required.
29
+ */
30
+ readonly orderKey?: string;
26
31
  }
27
32
 
28
33
  /**
package/src/org/teams.ts CHANGED
@@ -31,7 +31,12 @@ export interface Team {
31
31
  readonly scope: import('./departments').TeamScope;
32
32
  readonly department: { readonly id: string; readonly name: string; readonly slug: string } | null;
33
33
  readonly homeDepartment: { readonly id: string; readonly name: string; readonly slug: string } | null;
34
- readonly orderKey: string;
34
+ /**
35
+ * Fractional-index key for drag-to-reorder. Backend always returns this;
36
+ * typed optional until the OpenAPI spec (TeamSummarySchema) is regenerated
37
+ * to include the field. Once regen ships, tighten to required.
38
+ */
39
+ readonly orderKey?: string;
35
40
  }
36
41
 
37
42
  /**