![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@contentful/dam-app-base
Advanced tools
Library to build an app to integrate your Digital Asset Management (DAM) system of choice with Contentful
@contentful/dam-app-base
is a library that helps you to quickly build an app to integrate your DAM (Digital Asset Management) system of choice with Contentful. Many DAM integrations are very similar, therefore this library provides the boilerplate for your app and you only need to add the code for your specific service.
This library creates an app that can be used in the entry field location to select assets from your DAM service. The library also provides a configuration screen for easy customization.
import { setup } from '@contentful/dam-app-base';
setup({
cta: 'Select assets',
name: 'My DAM App',
logo: 'https://example.com/logo.svg',
color: '#d7f0fa',
description: 'My example DAM App',
parameterDefinitions: [
{
"id": "folder",
"type": "Symbol",
"name": "Folder",
"description": "Preselected folder when selecting assets.",
"required": true
}
],
validateParameters: () => null,
makeThumbnail: asset => asset.thumbnailUrl,
renderDialog: async (sdk) => {
const config = sdk.parameters.invocation;
const container = document.createElement('div');
container.innerHTML = `<iframe src="https://example.com/dam?folder=${config.folder}" />`;
document.body.appendChild(container);
},
openDialog: async (sdk, currentValue, config) => {
return await sdk.dialogs.openCurrentApp({
parameters: { config, currentValue },
});
},
isDisabled: () => false
});
These Contentful apps use @contentful/dam-app-base
. Look at their source code to learn how they utilize this library:
FAQs
Library to build an app to integrate your Digital Asset Management (DAM) system of choice with Contentful
The npm package @contentful/dam-app-base receives a total of 59 weekly downloads. As such, @contentful/dam-app-base popularity was classified as not popular.
We found that @contentful/dam-app-base demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.