From c3d2756f53e90a840a136f55ec661754b8720705 Mon Sep 17 00:00:00 2001 From: Jens Astrup Date: Tue, 4 Jun 2024 00:04:43 -0400 Subject: [PATCH] 268: Add MemberProfile to docs (#275) --- src/index.ts | 8 +++++--- src/members/contracts/member-profile.ts | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8054d52..24650c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,6 +50,7 @@ import ObjectiveInterface from '@sx/objectives/contracts/objective-interface' import LabelInterface from '@sx/labels/contracts/label-interface' import KeyResultInterface from '@sx/key-results/contracts/key-result-interface' import LinkedFileInterface from '@sx/linked-files/contracts/linked-file-interface' +import MemberProfile from '@sx/members/contracts/member-profile' // Utils @@ -71,6 +72,8 @@ export { LinkedFilesService, CustomFieldsService, UploadedFilesService, +} +export { IterationInterface, MemberInterface, StoryInterface, @@ -79,9 +82,8 @@ export { EpicInterface, ObjectiveInterface, LabelInterface, - KeyResultInterface -} -export { + KeyResultInterface, + MemberProfile, ThreadedCommentInterface, CreateThreadedCommentData, StoryCommentInterface, diff --git a/src/members/contracts/member-profile.ts b/src/members/contracts/member-profile.ts index 76c80dd..e795403 100644 --- a/src/members/contracts/member-profile.ts +++ b/src/members/contracts/member-profile.ts @@ -4,16 +4,17 @@ import Workspace from '@sx/workspace/contracts/workspace' interface MemberProfile extends BaseInterface { - deactivated: boolean, - displayIcon: string, - emailAddress: string, - gravatarHash: string, - id: UUID, - isOwner: boolean, - mentionName: string, - name: string, + deactivated: boolean + displayIcon: string + emailAddress: string + gravatarHash: string + id: UUID + isOwner: boolean + mentionName: string + name: string twoFactorAuthEnabled: boolean workspace: Workspace } -export {MemberProfile} +export { MemberProfile } +export default MemberProfile