1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Generate Prefs type

This commit is contained in:
Zed
2019-08-17 21:49:41 +02:00
parent d05f4fd3ee
commit 16f77223ff
4 changed files with 116 additions and 101 deletions

View File

@@ -1,5 +1,6 @@
import times, sequtils, options
import norm/sqlite
import prefs_impl
export sqlite, options
@@ -49,14 +50,7 @@ db("cache.db", "", "", ""):
formatIt: dbValue($it)
.}: VideoType
Prefs* = object
videoPlayback*: bool
autoplayGifs*: bool
hideTweetStats*: bool
hideBanner*: bool
stickyProfile*: bool
replaceYouTube*: string
replaceTwitter*: string
genPrefsType()
type
QueryKind* = enum