@hoover-institution/hubspot-lib
Version:
A toolkit for deep integration with HubSpot's Marketing Events API with a plugin-based architecture.
14 lines (12 loc) • 372 B
TypeScript
// types/definePlugins.d.ts
/**
* Defines a plugin map like { PLUGIN_NAME: "PLUGIN_NAME" }.
* Can optionally load all plugin files from the filesystem.
*/
export function definePlugins(
names?: string[],
options?: {
/** If true, load all plugin filenames from the pluginDir defined in package.json */
useDirectory?: boolean;
}
): Record<string, string>;