all fixes for Project.creatorId and Organisation tables

This commit is contained in:
Oliver Bryan
2025-12-22 20:13:08 +00:00
parent 551a868be9
commit 4bf4f832b7
17 changed files with 176 additions and 96 deletions

View File

@@ -1,10 +1,14 @@
// Drizzle tables
export { User, Project, Issue } from "./schema";
export { User, Project, Issue, Organisation, OrganisationMember } from "./schema";
// Types
export type {
UserRecord,
UserInsert,
OrganisationRecord,
OrganisationInsert,
OrganisationMemberRecord,
OrganisationMemberInsert,
ProjectRecord,
ProjectInsert,
IssueRecord,
@@ -15,6 +19,10 @@ export type {
export {
UserSelectSchema,
UserInsertSchema,
OrganisationSelectSchema,
OrganisationInsertSchema,
OrganisationMemberSelectSchema,
OrganisationMemberInsertSchema,
ProjectSelectSchema,
ProjectInsertSchema,
IssueSelectSchema,
@@ -25,4 +33,4 @@ export {
export type {
IssueResponse,
ProjectResponse,
} from "./schema"
} from "./schema";

View File

@@ -108,5 +108,5 @@ export type IssueResponse = {
export type ProjectResponse = {
Project: ProjectRecord;
Organisation: OrganisationRecord;
Creator: UserRecord;
User: UserRecord;
};