mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Undo broken type gen, verify type at compile time
This commit is contained in:
@@ -50,7 +50,14 @@ db("cache.db", "", "", ""):
|
||||
formatIt: dbValue($it)
|
||||
.}: VideoType
|
||||
|
||||
genPrefsType()
|
||||
Prefs* = object
|
||||
videoPlayback*: bool
|
||||
autoplayGifs*: bool
|
||||
hideTweetStats*: bool
|
||||
hideBanner*: bool
|
||||
stickyProfile*: bool
|
||||
replaceYouTube*: string
|
||||
replaceTwitter*: string
|
||||
|
||||
type
|
||||
QueryKind* = enum
|
||||
|
||||
Reference in New Issue
Block a user