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:
Billy Stalnaker
2025-03-24 15:02:54 -04:00
parent 5676296812
commit 8637567d53
5 changed files with 182 additions and 102 deletions
+27 -12
View File
@@ -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[];
};