This commit is contained in:
Matt Hill
2026-03-19 11:54:28 -06:00
parent 97b3b548c0
commit 8fbcf44dec
2 changed files with 6 additions and 3 deletions

View File

@@ -247,7 +247,10 @@ export type SmtpSelection =
* Zod schema for persisting SMTP selection in a store file model. * Zod schema for persisting SMTP selection in a store file model.
* Use this instead of `smtpInputSpec.validator` to avoid cross-zod-instance issues. * Use this instead of `smtpInputSpec.validator` to avoid cross-zod-instance issues.
*/ */
export const smtpShape: z.ZodType<SmtpSelection> = z export const smtpShape: {
parse(data: unknown): SmtpSelection
_output: SmtpSelection
} = z
.discriminatedUnion('selection', [ .discriminatedUnion('selection', [
z.object({ z.object({
selection: z.literal('disabled'), selection: z.literal('disabled'),

View File

@@ -1,12 +1,12 @@
{ {
"name": "@start9labs/start-sdk", "name": "@start9labs/start-sdk",
"version": "0.4.0-beta.61", "version": "0.4.0-beta.62",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@start9labs/start-sdk", "name": "@start9labs/start-sdk",
"version": "0.4.0-beta.61", "version": "0.4.0-beta.62",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@iarna/toml": "^3.0.0", "@iarna/toml": "^3.0.0",