-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAddEditorTool.dto.ts
More file actions
46 lines (38 loc) · 951 Bytes
/
AddEditorTool.dto.ts
File metadata and controls
46 lines (38 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import type { MultipartFields, MultipartFile, MultipartValue } from '@fastify/multipart';
/**
* Represents the data transfer object for adding an editor tool.
*/
export interface AddEditorToolDto extends MultipartFields {
/**
* The name of the editor tool.
*/
name: MultipartValue<string>;
/**
* The title of the editor tool.
*/
title: MultipartValue<string>;
/**
* The export name of the editor tool.
*/
exportName: MultipartValue<string>;
/**
* The description of the editor tool.
*/
description: MultipartValue<string>;
/**
* The source code CDN link of the editor tool.
*/
source: MultipartValue<string>;
/**
* Indicates if the editor tool is the default tool.
*/
isDefault?: MultipartValue<boolean>;
/**
* The cover image of the editor tool.
*/
cover?: MultipartFile;
/**
* The user ID associated with the editor tool.
*/
userId: MultipartValue<number>;
}