This commit is contained in:
41
types.ts
Normal file
41
types.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
|
||||
export type ProductType = "Wall Art" | "Bookmark" | "Sticker" | "Planner" | "Phone Wallpaper" | "Social Media Kit" | "Label";
|
||||
|
||||
export type CreativityLevel = "Literal" | "Balanced" | "Artistic" | "Avant-Garde" | "Conservative" | "Wild";
|
||||
|
||||
export interface ProductPackage {
|
||||
imagePrompt: string;
|
||||
seoTitle: string;
|
||||
keywords: string[];
|
||||
description: string;
|
||||
suggestedPrice?: string;
|
||||
printingGuide: string;
|
||||
}
|
||||
|
||||
export type AspectRatio = "1:1" | "3:4" | "4:3" | "9:16" | "16:9" | "4:5" | "5:4" | "2:3" | "3:2" | "5:7" | "21:9" | "32:9" | "2.35:1" | "9:21";
|
||||
|
||||
export type ImageSize = "SD" | "HD" | "4K" | "1K" | "2K";
|
||||
|
||||
export interface ProductionAsset {
|
||||
ratio: string;
|
||||
label: string;
|
||||
description: string;
|
||||
prompt?: string;
|
||||
quality?: 'DRAFT' | 'MASTER' | 'UPSCALED';
|
||||
meta?: string;
|
||||
createdAt: string;
|
||||
url: string | null;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
email: string;
|
||||
role: 'USER' | 'ADMIN';
|
||||
apiKey?: string;
|
||||
skuSettings?: string; // JSON String
|
||||
plan?: string;
|
||||
credits?: number;
|
||||
etsyShopName?: string;
|
||||
etsyShopLink?: string;
|
||||
etsyShopLogo?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user