@company-semantics/contracts 0.68.0 → 0.69.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/index.ts +1 -7
- package/src/org/index.ts +1 -7
- package/src/org/types.ts +0 -52
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -232,12 +232,6 @@ export type {
|
|
|
232
232
|
IdentityTrustLevel,
|
|
233
233
|
TransferEligibilityResult,
|
|
234
234
|
TransferMemberEligibility,
|
|
235
|
-
// Management Tier types (PRD-00155)
|
|
236
|
-
ManagementTier,
|
|
237
|
-
PromotionStatus,
|
|
238
|
-
PromotionRequest,
|
|
239
|
-
PromotionRecord,
|
|
240
|
-
PromotionReadinessResult,
|
|
241
235
|
// Strategy domain types (PRD-00173)
|
|
242
236
|
StrategyVisibility,
|
|
243
237
|
StrategyDocLevel,
|
|
@@ -247,7 +241,7 @@ export type {
|
|
|
247
241
|
StrategyDoc,
|
|
248
242
|
} from './org/index'
|
|
249
243
|
|
|
250
|
-
export { ROLE_DISPLAY_MAP, WORKSPACE_CAPABILITIES, ROLE_CAPABILITY_MAP, VIEW_SCOPE_MAP, getViewScope, TRANSFER_RESPONSIBILITIES, IDENTITY_TRUST_LEVEL_LABELS
|
|
244
|
+
export { ROLE_DISPLAY_MAP, WORKSPACE_CAPABILITIES, ROLE_CAPABILITY_MAP, VIEW_SCOPE_MAP, getViewScope, TRANSFER_RESPONSIBILITIES, IDENTITY_TRUST_LEVEL_LABELS } from './org/index'
|
|
251
245
|
|
|
252
246
|
// View authorization types (Phase 5 - ADR-APP-013)
|
|
253
247
|
export type { AuthorizableView } from './org/index'
|
package/src/org/index.ts
CHANGED
|
@@ -47,15 +47,9 @@ export type {
|
|
|
47
47
|
IdentityTrustLevel,
|
|
48
48
|
TransferEligibilityResult,
|
|
49
49
|
TransferMemberEligibility,
|
|
50
|
-
// Management Tier types (PRD-00155)
|
|
51
|
-
ManagementTier,
|
|
52
|
-
PromotionStatus,
|
|
53
|
-
PromotionRequest,
|
|
54
|
-
PromotionRecord,
|
|
55
|
-
PromotionReadinessResult,
|
|
56
50
|
} from './types';
|
|
57
51
|
|
|
58
|
-
export { ROLE_DISPLAY_MAP, TRANSFER_RESPONSIBILITIES, IDENTITY_TRUST_LEVEL_LABELS
|
|
52
|
+
export { ROLE_DISPLAY_MAP, TRANSFER_RESPONSIBILITIES, IDENTITY_TRUST_LEVEL_LABELS } from './types';
|
|
59
53
|
|
|
60
54
|
// Workspace capability types (Phase 3)
|
|
61
55
|
export type { WorkspaceCapability } from './capabilities';
|
package/src/org/types.ts
CHANGED
|
@@ -463,58 +463,6 @@ export interface TransferMemberEligibility {
|
|
|
463
463
|
readonly domainMatch: boolean;
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
// =============================================================================
|
|
467
|
-
// Management Tier Types (PRD-00155)
|
|
468
|
-
// Workspace governance level and promotion ceremony vocabulary.
|
|
469
|
-
// =============================================================================
|
|
470
|
-
|
|
471
|
-
/** Workspace governance level */
|
|
472
|
-
export type ManagementTier = 'grassroots' | 'company_managed';
|
|
473
|
-
|
|
474
|
-
export const MANAGEMENT_TIER_LABELS: Record<ManagementTier, { label: string; description: string }> = {
|
|
475
|
-
grassroots: {
|
|
476
|
-
label: 'Community workspace',
|
|
477
|
-
description: 'Community-originated workspace with no special governance constraints.',
|
|
478
|
-
},
|
|
479
|
-
company_managed: {
|
|
480
|
-
label: 'Company-managed workspace',
|
|
481
|
-
description: 'Domain verified, SSO enforced, ownership formally established.',
|
|
482
|
-
},
|
|
483
|
-
} as const;
|
|
484
|
-
|
|
485
|
-
/** Wizard progress tracking */
|
|
486
|
-
export type PromotionStatus = 'not_started' | 'in_progress' | 'completed';
|
|
487
|
-
|
|
488
|
-
/** Promotion ceremony state */
|
|
489
|
-
export interface PromotionRequest {
|
|
490
|
-
readonly orgId: string;
|
|
491
|
-
readonly promotedBy: string;
|
|
492
|
-
readonly ownershipConfirmed: boolean;
|
|
493
|
-
readonly domainVerified: boolean;
|
|
494
|
-
readonly ssoConfigured: boolean;
|
|
495
|
-
readonly responsibilityAcknowledged: boolean;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/** Audit record for completed promotion */
|
|
499
|
-
export interface PromotionRecord {
|
|
500
|
-
readonly orgId: string;
|
|
501
|
-
readonly promotedAt: string;
|
|
502
|
-
readonly promotedBy: string;
|
|
503
|
-
readonly previousTier: ManagementTier;
|
|
504
|
-
readonly newTier: ManagementTier;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/** Readiness check output */
|
|
508
|
-
export interface PromotionReadinessResult {
|
|
509
|
-
readonly ready: boolean;
|
|
510
|
-
readonly checks: ReadonlyArray<{
|
|
511
|
-
readonly id: string;
|
|
512
|
-
readonly label: string;
|
|
513
|
-
readonly passed: boolean;
|
|
514
|
-
readonly reason?: string;
|
|
515
|
-
}>;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
466
|
/**
|
|
519
467
|
* Status of an integration request from a member.
|
|
520
468
|
*/
|