File tree Expand file tree Collapse file tree
components/AdvancedComponents/org-chart-component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,33 @@ export const MediumTeam: Story = {
8484 } ,
8585}
8686
87+ export const SinglePersonUser : Story = {
88+ args : {
89+ users : [ {
90+ id : 1 ,
91+ name : 'Test user - do not delete' ,
92+ email : 'test@test.com' ,
93+ jobRole : null ,
94+ manager : null ,
95+ about : null ,
96+ profilePicture : null ,
97+ holidaysRemaining : 25 ,
98+ startingHolidays : 25 ,
99+ dateOfBirth : null ,
100+ joinDate : null ,
101+ linkedIn : null ,
102+ assets : [ ] ,
103+ role : 'admin' ,
104+ updatedAt : '2025-12-29T17:19:00.709Z' ,
105+ createdAt : '2025-12-08T18:36:20.346Z' ,
106+ enableAPIKey : null ,
107+ apiKey : null
108+ } ] ,
109+ expandable : false ,
110+ initiallyExpanded : true ,
111+ } ,
112+ }
113+
87114/**
88115 * Single person organization (e.g., solo founder or CEO).
89116 * Demonstrates the component with minimal data.
Original file line number Diff line number Diff line change @@ -682,7 +682,7 @@ export interface Post {
682682 * via the `definition` "users".
683683 */
684684export interface User {
685- id : number ;
685+ id : string ;
686686 name ?: string | null ;
687687 email : string ;
688688 jobRole ?: ( 'C1' | 'C2' | 'C3' | 'SC1' | 'SC2' | 'M' | 'SM' | 'P' ) | null ;
You can’t perform that action at this time.
0 commit comments