File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { AppConfigProvider } from 'src/app/services/app-config';
1515import { ConvertRequestToConversation } from 'src/chat21-core/utils/convertRequestToConversation' ;
1616import { compareValues , getUserStatusFromProjectUser } from 'src/chat21-core/utils/utils' ;
1717import { ProjectService } from 'src/app/services/projects/project.service' ;
18- import { ProjectUser } from 'src/chat21-core/models/project_user ' ;
18+ import { ProjectUser } from 'src/chat21-core/models/projectUsers ' ;
1919
2020@Component ( {
2121 selector : 'app-project-item' ,
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ import { BRAND_BASE_INFO } from 'src/app/utils/utils-resources';
1818import { getOSCode } from 'src/app/utils/utils' ;
1919import { getUserStatusFromProjectUser } from 'src/chat21-core/utils/utils' ;
2020import { ProjectService } from 'src/app/services/projects/project.service' ;
21- import { ProjectUser } from 'src/chat21-core/models/project_user' ;
21+ import { ProjectUser } from 'src/chat21-core/models/projectUsers' ;
22+
2223@Component ( {
2324 selector : 'app-sidebar-user-details' ,
2425 templateUrl : './sidebar-user-details.component.html' ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { LoggerInstance } from 'src/chat21-core/providers/logger/loggerInstance'
77import { AppConfigProvider } from '../app-config' ;
88import { Observable } from 'rxjs' ;
99import { AppStorageService } from 'src/chat21-core/providers/abstract/app-storage.service' ;
10- import { ProjectUser } from 'src/chat21-core/models/project_user ' ;
10+ import { ProjectUser } from 'src/chat21-core/models/projectUsers ' ;
1111
1212@Injectable ( {
1313 providedIn : 'root'
Original file line number Diff line number Diff line change 11export interface ProjectUser {
22 _id ?: string ;
3- updatedAt ?: any ;
4- createdAt ?: any ;
5- id_project ?: string ;
6- user_available ?: boolean ;
7- role ?: string ;
3+ id ?: string ;
4+ __v ?: any ;
5+ attributes ?: any ;
6+ createdAt ?: string | any ;
87 createdBy ?: string ;
9- is_group_member ?: boolean ;
10- // id_user?: string ;
8+ id_project ?: any ;
9+ id_user ?: any ;
1110 isAuthenticated ?: boolean ;
1211 isBusy ?: boolean ;
13- status ?: string ;
14- id_user ?: any ;
15- rolePermissions ?: string [ ] ;
12+ is_group_member ?: boolean ;
13+ last_login_at ?: string ;
14+ number_assigned_requests ?: number ;
15+ permissions ?: any ;
16+ presence ?: { [ key : string ] : string } | any ;
1617 profileStatus ?: string ;
17- presence ?: { [ key : string ] : string }
18- __v ?: any ;
18+ role ?: string ;
19+ roleType ?: number ;
20+ rolePermissions ?: string [ ] ;
21+ status ?: string ;
22+ tags ?: any ;
23+ trashed ?: boolean ;
24+ updatedAt ?: string | any ;
25+ user_available ?: boolean ;
26+ /** Derived in UI (e.g. from getUserStatusFromProjectUser) */
27+ teammateStatus ?: any ;
1928}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments