返回 AiToEarn
pinterest.types.ts
根目录 / project / aitoearn-web / src / api / platforms / pinterest.types.ts
1 // Source: types/pinterest.ts
2
3 /**
4 * PinterestBoardPrivacy 类型。
5 */
6 export type PinterestBoardPrivacy = 'PUBLIC' | 'PROTECTED' | 'SECRET'
7
8 /**
9 * PinterestBoardCreateParams 请求参数。
10 */
11 export interface PinterestBoardCreateParams {
12 name: string
13 description?: string
14 privacy?: PinterestBoardPrivacy
15 }
16
17 /**
18 * PinterestBoardItem 数据结构。
19 */
20 export interface PinterestBoardItem {
21 id: string
22 name: string
23 description?: string
24 }
25
25 lines TYPESCRIPT