models.go RawHistoryFolder
1// Code generated by sqlc. DO NOT EDIT.
2// versions:
3// sqlc v1.30.0
4
5package sqlc
6
7import (
8 "database/sql"
9 "time"
10)
11
12type ContentWhitelist struct {
13 ID int64 `json:"id"`
14 Domain string `json:"domain"`
15 CreatedAt sql.NullTime `json:"created_at"`
16}
17
18type Favorite struct {
19 ID int64 `json:"id"`
20 Url string `json:"url"`
21 Title sql.NullString `json:"title"`
22 FaviconUrl sql.NullString `json:"favicon_url"`
23 FolderID sql.NullInt64 `json:"folder_id"`
24 ShortcutKey sql.NullInt64 `json:"shortcut_key"`
25 Position int64 `json:"position"`
26 CreatedAt sql.NullTime `json:"created_at"`
27 UpdatedAt sql.NullTime `json:"updated_at"`
28}
29
30type FavoriteFolder struct {
31 ID int64 `json:"id"`
32 Name string `json:"name"`
33 Icon sql.NullString `json:"icon"`
34 ParentID sql.NullInt64 `json:"parent_id"`
35 Position int64 `json:"position"`
36 CreatedAt sql.NullTime `json:"created_at"`
37}
38
39type FavoriteTag struct {
40 ID int64 `json:"id"`
41 Name string `json:"name"`
42 Color string `json:"color"`
43 CreatedAt sql.NullTime `json:"created_at"`
44}
45
46type FavoriteTagAssignment struct {
47 FavoriteID int64 `json:"favorite_id"`
48 TagID int64 `json:"tag_id"`
49}
50
51type History struct {
52 ID int64 `json:"id"`
53 Url string `json:"url"`
54 Title sql.NullString `json:"title"`
55 FaviconUrl sql.NullString `json:"favicon_url"`
56 VisitCount sql.NullInt64 `json:"visit_count"`
57 LastVisited sql.NullTime `json:"last_visited"`
58 CreatedAt sql.NullTime `json:"created_at"`
59}
60
61type HistoryFt struct {
62 Url string `json:"url"`
63 Title string `json:"title"`
64}
65
66type Session struct {
67 ID string `json:"id"`
68 Type string `json:"type"`
69 StartedAt time.Time `json:"started_at"`
70 EndedAt sql.NullTime `json:"ended_at"`
71}
72
73type SessionState struct {
74 SessionID string `json:"session_id"`
75 StateJson string `json:"state_json"`
76 Version int64 `json:"version"`
77 TabCount int64 `json:"tab_count"`
78 PaneCount int64 `json:"pane_count"`
79 UpdatedAt time.Time `json:"updated_at"`
80}
81
82type ZoomLevel struct {
83 Domain string `json:"domain"`
84 ZoomFactor float64 `json:"zoom_factor"`
85 UpdatedAt sql.NullTime `json:"updated_at"`
86}