aboutsummaryrefslogtreecommitdiff
path: root/src/parseScheduleHtml.ts
diff options
context:
space:
mode:
authorwabilin <[email protected]>2020-08-01 14:50:21 +0900
committerwabilin <[email protected]>2020-08-01 14:50:21 +0900
commitf8aa2021565b876cc0162d11f0aa596ec12fa309 (patch)
tree2c8f6b4034fe2d601a852481f5d4143e77d453eb /src/parseScheduleHtml.ts
parentv0.2.3 (diff)
downloadholo-schedule-f8aa2021565b876cc0162d11f0aa596ec12fa309.tar.xz
holo-schedule-f8aa2021565b876cc0162d11f0aa596ec12fa309.zip
export types
Diffstat (limited to 'src/parseScheduleHtml.ts')
-rw-r--r--src/parseScheduleHtml.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseScheduleHtml.ts b/src/parseScheduleHtml.ts
index d4a44dc..522eaa5 100644
--- a/src/parseScheduleHtml.ts
+++ b/src/parseScheduleHtml.ts
@@ -69,7 +69,7 @@ function parseToLiveBlocks(html: string | Buffer): LiveBlock[] {
return lives
}
-type StreamerImageDict = Record<string, string>
+export type StreamerImageDict = Record<string, string>
type ImageStreamerDict = Record<string, string>
function nextStreamerImageDict(liveBlocks: LiveBlock[], oldDict: StreamerImageDict) {
@@ -90,7 +90,7 @@ function reverseDict(dict: StreamerImageDict): ImageStreamerDict {
return reversed
}
-interface LiveInfo {
+export interface LiveInfo {
time: Date
link: string
streamer: string