@flatfile/plugin-space-configure
The @flatfile/plugin-space-configure plugin streamlines the setup of a new Flatfile Space.
Event Type:
Event Type:
listener.on('space:configure')Parameters
SetupFactory
required
The
setup parameter holds the configuration settings for the new Space.function
The
callback parameter receives three arguments: event, workbookIds, and
a tick function. The tick function can be used to update the Job’s
progress. The callback function is invoked once the Space and Workbooks are
fully configured.API Calls
api.spaces.updateapi.workbooks.create
Imported NPM Packages
Usage
The @flatfile/plugin-space-configure plugin simplifies the setup of new Flatfile Spaces. Designed for server-side listeners, it auto-configures the Space using the supplied settings.install
import
Full Example
contactsSheet.ts
companiesSheet.ts
listener.ts