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 Domain sql.NullString `json:"domain"`
60}
61
62type HistoryFt struct {
63 Url string `json:"url"`
64 Title string `json:"title"`
65}
66
67type Permission struct {
68 Origin string `json:"origin"`
69 PermissionType string `json:"permission_type"`
70 Decision string `json:"decision"`
71 UpdatedAt sql.NullTime `json:"updated_at"`
72}
73
74type Session struct {
75 ID string `json:"id"`
76 Type string `json:"type"`
77 StartedAt time.Time `json:"started_at"`
78 EndedAt sql.NullTime `json:"ended_at"`
79}
80
81type SessionState struct {
82 SessionID string `json:"session_id"`
83 StateJson string `json:"state_json"`
84 Version int64 `json:"version"`
85 TabCount int64 `json:"tab_count"`
86 PaneCount int64 `json:"pane_count"`
87 UpdatedAt time.Time `json:"updated_at"`
88}
89
90type ZoomLevel struct {
91 Domain string `json:"domain"`
92 ZoomFactor float64 `json:"zoom_factor"`
93 UpdatedAt sql.NullTime `json:"updated_at"`
94}