Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
ember-cli-uncharted-describe-models
Advanced tools
Generating ember-data schema from a backend definition. Meant to be used with the ember-schema gem.
==============================================================================
Please note, this is mainly used internally at the moment. We are making certain decisions based on our needs. If you would like to use this in your application then open an issue with your use case.
Generating ember-data schema from a backend definition. Meant to be used with the ember-schema gem.
ember install ember-cli-uncharted-describe-models
Users: If you are using this library I'd love to hear from you. This project is used "internally" for several projects and the direction is currently driven by those. We'd be happy to see others using it as well.
There are two main pieces to this library.
For the first part it is assumed that you generate a model for every backend model. However it's not necessary to define each field. What you need before any of this is a schema.json
. It can be generated via the command line.
ember update-models --proxy http://localhost:5000
This assumes you have exposed /api/models/describe
through the ember-schema gem. It will write out app/schema.json
.
Once you have that you can generate a model which will automatically pull field level and associations from the schema.
ember generate model User
See the Contributing guide for details.
This project is licensed under the MIT License.
FAQs
Generating ember-data schema from a backend definition. Meant to be used with the ember-schema gem.
The npm package ember-cli-uncharted-describe-models receives a total of 4 weekly downloads. As such, ember-cli-uncharted-describe-models popularity was classified as not popular.
We found that ember-cli-uncharted-describe-models demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.