@salesforce/b2c-tooling-sdk / operations/mrt / ListMrtDeploymentsBackendOptions
Interface: ListMrtDeploymentsBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:584
Options for listMrtDeployments.
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:590
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:596
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:598
Pagination offset (forwarded to both backends).
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:602
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:604
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:600
Legacy MRT API origin.
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:586
Resolved --mrt-backend preference.
projectSlug
projectSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:592
Project slug (= SCAPI storefront ID).
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:588
SCAPI connection; when absent, auto uses legacy and scapi throws.
targetSlug
targetSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/deployment.ts:594
Target/environment slug (= SCAPI environment ID).