Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@alfresco/aca-settings
Advanced tools
The application settings can be accessed via the /settings
route.
You can project custom configuration groups via the settings
section:
{
"settings": [
{
"id": "extensions.ps.settings",
"name": "Extensions: Process Services",
"parameters": [
{
"name": "Enable Process Services Extensions",
"key": "processServices",
"type": "boolean",
"value": false
}
]
}
]
}
At runtime, you are going to get an extra group called "Extensions: Process Services" with a custom boolean setting "Enable Process Services Extensions".
Each setting parameter object supports the following properties:
Property | Description |
---|---|
id | (optional) Unique identifier |
name | Public name, can be translation key |
key | The key to use when saving to the storage |
type | The type of the value (boolean / string) |
value | (optional) Default value to use for the setting |
Import the module into the application:
// src/app/extensions.module.ts
import { AcaSettingsModule } from '@alfresco/aca-settings';
@NgModule({
imports: [
// other modules
AcaSettingsModule
]
})
export class AppExtensionsModule {}
Update the app.extensions.json
extension configuration to enable extra routes and components:
{
"actions": [
{
"id": "app.actions.settings",
"type": "NAVIGATE_URL",
"payload": "/settings"
}
],
"routes": [
{
"id": "app.settings",
"path": "settings",
"layout": "blank",
"component": "app.settings.component"
}
],
"features": {
"header": [
{
"id": "app.header.more",
"children": [
{
"id": "app.header.settings",
"order": 110,
"title": "APP.SETTINGS.TITLE",
"description": "APP.SETTINGS.TITLE",
"icon": "info",
"actions": {
"click": "app.actions.settings"
}
}
]
}
]
}
}
Alternatively, you can use the assets/settings.plugin.json
file.
Compile and distribute/run the application.
FAQs
--- Title: Settings ---
The npm package @alfresco/aca-settings receives a total of 5 weekly downloads. As such, @alfresco/aca-settings popularity was classified as not popular.
We found that @alfresco/aca-settings 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.