authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-24 09:57:16-08:00
committergravatar for jmarminge@gmail.comJulius Marminge <jmarminge@gmail.com> 2026-02-26 13:20:36-08:00
log319ac4590fa69a8ef53915d6833ae4ca59e14874
tree86ffe0fd3419a6cfa1483fc5763c7330b29afda9
parent36802d707df879e6f5d635f4ec3f89d50045ae20

allow nonempty


1 files changed, 2 insertions(+), 2 deletions(-)

apps/web/src/appSettings.ts+2-2
......@@ -4,10 +4,10 @@ import { Option, Schema } from "effect";
44const APP_SETTINGS_STORAGE_KEY = "t3code:app-settings:v1";
55
66const AppSettingsSchema = Schema.Struct({
7 codexBinaryPath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
7 codexBinaryPath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
88 Schema.withConstructorDefault(() => Option.some("")),
99 ),
10 codexHomePath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
10 codexHomePath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
1111 Schema.withConstructorDefault(() => Option.some("")),
1212 ),
1313 confirmThreadDelete: Schema.Boolean.pipe(Schema.withConstructorDefault(() => Option.some(true))),