diff --git a/src/components/service/base/Index.vue b/src/components/service/base/Index.vue index 37614c6..99e76ec 100644 --- a/src/components/service/base/Index.vue +++ b/src/components/service/base/Index.vue @@ -14,7 +14,7 @@ {{ title }} - + diff --git a/src/components/service/base/Status.vue b/src/components/service/base/Status.vue index 530c901..067f313 100644 --- a/src/components/service/base/Status.vue +++ b/src/components/service/base/Status.vue @@ -1,23 +1,29 @@ diff --git a/src/server/validations/service.ts b/src/server/validations/service.ts index 6af4363..d2e45f2 100644 --- a/src/server/validations/service.ts +++ b/src/server/validations/service.ts @@ -3,6 +3,7 @@ import { z } from 'zod' export const statusSchema = z.object({ enabled: z.boolean().optional(), interval: z.number().optional(), + animation: z.boolean().optional(), }) export const iconSchema = z.object({ diff --git a/src/types/services.d.ts b/src/types/services.d.ts index a266911..6faf601 100644 --- a/src/types/services.d.ts +++ b/src/types/services.d.ts @@ -3,6 +3,7 @@ import type { Tag } from '~/types/config' export interface ServiceStatus { enabled?: boolean interval?: number + animation?: boolean } export interface ServiceIcon {