mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
[PS-1093] Move Organization Api Calls (#3243)
* Move organization api calls into seperate service * Remove unneeded unknown * Address PR feedback
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
export interface MessageBase {
|
||||
command: string;
|
||||
}
|
||||
|
||||
export abstract class BroadcasterService {
|
||||
send: (message: any, id?: string) => void;
|
||||
subscribe: (id: string, messageCallback: (message: any) => any) => void;
|
||||
send: (message: MessageBase, id?: string) => void;
|
||||
subscribe: (id: string, messageCallback: (message: MessageBase) => void) => void;
|
||||
unsubscribe: (id: string) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user