A plugin for running stored constraints
npm i @flatfile/plugin-stored-constraints
The @flatfile/plugin-stored-constraints
plugin enables running stored constraints.
Event Type:
listener.on('commit:created')
npm i @flatfile/plugin-stored-constraints
import type { FlatfileListener } from "@flatfile/listener";
import { storedConstraint } from '@flatfile/plugin-stored-constraints'
export default function (listener: FlatfileListener) {
listener.use(storedConstraint())
}