refactor: remove central validation export to improve typescript performance (#2810)
* refactor: remove central validation export to improve typescript performance * fix: missing package exports change in validation package * chore: address pull request feedback
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import { z } from "zod";
|
||||
|
||||
const findIconsSchema = z.object({
|
||||
export const iconsFindSchema = z.object({
|
||||
searchText: z.string().optional(),
|
||||
limitPerGroup: z.number().min(1).max(500).default(12),
|
||||
});
|
||||
|
||||
export const iconsSchemas = {
|
||||
findIcons: findIconsSchema,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user