mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
eslint cleanup
This commit is contained in:
@@ -6,7 +6,7 @@ import { cleanDirectoryPath } from '@/helpers';
|
||||
export interface ServerFileStore {
|
||||
directory: string;
|
||||
contents: FileObject[];
|
||||
getDirectoryContents: Thunk<ServerFileStore, string, {}, ServerStore, Promise<void>>;
|
||||
getDirectoryContents: Thunk<ServerFileStore, string, Record<string, unknown>, ServerStore, Promise<void>>;
|
||||
setContents: Action<ServerFileStore, FileObject[]>;
|
||||
pushFile: Action<ServerFileStore, FileObject>;
|
||||
removeFile: Action<ServerFileStore, string>;
|
||||
|
||||
@@ -14,7 +14,7 @@ interface ServerDataStore {
|
||||
data?: Server;
|
||||
permissions: string[];
|
||||
|
||||
getServer: Thunk<ServerDataStore, string, {}, ServerStore, Promise<void>>;
|
||||
getServer: Thunk<ServerDataStore, string, Record<string, unknown>, ServerStore, Promise<void>>;
|
||||
setServer: Action<ServerDataStore, Server>;
|
||||
setPermissions: Action<ServerDataStore, string[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user