mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-10 22:15:16 +00:00
Merge pull request #4710 from elijahdev0/fix/add-source-type-to-create-apis
fix: add sourceType to apiCreateCompose and apiCreateApplication
This commit is contained in:
@@ -398,6 +398,7 @@ export const apiCreateApplication = createSchema.pick({
|
|||||||
description: true,
|
description: true,
|
||||||
environmentId: true,
|
environmentId: true,
|
||||||
serverId: true,
|
serverId: true,
|
||||||
|
sourceType: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const apiFindOneApplication = z.object({
|
export const apiFindOneApplication = z.object({
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ export const apiCreateCompose = createSchema.pick({
|
|||||||
appName: true,
|
appName: true,
|
||||||
serverId: true,
|
serverId: true,
|
||||||
composeFile: true,
|
composeFile: true,
|
||||||
|
sourceType: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const apiCreateComposeByTemplate = createSchema
|
export const apiCreateComposeByTemplate = createSchema
|
||||||
|
|||||||
Reference in New Issue
Block a user