🗑️ Remove unused files and redundant assets from the project
This commit is contained in:
34
code/junk-drawer/player-printing-tool/data-mapping
Normal file
34
code/junk-drawer/player-printing-tool/data-mapping
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Data mapping for tournaments.
|
||||
* This object serves as a reference for developers to understand the structure of tournament data.
|
||||
*/
|
||||
const tournaments = {
|
||||
sanctioningIDAsIndex: {
|
||||
active: Boolean, // Whether the tournament is active
|
||||
tournamentName: String, // Name of the tournament
|
||||
sanctioningId: String, // Unique ID for sanctioning
|
||||
challongeLink: String, // Link to the tournament on Challonge
|
||||
startDate: String, // Start date of the tournament
|
||||
endDate: String, // End date of the tournament
|
||||
lead: String, // Lead organizer of the tournament
|
||||
headJudge: String, // Head judge of the tournament
|
||||
assistantHeadJudge: String // Assistant head judge of the tournament
|
||||
}
|
||||
};
|
||||
|
||||
const disputes = {
|
||||
GUID_AND_SANCTIONINGID_AS_INDEX: {
|
||||
sanctioningId: STRING | tournaments.sanctioningIDAsIndex.sanctioningId, // Unique ID for sanctioning
|
||||
challongeLink: STRING | tournaments.sanctioningIDAsIndex.challongeLink, // Link to the tournament on Challonge
|
||||
playerIds: [STRING], // Array of player IDs involved in the dispute
|
||||
judges: [STRING], // Array of judge IDs involved in the dispute
|
||||
description: STRING, // Description/detailed account of the dispute
|
||||
verdict: STRING, // Verdict of the dispute
|
||||
recordingLink: STRING // Link to the recording of the dispute
|
||||
}
|
||||
};
|
||||
|
||||
const dataStore = {
|
||||
tournaments,
|
||||
disputes
|
||||
};
|
||||
Reference in New Issue
Block a user