| 4 | import type { USER_GROUP_ROLE } from '../constants/user' |
| 5 | |
| 6 | export interface Member { |
| 7 | id: number |
| 8 | name: string // user full name or group name |
| 9 | description: string // user email or group description |
| 10 | type: MEMBER_TYPE |
| 11 | login?: string // only for user |
| 12 | linkId?: number // only for link |
| 13 | linkSettings?: CreateOrUpdateLinkDto // only for link |
| 14 | permissions?: string |
| 15 | createdAt?: Date |
| 16 | modifiedAt?: Date |
| 17 | spaceRole?: SPACE_ROLE // only for user |
| 18 | groupRole?: USER_GROUP_ROLE // only for groups |
| 19 | counts?: { users?: number; groups?: number } // only for admin group members |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected