Skip to content

Commit 4a3b33c

Browse files
committed
Dedupe & clean up popup -> content script communication code
1 parent 78e9f41 commit 4a3b33c

File tree

2 files changed

+136
-233
lines changed

2 files changed

+136
-233
lines changed

src/messageTypes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ interface GetVideoIdResponse {
8383
videoID: string;
8484
}
8585

86-
interface GetChannelIDResponse {
86+
export interface GetChannelIDResponse {
8787
channelID: string;
8888
}
8989

90-
interface SponsorStartResponse {
90+
export interface SponsorStartResponse {
9191
creatingSegment: boolean;
9292
}
9393

94-
interface IsChannelWhitelistedResponse {
94+
export interface IsChannelWhitelistedResponse {
9595
value: boolean;
9696
}
9797

@@ -111,7 +111,7 @@ export interface VoteResponse {
111111
responseText: string;
112112
}
113113

114-
export interface ImportSegmentsResponse {
114+
interface ImportSegmentsResponse {
115115
importedSegments: SponsorTime[];
116116
}
117117

0 commit comments

Comments
 (0)