status colours

This commit is contained in:
Oliver Bryan
2026-01-10 21:49:26 +00:00
parent 1a8dc1a57e
commit 5db22961c5
20 changed files with 2033 additions and 62 deletions

View File

@@ -81,7 +81,12 @@ export async function getOrganisationsByUserId(userId: number) {
export async function updateOrganisation(
organisationId: number,
updates: { name?: string; description?: string; slug?: string; statuses?: string[] },
updates: {
name?: string;
description?: string;
slug?: string;
statuses?: Record<string, string>;
},
) {
const [organisation] = await db
.update(Organisation)