@salesforce/b2c-tooling-sdk / operations/mrt / PushOptions
Interface: PushOptions ​
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/push.ts:23
Options for pushing a bundle to MRT.
Extends ​
Properties ​
buildDirectory? ​
optionalbuildDirectory:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:66
Path to the build directory containing the application build output.
Default ​
'build'Inherited from ​
CreateBundleOptions.buildDirectory
message? ​
optionalmessage:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:42
Optional message describing the bundle. Defaults to a git-based message or a timestamp.
Inherited from ​
origin? ​
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/push.ts:34
MRT API origin URL.
Default ​
"https://cloud.mobify.com"projectSlug ​
projectSlug:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:72
Project slug for the MRT project. Used to prefix files in the archive.
Inherited from ​
CreateBundleOptions.projectSlug
ssrOnly ​
ssrOnly:
string[]
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:54
Glob patterns for files that should only run on the server.
Example ​
['ssr.js', 'ssr/*.js']Inherited from ​
ssrParameters? ​
optionalssrParameters:Record<string,unknown>
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:48
SSR parameters to include in the bundle. These are configuration values for the SSR runtime.
Inherited from ​
CreateBundleOptions.ssrParameters
ssrShared ​
ssrShared:
string[]
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:60
Glob patterns for files shared between client and server.
Example ​
['static/**/*', '**/*.js']Inherited from ​
target? ​
optionaltarget:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/push.ts:28
Target environment to deploy to after push. If not provided, bundle is uploaded but not deployed.