Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Types

Index

Type aliases

AuthorisationCache: { expirationDate: Date; refreshToken: string; token: string } | undefined
CredentialsBody: { email: string; password: string }

Type declaration

  • email: string
  • password: string
SavedTask: { created_at: string; deleted_at: string | null; id: number; image_url: string; is_public: boolean; name: string; prompt: string; prompt_visible: boolean; result: { final: string }; task_id: string; tradingcard_url: string | null; updated_at: string; user_id: string }

Type declaration

  • created_at: string
  • deleted_at: string | null
  • id: number
  • image_url: string
  • is_public: boolean
  • name: string
  • prompt: string
  • prompt_visible: boolean
  • result: { final: string }
    • final: string
  • task_id: string
  • tradingcard_url: string | null
  • updated_at: string
  • user_id: string
Style: { created_at: string; deleted_at: string | null; id: number; is_visible: boolean; name: string; photo_url: string; updated_at: string }

Type declaration

  • created_at: string
  • deleted_at: string | null
  • id: number
  • is_visible: boolean
  • name: string
  • photo_url: string
  • updated_at: string
Task: { created_at: string; generated_photo_keys: string[]; id: string; input_spec: TaskInputSpec | null; photo_url_list: string[]; premium: boolean; result: { final: string } | null; state: "input" | "pending" | "generating" | "completed" | "failed"; updated_at: string; user_id: string }

Type declaration

  • created_at: string
  • generated_photo_keys: string[]
  • id: string
  • input_spec: TaskInputSpec | null
  • photo_url_list: string[]
  • premium: boolean
  • result: { final: string } | null
  • state: "input" | "pending" | "generating" | "completed" | "failed"
  • updated_at: string
  • user_id: string
TaskImageInputSpec: { mediastore_id: string; weight: "LOW" | "MEDIUM" | "HIGH" }

Type declaration

  • mediastore_id: string
  • weight: "LOW" | "MEDIUM" | "HIGH"
TaskInputSpec: { display_freq?: number; input_image?: TaskImageInputSpec; prompt: string; style: number }

Type declaration

  • Optional display_freq?: number
  • Optional input_image?: TaskImageInputSpec
  • prompt: string
  • style: number
UploadResource: { created_at: string; expiry_at: string; id: string; media_url: string }

Type declaration

  • created_at: string
  • expiry_at: string
  • id: string
  • media_url: string

Generated using TypeDoc