@salesforce/b2c-tooling-sdk / operations/mrt / ListEnvironmentsBackendOptions
Interface: ListEnvironmentsBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1509
Options for listEnvironmentsWithBackend.
Extends
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1450
Legacy API-key auth strategy. Optional; required only when the legacy backend actually runs.
Inherited from
limit?
optionallimit:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1511
Maximum number of results to return (SCAPI only; legacy lists all).
offset?
optionaloffset:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1513
Pagination offset (SCAPI only; legacy lists all).
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1456
Invoked when auto falls back from SCAPI to legacy.
Parameters
reason
string
Returns
void
Inherited from
onResolve()?
optionalonResolve: (backend) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1458
Invoked with the backend that serves the call (for -D debug).
Parameters
backend
Returns
void
Inherited from
origin?
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1454
Legacy MRT API origin.
Inherited from
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1446
Resolved --mrt-backend preference.
Inherited from
projectSlug
projectSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1452
Project slug (= SCAPI storefront ID).
Inherited from
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/env.ts:1448
SCAPI connection; when absent, auto uses legacy and scapi throws.