From 319ac4590fa69a8ef53915d6833ae4ca59e14874 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 24 Feb 2026 09:57:16 -0800 Subject: [PATCH] allow nonempty --- apps/web/src/appSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/appSettings.ts b/apps/web/src/appSettings.ts index 046ca14383a25bf024ff0365890fcab35bb28465..def3272c953a7aa3719c41d836e35601b27b28bf 100644 --- a/apps/web/src/appSettings.ts +++ b/apps/web/src/appSettings.ts @@ -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))), -- 2.54.0