repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: split WorkerConstants class
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
WorkerBroadcastChannel.ts
diff --git
a/src/types/WorkerBroadcastChannel.ts
b/src/types/WorkerBroadcastChannel.ts
index a7a2e1fadf284527ad33d1fa57b8534fb54ffb66..abc33752cb10616fde5474a4f68c2843675a911c 100644
(file)
--- a/
src/types/WorkerBroadcastChannel.ts
+++ b/
src/types/WorkerBroadcastChannel.ts
@@
-1,9
+1,9
@@
-import type { RequestPayload, ResponsePayload } from './
interna
l';
+import type { RequestPayload, ResponsePayload } from './
UIProtoco
l';
export type BroadcastChannelRequest = [
string,
BroadcastChannelProcedureName,
export type BroadcastChannelRequest = [
string,
BroadcastChannelProcedureName,
- BroadcastChannelRequestPayload
+ BroadcastChannelRequestPayload
,
];
export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload];
];
export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload];
@@
-37,4
+37,6
@@
export interface BroadcastChannelResponsePayload
hashId: string;
}
hashId: string;
}
-export type MessageEvent = { data: BroadcastChannelRequest | BroadcastChannelResponse };
+export interface MessageEvent {
+ data: BroadcastChannelRequest | BroadcastChannelResponse;
+}