tuil
ReferencePackages@mwillbanks/tuil-storyAPI

StaticStoryRequest

interface exported by @mwillbanks/tuil-story.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-story.

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

Members

MemberTypeRequiredDescriptionRelated types
storyIdstringYesThe storyId member uses the string contract.
variantstringYesThe variant member uses the string contract.
argsReadonly<Record<string, unknown>> | undefinedNoThe args member uses the Readonly<Record<string, unknown>> | undefined contract.
controlsPartial<TerminalStoryControls> | undefinedNoThe controls member uses the Partial<TerminalStoryControls> | undefined contract.TerminalStoryControls

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page