wip: trpc
This commit is contained in:
parent
8980598085
commit
c651570e62
@ -572,8 +572,7 @@ import { defaultComposeConfiguration } from '../lib/docker';
|
||||
deploymentType,
|
||||
forceRebuild
|
||||
});
|
||||
}
|
||||
if (buildpacks[buildPack])
|
||||
} else if (buildpacks[buildPack])
|
||||
await buildpacks[buildPack]({
|
||||
dockerId: destinationDocker.id,
|
||||
network: destinationDocker.network,
|
||||
|
@ -76,7 +76,7 @@ export const applicationsRouter = router({
|
||||
} else {
|
||||
await prisma.application.deleteMany({ where: { id, teams: { some: { id: teamId } } } });
|
||||
}
|
||||
return {}
|
||||
return {};
|
||||
}),
|
||||
restartPreview: privateProcedure
|
||||
.input(
|
||||
@ -1321,8 +1321,8 @@ export const applicationsRouter = router({
|
||||
z.object({
|
||||
id: z.string(),
|
||||
forceRebuild: z.boolean().default(false),
|
||||
pullmergeRequestId: z.string().nullable(),
|
||||
branch: z.string().nullable()
|
||||
pullmergeRequestId: z.string().nullable().optional(),
|
||||
branch: z.string().nullable().optional()
|
||||
})
|
||||
)
|
||||
.mutation(async ({ ctx, input }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user