14 lines
297 B
TypeScript
14 lines
297 B
TypeScript
import vine from '@vinejs/vine'
|
|
|
|
export const runBenchmarkValidator = vine.compile(
|
|
vine.object({
|
|
benchmark_type: vine.enum(['full', 'system', 'ai']).optional(),
|
|
})
|
|
)
|
|
|
|
export const submitBenchmarkValidator = vine.compile(
|
|
vine.object({
|
|
benchmark_id: vine.string().optional(),
|
|
})
|
|
)
|