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 Favicon struct {
19 Key string `json:"key"`
20 SourceUrl sql.NullString `json:"source_url"`
21 PageUrl sql.NullString `json:"page_url"`
22 Source string `json:"source"`
23 ContentHash string `json:"content_hash"`
24 ContentType sql.NullString `json:"content_type"`
25 UpdatedAt time.Time `json:"updated_at"`
26 LastCheckedAt time.Time `json:"last_checked_at"`
27}
28
29type Favorite struct {
30 ID int64 `json:"id"`
31 Url string `json:"url"`
32 Title sql.NullString `json:"title"`
33 FaviconUrl sql.NullString `json:"favicon_url"`
34 FolderID sql.NullInt64 `json:"folder_id"`
35 ShortcutKey sql.NullInt64 `json:"shortcut_key"`
36 Position int64 `json:"position"`
37 CreatedAt sql.NullTime `json:"created_at"`
38 UpdatedAt sql.NullTime `json:"updated_at"`
39}
40
41type FavoriteFolder struct {
42 ID int64 `json:"id"`
43 Name string `json:"name"`
44 Icon sql.NullString `json:"icon"`
45 ParentID sql.NullInt64 `json:"parent_id"`
46 Position int64 `json:"position"`
47 CreatedAt sql.NullTime `json:"created_at"`
48}
49
50type FavoriteTag struct {
51 ID int64 `json:"id"`
52 Name string `json:"name"`
53 Color string `json:"color"`
54 CreatedAt sql.NullTime `json:"created_at"`
55}
56
57type FavoriteTagAssignment struct {
58 FavoriteID int64 `json:"favorite_id"`
59 TagID int64 `json:"tag_id"`
60}
61
62type History struct {
63 ID int64 `json:"id"`
64 Url string `json:"url"`
65 Title sql.NullString `json:"title"`
66 FaviconUrl sql.NullString `json:"favicon_url"`
67 VisitCount sql.NullInt64 `json:"visit_count"`
68 LastVisited sql.NullTime `json:"last_visited"`
69 CreatedAt sql.NullTime `json:"created_at"`
70 Domain sql.NullString `json:"domain"`
71}
72
73type HistoryFt struct {
74 Url string `json:"url"`
75 Title string `json:"title"`
76}
77
78type Permission struct {
79 Origin string `json:"origin"`
80 PermissionType string `json:"permission_type"`
81 Decision string `json:"decision"`
82 UpdatedAt sql.NullTime `json:"updated_at"`
83}
84
85type Session struct {
86 ID string `json:"id"`
87 Type string `json:"type"`
88 StartedAt time.Time `json:"started_at"`
89 EndedAt sql.NullTime `json:"ended_at"`
90 ProcessID sql.NullInt64 `json:"process_id"`
91}
92
93type SessionState struct {
94 SessionID string `json:"session_id"`
95 StateJson string `json:"state_json"`
96 Version int64 `json:"version"`
97 TabCount int64 `json:"tab_count"`
98 PaneCount int64 `json:"pane_count"`
99 UpdatedAt time.Time `json:"updated_at"`
100}
101
102type ZoomLevel struct {
103 Domain string `json:"domain"`
104 ZoomFactor float64 `json:"zoom_factor"`
105 UpdatedAt sql.NullTime `json:"updated_at"`
106}