koffing 0.5.0 → 2.0.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 (73) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +64 -151
  3. package/dist/data-CP51LAc9.cjs +404 -0
  4. package/dist/data-CRHBhbCJ.js +345 -0
  5. package/dist/index.cjs +441 -0
  6. package/dist/index.d.cts +29 -0
  7. package/dist/index.d.ts +29 -0
  8. package/dist/index.js +433 -0
  9. package/dist/types-BVzP_Ko4.d.cts +62 -0
  10. package/dist/types-BVzP_Ko4.d.ts +62 -0
  11. package/dist/validator.cjs +3563 -0
  12. package/dist/validator.d.cts +14 -0
  13. package/dist/validator.d.ts +14 -0
  14. package/dist/validator.js +3562 -0
  15. package/package.json +46 -41
  16. package/Makefile +0 -21
  17. package/build/asset-manifest.json +0 -22
  18. package/build/favicon.png +0 -0
  19. package/build/index.html +0 -1
  20. package/build/precache-manifest.5382b78dea2866c8a94cee003da35d84.js +0 -26
  21. package/build/robots.txt +0 -3
  22. package/build/service-worker.js +0 -39
  23. package/build/static/css/main.102b9840.chunk.css +0 -2
  24. package/build/static/css/main.102b9840.chunk.css.map +0 -1
  25. package/build/static/js/2.4b3dd85a.chunk.js +0 -3
  26. package/build/static/js/2.4b3dd85a.chunk.js.LICENSE.txt +0 -67
  27. package/build/static/js/2.4b3dd85a.chunk.js.map +0 -1
  28. package/build/static/js/main.07f66bec.chunk.js +0 -2
  29. package/build/static/js/main.07f66bec.chunk.js.map +0 -1
  30. package/build/static/js/runtime-main.525bb0ff.js +0 -2
  31. package/build/static/js/runtime-main.525bb0ff.js.map +0 -1
  32. package/public/favicon.png +0 -0
  33. package/public/index.html +0 -30
  34. package/public/robots.txt +0 -3
  35. package/src/App.test.js +0 -9
  36. package/src/components/App.js +0 -18
  37. package/src/components/AppFooter/AppFooter.css.js +0 -12
  38. package/src/components/AppFooter/AppFooter.js +0 -31
  39. package/src/components/AppFooter/index.js +0 -3
  40. package/src/components/AppHeader/AppHeader.css.js +0 -21
  41. package/src/components/AppHeader/AppHeader.js +0 -34
  42. package/src/components/AppHeader/index.js +0 -3
  43. package/src/components/Board/Board.css.js +0 -21
  44. package/src/components/Board/Board.js +0 -110
  45. package/src/components/Board/index.js +0 -3
  46. package/src/components/BoardInput/BoardInput.css.js +0 -14
  47. package/src/components/BoardInput/BoardInput.js +0 -36
  48. package/src/components/BoardInput/index.js +0 -3
  49. package/src/components/BoardOutput/BoardOutput.css.js +0 -17
  50. package/src/components/BoardOutput/BoardOutput.js +0 -36
  51. package/src/components/BoardOutput/index.js +0 -3
  52. package/src/components/Code/Code.css.js +0 -10
  53. package/src/components/Code/Code.js +0 -28
  54. package/src/components/Code/index.js +0 -3
  55. package/src/components/StyledComponent.js +0 -24
  56. package/src/components/ThemedApp.js +0 -25
  57. package/src/core/Koffing.js +0 -71
  58. package/src/core/Pokemon.js +0 -181
  59. package/src/core/PokemonTeam.js +0 -78
  60. package/src/core/PokemonTeamSet.js +0 -52
  61. package/src/core/ShowdownParser.js +0 -280
  62. package/src/core/index.js +0 -7
  63. package/src/img/koffing-shiny.png +0 -0
  64. package/src/img/koffing.png +0 -0
  65. package/src/index.css +0 -42
  66. package/src/index.js +0 -17
  67. package/src/serviceWorker.js +0 -141
  68. package/src/setupTests.js +0 -5
  69. package/src/teams/example.koffing.js +0 -25
  70. package/src/tools/base64.js +0 -25
  71. package/src/tools/history.js +0 -17
  72. package/src/tools/index.js +0 -4
  73. package/src/variables.json +0 -5
@@ -0,0 +1,14 @@
1
+ import { r as Options, t as Diagnostic } from "./types-BVzP_Ko4.cjs";
2
+ //#region src/validator.d.ts
3
+ export interface ValidationResult {
4
+ /** Passing these checks does not establish game or format legality. */
5
+ valid: boolean;
6
+ diagnostics: Diagnostic[];
7
+ }
8
+ /**
9
+ * Opt-in identifier and traditional team sanity checks on any parseJSON input shape.
10
+ * Does not mutate input or infer missing values. Shape failures stop at the first error.
11
+ * Resource-limit violations always throw; strict mode throws on any diagnostic.
12
+ */
13
+ export declare function validate(input: unknown, options?: Options): ValidationResult;
14
+ //#endregion
@@ -0,0 +1,14 @@
1
+ import { r as Options, t as Diagnostic } from "./types-BVzP_Ko4.js";
2
+ //#region src/validator.d.ts
3
+ export interface ValidationResult {
4
+ /** Passing these checks does not establish game or format legality. */
5
+ valid: boolean;
6
+ diagnostics: Diagnostic[];
7
+ }
8
+ /**
9
+ * Opt-in identifier and traditional team sanity checks on any parseJSON input shape.
10
+ * Does not mutate input or infer missing values. Shape failures stop at the first error.
11
+ * Resource-limit violations always throw; strict mode throws on any diagnostic.
12
+ */
13
+ export declare function validate(input: unknown, options?: Options): ValidationResult;
14
+ //#endregion