feat: show custom templates in new board form

This commit is contained in:
Henry
2025-10-09 21:59:55 +01:00
parent a5757b206a
commit 8ba991a0d3
3 changed files with 28 additions and 1 deletions

View File

@@ -25,6 +25,23 @@ export const getAllByWorkspaceId = (
publicId: true,
name: true,
},
with: {
lists: {
columns: {
publicId: true,
name: true,
index: true,
},
orderBy: [asc(lists.index)],
},
labels: {
columns: {
publicId: true,
name: true,
colourCode: true,
},
},
},
where: and(
eq(boards.workspaceId, workspaceId),
isNull(boards.deletedAt),