Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

1.2 KB
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

/** The two options providers integration actions name, and the input every one of
 * them depends on.
 *
 * These strings are the whole contract between the committed catalog and the app's
 * options registry (`apps/erp/app/modules/workflows/workflows.service.ts`).
 * The builder never reads them — it forwards whatever `provider` an input names —
 * so adding a provider for Carbon's own data touches the registry and nothing here.
 */

/** Which of the company's connections the step acts as. Declared in `@carbon/workflows`
 * because the builder reads it too — it must know whether an app is connected before it
 * can offer any of that app's steps. */
export { INTEGRATION_CONNECTION_INPUT as CONNECTION_INPUT } from "@carbon/ee/workflows";

/** Lists the company's connections for one piece. */
export const CONNECTION_PROVIDER = "integration.connection";

/** Runs one piece property's own `options()` against a chosen connection. */
export const PROPERTY_PROVIDER = "integration.property";