@salesforce/b2c-tooling-sdk / operations/mrt / ListMrtDeploymentsBackendOptions
Interface: ListMrtDeploymentsBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:597
Options for listMrtDeployments.
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:603
Legacy API-key auth strategy. Optional; required only when the legacy backend actually runs.
limit?
optionallimit:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:609
Maximum results per page (forwarded to both backends; SCAPI caps at 200).
offset?
optionaloffset:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:611
Pagination offset (forwarded to both backends).
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:615
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/deployment.ts:617
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/deployment.ts:613
Legacy MRT API origin.
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:599
Resolved --mrt-backend preference.
projectSlug
projectSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:605
Project slug (= SCAPI storefront ID).
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:601
SCAPI connection; when absent, auto uses legacy and scapi throws.
targetSlug
targetSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:607
Target/environment slug (= SCAPI environment ID).