# StaticStoryRequest

Source: /tuil/docs/reference/packages/story/api/static-story-request
Locale: en

interface exported by @mwillbanks/tuil-story.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-story`.

```ts
export interface StaticStoryRequest {
  readonly storyId: string;
  readonly variant: string;
  readonly args?: Readonly<Record<string, unknown>>;
  readonly controls?: Partial<TerminalStoryControls>;
}
```

## Members [#members]

| Member     | Type                                             | Required | Description                                                                            | Related types                                                                         |
| ---------- | ------------------------------------------------ | -------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `storyId`  | `string`                                         | Yes      | The `storyId` member uses the `string` contract.                                       | —                                                                                     |
| `variant`  | `string`                                         | Yes      | The `variant` member uses the `string` contract.                                       | —                                                                                     |
| `args`     | `Readonly<Record<string, unknown>> \| undefined` | No       | The `args` member uses the `Readonly<Record<string, unknown>> \| undefined` contract.  | —                                                                                     |
| `controls` | `Partial<TerminalStoryControls> \| undefined`    | No       | The `controls` member uses the `Partial<TerminalStoryControls> \| undefined` contract. | [`TerminalStoryControls`](/tuil/docs/reference/packages/story/api/terminal-story-controls) |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`TerminalStoryControls`](/tuil/docs/reference/packages/story/api/terminal-story-controls)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/story/src/static.ts)

## Package [#package]

[@mwillbanks/tuil-story](/tuil/docs/reference/packages/story)
