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.1 KB
Raw Blame
// SPDX-License-Identifier: LicenseRef-Carbon-Commercial
// Carbon Enterprise file, licensed only under the Carbon Commercial License
// (packages/ee/LICENSE). Not AGPL. Running, modifying, or copying it beyond those terms requires a commercial license.

/**
 * Ramp's syncer registry.
 *
 * Importing this module is what makes Ramp's syncers resolvable — the same
 * module-scope registration every accounting provider's barrel does, now that
 * `SyncFactory` is keyed on `SyncProviderID` rather than `ProviderID`.
 */

import { SpendProviderID } from "../../accounting/core/models";
import { type SyncerRegistry, SyncFactory } from "../../accounting/core/sync";
import { RampBillSyncer } from "./bill";
import { RampPurchaseOrderSyncer } from "./purchase-order";

export const rampSyncerRegistry: SyncerRegistry = {
  purchaseOrder: RampPurchaseOrderSyncer,
  bill: RampBillSyncer
};

SyncFactory.register(SpendProviderID.RAMP, rampSyncerRegistry);

export type { RampBillRemote } from "./bill";
export type { RampPurchaseOrderRemote } from "./purchase-order";
export { RampBillSyncer, RampPurchaseOrderSyncer };