diff --git a/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.ts b/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.ts index 0ded962d..fa5b245d 100644 --- a/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.ts +++ b/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.ts @@ -22,6 +22,8 @@ import { SessionStorageService } from '@ucap-webmessenger/web-storage'; import { KEY_VER_INFO, VerInfo2 } from '@app/types/ver-info.type'; import { StatusCode } from '@ucap-webmessenger/core'; +import { PresenceType } from '../types/presence-type.type'; + @Component({ selector: 'ucap-profile-user-list-item', templateUrl: './user-list-item.component.html', @@ -118,12 +120,3 @@ export class UserListItemComponent implements OnInit, OnDestroy { this.contextMenu.emit({ event, userInfo }); } } - -export enum PresenceType { - PC = 'pc', - MOBILE = 'mobile', - CONFERENCE = 'conference', - MOBILE_CONFERENCE = 'mobileConference', - PHONE = 'phone', - IMESSENER = 'imessenger' -} diff --git a/projects/ucap-webmessenger-ui-profile/src/lib/types/presence-type.type.ts b/projects/ucap-webmessenger-ui-profile/src/lib/types/presence-type.type.ts new file mode 100644 index 00000000..c5095108 --- /dev/null +++ b/projects/ucap-webmessenger-ui-profile/src/lib/types/presence-type.type.ts @@ -0,0 +1,8 @@ +export enum PresenceType { + PC = 'pc', + MOBILE = 'mobile', + CONFERENCE = 'conference', + MOBILE_CONFERENCE = 'mobileConference', + PHONE = 'phone', + IMESSENER = 'imessenger' +} diff --git a/projects/ucap-webmessenger-ui-profile/src/public-api.ts b/projects/ucap-webmessenger-ui-profile/src/public-api.ts index 2f183b98..155f48c9 100644 --- a/projects/ucap-webmessenger-ui-profile/src/public-api.ts +++ b/projects/ucap-webmessenger-ui-profile/src/public-api.ts @@ -5,4 +5,6 @@ export * from './lib/components/list-item.component'; export * from './lib/components/user-list-item.component'; +export * from './lib/types/presence-type.type'; + export * from './lib/ucap-ui-profile.module';