---
title: TextPart
description: "One part of a `Text`: `{ text }`, literal text, or `{ secret }`, the name of an Effect secret."
---

# `TextPart`

Type, in `@jr2/orchestrator/src/effector-wire.ts`. The signature of an export, or a type that it names, names this type. The [Authoring surface](../authoring-surface.md) page lists each export. This type is not an export of `@jr2/orchestrator`, so a workflow module does not import it by name.

```ts
type TextPart = z.infer<typeof TextPartShape>;
```

One part of a [`Text`](type-text.md): `{ text }`, literal text, or `{ secret }`, the name of an Effect
secret. The `text` template makes the parts.

**Forms**: it is one of these objects.

- Form 1: `text`

  - `text`: `string`
- Form 2: `secret`

  - `secret`: `string`
