@salesforce/b2c-tooling-sdk / operations/mrt / ListProjectsBackendOptions
Interface: ListProjectsBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:843
Options for listProjectsWithBackend.
Extends
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.
Inherited from
ProjectBackendOptions.legacyAuth
limit?
optionallimit:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:847
Maximum number of results to return (forwarded to both backends).
offset?
optionaloffset:number
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:849
Pagination offset (forwarded to both backends).
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
Inherited from
ProjectBackendOptions.onFallback
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
Inherited from
ProjectBackendOptions.onResolve
organization?
optionalorganization:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:845
Filter by organization slug (legacy only; SCAPI is scoped to the connection's tenant).
origin?
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:799
Legacy MRT API origin.
Inherited from
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:793
Resolved --mrt-backend preference.
Inherited from
ProjectBackendOptions.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.