remix-toast
Advanced tools
Comparing version
@@ -8,2 +8,3 @@ import * as _remix_run_server_runtime from '@remix-run/server-runtime'; | ||
description: z.ZodOptional<z.ZodString>; | ||
duration: z.ZodOptional<z.ZodNumber>; | ||
type: z.ZodType<"info" | "success" | "error" | "warning", z.ZodTypeDef, "info" | "success" | "error" | "warning">; | ||
@@ -14,2 +15,3 @@ }, "strip", z.ZodTypeAny, { | ||
description?: string | undefined; | ||
duration?: number | undefined; | ||
}, { | ||
@@ -19,2 +21,3 @@ message: string; | ||
description?: string | undefined; | ||
duration?: number | undefined; | ||
}>; | ||
@@ -21,0 +24,0 @@ type ToastMessage = z.infer<typeof toastMessageSchema>; |
@@ -14,2 +14,3 @@ // src/index.ts | ||
description: z.string().optional(), | ||
duration: z.number().int().positive().optional(), | ||
type: z.custom() | ||
@@ -16,0 +17,0 @@ }); |
{ | ||
"name": "remix-toast", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Utility functions for server-side toast notifications", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -6,2 +6,3 @@ # Remix Toast | ||
 | ||
 | ||
 | ||
@@ -8,0 +9,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
473
1.07%314
0.32%45614
-0.05%