//#region processors/factory.ts
const processorFactory = async (module) => {
	const factories = [];
	if (module.processorApp === "connect") await addConnectProcessorFactories(factories, module);
	if (module.processorApp === "switchboard") await addSwitchboardProcessorFactories(factories, module);
	return async (driveHeader) => {
		const processors = [];
		for (const factory of factories) {
			const factoryProcessors = await factory(driveHeader, module.processorApp);
			processors.push(...factoryProcessors);
		}
		return processors;
	};
};
async function addConnectProcessorFactories(factories, module) {
	for (const factory of []) factories.push(factory);
}
async function addSwitchboardProcessorFactories(factories, module) {
	const { vetraCloudEnvironmentProcessorFactory } = await import("../factory-DwANTrKL.js");
	const switchboardProcessorFactories = [vetraCloudEnvironmentProcessorFactory(module)];
	for (const factory of switchboardProcessorFactories) factories.push(factory);
}
//#endregion
export { processorFactory };

//# sourceMappingURL=index.js.map