fix: run just autofix (1)

This commit is contained in:
zk
2026-03-12 18:56:22 +00:00
parent e57a1f296e
commit 4e3a4f4d85
414 changed files with 1571 additions and 1961 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as PublicSchema } from "./public/PublicSchema";
import type { default as PublicSchema } from './public/PublicSchema';
type Database = PublicSchema;
+75 -459
View File
@@ -1,462 +1,78 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
export {
type priv_svc_cg_card_info_service,
type default as PrivSvcCgCardInfoTable,
type PrivSvcCgCardInfo,
type NewPrivSvcCgCardInfo,
type PrivSvcCgCardInfoUpdate,
} from "./public/PrivSvcCgCardInfo";
export {
type class_achievement_row_id,
type default as ClassAchievementTable,
type ClassAchievement,
type NewClassAchievement,
type ClassAchievementUpdate,
} from "./public/ClassAchievement";
export {
type account_id,
type default as AccountTable,
type Account,
type NewAccount,
type AccountUpdate,
} from "./public/Account";
export {
type import_tracker_import_id,
type default as ImportTrackerTable,
type ImportTracker,
type NewImportTracker,
type ImportTrackerUpdate,
} from "./public/ImportTracker";
export {
type default as SvcFerSettingsTable,
type SvcFerSettings,
type NewSvcFerSettings,
type SvcFerSettingsUpdate,
} from "./public/SvcFerSettings";
export {
type default as InviteLockTable,
type InviteLock,
type NewInviteLock,
type InviteLockUpdate,
} from "./public/InviteLock";
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 game_settings_game,
type default as GameSettingsTable,
type GameSettings,
type NewGameSettings,
type GameSettingsUpdate,
} from "./public/GameSettings";
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";
export {
type default as ImportLockTable,
type ImportLock,
type NewImportLock,
type ImportLockUpdate,
} from "./public/ImportLock";
export {
type score_blacklist_row_id,
type default as ScoreBlacklistTable,
type ScoreBlacklist,
type NewScoreBlacklist,
type ScoreBlacklistUpdate,
} from "./public/ScoreBlacklist";
export {
type default as TableFolderTable,
type TableFolder,
type NewTableFolder,
type TableFolderUpdate,
} from "./public/TableFolder";
export {
type game_stats_game,
type default as GameStatsTable,
type GameStats,
type NewGameStats,
type GameStatsUpdate,
} from "./public/GameStats";
export {
type priv_oauth2_auth_token_token,
type default as PrivOauth2AuthTokenTable,
type PrivOauth2AuthToken,
type NewPrivOauth2AuthToken,
type PrivOauth2AuthTokenUpdate,
} from "./public/PrivOauth2AuthToken";
export {
type import_session_row_id,
type default as ImportSessionTable,
type ImportSession,
type NewImportSession,
type ImportSessionUpdate,
} from "./public/ImportSession";
export {
type priv_svc_fer_card_card_id,
type default as PrivSvcFerCardTable,
type PrivSvcFerCard,
type NewPrivSvcFerCard,
type PrivSvcFerCardUpdate,
} from "./public/PrivSvcFerCard";
export {
type default as PbComposedFromTable,
type PbComposedFrom,
type NewPbComposedFrom,
type PbComposedFromUpdate,
} from "./public/PbComposedFrom";
export {
type bms_course_lookup_md5sums,
type default as BmsCourseLookupTable,
type BmsCourseLookup,
type NewBmsCourseLookup,
type BmsCourseLookupUpdate,
} from "./public/BmsCourseLookup";
export {
type song_search_term_search_term,
type default as SongSearchTermTable,
type SongSearchTerm,
type NewSongSearchTerm,
type SongSearchTermUpdate,
} from "./public/SongSearchTerm";
export {
type import_game_game,
type default as ImportGameTable,
type ImportGame,
type NewImportGame,
type ImportGameUpdate,
} from "./public/ImportGame";
export {
type import_goal_row_id,
type default as ImportGoalTable,
type ImportGoal,
type NewImportGoal,
type ImportGoalUpdate,
} from "./public/ImportGoal";
export {
type default as OrphanChartUserTable,
type OrphanChartUser,
type NewOrphanChartUser,
type OrphanChartUserUpdate,
} from "./public/OrphanChartUser";
export {
type priv_verify_email_token_token,
type default as PrivVerifyEmailTokenTable,
type PrivVerifyEmailToken,
type NewPrivVerifyEmailToken,
type PrivVerifyEmailTokenUpdate,
} from "./public/PrivVerifyEmailToken";
export {
type priv_invite_code,
type default as PrivInviteTable,
type PrivInvite,
type NewPrivInvite,
type PrivInviteUpdate,
} from "./public/PrivInvite";
export {
type session_id,
type default as SessionTable,
type Session,
type NewSession,
type SessionUpdate,
} from "./public/Session";
export {
type priv_password_reset_token_token,
type default as PrivPasswordResetTokenTable,
type PrivPasswordResetToken,
type NewPrivPasswordResetToken,
type PrivPasswordResetTokenUpdate,
} from "./public/PrivPasswordResetToken";
export {
type song_id,
type default as SongTable,
type Song,
type NewSong,
type SongUpdate,
} from "./public/Song";
export {
type account_username_change_row_id,
type default as AccountUsernameChangeTable,
type AccountUsernameChange,
type NewAccountUsernameChange,
type AccountUsernameChangeUpdate,
} from "./public/AccountUsernameChange";
export {
type default as MigrationTable,
type Migration,
type NewMigration,
type MigrationUpdate,
} from "./public/Migration";
export {
type account_badge_badge,
type default as AccountBadgeTable,
type AccountBadge,
type NewAccountBadge,
type AccountBadgeUpdate,
} from "./public/AccountBadge";
export {
type action_row_id,
type default as ActionTable,
type Action,
type NewAction,
type ActionUpdate,
} from "./public/Action";
export {
type priv_svc_kai_auth_token_service,
type default as PrivSvcKaiAuthTokenTable,
type PrivSvcKaiAuthToken,
type NewPrivSvcKaiAuthToken,
type PrivSvcKaiAuthTokenUpdate,
} from "./public/PrivSvcKaiAuthToken";
export {
type chart_id,
type default as ChartTable,
type Chart,
type NewChart,
type ChartUpdate,
} from "./public/Chart";
export {
type game_settings_showcase_game,
type default as GameSettingsShowcaseTable,
type GameSettingsShowcase,
type NewGameSettingsShowcase,
type GameSettingsShowcaseUpdate,
} from "./public/GameSettingsShowcase";
export {
type default as AccountFollowingTable,
type AccountFollowing,
type NewAccountFollowing,
type AccountFollowingUpdate,
} from "./public/AccountFollowing";
export {
type import_id,
type default as ImportTable,
type Import,
type NewImport,
type ImportUpdate,
} from "./public/Import";
export {
type folder_id,
type default as FolderTable,
type Folder,
type NewFolder,
type FolderUpdate,
} from "./public/Folder";
export {
type default as PrivAccountCredentialTable,
type PrivAccountCredential,
type NewPrivAccountCredential,
type PrivAccountCredentialUpdate,
} from "./public/PrivAccountCredential";
export {
type score_id,
type default as ScoreTable,
type Score,
type NewScore,
type ScoreUpdate,
} from "./public/Score";
export {
type default as ImportTimingTable,
type ImportTiming,
type NewImportTiming,
type ImportTimingUpdate,
} from "./public/ImportTiming";
export {
type default as QuestSubTable,
type QuestSub,
type NewQuestSub,
type QuestSubUpdate,
} from "./public/QuestSub";
export {
type orphan_score_row_id,
type default as OrphanScoreTable,
type OrphanScore,
type NewOrphanScore,
type OrphanScoreUpdate,
} from "./public/OrphanScore";
export {
type default as FolderViewTable,
type FolderView,
type NewFolderView,
type FolderViewUpdate,
} from "./public/FolderView";
export {
type table_id,
type default as TableTable,
type Table,
type NewTable,
type TableUpdate,
} from "./public/Table";
export {
type chart_version_version,
type default as ChartVersionTable,
type ChartVersion,
type NewChartVersion,
type ChartVersionUpdate,
} from "./public/ChartVersion";
export {
type default as GoalSubTable,
type GoalSub,
type NewGoalSub,
type GoalSubUpdate,
} from "./public/GoalSub";
export {
type folder_search_term_search_term,
type default as FolderSearchTermTable,
type FolderSearchTerm,
type NewFolderSearchTerm,
type FolderSearchTermUpdate,
} from "./public/FolderSearchTerm";
export {
type job_queue_row_id,
type default as JobQueueTable,
type JobQueue,
type NewJobQueue,
type JobQueueUpdate,
} from "./public/JobQueue";
export {
type priv_api_client_client_id,
type default as PrivApiClientTable,
type PrivApiClient,
type NewPrivApiClient,
type PrivApiClientUpdate,
} from "./public/PrivApiClient";
export {
type priv_api_token_token,
type default as PrivApiTokenTable,
type PrivApiToken,
type NewPrivApiToken,
type PrivApiTokenUpdate,
} from "./public/PrivApiToken";
export {
type default as SvcKshookSv6cSettingsTable,
type SvcKshookSv6cSettings,
type NewSvcKshookSv6cSettings,
type SvcKshookSv6cSettingsUpdate,
} from "./public/SvcKshookSv6cSettings";
export {
type import_error_row_id,
type default as ImportErrorTable,
type ImportError,
type NewImportError,
type ImportErrorUpdate,
} from "./public/ImportError";
export {
type quest_id,
type default as QuestTable,
type Quest,
type NewQuest,
type QuestUpdate,
} from "./public/Quest";
export {
type default as AccountSettingsTable,
type AccountSettings,
type NewAccountSettings,
type AccountSettingsUpdate,
} from "./public/AccountSettings";
export {
type pb_row_id,
type default as PbTable,
type Pb,
type NewPb,
type PbUpdate,
} from "./public/Pb";
export {
type priv_svc_myt_card_info_card_access_code,
type default as PrivSvcMytCardInfoTable,
type PrivSvcMytCardInfo,
type NewPrivSvcMytCardInfo,
type PrivSvcMytCardInfoUpdate,
} from "./public/PrivSvcMytCardInfo";
export {
type default as QuestlineQuestTable,
type QuestlineQuest,
type NewQuestlineQuest,
type QuestlineQuestUpdate,
} from "./public/QuestlineQuest";
export {
type questline_id,
type default as QuestlineTable,
type Questline,
type NewQuestline,
type QuestlineUpdate,
} from "./public/Questline";
export {
type cron_task_id,
type default as CronTaskTable,
type CronTask,
type NewCronTask,
type CronTaskUpdate,
} from "./public/CronTask";
export {
type import_class_row_id,
type default as ImportClassTable,
type ImportClass,
type NewImportClass,
type ImportClassUpdate,
} from "./public/ImportClass";
export {
type song_alt_title_alt_title,
type default as SongAltTitleTable,
type SongAltTitle,
type NewSongAltTitle,
type SongAltTitleUpdate,
} from "./public/SongAltTitle";
export {
type game_stats_snapshot_game,
type game_stats_snapshot_timestamp,
type default as GameStatsSnapshotTable,
type GameStatsSnapshot,
type NewGameStatsSnapshot,
type GameStatsSnapshotUpdate,
} from "./public/GameStatsSnapshot";
export {
type default as ChartLeaderboardTable,
type ChartLeaderboard,
} from "./public/ChartLeaderboard";
export { type default as AuthLevel } from "./public/AuthLevel";
export { type default as AccountBadgeKind } from "./public/AccountBadgeKind";
export { type default as Game } from "./public/Game";
export { type default as ActionResult } from "./public/ActionResult";
export { type default as GameGroup } from "./public/GameGroup";
export { type default as ImportType } from "./public/ImportType";
export { type default as PublicSchema } from "./public/PublicSchema";
export { type default as Database } from "./Database";
export { type priv_svc_cg_card_info_service, type default as PrivSvcCgCardInfoTable, type PrivSvcCgCardInfo, type NewPrivSvcCgCardInfo, type PrivSvcCgCardInfoUpdate } from './public/PrivSvcCgCardInfo';
export { type class_achievement_row_id, type default as ClassAchievementTable, type ClassAchievement, type NewClassAchievement, type ClassAchievementUpdate } from './public/ClassAchievement';
export { type account_id, type default as AccountTable, type Account, type NewAccount, type AccountUpdate } from './public/Account';
export { type import_tracker_import_id, type default as ImportTrackerTable, type ImportTracker, type NewImportTracker, type ImportTrackerUpdate } from './public/ImportTracker';
export { type default as SvcFerSettingsTable, type SvcFerSettings, type NewSvcFerSettings, type SvcFerSettingsUpdate } from './public/SvcFerSettings';
export { type default as InviteLockTable, type InviteLock, type NewInviteLock, type InviteLockUpdate } from './public/InviteLock';
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 game_settings_game, type default as GameSettingsTable, type GameSettings, type NewGameSettings, type GameSettingsUpdate } from './public/GameSettings';
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';
export { type default as ImportLockTable, type ImportLock, type NewImportLock, type ImportLockUpdate } from './public/ImportLock';
export { type score_blacklist_row_id, type default as ScoreBlacklistTable, type ScoreBlacklist, type NewScoreBlacklist, type ScoreBlacklistUpdate } from './public/ScoreBlacklist';
export { type default as TableFolderTable, type TableFolder, type NewTableFolder, type TableFolderUpdate } from './public/TableFolder';
export { type game_stats_game, type default as GameStatsTable, type GameStats, type NewGameStats, type GameStatsUpdate } from './public/GameStats';
export { type priv_oauth2_auth_token_token, type default as PrivOauth2AuthTokenTable, type PrivOauth2AuthToken, type NewPrivOauth2AuthToken, type PrivOauth2AuthTokenUpdate } from './public/PrivOauth2AuthToken';
export { type import_session_row_id, type default as ImportSessionTable, type ImportSession, type NewImportSession, type ImportSessionUpdate } from './public/ImportSession';
export { type priv_svc_fer_card_card_id, type default as PrivSvcFerCardTable, type PrivSvcFerCard, type NewPrivSvcFerCard, type PrivSvcFerCardUpdate } from './public/PrivSvcFerCard';
export { type default as PbComposedFromTable, type PbComposedFrom, type NewPbComposedFrom, type PbComposedFromUpdate } from './public/PbComposedFrom';
export { type bms_course_lookup_md5sums, type default as BmsCourseLookupTable, type BmsCourseLookup, type NewBmsCourseLookup, type BmsCourseLookupUpdate } from './public/BmsCourseLookup';
export { type song_search_term_search_term, type default as SongSearchTermTable, type SongSearchTerm, type NewSongSearchTerm, type SongSearchTermUpdate } from './public/SongSearchTerm';
export { type import_game_game, type default as ImportGameTable, type ImportGame, type NewImportGame, type ImportGameUpdate } from './public/ImportGame';
export { type import_goal_row_id, type default as ImportGoalTable, type ImportGoal, type NewImportGoal, type ImportGoalUpdate } from './public/ImportGoal';
export { type default as OrphanChartUserTable, type OrphanChartUser, type NewOrphanChartUser, type OrphanChartUserUpdate } from './public/OrphanChartUser';
export { type priv_verify_email_token_token, type default as PrivVerifyEmailTokenTable, type PrivVerifyEmailToken, type NewPrivVerifyEmailToken, type PrivVerifyEmailTokenUpdate } from './public/PrivVerifyEmailToken';
export { type priv_invite_code, type default as PrivInviteTable, type PrivInvite, type NewPrivInvite, type PrivInviteUpdate } from './public/PrivInvite';
export { type session_id, type default as SessionTable, type Session, type NewSession, type SessionUpdate } from './public/Session';
export { type priv_password_reset_token_token, type default as PrivPasswordResetTokenTable, type PrivPasswordResetToken, type NewPrivPasswordResetToken, type PrivPasswordResetTokenUpdate } from './public/PrivPasswordResetToken';
export { type song_id, type default as SongTable, type Song, type NewSong, type SongUpdate } from './public/Song';
export { type account_username_change_row_id, type default as AccountUsernameChangeTable, type AccountUsernameChange, type NewAccountUsernameChange, type AccountUsernameChangeUpdate } from './public/AccountUsernameChange';
export { type default as MigrationTable, type Migration, type NewMigration, type MigrationUpdate } from './public/Migration';
export { type account_badge_badge, type default as AccountBadgeTable, type AccountBadge, type NewAccountBadge, type AccountBadgeUpdate } from './public/AccountBadge';
export { type action_row_id, type default as ActionTable, type Action, type NewAction, type ActionUpdate } from './public/Action';
export { type priv_svc_kai_auth_token_service, type default as PrivSvcKaiAuthTokenTable, type PrivSvcKaiAuthToken, type NewPrivSvcKaiAuthToken, type PrivSvcKaiAuthTokenUpdate } from './public/PrivSvcKaiAuthToken';
export { type chart_id, type default as ChartTable, type Chart, type NewChart, type ChartUpdate } from './public/Chart';
export { type game_settings_showcase_game, type default as GameSettingsShowcaseTable, type GameSettingsShowcase, type NewGameSettingsShowcase, type GameSettingsShowcaseUpdate } from './public/GameSettingsShowcase';
export { type default as AccountFollowingTable, type AccountFollowing, type NewAccountFollowing, type AccountFollowingUpdate } from './public/AccountFollowing';
export { type import_id, type default as ImportTable, type Import, type NewImport, type ImportUpdate } from './public/Import';
export { type folder_id, type default as FolderTable, type Folder, type NewFolder, type FolderUpdate } from './public/Folder';
export { type default as PrivAccountCredentialTable, type PrivAccountCredential, type NewPrivAccountCredential, type PrivAccountCredentialUpdate } from './public/PrivAccountCredential';
export { type score_id, type default as ScoreTable, type Score, type NewScore, type ScoreUpdate } from './public/Score';
export { type default as ImportTimingTable, type ImportTiming, type NewImportTiming, type ImportTimingUpdate } from './public/ImportTiming';
export { type default as QuestSubTable, type QuestSub, type NewQuestSub, type QuestSubUpdate } from './public/QuestSub';
export { type orphan_score_row_id, type default as OrphanScoreTable, type OrphanScore, type NewOrphanScore, type OrphanScoreUpdate } from './public/OrphanScore';
export { type default as FolderViewTable, type FolderView, type NewFolderView, type FolderViewUpdate } from './public/FolderView';
export { type table_id, type default as TableTable, type Table, type NewTable, type TableUpdate } from './public/Table';
export { type chart_version_version, type default as ChartVersionTable, type ChartVersion, type NewChartVersion, type ChartVersionUpdate } from './public/ChartVersion';
export { type default as GoalSubTable, type GoalSub, type NewGoalSub, type GoalSubUpdate } from './public/GoalSub';
export { type folder_search_term_search_term, type default as FolderSearchTermTable, type FolderSearchTerm, type NewFolderSearchTerm, type FolderSearchTermUpdate } from './public/FolderSearchTerm';
export { type job_queue_row_id, type default as JobQueueTable, type JobQueue, type NewJobQueue, type JobQueueUpdate } from './public/JobQueue';
export { type priv_api_client_client_id, type default as PrivApiClientTable, type PrivApiClient, type NewPrivApiClient, type PrivApiClientUpdate } from './public/PrivApiClient';
export { type priv_api_token_token, type default as PrivApiTokenTable, type PrivApiToken, type NewPrivApiToken, type PrivApiTokenUpdate } from './public/PrivApiToken';
export { type default as SvcKshookSv6cSettingsTable, type SvcKshookSv6cSettings, type NewSvcKshookSv6cSettings, type SvcKshookSv6cSettingsUpdate } from './public/SvcKshookSv6cSettings';
export { type import_error_row_id, type default as ImportErrorTable, type ImportError, type NewImportError, type ImportErrorUpdate } from './public/ImportError';
export { type quest_id, type default as QuestTable, type Quest, type NewQuest, type QuestUpdate } from './public/Quest';
export { type default as AccountSettingsTable, type AccountSettings, type NewAccountSettings, type AccountSettingsUpdate } from './public/AccountSettings';
export { type pb_row_id, type default as PbTable, type Pb, type NewPb, type PbUpdate } from './public/Pb';
export { type priv_svc_myt_card_info_card_access_code, type default as PrivSvcMytCardInfoTable, type PrivSvcMytCardInfo, type NewPrivSvcMytCardInfo, type PrivSvcMytCardInfoUpdate } from './public/PrivSvcMytCardInfo';
export { type default as QuestlineQuestTable, type QuestlineQuest, type NewQuestlineQuest, type QuestlineQuestUpdate } from './public/QuestlineQuest';
export { type questline_id, type default as QuestlineTable, type Questline, type NewQuestline, type QuestlineUpdate } from './public/Questline';
export { type cron_task_id, type default as CronTaskTable, type CronTask, type NewCronTask, type CronTaskUpdate } from './public/CronTask';
export { type import_class_row_id, type default as ImportClassTable, type ImportClass, type NewImportClass, type ImportClassUpdate } from './public/ImportClass';
export { type song_alt_title_alt_title, type default as SongAltTitleTable, type SongAltTitle, type NewSongAltTitle, type SongAltTitleUpdate } from './public/SongAltTitle';
export { type game_stats_snapshot_game, type game_stats_snapshot_timestamp, type default as GameStatsSnapshotTable, type GameStatsSnapshot, type NewGameStatsSnapshot, type GameStatsSnapshotUpdate } from './public/GameStatsSnapshot';
export { type default as ChartLeaderboardTable, type ChartLeaderboard } from './public/ChartLeaderboard';
export { type default as AuthLevel } from './public/AuthLevel';
export { type default as AccountBadgeKind } from './public/AccountBadgeKind';
export { type default as Game } from './public/Game';
export { type default as ActionResult } from './public/ActionResult';
export { type default as GameGroup } from './public/GameGroup';
export { type default as ImportType } from './public/ImportType';
export { type default as PublicSchema } from './public/PublicSchema';
export { type default as Database } from './Database';
+18 -18
View File
@@ -1,45 +1,45 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as AuthLevel } from "./AuthLevel";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as AuthLevel } from './AuthLevel';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.account */
export type account_id = number;
/** Represents the table public.account */
export default interface AccountTable {
id: ColumnType<account_id, account_id | undefined, account_id>;
id: ColumnType<account_id, account_id | undefined, account_id>;
username: ColumnType<string, string, string>;
username: ColumnType<string, string, string>;
normalized_username: ColumnType<string, never, never>;
normalized_username: ColumnType<string, never, never>;
sm_discord: ColumnType<string | null, string | null, string | null>;
sm_discord: ColumnType<string | null, string | null, string | null>;
sm_twitter: ColumnType<string | null, string | null, string | null>;
sm_twitter: ColumnType<string | null, string | null, string | null>;
sm_github: ColumnType<string | null, string | null, string | null>;
sm_github: ColumnType<string | null, string | null, string | null>;
sm_steam: ColumnType<string | null, string | null, string | null>;
sm_steam: ColumnType<string | null, string | null, string | null>;
sm_youtube: ColumnType<string | null, string | null, string | null>;
sm_youtube: ColumnType<string | null, string | null, string | null>;
sm_twitch: ColumnType<string | null, string | null, string | null>;
sm_twitch: ColumnType<string | null, string | null, string | null>;
joined: ColumnType<string, string | undefined, string>;
joined: ColumnType<string, string | undefined, string>;
about: ColumnType<string | null, string | null, string | null>;
about: ColumnType<string | null, string | null, string | null>;
status: ColumnType<string | null, string | null, string | null>;
status: ColumnType<string | null, string | null, string | null>;
custom_pfp_location: ColumnType<string | null, string | null, string | null>;
custom_pfp_location: ColumnType<string | null, string | null, string | null>;
custom_banner_location: ColumnType<string | null, string | null, string | null>;
custom_banner_location: ColumnType<string | null, string | null, string | null>;
last_seen: ColumnType<string, string | undefined, string>;
last_seen: ColumnType<string, string | undefined, string>;
auth_level: ColumnType<AuthLevel, AuthLevel | undefined, AuthLevel>;
auth_level: ColumnType<AuthLevel, AuthLevel | undefined, AuthLevel>;
}
export type Account = Selectable<AccountTable>;
@@ -1,18 +1,18 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as AccountBadgeKind } from "./AccountBadgeKind";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as AccountBadgeKind } from './AccountBadgeKind';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.account_badge */
export type account_badge_badge = AccountBadgeKind;
/** Represents the table public.account_badge */
export default interface AccountBadgeTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
badge: ColumnType<account_badge_badge, account_badge_badge, account_badge_badge>;
badge: ColumnType<account_badge_badge, account_badge_badge, account_badge_badge>;
}
export type AccountBadge = Selectable<AccountBadgeTable>;
@@ -2,6 +2,9 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.account_badge_kind */
type AccountBadgeKind = "beta" | "alpha" | "dev-team";
type AccountBadgeKind =
| 'beta'
| 'alpha'
| 'dev-team';
export default AccountBadgeKind;
@@ -1,14 +1,14 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.account_following */
export default interface AccountFollowingTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
followee: ColumnType<account_id, account_id, account_id>;
followee: ColumnType<account_id, account_id, account_id>;
}
export type AccountFollowing = Selectable<AccountFollowingTable>;
@@ -1,22 +1,22 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.account_settings */
export default interface AccountSettingsTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
pf_invisible: ColumnType<boolean, boolean, boolean>;
pf_invisible: ColumnType<boolean, boolean, boolean>;
pf_developer_mode: ColumnType<boolean, boolean, boolean>;
pf_developer_mode: ColumnType<boolean, boolean, boolean>;
pf_advanced_mode: ColumnType<boolean, boolean, boolean>;
pf_advanced_mode: ColumnType<boolean, boolean, boolean>;
pf_contentious_content: ColumnType<boolean, boolean, boolean>;
pf_contentious_content: ColumnType<boolean, boolean, boolean>;
pf_deletable_scores: ColumnType<boolean, boolean, boolean>;
pf_deletable_scores: ColumnType<boolean, boolean, boolean>;
}
export type AccountSettings = Selectable<AccountSettingsTable>;
@@ -1,27 +1,23 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.account_username_change */
export type account_username_change_row_id = string;
/** Represents the table public.account_username_change */
export default interface AccountUsernameChangeTable {
row_id: ColumnType<
account_username_change_row_id,
account_username_change_row_id | undefined,
account_username_change_row_id
>;
row_id: ColumnType<account_username_change_row_id, account_username_change_row_id | undefined, account_username_change_row_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
username: ColumnType<string, string, string>;
username: ColumnType<string, string, string>;
previous_username: ColumnType<string, string, string>;
previous_username: ColumnType<string, string, string>;
timestamp: ColumnType<string, string, string>;
timestamp: ColumnType<string, string, string>;
}
export type AccountUsernameChange = Selectable<AccountUsernameChangeTable>;
+12 -12
View File
@@ -1,32 +1,32 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { default as ActionResult } from "./ActionResult";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { default as ActionResult } from './ActionResult';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.action */
export type action_row_id = string;
/** Represents the table public.action */
export default interface ActionTable {
row_id: ColumnType<action_row_id, action_row_id | undefined, action_row_id>;
row_id: ColumnType<action_row_id, action_row_id | undefined, action_row_id>;
user_id: ColumnType<account_id, account_id | undefined, account_id>;
user_id: ColumnType<account_id, account_id | undefined, account_id>;
ip: ColumnType<string, string, string>;
ip: ColumnType<string, string, string>;
kind: ColumnType<string, string, string>;
kind: ColumnType<string, string, string>;
result: ColumnType<ActionResult, ActionResult, ActionResult>;
result: ColumnType<ActionResult, ActionResult, ActionResult>;
input: ColumnType<unknown, unknown, unknown>;
input: ColumnType<unknown, unknown, unknown>;
output: ColumnType<unknown | null, unknown | null, unknown | null>;
output: ColumnType<unknown | null, unknown | null, unknown | null>;
ts_start: ColumnType<string, string, string>;
ts_start: ColumnType<string, string, string>;
ts_end: ColumnType<string, string, string>;
ts_end: ColumnType<string, string, string>;
}
export type Action = Selectable<ActionTable>;
@@ -2,6 +2,9 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.action_result */
type ActionResult = "GOOD" | "BAD" | "THROW";
type ActionResult =
| 'GOOD'
| 'BAD'
| 'THROW';
export default ActionResult;
@@ -2,6 +2,9 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.auth_level */
type AuthLevel = "banned" | "user" | "admin";
type AuthLevel =
| 'banned'
| 'user'
| 'admin';
export default AuthLevel;
@@ -1,26 +1,22 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.bms_course_lookup */
export type bms_course_lookup_md5sums = string;
/** Represents the table public.bms_course_lookup */
export default interface BmsCourseLookupTable {
md5sums: ColumnType<
bms_course_lookup_md5sums,
bms_course_lookup_md5sums,
bms_course_lookup_md5sums
>;
md5sums: ColumnType<bms_course_lookup_md5sums, bms_course_lookup_md5sums, bms_course_lookup_md5sums>;
title: ColumnType<string, string, string>;
title: ColumnType<string, string, string>;
set: ColumnType<string, string, string>;
set: ColumnType<string, string, string>;
playtype: ColumnType<string, string, string>;
playtype: ColumnType<string, string, string>;
value: ColumnType<string, string, string>;
value: ColumnType<string, string, string>;
}
export type BmsCourseLookup = Selectable<BmsCourseLookupTable>;
+12 -12
View File
@@ -1,32 +1,32 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { song_id } from "./Song";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { song_id } from './Song';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.chart */
export type chart_id = string;
/** Represents the table public.chart */
export default interface ChartTable {
id: ColumnType<chart_id, chart_id, chart_id>;
id: ColumnType<chart_id, chart_id, chart_id>;
legacy_id: ColumnType<string, string, string>;
legacy_id: ColumnType<string, string, string>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
song_id: ColumnType<song_id, song_id, song_id>;
song_id: ColumnType<song_id, song_id, song_id>;
level: ColumnType<string, string, string>;
level: ColumnType<string, string, string>;
level_num: ColumnType<number, number, number>;
level_num: ColumnType<number, number, number>;
is_primary: ColumnType<boolean, boolean, boolean>;
is_primary: ColumnType<boolean, boolean, boolean>;
difficulty: ColumnType<string, string, string>;
difficulty: ColumnType<string, string, string>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
}
export type Chart = Selectable<ChartTable>;
@@ -1,44 +1,44 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { pb_row_id } from "./Pb";
import type { account_id } from "./Account";
import type { chart_id } from "./Chart";
import type { ColumnType, Selectable } from "kysely";
import type { pb_row_id } from './Pb';
import type { account_id } from './Account';
import type { chart_id } from './Chart';
import type { ColumnType, Selectable } from 'kysely';
/** Represents the view public.chart_leaderboard */
export default interface ChartLeaderboardTable {
row_id: ColumnType<pb_row_id, never, never>;
row_id: ColumnType<pb_row_id, never, never>;
user_id: ColumnType<account_id, never, never>;
user_id: ColumnType<account_id, never, never>;
chart_id: ColumnType<chart_id, never, never>;
chart_id: ColumnType<chart_id, never, never>;
lens: ColumnType<string | null, never, never>;
lens: ColumnType<string | null, never, never>;
data: ColumnType<unknown, never, never>;
data: ColumnType<unknown, never, never>;
derived_data: ColumnType<unknown, never, never>;
derived_data: ColumnType<unknown, never, never>;
calculated_data: ColumnType<unknown, never, never>;
calculated_data: ColumnType<unknown, never, never>;
ranking_value: ColumnType<number, never, never>;
ranking_value: ColumnType<number, never, never>;
ranking_value_tb1: ColumnType<number | null, never, never>;
ranking_value_tb1: ColumnType<number | null, never, never>;
ranking_value_tb2: ColumnType<number | null, never, never>;
ranking_value_tb2: ColumnType<number | null, never, never>;
ranking_value_tb3: ColumnType<number | null, never, never>;
ranking_value_tb3: ColumnType<number | null, never, never>;
ranking_value_tb4: ColumnType<number | null, never, never>;
ranking_value_tb4: ColumnType<number | null, never, never>;
ranking_value_tb5: ColumnType<number | null, never, never>;
ranking_value_tb5: ColumnType<number | null, never, never>;
highlight: ColumnType<boolean, never, never>;
highlight: ColumnType<boolean, never, never>;
time_achieved: ColumnType<string | null, never, never>;
time_achieved: ColumnType<string | null, never, never>;
rank: ColumnType<number, never, never>;
rank: ColumnType<number, never, never>;
}
export type ChartLeaderboard = Selectable<ChartLeaderboardTable>;
@@ -1,17 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { chart_id } from "./Chart";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { chart_id } from './Chart';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.chart_version */
export type chart_version_version = string;
/** Represents the table public.chart_version */
export default interface ChartVersionTable {
chart_id: ColumnType<chart_id, chart_id, chart_id>;
chart_id: ColumnType<chart_id, chart_id, chart_id>;
version: ColumnType<chart_version_version, chart_version_version, chart_version_version>;
version: ColumnType<chart_version_version, chart_version_version, chart_version_version>;
}
export type ChartVersion = Selectable<ChartVersionTable>;
@@ -1,32 +1,28 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.class_achievement */
export type class_achievement_row_id = string;
/** Represents the table public.class_achievement */
export default interface ClassAchievementTable {
row_id: ColumnType<
class_achievement_row_id,
class_achievement_row_id | undefined,
class_achievement_row_id
>;
row_id: ColumnType<class_achievement_row_id, class_achievement_row_id | undefined, class_achievement_row_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
class_set: ColumnType<string, string, string>;
class_set: ColumnType<string, string, string>;
class_prev_value: ColumnType<string, string, string>;
class_prev_value: ColumnType<string, string, string>;
class_value: ColumnType<string, string, string>;
class_value: ColumnType<string, string, string>;
timestamp: ColumnType<string, string, string>;
timestamp: ColumnType<string, string, string>;
}
export type ClassAchievement = Selectable<ClassAchievementTable>;
@@ -1,24 +1,24 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.cron_task */
export type cron_task_id = string;
/** Represents the table public.cron_task */
export default interface CronTaskTable {
id: ColumnType<cron_task_id, cron_task_id, cron_task_id>;
id: ColumnType<cron_task_id, cron_task_id, cron_task_id>;
schedule: ColumnType<string, string, string>;
schedule: ColumnType<string, string, string>;
description: ColumnType<string | null, string | null, string | null>;
description: ColumnType<string | null, string | null, string | null>;
created_at: ColumnType<string, string | undefined, string>;
created_at: ColumnType<string, string | undefined, string>;
updated_at: ColumnType<string, string | undefined, string>;
updated_at: ColumnType<string, string | undefined, string>;
last_scheduled_at: ColumnType<string | null, string | null, string | null>;
last_scheduled_at: ColumnType<string | null, string | null, string | null>;
}
export type CronTask = Selectable<CronTaskTable>;
@@ -1,32 +1,28 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.cron_task_execution */
export type cron_task_execution_id = number;
/** Represents the table public.cron_task_execution */
export default interface CronTaskExecutionTable {
id: ColumnType<
cron_task_execution_id,
cron_task_execution_id | undefined,
cron_task_execution_id
>;
id: ColumnType<cron_task_execution_id, cron_task_execution_id | undefined, cron_task_execution_id>;
task_id: ColumnType<string, string, string>;
task_id: ColumnType<string, string, string>;
scheduled_at: ColumnType<string, string, string>;
scheduled_at: ColumnType<string, string, string>;
started_at: ColumnType<string, string | undefined, string>;
started_at: ColumnType<string, string | undefined, string>;
completed_at: ColumnType<string | null, string | null, string | null>;
completed_at: ColumnType<string | null, string | null, string | null>;
status: ColumnType<string, string, string>;
status: ColumnType<string, string, string>;
output: ColumnType<string | null, string | null, string | null>;
output: ColumnType<string | null, string | null, string | null>;
error: ColumnType<string | null, string | null, string | null>;
error: ColumnType<string | null, string | null, string | null>;
}
export type CronTaskExecution = Selectable<CronTaskExecutionTable>;
+9 -9
View File
@@ -1,27 +1,27 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.folder */
export type folder_id = string;
/** Represents the table public.folder */
export default interface FolderTable {
id: ColumnType<folder_id, folder_id, folder_id>;
id: ColumnType<folder_id, folder_id, folder_id>;
legacy_id: ColumnType<string, string, string>;
legacy_id: ColumnType<string, string, string>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
inactive: ColumnType<boolean, boolean, boolean>;
inactive: ColumnType<boolean, boolean, boolean>;
title: ColumnType<string, string, string>;
title: ColumnType<string, string, string>;
slug: ColumnType<string | null, string | null, string | null>;
slug: ColumnType<string | null, string | null, string | null>;
query: ColumnType<string, string, string>;
query: ColumnType<string, string, string>;
}
export type Folder = Selectable<FolderTable>;
@@ -1,21 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { folder_id } from "./Folder";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { folder_id } from './Folder';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.folder_search_term */
export type folder_search_term_search_term = string;
/** Represents the table public.folder_search_term */
export default interface FolderSearchTermTable {
id: ColumnType<folder_id, folder_id, folder_id>;
id: ColumnType<folder_id, folder_id, folder_id>;
search_term: ColumnType<
folder_search_term_search_term,
folder_search_term_search_term,
folder_search_term_search_term
>;
search_term: ColumnType<folder_search_term_search_term, folder_search_term_search_term, folder_search_term_search_term>;
}
export type FolderSearchTerm = Selectable<FolderSearchTermTable>;
@@ -1,17 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { folder_id } from "./Folder";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { folder_id } from './Folder';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.folder_view */
export default interface FolderViewTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
folder_id: ColumnType<folder_id, folder_id, folder_id>;
folder_id: ColumnType<folder_id, folder_id, folder_id>;
last_viewed: ColumnType<string, string, string>;
last_viewed: ColumnType<string, string, string>;
}
export type FolderView = Selectable<FolderViewTable>;
+24 -24
View File
@@ -2,29 +2,29 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.game */
type Game =
| "iidx-sp"
| "iidx-dp"
| "museca"
| "sdvx"
| "bms-14k"
| "bms-7k"
| "gitadora-dora"
| "gitadora-gita"
| "chunithm"
| "wacca"
| "jubeat"
| "popn"
| "maimai"
| "maimaidx"
| "pms-controller"
| "pms-keyboard"
| "usc-controller"
| "usc-keyboard"
| "itg-stamina"
| "arcaea"
| "ongeki"
| "ddr-sp"
| "ddr-dp";
type Game =
| 'iidx-sp'
| 'iidx-dp'
| 'museca'
| 'sdvx'
| 'bms-14k'
| 'bms-7k'
| 'gitadora-dora'
| 'gitadora-gita'
| 'chunithm'
| 'wacca'
| 'jubeat'
| 'popn'
| 'maimai'
| 'maimaidx'
| 'pms-controller'
| 'pms-keyboard'
| 'usc-controller'
| 'usc-keyboard'
| 'itg-stamina'
| 'arcaea'
| 'ongeki'
| 'ddr-sp'
| 'ddr-dp';
export default Game;
+18 -18
View File
@@ -2,23 +2,23 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.game_group */
type GameGroup =
| "iidx"
| "museca"
| "chunithm"
| "bms"
| "gitadora"
| "jubeat"
| "maimai"
| "maimaidx"
| "popn"
| "sdvx"
| "usc"
| "wacca"
| "pms"
| "itg"
| "arcaea"
| "ongeki"
| "ddr";
type GameGroup =
| 'iidx'
| 'museca'
| 'chunithm'
| 'bms'
| 'gitadora'
| 'jubeat'
| 'maimai'
| 'maimaidx'
| 'popn'
| 'sdvx'
| 'usc'
| 'wacca'
| 'pms'
| 'itg'
| 'arcaea'
| 'ongeki'
| 'ddr';
export default GameGroup;
@@ -1,20 +1,20 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.game_rival */
export type game_rival_game = Game;
/** Represents the table public.game_rival */
export default interface GameRivalTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<game_rival_game, game_rival_game, game_rival_game>;
game: ColumnType<game_rival_game, game_rival_game, game_rival_game>;
rival: ColumnType<account_id, account_id, account_id>;
rival: ColumnType<account_id, account_id, account_id>;
}
export type GameRival = Selectable<GameRivalTable>;
@@ -1,32 +1,32 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.game_settings */
export type game_settings_game = Game;
/** Represents the table public.game_settings */
export default interface GameSettingsTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<game_settings_game, game_settings_game, game_settings_game>;
game: ColumnType<game_settings_game, game_settings_game, game_settings_game>;
pf_preferred_score_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_score_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_session_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_session_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_profile_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_profile_alg: ColumnType<string | null, string | null, string | null>;
pf_preferred_default_enum: ColumnType<string | null, string | null, string | null>;
pf_preferred_default_enum: ColumnType<string | null, string | null, string | null>;
pf_default_table: ColumnType<string | null, string | null, string | null>;
pf_default_table: ColumnType<string | null, string | null, string | null>;
pf_preferred_ranking: ColumnType<string | null, string | null, string | null>;
pf_preferred_ranking: ColumnType<string | null, string | null, string | null>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
}
export type GameSettings = Selectable<GameSettingsTable>;
@@ -1,24 +1,20 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.game_settings_showcase */
export type game_settings_showcase_game = Game;
/** Represents the table public.game_settings_showcase */
export default interface GameSettingsShowcaseTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<
game_settings_showcase_game,
game_settings_showcase_game,
game_settings_showcase_game
>;
game: ColumnType<game_settings_showcase_game, game_settings_showcase_game, game_settings_showcase_game>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
}
export type GameSettingsShowcase = Selectable<GameSettingsShowcaseTable>;
@@ -1,22 +1,22 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.game_stats */
export type game_stats_game = Game;
/** Represents the table public.game_stats */
export default interface GameStatsTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<game_stats_game, game_stats_game, game_stats_game>;
game: ColumnType<game_stats_game, game_stats_game, game_stats_game>;
ratings: ColumnType<unknown, unknown, unknown>;
ratings: ColumnType<unknown, unknown, unknown>;
classes: ColumnType<unknown, unknown, unknown>;
classes: ColumnType<unknown, unknown, unknown>;
}
export type GameStats = Selectable<GameStatsTable>;
@@ -1,9 +1,9 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.game_stats_snapshot */
export type game_stats_snapshot_game = Game;
@@ -13,23 +13,19 @@ export type game_stats_snapshot_timestamp = string;
/** Represents the table public.game_stats_snapshot */
export default interface GameStatsSnapshotTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<game_stats_snapshot_game, game_stats_snapshot_game, game_stats_snapshot_game>;
game: ColumnType<game_stats_snapshot_game, game_stats_snapshot_game, game_stats_snapshot_game>;
timestamp: ColumnType<
game_stats_snapshot_timestamp,
game_stats_snapshot_timestamp,
game_stats_snapshot_timestamp
>;
timestamp: ColumnType<game_stats_snapshot_timestamp, game_stats_snapshot_timestamp, game_stats_snapshot_timestamp>;
playcount: ColumnType<number, number, number>;
playcount: ColumnType<number, number, number>;
ratings: ColumnType<unknown, unknown, unknown>;
ratings: ColumnType<unknown, unknown, unknown>;
classes: ColumnType<unknown, unknown, unknown>;
classes: ColumnType<unknown, unknown, unknown>;
rankings: ColumnType<unknown, unknown, unknown>;
rankings: ColumnType<unknown, unknown, unknown>;
}
export type GameStatsSnapshot = Selectable<GameStatsSnapshotTable>;
+7 -7
View File
@@ -1,23 +1,23 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.goal */
export type goal_id = string;
/** Represents the table public.goal */
export default interface GoalTable {
id: ColumnType<goal_id, goal_id, goal_id>;
id: ColumnType<goal_id, goal_id, goal_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
name: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
charts: ColumnType<unknown, unknown, unknown>;
charts: ColumnType<unknown, unknown, unknown>;
criteria: ColumnType<unknown, unknown, unknown>;
criteria: ColumnType<unknown, unknown, unknown>;
}
export type Goal = Selectable<GoalTable>;
+14 -14
View File
@@ -1,33 +1,33 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { goal_id } from "./Goal";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { goal_id } from './Goal';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.goal_sub */
export default interface GoalSubTable {
goal_id: ColumnType<goal_id, goal_id, goal_id>;
goal_id: ColumnType<goal_id, goal_id, goal_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
last_interaction: ColumnType<string | null, string | null, string | null>;
last_interaction: ColumnType<string | null, string | null, string | null>;
progress: ColumnType<number | null, number | null, number | null>;
progress: ColumnType<number | null, number | null, number | null>;
progress_human: ColumnType<string, string, string>;
progress_human: ColumnType<string, string, string>;
out_of: ColumnType<number, number, number>;
out_of: ColumnType<number, number, number>;
out_of_human: ColumnType<string, string, string>;
out_of_human: ColumnType<string, string, string>;
achieved: ColumnType<boolean, boolean, boolean>;
achieved: ColumnType<boolean, boolean, boolean>;
time_achieved: ColumnType<string | null, string | null, string | null>;
time_achieved: ColumnType<string | null, string | null, string | null>;
was_instantly_achieved: ColumnType<boolean, boolean, boolean>;
was_instantly_achieved: ColumnType<boolean, boolean, boolean>;
was_assigned_standalone: ColumnType<boolean, boolean, boolean>;
was_assigned_standalone: ColumnType<boolean, boolean, boolean>;
}
export type GoalSub = Selectable<GoalSubTable>;
+12 -12
View File
@@ -1,31 +1,31 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { default as GameGroup } from "./GameGroup";
import type { default as ImportType } from "./ImportType";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { default as GameGroup } from './GameGroup';
import type { default as ImportType } from './ImportType';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import */
export type import_id = string;
/** Represents the table public.import */
export default interface ImportTable {
id: ColumnType<import_id, import_id, import_id>;
id: ColumnType<import_id, import_id, import_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
time_started: ColumnType<string, string, string>;
time_started: ColumnType<string, string, string>;
time_finished: ColumnType<string, string, string>;
time_finished: ColumnType<string, string, string>;
game_group: ColumnType<GameGroup, GameGroup, GameGroup>;
game_group: ColumnType<GameGroup, GameGroup, GameGroup>;
import_type: ColumnType<ImportType, ImportType, ImportType>;
import_type: ColumnType<ImportType, ImportType, ImportType>;
user_intent: ColumnType<boolean, boolean, boolean>;
user_intent: ColumnType<boolean, boolean, boolean>;
service: ColumnType<string, string, string>;
service: ColumnType<string, string, string>;
}
export type Import = Selectable<ImportTable>;
@@ -1,26 +1,26 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_class */
export type import_class_row_id = string;
/** Represents the table public.import_class */
export default interface ImportClassTable {
row_id: ColumnType<import_class_row_id, import_class_row_id | undefined, import_class_row_id>;
row_id: ColumnType<import_class_row_id, import_class_row_id | undefined, import_class_row_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
set: ColumnType<string, string, string>;
set: ColumnType<string, string, string>;
prev: ColumnType<string | null, string | null, string | null>;
prev: ColumnType<string | null, string | null, string | null>;
"new": ColumnType<string, string, string>;
'new': ColumnType<string, string, string>;
}
export type ImportClass = Selectable<ImportClassTable>;
@@ -1,21 +1,21 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_error */
export type import_error_row_id = string;
/** Represents the table public.import_error */
export default interface ImportErrorTable {
row_id: ColumnType<import_error_row_id, import_error_row_id | undefined, import_error_row_id>;
row_id: ColumnType<import_error_row_id, import_error_row_id | undefined, import_error_row_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
type: ColumnType<string, string, string>;
type: ColumnType<string, string, string>;
message: ColumnType<string, string, string>;
message: ColumnType<string, string, string>;
}
export type ImportError = Selectable<ImportErrorTable>;
@@ -1,18 +1,18 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { import_id } from "./Import";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { import_id } from './Import';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_game */
export type import_game_game = Game;
/** Represents the table public.import_game */
export default interface ImportGameTable {
id: ColumnType<import_id, import_id, import_id>;
id: ColumnType<import_id, import_id, import_id>;
game: ColumnType<import_game_game, import_game_game, import_game_game>;
game: ColumnType<import_game_game, import_game_game, import_game_game>;
}
export type ImportGame = Selectable<ImportGameTable>;
@@ -1,40 +1,40 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { goal_id } from "./Goal";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { goal_id } from './Goal';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_goal */
export type import_goal_row_id = string;
/** Represents the table public.import_goal */
export default interface ImportGoalTable {
row_id: ColumnType<import_goal_row_id, import_goal_row_id | undefined, import_goal_row_id>;
row_id: ColumnType<import_goal_row_id, import_goal_row_id | undefined, import_goal_row_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
goal_id: ColumnType<goal_id, goal_id, goal_id>;
goal_id: ColumnType<goal_id, goal_id, goal_id>;
prev_achieved: ColumnType<boolean, boolean, boolean>;
prev_achieved: ColumnType<boolean, boolean, boolean>;
prev_out_of: ColumnType<number, number, number>;
prev_out_of: ColumnType<number, number, number>;
prev_out_of_human: ColumnType<string, string, string>;
prev_out_of_human: ColumnType<string, string, string>;
prev_progress: ColumnType<number | null, number | null, number | null>;
prev_progress: ColumnType<number | null, number | null, number | null>;
prev_progress_human: ColumnType<string, string, string>;
prev_progress_human: ColumnType<string, string, string>;
new_achieved: ColumnType<boolean, boolean, boolean>;
new_achieved: ColumnType<boolean, boolean, boolean>;
new_out_of: ColumnType<number, number, number>;
new_out_of: ColumnType<number, number, number>;
new_out_of_human: ColumnType<string, string, string>;
new_out_of_human: ColumnType<string, string, string>;
new_progress: ColumnType<number | null, number | null, number | null>;
new_progress: ColumnType<number | null, number | null, number | null>;
new_progress_human: ColumnType<string, string, string>;
new_progress_human: ColumnType<string, string, string>;
}
export type ImportGoal = Selectable<ImportGoalTable>;
@@ -1,16 +1,16 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.import_lock */
export default interface ImportLockTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
locked: ColumnType<boolean, boolean, boolean>;
locked: ColumnType<boolean, boolean, boolean>;
locked_at: ColumnType<string | null, string | null, string | null>;
locked_at: ColumnType<string | null, string | null, string | null>;
}
export type ImportLock = Selectable<ImportLockTable>;
@@ -1,28 +1,28 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { quest_id } from "./Quest";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { quest_id } from './Quest';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_quest */
export type import_quest_row_id = string;
/** Represents the table public.import_quest */
export default interface ImportQuestTable {
row_id: ColumnType<import_quest_row_id, import_quest_row_id | undefined, import_quest_row_id>;
row_id: ColumnType<import_quest_row_id, import_quest_row_id | undefined, import_quest_row_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
quest_id: ColumnType<quest_id, quest_id, quest_id>;
quest_id: ColumnType<quest_id, quest_id, quest_id>;
prev_achieved: ColumnType<boolean, boolean, boolean>;
prev_achieved: ColumnType<boolean, boolean, boolean>;
prev_progress: ColumnType<number, number, number>;
prev_progress: ColumnType<number, number, number>;
new_achieved: ColumnType<boolean, boolean, boolean>;
new_achieved: ColumnType<boolean, boolean, boolean>;
new_progress: ColumnType<number, number, number>;
new_progress: ColumnType<number, number, number>;
}
export type ImportQuest = Selectable<ImportQuestTable>;
@@ -1,26 +1,22 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { session_id } from "./Session";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { session_id } from './Session';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_session */
export type import_session_row_id = string;
/** Represents the table public.import_session */
export default interface ImportSessionTable {
row_id: ColumnType<
import_session_row_id,
import_session_row_id | undefined,
import_session_row_id
>;
row_id: ColumnType<import_session_row_id, import_session_row_id | undefined, import_session_row_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
session_id: ColumnType<session_id, session_id, session_id>;
session_id: ColumnType<session_id, session_id, session_id>;
type: ColumnType<string, string, string>;
type: ColumnType<string, string, string>;
}
export type ImportSession = Selectable<ImportSessionTable>;
@@ -1,40 +1,40 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { import_id } from "./Import";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { import_id } from './Import';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.import_timing */
export default interface ImportTimingTable {
id: ColumnType<import_id, import_id, import_id>;
id: ColumnType<import_id, import_id, import_id>;
timestamp: ColumnType<string, string, string>;
timestamp: ColumnType<string, string, string>;
import_secs_avg: ColumnType<number, number, number>;
import_secs_avg: ColumnType<number, number, number>;
import_parse_secs_avg: ColumnType<number, number, number>;
import_parse_secs_avg: ColumnType<number, number, number>;
pb_secs_avg: ColumnType<number, number, number>;
pb_secs_avg: ColumnType<number, number, number>;
session_secs_avg: ColumnType<number, number, number>;
session_secs_avg: ColumnType<number, number, number>;
parse_secs: ColumnType<number, number, number>;
parse_secs: ColumnType<number, number, number>;
import_secs: ColumnType<number, number, number>;
import_secs: ColumnType<number, number, number>;
import_parse_secs: ColumnType<number, number, number>;
import_parse_secs: ColumnType<number, number, number>;
session_secs: ColumnType<number, number, number>;
session_secs: ColumnType<number, number, number>;
pb_secs: ColumnType<number, number, number>;
pb_secs: ColumnType<number, number, number>;
ugs_secs: ColumnType<number, number, number>;
ugs_secs: ColumnType<number, number, number>;
goal_secs: ColumnType<number, number, number>;
goal_secs: ColumnType<number, number, number>;
quest_secs: ColumnType<number, number, number>;
quest_secs: ColumnType<number, number, number>;
total_secs: ColumnType<number, number, number>;
total_secs: ColumnType<number, number, number>;
}
export type ImportTiming = Selectable<ImportTimingTable>;
@@ -1,30 +1,26 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { default as ImportType } from "./ImportType";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { default as ImportType } from './ImportType';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.import_tracker */
export type import_tracker_import_id = string;
/** Represents the table public.import_tracker */
export default interface ImportTrackerTable {
import_id: ColumnType<
import_tracker_import_id,
import_tracker_import_id,
import_tracker_import_id
>;
import_id: ColumnType<import_tracker_import_id, import_tracker_import_id, import_tracker_import_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
import_type: ColumnType<ImportType, ImportType, ImportType>;
import_type: ColumnType<ImportType, ImportType, ImportType>;
user_intent: ColumnType<boolean, boolean, boolean>;
user_intent: ColumnType<boolean, boolean, boolean>;
time_started: ColumnType<string, string, string>;
time_started: ColumnType<string, string, string>;
error: ColumnType<unknown | null, unknown | null, unknown | null>;
error: ColumnType<unknown | null, unknown | null, unknown | null>;
}
export type ImportTracker = Selectable<ImportTrackerTable>;
@@ -2,46 +2,46 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.import_type */
type ImportType =
| "file/batch-manual"
| "file/eamusement-iidx-csv"
| "file/eamusement-sdvx-csv"
| "file/mypagescraper-player-csv"
| "file/mypagescraper-records-csv"
| "file/pli-iidx-csv"
| "file/solid-state-squad"
| "api/arc-iidx"
| "api/arc-sdvx"
| "api/mer-iidx"
| "api/eag-iidx"
| "api/eag-sdvx"
| "api/flo-iidx"
| "api/flo-sdvx"
| "api/min-sdvx"
| "api/myt-chunithm"
| "api/myt-maimaidx"
| "api/myt-ongeki"
| "api/myt-wacca"
| "api/cg-dev-jubeat"
| "api/cg-dev-museca"
| "api/cg-dev-popn"
| "api/cg-dev-sdvx"
| "api/cg-gan-jubeat"
| "api/cg-gan-museca"
| "api/cg-gan-popn"
| "api/cg-gan-sdvx"
| "api/cg-nag-jubeat"
| "api/cg-nag-museca"
| "api/cg-nag-popn"
| "api/cg-nag-sdvx"
| "ir/barbatos"
| "ir/beatoraja"
| "ir/direct-manual"
| "ir/fervidex-static"
| "ir/fervidex"
| "ir/kshook-sv6c-static"
| "ir/kshook-sv6c"
| "ir/lr2hook"
| "ir/usc";
type ImportType =
| 'file/batch-manual'
| 'file/eamusement-iidx-csv'
| 'file/eamusement-sdvx-csv'
| 'file/mypagescraper-player-csv'
| 'file/mypagescraper-records-csv'
| 'file/pli-iidx-csv'
| 'file/solid-state-squad'
| 'api/arc-iidx'
| 'api/arc-sdvx'
| 'api/mer-iidx'
| 'api/eag-iidx'
| 'api/eag-sdvx'
| 'api/flo-iidx'
| 'api/flo-sdvx'
| 'api/min-sdvx'
| 'api/myt-chunithm'
| 'api/myt-maimaidx'
| 'api/myt-ongeki'
| 'api/myt-wacca'
| 'api/cg-dev-jubeat'
| 'api/cg-dev-museca'
| 'api/cg-dev-popn'
| 'api/cg-dev-sdvx'
| 'api/cg-gan-jubeat'
| 'api/cg-gan-museca'
| 'api/cg-gan-popn'
| 'api/cg-gan-sdvx'
| 'api/cg-nag-jubeat'
| 'api/cg-nag-museca'
| 'api/cg-nag-popn'
| 'api/cg-nag-sdvx'
| 'ir/barbatos'
| 'ir/beatoraja'
| 'ir/direct-manual'
| 'ir/fervidex-static'
| 'ir/fervidex'
| 'ir/kshook-sv6c-static'
| 'ir/kshook-sv6c'
| 'ir/lr2hook'
| 'ir/usc';
export default ImportType;
@@ -1,16 +1,16 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.invite_lock */
export default interface InviteLockTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
locked: ColumnType<boolean, boolean, boolean>;
locked: ColumnType<boolean, boolean, boolean>;
locked_at: ColumnType<string | null, string | null, string | null>;
locked_at: ColumnType<string | null, string | null, string | null>;
}
export type InviteLock = Selectable<InviteLockTable>;
+10 -10
View File
@@ -1,30 +1,30 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.job_queue */
export type job_queue_row_id = string;
/** Represents the table public.job_queue */
export default interface JobQueueTable {
row_id: ColumnType<job_queue_row_id, job_queue_row_id | undefined, job_queue_row_id>;
row_id: ColumnType<job_queue_row_id, job_queue_row_id | undefined, job_queue_row_id>;
created_at: ColumnType<string, string | undefined, string>;
created_at: ColumnType<string, string | undefined, string>;
updated_at: ColumnType<string, string | undefined, string>;
updated_at: ColumnType<string, string | undefined, string>;
scheduled_for: ColumnType<string, string, string>;
scheduled_for: ColumnType<string, string, string>;
failed_attempts: ColumnType<number, number | undefined, number>;
failed_attempts: ColumnType<number, number | undefined, number>;
status: ColumnType<number, number, number>;
status: ColumnType<number, number, number>;
scope: ColumnType<string, string, string>;
scope: ColumnType<string, string, string>;
job_kind: ColumnType<string, string, string>;
job_kind: ColumnType<string, string, string>;
payload: ColumnType<unknown, unknown, unknown>;
payload: ColumnType<unknown, unknown, unknown>;
}
export type JobQueue = Selectable<JobQueueTable>;
@@ -1,21 +1,21 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public._migration */
export default interface MigrationTable {
version: ColumnType<number, number, number>;
version: ColumnType<number, number, number>;
description: ColumnType<string, string, string>;
description: ColumnType<string, string, string>;
installed_on: ColumnType<string, string | undefined, string>;
installed_on: ColumnType<string, string | undefined, string>;
success: ColumnType<boolean, boolean, boolean>;
success: ColumnType<boolean, boolean, boolean>;
checksum: ColumnType<string, string, string>;
checksum: ColumnType<string, string, string>;
execution_time: ColumnType<number, number, number>;
execution_time: ColumnType<number, number, number>;
}
export type Migration = Selectable<MigrationTable>;
@@ -1,27 +1,27 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.notification */
export type notification_row_id = string;
/** Represents the table public.notification */
export default interface NotificationTable {
row_id: ColumnType<notification_row_id, notification_row_id | undefined, notification_row_id>;
row_id: ColumnType<notification_row_id, notification_row_id | undefined, notification_row_id>;
title: ColumnType<string, string, string>;
title: ColumnType<string, string, string>;
sent_to: ColumnType<account_id, account_id, account_id>;
sent_to: ColumnType<account_id, account_id, account_id>;
sent_at: ColumnType<string, string, string>;
sent_at: ColumnType<string, string, string>;
read: ColumnType<boolean, boolean, boolean>;
read: ColumnType<boolean, boolean, boolean>;
kind: ColumnType<string, string, string>;
kind: ColumnType<string, string, string>;
payload: ColumnType<unknown, unknown, unknown>;
payload: ColumnType<unknown, unknown, unknown>;
}
export type Notification = Selectable<NotificationTable>;
@@ -1,21 +1,21 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.orphan_chart */
export type orphan_chart_id = string;
/** Represents the table public.orphan_chart */
export default interface OrphanChartTable {
id: ColumnType<orphan_chart_id, orphan_chart_id, orphan_chart_id>;
id: ColumnType<orphan_chart_id, orphan_chart_id, orphan_chart_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
chart_doc: ColumnType<unknown, unknown, unknown>;
chart_doc: ColumnType<unknown, unknown, unknown>;
song_doc: ColumnType<unknown, unknown, unknown>;
song_doc: ColumnType<unknown, unknown, unknown>;
}
export type OrphanChart = Selectable<OrphanChartTable>;
@@ -1,15 +1,15 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { orphan_chart_id } from "./OrphanChart";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { orphan_chart_id } from './OrphanChart';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.orphan_chart_user */
export default interface OrphanChartUserTable {
orphan_chart_id: ColumnType<orphan_chart_id, orphan_chart_id, orphan_chart_id>;
orphan_chart_id: ColumnType<orphan_chart_id, orphan_chart_id, orphan_chart_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
}
export type OrphanChartUser = Selectable<OrphanChartUserTable>;
@@ -1,28 +1,28 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { import_id } from "./Import";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { import_id } from './Import';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.orphan_score */
export type orphan_score_row_id = string;
/** Represents the table public.orphan_score */
export default interface OrphanScoreTable {
row_id: ColumnType<orphan_score_row_id, orphan_score_row_id | undefined, orphan_score_row_id>;
row_id: ColumnType<orphan_score_row_id, orphan_score_row_id | undefined, orphan_score_row_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
import_id: ColumnType<import_id, import_id, import_id>;
import_id: ColumnType<import_id, import_id, import_id>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
context: ColumnType<unknown, unknown, unknown>;
context: ColumnType<unknown, unknown, unknown>;
time_inserted: ColumnType<string, string, string>;
time_inserted: ColumnType<string, string, string>;
error_message: ColumnType<string, string, string>;
error_message: ColumnType<string, string, string>;
}
export type OrphanScore = Selectable<OrphanScoreTable>;
+18 -18
View File
@@ -1,44 +1,44 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { chart_id } from "./Chart";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { chart_id } from './Chart';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.pb */
export type pb_row_id = string;
/** Represents the table public.pb */
export default interface PbTable {
row_id: ColumnType<pb_row_id, pb_row_id | undefined, pb_row_id>;
row_id: ColumnType<pb_row_id, pb_row_id | undefined, pb_row_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
chart_id: ColumnType<chart_id, chart_id, chart_id>;
chart_id: ColumnType<chart_id, chart_id, chart_id>;
lens: ColumnType<string | null, string | null, string | null>;
lens: ColumnType<string | null, string | null, string | null>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
derived_data: ColumnType<unknown, unknown, unknown>;
derived_data: ColumnType<unknown, unknown, unknown>;
calculated_data: ColumnType<unknown, unknown, unknown>;
calculated_data: ColumnType<unknown, unknown, unknown>;
ranking_value: ColumnType<number, number, number>;
ranking_value: ColumnType<number, number, number>;
ranking_value_tb1: ColumnType<number | null, number | null, number | null>;
ranking_value_tb1: ColumnType<number | null, number | null, number | null>;
ranking_value_tb2: ColumnType<number | null, number | null, number | null>;
ranking_value_tb2: ColumnType<number | null, number | null, number | null>;
ranking_value_tb3: ColumnType<number | null, number | null, number | null>;
ranking_value_tb3: ColumnType<number | null, number | null, number | null>;
ranking_value_tb4: ColumnType<number | null, number | null, number | null>;
ranking_value_tb4: ColumnType<number | null, number | null, number | null>;
ranking_value_tb5: ColumnType<number | null, number | null, number | null>;
ranking_value_tb5: ColumnType<number | null, number | null, number | null>;
highlight: ColumnType<boolean, boolean, boolean>;
highlight: ColumnType<boolean, boolean, boolean>;
time_achieved: ColumnType<string | null, string | null, string | null>;
time_achieved: ColumnType<string | null, string | null, string | null>;
}
export type Pb = Selectable<PbTable>;
@@ -1,15 +1,15 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { pb_row_id } from "./Pb";
import type { score_id } from "./Score";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { pb_row_id } from './Pb';
import type { score_id } from './Score';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.pb_composed_from */
export default interface PbComposedFromTable {
pb_id: ColumnType<pb_row_id, pb_row_id, pb_row_id>;
pb_id: ColumnType<pb_row_id, pb_row_id, pb_row_id>;
score_id: ColumnType<score_id, score_id, score_id>;
score_id: ColumnType<score_id, score_id, score_id>;
}
export type PbComposedFrom = Selectable<PbComposedFromTable>;
@@ -1,16 +1,16 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.priv_account_credential */
export default interface PrivAccountCredentialTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
password: ColumnType<string, string, string>;
password: ColumnType<string, string, string>;
email: ColumnType<string, string, string>;
email: ColumnType<string, string, string>;
}
export type PrivAccountCredential = Selectable<PrivAccountCredentialTable>;
@@ -1,45 +1,41 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_api_client */
export type priv_api_client_client_id = string;
/** Represents the table public.priv_api_client */
export default interface PrivApiClientTable {
client_id: ColumnType<
priv_api_client_client_id,
priv_api_client_client_id,
priv_api_client_client_id
>;
client_id: ColumnType<priv_api_client_client_id, priv_api_client_client_id, priv_api_client_client_id>;
client_secret: ColumnType<string, string, string>;
client_secret: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
author: ColumnType<account_id, account_id, account_id>;
author: ColumnType<account_id, account_id, account_id>;
pm_customise_profile: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_profile: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_session: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_session: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_delete_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_delete_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_rivals: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_rivals: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_targets: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_targets: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_submit_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_submit_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_challenges: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_challenges: ColumnType<boolean | null, boolean | null, boolean | null>;
api_key_template: ColumnType<string | null, string | null, string | null>;
api_key_template: ColumnType<string | null, string | null, string | null>;
api_key_filename: ColumnType<string | null, string | null, string | null>;
api_key_filename: ColumnType<string | null, string | null, string | null>;
}
export type PrivApiClient = Selectable<PrivApiClientTable>;
@@ -1,42 +1,38 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { priv_api_client_client_id } from "./PrivApiClient";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { priv_api_client_client_id } from './PrivApiClient';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_api_token */
export type priv_api_token_token = string;
/** Represents the table public.priv_api_token */
export default interface PrivApiTokenTable {
token: ColumnType<priv_api_token_token, priv_api_token_token, priv_api_token_token>;
token: ColumnType<priv_api_token_token, priv_api_token_token, priv_api_token_token>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
identifier: ColumnType<string, string, string>;
identifier: ColumnType<string, string, string>;
pm_customise_profile: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_profile: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_session: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_customise_session: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_delete_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_delete_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_rivals: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_rivals: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_targets: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_targets: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_submit_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_submit_score: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_challenges: ColumnType<boolean | null, boolean | null, boolean | null>;
pm_manage_challenges: ColumnType<boolean | null, boolean | null, boolean | null>;
from_oauth2_client: ColumnType<
priv_api_client_client_id | null,
priv_api_client_client_id | null,
priv_api_client_client_id | null
>;
from_oauth2_client: ColumnType<priv_api_client_client_id | null, priv_api_client_client_id | null, priv_api_client_client_id | null>;
}
export type PrivApiToken = Selectable<PrivApiTokenTable>;
@@ -1,25 +1,25 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_invite */
export type priv_invite_code = string;
/** Represents the table public.priv_invite */
export default interface PrivInviteTable {
code: ColumnType<priv_invite_code, priv_invite_code, priv_invite_code>;
code: ColumnType<priv_invite_code, priv_invite_code, priv_invite_code>;
created_by: ColumnType<account_id, account_id, account_id>;
created_by: ColumnType<account_id, account_id, account_id>;
created_at: ColumnType<string, string, string>;
created_at: ColumnType<string, string, string>;
consumed: ColumnType<boolean, boolean, boolean>;
consumed: ColumnType<boolean, boolean, boolean>;
consumed_by: ColumnType<account_id | null, account_id | null, account_id | null>;
consumed_by: ColumnType<account_id | null, account_id | null, account_id | null>;
consumed_at: ColumnType<string | null, string | null, string | null>;
consumed_at: ColumnType<string | null, string | null, string | null>;
}
export type PrivInvite = Selectable<PrivInviteTable>;
@@ -1,23 +1,19 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_oauth2_auth_token */
export type priv_oauth2_auth_token_token = string;
/** Represents the table public.priv_oauth2_auth_token */
export default interface PrivOauth2AuthTokenTable {
token: ColumnType<
priv_oauth2_auth_token_token,
priv_oauth2_auth_token_token,
priv_oauth2_auth_token_token
>;
token: ColumnType<priv_oauth2_auth_token_token, priv_oauth2_auth_token_token, priv_oauth2_auth_token_token>;
created_on: ColumnType<string, string, string>;
created_on: ColumnType<string, string, string>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
}
export type PrivOauth2AuthToken = Selectable<PrivOauth2AuthTokenTable>;
@@ -1,23 +1,19 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_password_reset_token */
export type priv_password_reset_token_token = string;
/** Represents the table public.priv_password_reset_token */
export default interface PrivPasswordResetTokenTable {
token: ColumnType<
priv_password_reset_token_token,
priv_password_reset_token_token,
priv_password_reset_token_token
>;
token: ColumnType<priv_password_reset_token_token, priv_password_reset_token_token, priv_password_reset_token_token>;
created_on: ColumnType<string, string, string>;
created_on: ColumnType<string, string, string>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
}
export type PrivPasswordResetToken = Selectable<PrivPasswordResetTokenTable>;
@@ -1,25 +1,21 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_svc_cg_card_info */
export type priv_svc_cg_card_info_service = string;
/** Represents the table public.priv_svc_cg_card_info */
export default interface PrivSvcCgCardInfoTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
service: ColumnType<
priv_svc_cg_card_info_service,
priv_svc_cg_card_info_service,
priv_svc_cg_card_info_service
>;
service: ColumnType<priv_svc_cg_card_info_service, priv_svc_cg_card_info_service, priv_svc_cg_card_info_service>;
card_id: ColumnType<string, string, string>;
card_id: ColumnType<string, string, string>;
pin: ColumnType<string, string, string>;
pin: ColumnType<string, string, string>;
}
export type PrivSvcCgCardInfo = Selectable<PrivSvcCgCardInfoTable>;
@@ -1,21 +1,17 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_svc_fer_card */
export type priv_svc_fer_card_card_id = string;
/** Represents the table public.priv_svc_fer_card */
export default interface PrivSvcFerCardTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
card_id: ColumnType<
priv_svc_fer_card_card_id,
priv_svc_fer_card_card_id,
priv_svc_fer_card_card_id
>;
card_id: ColumnType<priv_svc_fer_card_card_id, priv_svc_fer_card_card_id, priv_svc_fer_card_card_id>;
}
export type PrivSvcFerCard = Selectable<PrivSvcFerCardTable>;
@@ -1,25 +1,21 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_svc_kai_auth_token */
export type priv_svc_kai_auth_token_service = string;
/** Represents the table public.priv_svc_kai_auth_token */
export default interface PrivSvcKaiAuthTokenTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
service: ColumnType<
priv_svc_kai_auth_token_service,
priv_svc_kai_auth_token_service,
priv_svc_kai_auth_token_service
>;
service: ColumnType<priv_svc_kai_auth_token_service, priv_svc_kai_auth_token_service, priv_svc_kai_auth_token_service>;
token: ColumnType<string, string, string>;
token: ColumnType<string, string, string>;
refresh_token: ColumnType<string, string, string>;
refresh_token: ColumnType<string, string, string>;
}
export type PrivSvcKaiAuthToken = Selectable<PrivSvcKaiAuthTokenTable>;
@@ -1,21 +1,17 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_svc_myt_card_info */
export type priv_svc_myt_card_info_card_access_code = string;
/** Represents the table public.priv_svc_myt_card_info */
export default interface PrivSvcMytCardInfoTable {
card_access_code: ColumnType<
priv_svc_myt_card_info_card_access_code,
priv_svc_myt_card_info_card_access_code,
priv_svc_myt_card_info_card_access_code
>;
card_access_code: ColumnType<priv_svc_myt_card_info_card_access_code, priv_svc_myt_card_info_card_access_code, priv_svc_myt_card_info_card_access_code>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
}
export type PrivSvcMytCardInfo = Selectable<PrivSvcMytCardInfoTable>;
@@ -1,23 +1,19 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.priv_verify_email_token */
export type priv_verify_email_token_token = string;
/** Represents the table public.priv_verify_email_token */
export default interface PrivVerifyEmailTokenTable {
token: ColumnType<
priv_verify_email_token_token,
priv_verify_email_token_token,
priv_verify_email_token_token
>;
token: ColumnType<priv_verify_email_token_token, priv_verify_email_token_token, priv_verify_email_token_token>;
email: ColumnType<string, string, string>;
email: ColumnType<string, string, string>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
user_id: ColumnType<account_id | null, account_id | null, account_id | null>;
}
export type PrivVerifyEmailToken = Selectable<PrivVerifyEmailTokenTable>;
+134 -134
View File
@@ -1,206 +1,206 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as PrivSvcCgCardInfoTable } from "./PrivSvcCgCardInfo";
import type { default as ClassAchievementTable } from "./ClassAchievement";
import type { default as AccountTable } from "./Account";
import type { default as ImportTrackerTable } from "./ImportTracker";
import type { default as SvcFerSettingsTable } from "./SvcFerSettings";
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 GameSettingsTable } from "./GameSettings";
import type { default as ImportQuestTable } from "./ImportQuest";
import type { default as CronTaskExecutionTable } from "./CronTaskExecution";
import type { default as NotificationTable } from "./Notification";
import type { default as ImportLockTable } from "./ImportLock";
import type { default as ScoreBlacklistTable } from "./ScoreBlacklist";
import type { default as TableFolderTable } from "./TableFolder";
import type { default as GameStatsTable } from "./GameStats";
import type { default as PrivOauth2AuthTokenTable } from "./PrivOauth2AuthToken";
import type { default as ImportSessionTable } from "./ImportSession";
import type { default as PrivSvcFerCardTable } from "./PrivSvcFerCard";
import type { default as PbComposedFromTable } from "./PbComposedFrom";
import type { default as BmsCourseLookupTable } from "./BmsCourseLookup";
import type { default as SongSearchTermTable } from "./SongSearchTerm";
import type { default as ImportGameTable } from "./ImportGame";
import type { default as ImportGoalTable } from "./ImportGoal";
import type { default as OrphanChartUserTable } from "./OrphanChartUser";
import type { default as PrivVerifyEmailTokenTable } from "./PrivVerifyEmailToken";
import type { default as PrivInviteTable } from "./PrivInvite";
import type { default as SessionTable } from "./Session";
import type { default as PrivPasswordResetTokenTable } from "./PrivPasswordResetToken";
import type { default as SongTable } from "./Song";
import type { default as AccountUsernameChangeTable } from "./AccountUsernameChange";
import type { default as MigrationTable } from "./Migration";
import type { default as AccountBadgeTable } from "./AccountBadge";
import type { default as ActionTable } from "./Action";
import type { default as PrivSvcKaiAuthTokenTable } from "./PrivSvcKaiAuthToken";
import type { default as ChartTable } from "./Chart";
import type { default as GameSettingsShowcaseTable } from "./GameSettingsShowcase";
import type { default as AccountFollowingTable } from "./AccountFollowing";
import type { default as ImportTable } from "./Import";
import type { default as FolderTable } from "./Folder";
import type { default as PrivAccountCredentialTable } from "./PrivAccountCredential";
import type { default as ScoreTable } from "./Score";
import type { default as ImportTimingTable } from "./ImportTiming";
import type { default as QuestSubTable } from "./QuestSub";
import type { default as OrphanScoreTable } from "./OrphanScore";
import type { default as FolderViewTable } from "./FolderView";
import type { default as TableTable } from "./Table";
import type { default as ChartVersionTable } from "./ChartVersion";
import type { default as GoalSubTable } from "./GoalSub";
import type { default as FolderSearchTermTable } from "./FolderSearchTerm";
import type { default as JobQueueTable } from "./JobQueue";
import type { default as PrivApiClientTable } from "./PrivApiClient";
import type { default as PrivApiTokenTable } from "./PrivApiToken";
import type { default as SvcKshookSv6cSettingsTable } from "./SvcKshookSv6cSettings";
import type { default as ImportErrorTable } from "./ImportError";
import type { default as QuestTable } from "./Quest";
import type { default as AccountSettingsTable } from "./AccountSettings";
import type { default as PbTable } from "./Pb";
import type { default as PrivSvcMytCardInfoTable } from "./PrivSvcMytCardInfo";
import type { default as QuestlineQuestTable } from "./QuestlineQuest";
import type { default as QuestlineTable } from "./Questline";
import type { default as CronTaskTable } from "./CronTask";
import type { default as ImportClassTable } from "./ImportClass";
import type { default as SongAltTitleTable } from "./SongAltTitle";
import type { default as GameStatsSnapshotTable } from "./GameStatsSnapshot";
import type { default as ChartLeaderboardTable } from "./ChartLeaderboard";
import type { default as PrivSvcCgCardInfoTable } from './PrivSvcCgCardInfo';
import type { default as ClassAchievementTable } from './ClassAchievement';
import type { default as AccountTable } from './Account';
import type { default as ImportTrackerTable } from './ImportTracker';
import type { default as SvcFerSettingsTable } from './SvcFerSettings';
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 GameSettingsTable } from './GameSettings';
import type { default as ImportQuestTable } from './ImportQuest';
import type { default as CronTaskExecutionTable } from './CronTaskExecution';
import type { default as NotificationTable } from './Notification';
import type { default as ImportLockTable } from './ImportLock';
import type { default as ScoreBlacklistTable } from './ScoreBlacklist';
import type { default as TableFolderTable } from './TableFolder';
import type { default as GameStatsTable } from './GameStats';
import type { default as PrivOauth2AuthTokenTable } from './PrivOauth2AuthToken';
import type { default as ImportSessionTable } from './ImportSession';
import type { default as PrivSvcFerCardTable } from './PrivSvcFerCard';
import type { default as PbComposedFromTable } from './PbComposedFrom';
import type { default as BmsCourseLookupTable } from './BmsCourseLookup';
import type { default as SongSearchTermTable } from './SongSearchTerm';
import type { default as ImportGameTable } from './ImportGame';
import type { default as ImportGoalTable } from './ImportGoal';
import type { default as OrphanChartUserTable } from './OrphanChartUser';
import type { default as PrivVerifyEmailTokenTable } from './PrivVerifyEmailToken';
import type { default as PrivInviteTable } from './PrivInvite';
import type { default as SessionTable } from './Session';
import type { default as PrivPasswordResetTokenTable } from './PrivPasswordResetToken';
import type { default as SongTable } from './Song';
import type { default as AccountUsernameChangeTable } from './AccountUsernameChange';
import type { default as MigrationTable } from './Migration';
import type { default as AccountBadgeTable } from './AccountBadge';
import type { default as ActionTable } from './Action';
import type { default as PrivSvcKaiAuthTokenTable } from './PrivSvcKaiAuthToken';
import type { default as ChartTable } from './Chart';
import type { default as GameSettingsShowcaseTable } from './GameSettingsShowcase';
import type { default as AccountFollowingTable } from './AccountFollowing';
import type { default as ImportTable } from './Import';
import type { default as FolderTable } from './Folder';
import type { default as PrivAccountCredentialTable } from './PrivAccountCredential';
import type { default as ScoreTable } from './Score';
import type { default as ImportTimingTable } from './ImportTiming';
import type { default as QuestSubTable } from './QuestSub';
import type { default as OrphanScoreTable } from './OrphanScore';
import type { default as FolderViewTable } from './FolderView';
import type { default as TableTable } from './Table';
import type { default as ChartVersionTable } from './ChartVersion';
import type { default as GoalSubTable } from './GoalSub';
import type { default as FolderSearchTermTable } from './FolderSearchTerm';
import type { default as JobQueueTable } from './JobQueue';
import type { default as PrivApiClientTable } from './PrivApiClient';
import type { default as PrivApiTokenTable } from './PrivApiToken';
import type { default as SvcKshookSv6cSettingsTable } from './SvcKshookSv6cSettings';
import type { default as ImportErrorTable } from './ImportError';
import type { default as QuestTable } from './Quest';
import type { default as AccountSettingsTable } from './AccountSettings';
import type { default as PbTable } from './Pb';
import type { default as PrivSvcMytCardInfoTable } from './PrivSvcMytCardInfo';
import type { default as QuestlineQuestTable } from './QuestlineQuest';
import type { default as QuestlineTable } from './Questline';
import type { default as CronTaskTable } from './CronTask';
import type { default as ImportClassTable } from './ImportClass';
import type { default as SongAltTitleTable } from './SongAltTitle';
import type { default as GameStatsSnapshotTable } from './GameStatsSnapshot';
import type { default as ChartLeaderboardTable } from './ChartLeaderboard';
export default interface PublicSchema {
priv_svc_cg_card_info: PrivSvcCgCardInfoTable;
priv_svc_cg_card_info: PrivSvcCgCardInfoTable;
class_achievement: ClassAchievementTable;
class_achievement: ClassAchievementTable;
account: AccountTable;
account: AccountTable;
import_tracker: ImportTrackerTable;
import_tracker: ImportTrackerTable;
svc_fer_settings: SvcFerSettingsTable;
svc_fer_settings: SvcFerSettingsTable;
invite_lock: InviteLockTable;
invite_lock: InviteLockTable;
orphan_chart: OrphanChartTable;
orphan_chart: OrphanChartTable;
game_rival: GameRivalTable;
game_rival: GameRivalTable;
goal: GoalTable;
goal: GoalTable;
game_settings: GameSettingsTable;
game_settings: GameSettingsTable;
import_quest: ImportQuestTable;
import_quest: ImportQuestTable;
cron_task_execution: CronTaskExecutionTable;
cron_task_execution: CronTaskExecutionTable;
notification: NotificationTable;
notification: NotificationTable;
import_lock: ImportLockTable;
import_lock: ImportLockTable;
score_blacklist: ScoreBlacklistTable;
score_blacklist: ScoreBlacklistTable;
table_folder: TableFolderTable;
table_folder: TableFolderTable;
game_stats: GameStatsTable;
game_stats: GameStatsTable;
priv_oauth2_auth_token: PrivOauth2AuthTokenTable;
priv_oauth2_auth_token: PrivOauth2AuthTokenTable;
import_session: ImportSessionTable;
import_session: ImportSessionTable;
priv_svc_fer_card: PrivSvcFerCardTable;
priv_svc_fer_card: PrivSvcFerCardTable;
pb_composed_from: PbComposedFromTable;
pb_composed_from: PbComposedFromTable;
bms_course_lookup: BmsCourseLookupTable;
bms_course_lookup: BmsCourseLookupTable;
song_search_term: SongSearchTermTable;
song_search_term: SongSearchTermTable;
import_game: ImportGameTable;
import_game: ImportGameTable;
import_goal: ImportGoalTable;
import_goal: ImportGoalTable;
orphan_chart_user: OrphanChartUserTable;
orphan_chart_user: OrphanChartUserTable;
priv_verify_email_token: PrivVerifyEmailTokenTable;
priv_verify_email_token: PrivVerifyEmailTokenTable;
priv_invite: PrivInviteTable;
priv_invite: PrivInviteTable;
session: SessionTable;
session: SessionTable;
priv_password_reset_token: PrivPasswordResetTokenTable;
priv_password_reset_token: PrivPasswordResetTokenTable;
song: SongTable;
song: SongTable;
account_username_change: AccountUsernameChangeTable;
account_username_change: AccountUsernameChangeTable;
_migration: MigrationTable;
_migration: MigrationTable;
account_badge: AccountBadgeTable;
account_badge: AccountBadgeTable;
action: ActionTable;
action: ActionTable;
priv_svc_kai_auth_token: PrivSvcKaiAuthTokenTable;
priv_svc_kai_auth_token: PrivSvcKaiAuthTokenTable;
chart: ChartTable;
chart: ChartTable;
game_settings_showcase: GameSettingsShowcaseTable;
game_settings_showcase: GameSettingsShowcaseTable;
account_following: AccountFollowingTable;
account_following: AccountFollowingTable;
import: ImportTable;
'import': ImportTable;
folder: FolderTable;
folder: FolderTable;
priv_account_credential: PrivAccountCredentialTable;
priv_account_credential: PrivAccountCredentialTable;
score: ScoreTable;
score: ScoreTable;
import_timing: ImportTimingTable;
import_timing: ImportTimingTable;
quest_sub: QuestSubTable;
quest_sub: QuestSubTable;
orphan_score: OrphanScoreTable;
orphan_score: OrphanScoreTable;
folder_view: FolderViewTable;
folder_view: FolderViewTable;
table: TableTable;
table: TableTable;
chart_version: ChartVersionTable;
chart_version: ChartVersionTable;
goal_sub: GoalSubTable;
goal_sub: GoalSubTable;
folder_search_term: FolderSearchTermTable;
folder_search_term: FolderSearchTermTable;
job_queue: JobQueueTable;
job_queue: JobQueueTable;
priv_api_client: PrivApiClientTable;
priv_api_client: PrivApiClientTable;
priv_api_token: PrivApiTokenTable;
priv_api_token: PrivApiTokenTable;
svc_kshook_sv6c_settings: SvcKshookSv6cSettingsTable;
svc_kshook_sv6c_settings: SvcKshookSv6cSettingsTable;
import_error: ImportErrorTable;
import_error: ImportErrorTable;
quest: QuestTable;
quest: QuestTable;
account_settings: AccountSettingsTable;
account_settings: AccountSettingsTable;
pb: PbTable;
pb: PbTable;
priv_svc_myt_card_info: PrivSvcMytCardInfoTable;
priv_svc_myt_card_info: PrivSvcMytCardInfoTable;
questline_quest: QuestlineQuestTable;
questline_quest: QuestlineQuestTable;
questline: QuestlineTable;
questline: QuestlineTable;
cron_task: CronTaskTable;
cron_task: CronTaskTable;
import_class: ImportClassTable;
import_class: ImportClassTable;
song_alt_title: SongAltTitleTable;
song_alt_title: SongAltTitleTable;
game_stats_snapshot: GameStatsSnapshotTable;
game_stats_snapshot: GameStatsSnapshotTable;
chart_leaderboard: ChartLeaderboardTable;
chart_leaderboard: ChartLeaderboardTable;
}
+7 -7
View File
@@ -1,23 +1,23 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.quest */
export type quest_id = string;
/** Represents the table public.quest */
export default interface QuestTable {
id: ColumnType<quest_id, quest_id, quest_id>;
id: ColumnType<quest_id, quest_id, quest_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
name: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
description: ColumnType<string, string, string>;
description: ColumnType<string, string, string>;
quest_data: ColumnType<unknown, unknown, unknown>;
quest_data: ColumnType<unknown, unknown, unknown>;
}
export type Quest = Selectable<QuestTable>;
+10 -10
View File
@@ -1,25 +1,25 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { quest_id } from "./Quest";
import type { account_id } from "./Account";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { quest_id } from './Quest';
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.quest_sub */
export default interface QuestSubTable {
quest_id: ColumnType<quest_id, quest_id, quest_id>;
quest_id: ColumnType<quest_id, quest_id, quest_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
progress: ColumnType<number, number, number>;
progress: ColumnType<number, number, number>;
last_interaction: ColumnType<string | null, string | null, string | null>;
last_interaction: ColumnType<string | null, string | null, string | null>;
achieved: ColumnType<boolean, boolean, boolean>;
achieved: ColumnType<boolean, boolean, boolean>;
time_achieved: ColumnType<string | null, string | null, string | null>;
time_achieved: ColumnType<string | null, string | null, string | null>;
was_instantly_achieved: ColumnType<boolean, boolean, boolean>;
was_instantly_achieved: ColumnType<boolean, boolean, boolean>;
}
export type QuestSub = Selectable<QuestSubTable>;
@@ -1,21 +1,21 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.questline */
export type questline_id = string;
/** Represents the table public.questline */
export default interface QuestlineTable {
id: ColumnType<questline_id, questline_id, questline_id>;
id: ColumnType<questline_id, questline_id, questline_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
name: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
description: ColumnType<string, string, string>;
description: ColumnType<string, string, string>;
}
export type Questline = Selectable<QuestlineTable>;
@@ -1,17 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { questline_id } from "./Questline";
import type { quest_id } from "./Quest";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { questline_id } from './Questline';
import type { quest_id } from './Quest';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.questline_quest */
export default interface QuestlineQuestTable {
questline_id: ColumnType<questline_id, questline_id, questline_id>;
questline_id: ColumnType<questline_id, questline_id, questline_id>;
quest_id: ColumnType<quest_id, quest_id, quest_id>;
quest_id: ColumnType<quest_id, quest_id, quest_id>;
sort_order: ColumnType<number, number, number>;
sort_order: ColumnType<number, number, number>;
}
export type QuestlineQuest = Selectable<QuestlineQuestTable>;
+18 -18
View File
@@ -1,43 +1,43 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { chart_id } from "./Chart";
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { chart_id } from './Chart';
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.score */
export type score_id = string;
/** Represents the table public.score */
export default interface ScoreTable {
id: ColumnType<score_id, score_id, score_id>;
id: ColumnType<score_id, score_id, score_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
chart_id: ColumnType<chart_id, chart_id, chart_id>;
chart_id: ColumnType<chart_id, chart_id, chart_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
session_id: ColumnType<string | null, string | null, string | null>;
session_id: ColumnType<string | null, string | null, string | null>;
import_id: ColumnType<string | null, string | null, string | null>;
import_id: ColumnType<string | null, string | null, string | null>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
derived_data: ColumnType<unknown, unknown, unknown>;
derived_data: ColumnType<unknown, unknown, unknown>;
calculated_data: ColumnType<unknown, unknown, unknown>;
calculated_data: ColumnType<unknown, unknown, unknown>;
meta: ColumnType<unknown, unknown, unknown>;
meta: ColumnType<unknown, unknown, unknown>;
time_achieved: ColumnType<string | null, string | null, string | null>;
time_achieved: ColumnType<string | null, string | null, string | null>;
time_added: ColumnType<string, string, string>;
time_added: ColumnType<string, string, string>;
highlight: ColumnType<boolean, boolean, boolean>;
highlight: ColumnType<boolean, boolean, boolean>;
comment: ColumnType<string | null, string | null, string | null>;
comment: ColumnType<string | null, string | null, string | null>;
}
export type Score = Selectable<ScoreTable>;
@@ -1,23 +1,19 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.score_blacklist */
export type score_blacklist_row_id = string;
/** Represents the table public.score_blacklist */
export default interface ScoreBlacklistTable {
row_id: ColumnType<
score_blacklist_row_id,
score_blacklist_row_id | undefined,
score_blacklist_row_id
>;
row_id: ColumnType<score_blacklist_row_id, score_blacklist_row_id | undefined, score_blacklist_row_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
score_id: ColumnType<string, string, string>;
score_id: ColumnType<string, string, string>;
}
export type ScoreBlacklist = Selectable<ScoreBlacklistTable>;
+13 -13
View File
@@ -1,34 +1,34 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { account_id } from "./Account";
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { account_id } from './Account';
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.session */
export type session_id = string;
/** Represents the table public.session */
export default interface SessionTable {
id: ColumnType<session_id, session_id, session_id>;
id: ColumnType<session_id, session_id, session_id>;
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
name: ColumnType<string, string, string>;
name: ColumnType<string, string, string>;
description: ColumnType<string | null, string | null, string | null>;
description: ColumnType<string | null, string | null, string | null>;
time_inserted: ColumnType<string, string, string>;
time_inserted: ColumnType<string, string, string>;
time_started: ColumnType<string, string, string>;
time_started: ColumnType<string, string, string>;
time_ended: ColumnType<string, string, string>;
time_ended: ColumnType<string, string, string>;
calculated_data: ColumnType<unknown, unknown, unknown>;
calculated_data: ColumnType<unknown, unknown, unknown>;
highlight: ColumnType<boolean, boolean, boolean>;
highlight: ColumnType<boolean, boolean, boolean>;
}
export type Session = Selectable<SessionTable>;
+8 -8
View File
@@ -1,25 +1,25 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as GameGroup } from "./GameGroup";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as GameGroup } from './GameGroup';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.song */
export type song_id = string;
/** Represents the table public.song */
export default interface SongTable {
id: ColumnType<song_id, song_id, song_id>;
id: ColumnType<song_id, song_id, song_id>;
legacy_id: ColumnType<number, number, number>;
legacy_id: ColumnType<number, number, number>;
game_group: ColumnType<GameGroup, GameGroup, GameGroup>;
game_group: ColumnType<GameGroup, GameGroup, GameGroup>;
title: ColumnType<string, string, string>;
title: ColumnType<string, string, string>;
artist: ColumnType<string, string, string>;
artist: ColumnType<string, string, string>;
data: ColumnType<unknown, unknown, unknown>;
data: ColumnType<unknown, unknown, unknown>;
}
export type Song = Selectable<SongTable>;
@@ -1,21 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { song_id } from "./Song";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { song_id } from './Song';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.song_alt_title */
export type song_alt_title_alt_title = string;
/** Represents the table public.song_alt_title */
export default interface SongAltTitleTable {
song_id: ColumnType<song_id, song_id, song_id>;
song_id: ColumnType<song_id, song_id, song_id>;
alt_title: ColumnType<
song_alt_title_alt_title,
song_alt_title_alt_title,
song_alt_title_alt_title
>;
alt_title: ColumnType<song_alt_title_alt_title, song_alt_title_alt_title, song_alt_title_alt_title>;
}
export type SongAltTitle = Selectable<SongAltTitleTable>;
@@ -1,21 +1,17 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { song_id } from "./Song";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { song_id } from './Song';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.song_search_term */
export type song_search_term_search_term = string;
/** Represents the table public.song_search_term */
export default interface SongSearchTermTable {
song_id: ColumnType<song_id, song_id, song_id>;
song_id: ColumnType<song_id, song_id, song_id>;
search_term: ColumnType<
song_search_term_search_term,
song_search_term_search_term,
song_search_term_search_term
>;
search_term: ColumnType<song_search_term_search_term, song_search_term_search_term, song_search_term_search_term>;
}
export type SongSearchTerm = Selectable<SongSearchTermTable>;
@@ -1,14 +1,14 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.svc_fer_settings */
export default interface SvcFerSettingsTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
force_static_import: ColumnType<boolean, boolean, boolean>;
force_static_import: ColumnType<boolean, boolean, boolean>;
}
export type SvcFerSettings = Selectable<SvcFerSettingsTable>;
@@ -1,14 +1,14 @@
// @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";
import type { account_id } from './Account';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.svc_kshook_sv6c_settings */
export default interface SvcKshookSv6cSettingsTable {
user_id: ColumnType<account_id, account_id, account_id>;
user_id: ColumnType<account_id, account_id, account_id>;
force_static_import: ColumnType<boolean, boolean, boolean>;
force_static_import: ColumnType<boolean, boolean, boolean>;
}
export type SvcKshookSv6cSettings = Selectable<SvcKshookSv6cSettingsTable>;
+9 -9
View File
@@ -1,27 +1,27 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from "./Game";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.table */
export type table_id = string;
/** Represents the table public.table */
export default interface TableTable {
id: ColumnType<table_id, table_id, table_id>;
id: ColumnType<table_id, table_id, table_id>;
legacy_id: ColumnType<string, string, string>;
legacy_id: ColumnType<string, string, string>;
game: ColumnType<Game, Game, Game>;
game: ColumnType<Game, Game, Game>;
inactive: ColumnType<boolean, boolean, boolean>;
inactive: ColumnType<boolean, boolean, boolean>;
title: ColumnType<string, string, string>;
title: ColumnType<string, string, string>;
default_value: ColumnType<boolean, boolean, boolean>;
default_value: ColumnType<boolean, boolean, boolean>;
slug: ColumnType<string | null, string | null, string | null>;
slug: ColumnType<string | null, string | null, string | null>;
}
export type Table = Selectable<TableTable>;
@@ -1,15 +1,15 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { table_id } from "./Table";
import type { folder_id } from "./Folder";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
import type { table_id } from './Table';
import type { folder_id } from './Folder';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.table_folder */
export default interface TableFolderTable {
table_id: ColumnType<table_id, table_id, table_id>;
table_id: ColumnType<table_id, table_id, table_id>;
folder_id: ColumnType<folder_id, folder_id, folder_id>;
folder_id: ColumnType<folder_id, folder_id, folder_id>;
}
export type TableFolder = Selectable<TableFolderTable>;
@@ -1,13 +1,13 @@
import { Command } from "commander";
import fjsh from "fast-json-stable-hash";
import fs from "fs";
import {
type ChartDocument,
type Difficulties,
type integer,
type SongDocument,
} from "../../../common/src";
import {
CreateChartID,
GetFreshSongIDGenerator,
@@ -1,7 +1,7 @@
const { LoadBMSTable } = require("bms-table-loader");
import { type BMSTableInfo, type FolderDocument, type TableDocument } from "../../../common/src";
const { BMS_TABLES } = require("tachi-common");
import { type BMSTableInfo, type FolderDocument, type TableDocument } from "../../../common/src";
const logger = require("../../logger");
import { CreateFolderIDFromFolder } from "../../util";
const { ReadCollection, MutateCollection } = require("../../util");
@@ -3,6 +3,7 @@ import { XMLParser } from "fast-xml-parser";
import { existsSync, readdirSync, readFileSync, statSync } from "fs";
import { CreateLogger } from "mei-logger";
import path from "path";
import {
type ChartDocument,
type Difficulties,
@@ -10,7 +11,6 @@ import {
type integer,
type SongDocument,
} from "../../../common/src";
import { CreateChartID, ReadCollection, WriteCollection } from "../../util";
const logger = CreateLogger("chunithm/merge-options");
@@ -1,6 +1,6 @@
import fetch from "node-fetch";
import { type ChartDocument, type Difficulties, type SongDocument } from "../../../common/src";
import { type ChartDocument, type Difficulties, type SongDocument } from "../../../common/src";
import { CreateChartID, MutateCollection, ReadCollection, WriteCollection } from "../../util";
const CURRENT_VERSION = "luminous";
@@ -1,7 +1,7 @@
import { Parser } from "binary-parser";
import fs from "fs";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { ReadCollection, WriteCollection } from "../../util";
const STEP_HEADER_LENGTH = 6;
@@ -8,7 +8,6 @@ import {
type Versions,
} from "../../../common/src";
import { DDR_FLARE_CATEGORIES } from "../../../common/src/config/game-support/ddr";
import { CreateChartID, MutateCollection, ReadCollection, WriteCollection } from "../../util";
const gameConfig = GetGameGroupConfig("ddr") as GameConfig<"ddr">;
@@ -1,6 +1,7 @@
import { Command } from "commander";
import { XMLParser } from "fast-xml-parser";
import { readFileSync } from "fs";
import {
type ChartDocument,
type Difficulties,
@@ -9,7 +10,6 @@ import {
type Versions,
} from "../../../common/src";
import { GITADORA_GITA_CONF } from "../../../common/src/config/game-support/gitadora";
import { CreateChartID, MutateCollection, ReadCollection, WriteCollection } from "../../util";
const supportedVersions = Object.keys(GITADORA_GITA_CONF.versions);
@@ -1,5 +1,6 @@
import { readdirSync, readFileSync } from "fs";
import { join } from "path";
import {
type ChartDocument,
type Difficulties,
@@ -8,7 +9,6 @@ import {
type Playtypes,
type SongDocument,
} from "../../../../common/src";
import { CreateChartID, GetFreshScoreIDGenerator, MutateCollection } from "../../util";
interface AixChart {
@@ -3,8 +3,8 @@ import { execSync } from "child_process";
import fs, { mkdirSync } from "fs";
import iconv from "iconv-lite";
import path from "path";
import { type integer } from "../../../../common/src";
import { type integer } from "../../../../common/src";
import logger from "../../../logger";
import { ParseDotOneFile } from "./dot-one-parser/parser";
import { type IIDXConvertOutput } from "./dot-one-parser/types";
@@ -1,7 +1,7 @@
import fs from "fs/promises";
import path from "path";
import { type integer } from "../../../../../common/src";
import { type integer } from "../../../../../common/src";
import logger from "../../../../logger";
import {
type BGMObject,
@@ -1,6 +1,7 @@
import { Command } from "commander";
import fs from "fs";
import path from "path";
import {
type ChartDocument,
type Difficulties,
@@ -9,7 +10,6 @@ import {
type SongDocument,
type Versions,
} from "../../../../common/src";
import logger from "../../../logger";
import {
CreateChartID,
@@ -1,7 +1,7 @@
import { Command } from "commander";
import fs from "fs";
import { type GoalDocument, type QuestDocument } from "../../common/src";
import { type GoalDocument, type QuestDocument } from "../../common/src";
import { CreateGoalID, CreateQuestID, MutateCollection } from "../util";
const program = new Command();
@@ -1,6 +1,6 @@
import { JUBEAT_SINGLE_CONF } from "../../../common/src/config/game-support/jubeat";
import { type FolderDocument } from "tachi-common/src/types";
import { JUBEAT_SINGLE_CONF } from "../../../common/src/config/game-support/jubeat";
const { MutateCollection, CreateFolderID } = require("../../util");
function CreateFolder(criteria, title) {
@@ -11,8 +11,8 @@ import { XMLParser } from "fast-xml-parser";
*/
import fs from "fs";
import path from "path";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { MutateCollection, ReadCollection } from "../../util";
interface XmlNotes {
@@ -4,13 +4,13 @@ import { XMLParser } from "fast-xml-parser";
import { existsSync, readdirSync, readFileSync, statSync } from "fs";
import { CreateLogger } from "mei-logger";
import path from "path";
import {
type ChartDocument,
type Difficulties,
GetGamePTConfig,
type SongDocument,
} from "../../../common/src";
import {
CreateChartID,
GetFreshSongIDGenerator,
@@ -1,8 +1,8 @@
import { spawnSync } from "child_process";
import { Command } from "commander";
import fs from "fs";
import { type QuestDocument, type QuestlineDocument } from "../../common/src";
import { type QuestDocument, type QuestlineDocument } from "../../common/src";
import { MutateCollection, ReadCollection } from "../util";
/**
@@ -1,6 +1,6 @@
import { Command } from "commander";
import { type FolderDocument, GetGamePTConfig } from "../../../common/src";
import { type FolderDocument, GetGamePTConfig } from "../../../common/src";
import { CreateFolderID, MutateCollection } from "../../util";
const LEVELS = [
@@ -1,8 +1,8 @@
// usage: cd rerunners && npx ts-node ongeki/parse-music-data.ts
import fs from "fs/promises";
import { type ChartDocument, type Difficulties, type SongDocument } from "../../../common/src";
import { type ChartDocument, type Difficulties, type SongDocument } from "../../../common/src";
import { CreateChartID, ReadCollection, WriteCollection } from "../../util";
type OngekiChart = ChartDocument<"ongeki:Single">;
@@ -6,8 +6,8 @@ import { execFile } from "node:child_process";
import fs from "node:fs/promises";
import path from "node:path";
import { promisify } from "node:util";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { ReadCollection, WriteCollection } from "../../util";
const execFileAsync = promisify(execFile);
@@ -1,8 +1,8 @@
/* eslint-disable no-await-in-loop */
import readline from "readline";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { type ChartDocument, type SongDocument } from "../../../common/src";
import { ReadCollection, WriteCollection } from "../../util";
type OngekiChart = ChartDocument<"ongeki:Single">;
@@ -2,13 +2,13 @@ import { Command } from "commander";
import { XMLParser } from "fast-xml-parser";
import fs from "fs";
import { decode } from "iconv-lite";
import {
type ChartDocument,
type Difficulties,
type integer,
type SongDocument,
} from "../../../common/src";
import {
CreateChartID,
GetFreshSongIDGenerator,
@@ -1,12 +1,12 @@
import fs from "fs";
import path from "path";
import {
GAME_GROUP_CONFIGS,
GAME_PT_CONFIGS,
GPTStringToV3,
V3ToGameGroup,
} from "../../../common/src";
const { CreateSongID, CreateChartID, ReadCollection, WriteCollection } = require("../../util");
// ── Stability map ─────────────────────────────────────────────────────────────
@@ -1,7 +1,7 @@
import fs from "fs";
import path from "path";
import { type GameGroup, GetGPTString, GPTStringToV3, type Playtype } from "../../../common/src";
import { type GameGroup, GetGPTString, GPTStringToV3, type Playtype } from "../../../common/src";
import { CreateFolderID, CreateTableID } from "../../util";
const { ReadCollection, WriteCollection } = require("../../util");
@@ -1,9 +1,9 @@
import chalk from "chalk";
import fs from "fs";
import path from "path";
import { type GameGroup, V3ToGameGroup } from "../../common/src";
import { z } from "zod";
import { type GameGroup, V3ToGameGroup } from "../../common/src";
import { GetChartCollectionGame, GetSongCollectionGame, ReadCollection } from "../util";
import { type AllCollections, V3_SCHEMAS } from "./schemas";
import { FormatFunctions } from "./test-utils";

Some files were not shown because too many files have changed in this diff Show More