Skip to content

Commit

Permalink
chore: sort imports and exports alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Nov 20, 2023
1 parent a6e069f commit 8b5268a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/lib/assets/abilities.ts
Original file line number Diff line number Diff line change
@@ -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<string, PokemonTypes.Ability>([
Expand Down
2 changes: 1 addition & 1 deletion src/lib/assets/pokemon-source.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/resolvers/abilityResolvers.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
26 changes: 13 additions & 13 deletions src/lib/types/graphql-mapped-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

0 comments on commit 8b5268a

Please sign in to comment.