
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@plone/types
Advanced tools
Plone unified TypeScript typings.
This package contains .d.ts
typing definitions, curated by hand.
Due to the nature of this package, it does not need bundling.
It's published "as is", so you can import the type definitions from anywhere in your code.
The files are organized in the following way:
In a project, you often need to extend the default definitions with your own, for example, when dealing with custom content types or creating new blocks.
You can use TypeScript for extending the types like this:
// We extend the block types with our custom ones
declare module '@plone/types' {
export interface BlocksConfigData {
myCustomBlock: BlockConfigBase;
}
}
You can use this package from Volto 17 onwards. In Volto 17, you should declare it as dependency. In Volto 18 and later, it is included by default.
FAQs
Plone's Types Package
The npm package @plone/types receives a total of 234 weekly downloads. As such, @plone/types popularity was classified as not popular.
We found that @plone/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.