mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-02 10:12:15 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -373,7 +373,11 @@ const createSchema = createInsertSchema(applications, {
|
|||||||
endpointSpecSwarm: EndpointSpecSwarmSchema.nullable(),
|
endpointSpecSwarm: EndpointSpecSwarmSchema.nullable(),
|
||||||
ulimitsSwarm: UlimitsSwarmSchema.nullable(),
|
ulimitsSwarm: UlimitsSwarmSchema.nullable(),
|
||||||
enableSubmodules: z.boolean().optional(),
|
enableSubmodules: z.boolean().optional(),
|
||||||
icon: z.string().max(2 * 1024 * 1024, "Icon must be less than 2MB").nullable().optional(),
|
icon: z
|
||||||
|
.string()
|
||||||
|
.max(2 * 1024 * 1024, "Icon must be less than 2MB")
|
||||||
|
.nullable()
|
||||||
|
.optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const apiCreateApplication = createSchema.pick({
|
export const apiCreateApplication = createSchema.pick({
|
||||||
|
|||||||
Reference in New Issue
Block a user