UNPKG

@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.

415 lines (414 loc) 12.1 kB
const getInitialPoolAssignments = { "message": "Pool Summary", "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": "live", "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" } }, "pools": [ { "PoolId": 564, "Name": "Pool 1", "RingName": "Ring 1", "Flight": 1, "PoolType": "pool", "EventId": 121, "Status": "preparation", "Updated": "2025-03-12T17:28:07.000Z", "Staff": [ { "Id": 149, "TournamentId": 84, "EventId": 121, "PoolId": 564, "PersonId": 1, "Role": "Director", "Person": { "PersonId": 1, "DisplayName": "Dwain Crackel", "Pronouns": "He/Him", "FirstName": "Dwain", "LastName": "Crackel", "Birthday": "1980-07-16", "ClubId": 10, "HemaRatingsId": 8962, "ShowData": true, "ShareData": false, "AccessLevel": "Admin", "Club": { "ClubId": 10, "Name": "Columbus United Fencing Club", "ShortName": "CUFC", "Description": null, "TagLine": "", "AddressId": 5, "Color1": "navy", "Color2": "rose" }, "Images": [ { "url": "https://randomuser.me/api/portraits/men/22.jpg" } ] } } ], "participants": [ { "Person": { "PersonId": 79, "DisplayName": "Tom Testerlou", "Pronouns": "He/Him", "ClubId": 10, "ShowData": true, "Club": { "Name": "Columbus United Fencing Club", "ShortName": "CUFC", "Images": [ { "url": "https://meyersquaredimages.com/images/clubs/cufc.png" } ] }, "Images": [] }, "PoolId": 564, "PoolPosition": 1, "Seed": 1 }, { "Person": { "PersonId": 111, "DisplayName": "Aaron Senteney", "Pronouns": "He/Him", "ClubId": 38, "ShowData": true, "Club": { "Name": "Steelhead Western Martial Arts", "ShortName": "SWMA", "Images": [] }, "Images": [] }, "PoolId": 564, "PoolPosition": 4, "Seed": 4 }, { "Person": { "PersonId": 351, "DisplayName": "Blaise Simpson", "Pronouns": "He/Him", "ClubId": 16, "ShowData": true, "Club": { "Name": "Cymbrogi School of Western Martial Arts", "ShortName": "CSoWM", "Images": [] }, "Images": [] }, "PoolId": 564, "PoolPosition": 5, "Seed": 5 }, { "Person": { "PersonId": 288, "DisplayName": "Melissa Newman-Evans", "Pronouns": "She/Her", "ClubId": 76, "ShowData": true, "Club": { "Name": "Denver Historical Fencing Academy", "ShortName": "DHFA", "Images": [] }, "Images": [] }, "PoolId": 564, "PoolPosition": 8, "Seed": 8 } ], "BoutsLeft": 6, "TotalBouts": 6 }, { "PoolId": 565, "Name": "Pool 2", "RingName": "Ring 2", "Flight": 1, "PoolType": "pool", "EventId": 121, "Status": "preparation", "Updated": "2025-03-12T17:28:07.000Z", "Staff": [ { "Id": 150, "TournamentId": 84, "EventId": 121, "PoolId": 565, "PersonId": 79, "Role": "Director", "Person": { "PersonId": 79, "DisplayName": "Tom Testerlou", "Pronouns": "He/Him", "FirstName": "Tom", "LastName": "Testerlou", "Birthday": null, "ClubId": 10, "HemaRatingsId": null, "ShowData": true, "ShareData": false, "AccessLevel": "Admin", "Club": { "ClubId": 10, "Name": "Columbus United Fencing Club", "ShortName": "CUFC", "Description": null, "TagLine": "", "AddressId": 5, "Color1": "navy", "Color2": "rose" }, "Images": [] } } ], "participants": [ { "Person": { "PersonId": 201, "DisplayName": "Test Tester1", "Pronouns": "He/Him", "ClubId": 17, "ShowData": true, "Club": { "Name": "No Club Affiliation ", "ShortName": "NoClub", "Images": [] }, "Images": [] }, "PoolId": 565, "PoolPosition": 2, "Seed": 2 }, { "Person": { "PersonId": 9, "DisplayName": "Sean McCoy", "Pronouns": "He/Him", "ClubId": 17, "ShowData": true, "Club": { "Name": "No Club Affiliation ", "ShortName": "NoClub", "Images": [] }, "Images": [] }, "PoolId": 565, "PoolPosition": 3, "Seed": 3 }, { "Person": { "PersonId": 413, "DisplayName": "Sean Pabers", "Pronouns": "He/Him", "ClubId": 17, "ShowData": true, "Club": { "Name": "No Club Affiliation ", "ShortName": "NoClub", "Images": [] }, "Images": [] }, "PoolId": 565, "PoolPosition": 6, "Seed": 6 }, { "Person": { "PersonId": 136, "DisplayName": "Joseph Hochadel", "Pronouns": "He/Him", "ClubId": 21, "ShowData": true, "Club": { "Name": "Gem City Duelists Society", "ShortName": "GCDS", "Images": [] }, "Images": [] }, "PoolId": 565, "PoolPosition": 7, "Seed": 7 } ], "BoutsLeft": 6, "TotalBouts": 6 } ], "staff": [] } export default getInitialPoolAssignments;