blob: 69d6c6f0c9a9523c2c702472800835b20cd12bd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { type } from "arktype";
import { miscSchema } from "$/schemas/misc.ts";
import { releaseSchema } from "$/schemas/releases.ts";
export const pageDataSchema = type.or(releaseSchema, miscSchema);
export type PageData = typeof pageDataSchema.infer;
|