![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/app-action-utils
Advanced tools
This repo is a growing collection of utils for interacting with App Actions
npm install --save @contentful/app-action-utils
# or
yarn add @contentful/app-action-utils
Right now it only supports calling the app action and retrieving the result. This consist of:
When passing the plain client generated from contentful-management
, it has to have org
, space
and environment
set as defaults. If not you can pass in the spaceId
and environmentId
to each of the methods.
To call an app action and get the result callAppAction
can be used like this
import { createClient } from 'contentful-management'
const api = createClient({
accessToken: '<token>'
}, {
type: 'plain'
})
const parameters: AppActionCategoryParams<'<appActionCategory>'> = {} // The parameters the app action expects, when the generic is correct it will be fully typed
const abortController = new AbortController()
const additionalParameters = {
spaceId: '<spaceId>',
environmentId: '<environmentId>'
}
const appActionResult = await callAppAction({
api,
appActionId: '<appActionId>',
appDefinitionId: '<appDefinitionId>',
parameters,
})
const appActionResult = await callAppActionResult({
api,
appActionId: '<appActionId>',
callId: '<callId>',
spaceId: '<spaceId>',
environmentId: '<environmentId>'
})
FAQs
Utilities for intearcting with Hosted App Actions
The npm package @contentful/app-action-utils receives a total of 21,183 weekly downloads. As such, @contentful/app-action-utils popularity was classified as popular.
We found that @contentful/app-action-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.