smp-serverless-utils
Version:
Utilities for working with GCP Storage, file handling, and PDF/SVG conversions
27 lines (26 loc) • 721 B
TypeScript
interface ExportStoryParams {
title: string;
format: string;
quality: number;
multiplier: number;
artboardId: string;
transparentBackground: boolean;
save_to_asset: boolean;
organization: number | null;
storyId: string;
pageUrl: string;
}
declare const exportStory: ({ title, format, quality, multiplier, organization, storyId, pageUrl, }: ExportStoryParams) => Promise<{
headers: {
"Access-Control-Allow-Headers": string;
"Access-Control-Allow-Origin": string;
"Access-Control-Allow-Methods": string;
};
message: string;
download: {
url: string;
key: string;
fileName: string;
};
}>;
export default exportStory;