@startinblox/custom-esa
v2.0.0
Published
Custom ESA component from startinblox
Downloads
3
Keywords
Readme
Custom ESA
Package with custom components for ESA.
Paired with solid-communities
and djangoldp-esa
.
Usage
Orbit:
{
"npm": [
{
"package": "@startinblox/custom-esa",
"version": "1.0"
}
],
"components": [
{
"type": "communities",
"parameters": {
"addresses": "federation://community-addresses/",
"dataSrc": "federation://communities/",
"noRender": "",
"uploads": "server://upload/",
"display-extra-fields": "esa_profile",
"display-label-esa_profile": "role, spaces", // Role is hidden for ESA BIC NOORDWIJK and Northern Germany. Spaces is hidden for TIA.
"display-widget-esa_profile": "customesa-display-widget"
},
"route": "communities",
"experimental": ["routing"]
}
]
}
html:
<solid-communities
data-src="https://server/communities/"
addresses="https://server/community-addresses/"
uploads="https://server/upload/"
display-extra-fields="esa_profile"
display-label-esa_profile="role, spaces"
display-widget-esa_profile="customesa-display-widget"
></solid-communities>
Where:
- customesa-display-widget is a magic widget to display an esa_profile
- display-label-esa_profile is the list of field to ignore, separated by a comma
Developpers
Installation:
npm install
Build with:
npm run build
Watch files & rebuild on change with this command:
npm run watch