New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apostrophe-schemas

Package Overview
Dependencies
Maintainers
9
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-schemas - npm Package Compare versions

Comparing version 0.5.10 to 0.5.11

2

package.json
{
"version": "0.5.10",
"version": "0.5.11",
"name": "apostrophe-schemas",

@@ -4,0 +4,0 @@ "description": "Schemas for easy editing of properties in Apostrophe objects",

@@ -146,25 +146,30 @@ # apostrophe-schemas

You may group fields together into tabs instead using the `groupFields` option. Here's how we do it in the `apostrophe-blog` module:
You may group fields together into tabs instead using the `groupFields` option. Here's how you would do it if you wanted to override our tab choices for the blog:
```javascript
options.groupFields = options.groupFields ||
// We don't list the title field so it stays on top
[
{
name: 'content',
label: 'Content',
icon: 'content',
fields: [
'thumbnail', 'body'
]
},
{
name: 'details',
label: 'Details',
icon: 'metadata',
fields: [
'slug', 'published', 'publicationDate', 'publicationTime', 'tags'
]
}
];
modules: {
'apostrophe-blog': {
groupFields: [
// We don't list the title field so it stays on top
[
{
name: 'content',
label: 'Content',
icon: 'content',
fields: [
'thumbnail', 'body'
]
},
{
name: 'details',
label: 'Details',
icon: 'metadata',
fields: [
'slug', 'published', 'publicationDate', 'publicationTime', 'tags'
]
}
];
]
}
}
```

@@ -171,0 +176,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc