UNPKG

@azure-utils/storybooks

Version:

Utils to upload and manage Storybooks via Azure Functions and storage.

26 lines (25 loc) 1.16 kB
/** * URL builder for the Storybooks router. * @private */ export declare const urlBuilder: { root: (...pathnames: string[]) => string; staticFile: (filepath: string) => string; allProjects: () => string; projectCreate: () => string; projectId: (projectId: string) => string; projectIdEdit: (projectId: string) => string; allBuilds: (projectId: string) => string; buildSHA: (projectId: string, sha: string, labelSlug?: string) => string; buildUpload: (projectId: string) => string; allLabels: (projectId: string) => string; labelCreate: (projectId: string) => string; labelSlug: (projectId: string, labelSlug: string) => string; labelSlugEdit: (projectId: string, labelSlug: string) => string; labelSlugLatest: (projectId: string, labelSlug: string) => string; storybookIndexHtml: (projectId: string, sha: string) => string; storybookTestReport: (projectId: string, sha: string) => string; storybookCoverage: (projectId: string, sha: string) => string; storybookZip: (projectId: string, sha: string) => string; gitHub: (gitHubRepo: string, ...pathnames: string[]) => string; };