@company-semantics/contracts 0.56.0 → 0.57.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/org/types.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/src/org/types.ts CHANGED
@@ -57,7 +57,7 @@ export interface OwnershipTransferStatus {
57
57
  * Display role for workspace members.
58
58
  * Presentation-layer simplification of the internal RBAC roles.
59
59
  */
60
- export type WorkspaceRole = 'owner' | 'admin' | 'member';
60
+ export type WorkspaceRole = 'owner' | 'admin' | 'member' | 'auditor';
61
61
 
62
62
  /**
63
63
  * RBAC → UI role mapping (presentation only).
@@ -66,6 +66,7 @@ export type WorkspaceRole = 'owner' | 'admin' | 'member';
66
66
  export const ROLE_DISPLAY_MAP = {
67
67
  org_owner: 'owner',
68
68
  org_admin: 'admin',
69
+ org_auditor: 'auditor',
69
70
  // All other roles → 'member'
70
71
  } as const satisfies Partial<Record<string, WorkspaceRole>>;
71
72
 
@@ -77,6 +78,8 @@ export interface WorkspaceOverview {
77
78
  id: string;
78
79
  name: string;
79
80
  type: OrgType;
81
+ /** Square logo URL for the workspace. Null if no logo has been set. */
82
+ logoUrl: string | null;
80
83
  owner: {
81
84
  id: string;
82
85
  name: string;