mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix
This commit is contained in:
@@ -247,7 +247,10 @@ export type SmtpSelection =
|
||||
* Zod schema for persisting SMTP selection in a store file model.
|
||||
* 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', [
|
||||
z.object({
|
||||
selection: z.literal('disabled'),
|
||||
|
||||
4
sdk/package/package-lock.json
generated
4
sdk/package/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@start9labs/start-sdk",
|
||||
"version": "0.4.0-beta.61",
|
||||
"version": "0.4.0-beta.62",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@start9labs/start-sdk",
|
||||
"version": "0.4.0-beta.61",
|
||||
"version": "0.4.0-beta.62",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^3.0.0",
|
||||
|
||||
Reference in New Issue
Block a user