File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
import type { UploadedImage } from '@prezly/uploads' ;
2
2
3
3
import type { CultureRef } from './Culture' ;
4
+ import type { NewroomThemeRef } from './NewsroomTheme' ;
4
5
5
6
export interface NewsroomRef {
6
7
uuid : string ;
@@ -71,6 +72,7 @@ export interface NewsroomRef {
71
72
privacy_settings : string ;
72
73
widget_settings : string ;
73
74
} ;
75
+ active_theme ?: NewroomThemeRef | null ;
74
76
}
75
77
76
78
export interface Newsroom extends NewsroomRef {
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ export interface NewsroomTheme {
16
16
status : NewsroomTheme . Status ;
17
17
}
18
18
19
+ export type NewroomThemeRef = Pick < NewsroomTheme , 'id' | 'codename' | 'name' > ;
20
+
19
21
export namespace NewsroomTheme {
20
22
export enum Status {
21
23
BETA = 'beta' ,
You can’t perform that action at this time.
0 commit comments