mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
implement cron page (#7)
This commit is contained in:
@@ -216,7 +216,6 @@ export interface ModelCronForm {
|
||||
command?: string;
|
||||
/** @default 0 */
|
||||
cover: number;
|
||||
id: number;
|
||||
/** @minLength 1 */
|
||||
name: string;
|
||||
notification_group_id: number;
|
||||
|
||||
10
src/types/cron.ts
Normal file
10
src/types/cron.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const cronTypes: Record<number, string> = {
|
||||
0: "Scheduled",
|
||||
1: "Trigger",
|
||||
}
|
||||
|
||||
export const cronCoverageTypes: Record<number, string> = {
|
||||
0: "Only specific servers",
|
||||
1: "All excludes specific servers",
|
||||
2: "The alarmed servers"
|
||||
}
|
||||
@@ -5,3 +5,4 @@ export * from './service';
|
||||
export * from './ddns';
|
||||
export * from './serverStore';
|
||||
export * from './serverContext';
|
||||
export * from './cron';
|
||||
|
||||
Reference in New Issue
Block a user