rm NODE_OPTIONS;
Adds topicNames prop Adds collapsible row for topics Refactor getNotificationSettings for readability Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
This commit is contained in:
@@ -129,16 +129,31 @@ export type NotificationProcessorFilters = {
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type NotificationSettings = {
|
||||
channels: {
|
||||
id: string;
|
||||
origins: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
topics?: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
}[];
|
||||
}[];
|
||||
}[];
|
||||
export type TopicSetting = {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type OriginSetting = {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
topics?: TopicSetting[];
|
||||
};
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type ChannelSetting = {
|
||||
id: string;
|
||||
origins: OriginSetting[];
|
||||
};
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type NotificationSettings = {
|
||||
channels: ChannelSetting[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user