1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-22 19:02:10 +00:00
Florian Bouillon 762ce389c1
feat: Add status Dashboard (#187)
* feat: Add status Dashboard

Still need some polishing like using the compiler instead of the live DB

Signed-off-by: Avior <github@avior.me>

* refactor: Simplified compiler files generators

Signed-off-by: Avior <florian.bouillon@delta-wings.net>

* chore: Add step to compiler for stats and optimize

Signed-off-by: Avior <github@avior.me>

* refactor: Remove unused variable

Signed-off-by: Avior <github@avior.me>
2021-11-23 16:12:50 +01:00
..
2021-11-17 15:09:13 +01:00
2021-10-11 15:18:10 +02:00

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 with jscodeshift added using npm i jscodeshift

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

  • openapi.yaml: Open API definition
  • graphql.gql: GraphQL definitions
  • api.d.ts: API definition for the SDKs

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