File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
packages/rest-api-client/src/client/types/app Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,6 @@ type Theme =
11
11
| "YELLOW"
12
12
| "BLACK" ;
13
13
14
- type TitleField =
15
- | {
16
- selectionMode : "AUTO" ;
17
- }
18
- | {
19
- selectionMode : "MANUAL" ;
20
- code : string ;
21
- } ;
22
-
23
14
export type GetAppSettingsForRequest = {
24
15
app : AppID ;
25
16
lang ?: AppLang ;
@@ -41,7 +32,10 @@ export type GetAppSettingsForResponse = {
41
32
}
42
33
| { type : "PRESET" ; key : string } ;
43
34
theme : Theme ;
44
- titleField : TitleField ;
35
+ titleField : {
36
+ selectionMode : "AUTO" | "MANUAL" ;
37
+ code : string ;
38
+ } ;
45
39
enableThumbnails : boolean ;
46
40
enableBulkDeletion : boolean ;
47
41
enableComments : boolean ;
@@ -68,7 +62,9 @@ export type UpdateAppSettingsForRequest = {
68
62
}
69
63
| { type : "PRESET" ; key : string } ;
70
64
theme ?: Theme ;
71
- titleField ?: TitleField ;
65
+ titleField ?:
66
+ | { selectionMode : "AUTO" }
67
+ | { selectionMode : "MANUAL" ; code : string } ;
72
68
enableThumbnails ?: boolean ;
73
69
enableBulkDeletion ?: boolean ;
74
70
enableComments ?: boolean ;
You can’t perform that action at this time.
0 commit comments