0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-03-11 13:41:20 -05:00

Add type for search results

This commit is contained in:
dragongoose 2023-04-26 09:30:20 -04:00
parent 55ff3cb804
commit 99aaace55c
No known key found for this signature in database
GPG key ID: 50DB99B921579009

9
types/scraping/Search.ts Normal file
View file

@ -0,0 +1,9 @@
import { StreamData, StreamerData } from "./Streamer"
import { Category } from "./Category"
export interface SearchResult {
channels: StreamerData[]
categories: Category[]
relatedChannels: StreamData[]
channelsWithTag: StreamData[]
}