From c1e28224aa2e1450031669d9a7e359b63e04687d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 19:40:59 +0200 Subject: Init --- src/schemas/misc.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/schemas/misc.ts (limited to 'src/schemas/misc.ts') diff --git a/src/schemas/misc.ts b/src/schemas/misc.ts new file mode 100644 index 0000000..e86df72 --- /dev/null +++ b/src/schemas/misc.ts @@ -0,0 +1,16 @@ +import { type } from "arktype"; + +export const miscSchema = type.or( + { + type: "'home'", + title: "string", + description: "string", + }, + { + type: "'releases-index'", + title: "string", + description: "string", + }, +); + +export type Misc = typeof miscSchema.infer; -- cgit v1.3.1