From 5beb238b6d5b6dbf1c8f8150b7985a825cf5a263 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Mon, 15 Dec 2025 22:32:51 +0000 Subject: [PATCH] fix: wrong path arktype schema use .array() to specify an array, not [] --- apps/drive-web/src/lib/path.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/drive-web/src/lib/path.ts b/apps/drive-web/src/lib/path.ts index 05c167f..9445453 100644 --- a/apps/drive-web/src/lib/path.ts +++ b/apps/drive-web/src/lib/path.ts @@ -6,5 +6,5 @@ export const PathSegment = type({ }) export type PathSegment = typeof PathSegment.infer -export const Path = type([PathSegment]) +export const Path = PathSegment.array() export type Path = typeof Path.infer