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 ;
@@ -149,6 +150,7 @@ export interface Newsroom extends NewsroomRef {
149
150
visits_last_7_days : number | null ;
150
151
visits_last_7_days_previous : number | null ;
151
152
} ;
153
+ active_theme ?: NewroomThemeRef | null ;
152
154
}
153
155
154
156
export namespace Newsroom {
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