dasdatmeespresso

This commit is contained in:
zk
2026-05-16 19:53:23 +00:00
parent 8a125634a8
commit acea12ec8a
73 changed files with 5248 additions and 2090 deletions
+1
View File
@@ -11,6 +11,7 @@ export { type default as InviteLockTable, type InviteLock, type NewInviteLock, t
export { type orphan_chart_id, type default as OrphanChartTable, type OrphanChart, type NewOrphanChart, type OrphanChartUpdate } from './public/OrphanChart';
export { type game_rival_game, type default as GameRivalTable, type GameRival, type NewGameRival, type GameRivalUpdate } from './public/GameRival';
export { type goal_id, type default as GoalTable, type Goal, type NewGoal, type GoalUpdate } from './public/Goal';
export { type quest_proposal_row_id, type default as QuestProposalTable, type QuestProposal, type NewQuestProposal, type QuestProposalUpdate } from './public/QuestProposal';
export { type import_quest_row_id, type default as ImportQuestTable, type ImportQuest, type NewImportQuest, type ImportQuestUpdate } from './public/ImportQuest';
export { type cron_task_execution_id, type default as CronTaskExecutionTable, type CronTaskExecution, type NewCronTaskExecution, type CronTaskExecutionUpdate } from './public/CronTaskExecution';
export { type notification_row_id, type default as NotificationTable, type Notification, type NewNotification, type NotificationUpdate } from './public/Notification';
@@ -48,6 +48,8 @@ export default interface AccountTable {
auth_level: ColumnType<AuthLevel, AuthLevel | undefined, AuthLevel>;
is_supporter: ColumnType<boolean, boolean | undefined, boolean>;
can_submit_quests: ColumnType<boolean, boolean | undefined, boolean>;
}
export type Account = Selectable<AccountTable>;
@@ -11,6 +11,7 @@ import type { default as InviteLockTable } from './InviteLock';
import type { default as OrphanChartTable } from './OrphanChart';
import type { default as GameRivalTable } from './GameRival';
import type { default as GoalTable } from './Goal';
import type { default as QuestProposalTable } from './QuestProposal';
import type { default as ImportQuestTable } from './ImportQuest';
import type { default as CronTaskExecutionTable } from './CronTaskExecution';
import type { default as NotificationTable } from './Notification';
@@ -89,6 +90,8 @@ export default interface PublicSchema {
goal: GoalTable;
quest_proposal: QuestProposalTable;
import_quest: ImportQuestTable;
cron_task_execution: CronTaskExecutionTable;
@@ -0,0 +1,35 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.quest_proposal */
export type quest_proposal_row_id = string;
/** Represents the table public.quest_proposal */
export default interface QuestProposalTable {
row_id: ColumnType<quest_proposal_row_id, quest_proposal_row_id | undefined, quest_proposal_row_id>;
user_id: ColumnType<account_id, account_id, account_id>;
github_pr_number: ColumnType<number, number, number>;
github_branch: ColumnType<string, string, string>;
raw_quests: ColumnType<unknown, unknown, unknown>;
raw_questlines: ColumnType<unknown, unknown | undefined, unknown>;
status: ColumnType<string, string | undefined, string>;
created_at: ColumnType<string, string | undefined, string>;
updated_at: ColumnType<string, string | undefined, string>;
}
export type QuestProposal = Selectable<QuestProposalTable>;
export type NewQuestProposal = Insertable<QuestProposalTable>;
export type QuestProposalUpdate = Updateable<QuestProposalTable>;