3 Commits

Author SHA1 Message Date
Aniket Katkar
8348e7e3a9
Chore: Add github action to generate and commit types based on schema changes (#21796)
* Add github action to generate and commit types based on schema changes

* Update generated TypeScript types

* add condition to avoid the `Create PR comment about auto-update` when triggered manually

* update description in schema field

* Fix the workflow error regarding commit step

* Update generated TypeScript types

* revert the description changes in the schema

* update description

* Update generated TypeScript types

* update the workflow paths to trigger for change in generated folder as well
remove the pre-commit code for schema changes since it won't be necessary now

* Add concurrency cancellation to the workflow

* revert schema change

* Update generated TypeScript types

* Update generated TypeScript types

* Update the workflow to remove unnecessary step `Switch to branch (if manual trigger)` and improve the PR comment step to only comment in case of any commits made to the PR

* only run workflow for ready-for-review PRs

* fix yml

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-30 12:22:40 +05:30
Aniket Katkar
6f6f6af108
Improve: The default filters values passed in service connection JSON schemas. (#20580)
* Fix how the default filters values for service connections are passed in JSON schemas

* Fix the type generation script and types
2025-04-04 17:12:07 +05:30
Aniket Katkar
69df8cdde5
Chore: Fix type generation script (#20151)
* Udpate the json1ts script

* Update the new types

* fix the json, update types and type generation script

* revert the changes in the existing script and add new script for type generation for all schemas

* Add script for generating TypeScript types from JSON schemas
2025-04-01 15:37:16 +05:30