Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@sanity/data-aspects
Advanced tools
Sanity plugin which controls how your data is presented
Sanity plugin which controls how your data is presented.
We'll re-design how control of data presentation is handed over to a sanity studio maintainer. Hang on for snake tornado.
Ensure you have data-aspects as a plugin in you Sanity installation. Either:
The config file config/@sanity/data-aspects.json
lets you control how your data is listed , e.g.:
{
"typeOptions": {
"article": {
"displayName": "Article",
"itemDisplayField": "name"
},
"siteConfig": {
"displayName": "Site configuration",
"itemDisplayField": "title"
}
}
}
Refer to https://github.com/sanity-io/desk-tool/blob/current/src/SchemaPaneResolver.js for an example on how the DataAspectsResolver can be used.
MIT-licensed.
FAQs
Sanity plugin which controls how your data is presented
The npm package @sanity/data-aspects receives a total of 8,377 weekly downloads. As such, @sanity/data-aspects popularity was classified as popular.
We found that @sanity/data-aspects demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 35 open source maintainers 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.