1
0
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:
Zed
2019-08-18 01:26:38 +02:00
parent 16f77223ff
commit 520bafc617
3 changed files with 21 additions and 18 deletions

View File

@@ -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