@dcrackel/meyersquaredui
Version:
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
738 lines (737 loc) • 28.4 kB
JavaScript
const getDEWithBouts =
{
"message": "DE Pool retrieved",
"pools": [
{
"PoolId": 566,
"Name": "Flight Board Test Event-DE",
"RingName": "DE Bracket",
"Flight": 1,
"PoolType": "de",
"EventId": 121,
"Status": "live",
"Updated": "2025-03-15T18:12:58.000Z",
"Staff": [],
"Bouts": [
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14484,
"PoolId": 566,
"EventId": 121,
"Person1Id": 288,
"Person2Id": 79,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Table of 8",
"DEBoutId": 1,
"DENextBoutId": 5,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 288,
"DisplayName": "Melissa Newman-Evans",
"ClubId": 76,
"ShowData": true,
"Images": [],
"Club": {
"Name": "Denver Historical Fencing Academy",
"Color1": "Red",
"Color2": "Gold"
},
"EventPersons": [
{
"DEPosition": 1,
"LastNote": null
}
],
"Penalties": []
},
"Person2": {
"PersonId": 79,
"DisplayName": "Tom Testerlou",
"ClubId": 10,
"ShowData": true,
"Images": [],
"Club": {
"Name": "Columbus United Fencing Club"
},
"EventPersons": [
{
"DEPosition": 8,
"LastNote": null
}
],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14486,
"PoolId": 566,
"EventId": 121,
"Person1Id": 9,
"Person2Id": 351,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Table of 8",
"DEBoutId": 2,
"DENextBoutId": 5,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 9,
"DisplayName": "Sean McCoy",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [
{
"DEPosition": 5,
"LastNote": null
}
],
"Penalties": []
},
"Person2": {
"PersonId": 351,
"DisplayName": "Blaise Simpson",
"ClubId": 16,
"ShowData": true,
"Images": [],
"Club": {
"Name": "Cymbrogi School of Western Martial Arts"
},
"EventPersons": [
{
"DEPosition": 4,
"LastNote": null
}
],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14487,
"PoolId": 566,
"EventId": 121,
"Person1Id": 413,
"Person2Id": 111,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Table of 8",
"DEBoutId": 3,
"DENextBoutId": 6,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 413,
"DisplayName": "Sean Pabers",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [
{
"DEPosition": 3,
"LastNote": null
}
],
"Penalties": []
},
"Person2": {
"PersonId": 111,
"DisplayName": "Aaron Senteney",
"ClubId": 38,
"ShowData": true,
"Images": [],
"Club": {
"Name": "Steelhead Western Martial Arts"
},
"EventPersons": [
{
"DEPosition": 6,
"LastNote": null
}
],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14485,
"PoolId": 566,
"EventId": 121,
"Person1Id": 201,
"Person2Id": 136,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Table of 8",
"DEBoutId": 4,
"DENextBoutId": 6,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 201,
"DisplayName": "Test Tester1",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [
{
"DEPosition": 7,
"LastNote": null
}
],
"Penalties": []
},
"Person2": {
"PersonId": 136,
"DisplayName": "Joseph Hochadel",
"ClubId": 21,
"ShowData": true,
"Images": [],
"Club": {
"Name": "Gem City Duelists Society"
},
"EventPersons": [
{
"DEPosition": 2,
"LastNote": null
}
],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14488,
"PoolId": 566,
"EventId": 121,
"Person1Id": 0,
"Person2Id": 0,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Semifinal",
"DEBoutId": 5,
"DENextBoutId": 7,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [],
"Penalties": []
},
"Person2": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation "
},
"EventPersons": [],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14489,
"PoolId": 566,
"EventId": 121,
"Person1Id": 0,
"Person2Id": 0,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Semifinal",
"DEBoutId": 6,
"DENextBoutId": 7,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [],
"Penalties": []
},
"Person2": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation "
},
"EventPersons": [],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
},
{
"TimerStatus": "stopped",
"RefName": "Unassigned",
"BoutId": 14490,
"PoolId": 566,
"EventId": 121,
"Person1Id": 0,
"Person2Id": 0,
"Status": "Scheduled",
"Score1": 0,
"Score2": 0,
"Started": null,
"Ended": null,
"TimeLeft": 0,
"CurrentPass": 0,
"MaxPasses": 0,
"RoundLabel": "Final",
"DEBoutId": 7,
"DENextBoutId": null,
"LoserNextBoutId": null,
"RefereeId": null,
"createdAt": "2025-03-15T18:12:58.000Z",
"updatedAt": "2025-03-15T18:12:58.000Z",
"Person1": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation ",
"Color1": "red",
"Color2": "blue"
},
"EventPersons": [],
"Penalties": []
},
"Person2": {
"PersonId": 0,
"DisplayName": "BYE",
"ClubId": 17,
"ShowData": true,
"Images": [],
"Club": {
"Name": "No Club Affiliation "
},
"EventPersons": [],
"Penalties": []
},
"Pool": {
"RingName": "DE Bracket"
},
"Metrics": []
}
]
}
],
"event": {
"EventId": 121,
"TournamentId": 84,
"EventName": "Flight Board Test Event",
"Date": "2025-03-09",
"StartTime": "12:00:00",
"NumberOfRings": 4,
"NumberOfPools": 2,
"PoolSize": 6,
"Flights": 1,
"WeaponId": 1,
"Status": "de",
"EventRating": "U",
"IncludeInRatings": true,
"Present": 8,
"Absent": 0,
"Removed": 0,
"EventRules": [
{
"EventId": 121,
"RuleId": 1,
"RuleValue": "20",
"Rules": {
"RuleName": "PoolTime",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 2,
"RuleValue": "5",
"Rules": {
"RuleName": "PoolMaxPoints",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 3,
"RuleValue": "20",
"Rules": {
"RuleName": "DETime",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 4,
"RuleValue": "5",
"Rules": {
"RuleName": "DEMaxPoints",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 5,
"RuleValue": "false",
"Rules": {
"RuleName": "DE3rdFenceOff",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 9,
"RuleValue": "Win Percent,Win Count,Indicator,Points Scored",
"Rules": {
"RuleName": "DEPromotionOrder",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 10,
"RuleValue": "100%",
"Rules": {
"RuleName": "DENumOfPromotion",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 11,
"RuleValue": "[object Object]",
"Rules": {
"RuleName": "PoolSeeding",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 14,
"RuleValue": null,
"Rules": {
"RuleName": "CutOffNumber",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 15,
"RuleValue": "single",
"Rules": {
"RuleName": "DEType",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 16,
"RuleValue": "true",
"Rules": {
"RuleName": "PoolScoreDirection",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 17,
"RuleValue": "Top Percent,Top Count,Top Count of Each Pool",
"Rules": {
"RuleName": "DEPromoteBy",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 19,
"RuleValue": "false",
"Rules": {
"RuleName": "CountHandshots",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 20,
"RuleValue": "false",
"Rules": {
"RuleName": "CountDoubles",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 21,
"RuleValue": "true",
"Rules": {
"RuleName": "PenaltiesReset",
"Context": "event"
}
}
],
"Weapon": {
"HRWeaponId": "1"
}
},
"eventRules": [
{
"EventId": 121,
"RuleId": 1,
"RuleValue": "20",
"Rules": {
"RuleName": "PoolTime",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 2,
"RuleValue": "5",
"Rules": {
"RuleName": "PoolMaxPoints",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 3,
"RuleValue": "20",
"Rules": {
"RuleName": "DETime",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 4,
"RuleValue": "5",
"Rules": {
"RuleName": "DEMaxPoints",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 5,
"RuleValue": "false",
"Rules": {
"RuleName": "DE3rdFenceOff",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 9,
"RuleValue": "Win Percent,Win Count,Indicator,Points Scored",
"Rules": {
"RuleName": "DEPromotionOrder",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 10,
"RuleValue": "100%",
"Rules": {
"RuleName": "DENumOfPromotion",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 11,
"RuleValue": "[object Object]",
"Rules": {
"RuleName": "PoolSeeding",
"Context": "pool"
}
},
{
"EventId": 121,
"RuleId": 14,
"RuleValue": null,
"Rules": {
"RuleName": "CutOffNumber",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 15,
"RuleValue": "single",
"Rules": {
"RuleName": "DEType",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 16,
"RuleValue": "true",
"Rules": {
"RuleName": "PoolScoreDirection",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 17,
"RuleValue": "Top Percent,Top Count,Top Count of Each Pool",
"Rules": {
"RuleName": "DEPromoteBy",
"Context": "de"
}
},
{
"EventId": 121,
"RuleId": 19,
"RuleValue": "false",
"Rules": {
"RuleName": "CountHandshots",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 20,
"RuleValue": "false",
"Rules": {
"RuleName": "CountDoubles",
"Context": "event"
}
},
{
"EventId": 121,
"RuleId": 21,
"RuleValue": "true",
"Rules": {
"RuleName": "PenaltiesReset",
"Context": "event"
}
}
],
"hostingClubColors": {
"Color1": "navy",
"Color2": "rose"
}
};
export default getDEWithBouts;