Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / clients / DualBackendCtors

Interface: DualBackendCtors<T>

Defined in: packages/b2c-tooling-sdk/src/clients/dual-backend-factory.ts:54

Constructors needed to build a dual-backend instance. Each domain plugs in its own SCAPI/OCAPI backend classes; the factory wires them together.

Type Parameters

T

T extends BackendBase

Properties

domainName

domainName: string

Defined in: packages/b2c-tooling-sdk/src/clients/dual-backend-factory.ts:55


Ocapi()

Ocapi: (instance) => T

Defined in: packages/b2c-tooling-sdk/src/clients/dual-backend-factory.ts:57

Parameters

instance

B2CInstance

Returns

T


Scapi()

Scapi: (config) => T

Defined in: packages/b2c-tooling-sdk/src/clients/dual-backend-factory.ts:56

Parameters

config

ScapiBackendCtorConfig

Returns

T

Released under the Apache-2.0 License.