@company-semantics/contracts 0.129.0 → 0.130.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/api/generated-spec-hash.ts +2 -2
- package/src/api/generated.ts +13 -0
- package/src/index.ts +0 -1
- package/src/org/index.ts +0 -1
- package/src/org/teams.ts +0 -15
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 = 'd7d0d2c97eb7' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'd7d0d2c97eb78e5a64e7bc0a46dda3e3a97f4f07e30fa51762a5feecb34b9ff8' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -2786,6 +2786,19 @@ export interface components {
|
|
|
2786
2786
|
name: string;
|
|
2787
2787
|
slug: string;
|
|
2788
2788
|
description: string | null;
|
|
2789
|
+
memberCount: number;
|
|
2790
|
+
/** @enum {string} */
|
|
2791
|
+
scope: "department" | "cross_department" | "org";
|
|
2792
|
+
department: {
|
|
2793
|
+
id: string;
|
|
2794
|
+
name: string;
|
|
2795
|
+
slug: string;
|
|
2796
|
+
} | null;
|
|
2797
|
+
homeDepartment: {
|
|
2798
|
+
id: string;
|
|
2799
|
+
name: string;
|
|
2800
|
+
slug: string;
|
|
2801
|
+
} | null;
|
|
2789
2802
|
/** @enum {string} */
|
|
2790
2803
|
syncMode: "manual_only" | "synced_readonly" | "synced_with_overrides";
|
|
2791
2804
|
members: {
|
package/src/index.ts
CHANGED
package/src/org/index.ts
CHANGED
package/src/org/teams.ts
CHANGED
|
@@ -43,18 +43,3 @@ export interface TeamMember {
|
|
|
43
43
|
readonly role: TeamMembershipRole;
|
|
44
44
|
readonly joinedAt: string;
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Full team detail view including members.
|
|
49
|
-
* Returned by GET /api/teams/:teamId.
|
|
50
|
-
*
|
|
51
|
-
* TODO: Potentially redundant with TeamResponse (z.infer<typeof TeamResponseSchema>)
|
|
52
|
-
* from src/content/schemas.ts now that TeamResponseSchema is derived from
|
|
53
|
-
* TeamSummarySchema.extend(). Follow-up cleanup: check consumers and consider
|
|
54
|
-
* collapsing to the schema-derived type. Not done in PRD-00458 to avoid
|
|
55
|
-
* scope creep into untracked consumers.
|
|
56
|
-
*/
|
|
57
|
-
export interface TeamDetail extends Team {
|
|
58
|
-
readonly members: ReadonlyArray<TeamMember>;
|
|
59
|
-
readonly syncMode: TeamSyncMode;
|
|
60
|
-
}
|