mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-23 18:11:37 +08:00
ci: lint and format codes
This commit is contained in:
@@ -29,10 +29,10 @@ watch(show, (val) => {
|
||||
}
|
||||
});
|
||||
|
||||
const showDeleteFileDialog = (type: 'disable' | 'delete') => {
|
||||
function showDeleteFileDialog(type: 'disable' | 'delete') {
|
||||
deleteFileDialog.show = true;
|
||||
deleteFileDialog.type = type;
|
||||
};
|
||||
}
|
||||
|
||||
const close = () => (show.value = false);
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script lang="ts" setup>
|
||||
import {
|
||||
Format,
|
||||
Me,
|
||||
Pause,
|
||||
PlayOne,
|
||||
Power,
|
||||
Refresh,
|
||||
Format,
|
||||
} from '@icon-park/vue-next';
|
||||
|
||||
const search = ref('');
|
||||
|
||||
@@ -5,7 +5,12 @@ import type { SettingItem } from '#/components';
|
||||
const { getSettingGroup } = useConfigStore();
|
||||
|
||||
const notification = getSettingGroup('notification');
|
||||
const notificationType: NotificationType = ['telegram', 'server-chan', 'bark', 'wecom'];
|
||||
const notificationType: NotificationType = [
|
||||
'telegram',
|
||||
'server-chan',
|
||||
'bark',
|
||||
'wecom',
|
||||
];
|
||||
|
||||
const items: SettingItem<Notification>[] = [
|
||||
{
|
||||
|
||||
@@ -12,11 +12,11 @@ export type ApiErrorMessage = AuthError | LoginError;
|
||||
*/
|
||||
export type StatusCode = 401 | 404 | 406 | 500;
|
||||
|
||||
export type ApiError = {
|
||||
export interface ApiError {
|
||||
status: StatusCode;
|
||||
detail: ApiErrorMessage;
|
||||
msg: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiSuccess {
|
||||
msg: string;
|
||||
|
||||
Reference in New Issue
Block a user