diff --git a/code/websites/pokedex.online/src/views/ChallongeTest.vue b/code/websites/pokedex.online/src/views/ChallongeTest.vue index 12c80c2..16240e9 100644 --- a/code/websites/pokedex.online/src/views/ChallongeTest.vue +++ b/code/websites/pokedex.online/src/views/ChallongeTest.vue @@ -12,59 +12,15 @@
- -
- -
- - -
- - Using API {{ apiVersion }} - -
- - -
- - -
- - -
- - -
- ✓ USER scope - tournaments you created or administer -
-
- ⓘ APPLICATION scope requires a client-credentials token with - application:manage -
-
+ +
@@ -402,14 +358,12 @@ import { ref, computed, watch, onMounted } from 'vue'; import { useChallongeApiKey } from '../composables/useChallongeApiKey.js'; import { useChallongeOAuth } from '../composables/useChallongeOAuth.js'; import { useChallongeClientCredentials } from '../composables/useChallongeClientCredentials.js'; -import { useAsyncState } from '../composables/useAsyncState.js'; -import { - createChallongeV1Client, - createChallongeV2Client, - AuthType, - ScopeType -} from '../services/challonge.service.js'; -import { queryAllTournaments } from '../utilities/tournament-query.js'; +import { useChallongeClient } from '../composables/useChallongeClient.js'; +import { useChallongeTests } from '../composables/useChallongeTests.js'; +import ApiVersionSelector from '../components/challonge/ApiVersionSelector.vue'; +import TournamentGrid from '../components/challonge/TournamentGrid.vue'; +import TournamentDetail from '../components/challonge/TournamentDetail.vue'; +import { ScopeType } from '../services/challonge.service.js'; const { getApiKey } = useChallongeApiKey(); const {