mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: add new form validator
This commit is contained in:
@@ -155,6 +155,11 @@ export const apiFindCompose = z.object({
|
|||||||
composeId: z.string().min(1),
|
composeId: z.string().min(1),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const apiDeleteCompose = z.object({
|
||||||
|
composeId: z.string().min(1),
|
||||||
|
deleteVolumes: z.boolean(),
|
||||||
|
});
|
||||||
|
|
||||||
export const apiFetchServices = z.object({
|
export const apiFetchServices = z.object({
|
||||||
composeId: z.string().min(1),
|
composeId: z.string().min(1),
|
||||||
type: z.enum(["fetch", "cache"]).optional().default("cache"),
|
type: z.enum(["fetch", "cache"]).optional().default("cache"),
|
||||||
|
|||||||
Reference in New Issue
Block a user