We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42864f9 + 33e6a49 commit afa7573Copy full SHA for afa7573
1 file changed
src/types/Newsroom.ts
@@ -81,6 +81,7 @@ export interface NewsroomRef {
81
82
export interface Newsroom extends NewsroomRef {
83
is_hub: boolean;
84
+ hub: { parent: Newsroom.HubPeer; siblings: Newsroom.HubPeer[] } | null;
85
// extended details
86
cultures: CultureRef[];
87
campaigns_number: number;
@@ -140,6 +141,10 @@ export interface Newsroom extends NewsroomRef {
140
141
}
142
143
export namespace Newsroom {
144
+ export interface HubPeer extends NewsroomRef {
145
+ cultures: (CultureRef & { is_default: boolean })[];
146
+ }
147
+
148
export enum Status {
149
ACTIVE = 'active', // i.e. "Live"
150
INACTIVE = 'inactive', // i.e. "Not live"
0 commit comments