@pokepc/dataset 6.6.0 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/build/{box-preset-sanitizer-GjGde3eW.mjs → box-preset-sanitizer-DHGv5TJj.mjs} +2 -2
  2. package/build/{box-preset-sanitizer-GjGde3eW.mjs.map → box-preset-sanitizer-DHGv5TJj.mjs.map} +1 -1
  3. package/build/box-preset-sanitizer-kg68JZPB.d.mts.map +1 -1
  4. package/build/{build-DeFbpXmN.mjs → build-DvGzwIK8.mjs} +74 -17
  5. package/build/build-DvGzwIK8.mjs.map +1 -0
  6. package/build/{build-GIV09lTc.mjs → build-bE_0_-0H.mjs} +4 -10
  7. package/build/{build-GIV09lTc.mjs.map → build-bE_0_-0H.mjs.map} +1 -1
  8. package/build/enums-CCbmORM6.d.mts.map +1 -1
  9. package/build/lib/box-preset-sanitizer.mjs +1 -1
  10. package/build/lib/box-preset-transform.d.mts +4 -6
  11. package/build/lib/box-preset-transform.d.mts.map +1 -1
  12. package/build/lib/box-preset-transform.mjs +2 -2
  13. package/build/lib/constants.d.mts +3 -4
  14. package/build/lib/constants.d.mts.map +1 -1
  15. package/build/lib/fs.d.mts +48 -49
  16. package/build/lib/fs.d.mts.map +1 -1
  17. package/build/lib/fs.mjs +3 -3
  18. package/build/lib/fs.mjs.map +1 -1
  19. package/build/lib/languages.d.mts +11 -12
  20. package/build/lib/languages.d.mts.map +1 -1
  21. package/build/lib/schemas.d.mts +1 -1
  22. package/build/lib/schemas.mjs +1 -1
  23. package/build/lib/search.d.mts +2 -3
  24. package/build/lib/search.d.mts.map +1 -1
  25. package/build/lib/search.mjs.map +1 -1
  26. package/build/lib/types.d.mts +34 -34
  27. package/build/lib/types.d.mts.map +1 -1
  28. package/build/lib/utils.d.mts +16 -17
  29. package/build/lib/utils.d.mts.map +1 -1
  30. package/build/lib/validators.d.mts +1 -1
  31. package/build/lib-next/_build.d.mts +1 -1
  32. package/build/lib-next/_build.mjs +2 -2
  33. package/build/lib-next/enums.d.mts +41 -42
  34. package/build/lib-next/enums.d.mts.map +1 -1
  35. package/build/lib-next/fs.d.mts +3 -4
  36. package/build/lib-next/fs.d.mts.map +1 -1
  37. package/build/lib-next/languages.d.mts +17 -18
  38. package/build/lib-next/languages.d.mts.map +1 -1
  39. package/build/lib-next/schemas.d.mts +222 -224
  40. package/build/lib-next/schemas.d.mts.map +1 -1
  41. package/build/lib-next/schemas.mjs +1 -1
  42. package/build/schemas-Bj1AIX0P.mjs +93 -0
  43. package/build/schemas-Bj1AIX0P.mjs.map +1 -0
  44. package/build/schemas-CDSWgtoj.d.mts +804 -0
  45. package/build/schemas-CDSWgtoj.d.mts.map +1 -0
  46. package/build/schemas-CcUqoHNr.mjs +349 -0
  47. package/build/schemas-CcUqoHNr.mjs.map +1 -0
  48. package/build/utils-BwovRocd.mjs.map +1 -1
  49. package/data/abilities.json +9 -0
  50. package/data/games/champions.json +5 -1
  51. package/data/indices/pokedexes.json +2 -1
  52. package/data/pokedexes/champions-regular-roster-m-b.json +3 -0
  53. package/data/pokedexes/champions-regular-roster-m-c.json +490 -0
  54. package/data/pokemon/absol-mega-z.json +1 -3
  55. package/data/pokemon/arboliva.json +1 -1
  56. package/data/pokemon/baxcalibur-mega.json +0 -1
  57. package/data/pokemon/baxcalibur.json +1 -1
  58. package/data/pokemon/cinderace.json +1 -1
  59. package/data/pokemon/farfetchd.json +2 -1
  60. package/data/pokemon/garchomp-mega-z.json +2 -2
  61. package/data/pokemon/gogoat.json +2 -1
  62. package/data/pokemon/golisopod-mega.json +1 -1
  63. package/data/pokemon/golisopod.json +12 -1
  64. package/data/pokemon/grapploct.json +1 -1
  65. package/data/pokemon/indeedee-f.json +1 -1
  66. package/data/pokemon/indeedee.json +1 -1
  67. package/data/pokemon/inteleon.json +1 -1
  68. package/data/pokemon/lucario-mega-z.json +1 -3
  69. package/data/pokemon/mabosstiff.json +1 -1
  70. package/data/pokemon/mrmime.json +2 -1
  71. package/data/pokemon/pawmot.json +1 -1
  72. package/data/pokemon/perrserker.json +1 -1
  73. package/data/pokemon/persian-alola.json +2 -1
  74. package/data/pokemon/persian.json +2 -1
  75. package/data/pokemon/pincurchin.json +1 -1
  76. package/data/pokemon/pyroar-f.json +7 -2
  77. package/data/pokemon/pyroar.json +2 -1
  78. package/data/pokemon/rillaboom.json +1 -1
  79. package/data/pokemon/salamence.json +2 -1
  80. package/data/pokemon/sirfetchd.json +1 -1
  81. package/data/pokemon/squawkabilly-blue.json +1 -1
  82. package/data/pokemon/squawkabilly-white.json +1 -1
  83. package/data/pokemon/squawkabilly-yellow.json +1 -1
  84. package/data/pokemon/squawkabilly.json +6 -2
  85. package/data/pokemon/swalot-f.json +7 -2
  86. package/data/pokemon/swalot.json +2 -1
  87. package/data/pokemon/thievul.json +1 -1
  88. package/data/pokemon/toxtricity-low-key.json +1 -1
  89. package/data/pokemon/toxtricity.json +1 -1
  90. package/data/pokemon/wigglytuff.json +2 -1
  91. package/data-next/champions/abilities.json +8 -0
  92. package/data-next/champions/i18n/chs/abilities.json +7 -0
  93. package/data-next/champions/i18n/cht/abilities.json +7 -0
  94. package/data-next/champions/i18n/deu/abilities.json +7 -0
  95. package/data-next/champions/i18n/eng/abilities.json +7 -0
  96. package/data-next/champions/i18n/es-es/abilities.json +7 -0
  97. package/data-next/champions/i18n/es-la/abilities.json +7 -0
  98. package/data-next/champions/i18n/fra/abilities.json +7 -0
  99. package/data-next/champions/i18n/ita/abilities.json +7 -0
  100. package/data-next/champions/i18n/jpn/abilities.json +7 -0
  101. package/data-next/champions/i18n/kor/abilities.json +7 -0
  102. package/data-next/champions/i18n/pt-br/abilities.json +7 -0
  103. package/data-next/champions/moves.json +1 -0
  104. package/package.json +10 -10
  105. package/build/build-DeFbpXmN.mjs.map +0 -1
  106. package/build/schemas-B4fI9u0f.mjs +0 -93
  107. package/build/schemas-B4fI9u0f.mjs.map +0 -1
  108. package/build/schemas-CiojUbKN.d.mts +0 -805
  109. package/build/schemas-CiojUbKN.d.mts.map +0 -1
  110. package/build/schemas-Dt7FbAMy.mjs +0 -349
  111. package/build/schemas-Dt7FbAMy.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-CiojUbKN.mjs";
1
+ import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-CDSWgtoj.mjs";
2
2
  export { abilitySchema, boxPresetBoxPokemonSchema, boxPresetBoxSchema, boxPresetIndexItemSchema, boxPresetMapSchema, boxPresetSchema, characterSchema, colorSchema, gameFeaturesSchema, gameSchema, generationSchema, i18nTextSchema, itemSchema, languageSchema, markSchema, modernBoxPresetBoxSchema, modernBoxPresetIndexSchema, modernBoxPresetSchema, modernBoxPresetSlotSchema, modernBoxPresetTags, moveSchema, natureSchema, onlineFeaturesSchema, originMarkSchema, personalitySchema, pokeballSchema, pokedexEntrySchema, pokedexSchema, pokemonRefsSchema, pokemonSchema, pokemonSearchFilterSchema, regionSchema, ribbonSchema, typeSchema };
@@ -1,2 +1,2 @@
1
- import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-Dt7FbAMy.mjs";
1
+ import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-CcUqoHNr.mjs";
2
2
  export { abilitySchema, boxPresetBoxPokemonSchema, boxPresetBoxSchema, boxPresetIndexItemSchema, boxPresetMapSchema, boxPresetSchema, characterSchema, colorSchema, gameFeaturesSchema, gameSchema, generationSchema, i18nTextSchema, itemSchema, languageSchema, markSchema, modernBoxPresetBoxSchema, modernBoxPresetIndexSchema, modernBoxPresetSchema, modernBoxPresetSlotSchema, modernBoxPresetTags, moveSchema, natureSchema, onlineFeaturesSchema, originMarkSchema, personalitySchema, pokeballSchema, pokedexEntrySchema, pokedexSchema, pokemonRefsSchema, pokemonSchema, pokemonSearchFilterSchema, regionSchema, ribbonSchema, typeSchema };
@@ -1,6 +1,5 @@
1
1
  //#region src/lib/search.d.ts
2
- declare function searchPokemon(pokemon: Array<Pkds.TranslatedPokemon>, filters: Partial<Pkds.PokemonSearchFilter>, requiresSearchString?: boolean): Pkds.PokemonSearchResults;
3
- declare function createSearchablePokemonList(pokemon: Array<Pkds.Pokemon>): Array<Pkds.TranslatedPokemon>;
2
+ export declare function searchPokemon(pokemon: Array<Pkds.TranslatedPokemon>, filters: Partial<Pkds.PokemonSearchFilter>, requiresSearchString?: boolean): Pkds.PokemonSearchResults;
3
+ export declare function createSearchablePokemonList(pokemon: Array<Pkds.Pokemon>): Array<Pkds.TranslatedPokemon>;
4
4
  //#endregion
5
- export { createSearchablePokemonList, searchPokemon };
6
5
  //# sourceMappingURL=search.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/lib/search.ts"],"mappings":";iBAKgB,aAAA,CACd,OAAA,EAAS,KAAA,CAAM,IAAA,CAAK,iBAAA,GACpB,OAAA,EAAS,OAAA,CAAQ,IAAA,CAAK,mBAAA,GACtB,oBAAA,aACC,IAAA,CAAK,oBAAA;AAAA,iBA8BQ,2BAAA,CACd,OAAA,EAAS,KAAA,CAAM,IAAA,CAAK,OAAA,IACnB,KAAA,CAAM,IAAA,CAAK,iBAAA"}
1
+ {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/lib/search.ts"],"mappings":";wBAKgB,cACd,SAAS,MAAM,KAAK,oBACpB,SAAS,QAAQ,KAAK,sBACtB,iCACC,KAAK;wBA8BQ,4BACd,SAAS,MAAM,KAAK,WACnB,MAAM,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"search.mjs","names":[],"sources":["../../src/lib/search.ts"],"sourcesContent":["import { dexNumToGen, formatDexNum, generatePokemonSearchableText } from './utils'\nimport { matchesSearchQuery, sanitizeSearchQuery } from '../utils/utils-internal'\n\nconst MIN_SEARCH_LENGTH = 2\n\nexport function searchPokemon(\n pokemon: Array<Pkds.TranslatedPokemon>,\n filters: Partial<Pkds.PokemonSearchFilter>,\n requiresSearchString: boolean = true,\n): Pkds.PokemonSearchResults {\n const searchQuery = sanitizeSearchQuery(filters.q ?? '')\n\n if (requiresSearchString && searchQuery.length < MIN_SEARCH_LENGTH) {\n return {\n pokemon: pokemon,\n meta: { total: pokemon.length, skipped: true },\n }\n }\n\n const filteredPokes = pokemon.filter((p) => {\n // const filterGen = filter.q ? 0 : (filter.gen ?? 0)\n const filterGen = filters.gen ?? 0\n\n if (!filters.forms && p.isForm) return false\n if (filters.color && p.color.toLowerCase() !== filters.color.toLowerCase()) return false\n if (filters.type && ![p.type1, p.type2].filter(Boolean).includes(filters.type)) return false\n if (filterGen > 0 && p.speciesGen !== filters.gen) return false\n\n if (filters.q && !matchesSearchQuery(p.searchableText, filters.q)) return false\n\n return true\n })\n\n return {\n pokemon: filteredPokes,\n meta: { total: pokemon.length, skipped: false },\n }\n}\n\nexport function createSearchablePokemonList(\n pokemon: Array<Pkds.Pokemon>,\n): Array<Pkds.TranslatedPokemon> {\n return pokemon.map(\n (pokemon: Pkds.Pokemon): Pkds.TranslatedPokemon => ({\n ...pokemon,\n speciesGen: dexNumToGen(pokemon.dexNum),\n dexNum: formatDexNum(pokemon.dexNum),\n name: pokemon.names['eng'] ?? '',\n speciesName: pokemon.speciesNames?.['eng'],\n formName: pokemon.formNames?.['eng'],\n lang: 'eng',\n searchableText: generatePokemonSearchableText(pokemon),\n }),\n )\n}\n"],"mappings":";;;AAGA,MAAM,oBAAoB;AAE1B,SAAgB,cACd,SACA,SACA,uBAAgC,MACL;CAC3B,MAAM,cAAc,oBAAoB,QAAQ,KAAK,EAAE;CAEvD,IAAI,wBAAwB,YAAY,SAAS,mBAC/C,OAAO;EACI;EACT,MAAM;GAAE,OAAO,QAAQ;GAAQ,SAAS;EAAK;CAC/C;CAiBF,OAAO;EACL,SAfoB,QAAQ,QAAQ,MAAM;GAE1C,MAAM,YAAY,QAAQ,OAAO;GAEjC,IAAI,CAAC,QAAQ,SAAS,EAAE,QAAQ,OAAO;GACvC,IAAI,QAAQ,SAAS,EAAE,MAAM,YAAY,MAAM,QAAQ,MAAM,YAAY,GAAG,OAAO;GACnF,IAAI,QAAQ,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,QAAQ,IAAI,GAAG,OAAO;GACvF,IAAI,YAAY,KAAK,EAAE,eAAe,QAAQ,KAAK,OAAO;GAE1D,IAAI,QAAQ,KAAK,CAAC,mBAAmB,EAAE,gBAAgB,QAAQ,CAAC,GAAG,OAAO;GAE1E,OAAO;EACT,CAGuB;EACrB,MAAM;GAAE,OAAO,QAAQ;GAAQ,SAAS;EAAM;CAChD;AACF;AAEA,SAAgB,4BACd,SAC+B;CAC/B,OAAO,QAAQ,KACZ,aAAmD;EAClD,GAAG;EACH,YAAY,YAAY,QAAQ,MAAM;EACtC,QAAQ,aAAa,QAAQ,MAAM;EACnC,MAAM,QAAQ,MAAM,UAAU;EAC9B,aAAa,QAAQ,eAAe;EACpC,UAAU,QAAQ,YAAY;EAC9B,MAAM;EACN,gBAAgB,8BAA8B,OAAO;CACvD,EACF;AACF"}
1
+ {"version":3,"file":"search.mjs","names":[],"sources":["../../src/lib/search.ts"],"sourcesContent":["import { dexNumToGen, formatDexNum, generatePokemonSearchableText } from './utils'\nimport { matchesSearchQuery, sanitizeSearchQuery } from '../utils/utils-internal'\n\nconst MIN_SEARCH_LENGTH = 2\n\nexport function searchPokemon(\n pokemon: Array<Pkds.TranslatedPokemon>,\n filters: Partial<Pkds.PokemonSearchFilter>,\n requiresSearchString: boolean = true,\n): Pkds.PokemonSearchResults {\n const searchQuery = sanitizeSearchQuery(filters.q ?? '')\n\n if (requiresSearchString && searchQuery.length < MIN_SEARCH_LENGTH) {\n return {\n pokemon: pokemon,\n meta: { total: pokemon.length, skipped: true },\n }\n }\n\n const filteredPokes = pokemon.filter((p) => {\n // const filterGen = filter.q ? 0 : (filter.gen ?? 0)\n const filterGen = filters.gen ?? 0\n\n if (!filters.forms && p.isForm) return false\n if (filters.color && p.color.toLowerCase() !== filters.color.toLowerCase()) return false\n if (filters.type && ![p.type1, p.type2].filter(Boolean).includes(filters.type)) return false\n if (filterGen > 0 && p.speciesGen !== filters.gen) return false\n\n if (filters.q && !matchesSearchQuery(p.searchableText, filters.q)) return false\n\n return true\n })\n\n return {\n pokemon: filteredPokes,\n meta: { total: pokemon.length, skipped: false },\n }\n}\n\nexport function createSearchablePokemonList(\n pokemon: Array<Pkds.Pokemon>,\n): Array<Pkds.TranslatedPokemon> {\n return pokemon.map((pokemon: Pkds.Pokemon): Pkds.TranslatedPokemon => ({\n ...pokemon,\n speciesGen: dexNumToGen(pokemon.dexNum),\n dexNum: formatDexNum(pokemon.dexNum),\n name: pokemon.names['eng'] ?? '',\n speciesName: pokemon.speciesNames?.['eng'],\n formName: pokemon.formNames?.['eng'],\n lang: 'eng',\n searchableText: generatePokemonSearchableText(pokemon),\n }))\n}\n"],"mappings":";;;AAGA,MAAM,oBAAoB;AAE1B,SAAgB,cACd,SACA,SACA,uBAAgC,MACL;CAC3B,MAAM,cAAc,oBAAoB,QAAQ,KAAK,EAAE;CAEvD,IAAI,wBAAwB,YAAY,SAAS,mBAC/C,OAAO;EACI;EACT,MAAM;GAAE,OAAO,QAAQ;GAAQ,SAAS;EAAK;CAC/C;CAiBF,OAAO;EACL,SAfoB,QAAQ,QAAQ,MAAM;GAE1C,MAAM,YAAY,QAAQ,OAAO;GAEjC,IAAI,CAAC,QAAQ,SAAS,EAAE,QAAQ,OAAO;GACvC,IAAI,QAAQ,SAAS,EAAE,MAAM,YAAY,MAAM,QAAQ,MAAM,YAAY,GAAG,OAAO;GACnF,IAAI,QAAQ,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,QAAQ,IAAI,GAAG,OAAO;GACvF,IAAI,YAAY,KAAK,EAAE,eAAe,QAAQ,KAAK,OAAO;GAE1D,IAAI,QAAQ,KAAK,CAAC,mBAAmB,EAAE,gBAAgB,QAAQ,CAAC,GAAG,OAAO;GAE1E,OAAO;EACT,CAGuB;EACrB,MAAM;GAAE,OAAO,QAAQ;GAAQ,SAAS;EAAM;CAChD;AACF;AAEA,SAAgB,4BACd,SAC+B;CAC/B,OAAO,QAAQ,KAAK,aAAmD;EACrE,GAAG;EACH,YAAY,YAAY,QAAQ,MAAM;EACtC,QAAQ,aAAa,QAAQ,MAAM;EACnC,MAAM,QAAQ,MAAM,UAAU;EAC9B,aAAa,QAAQ,eAAe;EACpC,UAAU,QAAQ,YAAY;EAC9B,MAAM;EACN,gBAAgB,8BAA8B,OAAO;CACvD,EAAE;AACJ"}
@@ -1,39 +1,38 @@
1
1
  import { _ as statIds, a as gameType, c as ivJudgeValues, d as languageInGameCodes, f as moveCategory, g as ribbonCategory, h as raidStyles, i as gameSeries, l as languageAlpha3Codes, m as pokemonSizes, n as battleStyles, o as genders, p as pokeballCategory, r as gamePlatforms, s as itemCategory, t as abilityTagIds, u as languageIds, v as titleTypes, y as typeIds } from "../enums-CCbmORM6.mjs";
2
- import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-CiojUbKN.mjs";
3
- import z$1 from "zod";
4
-
2
+ import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-CDSWgtoj.mjs";
3
+ import z from "zod";
5
4
  //#region src/lib/types.d.ts
6
5
  declare global {
7
6
  namespace Pkds {
8
- type LegacyBoxPreset = z$1.infer<typeof boxPresetSchema>;
7
+ type LegacyBoxPreset = z.infer<typeof boxPresetSchema>;
9
8
  type LegacyBoxPresetByGameset = {
10
9
  gameset: string;
11
10
  presets: LegacyBoxPreset[];
12
11
  };
13
- type LegacyBoxPresetBox = z$1.infer<typeof boxPresetBoxSchema>;
14
- type LegacyBoxPresetBoxPokemon = z$1.infer<typeof boxPresetBoxPokemonSchema>;
12
+ type LegacyBoxPresetBox = z.infer<typeof boxPresetBoxSchema>;
13
+ type LegacyBoxPresetBoxPokemon = z.infer<typeof boxPresetBoxPokemonSchema>;
15
14
  type ModernBoxPresetTag = (typeof modernBoxPresetTags)[number];
16
- type ModernBoxPresetIndex = z$1.infer<typeof modernBoxPresetIndexSchema>;
17
- type ModernBoxPreset = z$1.infer<typeof modernBoxPresetSchema>;
18
- type ModernBoxPresetBox = z$1.infer<typeof modernBoxPresetBoxSchema>;
19
- type ModernBoxPresetSlot = z$1.infer<typeof modernBoxPresetSlotSchema>;
20
- type Ability = z$1.infer<typeof abilitySchema>;
15
+ type ModernBoxPresetIndex = z.infer<typeof modernBoxPresetIndexSchema>;
16
+ type ModernBoxPreset = z.infer<typeof modernBoxPresetSchema>;
17
+ type ModernBoxPresetBox = z.infer<typeof modernBoxPresetBoxSchema>;
18
+ type ModernBoxPresetSlot = z.infer<typeof modernBoxPresetSlotSchema>;
19
+ type Ability = z.infer<typeof abilitySchema>;
21
20
  type AbilityTagId = (typeof abilityTagIds)[number];
22
- type Personality = z$1.infer<typeof personalitySchema>;
23
- type Character = z$1.infer<typeof characterSchema>;
24
- type Color = z$1.infer<typeof colorSchema>;
25
- type Game = z$1.infer<typeof gameSchema>;
26
- type GameFeatures = z$1.infer<typeof gameFeaturesSchema>;
27
- type GameOnlineFeatures = z$1.infer<typeof onlineFeaturesSchema>;
21
+ type Personality = z.infer<typeof personalitySchema>;
22
+ type Character = z.infer<typeof characterSchema>;
23
+ type Color = z.infer<typeof colorSchema>;
24
+ type Game = z.infer<typeof gameSchema>;
25
+ type GameFeatures = z.infer<typeof gameFeaturesSchema>;
26
+ type GameOnlineFeatures = z.infer<typeof onlineFeaturesSchema>;
28
27
  type GameType = (typeof gameType)[number];
29
28
  type GamePlatform = (typeof gamePlatforms)[number];
30
29
  type GameSeries = (typeof gameSeries)[number];
31
- type Generation = z$1.infer<typeof generationSchema>;
32
- type Item = z$1.infer<typeof itemSchema>;
30
+ type Generation = z.infer<typeof generationSchema>;
31
+ type Item = z.infer<typeof itemSchema>;
33
32
  type ItemCategory = (typeof itemCategory)[number];
34
- type Pokeball = z$1.infer<typeof pokeballSchema>;
33
+ type Pokeball = z.infer<typeof pokeballSchema>;
35
34
  type PokeballCategory = (typeof pokeballCategory)[number];
36
- type Language = z$1.infer<typeof languageSchema>;
35
+ type Language = z.infer<typeof languageSchema>;
37
36
  /**
38
37
  * Used as language IDs
39
38
  */
@@ -46,22 +45,22 @@ declare global {
46
45
  * Used as language codes in-game
47
46
  */
48
47
  type LanguageInGameCode = (typeof languageInGameCodes)[number];
49
- type Mark = z$1.infer<typeof markSchema>;
50
- type Ribbon = z$1.infer<typeof ribbonSchema>;
48
+ type Mark = z.infer<typeof markSchema>;
49
+ type Ribbon = z.infer<typeof ribbonSchema>;
51
50
  type RibbonCategory = (typeof ribbonCategory)[number];
52
- type OriginMark = z$1.infer<typeof originMarkSchema>;
53
- type Region = z$1.infer<typeof regionSchema>;
54
- type Type = z$1.infer<typeof typeSchema>;
51
+ type OriginMark = z.infer<typeof originMarkSchema>;
52
+ type Region = z.infer<typeof regionSchema>;
53
+ type Type = z.infer<typeof typeSchema>;
55
54
  type TypeId = (typeof typeIds)[number];
56
- type Nature = z$1.infer<typeof natureSchema>;
55
+ type Nature = z.infer<typeof natureSchema>;
57
56
  type StatId = (typeof statIds)[number];
58
- type Move = z$1.infer<typeof moveSchema>;
57
+ type Move = z.infer<typeof moveSchema>;
59
58
  type MoveCategory = (typeof moveCategory)[number];
60
- type Pokedex = z$1.infer<typeof pokedexSchema>;
61
- type PokedexEntry = z$1.infer<typeof pokedexEntrySchema>;
62
- type I18nText = z$1.infer<typeof i18nTextSchema>;
63
- type PokemonRefs = z$1.infer<typeof pokemonRefsSchema>;
64
- type Pokemon = z$1.infer<typeof pokemonSchema>;
59
+ type Pokedex = z.infer<typeof pokedexSchema>;
60
+ type PokedexEntry = z.infer<typeof pokedexEntrySchema>;
61
+ type I18nText = z.infer<typeof i18nTextSchema>;
62
+ type PokemonRefs = z.infer<typeof pokemonRefsSchema>;
63
+ type Pokemon = z.infer<typeof pokemonSchema>;
65
64
  type Gender = (typeof genders)[number] | null;
66
65
  type TitleType = (typeof titleTypes)[number];
67
66
  type PokemonSize = (typeof pokemonSizes)[number];
@@ -106,7 +105,7 @@ declare global {
106
105
  isNicknamed: boolean;
107
106
  lang: Pkds.LanguageAlpha3;
108
107
  };
109
- type PokemonSearchFilter = Partial<z$1.infer<typeof pokemonSearchFilterSchema>>;
108
+ type PokemonSearchFilter = Partial<z.infer<typeof pokemonSearchFilterSchema>>;
110
109
  type PokemonSearchResults = {
111
110
  pokemon: Array<Pkds.TranslatedPokemon>;
112
111
  meta: {
@@ -194,4 +193,5 @@ declare global {
194
193
  [key: string]: unknown;
195
194
  };
196
195
  }
196
+ //#endregion
197
197
  //# sourceMappingURL=types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.mts","names":[],"sources":["../../src/lib/types.ts"],"mappings":";;;;;QA2DQ,MAAA;EAAA,UAEI,IAAA;IAAA,KAEI,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,eAAA;IAAA,KACjC,wBAAA;MACV,OAAA;MACA,OAAA,EAAS,eAAA;IAAA;IAAA,KAEC,kBAAA,GAAqB,GAAA,CAAE,KAAA,QAAa,kBAAA;IAAA,KACpC,yBAAA,GAA4B,GAAA,CAAE,KAAA,QAAa,yBAAA;IAAA,KAC3C,kBAAA,WAA6B,mBAAA;IAAA,KAC7B,oBAAA,GAAuB,GAAA,CAAE,KAAA,QAAa,0BAAA;IAAA,KACtC,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,qBAAA;IAAA,KACjC,kBAAA,GAAqB,GAAA,CAAE,KAAA,QAAa,wBAAA;IAAA,KACpC,mBAAA,GAAsB,GAAA,CAAE,KAAA,QAAa,yBAAA;IAAA,KAErC,OAAA,GAAU,GAAA,CAAE,KAAA,QAAa,aAAA;IAAA,KACzB,YAAA,WAAuB,aAAA;IAAA,KACvB,WA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AK;MAC/B,WAAW,eAAe,KAAK;MAC/B,eAAe,eAAe,KAAK;MACnC,iBAAiB,eAAe,KAAK;MACrC,WAAW,eAAe,KAAK;MAC/B,aAAa,eAAe,KAAK;MACjC,aAAa,eAAe,KAAK;MACjC,aAAa,eAAe,KAAK;MACjC,mBAAmB,eAAe,KAAK;;SAG7B,oBAAoB,gBAAgB;SACpC,wBAAwB,SAAS;MAC3C;;;MAIA,cAAc,KAAK;cAEX;IACV;IACA;IACA;IACA;IACA;IACA;IACA;KACC;;cAGS,qBAAqB;cAErB;IACV;IACA;IACA,SAAS;IACT;KACC"}
@@ -1,22 +1,21 @@
1
1
  //#region src/lib/utils.d.ts
2
- declare function formatDexNum(num: number | string, positions?: number): string;
3
- declare function dexNumToInt(num: number | string): number;
4
- declare function dexNumToGen(nationalDexNum: number | string): number;
5
- declare function randomPokemonList<T extends Pkds.PokemonBase>(pokemonList: Array<T>, quantity?: number, withForms?: boolean): Array<T>;
6
- declare function getPossiblePokemonGenders(meta: Pkds.Pokemon): Pkds.Gender[];
7
- declare function getPokemonGender(inputGender: string | null | undefined, meta: Pkds.Pokemon, options?: {
2
+ export declare function formatDexNum(num: number | string, positions?: number): string;
3
+ export declare function dexNumToInt(num: number | string): number;
4
+ export declare function dexNumToGen(nationalDexNum: number | string): number;
5
+ export declare function randomPokemonList<T extends Pkds.PokemonBase>(pokemonList: Array<T>, quantity?: number, withForms?: boolean): Array<T>;
6
+ export declare function getPossiblePokemonGenders(meta: Pkds.Pokemon): Pkds.Gender[];
7
+ export declare function getPokemonGender(inputGender: string | null | undefined, meta: Pkds.Pokemon, options?: {
8
8
  allowEmpty?: boolean;
9
9
  }): Pkds.Gender;
10
- declare function translatePokemonText(pkm: Pkds.Pokemon, lang3Char: Pkds.LanguageAlpha3): Pkds.PokemonText;
11
- declare function translatePokemon(pokemon: Pkds.Pokemon | Pkds.TranslatedPokemon, lang: Pkds.LanguageAlpha3, dexNumPositions?: number): Pkds.TranslatedPokemon;
12
- declare function translatePokemonList(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Array<Pkds.TranslatedPokemon>;
13
- declare function translatePokemonById(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Record<string, Pkds.TranslatedPokemon>;
14
- declare function translatePokemonByNid(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Record<string, Pkds.TranslatedPokemon>;
15
- declare function generatePokemonDescription(pokemon: Pkds.TranslatedPokemon, lang3Char: Pkds.LanguageAlpha3): string;
16
- declare function generatePokemonSearchableText(poke: Pkds.Pokemon): string;
17
- declare function getGameCategoryLabel(game: Pkds.Game): string;
18
- declare function generateGameDescription(game: Pkds.Game, gameCatText: string): string;
19
- declare function resolvePokemonName(meta: Pkds.TranslatedPokemon, nickname?: string, lang3Char?: Pkds.LanguageAlpha3): Pkds.PokemonNameInfo;
10
+ export declare function translatePokemonText(pkm: Pkds.Pokemon, lang3Char: Pkds.LanguageAlpha3): Pkds.PokemonText;
11
+ export declare function translatePokemon(pokemon: Pkds.Pokemon | Pkds.TranslatedPokemon, lang: Pkds.LanguageAlpha3, dexNumPositions?: number): Pkds.TranslatedPokemon;
12
+ export declare function translatePokemonList(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Array<Pkds.TranslatedPokemon>;
13
+ export declare function translatePokemonById(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Record<string, Pkds.TranslatedPokemon>;
14
+ export declare function translatePokemonByNid(pokemonList: Array<Pkds.Pokemon | Pkds.TranslatedPokemon>, lang: Pkds.LanguageAlpha3): Record<string, Pkds.TranslatedPokemon>;
15
+ export declare function generatePokemonDescription(pokemon: Pkds.TranslatedPokemon, lang3Char: Pkds.LanguageAlpha3): string;
16
+ export declare function generatePokemonSearchableText(poke: Pkds.Pokemon): string;
17
+ export declare function getGameCategoryLabel(game: Pkds.Game): string;
18
+ export declare function generateGameDescription(game: Pkds.Game, gameCatText: string): string;
19
+ export declare function resolvePokemonName(meta: Pkds.TranslatedPokemon, nickname?: string, lang3Char?: Pkds.LanguageAlpha3): Pkds.PokemonNameInfo;
20
20
  //#endregion
21
- export { dexNumToGen, dexNumToInt, formatDexNum, generateGameDescription, generatePokemonDescription, generatePokemonSearchableText, getGameCategoryLabel, getPokemonGender, getPossiblePokemonGenders, randomPokemonList, resolvePokemonName, translatePokemon, translatePokemonById, translatePokemonByNid, translatePokemonList, translatePokemonText };
22
21
  //# sourceMappingURL=utils.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.mts","names":[],"sources":["../../src/lib/utils.ts"],"mappings":";iBAIgB,YAAA,CAAa,GAAA,mBAAsB,SAAqB;AAAA,iBAIxD,WAAA,CAAY,GAAoB;AAAA,iBAIhC,WAAA,CAAY,cAA+B;AAAA,iBAc3C,iBAAA,WAA4B,IAAA,CAAK,WAAA,EAC/C,WAAA,EAAa,KAAA,CAAM,CAAA,GACnB,QAAA,WACA,SAAA,aACC,KAAA,CAAM,CAAA;AAAA,iBAgBO,yBAAA,CAA0B,IAAA,EAAM,IAAA,CAAK,OAAA,GAAU,IAAA,CAAK,MAAM;AAAA,iBAmB1D,gBAAA,CACd,WAAA,6BACA,IAAA,EAAM,IAAA,CAAK,OAAA,EACX,OAAA;EAAY,UAAA;AAAA,IACX,IAAA,CAAK,MAAM;AAAA,iBA8BE,oBAAA,CACd,GAAA,EAAK,IAAA,CAAK,OAAA,EACV,SAAA,EAAW,IAAA,CAAK,cAAA,GACf,IAAA,CAAK,WAAA;AAAA,iBAeQ,gBAAA,CACd,OAAA,EAAS,IAAA,CAAK,OAAA,GAAU,IAAA,CAAK,iBAAA,EAC7B,IAAA,EAAM,IAAA,CAAK,cAAA,EACX,eAAA,YACC,IAAA,CAAK,iBAAA;AAAA,iBAoBQ,oBAAA,CACd,WAAA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KAAK,UAAU,KAAK,mBAC7B,MAAM,KAAK,gBACX,2BACC,KAAK;wBAoBQ,qBACd,aAAa,MAAM,KAAK,UAAU,KAAK,oBACvC,MAAM,KAAK,iBACV,MAAM,KAAK;wBAIE,qBACd,aAAa,MAAM,KAAK,UAAU,KAAK,oBACvC,MAAM,KAAK,iBACV,eAAe,KAAK;wBAMP,sBACd,aAAa,MAAM,KAAK,UAAU,KAAK,oBACvC,MAAM,KAAK,iBACV,eAAe,KAAK;wBAMP,2BACd,SAAS,KAAK,mBACd,WAAW,KAAK;wBAmCF,8BAA8B,MAAM,KAAK;wBAsCzC,qBAAqB,MAAM,KAAK;wBAahC,wBAAwB,MAAM,KAAK,MAAM;wBA+BzC,mBACd,MAAM,KAAK,mBACX,mBACA,YAAY,KAAK,iBAChB,KAAK"}
@@ -1 +1 @@
1
- export { };
1
+ export {}
@@ -1 +1 @@
1
- export { };
1
+ export {}
@@ -1,8 +1,8 @@
1
1
  import { n as writeJsonDataFile } from "../fs-B5MIz_Bs.mjs";
2
2
  import { i as appLangs } from "../languages-CY-Q1SED.mjs";
3
3
  //#region src/lib-next/_build.ts
4
- await import("../build-DeFbpXmN.mjs");
5
- await import("../build-GIV09lTc.mjs");
4
+ await import("../build-DvGzwIK8.mjs");
5
+ await import("../build-bE_0_-0H.mjs");
6
6
  writeJsonDataFile("languages.json", appLangs);
7
7
  console.log(`Exported ${appLangs.length} app languages`);
8
8
  //#endregion
@@ -1,39 +1,39 @@
1
1
  //#region src/lib-next/enums.d.ts
2
- declare const gameTypes: readonly ["superset", "set", "game", "dlc"];
3
- type GameType = (typeof gameTypes)[number];
4
- declare const gameSeries: readonly ["main", "spinoff", "storage", "legends"];
5
- type GameSeries = (typeof gameSeries)[number];
6
- declare const gamePlatforms: readonly ["gb", "gbc", "gba", "nds", "3ds", "mobile", "ngc", "wii", "wiiu", "switch", "switch2"];
7
- type GamePlatform = (typeof gamePlatforms)[number];
8
- declare const pokemonTypes: readonly ["normal", "fire", "water", "electric", "grass", "ice", "fighting", "poison", "ground", "flying", "psychic", "bug", "rock", "ghost", "dragon", "dark", "steel", "fairy"];
9
- declare const pokemonTypesInternalOrder: PokemonType[];
10
- type PokemonType = (typeof pokemonTypes)[number];
11
- declare const moveCategories: readonly ["physical", "special", "status"];
12
- type MoveCategory = (typeof moveCategories)[number];
13
- declare const moveClasses: readonly ["punching", "sound_based", "dance", "slicing", "wind", "powder", "ball_bomb", "pulse", "biting", "explosive", "mental", "healing"];
14
- type MoveClass = (typeof moveClasses)[number];
15
- declare const moveTargets: readonly ["single_target", "self", "single_ally", "all_allies", "random_opponent", "all_opponents", "entire_field", "opponents_side", "users_side", "all_pokemon", "varies"];
16
- type MoveTarget = (typeof moveTargets)[number];
17
- declare const statusConditions: readonly ["paralyzed", "frozen", "poisoned", "badly_poisoned", "burned", "asleep"];
18
- type StatusCondition = (typeof statusConditions)[number];
19
- declare const battleStates: string[];
20
- type BattleState = (typeof battleStates)[number];
21
- declare const itemCategories: readonly ["power_boost", "recovery", "defense", "stat_boost", "effect_extend", "berry", "other", "mega_stone"];
22
- type ItemCategory = (typeof itemCategories)[number];
23
- declare const bagCategories: readonly ["ball", "medicine", "battle", "berry", "machine", "mega_stone", "z_crystal", "treasure", "ingredient", "material", "key", "other"];
24
- type BagCategory = (typeof bagCategories)[number];
25
- declare const pokeballCategories: readonly ["regular", "special", "hisuian", "other"];
26
- type PokeballCategory = (typeof pokeballCategories)[number];
27
- declare const ribbonCategories: readonly ["league", "contest", "tower", "memory", "gift"];
28
- type RibbonCategory = (typeof ribbonCategories)[number];
29
- declare const statIds: readonly ["hp", "atk", "def", "spa", "spd", "spe", "acc", "eva"];
30
- type StatId = (typeof statIds)[number];
31
- declare const titleTypes: readonly ["ribbon", "mark", "custom"];
32
- type TitleType = (typeof titleTypes)[number];
33
- declare const pokemonSizes: readonly ["xs", "s", "m", "l", "xl"];
34
- type PokemonSize = (typeof pokemonSizes)[number];
35
- declare const genders: readonly ["m", "f"];
36
- type Gender = (typeof genders)[number];
2
+ export declare const gameTypes: readonly ["superset", "set", "game", "dlc"];
3
+ export type GameType = (typeof gameTypes)[number];
4
+ export declare const gameSeries: readonly ["main", "spinoff", "storage", "legends"];
5
+ export type GameSeries = (typeof gameSeries)[number];
6
+ export declare const gamePlatforms: readonly ["gb", "gbc", "gba", "nds", "3ds", "mobile", "ngc", "wii", "wiiu", "switch", "switch2"];
7
+ export type GamePlatform = (typeof gamePlatforms)[number];
8
+ export declare const pokemonTypes: readonly ["normal", "fire", "water", "electric", "grass", "ice", "fighting", "poison", "ground", "flying", "psychic", "bug", "rock", "ghost", "dragon", "dark", "steel", "fairy"];
9
+ export declare const pokemonTypesInternalOrder: PokemonType[];
10
+ export type PokemonType = (typeof pokemonTypes)[number];
11
+ export declare const moveCategories: readonly ["physical", "special", "status"];
12
+ export type MoveCategory = (typeof moveCategories)[number];
13
+ export declare const moveClasses: readonly ["punching", "sound_based", "dance", "slicing", "wind", "powder", "ball_bomb", "pulse", "biting", "explosive", "mental", "healing"];
14
+ export type MoveClass = (typeof moveClasses)[number];
15
+ export declare const moveTargets: readonly ["single_target", "self", "single_ally", "all_allies", "random_opponent", "all_opponents", "entire_field", "opponents_side", "users_side", "all_pokemon", "varies"];
16
+ export type MoveTarget = (typeof moveTargets)[number];
17
+ export declare const statusConditions: readonly ["paralyzed", "frozen", "poisoned", "badly_poisoned", "burned", "asleep"];
18
+ export type StatusCondition = (typeof statusConditions)[number];
19
+ export declare const battleStates: string[];
20
+ export type BattleState = (typeof battleStates)[number];
21
+ export declare const itemCategories: readonly ["power_boost", "recovery", "defense", "stat_boost", "effect_extend", "berry", "other", "mega_stone"];
22
+ export type ItemCategory = (typeof itemCategories)[number];
23
+ export declare const bagCategories: readonly ["ball", "medicine", "battle", "berry", "machine", "mega_stone", "z_crystal", "treasure", "ingredient", "material", "key", "other"];
24
+ export type BagCategory = (typeof bagCategories)[number];
25
+ export declare const pokeballCategories: readonly ["regular", "special", "hisuian", "other"];
26
+ export type PokeballCategory = (typeof pokeballCategories)[number];
27
+ export declare const ribbonCategories: readonly ["league", "contest", "tower", "memory", "gift"];
28
+ export type RibbonCategory = (typeof ribbonCategories)[number];
29
+ export declare const statIds: readonly ["hp", "atk", "def", "spa", "spd", "spe", "acc", "eva"];
30
+ export type StatId = (typeof statIds)[number];
31
+ export declare const titleTypes: readonly ["ribbon", "mark", "custom"];
32
+ export type TitleType = (typeof titleTypes)[number];
33
+ export declare const pokemonSizes: readonly ["xs", "s", "m", "l", "xl"];
34
+ export type PokemonSize = (typeof pokemonSizes)[number];
35
+ export declare const genders: readonly ["m", "f"];
36
+ export type Gender = (typeof genders)[number];
37
37
  /**
38
38
  * In most core series games:
39
39
  * - IV of 0: "No good" (or "Not So Good" in Let's GO)
@@ -43,12 +43,11 @@ type Gender = (typeof genders)[number];
43
43
  * - IV of 30: "Fantastic"
44
44
  * - IV of 31: "Best"
45
45
  * */
46
- declare const ivJudgeValues: readonly ["nogood", "decent", "good", "verygood", "fantastic", "best"];
47
- type IvJudgeValue = (typeof ivJudgeValues)[number];
48
- declare const battleStyles: readonly ["singles", "doubles", "triples", "rotation", "royale"];
49
- type BattleStyle = (typeof battleStyles)[number];
50
- declare const raidStyles: readonly ["dynamax", "tera"];
51
- type RaidStyle = (typeof raidStyles)[number];
46
+ export declare const ivJudgeValues: readonly ["nogood", "decent", "good", "verygood", "fantastic", "best"];
47
+ export type IvJudgeValue = (typeof ivJudgeValues)[number];
48
+ export declare const battleStyles: readonly ["singles", "doubles", "triples", "rotation", "royale"];
49
+ export type BattleStyle = (typeof battleStyles)[number];
50
+ export declare const raidStyles: readonly ["dynamax", "tera"];
51
+ export type RaidStyle = (typeof raidStyles)[number];
52
52
  //#endregion
53
- export { BagCategory, BattleState, BattleStyle, GamePlatform, GameSeries, GameType, Gender, ItemCategory, IvJudgeValue, MoveCategory, MoveClass, MoveTarget, PokeballCategory, PokemonSize, PokemonType, RaidStyle, RibbonCategory, StatId, StatusCondition, TitleType, bagCategories, battleStates, battleStyles, gamePlatforms, gameSeries, gameTypes, genders, itemCategories, ivJudgeValues, moveCategories, moveClasses, moveTargets, pokeballCategories, pokemonSizes, pokemonTypes, pokemonTypesInternalOrder, raidStyles, ribbonCategories, statIds, statusConditions, titleTypes };
54
53
  //# sourceMappingURL=enums.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.mts","names":[],"sources":["../../src/lib-next/enums.ts"],"mappings":";cAAa,SAAA;AAAA,KACD,QAAA,WAAmB,SAAS;AAAA,cAE3B,UAAA;AAAA,KACD,UAAA,WAAqB,UAAU;AAAA,cAE9B,aAAA;AAAA,KAaD,YAAA,WAAuB,aAAa;AAAA,cAEnC,YAAA;AAAA,cAqBA,yBAAA,EAA2B,WAAW;AAAA,KAoBvC,WAAA,WAAsB,YAAY;AAAA,cAEjC,cAAA;AAAA,KACD,YAAA,WAAuB,cAAc;AAAA,cAEpC,WAAA;AAAA,KAcD,SAAA,WAAoB,WAAW;AAAA,cAE9B,WAAA;AAAA,KAaD,UAAA,WAAqB,WAAW;AAAA,cAE/B,gBAAA;AAAA,KAQD,eAAA,WAA0B,gBAAgB;AAAA,cAEzC,YAAA;AAAA,KAoED,WAAA,WAAsB,YAAY;AAAA,cAEjC,cAAA;AAAA,KAUD,YAAA,WAAuB,cAAc;AAAA,cAEpC,aAAA;AAAA,KAcD,WAAA,WAAsB,aAAa;AAAA,cAElC,kBAAA;AAAA,KACD,gBAAA,WAA2B,kBAAkB;AAAA,cAE5C,gBAAA;AAAA,KACD,cAAA,WAAyB,gBAAgB;AAAA,cAExC,OAAA;AAAA,KACD,MAAA,WAAiB,OAAO;AAAA,cAEvB,UAAA;AAAA,KACD,SAAA,WAAoB,UAAU;AAAA,cAE7B,YAAA;AAAA,KACD,WAAA,WAAsB,YAAY;AAAA,cAEjC,OAAA;AAAA,KACD,MAAA,WAAiB,OAAO;AAtL1B;AAEV;;;;AAAmD;AAoBnD;;;AAtBU,cAiMG,aAAA;AAAA,KACD,YAAA,WAAuB,aAAa;AAAA,cAEnC,YAAA;AAAA,KACD,WAAA,WAAsB,YAAY;AAAA,cAEjC,UAAA;AAAA,KACD,SAAA,WAAoB,UAAU"}
1
+ {"version":3,"file":"enums.d.mts","names":[],"sources":["../../src/lib-next/enums.ts"],"mappings":";qBAAa;YACD,mBAAmB;qBAElB;YACD,qBAAqB;qBAEpB;YAaD,uBAAuB;qBAEtB;qBAqBA,2BAA2B;YAoB5B,sBAAsB;qBAErB;YACD,uBAAuB;qBAEtB;YAcD,oBAAoB;qBAEnB;YAaD,qBAAqB;qBAEpB;YAQD,0BAA0B;qBAEzB;YAoED,sBAAsB;qBAErB;YAUD,uBAAuB;qBAEtB;YAcD,sBAAsB;qBAErB;YACD,2BAA2B;qBAE1B;YACD,yBAAyB;qBAExB;YACD,iBAAiB;qBAEhB;YACD,oBAAoB;qBAEnB;YACD,sBAAsB;qBAErB;YACD,iBAAiB;;;;;;;;;;qBAWhB;YACD,uBAAuB;qBAEtB;YACD,sBAAsB;qBAErB;YACD,oBAAoB"}
@@ -1,7 +1,6 @@
1
1
  //#region src/lib-next/fs.d.ts
2
- declare const DATA_NEXT_ROOT: string;
3
- declare function writeJsonFile(fullPath: string, data: unknown): void;
4
- declare function writeJsonDataFile(relativePath: string, data: unknown): void;
2
+ export declare const DATA_NEXT_ROOT: string;
3
+ export declare function writeJsonFile(fullPath: string, data: unknown): void;
4
+ export declare function writeJsonDataFile(relativePath: string, data: unknown): void;
5
5
  //#endregion
6
- export { DATA_NEXT_ROOT, writeJsonDataFile, writeJsonFile };
7
6
  //# sourceMappingURL=fs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fs.d.mts","names":[],"sources":["../../src/lib-next/fs.ts"],"mappings":";cAGa,cAAA;AAAA,iBAEG,aAAA,CAAc,QAAA,UAAkB,IAAa;AAAA,iBAK7C,iBAAA,CAAkB,YAAA,UAAsB,IAAa"}
1
+ {"version":3,"file":"fs.d.mts","names":[],"sources":["../../src/lib-next/fs.ts"],"mappings":";qBAGa;wBAEG,cAAc,kBAAkB;wBAKhC,kBAAkB,sBAAsB"}
@@ -1,40 +1,39 @@
1
1
  //#region src/lib-next/languages.d.ts
2
- declare const browserLocales: readonly ["en", "es", "es-419", "de", "it", "fr", "ko", "ja", "zh-tw", "zh-cn", "pt-br"];
3
- type BrowserLocale = (typeof browserLocales)[number];
4
- declare const DEFAULT_LOCALE: BrowserLocale;
5
- declare const gameLocales: readonly ["ENG", "ES-ES", "ES-LA", "FRA", "DEU", "ITA", "JPN", "KOR", "CHT", "CHS", "PT-BR"];
6
- type GameLocale = (typeof gameLocales)[number];
7
- declare const DEFAULT_GAME_LOCALE: GameLocale;
8
- declare const langSlugs: readonly ["en", "es", "mx", "de", "it", "fr", "kr", "jp", "tw", "cn", "br"];
9
- type LangSlug = (typeof langSlugs)[number];
10
- declare const DEFAULT_LANG_SLUG: LangSlug;
11
- declare const browserLocaleMap: Record<BrowserLocale, {
2
+ export declare const browserLocales: readonly ["en", "es", "es-419", "de", "it", "fr", "ko", "ja", "zh-tw", "zh-cn", "pt-br"];
3
+ export type BrowserLocale = (typeof browserLocales)[number];
4
+ export declare const DEFAULT_LOCALE: BrowserLocale;
5
+ export declare const gameLocales: readonly ["ENG", "ES-ES", "ES-LA", "FRA", "DEU", "ITA", "JPN", "KOR", "CHT", "CHS", "PT-BR"];
6
+ export type GameLocale = (typeof gameLocales)[number];
7
+ export declare const DEFAULT_GAME_LOCALE: GameLocale;
8
+ export declare const langSlugs: readonly ["en", "es", "mx", "de", "it", "fr", "kr", "jp", "tw", "cn", "br"];
9
+ export type LangSlug = (typeof langSlugs)[number];
10
+ export declare const DEFAULT_LANG_SLUG: LangSlug;
11
+ export declare const browserLocaleMap: Record<BrowserLocale, {
12
12
  slug: LangSlug;
13
13
  gameLocale: GameLocale;
14
14
  }>;
15
- declare const gameLocaleMap: Record<GameLocale, {
15
+ export declare const gameLocaleMap: Record<GameLocale, {
16
16
  slug: LangSlug;
17
17
  browserLocale: BrowserLocale;
18
18
  }>;
19
- declare const langSlugMap: Record<LangSlug, {
19
+ export declare const langSlugMap: Record<LangSlug, {
20
20
  gameLocale: GameLocale;
21
21
  browserLocale: BrowserLocale;
22
22
  }>;
23
- type LangMeta = {
23
+ export type LangMeta = {
24
24
  name: string;
25
25
  engName: string;
26
26
  flag: string;
27
27
  pokeApiId: number;
28
28
  oldCode: string;
29
29
  };
30
- declare const langMeta: Record<LangSlug, LangMeta>;
31
- type LangInfo = LangMeta & {
30
+ export declare const langMeta: Record<LangSlug, LangMeta>;
31
+ export type LangInfo = LangMeta & {
32
32
  slug: LangSlug;
33
33
  locale: BrowserLocale;
34
34
  gameLocale: GameLocale;
35
35
  };
36
- declare const appLangs: LangInfo[];
37
- declare const appLangsBySlug: Record<LangSlug, LangInfo>;
36
+ export declare const appLangs: LangInfo[];
37
+ export declare const appLangsBySlug: Record<LangSlug, LangInfo>;
38
38
  //#endregion
39
- export { BrowserLocale, DEFAULT_GAME_LOCALE, DEFAULT_LANG_SLUG, DEFAULT_LOCALE, GameLocale, LangInfo, LangMeta, LangSlug, appLangs, appLangsBySlug, browserLocaleMap, browserLocales, gameLocaleMap, gameLocales, langMeta, langSlugMap, langSlugs };
40
39
  //# sourceMappingURL=languages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"languages.d.mts","names":[],"sources":["../../src/lib-next/languages.ts"],"mappings":";cACa,cAAA;AAAA,KAaD,aAAA,WAAwB,cAAc;AAAA,cACrC,cAAA,EAAgB,aAAoB;AAAA,cAGpC,WAAA;AAAA,KAaD,UAAA,WAAqB,WAAW;AAAA,cAC/B,mBAAA,EAAqB,UAAkB;AAAA,cAMvC,SAAA;AAAA,KAaD,QAAA,WAAmB,SAAS;AAAA,cAC3B,iBAAA,EAAmB,QAAe;AAAA,cAElC,gBAAA,EAAkB,MAAA,CAAO,aAAA;EAAiB,IAAA,EAAM,QAAA;EAAU,UAAA,EAAY,UAAA;AAAA;AAAA,cAatE,aAAA,EAAe,MAAA,CAAO,UAAA;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