1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-13 08:19:17 +00:00

Added openapi Definition (#89)

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2021-10-11 16:10:15 +02:00
committed by GitHub
parent 90a179a6d1
commit 40764a6632
4 changed files with 944 additions and 2 deletions

29
meta/README.md Normal file
View File

@ -0,0 +1,29 @@
# TCGdex META
this folder contains data that allow to build and quickly edit the database
## Codeshift
simple file that contains an easy way to edit multiple entries of the database
run it from the root folder of the project
```bash
npx jscodeshift -t ./meta/codeshift.ts --extensions=ts --parser=ts ./data/Serie/Set --print --dry
```
## Definitions
Contains the differents standards of API/Data definition for the built database
## Translations
Contains the different translations used by the Compiler that allow to build it in multiple languages
it is managed by the `schema.json` file in the same folder
_note: en.json is not here because it is used as base language_
## legals.ts
File containing the current Standard and Expanded filters for the legal field of each cards