mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 07:36:37 +08:00
perf: biome
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
@import 'tailwindcss';
|
@import "tailwindcss";
|
||||||
@import 'tw-animate-css';
|
@import "tw-animate-css";
|
||||||
@plugin "@tailwindcss/typography";
|
@plugin "@tailwindcss/typography";
|
||||||
|
|
||||||
@custom-variant dark (&:is(.dark *));
|
@custom-variant dark (&:is(.dark *));
|
||||||
@@ -7,10 +7,10 @@
|
|||||||
@theme inline {
|
@theme inline {
|
||||||
--color-background: var(--background);
|
--color-background: var(--background);
|
||||||
--color-foreground: var(--foreground);
|
--color-foreground: var(--foreground);
|
||||||
--font-sans: var(--font-inter), 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
--font-sans: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
|
||||||
--font-mono:
|
--font-mono:
|
||||||
var(--font-geist-mono), 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
|
var(--font-geist-mono), "SF Mono", "Monaco", "Inconsolata", "Roboto Mono",
|
||||||
'PingFang SC', 'Microsoft YaHei', monospace;
|
"PingFang SC", "Microsoft YaHei", monospace;
|
||||||
--color-sidebar-ring: var(--sidebar-ring);
|
--color-sidebar-ring: var(--sidebar-ring);
|
||||||
--color-sidebar-border: var(--sidebar-border);
|
--color-sidebar-border: var(--sidebar-border);
|
||||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||||
|
|||||||
@@ -177,7 +177,10 @@ export interface DispatchTaskRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type TaskExecutionStatus =
|
export type TaskExecutionStatus =
|
||||||
'pending' | 'running' | 'succeeded' | 'failed';
|
| 'pending'
|
||||||
|
| 'running'
|
||||||
|
| 'succeeded'
|
||||||
|
| 'failed';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 任务执行记录
|
* 任务执行记录
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ export class DbManageService extends BaseService {
|
|||||||
} as InternalAxiosRequestConfig);
|
} as InternalAxiosRequestConfig);
|
||||||
|
|
||||||
const disposition = response.headers['content-disposition'] as
|
const disposition = response.headers['content-disposition'] as
|
||||||
string | undefined;
|
| string
|
||||||
|
| undefined;
|
||||||
let filename = 'wavelet_export';
|
let filename = 'wavelet_export';
|
||||||
if (disposition) {
|
if (disposition) {
|
||||||
const match = disposition.match(/filename="?([^";]+)"?/);
|
const match = disposition.match(/filename="?([^";]+)"?/);
|
||||||
|
|||||||
Reference in New Issue
Block a user