https://github.com/hrkings/pokeapi-schema-typescript
https://github.com/hrkings/pokeapi-schema-typescript
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hrkings/pokeapi-schema-typescript
- Owner: HRKings
- Created: 2021-10-21T15:19:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-15T06:42:25.000Z (over 3 years ago)
- Last Synced: 2024-12-27T13:23:16.014Z (5 months ago)
- Language: TypeScript
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PokeAPI TypeScript from JSON Schemas
This repository contains a basic generator that converts the JSON schemas found in https://github.com/PokeAPI/api-data/tree/master/data/schema/v2 to TypeScript interfaces. While more updated than the generator made from the docs (see [here](https://github.com/mudkipme/pokeapi-v2-typescript)), it does not provide descriptions to the fields in the interfaces.
# TODO
- [x] Include the `pokedex-promise-v2` methods in the `types/index.d.ts`
- [ ] Make the generator pick the schemas from the repository