10 lines
250 B
TypeScript
10 lines
250 B
TypeScript
import {z} from 'zod'
|
|
|
|
import {ProductInputSchema} from '@/lib/validator'
|
|
|
|
export type IProductInput = z.infer<typeof ProductInputSchema>
|
|
|
|
export type ResourceMessages =
|
|
| {error: string; success?: undefined}
|
|
| {success: string; error?: undefined}
|