Repository navigation
Expand file tree
/
Copy pathsync-config.yaml
More file actions
205 lines (192 loc) · 5.36 KB
/
Copy pathsync-config.yaml
File metadata and controls
205 lines (192 loc) · 5.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
config:
edition: 2
streams:
books:
auto_subscribe: true
query: |
SELECT
book_id AS id,
owner_user_id::text AS owner_user_id,
title,
subtitle,
author,
co_authors::text AS co_authors,
isbn,
isbn13,
publisher,
language,
page_count,
description,
cover_image_url,
file_media_id::text AS file_media_id,
cover_media_id::text AS cover_media_id,
reading_status,
current_page,
current_position,
current_cfi,
is_favorite,
rating,
custom_metadata::text AS custom_metadata,
added_at::text AS added_at,
updated_at::text AS updated_at,
publication_date::text AS publication_date,
file_format,
file_size,
file_hash,
is_physical,
physical_location,
lent_to,
lent_at::text AS lent_at,
series_id,
series_name,
series_number,
started_at::text AS started_at,
completed_at::text AS completed_at,
last_read_at::text AS last_read_at
FROM books
WHERE owner_user_id::text = auth.user_id()
shelves:
auto_subscribe: true
query: |
SELECT
shelf_id AS id,
name,
description,
color_hex,
icon_code_point,
icon_font_family,
icon_font_package,
icon_match_text_direction,
parent_shelf_id::text AS parent_shelf_id,
is_smart,
smart_query,
sort_order,
created_at::text AS created_at,
updated_at::text AS updated_at,
owner_user_id::text AS owner_user_id
FROM shelves
WHERE owner_user_id::text = auth.user_id()
tags:
auto_subscribe: true
query: |
SELECT
tag_id AS id,
name,
color_hex,
description,
created_at::text AS created_at,
updated_at::text AS updated_at,
owner_user_id::text AS owner_user_id
FROM tags
WHERE owner_user_id::text = auth.user_id()
notes:
auto_subscribe: true
query: |
SELECT
note_id AS id,
book_id::text AS book_id,
title,
content,
location::text AS location,
tags::text AS tags,
is_pinned,
created_at::text AS created_at,
updated_at::text AS updated_at,
owner_user_id::text AS owner_user_id
FROM notes
WHERE owner_user_id::text = auth.user_id()
annotations:
auto_subscribe: true
query: |
SELECT
annotation_id AS id,
book_id::text AS book_id,
selected_text,
color,
location::text AS location,
note,
created_at::text AS created_at,
updated_at::text AS updated_at,
owner_user_id::text AS owner_user_id
FROM annotations
WHERE owner_user_id::text = auth.user_id()
bookmarks:
auto_subscribe: true
query: |
SELECT
bookmark_id AS id,
reader_locator::text AS reader_locator,
book_id::text AS book_id,
position,
page_number,
chapter_title,
note,
color_hex,
created_at::text AS created_at,
updated_at::text AS updated_at,
owner_user_id::text AS owner_user_id
FROM bookmarks
WHERE owner_user_id::text = auth.user_id()
book_shelves:
auto_subscribe: true
query: |
SELECT
id,
book_id::text AS book_id,
shelf_id::text AS shelf_id,
added_at::text AS added_at,
sort_order,
owner_user_id::text AS owner_user_id
FROM book_shelves
WHERE owner_user_id::text = auth.user_id()
book_tags:
auto_subscribe: true
query: |
SELECT
id,
book_id::text AS book_id,
tag_id::text AS tag_id,
created_at::text AS created_at,
owner_user_id::text AS owner_user_id
FROM book_tags
WHERE owner_user_id::text = auth.user_id()
demo_items:
auto_subscribe: true
query: |
SELECT
item_id AS id,
owner_user_id::text AS owner_user_id,
title,
notes,
created_at::text AS created_at,
updated_at::text AS updated_at
FROM powersync_demo_items
WHERE owner_user_id::text = auth.user_id()
reading_goals:
auto_subscribe: true
query: |
SELECT id, owner_user_id::text AS owner_user_id, payload::text AS payload,
created_at::text AS created_at, updated_at::text AS updated_at
FROM reading_goals
WHERE owner_user_id::text = auth.user_id()
reading_activities:
auto_subscribe: true
query: |
SELECT id, owner_user_id::text AS owner_user_id, payload::text AS payload,
created_at::text AS created_at, updated_at::text AS updated_at
FROM reading_activities
WHERE owner_user_id::text = auth.user_id()
goal_periods:
auto_subscribe: true
query: |
SELECT id, owner_user_id::text AS owner_user_id, payload::text AS payload,
created_at::text AS created_at, updated_at::text AS updated_at
FROM goal_periods
WHERE owner_user_id::text = auth.user_id()
reading_timers:
auto_subscribe: true
query: |
SELECT id, owner_user_id::text AS owner_user_id, payload::text AS payload,
status, base_version, created_at::text AS created_at, updated_at::text AS updated_at
FROM reading_timers
WHERE owner_user_id::text = auth.user_id()