mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 13:28:08 +03:00
feat: pg services module and just fmt on gen
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@ gen: gen-kanel gen-proto
|
||||
# Generate kanel types from the postgres definitions in Tachi.
|
||||
gen-kanel: (db-reset "templatedb")
|
||||
bun run kanel -d "{{ POSTGRES_URL }}/templatedb" -c db/kanel_config.js
|
||||
just fmt
|
||||
|
||||
# Generate protobuf types from the proto definitions in the server
|
||||
gen-proto:
|
||||
bun run --filter tachi-server gen-proto
|
||||
bun run --filter tachi-server gen-proto
|
||||
just fmt
|
||||
+5
-6
@@ -8,12 +8,11 @@
|
||||
"files": {
|
||||
"includes": [
|
||||
"**",
|
||||
"!db/src/generated",
|
||||
"!client/build",
|
||||
"!dist",
|
||||
"!vendor",
|
||||
"!seeds/collections",
|
||||
"!server/src/test-utils/test-data"
|
||||
"!typescript/db/src/generated",
|
||||
"!typescript/client/build",
|
||||
"!typescript-vendor",
|
||||
"!db/seeds",
|
||||
"!typescript/server/src/test-utils/test-data"
|
||||
]
|
||||
},
|
||||
"vcs": {
|
||||
|
||||
@@ -187,7 +187,9 @@ export async function applyMigrations(
|
||||
);
|
||||
}
|
||||
|
||||
console.log(`[migrate] Applying ${migration.version} — ${migration.description}...`);
|
||||
console.log(
|
||||
`[migrate] Applying ${migration.version} — ${migration.description}...`,
|
||||
);
|
||||
|
||||
const start = process.hrtime.bigint();
|
||||
|
||||
@@ -340,9 +342,10 @@ export async function revertLastMigration(
|
||||
|
||||
try {
|
||||
await client.query(downSql);
|
||||
await client.query(`DELETE FROM "_migration" WHERE version = $1 AND success = true`, [
|
||||
latestVersion,
|
||||
]);
|
||||
await client.query(
|
||||
`DELETE FROM "_migration" WHERE version = $1 AND success = true`,
|
||||
[latestVersion],
|
||||
);
|
||||
await client.query("COMMIT");
|
||||
|
||||
const elapsedUs = (process.hrtime.bigint() - start) / 1000n;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,78 +1,462 @@
|
||||
// @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";
|
||||
|
||||
@@ -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,9 +2,6 @@
|
||||
// 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,23 +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.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>;
|
||||
|
||||
@@ -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,9 +2,6 @@
|
||||
// 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,9 +2,6 @@
|
||||
// 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,22 +1,26 @@
|
||||
// @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>;
|
||||
|
||||
@@ -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,28 +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.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,28 +1,32 @@
|
||||
// @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>;
|
||||
|
||||
@@ -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,17 +1,21 @@
|
||||
// @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>;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,20 +1,24 @@
|
||||
// @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,19 +13,23 @@ 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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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,22 +1,26 @@
|
||||
// @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,26 +1,30 @@
|
||||
// @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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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,41 +1,45 @@
|
||||
// @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,38 +1,42 @@
|
||||
// @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,19 +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.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,19 +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.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,21 +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_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,17 +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_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,21 +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_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,17 +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_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,19 +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.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>;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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,19 +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.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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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,17 +1,21 @@
|
||||
// @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,17 +1,21 @@
|
||||
// @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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -48,8 +48,7 @@ for (const game of games) {
|
||||
}
|
||||
|
||||
if (!entry._added) {
|
||||
entry._added =
|
||||
entry.legacySongID !== undefined ? NOW + entry.legacySongID : NOW;
|
||||
entry._added = entry.legacySongID !== undefined ? NOW + entry.legacySongID : NOW;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { SendMailOptions } from "nodemailer";
|
||||
|
||||
import { FormatPrError } from "#utils/prudence";
|
||||
|
||||
import {
|
||||
allSupportedGameGroups,
|
||||
type integer,
|
||||
@@ -11,9 +12,10 @@ import dotenv from "dotenv";
|
||||
import fs from "fs";
|
||||
import JSON5 from "json5";
|
||||
import { p } from "prudence";
|
||||
import { allImportTypes } from "../../../../common/src/constants/import-types";
|
||||
import { URL } from "url";
|
||||
|
||||
import { allImportTypes } from "../../../../common/src/constants/import-types";
|
||||
|
||||
// imports things like NODE_ENV from a local .env file if one is present.
|
||||
dotenv.config();
|
||||
|
||||
@@ -337,10 +339,18 @@ if (!["crit", "debug", "error", "info", "severe", "verbose", "warn"].includes(lo
|
||||
|
||||
const replicaIdentity = process.env.REPLICA_IDENTITY;
|
||||
|
||||
const postgresUrl = process.env.POSTGRES_URL ?? "";
|
||||
|
||||
if (!postgresUrl) {
|
||||
logger.error(`No POSTGRES_URL specified in environment. Terminating.`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
export const Environment = {
|
||||
port,
|
||||
redisUrl,
|
||||
mongoUrl,
|
||||
postgresUrl,
|
||||
nodeEnv: nodeEnv as "dev" | "production" | "staging" | "test",
|
||||
replicaIdentity,
|
||||
commitHash: process.env.COMMIT_HASH,
|
||||
|
||||
@@ -7,18 +7,30 @@ import * as cards_cards_pb from "../cards/cards_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface ICardsService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
lookup: grpc.MethodDefinition<cards_cards_pb.LookupRequest, cards_cards_pb.LookupResponse>;
|
||||
lookup: grpc.MethodDefinition<cards_cards_pb.LookupRequest, cards_cards_pb.LookupResponse>;
|
||||
}
|
||||
|
||||
export const CardsService: ICardsService;
|
||||
|
||||
export interface ICardsServer extends grpc.UntypedServiceImplementation {
|
||||
lookup: grpc.handleUnaryCall<cards_cards_pb.LookupRequest, cards_cards_pb.LookupResponse>;
|
||||
lookup: grpc.handleUnaryCall<cards_cards_pb.LookupRequest, cards_cards_pb.LookupResponse>;
|
||||
}
|
||||
|
||||
export class CardsClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
lookup(argument: cards_cards_pb.LookupRequest, callback: grpc.requestCallback<cards_cards_pb.LookupResponse>): grpc.ClientUnaryCall;
|
||||
lookup(argument: cards_cards_pb.LookupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<cards_cards_pb.LookupResponse>): grpc.ClientUnaryCall;
|
||||
lookup(argument: cards_cards_pb.LookupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<cards_cards_pb.LookupResponse>): grpc.ClientUnaryCall;
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
lookup(
|
||||
argument: cards_cards_pb.LookupRequest,
|
||||
callback: grpc.requestCallback<cards_cards_pb.LookupResponse>,
|
||||
): grpc.ClientUnaryCall;
|
||||
lookup(
|
||||
argument: cards_cards_pb.LookupRequest,
|
||||
metadataOrOptions: grpc.Metadata | grpc.CallOptions | null,
|
||||
callback: grpc.requestCallback<cards_cards_pb.LookupResponse>,
|
||||
): grpc.ClientUnaryCall;
|
||||
lookup(
|
||||
argument: cards_cards_pb.LookupRequest,
|
||||
metadata: grpc.Metadata | null,
|
||||
options: grpc.CallOptions | null,
|
||||
callback: grpc.requestCallback<cards_cards_pb.LookupResponse>,
|
||||
): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
@@ -1,44 +1,43 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var cards_cards_pb = require('../cards/cards_pb.js');
|
||||
"use strict";
|
||||
var grpc = require("@grpc/grpc-js");
|
||||
var cards_cards_pb = require("../cards/cards_pb.js");
|
||||
|
||||
function serialize_mythos_cards_v0_LookupRequest(arg) {
|
||||
if (!(arg instanceof cards_cards_pb.LookupRequest)) {
|
||||
throw new Error('Expected argument of type mythos.cards.v0.LookupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
if (!(arg instanceof cards_cards_pb.LookupRequest)) {
|
||||
throw new Error("Expected argument of type mythos.cards.v0.LookupRequest");
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_mythos_cards_v0_LookupRequest(buffer_arg) {
|
||||
return cards_cards_pb.LookupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
return cards_cards_pb.LookupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_mythos_cards_v0_LookupResponse(arg) {
|
||||
if (!(arg instanceof cards_cards_pb.LookupResponse)) {
|
||||
throw new Error('Expected argument of type mythos.cards.v0.LookupResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
if (!(arg instanceof cards_cards_pb.LookupResponse)) {
|
||||
throw new Error("Expected argument of type mythos.cards.v0.LookupResponse");
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_mythos_cards_v0_LookupResponse(buffer_arg) {
|
||||
return cards_cards_pb.LookupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
return cards_cards_pb.LookupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
var CardsService = (exports.CardsService = {
|
||||
lookup: {
|
||||
path: "/mythos.cards.v0.Cards/Lookup",
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cards_cards_pb.LookupRequest,
|
||||
responseType: cards_cards_pb.LookupResponse,
|
||||
requestSerialize: serialize_mythos_cards_v0_LookupRequest,
|
||||
requestDeserialize: deserialize_mythos_cards_v0_LookupRequest,
|
||||
responseSerialize: serialize_mythos_cards_v0_LookupResponse,
|
||||
responseDeserialize: deserialize_mythos_cards_v0_LookupResponse,
|
||||
},
|
||||
});
|
||||
|
||||
var CardsService = exports.CardsService = {
|
||||
lookup: {
|
||||
path: '/mythos.cards.v0.Cards/Lookup',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cards_cards_pb.LookupRequest,
|
||||
responseType: cards_cards_pb.LookupResponse,
|
||||
requestSerialize: serialize_mythos_cards_v0_LookupRequest,
|
||||
requestDeserialize: deserialize_mythos_cards_v0_LookupRequest,
|
||||
responseSerialize: serialize_mythos_cards_v0_LookupResponse,
|
||||
responseDeserialize: deserialize_mythos_cards_v0_LookupResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.CardsClient = grpc.makeGenericClientConstructor(CardsService, 'Cards');
|
||||
exports.CardsClient = grpc.makeGenericClientConstructor(CardsService, "Cards");
|
||||
|
||||
+65
-57
@@ -4,78 +4,86 @@
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class LookupRequest extends jspb.Message {
|
||||
getAccessCode(): string;
|
||||
setAccessCode(value: string): void;
|
||||
getAccessCode(): string;
|
||||
setAccessCode(value: string): void;
|
||||
|
||||
clearTitlesList(): void;
|
||||
getTitlesList(): Array<string>;
|
||||
setTitlesList(value: Array<string>): void;
|
||||
addTitles(value: string, index?: number): string;
|
||||
clearTitlesList(): void;
|
||||
getTitlesList(): Array<string>;
|
||||
setTitlesList(value: Array<string>): void;
|
||||
addTitles(value: string, index?: number): string;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LookupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LookupRequest): LookupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LookupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LookupRequest;
|
||||
static deserializeBinaryFromReader(message: LookupRequest, reader: jspb.BinaryReader): LookupRequest;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LookupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LookupRequest): LookupRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: LookupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LookupRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: LookupRequest,
|
||||
reader: jspb.BinaryReader,
|
||||
): LookupRequest;
|
||||
}
|
||||
|
||||
export namespace LookupRequest {
|
||||
export type AsObject = {
|
||||
accessCode: string,
|
||||
titlesList: Array<string>,
|
||||
}
|
||||
export type AsObject = {
|
||||
accessCode: string;
|
||||
titlesList: Array<string>;
|
||||
};
|
||||
}
|
||||
|
||||
export class LookupResponse extends jspb.Message {
|
||||
getPlayerApiId(): string;
|
||||
setPlayerApiId(value: string): void;
|
||||
getPlayerApiId(): string;
|
||||
setPlayerApiId(value: string): void;
|
||||
|
||||
clearTitlesList(): void;
|
||||
getTitlesList(): Array<LookupResponse.TitleEntry>;
|
||||
setTitlesList(value: Array<LookupResponse.TitleEntry>): void;
|
||||
addTitles(value?: LookupResponse.TitleEntry, index?: number): LookupResponse.TitleEntry;
|
||||
clearTitlesList(): void;
|
||||
getTitlesList(): Array<LookupResponse.TitleEntry>;
|
||||
setTitlesList(value: Array<LookupResponse.TitleEntry>): void;
|
||||
addTitles(value?: LookupResponse.TitleEntry, index?: number): LookupResponse.TitleEntry;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LookupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LookupResponse): LookupResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LookupResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LookupResponse;
|
||||
static deserializeBinaryFromReader(message: LookupResponse, reader: jspb.BinaryReader): LookupResponse;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LookupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LookupResponse): LookupResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: LookupResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LookupResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: LookupResponse,
|
||||
reader: jspb.BinaryReader,
|
||||
): LookupResponse;
|
||||
}
|
||||
|
||||
export namespace LookupResponse {
|
||||
export type AsObject = {
|
||||
playerApiId: string,
|
||||
titlesList: Array<LookupResponse.TitleEntry.AsObject>,
|
||||
}
|
||||
export type AsObject = {
|
||||
playerApiId: string;
|
||||
titlesList: Array<LookupResponse.TitleEntry.AsObject>;
|
||||
};
|
||||
|
||||
export class TitleEntry extends jspb.Message {
|
||||
getTitleKind(): string;
|
||||
setTitleKind(value: string): void;
|
||||
export class TitleEntry extends jspb.Message {
|
||||
getTitleKind(): string;
|
||||
setTitleKind(value: string): void;
|
||||
|
||||
getTitleApiId(): string;
|
||||
setTitleApiId(value: string): void;
|
||||
getTitleApiId(): string;
|
||||
setTitleApiId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TitleEntry.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TitleEntry): TitleEntry.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: TitleEntry, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): TitleEntry;
|
||||
static deserializeBinaryFromReader(message: TitleEntry, reader: jspb.BinaryReader): TitleEntry;
|
||||
}
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TitleEntry.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TitleEntry): TitleEntry.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: TitleEntry, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): TitleEntry;
|
||||
static deserializeBinaryFromReader(
|
||||
message: TitleEntry,
|
||||
reader: jspb.BinaryReader,
|
||||
): TitleEntry;
|
||||
}
|
||||
|
||||
export namespace TitleEntry {
|
||||
export type AsObject = {
|
||||
titleKind: string,
|
||||
titleApiId: string,
|
||||
}
|
||||
}
|
||||
export namespace TitleEntry {
|
||||
export type AsObject = {
|
||||
titleKind: string;
|
||||
titleApiId: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,19 +11,27 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = (function() {
|
||||
if (this) { return this; }
|
||||
if (typeof window !== 'undefined') { return window; }
|
||||
if (typeof global !== 'undefined') { return global; }
|
||||
if (typeof self !== 'undefined') { return self; }
|
||||
return Function('return this')();
|
||||
}.call(null));
|
||||
var global = function () {
|
||||
if (this) {
|
||||
return this;
|
||||
}
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
if (typeof global !== "undefined") {
|
||||
return global;
|
||||
}
|
||||
if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol('proto.mythos.cards.v0.LookupRequest', null, global);
|
||||
goog.exportSymbol('proto.mythos.cards.v0.LookupResponse', null, global);
|
||||
goog.exportSymbol('proto.mythos.cards.v0.LookupResponse.TitleEntry', null, global);
|
||||
goog.exportSymbol("proto.mythos.cards.v0.LookupRequest", null, global);
|
||||
goog.exportSymbol("proto.mythos.cards.v0.LookupResponse", null, global);
|
||||
goog.exportSymbol("proto.mythos.cards.v0.LookupResponse.TitleEntry", null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
@@ -34,16 +42,23 @@ goog.exportSymbol('proto.mythos.cards.v0.LookupResponse.TitleEntry', null, globa
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.mythos.cards.v0.LookupRequest.repeatedFields_, null);
|
||||
proto.mythos.cards.v0.LookupRequest = function (opt_data) {
|
||||
jspb.Message.initialize(
|
||||
this,
|
||||
opt_data,
|
||||
0,
|
||||
-1,
|
||||
proto.mythos.cards.v0.LookupRequest.repeatedFields_,
|
||||
null,
|
||||
);
|
||||
};
|
||||
goog.inherits(proto.mythos.cards.v0.LookupRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.displayName = 'proto.mythos.cards.v0.LookupRequest';
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.displayName = "proto.mythos.cards.v0.LookupRequest";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@@ -55,16 +70,23 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.mythos.cards.v0.LookupResponse.repeatedFields_, null);
|
||||
proto.mythos.cards.v0.LookupResponse = function (opt_data) {
|
||||
jspb.Message.initialize(
|
||||
this,
|
||||
opt_data,
|
||||
0,
|
||||
-1,
|
||||
proto.mythos.cards.v0.LookupResponse.repeatedFields_,
|
||||
null,
|
||||
);
|
||||
};
|
||||
goog.inherits(proto.mythos.cards.v0.LookupResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.displayName = 'proto.mythos.cards.v0.LookupResponse';
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.displayName = "proto.mythos.cards.v0.LookupResponse";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@@ -76,16 +98,17 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry = function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.mythos.cards.v0.LookupResponse.TitleEntry, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.displayName = 'proto.mythos.cards.v0.LookupResponse.TitleEntry';
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.displayName =
|
||||
"proto.mythos.cards.v0.LookupResponse.TitleEntry";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -95,61 +118,57 @@ if (goog.DEBUG && !COMPILED) {
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.repeatedFields_ = [2];
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.mythos.cards.v0.LookupRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.toObject = function (opt_includeInstance) {
|
||||
return proto.mythos.cards.v0.LookupRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
accessCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titlesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
accessCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titlesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupRequest;
|
||||
return proto.mythos.cards.v0.LookupRequest.deserializeBinaryFromReader(msg, reader);
|
||||
proto.mythos.cards.v0.LookupRequest.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupRequest();
|
||||
return proto.mythos.cards.v0.LookupRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
@@ -157,41 +176,39 @@ proto.mythos.cards.v0.LookupRequest.deserializeBinary = function(bytes) {
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccessCode(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addTitles(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
proto.mythos.cards.v0.LookupRequest.deserializeBinaryFromReader = function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccessCode(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addTitles(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
@@ -199,81 +216,67 @@ proto.mythos.cards.v0.LookupRequest.prototype.serializeBinary = function() {
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getAccessCode();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getTitlesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
proto.mythos.cards.v0.LookupRequest.serializeBinaryToWriter = function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getAccessCode();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getTitlesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(2, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string access_code = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.getAccessCode = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.getAccessCode = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.setAccessCode = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.setAccessCode = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string titles = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.getTitlesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.getTitlesList = function () {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.setTitlesList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.setTitlesList = function (value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.addTitles = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.addTitles = function (value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.mythos.cards.v0.LookupRequest} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.clearTitlesList = function() {
|
||||
return this.setTitlesList([]);
|
||||
proto.mythos.cards.v0.LookupRequest.prototype.clearTitlesList = function () {
|
||||
return this.setTitlesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
@@ -281,62 +284,61 @@ proto.mythos.cards.v0.LookupRequest.prototype.clearTitlesList = function() {
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.repeatedFields_ = [2];
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.mythos.cards.v0.LookupResponse.toObject(opt_includeInstance, this);
|
||||
};
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.toObject = function (opt_includeInstance) {
|
||||
return proto.mythos.cards.v0.LookupResponse.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
playerApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titlesList: jspb.Message.toObjectList(
|
||||
msg.getTitlesList(),
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject,
|
||||
includeInstance,
|
||||
),
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
playerApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titlesList: jspb.Message.toObjectList(msg.getTitlesList(),
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject, includeInstance)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupResponse;
|
||||
return proto.mythos.cards.v0.LookupResponse.deserializeBinaryFromReader(msg, reader);
|
||||
proto.mythos.cards.v0.LookupResponse.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupResponse();
|
||||
return proto.mythos.cards.v0.LookupResponse.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
@@ -344,42 +346,43 @@ proto.mythos.cards.v0.LookupResponse.deserializeBinary = function(bytes) {
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPlayerApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new proto.mythos.cards.v0.LookupResponse.TitleEntry;
|
||||
reader.readMessage(value,proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader);
|
||||
msg.addTitles(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
proto.mythos.cards.v0.LookupResponse.deserializeBinaryFromReader = function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPlayerApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new proto.mythos.cards.v0.LookupResponse.TitleEntry();
|
||||
reader.readMessage(
|
||||
value,
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader,
|
||||
);
|
||||
msg.addTitles(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupResponse.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupResponse.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
@@ -387,82 +390,75 @@ proto.mythos.cards.v0.LookupResponse.prototype.serializeBinary = function() {
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPlayerApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getTitlesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
proto.mythos.cards.v0.LookupResponse.serializeBinaryToWriter = function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPlayerApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getTitlesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject(opt_includeInstance, this);
|
||||
};
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.toObject = function (
|
||||
opt_includeInstance,
|
||||
) {
|
||||
return proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupResponse.TitleEntry} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
titleKind: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titleApiId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.cards.v0.LookupResponse.TitleEntry} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
titleKind: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
titleApiId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse.TitleEntry}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupResponse.TitleEntry;
|
||||
return proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader(msg, reader);
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.cards.v0.LookupResponse.TitleEntry();
|
||||
return proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
@@ -470,41 +466,42 @@ proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinary = function(byt
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse.TitleEntry}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setTitleKind(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setTitleApiId(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.deserializeBinaryFromReader = function (
|
||||
msg,
|
||||
reader,
|
||||
) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setTitleKind(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setTitleApiId(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
@@ -512,115 +509,112 @@ proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.serializeBinary = func
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getTitleKind();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getTitleApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.serializeBinaryToWriter = function (
|
||||
message,
|
||||
writer,
|
||||
) {
|
||||
var f = undefined;
|
||||
f = message.getTitleKind();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getTitleApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string title_kind = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.getTitleKind = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.getTitleKind = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse.TitleEntry} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.setTitleKind = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.setTitleKind = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string title_api_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.getTitleApiId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.getTitleApiId = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse.TitleEntry} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.setTitleApiId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry.prototype.setTitleApiId = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string player_api_id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.getPlayerApiId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.getPlayerApiId = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.setPlayerApiId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.setPlayerApiId = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated TitleEntry titles = 2;
|
||||
* @return {!Array<!proto.mythos.cards.v0.LookupResponse.TitleEntry>}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.getTitlesList = function() {
|
||||
return /** @type{!Array<!proto.mythos.cards.v0.LookupResponse.TitleEntry>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.mythos.cards.v0.LookupResponse.TitleEntry, 2));
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.getTitlesList = function () {
|
||||
return /** @type{!Array<!proto.mythos.cards.v0.LookupResponse.TitleEntry>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(
|
||||
this,
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry,
|
||||
2,
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.mythos.cards.v0.LookupResponse.TitleEntry>} value
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.setTitlesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.setTitlesList = function (value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.mythos.cards.v0.LookupResponse.TitleEntry=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse.TitleEntry}
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.addTitles = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.mythos.cards.v0.LookupResponse.TitleEntry, opt_index);
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.addTitles = function (opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(
|
||||
this,
|
||||
2,
|
||||
opt_value,
|
||||
proto.mythos.cards.v0.LookupResponse.TitleEntry,
|
||||
opt_index,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.mythos.cards.v0.LookupResponse} returns this
|
||||
*/
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.clearTitlesList = function() {
|
||||
return this.setTitlesList([]);
|
||||
proto.mythos.cards.v0.LookupResponse.prototype.clearTitlesList = function () {
|
||||
return this.setTitlesList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.mythos.cards.v0);
|
||||
|
||||
@@ -1 +1 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
|
||||
+38
-39
@@ -4,65 +4,64 @@
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export interface ChunithmClearStatusMap {
|
||||
CHUNITHM_CLEAR_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_CLEAR_STATUS_FAILED: 1;
|
||||
CHUNITHM_CLEAR_STATUS_CLEAR: 2;
|
||||
CHUNITHM_CLEAR_STATUS_HARD: 3;
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE: 4;
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE_PLUS: 5;
|
||||
CHUNITHM_CLEAR_STATUS_CATASTROPHY: 6;
|
||||
CHUNITHM_CLEAR_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_CLEAR_STATUS_FAILED: 1;
|
||||
CHUNITHM_CLEAR_STATUS_CLEAR: 2;
|
||||
CHUNITHM_CLEAR_STATUS_HARD: 3;
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE: 4;
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE_PLUS: 5;
|
||||
CHUNITHM_CLEAR_STATUS_CATASTROPHY: 6;
|
||||
}
|
||||
|
||||
export const ChunithmClearStatus: ChunithmClearStatusMap;
|
||||
|
||||
export interface ChunithmFullChainStatusMap {
|
||||
CHUNITHM_FULL_CHAIN_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_NONE: 1;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_FC: 2;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_AJ: 3;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_NONE: 1;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_FC: 2;
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_AJ: 3;
|
||||
}
|
||||
|
||||
export const ChunithmFullChainStatus: ChunithmFullChainStatusMap;
|
||||
|
||||
export interface ChunithmLevelMap {
|
||||
CHUNITHM_LEVEL_UNSPECIFIED: 0;
|
||||
CHUNITHM_LEVEL_BASIC: 1;
|
||||
CHUNITHM_LEVEL_ADVANCED: 2;
|
||||
CHUNITHM_LEVEL_EXPERT: 3;
|
||||
CHUNITHM_LEVEL_MASTER: 4;
|
||||
CHUNITHM_LEVEL_ULTIMA: 5;
|
||||
CHUNITHM_LEVEL_WORLDS_END: 6;
|
||||
CHUNITHM_LEVEL_UNSPECIFIED: 0;
|
||||
CHUNITHM_LEVEL_BASIC: 1;
|
||||
CHUNITHM_LEVEL_ADVANCED: 2;
|
||||
CHUNITHM_LEVEL_EXPERT: 3;
|
||||
CHUNITHM_LEVEL_MASTER: 4;
|
||||
CHUNITHM_LEVEL_ULTIMA: 5;
|
||||
CHUNITHM_LEVEL_WORLDS_END: 6;
|
||||
}
|
||||
|
||||
export const ChunithmLevel: ChunithmLevelMap;
|
||||
|
||||
export interface ChunithmScoreRankMap {
|
||||
CHUNITHM_SCORE_RANK_UNSPECIFIED: 0;
|
||||
CHUNITHM_SCORE_RANK_D: 1;
|
||||
CHUNITHM_SCORE_RANK_C: 2;
|
||||
CHUNITHM_SCORE_RANK_B: 3;
|
||||
CHUNITHM_SCORE_RANK_BB: 4;
|
||||
CHUNITHM_SCORE_RANK_BBB: 5;
|
||||
CHUNITHM_SCORE_RANK_A: 6;
|
||||
CHUNITHM_SCORE_RANK_AA: 7;
|
||||
CHUNITHM_SCORE_RANK_AAA: 8;
|
||||
CHUNITHM_SCORE_RANK_S: 9;
|
||||
CHUNITHM_SCORE_RANK_S_PLUS: 10;
|
||||
CHUNITHM_SCORE_RANK_SS: 11;
|
||||
CHUNITHM_SCORE_RANK_SS_PLUS: 12;
|
||||
CHUNITHM_SCORE_RANK_SSS: 13;
|
||||
CHUNITHM_SCORE_RANK_SSS_PLUS: 14;
|
||||
CHUNITHM_SCORE_RANK_UNSPECIFIED: 0;
|
||||
CHUNITHM_SCORE_RANK_D: 1;
|
||||
CHUNITHM_SCORE_RANK_C: 2;
|
||||
CHUNITHM_SCORE_RANK_B: 3;
|
||||
CHUNITHM_SCORE_RANK_BB: 4;
|
||||
CHUNITHM_SCORE_RANK_BBB: 5;
|
||||
CHUNITHM_SCORE_RANK_A: 6;
|
||||
CHUNITHM_SCORE_RANK_AA: 7;
|
||||
CHUNITHM_SCORE_RANK_AAA: 8;
|
||||
CHUNITHM_SCORE_RANK_S: 9;
|
||||
CHUNITHM_SCORE_RANK_S_PLUS: 10;
|
||||
CHUNITHM_SCORE_RANK_SS: 11;
|
||||
CHUNITHM_SCORE_RANK_SS_PLUS: 12;
|
||||
CHUNITHM_SCORE_RANK_SSS: 13;
|
||||
CHUNITHM_SCORE_RANK_SSS_PLUS: 14;
|
||||
}
|
||||
|
||||
export const ChunithmScoreRank: ChunithmScoreRankMap;
|
||||
|
||||
export interface ChunithmComboStatusMap {
|
||||
CHUNITHM_COMBO_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_COMBO_STATUS_NONE: 1;
|
||||
CHUNITHM_COMBO_STATUS_FULL_COMBO: 2;
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE: 3;
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE_CRITICAL: 4;
|
||||
CHUNITHM_COMBO_STATUS_UNSPECIFIED: 0;
|
||||
CHUNITHM_COMBO_STATUS_NONE: 1;
|
||||
CHUNITHM_COMBO_STATUS_FULL_COMBO: 2;
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE: 3;
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE_CRITICAL: 4;
|
||||
}
|
||||
|
||||
export const ChunithmComboStatus: ChunithmComboStatusMap;
|
||||
|
||||
|
||||
@@ -11,87 +11,95 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = (function() {
|
||||
if (this) { return this; }
|
||||
if (typeof window !== 'undefined') { return window; }
|
||||
if (typeof global !== 'undefined') { return global; }
|
||||
if (typeof self !== 'undefined') { return self; }
|
||||
return Function('return this')();
|
||||
}.call(null));
|
||||
var global = function () {
|
||||
if (this) {
|
||||
return this;
|
||||
}
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
if (typeof global !== "undefined") {
|
||||
return global;
|
||||
}
|
||||
if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.ChunithmClearStatus', null, global);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.ChunithmComboStatus', null, global);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.ChunithmFullChainStatus', null, global);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.ChunithmLevel', null, global);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.ChunithmScoreRank', null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.ChunithmClearStatus", null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.ChunithmComboStatus", null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.ChunithmFullChainStatus", null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.ChunithmLevel", null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.ChunithmScoreRank", null, global);
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.ChunithmClearStatus = {
|
||||
CHUNITHM_CLEAR_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_CLEAR_STATUS_FAILED: 1,
|
||||
CHUNITHM_CLEAR_STATUS_CLEAR: 2,
|
||||
CHUNITHM_CLEAR_STATUS_HARD: 3,
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE: 4,
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE_PLUS: 5,
|
||||
CHUNITHM_CLEAR_STATUS_CATASTROPHY: 6
|
||||
CHUNITHM_CLEAR_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_CLEAR_STATUS_FAILED: 1,
|
||||
CHUNITHM_CLEAR_STATUS_CLEAR: 2,
|
||||
CHUNITHM_CLEAR_STATUS_HARD: 3,
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE: 4,
|
||||
CHUNITHM_CLEAR_STATUS_ABSOLUTE_PLUS: 5,
|
||||
CHUNITHM_CLEAR_STATUS_CATASTROPHY: 6,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.ChunithmFullChainStatus = {
|
||||
CHUNITHM_FULL_CHAIN_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_NONE: 1,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_FC: 2,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_AJ: 3
|
||||
CHUNITHM_FULL_CHAIN_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_NONE: 1,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_FC: 2,
|
||||
CHUNITHM_FULL_CHAIN_STATUS_FULL_CHAIN_AJ: 3,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.ChunithmLevel = {
|
||||
CHUNITHM_LEVEL_UNSPECIFIED: 0,
|
||||
CHUNITHM_LEVEL_BASIC: 1,
|
||||
CHUNITHM_LEVEL_ADVANCED: 2,
|
||||
CHUNITHM_LEVEL_EXPERT: 3,
|
||||
CHUNITHM_LEVEL_MASTER: 4,
|
||||
CHUNITHM_LEVEL_ULTIMA: 5,
|
||||
CHUNITHM_LEVEL_WORLDS_END: 6
|
||||
CHUNITHM_LEVEL_UNSPECIFIED: 0,
|
||||
CHUNITHM_LEVEL_BASIC: 1,
|
||||
CHUNITHM_LEVEL_ADVANCED: 2,
|
||||
CHUNITHM_LEVEL_EXPERT: 3,
|
||||
CHUNITHM_LEVEL_MASTER: 4,
|
||||
CHUNITHM_LEVEL_ULTIMA: 5,
|
||||
CHUNITHM_LEVEL_WORLDS_END: 6,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.ChunithmScoreRank = {
|
||||
CHUNITHM_SCORE_RANK_UNSPECIFIED: 0,
|
||||
CHUNITHM_SCORE_RANK_D: 1,
|
||||
CHUNITHM_SCORE_RANK_C: 2,
|
||||
CHUNITHM_SCORE_RANK_B: 3,
|
||||
CHUNITHM_SCORE_RANK_BB: 4,
|
||||
CHUNITHM_SCORE_RANK_BBB: 5,
|
||||
CHUNITHM_SCORE_RANK_A: 6,
|
||||
CHUNITHM_SCORE_RANK_AA: 7,
|
||||
CHUNITHM_SCORE_RANK_AAA: 8,
|
||||
CHUNITHM_SCORE_RANK_S: 9,
|
||||
CHUNITHM_SCORE_RANK_S_PLUS: 10,
|
||||
CHUNITHM_SCORE_RANK_SS: 11,
|
||||
CHUNITHM_SCORE_RANK_SS_PLUS: 12,
|
||||
CHUNITHM_SCORE_RANK_SSS: 13,
|
||||
CHUNITHM_SCORE_RANK_SSS_PLUS: 14
|
||||
CHUNITHM_SCORE_RANK_UNSPECIFIED: 0,
|
||||
CHUNITHM_SCORE_RANK_D: 1,
|
||||
CHUNITHM_SCORE_RANK_C: 2,
|
||||
CHUNITHM_SCORE_RANK_B: 3,
|
||||
CHUNITHM_SCORE_RANK_BB: 4,
|
||||
CHUNITHM_SCORE_RANK_BBB: 5,
|
||||
CHUNITHM_SCORE_RANK_A: 6,
|
||||
CHUNITHM_SCORE_RANK_AA: 7,
|
||||
CHUNITHM_SCORE_RANK_AAA: 8,
|
||||
CHUNITHM_SCORE_RANK_S: 9,
|
||||
CHUNITHM_SCORE_RANK_S_PLUS: 10,
|
||||
CHUNITHM_SCORE_RANK_SS: 11,
|
||||
CHUNITHM_SCORE_RANK_SS_PLUS: 12,
|
||||
CHUNITHM_SCORE_RANK_SSS: 13,
|
||||
CHUNITHM_SCORE_RANK_SSS_PLUS: 14,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.ChunithmComboStatus = {
|
||||
CHUNITHM_COMBO_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_COMBO_STATUS_NONE: 1,
|
||||
CHUNITHM_COMBO_STATUS_FULL_COMBO: 2,
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE: 3,
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE_CRITICAL: 4
|
||||
CHUNITHM_COMBO_STATUS_UNSPECIFIED: 0,
|
||||
CHUNITHM_COMBO_STATUS_NONE: 1,
|
||||
CHUNITHM_COMBO_STATUS_FULL_COMBO: 2,
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE: 3,
|
||||
CHUNITHM_COMBO_STATUS_ALL_JUSTICE_CRITICAL: 4,
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.mythos.chunithm.v0);
|
||||
|
||||
@@ -1 +1 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
|
||||
+84
-69
@@ -5,98 +5,113 @@ import * as jspb from "google-protobuf";
|
||||
import * as chunithm_common_pb from "../chunithm/common_pb";
|
||||
|
||||
export class PlaylogInfo extends jspb.Message {
|
||||
getMusicId(): number;
|
||||
setMusicId(value: number): void;
|
||||
getMusicId(): number;
|
||||
setMusicId(value: number): void;
|
||||
|
||||
getLevel(): chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap];
|
||||
setLevel(value: chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap]): void;
|
||||
getLevel(): chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap];
|
||||
setLevel(
|
||||
value: chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap],
|
||||
): void;
|
||||
|
||||
getScore(): number;
|
||||
setScore(value: number): void;
|
||||
getScore(): number;
|
||||
setScore(value: number): void;
|
||||
|
||||
getScoreRank(): chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap];
|
||||
setScoreRank(value: chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap]): void;
|
||||
getScoreRank(): chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap];
|
||||
setScoreRank(
|
||||
value: chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap],
|
||||
): void;
|
||||
|
||||
getComboStatus(): chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap];
|
||||
setComboStatus(value: chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap]): void;
|
||||
getComboStatus(): chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap];
|
||||
setComboStatus(
|
||||
value: chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap],
|
||||
): void;
|
||||
|
||||
getFullChainStatus(): chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap];
|
||||
setFullChainStatus(value: chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap]): void;
|
||||
getFullChainStatus(): chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap];
|
||||
setFullChainStatus(
|
||||
value: chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap],
|
||||
): void;
|
||||
|
||||
getClearStatus(): chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap];
|
||||
setClearStatus(value: chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap]): void;
|
||||
getClearStatus(): chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap];
|
||||
setClearStatus(
|
||||
value: chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap],
|
||||
): void;
|
||||
|
||||
getIsNewRecord(): boolean;
|
||||
setIsNewRecord(value: boolean): void;
|
||||
getIsNewRecord(): boolean;
|
||||
setIsNewRecord(value: boolean): void;
|
||||
|
||||
getTrack(): number;
|
||||
setTrack(value: number): void;
|
||||
getTrack(): number;
|
||||
setTrack(value: number): void;
|
||||
|
||||
getUserPlayDate(): string;
|
||||
setUserPlayDate(value: string): void;
|
||||
getUserPlayDate(): string;
|
||||
setUserPlayDate(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogInfo.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogInfo): PlaylogInfo.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlaylogInfo, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogInfo;
|
||||
static deserializeBinaryFromReader(message: PlaylogInfo, reader: jspb.BinaryReader): PlaylogInfo;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogInfo.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogInfo): PlaylogInfo.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: PlaylogInfo, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogInfo;
|
||||
static deserializeBinaryFromReader(
|
||||
message: PlaylogInfo,
|
||||
reader: jspb.BinaryReader,
|
||||
): PlaylogInfo;
|
||||
}
|
||||
|
||||
export namespace PlaylogInfo {
|
||||
export type AsObject = {
|
||||
musicId: number,
|
||||
level: chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap],
|
||||
score: number,
|
||||
scoreRank: chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap],
|
||||
comboStatus: chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap],
|
||||
fullChainStatus: chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap],
|
||||
clearStatus: chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap],
|
||||
isNewRecord: boolean,
|
||||
track: number,
|
||||
userPlayDate: string,
|
||||
}
|
||||
export type AsObject = {
|
||||
musicId: number;
|
||||
level: chunithm_common_pb.ChunithmLevelMap[keyof chunithm_common_pb.ChunithmLevelMap];
|
||||
score: number;
|
||||
scoreRank: chunithm_common_pb.ChunithmScoreRankMap[keyof chunithm_common_pb.ChunithmScoreRankMap];
|
||||
comboStatus: chunithm_common_pb.ChunithmComboStatusMap[keyof chunithm_common_pb.ChunithmComboStatusMap];
|
||||
fullChainStatus: chunithm_common_pb.ChunithmFullChainStatusMap[keyof chunithm_common_pb.ChunithmFullChainStatusMap];
|
||||
clearStatus: chunithm_common_pb.ChunithmClearStatusMap[keyof chunithm_common_pb.ChunithmClearStatusMap];
|
||||
isNewRecord: boolean;
|
||||
track: number;
|
||||
userPlayDate: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class PlaylogJudge extends jspb.Message {
|
||||
getJudgeHeaven(): number;
|
||||
setJudgeHeaven(value: number): void;
|
||||
getJudgeHeaven(): number;
|
||||
setJudgeHeaven(value: number): void;
|
||||
|
||||
getJudgeCritical(): number;
|
||||
setJudgeCritical(value: number): void;
|
||||
getJudgeCritical(): number;
|
||||
setJudgeCritical(value: number): void;
|
||||
|
||||
getJudgeJustice(): number;
|
||||
setJudgeJustice(value: number): void;
|
||||
getJudgeJustice(): number;
|
||||
setJudgeJustice(value: number): void;
|
||||
|
||||
getJudgeAttack(): number;
|
||||
setJudgeAttack(value: number): void;
|
||||
getJudgeAttack(): number;
|
||||
setJudgeAttack(value: number): void;
|
||||
|
||||
getJudgeMiss(): number;
|
||||
setJudgeMiss(value: number): void;
|
||||
getJudgeMiss(): number;
|
||||
setJudgeMiss(value: number): void;
|
||||
|
||||
getMaxCombo(): number;
|
||||
setMaxCombo(value: number): void;
|
||||
getMaxCombo(): number;
|
||||
setMaxCombo(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogJudge.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogJudge): PlaylogJudge.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlaylogJudge, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogJudge;
|
||||
static deserializeBinaryFromReader(message: PlaylogJudge, reader: jspb.BinaryReader): PlaylogJudge;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogJudge.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogJudge): PlaylogJudge.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: PlaylogJudge, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogJudge;
|
||||
static deserializeBinaryFromReader(
|
||||
message: PlaylogJudge,
|
||||
reader: jspb.BinaryReader,
|
||||
): PlaylogJudge;
|
||||
}
|
||||
|
||||
export namespace PlaylogJudge {
|
||||
export type AsObject = {
|
||||
judgeHeaven: number,
|
||||
judgeCritical: number,
|
||||
judgeJustice: number,
|
||||
judgeAttack: number,
|
||||
judgeMiss: number,
|
||||
maxCombo: number,
|
||||
}
|
||||
export type AsObject = {
|
||||
judgeHeaven: number;
|
||||
judgeCritical: number;
|
||||
judgeJustice: number;
|
||||
judgeAttack: number;
|
||||
judgeMiss: number;
|
||||
maxCombo: number;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,17 +7,30 @@ import * as chunithm_user_pb from "../chunithm/user_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IChunithmUserService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
getPlaylog: grpc.MethodDefinition<chunithm_user_pb.GetPlaylogRequest, chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
getPlaylog: grpc.MethodDefinition<
|
||||
chunithm_user_pb.GetPlaylogRequest,
|
||||
chunithm_user_pb.GetPlaylogStreamItem
|
||||
>;
|
||||
}
|
||||
|
||||
export const ChunithmUserService: IChunithmUserService;
|
||||
|
||||
export interface IChunithmUserServer extends grpc.UntypedServiceImplementation {
|
||||
getPlaylog: grpc.handleServerStreamingCall<chunithm_user_pb.GetPlaylogRequest, chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
getPlaylog: grpc.handleServerStreamingCall<
|
||||
chunithm_user_pb.GetPlaylogRequest,
|
||||
chunithm_user_pb.GetPlaylogStreamItem
|
||||
>;
|
||||
}
|
||||
|
||||
export class ChunithmUserClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
getPlaylog(argument: chunithm_user_pb.GetPlaylogRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
getPlaylog(argument: chunithm_user_pb.GetPlaylogRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
getPlaylog(
|
||||
argument: chunithm_user_pb.GetPlaylogRequest,
|
||||
metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null,
|
||||
): grpc.ClientReadableStream<chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
getPlaylog(
|
||||
argument: chunithm_user_pb.GetPlaylogRequest,
|
||||
metadata?: grpc.Metadata | null,
|
||||
options?: grpc.CallOptions | null,
|
||||
): grpc.ClientReadableStream<chunithm_user_pb.GetPlaylogStreamItem>;
|
||||
}
|
||||
|
||||
@@ -1,45 +1,44 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var chunithm_user_pb = require('../chunithm/user_pb.js');
|
||||
var chunithm_playlog_pb = require('../chunithm/playlog_pb.js');
|
||||
"use strict";
|
||||
var grpc = require("@grpc/grpc-js");
|
||||
var chunithm_user_pb = require("../chunithm/user_pb.js");
|
||||
var chunithm_playlog_pb = require("../chunithm/playlog_pb.js");
|
||||
|
||||
function serialize_mythos_chunithm_v0_GetPlaylogRequest(arg) {
|
||||
if (!(arg instanceof chunithm_user_pb.GetPlaylogRequest)) {
|
||||
throw new Error('Expected argument of type mythos.chunithm.v0.GetPlaylogRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
if (!(arg instanceof chunithm_user_pb.GetPlaylogRequest)) {
|
||||
throw new Error("Expected argument of type mythos.chunithm.v0.GetPlaylogRequest");
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_mythos_chunithm_v0_GetPlaylogRequest(buffer_arg) {
|
||||
return chunithm_user_pb.GetPlaylogRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
return chunithm_user_pb.GetPlaylogRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_mythos_chunithm_v0_GetPlaylogStreamItem(arg) {
|
||||
if (!(arg instanceof chunithm_user_pb.GetPlaylogStreamItem)) {
|
||||
throw new Error('Expected argument of type mythos.chunithm.v0.GetPlaylogStreamItem');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
if (!(arg instanceof chunithm_user_pb.GetPlaylogStreamItem)) {
|
||||
throw new Error("Expected argument of type mythos.chunithm.v0.GetPlaylogStreamItem");
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_mythos_chunithm_v0_GetPlaylogStreamItem(buffer_arg) {
|
||||
return chunithm_user_pb.GetPlaylogStreamItem.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
return chunithm_user_pb.GetPlaylogStreamItem.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
var ChunithmUserService = (exports.ChunithmUserService = {
|
||||
getPlaylog: {
|
||||
path: "/mythos.chunithm.v0.ChunithmUser/GetPlaylog",
|
||||
requestStream: false,
|
||||
responseStream: true,
|
||||
requestType: chunithm_user_pb.GetPlaylogRequest,
|
||||
responseType: chunithm_user_pb.GetPlaylogStreamItem,
|
||||
requestSerialize: serialize_mythos_chunithm_v0_GetPlaylogRequest,
|
||||
requestDeserialize: deserialize_mythos_chunithm_v0_GetPlaylogRequest,
|
||||
responseSerialize: serialize_mythos_chunithm_v0_GetPlaylogStreamItem,
|
||||
responseDeserialize: deserialize_mythos_chunithm_v0_GetPlaylogStreamItem,
|
||||
},
|
||||
});
|
||||
|
||||
var ChunithmUserService = exports.ChunithmUserService = {
|
||||
getPlaylog: {
|
||||
path: '/mythos.chunithm.v0.ChunithmUser/GetPlaylog',
|
||||
requestStream: false,
|
||||
responseStream: true,
|
||||
requestType: chunithm_user_pb.GetPlaylogRequest,
|
||||
responseType: chunithm_user_pb.GetPlaylogStreamItem,
|
||||
requestSerialize: serialize_mythos_chunithm_v0_GetPlaylogRequest,
|
||||
requestDeserialize: deserialize_mythos_chunithm_v0_GetPlaylogRequest,
|
||||
responseSerialize: serialize_mythos_chunithm_v0_GetPlaylogStreamItem,
|
||||
responseDeserialize: deserialize_mythos_chunithm_v0_GetPlaylogStreamItem,
|
||||
},
|
||||
};
|
||||
|
||||
exports.ChunithmUserClient = grpc.makeGenericClientConstructor(ChunithmUserService, 'ChunithmUser');
|
||||
exports.ChunithmUserClient = grpc.makeGenericClientConstructor(ChunithmUserService, "ChunithmUser");
|
||||
|
||||
+55
-47
@@ -5,66 +5,74 @@ import * as jspb from "google-protobuf";
|
||||
import * as chunithm_playlog_pb from "../chunithm/playlog_pb";
|
||||
|
||||
export class GetPlaylogRequest extends jspb.Message {
|
||||
getProfileApiId(): string;
|
||||
setProfileApiId(value: string): void;
|
||||
getProfileApiId(): string;
|
||||
setProfileApiId(value: string): void;
|
||||
|
||||
hasLastUserPlayDate(): boolean;
|
||||
clearLastUserPlayDate(): void;
|
||||
getLastUserPlayDate(): string;
|
||||
setLastUserPlayDate(value: string): void;
|
||||
hasLastUserPlayDate(): boolean;
|
||||
clearLastUserPlayDate(): void;
|
||||
getLastUserPlayDate(): string;
|
||||
setLastUserPlayDate(value: string): void;
|
||||
|
||||
hasLimit(): boolean;
|
||||
clearLimit(): void;
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
hasLimit(): boolean;
|
||||
clearLimit(): void;
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetPlaylogRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetPlaylogRequest): GetPlaylogRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetPlaylogRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetPlaylogRequest;
|
||||
static deserializeBinaryFromReader(message: GetPlaylogRequest, reader: jspb.BinaryReader): GetPlaylogRequest;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetPlaylogRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetPlaylogRequest): GetPlaylogRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: GetPlaylogRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetPlaylogRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetPlaylogRequest,
|
||||
reader: jspb.BinaryReader,
|
||||
): GetPlaylogRequest;
|
||||
}
|
||||
|
||||
export namespace GetPlaylogRequest {
|
||||
export type AsObject = {
|
||||
profileApiId: string,
|
||||
lastUserPlayDate: string,
|
||||
limit: number,
|
||||
}
|
||||
export type AsObject = {
|
||||
profileApiId: string;
|
||||
lastUserPlayDate: string;
|
||||
limit: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class GetPlaylogStreamItem extends jspb.Message {
|
||||
getPlaylogApiId(): string;
|
||||
setPlaylogApiId(value: string): void;
|
||||
getPlaylogApiId(): string;
|
||||
setPlaylogApiId(value: string): void;
|
||||
|
||||
hasInfo(): boolean;
|
||||
clearInfo(): void;
|
||||
getInfo(): chunithm_playlog_pb.PlaylogInfo | undefined;
|
||||
setInfo(value?: chunithm_playlog_pb.PlaylogInfo): void;
|
||||
hasInfo(): boolean;
|
||||
clearInfo(): void;
|
||||
getInfo(): chunithm_playlog_pb.PlaylogInfo | undefined;
|
||||
setInfo(value?: chunithm_playlog_pb.PlaylogInfo): void;
|
||||
|
||||
hasJudge(): boolean;
|
||||
clearJudge(): void;
|
||||
getJudge(): chunithm_playlog_pb.PlaylogJudge | undefined;
|
||||
setJudge(value?: chunithm_playlog_pb.PlaylogJudge): void;
|
||||
hasJudge(): boolean;
|
||||
clearJudge(): void;
|
||||
getJudge(): chunithm_playlog_pb.PlaylogJudge | undefined;
|
||||
setJudge(value?: chunithm_playlog_pb.PlaylogJudge): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetPlaylogStreamItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetPlaylogStreamItem): GetPlaylogStreamItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetPlaylogStreamItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetPlaylogStreamItem;
|
||||
static deserializeBinaryFromReader(message: GetPlaylogStreamItem, reader: jspb.BinaryReader): GetPlaylogStreamItem;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetPlaylogStreamItem.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetPlaylogStreamItem,
|
||||
): GetPlaylogStreamItem.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: GetPlaylogStreamItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetPlaylogStreamItem;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetPlaylogStreamItem,
|
||||
reader: jspb.BinaryReader,
|
||||
): GetPlaylogStreamItem;
|
||||
}
|
||||
|
||||
export namespace GetPlaylogStreamItem {
|
||||
export type AsObject = {
|
||||
playlogApiId: string,
|
||||
info?: chunithm_playlog_pb.PlaylogInfo.AsObject,
|
||||
judge?: chunithm_playlog_pb.PlaylogJudge.AsObject,
|
||||
}
|
||||
export type AsObject = {
|
||||
playlogApiId: string;
|
||||
info?: chunithm_playlog_pb.PlaylogInfo.AsObject;
|
||||
judge?: chunithm_playlog_pb.PlaylogJudge.AsObject;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -11,20 +11,28 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = (function() {
|
||||
if (this) { return this; }
|
||||
if (typeof window !== 'undefined') { return window; }
|
||||
if (typeof global !== 'undefined') { return global; }
|
||||
if (typeof self !== 'undefined') { return self; }
|
||||
return Function('return this')();
|
||||
}.call(null));
|
||||
var global = function () {
|
||||
if (this) {
|
||||
return this;
|
||||
}
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
if (typeof global !== "undefined") {
|
||||
return global;
|
||||
}
|
||||
if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
var chunithm_playlog_pb = require('../chunithm/playlog_pb.js');
|
||||
var chunithm_playlog_pb = require("../chunithm/playlog_pb.js");
|
||||
goog.object.extend(proto, chunithm_playlog_pb);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.GetPlaylogRequest', null, global);
|
||||
goog.exportSymbol('proto.mythos.chunithm.v0.GetPlaylogStreamItem', null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.GetPlaylogRequest", null, global);
|
||||
goog.exportSymbol("proto.mythos.chunithm.v0.GetPlaylogStreamItem", null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
@@ -35,16 +43,17 @@ goog.exportSymbol('proto.mythos.chunithm.v0.GetPlaylogStreamItem', null, global)
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest = function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.mythos.chunithm.v0.GetPlaylogRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.displayName = 'proto.mythos.chunithm.v0.GetPlaylogRequest';
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.displayName =
|
||||
"proto.mythos.chunithm.v0.GetPlaylogRequest";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@@ -56,74 +65,71 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem = function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.mythos.chunithm.v0.GetPlaylogStreamItem, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.displayName = 'proto.mythos.chunithm.v0.GetPlaylogStreamItem';
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.displayName =
|
||||
"proto.mythos.chunithm.v0.GetPlaylogStreamItem";
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.mythos.chunithm.v0.GetPlaylogRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.toObject = function (opt_includeInstance) {
|
||||
return proto.mythos.chunithm.v0.GetPlaylogRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.chunithm.v0.GetPlaylogRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
profileApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
lastUserPlayDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.chunithm.v0.GetPlaylogRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
profileApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
lastUserPlayDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.chunithm.v0.GetPlaylogRequest;
|
||||
return proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinaryFromReader(msg, reader);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.chunithm.v0.GetPlaylogRequest();
|
||||
return proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
@@ -131,45 +137,43 @@ proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinary = function(bytes) {
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setProfileApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setLastUserPlayDate(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setLimit(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.deserializeBinaryFromReader = function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setProfileApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setLastUserPlayDate(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setLimit(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
@@ -177,179 +181,160 @@ proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.serializeBinary = function(
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getProfileApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
||||
if (f != null) {
|
||||
writer.writeUint64(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.serializeBinaryToWriter = function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getProfileApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||
if (f != null) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
||||
if (f != null) {
|
||||
writer.writeUint64(3, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string profile_api_id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getProfileApiId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getProfileApiId = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setProfileApiId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setProfileApiId = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string last_user_play_date = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getLastUserPlayDate = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getLastUserPlayDate = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setLastUserPlayDate = function(value) {
|
||||
return jspb.Message.setField(this, 2, value);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setLastUserPlayDate = function (value) {
|
||||
return jspb.Message.setField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.clearLastUserPlayDate = function() {
|
||||
return jspb.Message.setField(this, 2, undefined);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.clearLastUserPlayDate = function () {
|
||||
return jspb.Message.setField(this, 2, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.hasLastUserPlayDate = function() {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.hasLastUserPlayDate = function () {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 limit = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getLimit = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.getLimit = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setLimit = function(value) {
|
||||
return jspb.Message.setField(this, 3, value);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.setLimit = function (value) {
|
||||
return jspb.Message.setField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogRequest} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.clearLimit = function() {
|
||||
return jspb.Message.setField(this, 3, undefined);
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.clearLimit = function () {
|
||||
return jspb.Message.setField(this, 3, undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.hasLimit = function() {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
proto.mythos.chunithm.v0.GetPlaylogRequest.prototype.hasLimit = function () {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.mythos.chunithm.v0.GetPlaylogStreamItem.toObject(opt_includeInstance, this);
|
||||
};
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.toObject = function (
|
||||
opt_includeInstance,
|
||||
) {
|
||||
return proto.mythos.chunithm.v0.GetPlaylogStreamItem.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
playlogApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
info:
|
||||
(f = msg.getInfo()) &&
|
||||
chunithm_playlog_pb.PlaylogInfo.toObject(includeInstance, f),
|
||||
judge:
|
||||
(f = msg.getJudge()) &&
|
||||
chunithm_playlog_pb.PlaylogJudge.toObject(includeInstance, f),
|
||||
};
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
playlogApiId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
info: (f = msg.getInfo()) && chunithm_playlog_pb.PlaylogInfo.toObject(includeInstance, f),
|
||||
judge: (f = msg.getJudge()) && chunithm_playlog_pb.PlaylogJudge.toObject(includeInstance, f)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.chunithm.v0.GetPlaylogStreamItem;
|
||||
return proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinaryFromReader(msg, reader);
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.mythos.chunithm.v0.GetPlaylogStreamItem();
|
||||
return proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
@@ -357,47 +342,51 @@ proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinary = function(bytes
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPlaylogApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new chunithm_playlog_pb.PlaylogInfo;
|
||||
reader.readMessage(value,chunithm_playlog_pb.PlaylogInfo.deserializeBinaryFromReader);
|
||||
msg.setInfo(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new chunithm_playlog_pb.PlaylogJudge;
|
||||
reader.readMessage(value,chunithm_playlog_pb.PlaylogJudge.deserializeBinaryFromReader);
|
||||
msg.setJudge(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.deserializeBinaryFromReader = function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPlaylogApiId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new chunithm_playlog_pb.PlaylogInfo();
|
||||
reader.readMessage(
|
||||
value,
|
||||
chunithm_playlog_pb.PlaylogInfo.deserializeBinaryFromReader,
|
||||
);
|
||||
msg.setInfo(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new chunithm_playlog_pb.PlaylogJudge();
|
||||
reader.readMessage(
|
||||
value,
|
||||
chunithm_playlog_pb.PlaylogJudge.deserializeBinaryFromReader,
|
||||
);
|
||||
msg.setJudge(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
@@ -405,124 +394,104 @@ proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.serializeBinary = functi
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPlaylogApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getInfo();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
2,
|
||||
f,
|
||||
chunithm_playlog_pb.PlaylogInfo.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getJudge();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
3,
|
||||
f,
|
||||
chunithm_playlog_pb.PlaylogJudge.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.serializeBinaryToWriter = function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPlaylogApiId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getInfo();
|
||||
if (f != null) {
|
||||
writer.writeMessage(2, f, chunithm_playlog_pb.PlaylogInfo.serializeBinaryToWriter);
|
||||
}
|
||||
f = message.getJudge();
|
||||
if (f != null) {
|
||||
writer.writeMessage(3, f, chunithm_playlog_pb.PlaylogJudge.serializeBinaryToWriter);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string playlog_api_id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getPlaylogApiId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getPlaylogApiId = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setPlaylogApiId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setPlaylogApiId = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PlaylogInfo info = 2;
|
||||
* @return {?proto.mythos.chunithm.v0.PlaylogInfo}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getInfo = function() {
|
||||
return /** @type{?proto.mythos.chunithm.v0.PlaylogInfo} */ (
|
||||
jspb.Message.getWrapperField(this, chunithm_playlog_pb.PlaylogInfo, 2));
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getInfo = function () {
|
||||
return /** @type{?proto.mythos.chunithm.v0.PlaylogInfo} */ (
|
||||
jspb.Message.getWrapperField(this, chunithm_playlog_pb.PlaylogInfo, 2)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.mythos.chunithm.v0.PlaylogInfo|undefined} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setInfo = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 2, value);
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setInfo = function (value) {
|
||||
return jspb.Message.setWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.clearInfo = function() {
|
||||
return this.setInfo(undefined);
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.clearInfo = function () {
|
||||
return this.setInfo(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.hasInfo = function() {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.hasInfo = function () {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PlaylogJudge judge = 3;
|
||||
* @return {?proto.mythos.chunithm.v0.PlaylogJudge}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getJudge = function() {
|
||||
return /** @type{?proto.mythos.chunithm.v0.PlaylogJudge} */ (
|
||||
jspb.Message.getWrapperField(this, chunithm_playlog_pb.PlaylogJudge, 3));
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.getJudge = function () {
|
||||
return /** @type{?proto.mythos.chunithm.v0.PlaylogJudge} */ (
|
||||
jspb.Message.getWrapperField(this, chunithm_playlog_pb.PlaylogJudge, 3)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.mythos.chunithm.v0.PlaylogJudge|undefined} value
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setJudge = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 3, value);
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.setJudge = function (value) {
|
||||
return jspb.Message.setWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.mythos.chunithm.v0.GetPlaylogStreamItem} returns this
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.clearJudge = function() {
|
||||
return this.setJudge(undefined);
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.clearJudge = function () {
|
||||
return this.setJudge(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.hasJudge = function() {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
proto.mythos.chunithm.v0.GetPlaylogStreamItem.prototype.hasJudge = function () {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.mythos.chunithm.v0);
|
||||
|
||||
@@ -1 +1 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
|
||||
+37
-38
@@ -4,64 +4,63 @@
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export interface MaimaiRankingTypeMap {
|
||||
MAIMAI_RANKING_TYPE_UNSPECIFIED: 0;
|
||||
MAIMAI_RANKING_TYPE_ACHIEVEMENT: 1;
|
||||
MAIMAI_RANKING_TYPE_DX_SCORE: 2;
|
||||
MAIMAI_RANKING_TYPE_UNSPECIFIED: 0;
|
||||
MAIMAI_RANKING_TYPE_ACHIEVEMENT: 1;
|
||||
MAIMAI_RANKING_TYPE_DX_SCORE: 2;
|
||||
}
|
||||
|
||||
export const MaimaiRankingType: MaimaiRankingTypeMap;
|
||||
|
||||
export interface MaimaiLevelMap {
|
||||
MAIMAI_LEVEL_UNSPECIFIED: 0;
|
||||
MAIMAI_LEVEL_BASIC: 1;
|
||||
MAIMAI_LEVEL_ADVANCED: 2;
|
||||
MAIMAI_LEVEL_EXPERT: 3;
|
||||
MAIMAI_LEVEL_MASTER: 4;
|
||||
MAIMAI_LEVEL_REMASTER: 5;
|
||||
MAIMAI_LEVEL_UTAGE: 6;
|
||||
MAIMAI_LEVEL_UNSPECIFIED: 0;
|
||||
MAIMAI_LEVEL_BASIC: 1;
|
||||
MAIMAI_LEVEL_ADVANCED: 2;
|
||||
MAIMAI_LEVEL_EXPERT: 3;
|
||||
MAIMAI_LEVEL_MASTER: 4;
|
||||
MAIMAI_LEVEL_REMASTER: 5;
|
||||
MAIMAI_LEVEL_UTAGE: 6;
|
||||
}
|
||||
|
||||
export const MaimaiLevel: MaimaiLevelMap;
|
||||
|
||||
export interface MaimaiComboStatusMap {
|
||||
MAIMAI_COMBO_STATUS_UNSPECIFIED: 0;
|
||||
MAIMAI_COMBO_STATUS_NONE: 1;
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO: 2;
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO_PLUS: 3;
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT: 4;
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT_PLUS: 5;
|
||||
MAIMAI_COMBO_STATUS_UNSPECIFIED: 0;
|
||||
MAIMAI_COMBO_STATUS_NONE: 1;
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO: 2;
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO_PLUS: 3;
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT: 4;
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT_PLUS: 5;
|
||||
}
|
||||
|
||||
export const MaimaiComboStatus: MaimaiComboStatusMap;
|
||||
|
||||
export interface MaimaiSyncStatusMap {
|
||||
MAIMAI_SYNC_STATUS_UNSPECIFIED: 0;
|
||||
MAIMAI_SYNC_STATUS_NONE: 1;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC: 2;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_PLUS: 3;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX: 4;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX_PLUS: 5;
|
||||
MAIMAI_SYNC_STATUS_UNSPECIFIED: 0;
|
||||
MAIMAI_SYNC_STATUS_NONE: 1;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC: 2;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_PLUS: 3;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX: 4;
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX_PLUS: 5;
|
||||
}
|
||||
|
||||
export const MaimaiSyncStatus: MaimaiSyncStatusMap;
|
||||
|
||||
export interface MaimaiScoreRankMap {
|
||||
MAIMAI_SCORE_RANK_UNSPECIFIED: 0;
|
||||
MAIMAI_SCORE_RANK_D: 1;
|
||||
MAIMAI_SCORE_RANK_C: 2;
|
||||
MAIMAI_SCORE_RANK_B: 3;
|
||||
MAIMAI_SCORE_RANK_BB: 4;
|
||||
MAIMAI_SCORE_RANK_BBB: 5;
|
||||
MAIMAI_SCORE_RANK_A: 6;
|
||||
MAIMAI_SCORE_RANK_AA: 7;
|
||||
MAIMAI_SCORE_RANK_AAA: 8;
|
||||
MAIMAI_SCORE_RANK_S: 9;
|
||||
MAIMAI_SCORE_RANK_S_PLUS: 10;
|
||||
MAIMAI_SCORE_RANK_SS: 11;
|
||||
MAIMAI_SCORE_RANK_SS_PLUS: 12;
|
||||
MAIMAI_SCORE_RANK_SSS: 13;
|
||||
MAIMAI_SCORE_RANK_SSS_PLUS: 14;
|
||||
MAIMAI_SCORE_RANK_UNSPECIFIED: 0;
|
||||
MAIMAI_SCORE_RANK_D: 1;
|
||||
MAIMAI_SCORE_RANK_C: 2;
|
||||
MAIMAI_SCORE_RANK_B: 3;
|
||||
MAIMAI_SCORE_RANK_BB: 4;
|
||||
MAIMAI_SCORE_RANK_BBB: 5;
|
||||
MAIMAI_SCORE_RANK_A: 6;
|
||||
MAIMAI_SCORE_RANK_AA: 7;
|
||||
MAIMAI_SCORE_RANK_AAA: 8;
|
||||
MAIMAI_SCORE_RANK_S: 9;
|
||||
MAIMAI_SCORE_RANK_S_PLUS: 10;
|
||||
MAIMAI_SCORE_RANK_SS: 11;
|
||||
MAIMAI_SCORE_RANK_SS_PLUS: 12;
|
||||
MAIMAI_SCORE_RANK_SSS: 13;
|
||||
MAIMAI_SCORE_RANK_SSS_PLUS: 14;
|
||||
}
|
||||
|
||||
export const MaimaiScoreRank: MaimaiScoreRankMap;
|
||||
|
||||
|
||||
@@ -11,86 +11,94 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var jspb = require("google-protobuf");
|
||||
var goog = jspb;
|
||||
var global = (function() {
|
||||
if (this) { return this; }
|
||||
if (typeof window !== 'undefined') { return window; }
|
||||
if (typeof global !== 'undefined') { return global; }
|
||||
if (typeof self !== 'undefined') { return self; }
|
||||
return Function('return this')();
|
||||
}.call(null));
|
||||
var global = function () {
|
||||
if (this) {
|
||||
return this;
|
||||
}
|
||||
if (typeof window !== "undefined") {
|
||||
return window;
|
||||
}
|
||||
if (typeof global !== "undefined") {
|
||||
return global;
|
||||
}
|
||||
if (typeof self !== "undefined") {
|
||||
return self;
|
||||
}
|
||||
return Function("return this")();
|
||||
}.call(null);
|
||||
|
||||
goog.exportSymbol('proto.mythos.maimai.v0.MaimaiComboStatus', null, global);
|
||||
goog.exportSymbol('proto.mythos.maimai.v0.MaimaiLevel', null, global);
|
||||
goog.exportSymbol('proto.mythos.maimai.v0.MaimaiRankingType', null, global);
|
||||
goog.exportSymbol('proto.mythos.maimai.v0.MaimaiScoreRank', null, global);
|
||||
goog.exportSymbol('proto.mythos.maimai.v0.MaimaiSyncStatus', null, global);
|
||||
goog.exportSymbol("proto.mythos.maimai.v0.MaimaiComboStatus", null, global);
|
||||
goog.exportSymbol("proto.mythos.maimai.v0.MaimaiLevel", null, global);
|
||||
goog.exportSymbol("proto.mythos.maimai.v0.MaimaiRankingType", null, global);
|
||||
goog.exportSymbol("proto.mythos.maimai.v0.MaimaiScoreRank", null, global);
|
||||
goog.exportSymbol("proto.mythos.maimai.v0.MaimaiSyncStatus", null, global);
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.maimai.v0.MaimaiRankingType = {
|
||||
MAIMAI_RANKING_TYPE_UNSPECIFIED: 0,
|
||||
MAIMAI_RANKING_TYPE_ACHIEVEMENT: 1,
|
||||
MAIMAI_RANKING_TYPE_DX_SCORE: 2
|
||||
MAIMAI_RANKING_TYPE_UNSPECIFIED: 0,
|
||||
MAIMAI_RANKING_TYPE_ACHIEVEMENT: 1,
|
||||
MAIMAI_RANKING_TYPE_DX_SCORE: 2,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.maimai.v0.MaimaiLevel = {
|
||||
MAIMAI_LEVEL_UNSPECIFIED: 0,
|
||||
MAIMAI_LEVEL_BASIC: 1,
|
||||
MAIMAI_LEVEL_ADVANCED: 2,
|
||||
MAIMAI_LEVEL_EXPERT: 3,
|
||||
MAIMAI_LEVEL_MASTER: 4,
|
||||
MAIMAI_LEVEL_REMASTER: 5,
|
||||
MAIMAI_LEVEL_UTAGE: 6
|
||||
MAIMAI_LEVEL_UNSPECIFIED: 0,
|
||||
MAIMAI_LEVEL_BASIC: 1,
|
||||
MAIMAI_LEVEL_ADVANCED: 2,
|
||||
MAIMAI_LEVEL_EXPERT: 3,
|
||||
MAIMAI_LEVEL_MASTER: 4,
|
||||
MAIMAI_LEVEL_REMASTER: 5,
|
||||
MAIMAI_LEVEL_UTAGE: 6,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.maimai.v0.MaimaiComboStatus = {
|
||||
MAIMAI_COMBO_STATUS_UNSPECIFIED: 0,
|
||||
MAIMAI_COMBO_STATUS_NONE: 1,
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO: 2,
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO_PLUS: 3,
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT: 4,
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT_PLUS: 5
|
||||
MAIMAI_COMBO_STATUS_UNSPECIFIED: 0,
|
||||
MAIMAI_COMBO_STATUS_NONE: 1,
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO: 2,
|
||||
MAIMAI_COMBO_STATUS_FULL_COMBO_PLUS: 3,
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT: 4,
|
||||
MAIMAI_COMBO_STATUS_ALL_PERFECT_PLUS: 5,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.maimai.v0.MaimaiSyncStatus = {
|
||||
MAIMAI_SYNC_STATUS_UNSPECIFIED: 0,
|
||||
MAIMAI_SYNC_STATUS_NONE: 1,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC: 2,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_PLUS: 3,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX: 4,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX_PLUS: 5
|
||||
MAIMAI_SYNC_STATUS_UNSPECIFIED: 0,
|
||||
MAIMAI_SYNC_STATUS_NONE: 1,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC: 2,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_PLUS: 3,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX: 4,
|
||||
MAIMAI_SYNC_STATUS_FULL_SYNC_DX_PLUS: 5,
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.mythos.maimai.v0.MaimaiScoreRank = {
|
||||
MAIMAI_SCORE_RANK_UNSPECIFIED: 0,
|
||||
MAIMAI_SCORE_RANK_D: 1,
|
||||
MAIMAI_SCORE_RANK_C: 2,
|
||||
MAIMAI_SCORE_RANK_B: 3,
|
||||
MAIMAI_SCORE_RANK_BB: 4,
|
||||
MAIMAI_SCORE_RANK_BBB: 5,
|
||||
MAIMAI_SCORE_RANK_A: 6,
|
||||
MAIMAI_SCORE_RANK_AA: 7,
|
||||
MAIMAI_SCORE_RANK_AAA: 8,
|
||||
MAIMAI_SCORE_RANK_S: 9,
|
||||
MAIMAI_SCORE_RANK_S_PLUS: 10,
|
||||
MAIMAI_SCORE_RANK_SS: 11,
|
||||
MAIMAI_SCORE_RANK_SS_PLUS: 12,
|
||||
MAIMAI_SCORE_RANK_SSS: 13,
|
||||
MAIMAI_SCORE_RANK_SSS_PLUS: 14
|
||||
MAIMAI_SCORE_RANK_UNSPECIFIED: 0,
|
||||
MAIMAI_SCORE_RANK_D: 1,
|
||||
MAIMAI_SCORE_RANK_C: 2,
|
||||
MAIMAI_SCORE_RANK_B: 3,
|
||||
MAIMAI_SCORE_RANK_BB: 4,
|
||||
MAIMAI_SCORE_RANK_BBB: 5,
|
||||
MAIMAI_SCORE_RANK_A: 6,
|
||||
MAIMAI_SCORE_RANK_AA: 7,
|
||||
MAIMAI_SCORE_RANK_AAA: 8,
|
||||
MAIMAI_SCORE_RANK_S: 9,
|
||||
MAIMAI_SCORE_RANK_S_PLUS: 10,
|
||||
MAIMAI_SCORE_RANK_SS: 11,
|
||||
MAIMAI_SCORE_RANK_SS_PLUS: 12,
|
||||
MAIMAI_SCORE_RANK_SSS: 13,
|
||||
MAIMAI_SCORE_RANK_SSS_PLUS: 14,
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.mythos.maimai.v0);
|
||||
|
||||
@@ -1 +1 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
||||
|
||||
+92
-81
@@ -5,114 +5,125 @@ import * as jspb from "google-protobuf";
|
||||
import * as maimai_common_pb from "../maimai/common_pb";
|
||||
|
||||
export class PlaylogInfo extends jspb.Message {
|
||||
getMusicId(): number;
|
||||
setMusicId(value: number): void;
|
||||
getMusicId(): number;
|
||||
setMusicId(value: number): void;
|
||||
|
||||
getLevel(): maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap];
|
||||
setLevel(value: maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap]): void;
|
||||
getLevel(): maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap];
|
||||
setLevel(value: maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap]): void;
|
||||
|
||||
getAchievement(): number;
|
||||
setAchievement(value: number): void;
|
||||
getAchievement(): number;
|
||||
setAchievement(value: number): void;
|
||||
|
||||
getDeluxscore(): number;
|
||||
setDeluxscore(value: number): void;
|
||||
getDeluxscore(): number;
|
||||
setDeluxscore(value: number): void;
|
||||
|
||||
getScoreRank(): maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap];
|
||||
setScoreRank(value: maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap]): void;
|
||||
getScoreRank(): maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap];
|
||||
setScoreRank(
|
||||
value: maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap],
|
||||
): void;
|
||||
|
||||
getComboStatus(): maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap];
|
||||
setComboStatus(value: maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap]): void;
|
||||
getComboStatus(): maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap];
|
||||
setComboStatus(
|
||||
value: maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap],
|
||||
): void;
|
||||
|
||||
getSyncStatus(): maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap];
|
||||
setSyncStatus(value: maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap]): void;
|
||||
getSyncStatus(): maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap];
|
||||
setSyncStatus(
|
||||
value: maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap],
|
||||
): void;
|
||||
|
||||
getIsClear(): boolean;
|
||||
setIsClear(value: boolean): void;
|
||||
getIsClear(): boolean;
|
||||
setIsClear(value: boolean): void;
|
||||
|
||||
getIsAchieveNewRecord(): boolean;
|
||||
setIsAchieveNewRecord(value: boolean): void;
|
||||
getIsAchieveNewRecord(): boolean;
|
||||
setIsAchieveNewRecord(value: boolean): void;
|
||||
|
||||
getIsDeluxscoreNewRecord(): boolean;
|
||||
setIsDeluxscoreNewRecord(value: boolean): void;
|
||||
getIsDeluxscoreNewRecord(): boolean;
|
||||
setIsDeluxscoreNewRecord(value: boolean): void;
|
||||
|
||||
getTrack(): number;
|
||||
setTrack(value: number): void;
|
||||
getTrack(): number;
|
||||
setTrack(value: number): void;
|
||||
|
||||
getUserPlayDate(): string;
|
||||
setUserPlayDate(value: string): void;
|
||||
getUserPlayDate(): string;
|
||||
setUserPlayDate(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogInfo.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogInfo): PlaylogInfo.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlaylogInfo, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogInfo;
|
||||
static deserializeBinaryFromReader(message: PlaylogInfo, reader: jspb.BinaryReader): PlaylogInfo;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogInfo.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogInfo): PlaylogInfo.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: PlaylogInfo, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogInfo;
|
||||
static deserializeBinaryFromReader(
|
||||
message: PlaylogInfo,
|
||||
reader: jspb.BinaryReader,
|
||||
): PlaylogInfo;
|
||||
}
|
||||
|
||||
export namespace PlaylogInfo {
|
||||
export type AsObject = {
|
||||
musicId: number,
|
||||
level: maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap],
|
||||
achievement: number,
|
||||
deluxscore: number,
|
||||
scoreRank: maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap],
|
||||
comboStatus: maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap],
|
||||
syncStatus: maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap],
|
||||
isClear: boolean,
|
||||
isAchieveNewRecord: boolean,
|
||||
isDeluxscoreNewRecord: boolean,
|
||||
track: number,
|
||||
userPlayDate: string,
|
||||
}
|
||||
export type AsObject = {
|
||||
musicId: number;
|
||||
level: maimai_common_pb.MaimaiLevelMap[keyof maimai_common_pb.MaimaiLevelMap];
|
||||
achievement: number;
|
||||
deluxscore: number;
|
||||
scoreRank: maimai_common_pb.MaimaiScoreRankMap[keyof maimai_common_pb.MaimaiScoreRankMap];
|
||||
comboStatus: maimai_common_pb.MaimaiComboStatusMap[keyof maimai_common_pb.MaimaiComboStatusMap];
|
||||
syncStatus: maimai_common_pb.MaimaiSyncStatusMap[keyof maimai_common_pb.MaimaiSyncStatusMap];
|
||||
isClear: boolean;
|
||||
isAchieveNewRecord: boolean;
|
||||
isDeluxscoreNewRecord: boolean;
|
||||
track: number;
|
||||
userPlayDate: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class PlaylogJudge extends jspb.Message {
|
||||
getJudgeCriticalPerfect(): number;
|
||||
setJudgeCriticalPerfect(value: number): void;
|
||||
getJudgeCriticalPerfect(): number;
|
||||
setJudgeCriticalPerfect(value: number): void;
|
||||
|
||||
getJudgePerfect(): number;
|
||||
setJudgePerfect(value: number): void;
|
||||
getJudgePerfect(): number;
|
||||
setJudgePerfect(value: number): void;
|
||||
|
||||
getJudgeGreat(): number;
|
||||
setJudgeGreat(value: number): void;
|
||||
getJudgeGreat(): number;
|
||||
setJudgeGreat(value: number): void;
|
||||
|
||||
getJudgeGood(): number;
|
||||
setJudgeGood(value: number): void;
|
||||
getJudgeGood(): number;
|
||||
setJudgeGood(value: number): void;
|
||||
|
||||
getJudgeMiss(): number;
|
||||
setJudgeMiss(value: number): void;
|
||||
getJudgeMiss(): number;
|
||||
setJudgeMiss(value: number): void;
|
||||
|
||||
getMaxCombo(): number;
|
||||
setMaxCombo(value: number): void;
|
||||
getMaxCombo(): number;
|
||||
setMaxCombo(value: number): void;
|
||||
|
||||
getFastCount(): number;
|
||||
setFastCount(value: number): void;
|
||||
getFastCount(): number;
|
||||
setFastCount(value: number): void;
|
||||
|
||||
getLateCount(): number;
|
||||
setLateCount(value: number): void;
|
||||
getLateCount(): number;
|
||||
setLateCount(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogJudge.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogJudge): PlaylogJudge.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlaylogJudge, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogJudge;
|
||||
static deserializeBinaryFromReader(message: PlaylogJudge, reader: jspb.BinaryReader): PlaylogJudge;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlaylogJudge.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlaylogJudge): PlaylogJudge.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
|
||||
static serializeBinaryToWriter(message: PlaylogJudge, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlaylogJudge;
|
||||
static deserializeBinaryFromReader(
|
||||
message: PlaylogJudge,
|
||||
reader: jspb.BinaryReader,
|
||||
): PlaylogJudge;
|
||||
}
|
||||
|
||||
export namespace PlaylogJudge {
|
||||
export type AsObject = {
|
||||
judgeCriticalPerfect: number,
|
||||
judgePerfect: number,
|
||||
judgeGreat: number,
|
||||
judgeGood: number,
|
||||
judgeMiss: number,
|
||||
maxCombo: number,
|
||||
fastCount: number,
|
||||
lateCount: number,
|
||||
}
|
||||
export type AsObject = {
|
||||
judgeCriticalPerfect: number;
|
||||
judgePerfect: number;
|
||||
judgeGreat: number;
|
||||
judgeGood: number;
|
||||
judgeMiss: number;
|
||||
maxCombo: number;
|
||||
fastCount: number;
|
||||
lateCount: number;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user