feat(editor): put current user in first on database user select (#13320)

This commit is contained in:
EYHN authored and GitHub committed 2025-07-27 07:53:17 +00:00
1 parent be55442f38
commit 9899fad000
4 files changed
+46 -9

No files matched your search

@@ -5,6 +5,7 @@ import type { Signal } from '@preact/signals-core';
import type { AffineUserInfo } from './types';
export interface UserService {
currentUserInfo$: Signal<AffineUserInfo | null>;
userInfo$(id: string): Signal<AffineUserInfo | null>;
isLoading$(id: string): Signal<boolean>;
error$(id: string): Signal<string | null>; // user friendly error string