mirror of
https://github.com/placeholder-soft/storytime.git
synced 2026-01-12 15:24:45 +08:00
13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
export type CloudFunctionsType = {
|
|
generateImage(
|
|
prompt: string
|
|
): Promise<{ image_url: string; revised_prompt: string }>;
|
|
getStory(id: string): Promise<{ id: string; story: string }>;
|
|
|
|
gaslessMint(
|
|
to: string,
|
|
title: string,
|
|
imageUrl: string
|
|
): Promise<{ objectId: string }>;
|
|
};
|