From 7bf14544d14132b9161f375d822fc6c7b67b734f Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Fri, 11 Sep 2026 03:26:27 -0400 Subject: [PATCH] chore(db): register new migrations and regenerate payload types Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/migrations/index.ts | 14 +- src/payload-types.ts | 1718 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 1731 insertions(+), 1 deletion(-) diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 5b0bd7a..c7c2aea 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -52,6 +52,8 @@ import * as migration_20260909_153427_add_opord_recall_best_times from './202609 import * as migration_20260909_223955_add_voice_script_draft_status from './20260909_223955_add_voice_script_draft_status'; import * as migration_20260910_221018_make_missions_codename_optional from './20260910_221018_make_missions_codename_optional'; import * as migration_20260910_222518_add_dashboard_layout_preference from './20260910_222518_add_dashboard_layout_preference'; +import * as migration_20260911_044754_add_poker_minigame_stats from './20260911_044754_add_poker_minigame_stats'; +import * as migration_20260911_052147_add_ribbon_submissions from './20260911_052147_add_ribbon_submissions'; export const migrations = [ { @@ -322,6 +324,16 @@ export const migrations = [ { up: migration_20260910_222518_add_dashboard_layout_preference.up, down: migration_20260910_222518_add_dashboard_layout_preference.down, - name: '20260910_222518_add_dashboard_layout_preference' + name: '20260910_222518_add_dashboard_layout_preference', + }, + { + up: migration_20260911_044754_add_poker_minigame_stats.up, + down: migration_20260911_044754_add_poker_minigame_stats.down, + name: '20260911_044754_add_poker_minigame_stats', + }, + { + up: migration_20260911_052147_add_ribbon_submissions.up, + down: migration_20260911_052147_add_ribbon_submissions.down, + name: '20260911_052147_add_ribbon_submissions' }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index 8597785..1596135 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -87,6 +87,7 @@ export interface Config { experience: Experience; 'user-notifications': UserNotification; evaluations: Evaluation; + 'ribbon-submissions': RibbonSubmission; missions: Mission; 'mission-attendances': MissionAttendance; campaigns: Campaign; @@ -164,6 +165,7 @@ export interface Config { experience: ExperienceSelect | ExperienceSelect; 'user-notifications': UserNotificationsSelect | UserNotificationsSelect; evaluations: EvaluationsSelect | EvaluationsSelect; + 'ribbon-submissions': RibbonSubmissionsSelect | RibbonSubmissionsSelect; missions: MissionsSelect | MissionsSelect; 'mission-attendances': MissionAttendancesSelect | MissionAttendancesSelect; campaigns: CampaignsSelect | CampaignsSelect; @@ -1357,6 +1359,7 @@ export interface User { | 'ticket:assigned' | 'ticket:reply' | 'ticket:status' + | 'poker:force-ended' )[] | null; }; @@ -1389,6 +1392,7 @@ export interface User { | 'ticket:assigned' | 'ticket:reply' | 'ticket:status' + | 'poker:force-ended' )[] | null; }; @@ -1917,6 +1921,7 @@ export interface GameEventLog { | 'custom-minefield-scores' | 'custom-radio-tests' | 'custom-radio-test-scores' + | 'ribbon-submissions' ) | null; targetId?: number | null; @@ -2078,6 +2083,16 @@ export interface Profile { eliteBestTimeMs?: number | null; xpEarned?: number | null; }; + poker?: { + gamesPlayed?: number | null; + wins?: number | null; + secondPlaces?: number | null; + thirdPlaces?: number | null; + fourthPlaces?: number | null; + handsWon?: number | null; + bestScore?: number | null; + xpEarned?: number | null; + }; }; voiceover?: { xpEarned?: number | null; @@ -2674,6 +2689,60 @@ export interface ModList { focalX?: number | null; focalY?: number | null; } +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "ribbon-submissions". + */ +export interface RibbonSubmission { + id: number; + name: string; + /** + * What this ribbon is awarded for. + */ + description: string; + design: + | { + [k: string]: unknown; + } + | unknown[] + | string + | number + | boolean + | null; + /** + * Submitter + */ + user: number | User; + status: 'pending' | 'approved' | 'rejected'; + /** + * Reviewer feedback shown to the submitter. + */ + reviewNote?: string | null; + reviewedBy?: (number | null) | User; + reviewedAt?: string | null; + /** + * Award created after approval + */ + award?: (number | null) | Award; + /** + * XP awarded for this ribbon + */ + awardXp?: number | null; + /** + * Who can grant this award + */ + grantorTypes?: ('division' | 'squad' | 'team' | 'special')[] | null; + /** + * Who can receive this award + */ + recipientScope?: ('same_command' | 'whitelist' | 'anyone') | null; + /** + * Maximum grants per leader (empty = unlimited) + */ + maxGrantsPerGrantor?: number | null; + updatedAt: string; + createdAt: string; +} /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "mission-attendances". @@ -3888,6 +3957,1122 @@ export interface PayloadMcpApiKey { * The purpose of the API key. */ description?: string | null; + media?: { + /** + * Allow clients to find media. + */ + find?: boolean | null; + /** + * Allow clients to create media. + */ + create?: boolean | null; + /** + * Allow clients to update media. + */ + update?: boolean | null; + /** + * Allow clients to delete media. + */ + delete?: boolean | null; + }; + gameHardResources?: { + /** + * Allow clients to find game-hard-resources. + */ + find?: boolean | null; + /** + * Allow clients to create game-hard-resources. + */ + create?: boolean | null; + /** + * Allow clients to update game-hard-resources. + */ + update?: boolean | null; + /** + * Allow clients to delete game-hard-resources. + */ + delete?: boolean | null; + }; + gameStructures?: { + /** + * Allow clients to find game-structures. + */ + find?: boolean | null; + /** + * Allow clients to create game-structures. + */ + create?: boolean | null; + /** + * Allow clients to update game-structures. + */ + update?: boolean | null; + /** + * Allow clients to delete game-structures. + */ + delete?: boolean | null; + }; + gameVehicles?: { + /** + * Allow clients to find game-vehicles. + */ + find?: boolean | null; + /** + * Allow clients to create game-vehicles. + */ + create?: boolean | null; + /** + * Allow clients to update game-vehicles. + */ + update?: boolean | null; + /** + * Allow clients to delete game-vehicles. + */ + delete?: boolean | null; + }; + gameNpcs?: { + /** + * Allow clients to find game-npcs. + */ + find?: boolean | null; + /** + * Allow clients to create game-npcs. + */ + create?: boolean | null; + /** + * Allow clients to update game-npcs. + */ + update?: boolean | null; + /** + * Allow clients to delete game-npcs. + */ + delete?: boolean | null; + }; + npcStaffing?: { + /** + * Allow clients to find npc-staffing. + */ + find?: boolean | null; + /** + * Allow clients to create npc-staffing. + */ + create?: boolean | null; + /** + * Allow clients to update npc-staffing. + */ + update?: boolean | null; + /** + * Allow clients to delete npc-staffing. + */ + delete?: boolean | null; + }; + laborClassifications?: { + /** + * Allow clients to find labor-classifications. + */ + find?: boolean | null; + /** + * Allow clients to create labor-classifications. + */ + create?: boolean | null; + /** + * Allow clients to update labor-classifications. + */ + update?: boolean | null; + /** + * Allow clients to delete labor-classifications. + */ + delete?: boolean | null; + }; + gameEventLogs?: { + /** + * Allow clients to find game-event-logs. + */ + find?: boolean | null; + /** + * Allow clients to create game-event-logs. + */ + create?: boolean | null; + /** + * Allow clients to update game-event-logs. + */ + update?: boolean | null; + /** + * Allow clients to delete game-event-logs. + */ + delete?: boolean | null; + }; + users?: { + /** + * Allow clients to find users. + */ + find?: boolean | null; + /** + * Allow clients to create users. + */ + create?: boolean | null; + /** + * Allow clients to update users. + */ + update?: boolean | null; + /** + * Allow clients to delete users. + */ + delete?: boolean | null; + }; + roles?: { + /** + * Allow clients to find roles. + */ + find?: boolean | null; + /** + * Allow clients to create roles. + */ + create?: boolean | null; + /** + * Allow clients to update roles. + */ + update?: boolean | null; + /** + * Allow clients to delete roles. + */ + delete?: boolean | null; + }; + ranks?: { + /** + * Allow clients to find ranks. + */ + find?: boolean | null; + /** + * Allow clients to create ranks. + */ + create?: boolean | null; + /** + * Allow clients to update ranks. + */ + update?: boolean | null; + /** + * Allow clients to delete ranks. + */ + delete?: boolean | null; + }; + profiles?: { + /** + * Allow clients to find profiles. + */ + find?: boolean | null; + /** + * Allow clients to create profiles. + */ + create?: boolean | null; + /** + * Allow clients to update profiles. + */ + update?: boolean | null; + /** + * Allow clients to delete profiles. + */ + delete?: boolean | null; + }; + awards?: { + /** + * Allow clients to find awards. + */ + find?: boolean | null; + /** + * Allow clients to create awards. + */ + create?: boolean | null; + /** + * Allow clients to update awards. + */ + update?: boolean | null; + /** + * Allow clients to delete awards. + */ + delete?: boolean | null; + }; + qualifications?: { + /** + * Allow clients to find qualifications. + */ + find?: boolean | null; + /** + * Allow clients to create qualifications. + */ + create?: boolean | null; + /** + * Allow clients to update qualifications. + */ + update?: boolean | null; + /** + * Allow clients to delete qualifications. + */ + delete?: boolean | null; + }; + assignments?: { + /** + * Allow clients to find assignments. + */ + find?: boolean | null; + /** + * Allow clients to create assignments. + */ + create?: boolean | null; + /** + * Allow clients to update assignments. + */ + update?: boolean | null; + /** + * Allow clients to delete assignments. + */ + delete?: boolean | null; + }; + assignmentTransfers?: { + /** + * Allow clients to find assignment-transfers. + */ + find?: boolean | null; + /** + * Allow clients to create assignment-transfers. + */ + create?: boolean | null; + /** + * Allow clients to update assignment-transfers. + */ + update?: boolean | null; + /** + * Allow clients to delete assignment-transfers. + */ + delete?: boolean | null; + }; + experience?: { + /** + * Allow clients to find experience. + */ + find?: boolean | null; + /** + * Allow clients to create experience. + */ + create?: boolean | null; + /** + * Allow clients to update experience. + */ + update?: boolean | null; + /** + * Allow clients to delete experience. + */ + delete?: boolean | null; + }; + userNotifications?: { + /** + * Allow clients to find user-notifications. + */ + find?: boolean | null; + /** + * Allow clients to create user-notifications. + */ + create?: boolean | null; + /** + * Allow clients to update user-notifications. + */ + update?: boolean | null; + /** + * Allow clients to delete user-notifications. + */ + delete?: boolean | null; + }; + evaluations?: { + /** + * Allow clients to find evaluations. + */ + find?: boolean | null; + /** + * Allow clients to create evaluations. + */ + create?: boolean | null; + /** + * Allow clients to update evaluations. + */ + update?: boolean | null; + /** + * Allow clients to delete evaluations. + */ + delete?: boolean | null; + }; + ribbonSubmissions?: { + /** + * Allow clients to find ribbon-submissions. + */ + find?: boolean | null; + /** + * Allow clients to create ribbon-submissions. + */ + create?: boolean | null; + /** + * Allow clients to update ribbon-submissions. + */ + update?: boolean | null; + /** + * Allow clients to delete ribbon-submissions. + */ + delete?: boolean | null; + }; + missions?: { + /** + * Allow clients to find missions. + */ + find?: boolean | null; + /** + * Allow clients to create missions. + */ + create?: boolean | null; + /** + * Allow clients to update missions. + */ + update?: boolean | null; + /** + * Allow clients to delete missions. + */ + delete?: boolean | null; + }; + missionAttendances?: { + /** + * Allow clients to find mission-attendances. + */ + find?: boolean | null; + /** + * Allow clients to create mission-attendances. + */ + create?: boolean | null; + /** + * Allow clients to update mission-attendances. + */ + update?: boolean | null; + /** + * Allow clients to delete mission-attendances. + */ + delete?: boolean | null; + }; + campaigns?: { + /** + * Allow clients to find campaigns. + */ + find?: boolean | null; + /** + * Allow clients to create campaigns. + */ + create?: boolean | null; + /** + * Allow clients to update campaigns. + */ + update?: boolean | null; + /** + * Allow clients to delete campaigns. + */ + delete?: boolean | null; + }; + factions?: { + /** + * Allow clients to find factions. + */ + find?: boolean | null; + /** + * Allow clients to create factions. + */ + create?: boolean | null; + /** + * Allow clients to update factions. + */ + update?: boolean | null; + /** + * Allow clients to delete factions. + */ + delete?: boolean | null; + }; + technologies?: { + /** + * Allow clients to find technologies. + */ + find?: boolean | null; + /** + * Allow clients to create technologies. + */ + create?: boolean | null; + /** + * Allow clients to update technologies. + */ + update?: boolean | null; + /** + * Allow clients to delete technologies. + */ + delete?: boolean | null; + }; + assets?: { + /** + * Allow clients to find assets. + */ + find?: boolean | null; + /** + * Allow clients to create assets. + */ + create?: boolean | null; + /** + * Allow clients to update assets. + */ + update?: boolean | null; + /** + * Allow clients to delete assets. + */ + delete?: boolean | null; + }; + resources?: { + /** + * Allow clients to find resources. + */ + find?: boolean | null; + /** + * Allow clients to create resources. + */ + create?: boolean | null; + /** + * Allow clients to update resources. + */ + update?: boolean | null; + /** + * Allow clients to delete resources. + */ + delete?: boolean | null; + }; + vehicles?: { + /** + * Allow clients to find vehicles. + */ + find?: boolean | null; + /** + * Allow clients to create vehicles. + */ + create?: boolean | null; + /** + * Allow clients to update vehicles. + */ + update?: boolean | null; + /** + * Allow clients to delete vehicles. + */ + delete?: boolean | null; + }; + structures?: { + /** + * Allow clients to find structures. + */ + find?: boolean | null; + /** + * Allow clients to create structures. + */ + create?: boolean | null; + /** + * Allow clients to update structures. + */ + update?: boolean | null; + /** + * Allow clients to delete structures. + */ + delete?: boolean | null; + }; + shipments?: { + /** + * Allow clients to find shipments. + */ + find?: boolean | null; + /** + * Allow clients to create shipments. + */ + create?: boolean | null; + /** + * Allow clients to update shipments. + */ + update?: boolean | null; + /** + * Allow clients to delete shipments. + */ + delete?: boolean | null; + }; + bankAccounts?: { + /** + * Allow clients to find bank-accounts. + */ + find?: boolean | null; + /** + * Allow clients to create bank-accounts. + */ + create?: boolean | null; + /** + * Allow clients to update bank-accounts. + */ + update?: boolean | null; + /** + * Allow clients to delete bank-accounts. + */ + delete?: boolean | null; + }; + bankTransactions?: { + /** + * Allow clients to find bank-transactions. + */ + find?: boolean | null; + /** + * Allow clients to create bank-transactions. + */ + create?: boolean | null; + /** + * Allow clients to update bank-transactions. + */ + update?: boolean | null; + /** + * Allow clients to delete bank-transactions. + */ + delete?: boolean | null; + }; + ledgerEntries?: { + /** + * Allow clients to find ledger-entries. + */ + find?: boolean | null; + /** + * Allow clients to create ledger-entries. + */ + create?: boolean | null; + /** + * Allow clients to update ledger-entries. + */ + update?: boolean | null; + /** + * Allow clients to delete ledger-entries. + */ + delete?: boolean | null; + }; + lockerStorages?: { + /** + * Allow clients to find locker-storages. + */ + find?: boolean | null; + /** + * Allow clients to create locker-storages. + */ + create?: boolean | null; + /** + * Allow clients to update locker-storages. + */ + update?: boolean | null; + /** + * Allow clients to delete locker-storages. + */ + delete?: boolean | null; + }; + loadouts?: { + /** + * Allow clients to find loadouts. + */ + find?: boolean | null; + /** + * Allow clients to create loadouts. + */ + create?: boolean | null; + /** + * Allow clients to update loadouts. + */ + update?: boolean | null; + /** + * Allow clients to delete loadouts. + */ + delete?: boolean | null; + }; + marketListings?: { + /** + * Allow clients to find market-listings. + */ + find?: boolean | null; + /** + * Allow clients to create market-listings. + */ + create?: boolean | null; + /** + * Allow clients to update market-listings. + */ + update?: boolean | null; + /** + * Allow clients to delete market-listings. + */ + delete?: boolean | null; + }; + marketNegotiations?: { + /** + * Allow clients to find market-negotiations. + */ + find?: boolean | null; + /** + * Allow clients to create market-negotiations. + */ + create?: boolean | null; + /** + * Allow clients to update market-negotiations. + */ + update?: boolean | null; + /** + * Allow clients to delete market-negotiations. + */ + delete?: boolean | null; + }; + marketState?: { + /** + * Allow clients to find market-state. + */ + find?: boolean | null; + /** + * Allow clients to create market-state. + */ + create?: boolean | null; + /** + * Allow clients to update market-state. + */ + update?: boolean | null; + /** + * Allow clients to delete market-state. + */ + delete?: boolean | null; + }; + voiceScripts?: { + /** + * Allow clients to find voice-scripts. + */ + find?: boolean | null; + /** + * Allow clients to create voice-scripts. + */ + create?: boolean | null; + /** + * Allow clients to update voice-scripts. + */ + update?: boolean | null; + /** + * Allow clients to delete voice-scripts. + */ + delete?: boolean | null; + }; + voiceSubmissions?: { + /** + * Allow clients to find voice-submissions. + */ + find?: boolean | null; + /** + * Allow clients to create voice-submissions. + */ + create?: boolean | null; + /** + * Allow clients to update voice-submissions. + */ + update?: boolean | null; + /** + * Allow clients to delete voice-submissions. + */ + delete?: boolean | null; + }; + tickets?: { + /** + * Allow clients to find tickets. + */ + find?: boolean | null; + /** + * Allow clients to create tickets. + */ + create?: boolean | null; + /** + * Allow clients to update tickets. + */ + update?: boolean | null; + /** + * Allow clients to delete tickets. + */ + delete?: boolean | null; + }; + ticketVotes?: { + /** + * Allow clients to find ticket-votes. + */ + find?: boolean | null; + /** + * Allow clients to create ticket-votes. + */ + create?: boolean | null; + /** + * Allow clients to update ticket-votes. + */ + update?: boolean | null; + /** + * Allow clients to delete ticket-votes. + */ + delete?: boolean | null; + }; + wikiPages?: { + /** + * Allow clients to find wiki-pages. + */ + find?: boolean | null; + /** + * Allow clients to create wiki-pages. + */ + create?: boolean | null; + /** + * Allow clients to update wiki-pages. + */ + update?: boolean | null; + /** + * Allow clients to delete wiki-pages. + */ + delete?: boolean | null; + }; + wikiRevisions?: { + /** + * Allow clients to find wiki-revisions. + */ + find?: boolean | null; + /** + * Allow clients to create wiki-revisions. + */ + create?: boolean | null; + /** + * Allow clients to update wiki-revisions. + */ + update?: boolean | null; + /** + * Allow clients to delete wiki-revisions. + */ + delete?: boolean | null; + }; + wikiTemplates?: { + /** + * Allow clients to find wiki-templates. + */ + find?: boolean | null; + /** + * Allow clients to create wiki-templates. + */ + create?: boolean | null; + /** + * Allow clients to update wiki-templates. + */ + update?: boolean | null; + /** + * Allow clients to delete wiki-templates. + */ + delete?: boolean | null; + }; + projects?: { + /** + * Allow clients to find projects. + */ + find?: boolean | null; + /** + * Allow clients to create projects. + */ + create?: boolean | null; + /** + * Allow clients to update projects. + */ + update?: boolean | null; + /** + * Allow clients to delete projects. + */ + delete?: boolean | null; + }; + sprints?: { + /** + * Allow clients to find sprints. + */ + find?: boolean | null; + /** + * Allow clients to create sprints. + */ + create?: boolean | null; + /** + * Allow clients to update sprints. + */ + update?: boolean | null; + /** + * Allow clients to delete sprints. + */ + delete?: boolean | null; + }; + releases?: { + /** + * Allow clients to find releases. + */ + find?: boolean | null; + /** + * Allow clients to create releases. + */ + create?: boolean | null; + /** + * Allow clients to update releases. + */ + update?: boolean | null; + /** + * Allow clients to delete releases. + */ + delete?: boolean | null; + }; + labels?: { + /** + * Allow clients to find labels. + */ + find?: boolean | null; + /** + * Allow clients to create labels. + */ + create?: boolean | null; + /** + * Allow clients to update labels. + */ + update?: boolean | null; + /** + * Allow clients to delete labels. + */ + delete?: boolean | null; + }; + maps?: { + /** + * Allow clients to find maps. + */ + find?: boolean | null; + /** + * Allow clients to create maps. + */ + create?: boolean | null; + /** + * Allow clients to update maps. + */ + update?: boolean | null; + /** + * Allow clients to delete maps. + */ + delete?: boolean | null; + }; + narrativeEvents?: { + /** + * Allow clients to find narrative-events. + */ + find?: boolean | null; + /** + * Allow clients to create narrative-events. + */ + create?: boolean | null; + /** + * Allow clients to update narrative-events. + */ + update?: boolean | null; + /** + * Allow clients to delete narrative-events. + */ + delete?: boolean | null; + }; + storyBeats?: { + /** + * Allow clients to find story-beats. + */ + find?: boolean | null; + /** + * Allow clients to create story-beats. + */ + create?: boolean | null; + /** + * Allow clients to update story-beats. + */ + update?: boolean | null; + /** + * Allow clients to delete story-beats. + */ + delete?: boolean | null; + }; + storyBeatStates?: { + /** + * Allow clients to find story-beat-states. + */ + find?: boolean | null; + /** + * Allow clients to create story-beat-states. + */ + create?: boolean | null; + /** + * Allow clients to update story-beat-states. + */ + update?: boolean | null; + /** + * Allow clients to delete story-beat-states. + */ + delete?: boolean | null; + }; + missionFiles?: { + /** + * Allow clients to find mission-files. + */ + find?: boolean | null; + /** + * Allow clients to create mission-files. + */ + create?: boolean | null; + /** + * Allow clients to update mission-files. + */ + update?: boolean | null; + /** + * Allow clients to delete mission-files. + */ + delete?: boolean | null; + }; + modLists?: { + /** + * Allow clients to find mod-lists. + */ + find?: boolean | null; + /** + * Allow clients to create mod-lists. + */ + create?: boolean | null; + /** + * Allow clients to update mod-lists. + */ + update?: boolean | null; + /** + * Allow clients to delete mod-lists. + */ + delete?: boolean | null; + }; + gameServers?: { + /** + * Allow clients to find game-servers. + */ + find?: boolean | null; + /** + * Allow clients to create game-servers. + */ + create?: boolean | null; + /** + * Allow clients to update game-servers. + */ + update?: boolean | null; + /** + * Allow clients to delete game-servers. + */ + delete?: boolean | null; + }; + armaSyncEvents?: { + /** + * Allow clients to find arma-sync-events. + */ + find?: boolean | null; + /** + * Allow clients to create arma-sync-events. + */ + create?: boolean | null; + /** + * Allow clients to update arma-sync-events. + */ + update?: boolean | null; + /** + * Allow clients to delete arma-sync-events. + */ + delete?: boolean | null; + }; + armaCommands?: { + /** + * Allow clients to find arma-commands. + */ + find?: boolean | null; + /** + * Allow clients to create arma-commands. + */ + create?: boolean | null; + /** + * Allow clients to update arma-commands. + */ + update?: boolean | null; + /** + * Allow clients to delete arma-commands. + */ + delete?: boolean | null; + }; + customMinefields?: { + /** + * Allow clients to find custom-minefields. + */ + find?: boolean | null; + /** + * Allow clients to create custom-minefields. + */ + create?: boolean | null; + /** + * Allow clients to update custom-minefields. + */ + update?: boolean | null; + /** + * Allow clients to delete custom-minefields. + */ + delete?: boolean | null; + }; + customMinefieldScores?: { + /** + * Allow clients to find custom-minefield-scores. + */ + find?: boolean | null; + /** + * Allow clients to create custom-minefield-scores. + */ + create?: boolean | null; + /** + * Allow clients to update custom-minefield-scores. + */ + update?: boolean | null; + /** + * Allow clients to delete custom-minefield-scores. + */ + delete?: boolean | null; + }; + customRadioTests?: { + /** + * Allow clients to find custom-radio-tests. + */ + find?: boolean | null; + /** + * Allow clients to create custom-radio-tests. + */ + create?: boolean | null; + /** + * Allow clients to update custom-radio-tests. + */ + update?: boolean | null; + /** + * Allow clients to delete custom-radio-tests. + */ + delete?: boolean | null; + }; + customRadioTestScores?: { + /** + * Allow clients to find custom-radio-test-scores. + */ + find?: boolean | null; + /** + * Allow clients to create custom-radio-test-scores. + */ + create?: boolean | null; + /** + * Allow clients to update custom-radio-test-scores. + */ + update?: boolean | null; + /** + * Allow clients to delete custom-radio-test-scores. + */ + delete?: boolean | null; + }; updatedAt: string; createdAt: string; enableAPIKey?: boolean | null; @@ -3995,6 +5180,10 @@ export interface PayloadLockedDocument { relationTo: 'evaluations'; value: number | Evaluation; } | null) + | ({ + relationTo: 'ribbon-submissions'; + value: number | RibbonSubmission; + } | null) | ({ relationTo: 'missions'; value: number | Mission; @@ -4608,6 +5797,18 @@ export interface ProfilesSelect { eliteBestTimeMs?: T; xpEarned?: T; }; + poker?: + | T + | { + gamesPlayed?: T; + wins?: T; + secondPlaces?: T; + thirdPlaces?: T; + fourthPlaces?: T; + handsWon?: T; + bestScore?: T; + xpEarned?: T; + }; }; voiceover?: | T @@ -4740,6 +5941,27 @@ export interface EvaluationsSelect { updatedAt?: T; createdAt?: T; } +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "ribbon-submissions_select". + */ +export interface RibbonSubmissionsSelect { + name?: T; + description?: T; + design?: T; + user?: T; + status?: T; + reviewNote?: T; + reviewedBy?: T; + reviewedAt?: T; + award?: T; + awardXp?: T; + grantorTypes?: T; + recipientScope?: T; + maxGrantsPerGrantor?: T; + updatedAt?: T; + createdAt?: T; +} /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "missions_select". @@ -5907,6 +7129,502 @@ export interface PayloadMcpApiKeysSelect { user?: T; label?: T; description?: T; + media?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameHardResources?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameStructures?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameVehicles?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameNpcs?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + npcStaffing?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + laborClassifications?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameEventLogs?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + users?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + roles?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + ranks?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + profiles?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + awards?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + qualifications?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + assignments?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + assignmentTransfers?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + experience?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + userNotifications?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + evaluations?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + ribbonSubmissions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + missions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + missionAttendances?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + campaigns?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + factions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + technologies?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + assets?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + resources?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + vehicles?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + structures?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + shipments?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + bankAccounts?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + bankTransactions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + ledgerEntries?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + lockerStorages?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + loadouts?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + marketListings?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + marketNegotiations?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + marketState?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + voiceScripts?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + voiceSubmissions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + tickets?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + ticketVotes?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + wikiPages?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + wikiRevisions?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + wikiTemplates?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + projects?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + sprints?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + releases?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + labels?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + maps?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + narrativeEvents?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + storyBeats?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + storyBeatStates?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + missionFiles?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + modLists?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + gameServers?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + armaSyncEvents?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + armaCommands?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + customMinefields?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + customMinefieldScores?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + customRadioTests?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; + customRadioTestScores?: + | T + | { + find?: T; + create?: T; + update?: T; + delete?: T; + }; updatedAt?: T; createdAt?: T; enableAPIKey?: T;