allow nonempty

This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-26 13:20:36 -08:00
1 parent 36802d707d
commit 319ac4590f
1 file changed
+2 -2
+2 -2
View File
@@ -4,10 +4,10 @@ import { Option, Schema } from "effect";
const APP_SETTINGS_STORAGE_KEY = "t3code:app-settings:v1";
const AppSettingsSchema = Schema.Struct({
codexBinaryPath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
codexBinaryPath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
Schema.withConstructorDefault(() => Option.some("")),
),
codexHomePath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
codexHomePath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
Schema.withConstructorDefault(() => Option.some("")),
),
confirmThreadDelete: Schema.Boolean.pipe(Schema.withConstructorDefault(() => Option.some(true))),