feat: add Job Monitor page with cron job logging and Selenium queue status

This commit is contained in:
ff
2026-04-13 00:32:18 -04:00
parent 034c0fa993
commit 11a6d2e5a7
85 changed files with 3046 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema';
import { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema';
import { DateTimeNullableWithAggregatesFilterObjectSchema as DateTimeNullableWithAggregatesFilterObjectSchema } from './DateTimeNullableWithAggregatesFilter.schema';
import { IntNullableWithAggregatesFilterObjectSchema as IntNullableWithAggregatesFilterObjectSchema } from './IntNullableWithAggregatesFilter.schema';
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
const cronjoblogscalarwherewithaggregatesinputSchema = z.object({
AND: z.union([z.lazy(() => CronJobLogScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => CronJobLogScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
OR: z.lazy(() => CronJobLogScalarWhereWithAggregatesInputObjectSchema).array().optional(),
NOT: z.union([z.lazy(() => CronJobLogScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => CronJobLogScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
jobName: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
status: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
startedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
completedAt: z.union([z.lazy(() => DateTimeNullableWithAggregatesFilterObjectSchema), z.coerce.date()]).optional().nullable(),
durationMs: z.union([z.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(),
errorMessage: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
}).strict();
export const CronJobLogScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.CronJobLogScalarWhereWithAggregatesInput> = cronjoblogscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.CronJobLogScalarWhereWithAggregatesInput>;
export const CronJobLogScalarWhereWithAggregatesInputObjectZodSchema = cronjoblogscalarwherewithaggregatesinputSchema;