chore: lint auto fixes

This commit is contained in:
Zack Spear
2023-10-30 11:45:41 -07:00
committed by Zack Spear
parent ca93ac7143
commit caab570be6
38 changed files with 362 additions and 304 deletions

View File

@@ -50,4 +50,4 @@ export const keyLatest = async (payload: KeyLatestPayload) => await KeyServer
export const getOsReleaseBySha256 = async (sha256: string): Release => await KeyServer
.url(`/versions/sha256/${sha256}`)
.get()
.json();
.json();

View File

@@ -68,14 +68,14 @@ export const WebguiUnraidApiCommand = async (payload: WebguiUnraidApiCommandPayl
export interface NotifyPostParameters {
cmd: 'init' | 'smtp-init' | 'cron-init' | 'add' | 'get' | 'hide' | 'archive';
csrf_token: string;
e?: string; // 'add' command option
s?: string; // 'add' command option
d?: string; // 'add' command option
i?: string; // 'add' command option
m?: string; // 'add' command option
x?: string; // 'add' command option
t?: string; // 'add' command option
file?: string; // 'hide' and 'archive' command option
e?: string; // 'add' command option
s?: string; // 'add' command option
d?: string; // 'add' command option
i?: string; // 'add' command option
m?: string; // 'add' command option
x?: string; // 'add' command option
t?: string; // 'add' command option
file?: string; // 'hide' and 'archive' command option
}
export const WebguiNotify = async (payload: NotifyPostParameters) => {
console.debug('[WebguiNotify] payload', payload);
@@ -91,4 +91,4 @@ export const WebguiNotify = async (payload: NotifyPostParameters) => {
console.error('[WebguiNotify] catch failed to execute Notify', error, payload);
return error;
}
}
};