@salesforce/b2c-tooling-sdk / operations/mrt / ProjectBackendOptions
Interface: ProjectBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:791
Common backend-routing options shared by the backend-aware project operations.
Extended by
ListProjectsBackendOptionsCreateProjectBackendOptionsGetProjectBackendOptionsUpdateProjectBackendOptionsDeleteProjectBackendOptions
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:797
Legacy API-key auth strategy. Optional; required only when the legacy backend actually runs.
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:801
Invoked when auto falls back from SCAPI to legacy.
Parameters
reason
string
Returns
void
onResolve()?
optionalonResolve: (backend) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:803
Invoked with the backend that serves the call (for -D debug).
Parameters
backend
Returns
void
origin?
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:799
Legacy MRT API origin.
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:793
Resolved --mrt-backend preference.
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:795
SCAPI connection; when absent, auto uses legacy and scapi throws.