From 48a23c65737bb8c431d569b747bb3eba644c525c Mon Sep 17 00:00:00 2001 From: TheBv Date: Fri, 8 Nov 2024 08:22:53 +0100 Subject: [PATCH] feat(WIP): update to deno codebase --- javascript-sdk/deno.json | 2 +- .../src => javascript-sdk/etf2l/api}/etf2l.ts | 300 +++---- javascript-sdk/etf2l/api/mod.ts | 1 + javascript-sdk/etf2l/deno.json | 9 + javascript-sdk/etf2l/mod.ts | 10 + .../etf2l}/types/common/clan.ts | 2 +- .../etf2l}/types/common/link.ts | 0 javascript-sdk/etf2l/types/common/mod.ts | 6 + .../etf2l}/types/common/multiPage.ts | 4 +- .../etf2l}/types/common/multiPageSmall.ts | 2 +- .../etf2l}/types/common/status.ts | 0 .../etf2l}/types/common/steamData.ts | 0 .../types/competition/competitionDetails.ts | 4 +- .../types/competition/competitionElement.ts | 2 +- .../types/competition/competitionMatchData.ts | 6 +- .../types/competition/competitionMatches.ts | 6 +- .../types/competition/competitionResult.ts | 4 +- .../competitionResultsCompetition.ts | 0 .../competition/competitionResultsData.ts | 6 +- .../competition/competitionResultsDivision.ts | 0 .../types/competition/competitionTable.ts | 0 .../types/competition/competitionTeamStats.ts | 0 .../types/competition/competitionTeams.ts | 4 +- .../types/competition/competitionTeamsData.ts | 0 .../types/competition/competitionUrls.ts | 0 .../etf2l/types/competition/competitions.ts | 6 + javascript-sdk/etf2l/types/competition/mod.ts | 14 + javascript-sdk/etf2l/types/demos/demos.ts | 6 + .../etf2l}/types/demos/demosData.ts | 0 javascript-sdk/etf2l/types/demos/mod.ts | 2 + .../competition/etf2lCompetitionDetails.ts | 7 + .../competition/etf2lCompetitionList.ts | 2 +- .../competition/etf2lCompetitionMatches.ts | 7 + .../competition/etf2lCompetitionResults.ts | 5 + .../competition/etf2lCompetitionTables.ts | 2 +- .../competition/etf2lCompetitionTeams.ts | 7 + .../etf2l/types/endpoints/competition/mod.ts | 6 + .../etf2l/types/endpoints/demos/etf2lDemos.ts | 5 + .../etf2l/types/endpoints/demos/mod.ts | 1 + .../types/endpoints/matches/etf2lMatch.ts | 10 + .../endpoints/matches/etf2lMatchDetails.ts | 7 + .../etf2l/types/endpoints/matches/mod.ts | 2 + javascript-sdk/etf2l/types/endpoints/mod.ts | 7 + .../etf2l/types/endpoints/player/etf2lBan.ts | 3 + .../types/endpoints/player/etf2lPlayer.ts | 7 + .../endpoints/player/etf2lPlayerResults.ts | 6 + .../endpoints/player/etf2lPlayerTransfers.ts | 4 +- .../etf2l/types/endpoints/player/mod.ts | 4 + .../recruitment/etf2lRecruitmentPlayers.ts | 2 +- .../recruitment/etf2lRecruitmentTeams.ts | 4 +- .../etf2l/types/endpoints/recruitment/mod.ts | 2 + .../etf2l/types/endpoints/team/etf2lTeam.ts | 7 + .../types/endpoints/team/etf2lTeamMatches.ts | 7 + .../types/endpoints/team/etf2lTeamResults.ts | 6 + .../endpoints/team/etf2lTeamTransfers.ts | 4 +- .../etf2l/types/endpoints/team/mod.ts | 4 + .../endpoints/whitelist/etf2lWhitelist.ts | 7 + .../etf2l/types/endpoints/whitelist/mod.ts | 1 + .../etf2l}/types/enums/classes.ts | 0 javascript-sdk/etf2l/types/enums/mod.ts | 1 + .../etf2l}/types/matches/matchData.ts | 0 .../etf2l}/types/matches/matchDataDetails.ts | 8 +- .../etf2l}/types/matches/matchPlayer.ts | 2 +- javascript-sdk/etf2l/types/matches/mod.ts | 3 + javascript-sdk/etf2l/types/mod.ts | 10 + javascript-sdk/etf2l/types/player/mod.ts | 8 + .../etf2l}/types/player/player.ts | 2 +- .../etf2l}/types/player/playerData.ts | 6 +- .../etf2l}/types/player/playerResultClan.ts | 2 +- .../etf2l}/types/player/playerResultData.ts | 6 +- .../etf2l}/types/player/playerSteamData.ts | 0 .../etf2l}/types/player/playerTeam.ts | 2 +- .../etf2l}/types/player/playerTransferData.ts | 4 +- .../etf2l}/types/player/playerTransferTeam.ts | 0 javascript-sdk/etf2l/types/recruitment/mod.ts | 4 + .../recruitment/recruitmentDataPlayer.ts | 4 +- .../types/recruitment/recruitmentDataTeam.ts | 4 +- .../types/recruitment/recruitmentPlayer.ts | 4 +- .../types/recruitment/recruitmentTeam.ts | 6 + javascript-sdk/etf2l/types/team/mod.ts | 7 + .../etf2l}/types/team/team.ts | 4 +- .../etf2l}/types/team/teamCompetition.ts | 2 +- javascript-sdk/etf2l/types/team/teamMatch.ts | 6 + .../etf2l}/types/team/teamMatchData.ts | 6 +- .../etf2l}/types/team/teamPlayer.ts | 2 +- .../etf2l}/types/team/teamTransferData.ts | 4 +- .../etf2l}/types/team/teamTransferPlayer.ts | 2 +- javascript-sdk/etf2l/types/whitelists/mod.ts | 1 + .../etf2l}/types/whitelists/whitelists.ts | 0 javascript-sdk/logstf/api/logstf.ts | 2 +- node-sdk/.gitignore | 39 - node-sdk/lib/etf2l-api-types/package.json | 15 - node-sdk/lib/etf2l-api-types/src/index.ts | 1 - .../etf2l-api-types/src/types/common/index.ts | 6 - .../src/types/competition/competitions.ts | 6 - .../src/types/competition/index.ts | 14 - .../etf2l-api-types/src/types/demos/demos.ts | 6 - .../etf2l-api-types/src/types/demos/index.ts | 2 - .../competition/etf2lCompetitionDetails.ts | 7 - .../competition/etf2lCompetitionMatches.ts | 7 - .../competition/etf2lCompetitionResults.ts | 5 - .../competition/etf2lCompetitionTeams.ts | 7 - .../src/types/endpoints/competition/index.ts | 6 - .../src/types/endpoints/demos/etf2lDemos.ts | 5 - .../src/types/endpoints/demos/index.ts | 1 - .../src/types/endpoints/index.ts | 7 - .../src/types/endpoints/matches/etf2lMatch.ts | 10 - .../endpoints/matches/etf2lMatchDetails.ts | 7 - .../src/types/endpoints/matches/index.ts | 2 - .../src/types/endpoints/player/etf2lBan.ts | 3 - .../src/types/endpoints/player/etf2lPlayer.ts | 7 - .../endpoints/player/etf2lPlayerResults.ts | 6 - .../src/types/endpoints/player/index.ts | 4 - .../src/types/endpoints/recruitment/index.ts | 2 - .../src/types/endpoints/team/etf2lTeam.ts | 7 - .../types/endpoints/team/etf2lTeamMatches.ts | 7 - .../types/endpoints/team/etf2lTeamResults.ts | 6 - .../src/types/endpoints/team/index.ts | 4 - .../endpoints/whitelist/etf2lWhitelist.ts | 7 - .../src/types/endpoints/whitelist/index.ts | 1 - .../etf2l-api-types/src/types/enums/index.ts | 1 - .../lib/etf2l-api-types/src/types/index.ts | 10 - .../src/types/matches/index.ts | 3 - .../etf2l-api-types/src/types/player/index.ts | 8 - .../src/types/recruitment/index.ts | 4 - .../src/types/recruitment/recruitmentTeam.ts | 6 - .../etf2l-api-types/src/types/team/index.ts | 7 - .../src/types/team/teamMatch.ts | 6 - .../src/types/whitelists/index.ts | 1 - node-sdk/lib/etf2l-api-types/tsconfig.json | 15 - node-sdk/lib/etf2l-api-types/tsup.config.ts | 17 - node-sdk/sdks/etf2l/package.json | 21 - node-sdk/sdks/etf2l/src/index.ts | 1 - node-sdk/sdks/etf2l/tsconfig.json | 15 - node-sdk/sdks/etf2l/tsup.config.ts | 17 - node-sdk/yarn.lock | 831 ------------------ 136 files changed, 410 insertions(+), 1404 deletions(-) rename {node-sdk/sdks/etf2l/src => javascript-sdk/etf2l/api}/etf2l.ts (53%) create mode 100644 javascript-sdk/etf2l/api/mod.ts create mode 100644 javascript-sdk/etf2l/deno.json create mode 100644 javascript-sdk/etf2l/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/clan.ts (71%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/link.ts (100%) create mode 100644 javascript-sdk/etf2l/types/common/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/multiPage.ts (77%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/multiPageSmall.ts (83%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/status.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/common/steamData.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionDetails.ts (80%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionElement.ts (73%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionMatchData.ts (84%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionMatches.ts (58%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionResult.ts (68%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionResultsCompetition.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionResultsData.ts (82%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionResultsDivision.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionTable.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionTeamStats.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionTeams.ts (69%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionTeamsData.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/competition/competitionUrls.ts (100%) create mode 100644 javascript-sdk/etf2l/types/competition/competitions.ts create mode 100644 javascript-sdk/etf2l/types/competition/mod.ts create mode 100644 javascript-sdk/etf2l/types/demos/demos.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/demos/demosData.ts (100%) create mode 100644 javascript-sdk/etf2l/types/demos/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionDetails.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/competition/etf2lCompetitionList.ts (50%) create mode 100644 javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionMatches.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionResults.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/competition/etf2lCompetitionTables.ts (62%) create mode 100644 javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTeams.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/competition/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/demos/etf2lDemos.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/demos/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/matches/etf2lMatch.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/matches/etf2lMatchDetails.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/matches/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/player/etf2lBan.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/player/etf2lPlayer.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerResults.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/player/etf2lPlayerTransfers.ts (58%) create mode 100644 javascript-sdk/etf2l/types/endpoints/player/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts (69%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/recruitment/etf2lRecruitmentTeams.ts (51%) create mode 100644 javascript-sdk/etf2l/types/endpoints/recruitment/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/team/etf2lTeam.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/team/etf2lTeamMatches.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/team/etf2lTeamResults.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/endpoints/team/etf2lTeamTransfers.ts (62%) create mode 100644 javascript-sdk/etf2l/types/endpoints/team/mod.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/whitelist/etf2lWhitelist.ts create mode 100644 javascript-sdk/etf2l/types/endpoints/whitelist/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/enums/classes.ts (100%) create mode 100644 javascript-sdk/etf2l/types/enums/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/matches/matchData.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/matches/matchDataDetails.ts (66%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/matches/matchPlayer.ts (64%) create mode 100644 javascript-sdk/etf2l/types/matches/mod.ts create mode 100644 javascript-sdk/etf2l/types/mod.ts create mode 100644 javascript-sdk/etf2l/types/player/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/player.ts (62%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerData.ts (62%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerResultClan.ts (58%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerResultData.ts (57%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerSteamData.ts (100%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerTeam.ts (89%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerTransferData.ts (54%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/player/playerTransferTeam.ts (100%) create mode 100644 javascript-sdk/etf2l/types/recruitment/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/recruitment/recruitmentDataPlayer.ts (69%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/recruitment/recruitmentDataTeam.ts (69%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/recruitment/recruitmentPlayer.ts (68%) create mode 100644 javascript-sdk/etf2l/types/recruitment/recruitmentTeam.ts create mode 100644 javascript-sdk/etf2l/types/team/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/team.ts (81%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/teamCompetition.ts (65%) create mode 100644 javascript-sdk/etf2l/types/team/teamMatch.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/teamMatchData.ts (56%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/teamPlayer.ts (72%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/teamTransferData.ts (56%) rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/team/teamTransferPlayer.ts (64%) create mode 100644 javascript-sdk/etf2l/types/whitelists/mod.ts rename {node-sdk/lib/etf2l-api-types/src => javascript-sdk/etf2l}/types/whitelists/whitelists.ts (100%) delete mode 100644 node-sdk/.gitignore delete mode 100644 node-sdk/lib/etf2l-api-types/package.json delete mode 100644 node-sdk/lib/etf2l-api-types/src/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/common/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/competition/competitions.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/competition/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/demos/demos.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/demos/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionDetails.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionMatches.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionResults.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTeams.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/etf2lDemos.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatch.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatchDetails.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lBan.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayer.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerResults.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/player/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeam.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamMatches.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamResults.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/team/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/etf2lWhitelist.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/enums/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/matches/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/player/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/recruitment/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentTeam.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/team/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/team/teamMatch.ts delete mode 100644 node-sdk/lib/etf2l-api-types/src/types/whitelists/index.ts delete mode 100644 node-sdk/lib/etf2l-api-types/tsconfig.json delete mode 100644 node-sdk/lib/etf2l-api-types/tsup.config.ts delete mode 100644 node-sdk/sdks/etf2l/package.json delete mode 100644 node-sdk/sdks/etf2l/src/index.ts delete mode 100644 node-sdk/sdks/etf2l/tsconfig.json delete mode 100644 node-sdk/sdks/etf2l/tsup.config.ts delete mode 100644 node-sdk/yarn.lock diff --git a/javascript-sdk/deno.json b/javascript-sdk/deno.json index 82e7f0a..771c1f7 100644 --- a/javascript-sdk/deno.json +++ b/javascript-sdk/deno.json @@ -3,5 +3,5 @@ "tasks": { "ok": "deno lint && deno fmt --check" }, - "workspace": ["./logstf"] + "workspace": ["./logstf", "./etf2l"] } diff --git a/node-sdk/sdks/etf2l/src/etf2l.ts b/javascript-sdk/etf2l/api/etf2l.ts similarity index 53% rename from node-sdk/sdks/etf2l/src/etf2l.ts rename to javascript-sdk/etf2l/api/etf2l.ts index e86768a..c906768 100644 --- a/node-sdk/sdks/etf2l/src/etf2l.ts +++ b/javascript-sdk/etf2l/api/etf2l.ts @@ -1,6 +1,4 @@ -import { fetch, FetchResultTypes, isNullishOrEmpty } from "common"; -import type { Etf2lBan, Etf2lCompetitionDetails, Etf2lCompetitionList, Etf2lCompetitionMatches, Etf2lCompetitionResults, Etf2lCompetitionTables, Etf2lCompetitionTeams, Etf2lDemos, Etf2lMatch, Etf2lMatchDetails, Etf2lPlayer, Etf2lPlayerResults, Etf2lPlayerTransfers, Etf2lRecruitmentPlayers, Etf2lRecruitmentTeams, Etf2lTeam, Etf2lTeamMatches, Etf2lTeamResults, Etf2lTeamTransfers, Etf2lWhitelists } from "etf2l-api-types"; -import { URLSearchParams } from "node:url"; +import type { Etf2lBan, Etf2lCompetitionDetails, Etf2lCompetitionList, Etf2lCompetitionMatches, Etf2lCompetitionResults, Etf2lCompetitionTables, Etf2lCompetitionTeams, Etf2lDemos, Etf2lMatch, Etf2lMatchDetails, Etf2lPlayer, Etf2lPlayerResults, Etf2lPlayerTransfers, Etf2lRecruitmentPlayers, Etf2lRecruitmentTeams, Etf2lTeam, Etf2lTeamMatches, Etf2lTeamResults, Etf2lTeamTransfers, Etf2lWhitelists } from "../types/mod.ts"; export class Etf2l { /** @@ -17,27 +15,25 @@ export class Etf2l { player = null, status = null, reason = null, - }: { player: number | null, status: 'active' | 'expired' | null, reason: string | null } = { player: null, status: null, reason: null }) { + }: { player: number | null, status: 'active' | 'expired' | null, reason: string | null } = { player: null, status: null, reason: null }) : Promise { const params = new URLSearchParams(); - if (!isNullishOrEmpty(player)) { + if (player) { params.append("player", player.toString()); } - if (!isNullishOrEmpty(status)) { + if (status) { params.append("status", status); } - if (!isNullishOrEmpty(reason)) { + if (reason) { params.append("reason", reason); } - return await fetch( - `${this.#etf2lApiUrl}/bans${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/bans${params.toString()}`); + + return (await data.json()) as Etf2lBan } public async competitionList({ @@ -48,89 +44,77 @@ export class Etf2l { comp_type = null, team_type = null, competition = null, - }: { archived: number | null, name: string | null, description: string | null, category: string | null, comp_type: string | null, team_type: string | null, competition: string | null } = { archived: null, name: null, description: null, category: null, comp_type: null, team_type: null, competition: null }) { + }: { archived: number | null, name: string | null, description: string | null, category: string | null, comp_type: string | null, team_type: string | null, competition: string | null } = { archived: null, name: null, description: null, category: null, comp_type: null, team_type: null, competition: null }) : Promise { const params = new URLSearchParams(); - if (!isNullishOrEmpty(archived)) { + if (archived) { params.append("archived", archived.toString()); } - if (!isNullishOrEmpty(name)) { + if (name) { params.append("name", name); } - if (!isNullishOrEmpty(description)) { + if (description) { params.append("description", description); } - if (!isNullishOrEmpty(category)) { + if (category) { params.append("category", category); } - if (!isNullishOrEmpty(comp_type)) { + if (comp_type) { params.append("comp_type", comp_type); } - if (!isNullishOrEmpty(team_type)) { + if (team_type) { params.append("team_type", team_type); } - if (!isNullishOrEmpty(competition)) { + if (competition) { params.append("competition_id", competition); } - return await fetch( - `${this.#etf2lApiUrl}/competition/list${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/competition/list${params.toString()}`); + + return (await data.json()) as Etf2lCompetitionList } public async competitionDetails( - competition_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/competition/${competition_id}`, - {}, - FetchResultTypes.JSON - ); + competition_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/competition/${competition_id}`); + + return (await data.json()) as Etf2lCompetitionDetails } public async competitionTeams( - competition_id: number) { + competition_id: number) : Promise { - return await fetch( - `${this.#etf2lApiUrl}/competition/${competition_id}/teams`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/competition/${competition_id}/teams`); + + return (await data.json()) as Etf2lCompetitionTeams } public async competitionResults( - competition_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/competition/${competition_id}/results`, - {}, - FetchResultTypes.JSON - ); + competition_id: number) : Promise{ + const data = await fetch(`${this.#etf2lApiUrl}/competition/${competition_id}/results`); + + return (await data.json()) as Etf2lCompetitionResults } public async competitionMatches( - competition_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/competition/${competition_id}/matches`, - {}, - FetchResultTypes.JSON - ); + competition_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/competition/${competition_id}/matches`); + + return (await data.json()) as Etf2lCompetitionMatches } - public async competitionTables(competition_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/competition/${competition_id}/tables`, - {}, - FetchResultTypes.JSON - ); + public async competitionTables(competition_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/competition/${competition_id}/tables`); + + return (await data.json()) as Etf2lCompetitionTables } public async demos({ @@ -139,35 +123,33 @@ export class Etf2l { pruned = null, from = null, to = null } - : { player: number | null, type: string | null, pruned: boolean | null, from: number | null, to: number | null } = { player: null, type: null, pruned: null, from: null, to: null }) { + : { player: number | null, type: string | null, pruned: boolean | null, from: number | null, to: number | null } = { player: null, type: null, pruned: null, from: null, to: null }) : Promise{ const params = new URLSearchParams(); - if (!isNullishOrEmpty(player)) { + if (player) { params.append("player", player.toString()); } - if (!isNullishOrEmpty(type)) { + if (type) { params.append("type", type); } - if (!isNullishOrEmpty(pruned)) { + if (pruned) { params.append("pruned", pruned.toString()); } - if (!isNullishOrEmpty(from)) { + if (from) { params.append("from", from.toString()); } - if (!isNullishOrEmpty(to)) { + if (to) { params.append("to", to.toString()); } - return await fetch( - `${this.#etf2lApiUrl}/demos${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/demos${params.toString()}`); + + return (await data.json()) as Etf2lDemos } public async matches({ @@ -182,91 +164,81 @@ export class Etf2l { team_type = null, round = null, players = null, - }: { clan1: number | null, clan2: number | null, vs: number | null, scheduled: number | null, competition: number | null, from: number | null, to: number | null, division: string | null, team_type: string | null, round: string | null, players: string[] | null } = { clan1: null, clan2: null, vs: null, scheduled: null, competition: null, from: null, to: null, division: null, team_type: null, round: null, players: null }) { + }: { clan1: number | null, clan2: number | null, vs: number | null, scheduled: number | null, competition: number | null, from: number | null, to: number | null, division: string | null, team_type: string | null, round: string | null, players: string[] | null } = { clan1: null, clan2: null, vs: null, scheduled: null, competition: null, from: null, to: null, division: null, team_type: null, round: null, players: null }) : Promise{ const params = new URLSearchParams(); - if (!isNullishOrEmpty(clan1)) { + if (clan1) { params.append("clan1", clan1.toString()); } - if (!isNullishOrEmpty(clan2)) { + if (clan2) { params.append("clan2", clan2.toString()); } - if (!isNullishOrEmpty(vs)) { + if (vs) { params.append("vs", vs.toString()); } - if (!isNullishOrEmpty(scheduled)) { + if (scheduled) { params.append("scheduled", scheduled.toString()); } - if (!isNullishOrEmpty(competition)) { + if (competition) { params.append("competition", competition.toString()); } - if (!isNullishOrEmpty(from)) { + if (from) { params.append("from", from.toString()); } - if (!isNullishOrEmpty(to)) { + if (to) { params.append("to", to.toString()); } - if (!isNullishOrEmpty(division)) { + if (division) { params.append("division", division); } - if (!isNullishOrEmpty(team_type)) { + if (team_type) { params.append("team_type", team_type); } - if (!isNullishOrEmpty(round)) { + if (round) { params.append("round", round); } - if (!isNullishOrEmpty(players)) { + if (players) { params.append("string[]", `[${players.toString()}]`); } - return await fetch( - `${this.#etf2lApiUrl}/matches${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/matches${params.toString()}`); + + return (await data.json()) as Etf2lMatch } - public async matchDetails(leagueMatch_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/matches/${leagueMatch_id}`, - {}, - FetchResultTypes.JSON - ); + public async matchDetails(leagueMatch_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/matches/${leagueMatch_id}`); + + return (await data.json()) as Etf2lMatchDetails } - public async player(id: number) { - return await fetch( - `${this.#etf2lApiUrl}/player/${id}`, - {}, - FetchResultTypes.JSON - ); + public async player(id: number) : Promise{ + const data = await fetch(`${this.#etf2lApiUrl}/player/${id}`); + + return (await data.json()) as Etf2lPlayer } - public async playerTransfers(id: number) { - return await fetch( - `${this.#etf2lApiUrl}/player/${id}/transfers`, - {}, - FetchResultTypes.JSON - ); + public async playerTransfers(id: number) : Promise{ + const data = await fetch(`${this.#etf2lApiUrl}/player/${id}/transfers`); + + return (await data.json()) as Etf2lPlayerTransfers } - public async playerResults(id: number) { - return await fetch( - `${this.#etf2lApiUrl}/player/${id}/results`, - {}, - FetchResultTypes.JSON - ); + public async playerResults(id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/player/${id}/results`); + + return (await data.json()) as Etf2lPlayerResults } public async playerRecruitment({ @@ -275,35 +247,33 @@ export class Etf2l { skill = null, type = null, user = null - }: { country: string | null, player_class: string[] | null, skill: string[] | null, type: string | null, user: number | null } = { country: null, player_class: null, skill: null, type: null, user: null }) { + }: { country: string | null, player_class: string[] | null, skill: string[] | null, type: string | null, user: number | null } = { country: null, player_class: null, skill: null, type: null, user: null }) : Promise { const params = new URLSearchParams(); - if (!isNullishOrEmpty(country)) { + if (country) { params.append("country", country); } - if (!isNullishOrEmpty(player_class)) { - params.append("class", `[${player_class.toString()}]`); + if (player_class) { + params.append("class", `[${player_class.toString()}]`); } - if (!isNullishOrEmpty(skill)) { + if (skill) { params.append("skill", skill.toString()); } - if (!isNullishOrEmpty(type)) { + if (type) { params.append("type", type); } - if (!isNullishOrEmpty(user)) { + if (user) { params.append("user", user.toString()); } - return await fetch( - `${this.#etf2lApiUrl}/recruitment/players?${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/recruitment/players?${params.toString()}`); + + return (await data.json()) as Etf2lRecruitmentPlayers } public async teamRecruitment({ @@ -312,59 +282,51 @@ export class Etf2l { skill = null, type = null, user = null - }: { country: string | null, player_class: string[] | null, skill: string[] | null, type: string | null, user: number | null } = { country: null, player_class: null, skill: null, type: null, user: null }) { + }: { country: string | null, player_class: string[] | null, skill: string[] | null, type: string | null, user: number | null } = { country: null, player_class: null, skill: null, type: null, user: null }) : Promise { const params = new URLSearchParams(); - if (!isNullishOrEmpty(country)) { + if (country) { params.append("country", country); } - if (!isNullishOrEmpty(player_class)) { + if (player_class) { params.append("class", player_class.toString()); } - if (!isNullishOrEmpty(skill)) { + if (skill) { params.append("skill", skill.toString()); } - if (!isNullishOrEmpty(type)) { + if (type) { params.append("type", type); } - if (!isNullishOrEmpty(user)) { + if (user) { params.append("user", user.toString()); } - return await fetch( - `${this.#etf2lApiUrl}/recruitment/teams${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/recruitment/teams${params.toString()}`); + + return (await data.json()) as Etf2lRecruitmentTeams } - public async team(clan_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/team/${clan_id}`, - {}, - FetchResultTypes.JSON - ); + public async team(clan_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/team/${clan_id}`); + + return (await data.json()) as Etf2lTeam } - public async teamTransfers(clan_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/team/${clan_id}/transfers`, - {}, - FetchResultTypes.JSON - ); + public async teamTransfers(clan_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/team/${clan_id}/transfers`); + + return (await data.json()) as Etf2lTeamTransfers } - public async teamResults(clan_id: number) { - return await fetch( - `${this.#etf2lApiUrl}/team/${clan_id}/results`, - {}, - FetchResultTypes.JSON - ); + public async teamResults(clan_id: number) : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/team/${clan_id}/results`); + + return (await data.json()) as Etf2lTeamResults } public async teamMatches( @@ -380,66 +342,62 @@ export class Etf2l { team_type = null, round = null, players = null, - }: { clan1: number | null, clan2: number | null, vs: number | null, scheduled: number | null, competition: number | null, from: number | null, to: number | null, division: string | null, team_type: string | null, round: string | null, players: string[] | null } = { clan1: null, clan2: null, vs: null, scheduled: null, competition: null, from: null, to: null, division: null, team_type: null, round: null, players: null }) { + }: { clan1: number | null, clan2: number | null, vs: number | null, scheduled: number | null, competition: number | null, from: number | null, to: number | null, division: string | null, team_type: string | null, round: string | null, players: string[] | null } = { clan1: null, clan2: null, vs: null, scheduled: null, competition: null, from: null, to: null, division: null, team_type: null, round: null, players: null }) : Promise { const params = new URLSearchParams(); - if (!isNullishOrEmpty(clan1)) { + if (clan1) { params.append("clan1", clan1.toString()); } - if (!isNullishOrEmpty(clan2)) { + if (clan2) { params.append("clan2", clan2.toString()); } - if (!isNullishOrEmpty(vs)) { + if (vs) { params.append("vs", vs.toString()); } - if (!isNullishOrEmpty(scheduled)) { + if (scheduled) { params.append("scheduled", scheduled.toString()); } - if (!isNullishOrEmpty(competition)) { + if (competition) { params.append("competition", competition.toString()); } - if (!isNullishOrEmpty(from)) { + if (from) { params.append("from", from.toString()); } - if (!isNullishOrEmpty(to)) { + if (to) { params.append("to", to.toString()); } - if (!isNullishOrEmpty(division)) { + if (division) { params.append("division", division); } - if (!isNullishOrEmpty(team_type)) { + if (team_type) { params.append("team_type", team_type); } - if (!isNullishOrEmpty(round)) { + if (round) { params.append("round", round); } - if (!isNullishOrEmpty(players)) { + if (players) { params.append("string[]", `[${players.toString()}]`); } - return await fetch( - `${this.#etf2lApiUrl}/team/${clan_id}/matches${params.toString()}`, - {}, - FetchResultTypes.JSON - ); + const data = await fetch(`${this.#etf2lApiUrl}/team/${clan_id}/matches${params.toString()}`); + + return (await data.json()) as Etf2lTeamMatches } - public async whitelists() { - return await fetch( - `${this.#etf2lApiUrl}/whitelists`, - {}, - FetchResultTypes.JSON - ); + public async whitelists() : Promise { + const data = await fetch(`${this.#etf2lApiUrl}/whitelists`); + + return (await data.json()) as Etf2lWhitelists } } diff --git a/javascript-sdk/etf2l/api/mod.ts b/javascript-sdk/etf2l/api/mod.ts new file mode 100644 index 0000000..47db48c --- /dev/null +++ b/javascript-sdk/etf2l/api/mod.ts @@ -0,0 +1 @@ +export * from "./etf2l.ts"; diff --git a/javascript-sdk/etf2l/deno.json b/javascript-sdk/etf2l/deno.json new file mode 100644 index 0000000..37c50de --- /dev/null +++ b/javascript-sdk/etf2l/deno.json @@ -0,0 +1,9 @@ +{ + "name": "@tf2software/etf2l", + "version": "0.0.1-alpha1", + "exports": { + ".": "./mod.ts", + "./api": "./mod.ts", + "./types": "./types/mod.ts" + } +} diff --git a/javascript-sdk/etf2l/mod.ts b/javascript-sdk/etf2l/mod.ts new file mode 100644 index 0000000..1c80305 --- /dev/null +++ b/javascript-sdk/etf2l/mod.ts @@ -0,0 +1,10 @@ +/** + * The [logs.tf](https://logs.tf/about) SDK + * + * This API provides both the types and methods to interact with the API + * + * @module + */ + +export * from "./types/mod.ts"; +export * from "./api/mod.ts"; diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/clan.ts b/javascript-sdk/etf2l/types/common/clan.ts similarity index 71% rename from node-sdk/lib/etf2l-api-types/src/types/common/clan.ts rename to javascript-sdk/etf2l/types/common/clan.ts index 5a7629b..7301245 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/common/clan.ts +++ b/javascript-sdk/etf2l/types/common/clan.ts @@ -1,4 +1,4 @@ -import type { SteamData } from "./steamData"; +import type { SteamData } from "./steamData.ts"; export type Clan = { country: string; diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/link.ts b/javascript-sdk/etf2l/types/common/link.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/common/link.ts rename to javascript-sdk/etf2l/types/common/link.ts diff --git a/javascript-sdk/etf2l/types/common/mod.ts b/javascript-sdk/etf2l/types/common/mod.ts new file mode 100644 index 0000000..fe6f021 --- /dev/null +++ b/javascript-sdk/etf2l/types/common/mod.ts @@ -0,0 +1,6 @@ +export * from "./clan.ts"; +export * from "./link.ts"; +export * from "./multiPage.ts"; +export * from "./multiPageSmall.ts"; +export * from "./status.ts"; +export * from "./steamData.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/multiPage.ts b/javascript-sdk/etf2l/types/common/multiPage.ts similarity index 77% rename from node-sdk/lib/etf2l-api-types/src/types/common/multiPage.ts rename to javascript-sdk/etf2l/types/common/multiPage.ts index b2d80b4..06fc692 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/common/multiPage.ts +++ b/javascript-sdk/etf2l/types/common/multiPage.ts @@ -1,5 +1,5 @@ -import type { Link } from "./link"; -import type { MultiPageSmall } from "./multiPageSmall"; +import type { Link } from "./link.ts"; +import type { MultiPageSmall } from "./multiPageSmall.ts"; export type MultiPage = MultiPageSmall & { current_page: number; diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/multiPageSmall.ts b/javascript-sdk/etf2l/types/common/multiPageSmall.ts similarity index 83% rename from node-sdk/lib/etf2l-api-types/src/types/common/multiPageSmall.ts rename to javascript-sdk/etf2l/types/common/multiPageSmall.ts index 657a679..9e90b37 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/common/multiPageSmall.ts +++ b/javascript-sdk/etf2l/types/common/multiPageSmall.ts @@ -1,4 +1,4 @@ -import type { Link } from "./link"; +import type { Link } from "./link.ts"; export type MultiPageSmall = { current_page: number; diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/status.ts b/javascript-sdk/etf2l/types/common/status.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/common/status.ts rename to javascript-sdk/etf2l/types/common/status.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/steamData.ts b/javascript-sdk/etf2l/types/common/steamData.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/common/steamData.ts rename to javascript-sdk/etf2l/types/common/steamData.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionDetails.ts b/javascript-sdk/etf2l/types/competition/competitionDetails.ts similarity index 80% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionDetails.ts rename to javascript-sdk/etf2l/types/competition/competitionDetails.ts index 7c91946..05ae953 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionDetails.ts +++ b/javascript-sdk/etf2l/types/competition/competitionDetails.ts @@ -1,5 +1,5 @@ -import type { CompetitionTeamStats } from "./competitionTeamStats"; -import type { CompetitionUrls } from "./competitionUrls"; +import type { CompetitionTeamStats } from "./competitionTeamStats.ts"; +import type { CompetitionUrls } from "./competitionUrls.ts"; export type CompetitionDetails = { category: string; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionElement.ts b/javascript-sdk/etf2l/types/competition/competitionElement.ts similarity index 73% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionElement.ts rename to javascript-sdk/etf2l/types/competition/competitionElement.ts index 6a7260c..d118b01 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionElement.ts +++ b/javascript-sdk/etf2l/types/competition/competitionElement.ts @@ -1,4 +1,4 @@ -import type { CompetitionUrls } from "./competitionUrls"; +import type { CompetitionUrls } from "./competitionUrls.ts"; export type CompetitionElement = { category: string; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatchData.ts b/javascript-sdk/etf2l/types/competition/competitionMatchData.ts similarity index 84% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatchData.ts rename to javascript-sdk/etf2l/types/competition/competitionMatchData.ts index b96702b..1312199 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatchData.ts +++ b/javascript-sdk/etf2l/types/competition/competitionMatchData.ts @@ -1,6 +1,6 @@ -import type { Clan } from "../common/clan"; -import type { CompetitionResultsCompetition } from "./competitionResultsCompetition"; -import type { CompetitionResultsDivision } from "./competitionResultsDivision"; +import type { Clan } from "../common/clan.ts"; +import type { CompetitionResultsCompetition } from "./competitionResultsCompetition.ts"; +import type { CompetitionResultsDivision } from "./competitionResultsDivision.ts"; export type CompetitionMatchData = { clan1: Clan; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatches.ts b/javascript-sdk/etf2l/types/competition/competitionMatches.ts similarity index 58% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatches.ts rename to javascript-sdk/etf2l/types/competition/competitionMatches.ts index b543bf2..8fe5a06 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionMatches.ts +++ b/javascript-sdk/etf2l/types/competition/competitionMatches.ts @@ -1,6 +1,6 @@ -import type { CompetitionMatchData } from "./competitionMatchData"; -import type { MultiPage } from "../common/multiPage"; -import type { Status } from "../common/status"; +import type { CompetitionMatchData } from "./competitionMatchData.ts"; +import type { MultiPage } from "../common/multiPage.ts"; +import type { Status } from "../common/status.ts"; export type CompetitionMatches = MultiPage & { data: CompetitionMatchData; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResult.ts b/javascript-sdk/etf2l/types/competition/competitionResult.ts similarity index 68% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionResult.ts rename to javascript-sdk/etf2l/types/competition/competitionResult.ts index b5a71df..90d0426 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResult.ts +++ b/javascript-sdk/etf2l/types/competition/competitionResult.ts @@ -1,5 +1,5 @@ -import type { CompetitionResultsData } from "./competitionResultsData"; -import type { MultiPage } from "../common/multiPage"; +import type { CompetitionResultsData } from "./competitionResultsData.ts"; +import type { MultiPage } from "../common/multiPage.ts"; export type CompetitionResults = MultiPage & { data: CompetitionResultsData[]; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsCompetition.ts b/javascript-sdk/etf2l/types/competition/competitionResultsCompetition.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsCompetition.ts rename to javascript-sdk/etf2l/types/competition/competitionResultsCompetition.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsData.ts b/javascript-sdk/etf2l/types/competition/competitionResultsData.ts similarity index 82% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsData.ts rename to javascript-sdk/etf2l/types/competition/competitionResultsData.ts index a506f82..b27dc1e 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsData.ts +++ b/javascript-sdk/etf2l/types/competition/competitionResultsData.ts @@ -1,6 +1,6 @@ -import type { Clan } from "../common/clan"; -import type { CompetitionResultsCompetition } from "./competitionResultsCompetition"; -import type { CompetitionResultsDivision } from "./competitionResultsDivision"; +import type { Clan } from "../common/clan.ts"; +import type { CompetitionResultsCompetition } from "./competitionResultsCompetition.ts"; +import type { CompetitionResultsDivision } from "./competitionResultsDivision.ts"; export type CompetitionResultsData = { clan1: Clan; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsDivision.ts b/javascript-sdk/etf2l/types/competition/competitionResultsDivision.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionResultsDivision.ts rename to javascript-sdk/etf2l/types/competition/competitionResultsDivision.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionTable.ts b/javascript-sdk/etf2l/types/competition/competitionTable.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionTable.ts rename to javascript-sdk/etf2l/types/competition/competitionTable.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeamStats.ts b/javascript-sdk/etf2l/types/competition/competitionTeamStats.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeamStats.ts rename to javascript-sdk/etf2l/types/competition/competitionTeamStats.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeams.ts b/javascript-sdk/etf2l/types/competition/competitionTeams.ts similarity index 69% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeams.ts rename to javascript-sdk/etf2l/types/competition/competitionTeams.ts index 5e6f0b2..47af58b 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeams.ts +++ b/javascript-sdk/etf2l/types/competition/competitionTeams.ts @@ -1,5 +1,5 @@ -import type { CompetitionTeamsData } from "./competitionTeamsData"; -import type { MultiPage } from "../common/multiPage"; +import type { CompetitionTeamsData } from "./competitionTeamsData.ts"; +import type { MultiPage } from "../common/multiPage.ts"; export type CompetitionTeams = MultiPage & { data: CompetitionTeamsData[]; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeamsData.ts b/javascript-sdk/etf2l/types/competition/competitionTeamsData.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionTeamsData.ts rename to javascript-sdk/etf2l/types/competition/competitionTeamsData.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitionUrls.ts b/javascript-sdk/etf2l/types/competition/competitionUrls.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/competition/competitionUrls.ts rename to javascript-sdk/etf2l/types/competition/competitionUrls.ts diff --git a/javascript-sdk/etf2l/types/competition/competitions.ts b/javascript-sdk/etf2l/types/competition/competitions.ts new file mode 100644 index 0000000..dbbec5c --- /dev/null +++ b/javascript-sdk/etf2l/types/competition/competitions.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../common/multiPage.ts"; +import type { CompetitionElement } from "./competitionElement.ts"; + +export type Competitions = MultiPage & { + data: CompetitionElement[]; +}; diff --git a/javascript-sdk/etf2l/types/competition/mod.ts b/javascript-sdk/etf2l/types/competition/mod.ts new file mode 100644 index 0000000..ac4d5a7 --- /dev/null +++ b/javascript-sdk/etf2l/types/competition/mod.ts @@ -0,0 +1,14 @@ +export * from "./competitionDetails.ts"; +export * from "./competitionElement.ts"; +export * from "./competitionMatchData.ts"; +export * from "./competitionMatches.ts"; +export * from "./competitionResult.ts"; +export * from "./competitionResultsCompetition.ts"; +export * from "./competitionResultsData.ts"; +export * from "./competitionResultsDivision.ts"; +export * from "./competitions.ts"; +export * from "./competitionTable.ts"; +export * from "./competitionTeams.ts"; +export * from "./competitionTeamsData.ts"; +export * from "./competitionTeamStats.ts"; +export * from "./competitionUrls.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/demos/demos.ts b/javascript-sdk/etf2l/types/demos/demos.ts new file mode 100644 index 0000000..673fccb --- /dev/null +++ b/javascript-sdk/etf2l/types/demos/demos.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../common/multiPage.ts"; +import type { DemosData } from "./demosData.ts"; + +export type Demos = MultiPage & { + data: DemosData[]; +}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/demos/demosData.ts b/javascript-sdk/etf2l/types/demos/demosData.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/demos/demosData.ts rename to javascript-sdk/etf2l/types/demos/demosData.ts diff --git a/javascript-sdk/etf2l/types/demos/mod.ts b/javascript-sdk/etf2l/types/demos/mod.ts new file mode 100644 index 0000000..409dd0d --- /dev/null +++ b/javascript-sdk/etf2l/types/demos/mod.ts @@ -0,0 +1,2 @@ +export * from "./demos.ts"; +export * from "./demosData.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionDetails.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionDetails.ts new file mode 100644 index 0000000..9070c81 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionDetails.ts @@ -0,0 +1,7 @@ +import type { CompetitionDetails } from "../../competition/competitionDetails.ts"; +import type { Status } from "../../common/status.ts"; + +export type Etf2lCompetitionDetails = { + competition: CompetitionDetails; + status: Status; +}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionList.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionList.ts similarity index 50% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionList.ts rename to javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionList.ts index 97776e3..c3cd8b1 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionList.ts +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionList.ts @@ -1,4 +1,4 @@ -import type { Competitions } from "types/competition/competitions"; +import type { Competitions } from "../../competition/competitions.ts"; export type Etf2lCompetitionList = { competitions: Competitions; diff --git a/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionMatches.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionMatches.ts new file mode 100644 index 0000000..f50a2af --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionMatches.ts @@ -0,0 +1,7 @@ +import type { CompetitionMatches } from "../../competition/competitionMatches.ts"; +import type { Status } from "../../common/status.ts"; + +export type Etf2lCompetitionMatches = { + matches: CompetitionMatches; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionResults.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionResults.ts new file mode 100644 index 0000000..66129fe --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionResults.ts @@ -0,0 +1,5 @@ +import type { CompetitionResults } from "../../competition/competitionResult.ts"; + +export type Etf2lCompetitionResults = { + results: CompetitionResults; +}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTables.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTables.ts similarity index 62% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTables.ts rename to javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTables.ts index 6f5bc20..8a2968b 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTables.ts +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTables.ts @@ -1,4 +1,4 @@ -import type { CompetitionTable } from "types/competition"; +import type { CompetitionTable } from "../../competition/mod.ts"; export type Etf2lCompetitionTables = { tables: { diff --git a/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTeams.ts b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTeams.ts new file mode 100644 index 0000000..6d3e636 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/competition/etf2lCompetitionTeams.ts @@ -0,0 +1,7 @@ +import type { CompetitionTeams } from "../../competition/competitionTeams.ts"; +import type { Status } from "../../common/status.ts"; + +export type Etf2lCompetitionTeams = { + status: Status; + teams: CompetitionTeams; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/competition/mod.ts b/javascript-sdk/etf2l/types/endpoints/competition/mod.ts new file mode 100644 index 0000000..7b8ce4e --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/competition/mod.ts @@ -0,0 +1,6 @@ +export * from "./etf2lCompetitionDetails.ts"; +export * from "./etf2lCompetitionList.ts"; +export * from "./etf2lCompetitionMatches.ts"; +export * from "./etf2lCompetitionResults.ts"; +export * from "./etf2lCompetitionTables.ts"; +export * from "./etf2lCompetitionTeams.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/demos/etf2lDemos.ts b/javascript-sdk/etf2l/types/endpoints/demos/etf2lDemos.ts new file mode 100644 index 0000000..5a951e0 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/demos/etf2lDemos.ts @@ -0,0 +1,5 @@ +import type { Demos } from "../../demos/mod.ts"; + +export type Etf2lDemos = { + demos: Demos; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/demos/mod.ts b/javascript-sdk/etf2l/types/endpoints/demos/mod.ts new file mode 100644 index 0000000..2f2ee9b --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/demos/mod.ts @@ -0,0 +1 @@ +export * from "./etf2lDemos.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatch.ts b/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatch.ts new file mode 100644 index 0000000..b6057f1 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatch.ts @@ -0,0 +1,10 @@ +import type { MatchData } from "../../matches/matchData.ts"; +import type { Status } from "../../common/status.ts"; +import type { MultiPage } from "../../common/mod.ts"; + +export type Etf2lMatch = { + results: MultiPage & { + data: MatchData[]; + } + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatchDetails.ts b/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatchDetails.ts new file mode 100644 index 0000000..0c242ff --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/matches/etf2lMatchDetails.ts @@ -0,0 +1,7 @@ +import type { MatchDataDetails } from "../../matches/matchDataDetails.ts"; +import type { Status } from "../../common/status.ts"; + +export type Etf2lMatchDetails = { + match: MatchDataDetails; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/matches/mod.ts b/javascript-sdk/etf2l/types/endpoints/matches/mod.ts new file mode 100644 index 0000000..d822b8d --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/matches/mod.ts @@ -0,0 +1,2 @@ +export * from "./etf2lMatch.ts"; +export * from "./etf2lMatchDetails.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/mod.ts b/javascript-sdk/etf2l/types/endpoints/mod.ts new file mode 100644 index 0000000..88235bf --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/mod.ts @@ -0,0 +1,7 @@ +export * from "./competition/mod.ts"; +export * from "./demos/mod.ts"; +export * from "./matches/mod.ts"; +export * from "./player/mod.ts"; +export * from "./recruitment/mod.ts"; +export * from "./team/mod.ts"; +export * from "./whitelist/mod.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/player/etf2lBan.ts b/javascript-sdk/etf2l/types/endpoints/player/etf2lBan.ts new file mode 100644 index 0000000..f8277f5 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/player/etf2lBan.ts @@ -0,0 +1,3 @@ +import type { PlayerData } from "../../player/mod.ts"; + +export type Etf2lBan = PlayerData; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayer.ts b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayer.ts new file mode 100644 index 0000000..de49e2f --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayer.ts @@ -0,0 +1,7 @@ +import type { PlayerData } from "../../player/playerData.ts"; +import type { Status } from "../../common/status.ts"; + +export type Etf2lPlayer = { + player: PlayerData; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerResults.ts b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerResults.ts new file mode 100644 index 0000000..8f787e2 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerResults.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../../common/multiPage.ts"; +import type { PlayerResultData } from "../../player/playerResultData.ts"; + +export type Etf2lPlayerResults = MultiPage & { + data: PlayerResultData[]; +}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerTransfers.ts b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerTransfers.ts similarity index 58% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerTransfers.ts rename to javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerTransfers.ts index d87fa09..794715b 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerTransfers.ts +++ b/javascript-sdk/etf2l/types/endpoints/player/etf2lPlayerTransfers.ts @@ -1,5 +1,5 @@ -import type { MultiPageSmall } from "types/common"; -import type { PlayerTransferData } from "types/player/playerTransferData"; +import type { MultiPageSmall } from "../../common/mod.ts"; +import type { PlayerTransferData } from "../../player/playerTransferData.ts"; export type Etf2lPlayerTransfers = { data: PlayerTransferData[]; diff --git a/javascript-sdk/etf2l/types/endpoints/player/mod.ts b/javascript-sdk/etf2l/types/endpoints/player/mod.ts new file mode 100644 index 0000000..559da74 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/player/mod.ts @@ -0,0 +1,4 @@ +export * from "./etf2lBan.ts"; +export * from "./etf2lPlayer.ts"; +export * from "./etf2lPlayerResults.ts"; +export * from "./etf2lPlayerTransfers.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts b/javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts similarity index 69% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts rename to javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts index 3a9a8b9..5a23d4f 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts +++ b/javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentPlayers.ts @@ -1,4 +1,4 @@ -import type { RecruitmentPlayer } from "types/recruitment/recruitmentPlayer"; +import type { RecruitmentPlayer } from "../../recruitment/recruitmentPlayer.ts"; //import type { Status } from "types/common/status"; export type Etf2lRecruitmentPlayers = { diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentTeams.ts b/javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentTeams.ts similarity index 51% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentTeams.ts rename to javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentTeams.ts index 6063f83..e276bc3 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/etf2lRecruitmentTeams.ts +++ b/javascript-sdk/etf2l/types/endpoints/recruitment/etf2lRecruitmentTeams.ts @@ -1,5 +1,5 @@ -//import type { Status } from "types/common/status"; -import type { RecruitmentTeam } from "types/recruitment"; +//import type { Status } from "types/common/status.ts"; +import type { RecruitmentTeam } from "../../recruitment/mod.ts"; export type Etf2lRecruitmentTeams = { recruitment: RecruitmentTeam; diff --git a/javascript-sdk/etf2l/types/endpoints/recruitment/mod.ts b/javascript-sdk/etf2l/types/endpoints/recruitment/mod.ts new file mode 100644 index 0000000..d7abed5 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/recruitment/mod.ts @@ -0,0 +1,2 @@ +export * from "./etf2lRecruitmentPlayers.ts"; +export * from "./etf2lRecruitmentTeams.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/team/etf2lTeam.ts b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeam.ts new file mode 100644 index 0000000..51af3d8 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeam.ts @@ -0,0 +1,7 @@ +import type { Status } from "../../common/status.ts"; +import type { Team } from "../../team/team"; + +export type Etf2lTeam = { + team: Team; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamMatches.ts b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamMatches.ts new file mode 100644 index 0000000..2197b37 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamMatches.ts @@ -0,0 +1,7 @@ +import type { Status } from "../../common/status.ts"; +import type { TeamMatch } from "../../team/teamMatch.ts"; + +export type Etf2lTeamMatches = { + matches: TeamMatch; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamResults.ts b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamResults.ts new file mode 100644 index 0000000..bd354b6 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamResults.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../../common/multiPage.ts"; +import type { TeamMatchData } from "../../team/mod.ts"; + +export type Etf2lTeamResults = MultiPage & { + data: Omit[]; +}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamTransfers.ts b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamTransfers.ts similarity index 62% rename from node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamTransfers.ts rename to javascript-sdk/etf2l/types/endpoints/team/etf2lTeamTransfers.ts index 73c05e6..588cbbc 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamTransfers.ts +++ b/javascript-sdk/etf2l/types/endpoints/team/etf2lTeamTransfers.ts @@ -1,5 +1,5 @@ -import type { MultiPageSmall } from "types/common"; -import type { TeamTransferData } from "types/team"; +import type { MultiPageSmall } from "../../common/mod.ts"; +import type { TeamTransferData } from "../../team/mod.ts"; export type Etf2lTeamTransfers = { data: TeamTransferData[]; diff --git a/javascript-sdk/etf2l/types/endpoints/team/mod.ts b/javascript-sdk/etf2l/types/endpoints/team/mod.ts new file mode 100644 index 0000000..f44a7d2 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/team/mod.ts @@ -0,0 +1,4 @@ +export * from "./etf2lTeam.ts"; +export * from "./etf2lTeamMatches.ts"; +export * from "./etf2lTeamResults.ts"; +export * from "./etf2lTeamTransfers.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/whitelist/etf2lWhitelist.ts b/javascript-sdk/etf2l/types/endpoints/whitelist/etf2lWhitelist.ts new file mode 100644 index 0000000..189bcad --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/whitelist/etf2lWhitelist.ts @@ -0,0 +1,7 @@ +import type { Status } from "../../common/status.ts"; +import type { Whitelists } from "../../whitelists/whitelists.ts"; + +export type Etf2lWhitelists = { + whitelists: Whitelists; + status: Status; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/endpoints/whitelist/mod.ts b/javascript-sdk/etf2l/types/endpoints/whitelist/mod.ts new file mode 100644 index 0000000..1f30c00 --- /dev/null +++ b/javascript-sdk/etf2l/types/endpoints/whitelist/mod.ts @@ -0,0 +1 @@ +export * from "./etf2lWhitelist.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/enums/classes.ts b/javascript-sdk/etf2l/types/enums/classes.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/enums/classes.ts rename to javascript-sdk/etf2l/types/enums/classes.ts diff --git a/javascript-sdk/etf2l/types/enums/mod.ts b/javascript-sdk/etf2l/types/enums/mod.ts new file mode 100644 index 0000000..cfd488e --- /dev/null +++ b/javascript-sdk/etf2l/types/enums/mod.ts @@ -0,0 +1 @@ +export * from "./classes.ts"; diff --git a/node-sdk/lib/etf2l-api-types/src/types/matches/matchData.ts b/javascript-sdk/etf2l/types/matches/matchData.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/matches/matchData.ts rename to javascript-sdk/etf2l/types/matches/matchData.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/matches/matchDataDetails.ts b/javascript-sdk/etf2l/types/matches/matchDataDetails.ts similarity index 66% rename from node-sdk/lib/etf2l-api-types/src/types/matches/matchDataDetails.ts rename to javascript-sdk/etf2l/types/matches/matchDataDetails.ts index 8331a6a..aa4536f 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/matches/matchDataDetails.ts +++ b/javascript-sdk/etf2l/types/matches/matchDataDetails.ts @@ -1,7 +1,7 @@ -import type { Clan } from "types/common/clan"; -import type { CompetitionResultsCompetition } from "types/competition/competitionResultsCompetition"; -import type { CompetitionResultsDivision } from "types/competition/competitionResultsDivision"; -import type { MatchPlayer } from "./matchPlayer"; +import type { Clan } from "../common/clan.ts"; +import type { CompetitionResultsCompetition } from "../competition/competitionResultsCompetition.ts"; +import type { CompetitionResultsDivision } from "../competition/competitionResultsDivision.ts"; +import type { MatchPlayer } from "./matchPlayer.ts"; export type MatchDataDetails = { clan1: Clan; diff --git a/node-sdk/lib/etf2l-api-types/src/types/matches/matchPlayer.ts b/javascript-sdk/etf2l/types/matches/matchPlayer.ts similarity index 64% rename from node-sdk/lib/etf2l-api-types/src/types/matches/matchPlayer.ts rename to javascript-sdk/etf2l/types/matches/matchPlayer.ts index 5114074..3c0d459 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/matches/matchPlayer.ts +++ b/javascript-sdk/etf2l/types/matches/matchPlayer.ts @@ -1,4 +1,4 @@ -import type { PlayerSteamData } from "types/player/playerSteamData"; +import type { PlayerSteamData } from "../player/playerSteamData.ts"; export type MatchPlayer = { country: string; diff --git a/javascript-sdk/etf2l/types/matches/mod.ts b/javascript-sdk/etf2l/types/matches/mod.ts new file mode 100644 index 0000000..2d364ba --- /dev/null +++ b/javascript-sdk/etf2l/types/matches/mod.ts @@ -0,0 +1,3 @@ +export * from "./matchData.ts"; +export * from "./matchDataDetails.ts"; +export * from "./matchPlayer.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/mod.ts b/javascript-sdk/etf2l/types/mod.ts new file mode 100644 index 0000000..5d600c6 --- /dev/null +++ b/javascript-sdk/etf2l/types/mod.ts @@ -0,0 +1,10 @@ +export * from "./common/mod.ts"; +export * from "./competition/mod.ts"; +export * from "./demos/mod.ts"; +export * from "./endpoints/mod.ts"; +export * from "./enums/mod.ts"; +export * from "./matches/mod.ts"; +export * from "./player/mod.ts"; +export * from "./recruitment/mod.ts"; +export * from "./team/mod.ts"; +export * from "./whitelists/mod.ts"; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/player/mod.ts b/javascript-sdk/etf2l/types/player/mod.ts new file mode 100644 index 0000000..8db770f --- /dev/null +++ b/javascript-sdk/etf2l/types/player/mod.ts @@ -0,0 +1,8 @@ +export * from "./player.ts"; +export * from "./playerData.ts"; +export * from "./playerResultClan.ts"; +export * from "./playerResultData.ts"; +export * from "./playerSteamData.ts"; +export * from "./playerTeam.ts"; +export * from "./playerTransferData.ts"; +export * from "./playerTransferTeam.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/player.ts b/javascript-sdk/etf2l/types/player/player.ts similarity index 62% rename from node-sdk/lib/etf2l-api-types/src/types/player/player.ts rename to javascript-sdk/etf2l/types/player/player.ts index d2a7fc6..abf4a08 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/player.ts +++ b/javascript-sdk/etf2l/types/player/player.ts @@ -1,4 +1,4 @@ -import type { PlayerSteamData } from "types/player/playerSteamData"; +import type { PlayerSteamData } from "../player/playerSteamData.ts"; export type Player = { country: string; diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerData.ts b/javascript-sdk/etf2l/types/player/playerData.ts similarity index 62% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerData.ts rename to javascript-sdk/etf2l/types/player/playerData.ts index 77578a5..4a2c5b5 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/playerData.ts +++ b/javascript-sdk/etf2l/types/player/playerData.ts @@ -1,6 +1,6 @@ -import type { Classes } from "types/enums/classes"; -import type { PlayerSteamData } from "./playerSteamData"; -import type { PlayerTeam } from "./playerTeam"; +import type { Classes } from "../enums/classes.ts"; +import type { PlayerSteamData } from "./playerSteamData.ts"; +import type { PlayerTeam } from "./playerTeam.ts"; export type PlayerData = { //TODO: diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerResultClan.ts b/javascript-sdk/etf2l/types/player/playerResultClan.ts similarity index 58% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerResultClan.ts rename to javascript-sdk/etf2l/types/player/playerResultClan.ts index 345ab05..954036a 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/playerResultClan.ts +++ b/javascript-sdk/etf2l/types/player/playerResultClan.ts @@ -1,4 +1,4 @@ -import type { Clan } from "types/common/clan"; +import type { Clan } from "../common/clan.ts"; export type PlayerResultClan = Clan & { was_in_team: boolean; diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerResultData.ts b/javascript-sdk/etf2l/types/player/playerResultData.ts similarity index 57% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerResultData.ts rename to javascript-sdk/etf2l/types/player/playerResultData.ts index 13fe68f..35c8f5a 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/playerResultData.ts +++ b/javascript-sdk/etf2l/types/player/playerResultData.ts @@ -1,6 +1,6 @@ -import type { CompetitionResultsCompetition } from "types/competition/competitionResultsCompetition"; -import type { CompetitionResultsDivision } from "types/competition/competitionResultsDivision"; -import type { PlayerResultClan } from "./playerResultClan"; +import type { CompetitionResultsCompetition } from "../competition/competitionResultsCompetition.ts"; +import type { CompetitionResultsDivision } from "../competition/competitionResultsDivision.ts"; +import type { PlayerResultClan } from "./playerResultClan.ts"; export type PlayerResultData = { clan1: PlayerResultClan; diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerSteamData.ts b/javascript-sdk/etf2l/types/player/playerSteamData.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerSteamData.ts rename to javascript-sdk/etf2l/types/player/playerSteamData.ts diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerTeam.ts b/javascript-sdk/etf2l/types/player/playerTeam.ts similarity index 89% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerTeam.ts rename to javascript-sdk/etf2l/types/player/playerTeam.ts index a68be6d..7cceab4 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/playerTeam.ts +++ b/javascript-sdk/etf2l/types/player/playerTeam.ts @@ -1,4 +1,4 @@ -import type { TeamCompetition } from "types/team"; +import type { TeamCompetition } from "../team/mod.ts"; export type PlayerTeam = { competitions: TeamCompetition; diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerTransferData.ts b/javascript-sdk/etf2l/types/player/playerTransferData.ts similarity index 54% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerTransferData.ts rename to javascript-sdk/etf2l/types/player/playerTransferData.ts index 8f86a39..7b75ae4 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/player/playerTransferData.ts +++ b/javascript-sdk/etf2l/types/player/playerTransferData.ts @@ -1,5 +1,5 @@ -import type { Player } from "./player"; -import type { PlayerTransferTeam} from "./playerTransferTeam"; +import type { Player } from "./player.ts"; +import type { PlayerTransferTeam} from "./playerTransferTeam.ts"; export type PlayerTransferData = { by: Player; diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/playerTransferTeam.ts b/javascript-sdk/etf2l/types/player/playerTransferTeam.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/player/playerTransferTeam.ts rename to javascript-sdk/etf2l/types/player/playerTransferTeam.ts diff --git a/javascript-sdk/etf2l/types/recruitment/mod.ts b/javascript-sdk/etf2l/types/recruitment/mod.ts new file mode 100644 index 0000000..0122e1c --- /dev/null +++ b/javascript-sdk/etf2l/types/recruitment/mod.ts @@ -0,0 +1,4 @@ +export * from "./recruitmentDataPlayer.ts"; +export * from "./recruitmentDataTeam.ts"; +export * from "./recruitmentPlayer.ts"; +export * from "./recruitmentTeam.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataPlayer.ts b/javascript-sdk/etf2l/types/recruitment/recruitmentDataPlayer.ts similarity index 69% rename from node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataPlayer.ts rename to javascript-sdk/etf2l/types/recruitment/recruitmentDataPlayer.ts index 52ae284..ee708c6 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataPlayer.ts +++ b/javascript-sdk/etf2l/types/recruitment/recruitmentDataPlayer.ts @@ -1,5 +1,5 @@ -import type { Classes } from "types/enums/classes"; -import type { PlayerSteamData } from "types/player/playerSteamData"; +import type { Classes } from "../enums/classes.ts"; +import type { PlayerSteamData } from "../player/playerSteamData.ts"; export type RecruitmentDataPlayer = { classes: Classes[]; diff --git a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataTeam.ts b/javascript-sdk/etf2l/types/recruitment/recruitmentDataTeam.ts similarity index 69% rename from node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataTeam.ts rename to javascript-sdk/etf2l/types/recruitment/recruitmentDataTeam.ts index ab58621..52834dd 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentDataTeam.ts +++ b/javascript-sdk/etf2l/types/recruitment/recruitmentDataTeam.ts @@ -1,5 +1,5 @@ -import type { Classes } from "types/enums/classes"; -import type { PlayerSteamData } from "types/player/playerSteamData"; +import type { Classes } from "../enums/classes.ts"; +import type { PlayerSteamData } from "../player/playerSteamData.ts"; export type RecruitmentDataTeam = { classes: Classes[]; diff --git a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentPlayer.ts b/javascript-sdk/etf2l/types/recruitment/recruitmentPlayer.ts similarity index 68% rename from node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentPlayer.ts rename to javascript-sdk/etf2l/types/recruitment/recruitmentPlayer.ts index aed5a34..036c279 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentPlayer.ts +++ b/javascript-sdk/etf2l/types/recruitment/recruitmentPlayer.ts @@ -1,5 +1,5 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { RecruitmentDataPlayer } from "./recruitmentDataPlayer"; +import type { MultiPage } from "../common/multiPage.ts"; +import type { RecruitmentDataPlayer } from "./recruitmentDataPlayer.ts"; export type RecruitmentPlayer = MultiPage & { data: RecruitmentDataPlayer[]; diff --git a/javascript-sdk/etf2l/types/recruitment/recruitmentTeam.ts b/javascript-sdk/etf2l/types/recruitment/recruitmentTeam.ts new file mode 100644 index 0000000..553e81d --- /dev/null +++ b/javascript-sdk/etf2l/types/recruitment/recruitmentTeam.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../common/multiPage.ts"; +import type { RecruitmentDataTeam } from "./recruitmentDataTeam.ts"; + +export type RecruitmentTeam = MultiPage & { + data: RecruitmentDataTeam[]; +}; \ No newline at end of file diff --git a/javascript-sdk/etf2l/types/team/mod.ts b/javascript-sdk/etf2l/types/team/mod.ts new file mode 100644 index 0000000..807d314 --- /dev/null +++ b/javascript-sdk/etf2l/types/team/mod.ts @@ -0,0 +1,7 @@ +export * from "./team.ts"; +export * from "./teamCompetition.ts"; +export * from "./teamMatch.ts"; +export * from "./teamMatchData.ts"; +export * from "./teamPlayer.ts"; +export * from "./teamTransferData.ts"; +export * from "./teamTransferPlayer.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/team.ts b/javascript-sdk/etf2l/types/team/team.ts similarity index 81% rename from node-sdk/lib/etf2l-api-types/src/types/team/team.ts rename to javascript-sdk/etf2l/types/team/team.ts index efc4f5c..de0602a 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/team.ts +++ b/javascript-sdk/etf2l/types/team/team.ts @@ -1,5 +1,5 @@ -import type { TeamCompetition } from "./teamCompetition"; -import type { TeamPlayer } from "./teamPlayer"; +import type { TeamCompetition } from "./teamCompetition.ts"; +import type { TeamPlayer } from "./teamPlayer.ts"; export type Team = { competitions: TeamCompetition; diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamCompetition.ts b/javascript-sdk/etf2l/types/team/teamCompetition.ts similarity index 65% rename from node-sdk/lib/etf2l-api-types/src/types/team/teamCompetition.ts rename to javascript-sdk/etf2l/types/team/teamCompetition.ts index aef4e03..2667b31 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamCompetition.ts +++ b/javascript-sdk/etf2l/types/team/teamCompetition.ts @@ -1,4 +1,4 @@ -import type { CompetitionResultsDivision } from "types/competition/competitionResultsDivision"; +import type { CompetitionResultsDivision } from "../competition/competitionResultsDivision.ts"; export type TeamCompetition = { [competitionId: string]: { diff --git a/javascript-sdk/etf2l/types/team/teamMatch.ts b/javascript-sdk/etf2l/types/team/teamMatch.ts new file mode 100644 index 0000000..5be5b04 --- /dev/null +++ b/javascript-sdk/etf2l/types/team/teamMatch.ts @@ -0,0 +1,6 @@ +import type { MultiPage } from "../common/multiPage.ts"; +import type { TeamMatchData } from "./teamMatchData.ts"; + +export type TeamMatch = MultiPage & { + data: TeamMatchData[] +} \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamMatchData.ts b/javascript-sdk/etf2l/types/team/teamMatchData.ts similarity index 56% rename from node-sdk/lib/etf2l-api-types/src/types/team/teamMatchData.ts rename to javascript-sdk/etf2l/types/team/teamMatchData.ts index 5b32a58..956e5f5 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamMatchData.ts +++ b/javascript-sdk/etf2l/types/team/teamMatchData.ts @@ -1,6 +1,6 @@ -import type { Clan } from "types/common/clan"; -import type { CompetitionResultsCompetition } from "types/competition/competitionResultsCompetition"; -import type { CompetitionResultsDivision } from "types/competition/competitionResultsDivision"; +import type { Clan } from "../common/clan.ts"; +import type { CompetitionResultsCompetition } from "../competition/competitionResultsCompetition.ts"; +import type { CompetitionResultsDivision } from "../competition/competitionResultsDivision.ts"; export type TeamMatchData = { id: number; diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamPlayer.ts b/javascript-sdk/etf2l/types/team/teamPlayer.ts similarity index 72% rename from node-sdk/lib/etf2l-api-types/src/types/team/teamPlayer.ts rename to javascript-sdk/etf2l/types/team/teamPlayer.ts index 23fece0..f444d81 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamPlayer.ts +++ b/javascript-sdk/etf2l/types/team/teamPlayer.ts @@ -1,4 +1,4 @@ -import type { PlayerSteamData } from "types/player"; +import type { PlayerSteamData } from "../player/mod.ts"; export type TeamPlayer = { country: string; diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamTransferData.ts b/javascript-sdk/etf2l/types/team/teamTransferData.ts similarity index 56% rename from node-sdk/lib/etf2l-api-types/src/types/team/teamTransferData.ts rename to javascript-sdk/etf2l/types/team/teamTransferData.ts index 7bce948..d44107a 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamTransferData.ts +++ b/javascript-sdk/etf2l/types/team/teamTransferData.ts @@ -1,5 +1,5 @@ -import type { PlayerTransferTeam } from "types/player"; -import type { TeamTransferPlayer } from "./teamTransferPlayer"; +import type { PlayerTransferTeam } from "../player/mod.ts"; +import type { TeamTransferPlayer } from "./teamTransferPlayer.ts"; export type TeamTransferData = { by: TeamTransferPlayer; diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamTransferPlayer.ts b/javascript-sdk/etf2l/types/team/teamTransferPlayer.ts similarity index 64% rename from node-sdk/lib/etf2l-api-types/src/types/team/teamTransferPlayer.ts rename to javascript-sdk/etf2l/types/team/teamTransferPlayer.ts index 58d799a..57d4624 100644 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamTransferPlayer.ts +++ b/javascript-sdk/etf2l/types/team/teamTransferPlayer.ts @@ -1,4 +1,4 @@ -import type { PlayerSteamData } from "types/player/playerSteamData"; +import type { PlayerSteamData } from "../player/playerSteamData.ts"; export type TeamTransferPlayer = { country: string; diff --git a/javascript-sdk/etf2l/types/whitelists/mod.ts b/javascript-sdk/etf2l/types/whitelists/mod.ts new file mode 100644 index 0000000..658d7a3 --- /dev/null +++ b/javascript-sdk/etf2l/types/whitelists/mod.ts @@ -0,0 +1 @@ +export * from "./whitelists.ts"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/whitelists/whitelists.ts b/javascript-sdk/etf2l/types/whitelists/whitelists.ts similarity index 100% rename from node-sdk/lib/etf2l-api-types/src/types/whitelists/whitelists.ts rename to javascript-sdk/etf2l/types/whitelists/whitelists.ts diff --git a/javascript-sdk/logstf/api/logstf.ts b/javascript-sdk/logstf/api/logstf.ts index 0ccf3fc..2875fef 100644 --- a/javascript-sdk/logstf/api/logstf.ts +++ b/javascript-sdk/logstf/api/logstf.ts @@ -54,7 +54,7 @@ export async function getById(logId: string): Promise { * @returns {Promise} The response of the search */ export async function search( - searchRequest: LogSearchRequest + searchRequest: LogSearchRequest, ): Promise { const { limit = 1000, diff --git a/node-sdk/.gitignore b/node-sdk/.gitignore deleted file mode 100644 index fd29019..0000000 --- a/node-sdk/.gitignore +++ /dev/null @@ -1,39 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# outputs -dist/ - -# dependencies -node_modules -.pnp -.pnp.js - -# testing -coverage - -# next.js -.next/ -out/ -build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* -.pnpm-debug.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# turbo -.turbo - -# vscode -.vscode \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/package.json b/node-sdk/lib/etf2l-api-types/package.json deleted file mode 100644 index 2c39b04..0000000 --- a/node-sdk/lib/etf2l-api-types/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "etf2l-api-types", - "version": "0.0.0", - "license": "MIT", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "scripts": { - "build": "tsup" - }, - "devDependencies": { - "@types/node": "^18.11.17", - "tsup": "^6.5.0", - "typescript": "^4.9.4" - } -} diff --git a/node-sdk/lib/etf2l-api-types/src/index.ts b/node-sdk/lib/etf2l-api-types/src/index.ts deleted file mode 100644 index eea524d..0000000 --- a/node-sdk/lib/etf2l-api-types/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./types"; diff --git a/node-sdk/lib/etf2l-api-types/src/types/common/index.ts b/node-sdk/lib/etf2l-api-types/src/types/common/index.ts deleted file mode 100644 index 07ab900..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/common/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./clan"; -export * from "./link"; -export * from "./multiPage"; -export * from "./multiPageSmall"; -export * from "./status"; -export * from "./steamData"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/competitions.ts b/node-sdk/lib/etf2l-api-types/src/types/competition/competitions.ts deleted file mode 100644 index 3a07a2b..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/competitions.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { CompetitionElement } from "./competitionElement"; - -export type Competitions = MultiPage & { - data: CompetitionElement[]; -}; diff --git a/node-sdk/lib/etf2l-api-types/src/types/competition/index.ts b/node-sdk/lib/etf2l-api-types/src/types/competition/index.ts deleted file mode 100644 index fd2565b..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/competition/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export * from "./competitionDetails"; -export * from "./competitionElement"; -export * from "./competitionMatchData"; -export * from "./competitionMatches"; -export * from "./competitionResult"; -export * from "./competitionResultsCompetition"; -export * from "./competitionResultsData"; -export * from "./competitionResultsDivision"; -export * from "./competitions"; -export * from "./competitionTable"; -export * from "./competitionTeams"; -export * from "./competitionTeamsData"; -export * from "./competitionTeamStats"; -export * from "./competitionUrls"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/demos/demos.ts b/node-sdk/lib/etf2l-api-types/src/types/demos/demos.ts deleted file mode 100644 index 3a73166..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/demos/demos.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { DemosData } from "./demosData"; - -export type Demos = MultiPage & { - data: DemosData[]; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/demos/index.ts b/node-sdk/lib/etf2l-api-types/src/types/demos/index.ts deleted file mode 100644 index bc0577a..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/demos/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./demos"; -export * from "./demosData"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionDetails.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionDetails.ts deleted file mode 100644 index 4aa3eed..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionDetails.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CompetitionDetails } from "types/competition/competitionDetails"; -import type { Status } from "types/common/status"; - -export type Etf2lCompetitionDetails = { - competition: CompetitionDetails; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionMatches.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionMatches.ts deleted file mode 100644 index 60bb670..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionMatches.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CompetitionMatches } from "types/competition/competitionMatches"; -import type { Status } from "types/common/status"; - -export type Etf2lCompetitionMatches = { - matches: CompetitionMatches; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionResults.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionResults.ts deleted file mode 100644 index c53bd73..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionResults.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { CompetitionResults } from "types/competition/competitionResult"; - -export type Etf2lCompetitionResults = { - results: CompetitionResults; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTeams.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTeams.ts deleted file mode 100644 index 181cdaf..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/etf2lCompetitionTeams.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CompetitionTeams } from "types/competition/competitionTeams"; -import type { Status } from "types/common/status"; - -export type Etf2lCompetitionTeams = { - status: Status; - teams: CompetitionTeams; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/index.ts deleted file mode 100644 index fca8aa8..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/competition/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./etf2lCompetitionDetails"; -export * from "./etf2lCompetitionList"; -export * from "./etf2lCompetitionMatches"; -export * from "./etf2lCompetitionResults"; -export * from "./etf2lCompetitionTables"; -export * from "./etf2lCompetitionTeams"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/etf2lDemos.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/etf2lDemos.ts deleted file mode 100644 index f1a5b68..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/etf2lDemos.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { Demos } from "types/demos"; - -export type Etf2lDemos = { - demos: Demos; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/index.ts deleted file mode 100644 index 4d3dbb4..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/demos/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./etf2lDemos"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/index.ts deleted file mode 100644 index fb0827f..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./competition"; -export * from "./demos"; -export * from "./matches"; -export * from "./player"; -export * from "./recruitment"; -export * from "./team"; -export * from "./whitelist"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatch.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatch.ts deleted file mode 100644 index 1d1495f..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatch.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { MatchData } from "types/matches/matchData"; -import type { Status } from "types/common/status"; -import type { MultiPage } from "types/common"; - -export type Etf2lMatch = { - results: MultiPage & { - data: MatchData[]; - } - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatchDetails.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatchDetails.ts deleted file mode 100644 index 02d9c68..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/etf2lMatchDetails.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { MatchDataDetails } from "types/matches/matchDataDetails"; -import type { Status } from "types/common/status"; - -export type Etf2lMatchDetails = { - match: MatchDataDetails; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/index.ts deleted file mode 100644 index ddfe96c..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/matches/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./etf2lMatch"; -export * from "./etf2lMatchDetails"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lBan.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lBan.ts deleted file mode 100644 index 2ed4ae3..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lBan.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { PlayerData } from "types/player"; - -export type Etf2lBan = PlayerData; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayer.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayer.ts deleted file mode 100644 index 97fadec..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayer.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { PlayerData } from "types/player/playerData"; -import type { Status } from "types/common/status"; - -export type Etf2lPlayer = { - player: PlayerData; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerResults.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerResults.ts deleted file mode 100644 index 842e485..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/etf2lPlayerResults.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { PlayerResultData } from "types/player/playerResultData"; - -export type Etf2lPlayerResults = MultiPage & { - data: PlayerResultData[]; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/index.ts deleted file mode 100644 index 7549403..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/player/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./etf2lBan"; -export * from "./etf2lPlayer"; -export * from "./etf2lPlayerResults"; -export * from "./etf2lPlayerTransfers"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/index.ts deleted file mode 100644 index 993f988..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/recruitment/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./etf2lRecruitmentPlayers"; -export * from "./etf2lRecruitmentTeams"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeam.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeam.ts deleted file mode 100644 index dc72cc3..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeam.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Status } from "types/common/status"; -import type { Team } from "types/team/team"; - -export type Etf2lTeam = { - team: Team; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamMatches.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamMatches.ts deleted file mode 100644 index e575da4..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamMatches.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Status } from "types/common/status"; -import type { TeamMatch } from "types/team/teamMatch"; - -export type Etf2lTeamMatches = { - matches: TeamMatch; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamResults.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamResults.ts deleted file mode 100644 index fc630f8..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/etf2lTeamResults.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { TeamMatchData } from "types/team"; - -export type Etf2lTeamResults = MultiPage & { - data: Omit[]; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/index.ts deleted file mode 100644 index 5c204ed..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/team/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./etf2lTeam"; -export * from "./etf2lTeamMatches"; -export * from "./etf2lTeamResults"; -export * from "./etf2lTeamTransfers"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/etf2lWhitelist.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/etf2lWhitelist.ts deleted file mode 100644 index 0daf027..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/etf2lWhitelist.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Status } from "types/common/status"; -import type { Whitelists } from "types/whitelists/whitelists"; - -export type Etf2lWhitelists = { - whitelists: Whitelists; - status: Status; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/index.ts b/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/index.ts deleted file mode 100644 index 0b68abe..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/endpoints/whitelist/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./etf2lWhitelist"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/enums/index.ts b/node-sdk/lib/etf2l-api-types/src/types/enums/index.ts deleted file mode 100644 index 87c129c..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/enums/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./classes"; diff --git a/node-sdk/lib/etf2l-api-types/src/types/index.ts b/node-sdk/lib/etf2l-api-types/src/types/index.ts deleted file mode 100644 index bcf33f0..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from "./common"; -export * from "./competition"; -export * from "./demos"; -export * from "./endpoints"; -export * from "./enums"; -export * from "./matches"; -export * from "./player"; -export * from "./recruitment"; -export * from "./team"; -export * from "./whitelists"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/matches/index.ts b/node-sdk/lib/etf2l-api-types/src/types/matches/index.ts deleted file mode 100644 index 36ac94a..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/matches/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./matchData"; -export * from "./matchDataDetails"; -export * from "./matchPlayer"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/player/index.ts b/node-sdk/lib/etf2l-api-types/src/types/player/index.ts deleted file mode 100644 index 1cc253c..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/player/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from "./player"; -export * from "./playerData"; -export * from "./playerResultClan"; -export * from "./playerResultData"; -export * from "./playerSteamData"; -export * from "./playerTeam"; -export * from "./playerTransferData"; -export * from "./playerTransferTeam"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/recruitment/index.ts b/node-sdk/lib/etf2l-api-types/src/types/recruitment/index.ts deleted file mode 100644 index 1a90ba0..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/recruitment/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./recruitmentDataPlayer"; -export * from "./recruitmentDataTeam"; -export * from "./recruitmentPlayer"; -export * from "./recruitmentTeam"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentTeam.ts b/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentTeam.ts deleted file mode 100644 index 23bbc78..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/recruitment/recruitmentTeam.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { RecruitmentDataTeam } from "./recruitmentDataTeam"; - -export type RecruitmentTeam = MultiPage & { - data: RecruitmentDataTeam[]; -}; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/index.ts b/node-sdk/lib/etf2l-api-types/src/types/team/index.ts deleted file mode 100644 index 3d50a1f..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/team/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./team"; -export * from "./teamCompetition"; -export * from "./teamMatch"; -export * from "./teamMatchData"; -export * from "./teamPlayer"; -export * from "./teamTransferData"; -export * from "./teamTransferPlayer"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/team/teamMatch.ts b/node-sdk/lib/etf2l-api-types/src/types/team/teamMatch.ts deleted file mode 100644 index 44853a1..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/team/teamMatch.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MultiPage } from "types/common/multiPage"; -import type { TeamMatchData } from "./teamMatchData"; - -export type TeamMatch = MultiPage & { - data: TeamMatchData[] -} \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/src/types/whitelists/index.ts b/node-sdk/lib/etf2l-api-types/src/types/whitelists/index.ts deleted file mode 100644 index f5e2a8b..0000000 --- a/node-sdk/lib/etf2l-api-types/src/types/whitelists/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./whitelists"; \ No newline at end of file diff --git a/node-sdk/lib/etf2l-api-types/tsconfig.json b/node-sdk/lib/etf2l-api-types/tsconfig.json deleted file mode 100644 index 12430c4..0000000 --- a/node-sdk/lib/etf2l-api-types/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "@sapphire/ts-config", - "compilerOptions": { - "rootDir": "src", - "module": "ESNext", - "target": "ESNext", - "outDir": "dist", - "emitDecoratorMetadata": false, - "tsBuildInfoFile": "dist/.tsbuildinfo", - "skipLibCheck": true, - "baseUrl": "src", - "lib": ["ESNext"], - "removeComments": true - } -} diff --git a/node-sdk/lib/etf2l-api-types/tsup.config.ts b/node-sdk/lib/etf2l-api-types/tsup.config.ts deleted file mode 100644 index 21aeb9a..0000000 --- a/node-sdk/lib/etf2l-api-types/tsup.config.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defineConfig } from "tsup"; - -export default defineConfig({ - clean: false, - bundle: false, - dts: true, - entry: ["src/**/*.ts", "!src/**/*.d.ts"], - format: ["esm", "cjs"], - minify: false, - tsconfig: "tsconfig.json", - target: "esnext", - splitting: false, - skipNodeModulesBundle: true, - sourcemap: true, - shims: false, - keepNames: true, -}); diff --git a/node-sdk/sdks/etf2l/package.json b/node-sdk/sdks/etf2l/package.json deleted file mode 100644 index c453e60..0000000 --- a/node-sdk/sdks/etf2l/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "etf2l", - "version": "0.0.0", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "license": "MIT", - "private": false, - "scripts": { - "build": "tsup" - }, - "dependencies": { - "common": "*", - "etf2l-api-types": "*" - }, - "devDependencies": { - "@sapphire/ts-config": "^3.3.4", - "@types/node": "^18.11.17", - "tsup": "^6.5.0", - "typescript": "^4.9.4" - } -} diff --git a/node-sdk/sdks/etf2l/src/index.ts b/node-sdk/sdks/etf2l/src/index.ts deleted file mode 100644 index 857adba..0000000 --- a/node-sdk/sdks/etf2l/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./etf2l"; diff --git a/node-sdk/sdks/etf2l/tsconfig.json b/node-sdk/sdks/etf2l/tsconfig.json deleted file mode 100644 index 12430c4..0000000 --- a/node-sdk/sdks/etf2l/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "@sapphire/ts-config", - "compilerOptions": { - "rootDir": "src", - "module": "ESNext", - "target": "ESNext", - "outDir": "dist", - "emitDecoratorMetadata": false, - "tsBuildInfoFile": "dist/.tsbuildinfo", - "skipLibCheck": true, - "baseUrl": "src", - "lib": ["ESNext"], - "removeComments": true - } -} diff --git a/node-sdk/sdks/etf2l/tsup.config.ts b/node-sdk/sdks/etf2l/tsup.config.ts deleted file mode 100644 index 21aeb9a..0000000 --- a/node-sdk/sdks/etf2l/tsup.config.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defineConfig } from "tsup"; - -export default defineConfig({ - clean: false, - bundle: false, - dts: true, - entry: ["src/**/*.ts", "!src/**/*.d.ts"], - format: ["esm", "cjs"], - minify: false, - tsconfig: "tsconfig.json", - target: "esnext", - splitting: false, - skipNodeModulesBundle: true, - sourcemap: true, - shims: false, - keepNames: true, -}); diff --git a/node-sdk/yarn.lock b/node-sdk/yarn.lock deleted file mode 100644 index 2c84bf5..0000000 --- a/node-sdk/yarn.lock +++ /dev/null @@ -1,831 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@esbuild/android-arm@0.15.18": - version "0.15.18" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.15.18.tgz#266d40b8fdcf87962df8af05b76219bc786b4f80" - integrity sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw== - -"@esbuild/linux-loong64@0.15.18": - version "0.15.18" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz#128b76ecb9be48b60cf5cfc1c63a4f00691a3239" - integrity sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ== - -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== - dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== - -"@nodelib/fs.walk@^1.2.3": - version "1.2.8" - resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" - -"@sapphire/fetch@^2.4.1": - version "2.4.1" - resolved "https://registry.npmjs.org/@sapphire/fetch/-/fetch-2.4.1.tgz" - integrity sha512-jKy1RCkuz2mIjsRZLVLUz9pbmDVZiFst3eVqJoDD/ay3u9NP054DYsRSE08q3EsZXHXte2dFIzVyiwL+iLeRNA== - dependencies: - cross-fetch "^3.1.5" - -"@sapphire/ts-config@^3.3.4": - version "3.3.4" - resolved "https://registry.npmjs.org/@sapphire/ts-config/-/ts-config-3.3.4.tgz" - integrity sha512-mWEUxCXh3cHKI7C8HJ049exVTMNaq+A/lJEDfM5ENSQ/OOZHd5DdmXn2jrYqFWbTRCHa0Vp2FAmACWBwePsBtg== - dependencies: - tslib "^2.3.1" - typescript "^4.6.3" - -"@sapphire/utilities@^3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@sapphire/utilities/-/utilities-3.11.0.tgz" - integrity sha512-ich7J+329UTEgWxgk8b871rMhbFW/hvXdabdiKaUKd6g10eIMkIakWf+EGkDQsiDSiebIXll9TIPPmWtN3cVSw== - -"@types/node@^18.11.17": - version "18.11.17" - resolved "https://registry.npmjs.org/@types/node/-/node-18.11.17.tgz" - integrity sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng== - -any-promise@^1.0.0: - version "1.3.0" - resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" - integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== - -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -bundle-require@^3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/bundle-require/-/bundle-require-3.1.2.tgz" - integrity sha512-Of6l6JBAxiyQ5axFxUM6dYeP/W7X2Sozeo/4EYB9sJhL+dqL7TKjg+shwxp6jlu/6ZSERfsYtIpSJ1/x3XkAEA== - dependencies: - load-tsconfig "^0.2.0" - -cac@^6.7.12: - version "6.7.14" - resolved "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz" - integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== - -chokidar@^3.5.1: - version "3.5.3" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -commander@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -cross-fetch@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz" - integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== - dependencies: - node-fetch "2.6.7" - -cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -debug@^4.3.1: - version "4.3.4" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -esbuild-android-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz#20a7ae1416c8eaade917fb2453c1259302c637a5" - integrity sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA== - -esbuild-android-arm64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz#9cc0ec60581d6ad267568f29cf4895ffdd9f2f04" - integrity sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ== - -esbuild-darwin-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz#428e1730ea819d500808f220fbc5207aea6d4410" - integrity sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg== - -esbuild-darwin-arm64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz#b6dfc7799115a2917f35970bfbc93ae50256b337" - integrity sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA== - -esbuild-freebsd-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz#4e190d9c2d1e67164619ae30a438be87d5eedaf2" - integrity sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA== - -esbuild-freebsd-arm64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz#18a4c0344ee23bd5a6d06d18c76e2fd6d3f91635" - integrity sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA== - -esbuild-linux-32@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz#9a329731ee079b12262b793fb84eea762e82e0ce" - integrity sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg== - -esbuild-linux-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz#532738075397b994467b514e524aeb520c191b6c" - integrity sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw== - -esbuild-linux-arm64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz#5372e7993ac2da8f06b2ba313710d722b7a86e5d" - integrity sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug== - -esbuild-linux-arm@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz#e734aaf259a2e3d109d4886c9e81ec0f2fd9a9cc" - integrity sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA== - -esbuild-linux-mips64le@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz#c0487c14a9371a84eb08fab0e1d7b045a77105eb" - integrity sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ== - -esbuild-linux-ppc64le@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz#af048ad94eed0ce32f6d5a873f7abe9115012507" - integrity sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w== - -esbuild-linux-riscv64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz#423ed4e5927bd77f842bd566972178f424d455e6" - integrity sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg== - -esbuild-linux-s390x@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz#21d21eaa962a183bfb76312e5a01cc5ae48ce8eb" - integrity sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ== - -esbuild-netbsd-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz#ae75682f60d08560b1fe9482bfe0173e5110b998" - integrity sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg== - -esbuild-openbsd-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz#79591a90aa3b03e4863f93beec0d2bab2853d0a8" - integrity sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ== - -esbuild-sunos-64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz#fd528aa5da5374b7e1e93d36ef9b07c3dfed2971" - integrity sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw== - -esbuild-windows-32@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz#0e92b66ecdf5435a76813c4bc5ccda0696f4efc3" - integrity sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ== - -esbuild-windows-64@0.15.18: - version "0.15.18" - resolved "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz" - integrity sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw== - -esbuild-windows-arm64@0.15.18: - version "0.15.18" - resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz#5b5bdc56d341d0922ee94965c89ee120a6a86eb7" - integrity sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ== - -esbuild@^0.15.1: - version "0.15.18" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.15.18.tgz" - integrity sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q== - optionalDependencies: - "@esbuild/android-arm" "0.15.18" - "@esbuild/linux-loong64" "0.15.18" - esbuild-android-64 "0.15.18" - esbuild-android-arm64 "0.15.18" - esbuild-darwin-64 "0.15.18" - esbuild-darwin-arm64 "0.15.18" - esbuild-freebsd-64 "0.15.18" - esbuild-freebsd-arm64 "0.15.18" - esbuild-linux-32 "0.15.18" - esbuild-linux-64 "0.15.18" - esbuild-linux-arm "0.15.18" - esbuild-linux-arm64 "0.15.18" - esbuild-linux-mips64le "0.15.18" - esbuild-linux-ppc64le "0.15.18" - esbuild-linux-riscv64 "0.15.18" - esbuild-linux-s390x "0.15.18" - esbuild-netbsd-64 "0.15.18" - esbuild-openbsd-64 "0.15.18" - esbuild-sunos-64 "0.15.18" - esbuild-windows-32 "0.15.18" - esbuild-windows-64 "0.15.18" - esbuild-windows-arm64 "0.15.18" - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -fast-glob@^3.2.9: - version "3.2.12" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fastq@^1.6.0: - version "1.14.0" - resolved "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz" - integrity sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg== - dependencies: - reusify "^1.0.4" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob@7.1.6: - version "7.1.6" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -globby@^11.0.3: - version "11.1.0" - resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -ignore@^5.2.0: - version "5.2.4" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz" - integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2: - version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -joycon@^3.0.1: - version "3.1.1" - resolved "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz" - integrity sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw== - -lilconfig@^2.0.5: - version "2.0.6" - resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz" - integrity sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg== - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -load-tsconfig@^0.2.0: - version "0.2.3" - resolved "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.3.tgz" - integrity sha512-iyT2MXws+dc2Wi6o3grCFtGXpeMvHmJqS27sMPGtV2eUu4PeFnG+33I8BlFK1t1NWMjOpcx9bridn5yxLDX2gQ== - -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz" - integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimatch@^3.0.4: - version "3.1.2" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -mz@^2.7.0: - version "2.7.0" - resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" - integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== - dependencies: - any-promise "^1.0.0" - object-assign "^4.0.1" - thenify-all "^1.0.0" - -node-fetch@2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -object-assign@^4.0.1: - version "4.1.1" - resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -once@^1.3.0: - version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pirates@^4.0.1: - version "4.0.5" - resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== - -postcss-load-config@^3.0.1: - version "3.1.4" - resolved "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz" - integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== - dependencies: - lilconfig "^2.0.5" - yaml "^1.10.2" - -prettier@latest: - version "2.8.7" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz" - integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw== - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rollup@^3.2.5: - version "3.8.0" - resolved "https://registry.npmjs.org/rollup/-/rollup-3.8.0.tgz" - integrity sha512-+UR6PnUslneJNiJfLSzy4XH6R50ZGF0MS7UCv20ftXrktF/TkvZDwiBtXX65esblLR5p8w6LmXgPwt2f2B8SoQ== - optionalDependencies: - fsevents "~2.3.2" - -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -signal-exit@^3.0.3: - version "3.0.7" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -source-map@0.8.0-beta.0: - version "0.8.0-beta.0" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz" - integrity sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA== - dependencies: - whatwg-url "^7.0.0" - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -sucrase@^3.20.3: - version "3.29.0" - resolved "https://registry.npmjs.org/sucrase/-/sucrase-3.29.0.tgz" - integrity sha512-bZPAuGA5SdFHuzqIhTAqt9fvNEo9rESqXIG3oiKdF8K4UmkQxC4KlNL3lVyAErXp+mPvUqZ5l13qx6TrDIGf3A== - dependencies: - commander "^4.0.0" - glob "7.1.6" - lines-and-columns "^1.1.6" - mz "^2.7.0" - pirates "^4.0.1" - ts-interface-checker "^0.1.9" - -thenify-all@^1.0.0: - version "1.6.0" - resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" - integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== - dependencies: - thenify ">= 3.1.0 < 4" - -"thenify@>= 3.1.0 < 4": - version "3.3.1" - resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" - integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== - dependencies: - any-promise "^1.0.0" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz" - integrity sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA== - dependencies: - punycode "^2.1.0" - -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -ts-interface-checker@^0.1.9: - version "0.1.13" - resolved "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz" - integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== - -tslib@^2.3.1: - version "2.4.1" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz" - integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== - -tsup@^6.5.0: - version "6.5.0" - resolved "https://registry.npmjs.org/tsup/-/tsup-6.5.0.tgz" - integrity sha512-36u82r7rYqRHFkD15R20Cd4ercPkbYmuvRkz3Q1LCm5BsiFNUgpo36zbjVhCOgvjyxNBWNKHsaD5Rl8SykfzNA== - dependencies: - bundle-require "^3.1.2" - cac "^6.7.12" - chokidar "^3.5.1" - debug "^4.3.1" - esbuild "^0.15.1" - execa "^5.0.0" - globby "^11.0.3" - joycon "^3.0.1" - postcss-load-config "^3.0.1" - resolve-from "^5.0.0" - rollup "^3.2.5" - source-map "0.8.0-beta.0" - sucrase "^3.20.3" - tree-kill "^1.2.2" - -turbo-darwin-64@1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/turbo-darwin-64/-/turbo-darwin-64-1.8.5.tgz#6fdd2e9e2b8afead04e17380fc222863794e6007" - integrity sha512-CAYh56bzeHfnh7jTm03r29bh8p5a/EjQo1Id5yLUH7hS7msTau/+YpxJWPodLbN0UQsUYivUqHQkglJ+eMJ7xA== - -turbo-darwin-arm64@1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/turbo-darwin-arm64/-/turbo-darwin-arm64-1.8.5.tgz#8d72d67a87b6d247565de79477b0c7aed6a83c2b" - integrity sha512-R3jCPOv+lu3dcvMhj8b/Defv6dyUwX6W+tbX7d6YUCA46Plf/bGCQ8+MSbxmr/4E1GyGOVFsn1wRfiYk0us/Dg== - -turbo-linux-64@1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/turbo-linux-64/-/turbo-linux-64-1.8.5.tgz#a080015aa1c725604637a743a5b878d100aaf88b" - integrity sha512-YRc/KNRZeUVvth11UO4SDQZR2IqGgl9MSsbzqoHuFz4B4Q5QXH7onHogv9aXWE/BZBBbcrSBTlwBSG0Gg+J8hg== - -turbo-linux-arm64@1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/turbo-linux-arm64/-/turbo-linux-arm64-1.8.5.tgz#96fa915f10e81a16eccf74e122e96fcba4e132e0" - integrity sha512-8exVZb7XBl/V3gHSweuUyG2D9IzfWqwLvlXoeLWlVYSj61Ajgdv+WU7lvUmx+H2s+sSKqmIFmewA5Lw6YY37sg== - -turbo-windows-64@1.8.5: - version "1.8.5" - resolved "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.8.5.tgz" - integrity sha512-fA8PU5ZNoFnQkapG06WiEqfsVQ5wbIPkIqTwUsd/M2Lp+KgxE79SQbuEI+2vQ9SmwM5qoMi515IPjgvXAJXgCw== - -turbo-windows-arm64@1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/turbo-windows-arm64/-/turbo-windows-arm64-1.8.5.tgz#286c7aacd8c9e2a8a0f5ab767268aadc8f6c7955" - integrity sha512-SW/NvIdhckLsAWjU/iqBbCB0S8kXupKscUK3kEW1DZIr3MYcP/yIuaE/IdPuqcoF3VP0I3TLD4VTYCCKAo3tKA== - -turbo@latest: - version "1.8.5" - resolved "https://registry.npmjs.org/turbo/-/turbo-1.8.5.tgz" - integrity sha512-UBnH2wIFb5g6OQCk8f34Ud15ZXV4xEMmugeDJTU5Ur2LpVRsNEny0isSCYdb3Iu3howoNyyXmtpaxWsAwNYkkg== - optionalDependencies: - turbo-darwin-64 "1.8.5" - turbo-darwin-arm64 "1.8.5" - turbo-linux-64 "1.8.5" - turbo-linux-arm64 "1.8.5" - turbo-windows-64 "1.8.5" - turbo-windows-arm64 "1.8.5" - -typescript@^4.6.3, typescript@^4.9.4: - version "4.9.4" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz" - integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz" - integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -whatwg-url@^7.0.0: - version "7.1.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz" - integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -yaml@^1.10.2: - version "1.10.2" - resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==