refactor: admin settings (#23843)

This commit is contained in:
Daniel Dietzler
2025-11-13 19:17:44 +01:00
committed by GitHub
parent f73ca9d9c0
commit f1f203719d
65 changed files with 787 additions and 1036 deletions

View File

@@ -1,5 +1,11 @@
import type { ThemeSetting } from '$lib/managers/theme-manager.svelte';
import type { AlbumResponseDto, LoginResponseDto, SharedLinkResponseDto, UserAdminResponseDto } from '@immich/sdk';
import type {
AlbumResponseDto,
LoginResponseDto,
SharedLinkResponseDto,
SystemConfigDto,
UserAdminResponseDto,
} from '@immich/sdk';
export type Events = {
AppInit: [];
@@ -19,6 +25,8 @@ export type Events = {
UserAdminUpdate: [UserAdminResponseDto];
UserAdminDelete: [UserAdminResponseDto];
UserAdminRestore: [UserAdminResponseDto];
SystemConfigUpdate: [SystemConfigDto];
};
type Listener<EventMap extends Record<string, unknown[]>, K extends keyof EventMap> = (...params: EventMap[K]) => void;