📦 lencx / GPTHub

📄 gpthub.d.ts · 23 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23declare namespace GPTHub {
  export interface GPTInfo {
    id: string;
    name: string;
    logo?: string | null;
    author?: string | null;
    description?: string | null;
    updated_at?: string | null;
    tags?: string[] | null;
    prompt_starters?: string[] | null;
    welcome_message?: string | null;
    // 1: DALL•E
    // 2: Browsing
    // 3: Data Analysis
    tools?: (number | null)[] | null;
  }

  export interface SVGWrapProps extends React.SVGProps<SVGSVGElement> {
    children?: React.ReactNode;
    size?: number | string;
    onClick?: (e: React.MouseEvent) => void;
  }
}