tuil
ReferencePackages@mwillbanks/tuil-storyAPI

generateStoryCatalogDocumentation

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

export async function generateStoryCatalogDocumentation(
  catalog: TuilStoryCatalog,
  options: {
    readonly themeRegistry?: ThemeRegistry;
    readonly signal?: AbortSignal;
    readonly maxStories?: number;
  } = {},
): Promise<Readonly<Record<string, string>>>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
catalogTuilStoryCatalogYesSupplies the catalog value as TuilStoryCatalog.TuilStoryCatalog
options&#123; readonly themeRegistry?: ThemeRegistry; readonly signal?: AbortSignal; readonly maxStories?: number; &#125;NoSupplies the options value as &#123; readonly themeRegistry?: ThemeRegistry; readonly signal?: AbortSignal; readonly maxStories?: number; &#125;.ThemeRegistry

Returns

Promise<Readonly<Record<string, string>>> — Returns a value that satisfies Promise<Readonly<Record<string, string>>>.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page