{"id":19755840,"url":"https://github.com/cap-js/cds-typer","last_synced_at":"2025-04-05T09:07:06.800Z","repository":{"id":180166970,"uuid":"538476855","full_name":"cap-js/cds-typer","owner":"cap-js","description":"CDS type generator for JavaScript","archived":false,"fork":false,"pushed_at":"2025-01-30T13:19:08.000Z","size":1396,"stargazers_count":32,"open_issues_count":15,"forks_count":11,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-01-30T13:45:16.606Z","etag":null,"topics":["cap","cds","javascript","nodejs","plugin","sap-cap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cap-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-19T11:51:20.000Z","updated_at":"2025-01-29T13:34:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce514723-a089-42bd-a403-a6ffebf6b125","html_url":"https://github.com/cap-js/cds-typer","commit_stats":null,"previous_names":["cap-js/cds-typer"],"tags_count":40,"template":false,"template_full_name":"SAP/repository-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fcds-typer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fcds-typer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fcds-typer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fcds-typer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cap-js","download_url":"https://codeload.github.com/cap-js/cds-typer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312078,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cap","cds","javascript","nodejs","plugin","sap-cap"],"created_at":"2024-11-12T03:13:40.076Z","updated_at":"2025-04-05T09:07:06.757Z","avatar_url":"https://github.com/cap-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CDS type generator for JavaScript\n\n[![REUSE status](https://api.reuse.software/badge/github.com/cap-js/cds-typer)](https://api.reuse.software/info/github.com/cap-js/cds-typer)\n![Unit Tests passing](https://github.com/cap-js/cds-typer/actions/workflows/test.yml/badge.svg)\n\n## About this project\n\nGenerates `.ts` files for a CDS model to receive code completion in VS Code.\n\nExhaustive documentation can be found on [CAPire](https://cap.cloud.sap/docs/tools/cds-typer).\n\n## Known Restrictions\n\nCertain language features of CDS can not be represented in TypeScript.\nTrying to generate types for models using these features will therefore result in incorrect or broken TypeScript code.\n\n### Changing Types\n\nWhile the following is valid CDS, there is no TypeScript equivalent that would allow the type of an inherited property to change (TS2416).\n\n```cds\nentity A {\n  foo: Integer\n};\n\nentity B: A {\n  foo: String\n}\n```\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/cds-typer/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).\n\n## Code of Conduct\n\nWe as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/cap-js/.github/blob/main/CODE_OF_CONDUCT.md) at all times.\n\n## Licensing\n\nCopyright 2022-2022 SAP SE or an SAP affiliate company and cds-typer contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/cds-dts-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fcds-typer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap-js%2Fcds-typer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fcds-typer/lists"}