---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / PushOptions

# Interface: PushOptions

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/push.ts:23](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/push.ts#L23)

Options for pushing a bundle to MRT.

## Extends

- [`CreateBundleOptions`](CreateBundleOptions.md)

## Properties

### buildDirectory?

> `optional` **buildDirectory**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:66](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L66)

Path to the build directory containing the application build output.

#### Default

```ts
'build'
```

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`buildDirectory`](CreateBundleOptions.md#builddirectory)

***

### message?

> `optional` **message**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:42](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L42)

Optional message describing the bundle.
Defaults to a git-based message or a timestamp.

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`message`](CreateBundleOptions.md#message)

***

### origin?

> `optional` **origin**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/push.ts:34](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/push.ts#L34)

MRT API origin URL.

#### Default

```ts
"https://cloud.mobify.com"
```

***

### projectSlug

> **projectSlug**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:72](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L72)

Project slug for the MRT project.
Used to prefix files in the archive.

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`projectSlug`](CreateBundleOptions.md#projectslug)

***

### ssrOnly

> **ssrOnly**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:54](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L54)

Glob patterns for files that should only run on the server.

#### Example

```ts
['ssr.js', 'ssr/*.js']
```

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`ssrOnly`](CreateBundleOptions.md#ssronly)

***

### ssrParameters?

> `optional` **ssrParameters**: `Record`\<`string`, `unknown`\>

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:48](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L48)

SSR parameters to include in the bundle.
These are configuration values for the SSR runtime.

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`ssrParameters`](CreateBundleOptions.md#ssrparameters)

***

### ssrShared

> **ssrShared**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts:60](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/bundle.ts#L60)

Glob patterns for files shared between client and server.

#### Example

```ts
['static/**/*', '**/*.js']
```

#### Inherited from

[`CreateBundleOptions`](CreateBundleOptions.md).[`ssrShared`](CreateBundleOptions.md#ssrshared)

***

### target?

> `optional` **target**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/push.ts:28](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/push.ts#L28)

Target environment to deploy to after push.
If not provided, bundle is uploaded but not deployed.
