wip; need to fix a test; and write more
Signed-off-by: Billy Stalnaker <bstalnaker@roadie.com>
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
```ts
|
||||
import { Config } from '@backstage/config';
|
||||
|
||||
// @public (undocumented)
|
||||
export type ChannelSetting = {
|
||||
id: string;
|
||||
origins: OriginSetting[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const getProcessorFiltersFromConfig: (
|
||||
config: Config,
|
||||
@@ -63,17 +69,7 @@ export type NotificationReadSignal = {
|
||||
|
||||
// @public (undocumented)
|
||||
export type NotificationSettings = {
|
||||
channels: {
|
||||
id: string;
|
||||
origins: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
topics?: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
}[];
|
||||
}[];
|
||||
}[];
|
||||
channels: ChannelSetting[];
|
||||
};
|
||||
|
||||
// @public
|
||||
@@ -90,4 +86,17 @@ export type NotificationStatus = {
|
||||
unread: number;
|
||||
read: number;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type OriginSetting = {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
topics?: TopicSetting[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type TopicSetting = {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user