We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 147abe1 commit 2ee12aaCopy full SHA for 2ee12aa
src/routes/api/board/+server.ts
@@ -4,7 +4,7 @@ import { createBoardPreview } from "@/lib/board-preview.js";
4
import * as v from "valibot";
5
6
const BoardSchema = v.object({
7
- board: v.array(v.array(v.boolean())),
+ board: v.array(v.array(v.number())),
8
name: v.pipe(v.string(), v.minLength(1, "盤面名は必須です。")),
9
});
10
0 commit comments