Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/temp-schema-generator
dependabot[bot] a97a42dae1 Bump ansi-regex from 3.0.0 to 3.0.1 in /temp-schema-generator
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-23 11:29:17 +00:00
..
2022-07-27 13:47:04 +02:00
2022-05-18 12:32:50 +02:00
2022-05-25 14:33:22 +02:00
2022-05-18 11:46:07 +02:00
2022-07-27 13:47:04 +02:00

What is this?

This folder contains the schema generator which resides here temporarily until Umbraco provides a proper way to generate schemas in its own repository.

How do I use it?

  1. Run npm install in this folder.
  2. Update any schema through api.ts and then run npm run generate to simulate a new schema.
  3. You then need to go to the main folder and run npm run generate:api to generate the API fetchers and interfaces.
    1. This is the only thing that will remain in the final version.

We are using the excellent tool @airtasker/spot to decorate the schema methods. You can read more about it here.