feat(avatar): improve multi-avatar management
This commit is contained in:
@@ -41,5 +41,10 @@ export function pickAvatarId(
|
||||
currentAvatarId: string | null | undefined,
|
||||
avatars?: AvatarPageRecord[]
|
||||
): string | null
|
||||
export function pickScopedAvatarId(
|
||||
routeAvatarId: string | string[] | null | undefined,
|
||||
currentAvatarId: string | null | undefined,
|
||||
avatars?: AvatarPageRecord[]
|
||||
): string | null
|
||||
export function normalizeAvatarEditForm(avatar?: AvatarPageRecord): AvatarEditForm
|
||||
export function buildAvatarUpdatePayload(form: AvatarEditForm): AvatarUpdatePayload
|
||||
|
||||
Reference in New Issue
Block a user