mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +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.
|
* 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'),
|
||||||
|
|||||||
4
sdk/package/package-lock.json
generated
4
sdk/package/package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user