From 8b5268a0d6f1ccaf22eb1597b1904f4e29bf0973 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Tue, 21 Nov 2023 00:04:43 +0100 Subject: [PATCH] chore: sort imports and exports alphabetically --- src/lib/assets/abilities.ts | 2 +- src/lib/assets/pokemon-source.ts | 2 +- src/lib/resolvers/abilityResolvers.ts | 2 +- src/lib/types/graphql-mapped-types.ts | 26 +++++++++++++------------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/lib/assets/abilities.ts b/src/lib/assets/abilities.ts index eff5d322df..c61a3777e8 100644 --- a/src/lib/assets/abilities.ts +++ b/src/lib/assets/abilities.ts @@ -1,6 +1,6 @@ import type { PokemonTypes } from '#assets/pokemon-source'; -import { Collection } from '@discordjs/collection'; import { IsNonStandard } from '#utils/isNonStandardEnum'; +import { Collection } from '@discordjs/collection'; /** The abilities in Pokémon */ export const abilities = new Collection([ diff --git a/src/lib/assets/pokemon-source.ts b/src/lib/assets/pokemon-source.ts index 1a87851aa5..ea94684a60 100644 --- a/src/lib/assets/pokemon-source.ts +++ b/src/lib/assets/pokemon-source.ts @@ -1,5 +1,5 @@ -import type { TypesEnum } from '#utils/pokemonTypes'; import type { IsNonStandard } from '#utils/isNonStandardEnum'; +import type { TypesEnum } from '#utils/pokemonTypes'; export namespace PokemonTypes { interface AliasEntry { diff --git a/src/lib/resolvers/abilityResolvers.ts b/src/lib/resolvers/abilityResolvers.ts index 1a6cff35e3..c623c27b04 100644 --- a/src/lib/resolvers/abilityResolvers.ts +++ b/src/lib/resolvers/abilityResolvers.ts @@ -1,8 +1,8 @@ import { abilities } from '#assets/abilities'; import { mapAbilityDataToAbilityGraphQL } from '#mappers/abilityMapper'; +import type { Ability } from '#types/graphql-mapped-types'; import { FuzzySearch } from '#utils/FuzzySearch'; import type { GraphQLSet } from '#utils/GraphQLSet'; -import type { Ability } from '#types/graphql-mapped-types'; import { preParseInput } from '#utils/utils'; import { validateGetFuzzyAbilityArgs, type GetFuzzyAbilityArgs } from '#validations/fuzzyArgs/fuzzyAbilityArgs'; import { validateGetAbilityArgs, type GetAbilityArgs } from '#validations/getAbilityArgs'; diff --git a/src/lib/types/graphql-mapped-types.ts b/src/lib/types/graphql-mapped-types.ts index 749e70efb4..b10ba670b4 100644 --- a/src/lib/types/graphql-mapped-types.ts +++ b/src/lib/types/graphql-mapped-types.ts @@ -408,25 +408,25 @@ declare enum TypesEnum { } export type { - TypesEnum, - Flavor, - IsNonStandard, - CatchRate, Abilities, Ability, - Move, - Gender, - Maybe, + CatchRate, EvYields, - Item, - Pokemon, - PokemonLearnset, + Flavor, + Gender, GenerationalPokemonLearnset, + IsNonStandard, + Item, Learnset, - LearnsetMove, LearnsetLevelUpMove, + LearnsetMove, + Maybe, + Move, + Pokemon, + PokemonLearnset, PokemonType, - TypeMatchup, + Stats, TypeEffectiveness, - Stats + TypeMatchup, + TypesEnum };