removed Routes, Introduced Single Route with Cecking

This commit is contained in:
2025-12-06 22:50:15 +01:00
parent dff2b05401
commit 0f3c8c862f
11 changed files with 1279 additions and 2094 deletions

View File

@@ -71,7 +71,7 @@ export const projects = pgTable("projects", {
updatedAt: timestamp("updated_at", { withTimezone: true }),
updatedBy: uuid("updated_by").references(() => authUsers.id),
activePhase: text("active_phase"),
active_phase: text("active_phase"),
})
export type Project = typeof projects.$inferSelect

View File

@@ -14,7 +14,7 @@ import { authUsers } from "./auth_users"
import { timesStateEnum } from "./enums"
import {sql} from "drizzle-orm";
export const staffTimeEntries = pgTable("staff_time_entries", {
export const stafftimeentries = pgTable("staff_time_entries", {
id: uuid("id").primaryKey().defaultRandom(),
tenantId: bigint("tenant_id", { mode: "number" })
@@ -64,5 +64,5 @@ export const staffTimeEntries = pgTable("staff_time_entries", {
sickReason: text("sick_reason"),
})
export type StaffTimeEntry = typeof staffTimeEntries.$inferSelect
export type NewStaffTimeEntry = typeof staffTimeEntries.$inferInsert
export type StaffTimeEntry = typeof stafftimeentries.$inferSelect
export type NewStaffTimeEntry = typeof stafftimeentries.$inferInsert