tuil
ReferencePackages@mwillbanks/tuil-storyAPI

generateStoryCatalogSnapshots

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

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

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<StoryCatalogSnapshots> — Returns a value that satisfies Promise<StoryCatalogSnapshots>.

Related types: StoryCatalogSnapshots

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page