@dinoxx/dinox-cli 1.1.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -3
- package/dist/cli.js +4 -0
- package/dist/commands/auth/index.js +1 -2
- package/dist/commands/boxes/index.js +37 -13
- package/dist/commands/boxes/operations.d.ts +3 -3
- package/dist/commands/boxes/operations.js +51 -28
- package/dist/commands/info/index.js +30 -5
- package/dist/commands/meta/repo.js +2 -1
- package/dist/commands/notes/actions.js +20 -37
- package/dist/commands/notes/bulk.d.ts +2 -2
- package/dist/commands/notes/bulk.js +3 -18
- package/dist/commands/notes/contentPatch.d.ts +5 -1
- package/dist/commands/notes/contentPatch.js +12 -1
- package/dist/commands/notes/contentPatchCommand.d.ts +3 -0
- package/dist/commands/notes/contentPatchCommand.js +29 -8
- package/dist/commands/notes/descriptors.js +19 -16
- package/dist/commands/notes/export.js +3 -0
- package/dist/commands/notes/repo/read.d.ts +8 -0
- package/dist/commands/notes/repo/read.js +321 -0
- package/dist/commands/notes/repo/resolve.d.ts +8 -0
- package/dist/commands/notes/repo/resolve.js +187 -0
- package/dist/commands/notes/repo/search.d.ts +42 -0
- package/dist/commands/notes/repo/search.js +513 -0
- package/dist/commands/notes/repo/shared.d.ts +190 -0
- package/dist/commands/notes/repo/shared.js +102 -0
- package/dist/commands/notes/repo/write.d.ts +24 -0
- package/dist/commands/notes/repo/write.js +251 -0
- package/dist/commands/notes/repo.d.ts +7 -177
- package/dist/commands/notes/repo.js +7 -1310
- package/dist/commands/notes/searchOutput.d.ts +2 -1
- package/dist/commands/notes/searchOutput.js +2 -1
- package/dist/commands/notes/searchSql.js +9 -3
- package/dist/commands/prompt/index.d.ts +1 -0
- package/dist/commands/prompt/index.js +26 -11
- package/dist/commands/savedViews/index.d.ts +7 -0
- package/dist/commands/savedViews/index.js +458 -0
- package/dist/commands/savedViews/model.d.ts +87 -0
- package/dist/commands/savedViews/model.js +306 -0
- package/dist/commands/savedViews/repo.d.ts +123 -0
- package/dist/commands/savedViews/repo.js +512 -0
- package/dist/commands/savedViews/semantics.d.ts +46 -0
- package/dist/commands/savedViews/semantics.js +738 -0
- package/dist/commands/schema/commandMetadata.js +4 -4
- package/dist/commands/schema/index.d.ts +1 -0
- package/dist/commands/schema/index.js +23 -2
- package/dist/commands/schema/renderSkills.d.ts +6 -0
- package/dist/commands/schema/renderSkills.js +109 -11
- package/dist/commands/schema/spec.js +4 -0
- package/dist/commands/skills/index.d.ts +80 -0
- package/dist/commands/skills/index.js +572 -0
- package/dist/commands/storage/index.js +2 -2
- package/dist/commands/storage/repo/configs.d.ts +30 -0
- package/dist/commands/storage/repo/configs.js +259 -0
- package/dist/commands/storage/repo/operations.d.ts +25 -0
- package/dist/commands/storage/repo/operations.js +337 -0
- package/dist/commands/storage/repo/remote.d.ts +32 -0
- package/dist/commands/storage/repo/remote.js +132 -0
- package/dist/commands/storage/repo/resources.d.ts +12 -0
- package/dist/commands/storage/repo/resources.js +134 -0
- package/dist/commands/storage/repo/shared.d.ts +181 -0
- package/dist/commands/storage/repo/shared.js +36 -0
- package/dist/commands/storage/repo/targets.d.ts +12 -0
- package/dist/commands/storage/repo/targets.js +178 -0
- package/dist/commands/storage/repo.d.ts +3 -166
- package/dist/commands/storage/repo.js +4 -1034
- package/dist/commands/sync.js +2 -1
- package/dist/commands/tags/index.js +30 -11
- package/dist/commands/tags/operations.d.ts +3 -3
- package/dist/commands/tags/operations.js +45 -20
- package/dist/commands/templates/model.d.ts +50 -0
- package/dist/commands/templates/model.js +239 -0
- package/dist/commands/todo/index.js +3 -3
- package/dist/commands/update.d.ts +1 -0
- package/dist/commands/update.js +46 -9
- package/dist/commands/writeConfirmation.d.ts +13 -0
- package/dist/commands/writeConfirmation.js +54 -0
- package/dist/config/resolve.js +5 -10
- package/dist/config/types.d.ts +3 -6
- package/dist/constants/links.d.ts +18 -1
- package/dist/constants/links.js +26 -1
- package/dist/contract/snapshot.d.ts +30 -0
- package/dist/contract/snapshot.js +114 -0
- package/dist/daemon/client.d.ts +2 -2
- package/dist/daemon/client.js +108 -54
- package/dist/daemon/index.d.ts +5 -3
- package/dist/daemon/index.js +28 -5
- package/dist/daemon/lifecycle.d.ts +7 -2
- package/dist/daemon/lifecycle.js +53 -13
- package/dist/daemon/pid.d.ts +1 -1
- package/dist/daemon/pid.js +6 -3
- package/dist/dinox.js +9 -1
- package/dist/powersync/exclusiveRuntime.d.ts +1 -0
- package/dist/powersync/exclusiveRuntime.js +26 -8
- package/dist/powersync/runtime.d.ts +3 -2
- package/dist/powersync/runtime.js +19 -3
- package/dist/powersync/schema/content.d.ts +1 -78
- package/dist/powersync/schema/content.js +1 -78
- package/dist/powersync/schema/electronCanonical.d.ts +1561 -0
- package/dist/powersync/schema/electronCanonical.js +1154 -0
- package/dist/powersync/schema/index.d.ts +573 -129
- package/dist/powersync/schema/index.js +3 -32
- package/dist/powersync/schema/local.d.ts +1 -56
- package/dist/powersync/schema/local.js +1 -60
- package/dist/powersync/schema/note.d.ts +1 -35
- package/dist/powersync/schema/note.js +1 -35
- package/dist/powersync/schema/notesExtras.d.ts +1 -62
- package/dist/powersync/schema/notesExtras.js +1 -71
- package/dist/powersync/schema/projects.d.ts +1 -104
- package/dist/powersync/schema/projects.js +1 -104
- package/dist/powersync/schema/savedViews.d.ts +1 -0
- package/dist/powersync/schema/savedViews.js +1 -0
- package/dist/powersync/schema/storage.d.ts +1 -24
- package/dist/powersync/schema/storage.js +1 -24
- package/dist/powersync/schema/tags.d.ts +1 -37
- package/dist/powersync/schema/tags.js +1 -37
- package/dist/powersync/syncGate.d.ts +20 -2
- package/dist/powersync/uploader.d.ts +16 -2
- package/dist/powersync/uploader.js +152 -158
- package/dist/skills/check.d.ts +1 -0
- package/dist/skills/check.js +538 -70
- package/dist/skills/commandRefs.d.ts +21 -0
- package/dist/skills/commandRefs.js +132 -0
- package/dist/skills/generate.d.ts +13 -0
- package/dist/skills/generate.js +80 -0
- package/dist/skills/registry.d.ts +13 -0
- package/dist/skills/registry.js +58 -0
- package/dist/skills/retired.d.ts +60 -0
- package/dist/skills/retired.js +58 -0
- package/dist/utils/deadline.d.ts +8 -0
- package/dist/utils/deadline.js +31 -0
- package/dist/utils/dryRun.d.ts +20 -1
- package/dist/utils/dryRun.js +22 -3
- package/dist/utils/errorCodes.d.ts +311 -0
- package/dist/utils/errorCodes.js +92 -0
- package/dist/utils/errors.d.ts +15 -2
- package/dist/utils/errors.js +13 -0
- package/dist/utils/processExit.d.ts +1 -0
- package/dist/utils/processExit.js +33 -0
- package/dist/utils/updateNotice.d.ts +1 -0
- package/dist/utils/updateNotice.js +1 -1
- package/package.json +18 -8
|
@@ -1,36 +1,17 @@
|
|
|
1
1
|
import { Schema } from '@powersync/common';
|
|
2
2
|
export declare const AppSchema: Schema<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
8
|
-
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
3
|
+
note_local_index_meta: import("@powersync/common").Table<{
|
|
4
|
+
source_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
5
|
+
indexed_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
6
|
+
note_updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
9
7
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
10
|
-
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
11
|
-
}>;
|
|
12
|
-
app_local_store: import("@powersync/common").Table<{
|
|
13
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
14
|
-
namespace: import("@powersync/common").BaseColumnType<string | null>;
|
|
15
|
-
key: import("@powersync/common").BaseColumnType<string | null>;
|
|
16
|
-
value: import("@powersync/common").BaseColumnType<string | null>;
|
|
17
|
-
value_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
18
|
-
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
19
|
-
metadata: import("@powersync/common").BaseColumnType<string | null>;
|
|
20
|
-
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
21
8
|
}>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
c_value: import("@powersync/common").BaseColumnType<string | null>;
|
|
26
|
-
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
9
|
+
note_local_index_state: import("@powersync/common").Table<{
|
|
10
|
+
cursor_updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
11
|
+
cursor_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
27
12
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
28
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
29
|
-
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
30
|
-
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
31
13
|
}>;
|
|
32
14
|
c_note: import("@powersync/common").Table<{
|
|
33
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
34
15
|
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
35
16
|
audios: import("@powersync/common").BaseColumnType<string | null>;
|
|
36
17
|
images: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -45,7 +26,9 @@ export declare const AppSchema: Schema<{
|
|
|
45
26
|
note_ids: import("@powersync/common").BaseColumnType<string | null>;
|
|
46
27
|
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
47
28
|
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
29
|
+
properties: import("@powersync/common").BaseColumnType<string | null>;
|
|
48
30
|
user_no: import("@powersync/common").BaseColumnType<string | null>;
|
|
31
|
+
is_pub: import("@powersync/common").BaseColumnType<number | null>;
|
|
49
32
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
50
33
|
content_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
51
34
|
content_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -54,9 +37,9 @@ export declare const AppSchema: Schema<{
|
|
|
54
37
|
zettel_boxes: import("@powersync/common").BaseColumnType<string | null>;
|
|
55
38
|
status: import("@powersync/common").BaseColumnType<number | null>;
|
|
56
39
|
comments: import("@powersync/common").BaseColumnType<string | null>;
|
|
57
|
-
is_starred: import("@powersync/common").BaseColumnType<number | null>;
|
|
58
40
|
is_top: import("@powersync/common").BaseColumnType<number | null>;
|
|
59
41
|
pinned_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
42
|
+
starred_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
60
43
|
chat_context: import("@powersync/common").BaseColumnType<string | null>;
|
|
61
44
|
bid_links: import("@powersync/common").BaseColumnType<string | null>;
|
|
62
45
|
version: import("@powersync/common").BaseColumnType<number | null>;
|
|
@@ -64,7 +47,6 @@ export declare const AppSchema: Schema<{
|
|
|
64
47
|
summary: import("@powersync/common").BaseColumnType<string | null>;
|
|
65
48
|
}>;
|
|
66
49
|
c_note_embed: import("@powersync/common").Table<{
|
|
67
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
68
50
|
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
69
51
|
type: import("@powersync/common").BaseColumnType<number | null>;
|
|
70
52
|
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -75,57 +57,7 @@ export declare const AppSchema: Schema<{
|
|
|
75
57
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
76
58
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
77
59
|
}>;
|
|
78
|
-
c_note_history: import("@powersync/common").Table<{
|
|
79
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
80
|
-
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
81
|
-
version: import("@powersync/common").BaseColumnType<number | null>;
|
|
82
|
-
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
83
|
-
content_html: import("@powersync/common").BaseColumnType<string | null>;
|
|
84
|
-
content_md: import("@powersync/common").BaseColumnType<string | null>;
|
|
85
|
-
content_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
86
|
-
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
87
|
-
zettel_boxes: import("@powersync/common").BaseColumnType<string | null>;
|
|
88
|
-
content_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
89
|
-
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
90
|
-
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
91
|
-
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
92
|
-
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
93
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
94
|
-
}>;
|
|
95
|
-
note_local_history: import("@powersync/common").Table<{
|
|
96
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
97
|
-
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
98
|
-
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
99
|
-
content_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
100
|
-
content_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
101
|
-
content_md: import("@powersync/common").BaseColumnType<string | null>;
|
|
102
|
-
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
103
|
-
zettel_boxes: import("@powersync/common").BaseColumnType<string | null>;
|
|
104
|
-
images: import("@powersync/common").BaseColumnType<string | null>;
|
|
105
|
-
snapshot_reason: import("@powersync/common").BaseColumnType<string | null>;
|
|
106
|
-
snapshot_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
107
|
-
client_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
108
|
-
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
109
|
-
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
110
|
-
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
111
|
-
restored_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
112
|
-
meta: import("@powersync/common").BaseColumnType<string | null>;
|
|
113
|
-
}>;
|
|
114
|
-
c_note_link: import("@powersync/common").Table<{
|
|
115
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
116
|
-
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
117
|
-
src_note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
118
|
-
src_block_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
119
|
-
dst_note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
120
|
-
dst_block_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
121
|
-
relation: import("@powersync/common").BaseColumnType<string | null>;
|
|
122
|
-
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
123
|
-
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
124
|
-
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
125
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
126
|
-
}>;
|
|
127
60
|
c_card_box: import("@powersync/common").Table<{
|
|
128
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
129
61
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
130
62
|
type: import("@powersync/common").BaseColumnType<string | null>;
|
|
131
63
|
cover_url: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -140,7 +72,6 @@ export declare const AppSchema: Schema<{
|
|
|
140
72
|
template_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
141
73
|
}>;
|
|
142
74
|
c_card_note: import("@powersync/common").Table<{
|
|
143
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
144
75
|
box_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
145
76
|
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
146
77
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -154,7 +85,6 @@ export declare const AppSchema: Schema<{
|
|
|
154
85
|
is_array: import("@powersync/common").BaseColumnType<number | null>;
|
|
155
86
|
}>;
|
|
156
87
|
c_cmd: import("@powersync/common").Table<{
|
|
157
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
158
88
|
zone: import("@powersync/common").BaseColumnType<string | null>;
|
|
159
89
|
type: import("@powersync/common").BaseColumnType<string | null>;
|
|
160
90
|
cmd: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -174,29 +104,18 @@ export declare const AppSchema: Schema<{
|
|
|
174
104
|
category: import("@powersync/common").BaseColumnType<string | null>;
|
|
175
105
|
}>;
|
|
176
106
|
c_note_template: import("@powersync/common").Table<{
|
|
177
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
178
107
|
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
179
108
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
180
109
|
priority: import("@powersync/common").BaseColumnType<number | null>;
|
|
181
110
|
is_show: import("@powersync/common").BaseColumnType<number | null>;
|
|
182
111
|
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
112
|
+
property_def: import("@powersync/common").BaseColumnType<string | null>;
|
|
183
113
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
184
114
|
insert_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
185
115
|
update_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
186
116
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
187
117
|
}>;
|
|
188
|
-
c_tag: import("@powersync/common").Table<{
|
|
189
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
190
|
-
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
191
|
-
insert_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
192
|
-
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
193
|
-
update_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
194
|
-
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
195
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
196
|
-
favorite_tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
197
|
-
}>;
|
|
198
118
|
c_tag_node: import("@powersync/common").Table<{
|
|
199
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
200
119
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
201
120
|
emoji: import("@powersync/common").BaseColumnType<string | null>;
|
|
202
121
|
full_path: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -210,7 +129,6 @@ export declare const AppSchema: Schema<{
|
|
|
210
129
|
meta: import("@powersync/common").BaseColumnType<string | null>;
|
|
211
130
|
}>;
|
|
212
131
|
c_tag_preference: import("@powersync/common").Table<{
|
|
213
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
214
132
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
215
133
|
tag_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
216
134
|
is_favorite: import("@powersync/common").BaseColumnType<number | null>;
|
|
@@ -222,15 +140,21 @@ export declare const AppSchema: Schema<{
|
|
|
222
140
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
223
141
|
}>;
|
|
224
142
|
c_user_config: import("@powersync/common").Table<{
|
|
225
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
226
143
|
config: import("@powersync/common").BaseColumnType<string | null>;
|
|
227
144
|
memory: import("@powersync/common").BaseColumnType<string | null>;
|
|
228
145
|
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
229
146
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
230
147
|
hot_words: import("@powersync/common").BaseColumnType<string | null>;
|
|
231
148
|
}>;
|
|
149
|
+
c_hotword: import("@powersync/common").Table<{
|
|
150
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
151
|
+
word: import("@powersync/common").BaseColumnType<string | null>;
|
|
152
|
+
normalized_word: import("@powersync/common").BaseColumnType<string | null>;
|
|
153
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
154
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
155
|
+
deleted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
156
|
+
}>;
|
|
232
157
|
c_zettel_box: import("@powersync/common").Table<{
|
|
233
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
234
158
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
235
159
|
path: import("@powersync/common").BaseColumnType<string | null>;
|
|
236
160
|
parent_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -241,12 +165,12 @@ export declare const AppSchema: Schema<{
|
|
|
241
165
|
cover_url: import("@powersync/common").BaseColumnType<string | null>;
|
|
242
166
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
243
167
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
168
|
+
pinned_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
244
169
|
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
245
170
|
user_no: import("@powersync/common").BaseColumnType<string | null>;
|
|
246
171
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
247
172
|
}>;
|
|
248
173
|
c_project: import("@powersync/common").Table<{
|
|
249
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
250
174
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
251
175
|
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
252
176
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -258,21 +182,15 @@ export declare const AppSchema: Schema<{
|
|
|
258
182
|
priority: import("@powersync/common").BaseColumnType<number | null>;
|
|
259
183
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
260
184
|
is_default: import("@powersync/common").BaseColumnType<number | null>;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
board_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
269
|
-
canvas_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
270
|
-
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
271
|
-
schema_version: import("@powersync/common").BaseColumnType<string | null>;
|
|
272
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
185
|
+
type: import("@powersync/common").BaseColumnType<string | null>;
|
|
186
|
+
system_agent_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
187
|
+
skills: import("@powersync/common").BaseColumnType<string | null>;
|
|
188
|
+
references: import("@powersync/common").BaseColumnType<string | null>;
|
|
189
|
+
robot_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
190
|
+
emoji: import("@powersync/common").BaseColumnType<string | null>;
|
|
191
|
+
tools: import("@powersync/common").BaseColumnType<string | null>;
|
|
273
192
|
}>;
|
|
274
193
|
c_project_item: import("@powersync/common").Table<{
|
|
275
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
276
194
|
project_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
277
195
|
kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
278
196
|
ref_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -288,13 +206,16 @@ export declare const AppSchema: Schema<{
|
|
|
288
206
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
289
207
|
}>;
|
|
290
208
|
c_thread: import("@powersync/common").Table<{
|
|
291
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
292
209
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
210
|
+
kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
293
211
|
messages: import("@powersync/common").BaseColumnType<string | null>;
|
|
294
212
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
295
213
|
project_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
214
|
+
last_opened_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
296
215
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
297
216
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
217
|
+
pinned_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
218
|
+
sort_order: import("@powersync/common").BaseColumnType<number | null>;
|
|
298
219
|
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
299
220
|
cmd_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
300
221
|
filter_condition: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -302,22 +223,30 @@ export declare const AppSchema: Schema<{
|
|
|
302
223
|
snapshot: import("@powersync/common").BaseColumnType<string | null>;
|
|
303
224
|
memory: import("@powersync/common").BaseColumnType<string | null>;
|
|
304
225
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
226
|
+
robot_session_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
227
|
+
compact_context: import("@powersync/common").BaseColumnType<string | null>;
|
|
305
228
|
}>;
|
|
306
229
|
c_chat_message: import("@powersync/common").Table<{
|
|
307
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
308
230
|
role: import("@powersync/common").BaseColumnType<string | null>;
|
|
309
231
|
type: import("@powersync/common").BaseColumnType<string | null>;
|
|
232
|
+
entry_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
310
233
|
source_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
311
234
|
parent_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
312
235
|
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
236
|
+
responser_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
313
237
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
238
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
239
|
+
order_index: import("@powersync/common").BaseColumnType<number | null>;
|
|
314
240
|
deleted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
315
241
|
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
242
|
+
anchor_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
243
|
+
anchor_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
244
|
+
anchor_source: import("@powersync/common").BaseColumnType<string | null>;
|
|
245
|
+
anchor_meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
316
246
|
version: import("@powersync/common").BaseColumnType<string | null>;
|
|
317
247
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
318
248
|
}>;
|
|
319
249
|
c_resource: import("@powersync/common").Table<{
|
|
320
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
321
250
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
322
251
|
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
323
252
|
mime_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -348,8 +277,204 @@ export declare const AppSchema: Schema<{
|
|
|
348
277
|
content_md: import("@powersync/common").BaseColumnType<string | null>;
|
|
349
278
|
summary: import("@powersync/common").BaseColumnType<string | null>;
|
|
350
279
|
}>;
|
|
280
|
+
c_note_link: import("@powersync/common").Table<{
|
|
281
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
282
|
+
src_note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
283
|
+
src_block_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
284
|
+
dst_note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
285
|
+
dst_block_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
286
|
+
relation: import("@powersync/common").BaseColumnType<string | null>;
|
|
287
|
+
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
288
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
289
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
290
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
291
|
+
}>;
|
|
292
|
+
c_robot: import("@powersync/common").Table<{
|
|
293
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
294
|
+
device_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
295
|
+
device_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
296
|
+
agent_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
297
|
+
cwd: import("@powersync/common").BaseColumnType<string | null>;
|
|
298
|
+
config: import("@powersync/common").BaseColumnType<string | null>;
|
|
299
|
+
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
300
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
301
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
302
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
303
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
304
|
+
}>;
|
|
305
|
+
c_note_history: import("@powersync/common").Table<{
|
|
306
|
+
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
307
|
+
version: import("@powersync/common").BaseColumnType<number | null>;
|
|
308
|
+
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
309
|
+
content_html: import("@powersync/common").BaseColumnType<string | null>;
|
|
310
|
+
content_md: import("@powersync/common").BaseColumnType<string | null>;
|
|
311
|
+
content_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
312
|
+
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
313
|
+
zettel_boxes: import("@powersync/common").BaseColumnType<string | null>;
|
|
314
|
+
content_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
315
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
316
|
+
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
317
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
318
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
319
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
320
|
+
}>;
|
|
321
|
+
note_local_history: import("@powersync/common").Table<{
|
|
322
|
+
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
323
|
+
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
324
|
+
content_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
325
|
+
content_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
326
|
+
content_md: import("@powersync/common").BaseColumnType<string | null>;
|
|
327
|
+
tags: import("@powersync/common").BaseColumnType<string | null>;
|
|
328
|
+
zettel_boxes: import("@powersync/common").BaseColumnType<string | null>;
|
|
329
|
+
images: import("@powersync/common").BaseColumnType<string | null>;
|
|
330
|
+
snapshot_reason: import("@powersync/common").BaseColumnType<string | null>;
|
|
331
|
+
snapshot_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
332
|
+
client_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
333
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
334
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
335
|
+
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
336
|
+
restored_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
337
|
+
meta: import("@powersync/common").BaseColumnType<string | null>;
|
|
338
|
+
}>;
|
|
339
|
+
c_sync_error_local: import("@powersync/common").Table<{
|
|
340
|
+
transaction_id: import("@powersync/common").BaseColumnType<number | null>;
|
|
341
|
+
error_code: import("@powersync/common").BaseColumnType<string | null>;
|
|
342
|
+
message: import("@powersync/common").BaseColumnType<string | null>;
|
|
343
|
+
first_table: import("@powersync/common").BaseColumnType<string | null>;
|
|
344
|
+
first_row_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
345
|
+
operation_count: import("@powersync/common").BaseColumnType<number | null>;
|
|
346
|
+
payload_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
347
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
348
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
349
|
+
resolved_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
350
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
351
|
+
}>;
|
|
352
|
+
c_user_config_advanced: import("@powersync/common").Table<{
|
|
353
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
354
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
355
|
+
extra_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
356
|
+
s3_config: import("@powersync/common").BaseColumnType<string | null>;
|
|
357
|
+
global_memory_config: import("@powersync/common").BaseColumnType<string | null>;
|
|
358
|
+
mcp_servers: import("@powersync/common").BaseColumnType<string | null>;
|
|
359
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
360
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
361
|
+
}>;
|
|
362
|
+
c_mcp_server: import("@powersync/common").Table<{
|
|
363
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
364
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
365
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
366
|
+
registry_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
367
|
+
schema_version: import("@powersync/common").BaseColumnType<number | null>;
|
|
368
|
+
config: import("@powersync/common").BaseColumnType<string | null>;
|
|
369
|
+
enabled: import("@powersync/common").BaseColumnType<number | null>;
|
|
370
|
+
sort_rank: import("@powersync/common").BaseColumnType<number | null>;
|
|
371
|
+
properties: import("@powersync/common").BaseColumnType<string | null>;
|
|
372
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
373
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
374
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
375
|
+
}>;
|
|
376
|
+
c_config_property: import("@powersync/common").Table<{
|
|
377
|
+
c_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
378
|
+
c_value: import("@powersync/common").BaseColumnType<string | null>;
|
|
379
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
380
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
381
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
382
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
383
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
384
|
+
}>;
|
|
385
|
+
c_property_def: import("@powersync/common").Table<{
|
|
386
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
387
|
+
key: import("@powersync/common").BaseColumnType<string | null>;
|
|
388
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
389
|
+
type: import("@powersync/common").BaseColumnType<string | null>;
|
|
390
|
+
options: import("@powersync/common").BaseColumnType<string | null>;
|
|
391
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
392
|
+
icon: import("@powersync/common").BaseColumnType<string | null>;
|
|
393
|
+
sort_rank: import("@powersync/common").BaseColumnType<number | null>;
|
|
394
|
+
show_on_card: import("@powersync/common").BaseColumnType<number | null>;
|
|
395
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
396
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
397
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
398
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
399
|
+
}>;
|
|
400
|
+
c_saved_view: import("@powersync/common").Table<{
|
|
401
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
402
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
403
|
+
emoji: import("@powersync/common").BaseColumnType<string | null>;
|
|
404
|
+
filter_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
405
|
+
view_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
406
|
+
config_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
407
|
+
template_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
408
|
+
group_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
409
|
+
sort_rank: import("@powersync/common").BaseColumnType<number | null>;
|
|
410
|
+
pinned_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
411
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
412
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
413
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
414
|
+
}>;
|
|
415
|
+
c_local_config: import("@powersync/common").Table<{
|
|
416
|
+
local_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
417
|
+
local_value: import("@powersync/common").BaseColumnType<string | null>;
|
|
418
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
419
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
420
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
421
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
422
|
+
}>;
|
|
423
|
+
app_local_store: import("@powersync/common").Table<{
|
|
424
|
+
namespace: import("@powersync/common").BaseColumnType<string | null>;
|
|
425
|
+
key: import("@powersync/common").BaseColumnType<string | null>;
|
|
426
|
+
value: import("@powersync/common").BaseColumnType<string | null>;
|
|
427
|
+
value_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
428
|
+
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
429
|
+
metadata: import("@powersync/common").BaseColumnType<string | null>;
|
|
430
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
431
|
+
}>;
|
|
432
|
+
local_channel_account: import("@powersync/common").Table<{
|
|
433
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
434
|
+
platform: import("@powersync/common").BaseColumnType<string | null>;
|
|
435
|
+
account_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
436
|
+
display_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
437
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
438
|
+
secret_ref: import("@powersync/common").BaseColumnType<string | null>;
|
|
439
|
+
capabilities_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
440
|
+
state_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
441
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
442
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
443
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
444
|
+
}>;
|
|
445
|
+
local_channel_binding: import("@powersync/common").Table<{
|
|
446
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
447
|
+
platform: import("@powersync/common").BaseColumnType<string | null>;
|
|
448
|
+
account_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
449
|
+
scope: import("@powersync/common").BaseColumnType<string | null>;
|
|
450
|
+
chat_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
451
|
+
chat_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
452
|
+
display_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
453
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
454
|
+
routing_mode: import("@powersync/common").BaseColumnType<string | null>;
|
|
455
|
+
enabled: import("@powersync/common").BaseColumnType<number | null>;
|
|
456
|
+
secret_ref: import("@powersync/common").BaseColumnType<string | null>;
|
|
457
|
+
state_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
458
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
459
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
460
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
461
|
+
}>;
|
|
462
|
+
c_memory: import("@powersync/common").Table<{
|
|
463
|
+
scope: import("@powersync/common").BaseColumnType<string | null>;
|
|
464
|
+
scope_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
465
|
+
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
466
|
+
category: import("@powersync/common").BaseColumnType<string | null>;
|
|
467
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
468
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
469
|
+
source_thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
470
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
471
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
472
|
+
access_count: import("@powersync/common").BaseColumnType<number | null>;
|
|
473
|
+
is_pinned: import("@powersync/common").BaseColumnType<number | null>;
|
|
474
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
475
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
476
|
+
}>;
|
|
351
477
|
c_storage: import("@powersync/common").Table<{
|
|
352
|
-
id: import("@powersync/common").BaseColumnType<string | null>;
|
|
353
478
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
354
479
|
alias_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
355
480
|
protocol: import("@powersync/common").BaseColumnType<string | null>;
|
|
@@ -371,30 +496,349 @@ export declare const AppSchema: Schema<{
|
|
|
371
496
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
372
497
|
deleted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
373
498
|
}>;
|
|
374
|
-
|
|
375
|
-
|
|
499
|
+
c_scheduled_task: import("@powersync/common").Table<{
|
|
500
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
501
|
+
agent_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
502
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
503
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
504
|
+
instruction: import("@powersync/common").BaseColumnType<string | null>;
|
|
505
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
506
|
+
schedule_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
507
|
+
schedule_config: import("@powersync/common").BaseColumnType<string | null>;
|
|
508
|
+
timezone: import("@powersync/common").BaseColumnType<string | null>;
|
|
509
|
+
next_run_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
510
|
+
last_run_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
511
|
+
last_run_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
512
|
+
overlap_policy: import("@powersync/common").BaseColumnType<string | null>;
|
|
513
|
+
retry_limit: import("@powersync/common").BaseColumnType<number | null>;
|
|
514
|
+
timeout_seconds: import("@powersync/common").BaseColumnType<number | null>;
|
|
515
|
+
output_mode: import("@powersync/common").BaseColumnType<string | null>;
|
|
516
|
+
execution_config: import("@powersync/common").BaseColumnType<string | null>;
|
|
517
|
+
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
518
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
376
519
|
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
377
520
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
mcp_servers: import("@powersync/common").BaseColumnType<string | null>;
|
|
382
|
-
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
521
|
+
deleted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
522
|
+
}>;
|
|
523
|
+
c_inbox_item: import("@powersync/common").Table<{
|
|
383
524
|
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
525
|
+
source_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
526
|
+
source_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
527
|
+
content: import("@powersync/common").BaseColumnType<string | null>;
|
|
528
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
529
|
+
meta_data: import("@powersync/common").BaseColumnType<string | null>;
|
|
530
|
+
note_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
531
|
+
seen_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
532
|
+
read_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
533
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
534
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
535
|
+
deleted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
384
536
|
}>;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
537
|
+
c_model_cache: import("@powersync/common").Table<{
|
|
538
|
+
row_kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
539
|
+
cache_version: import("@powersync/common").BaseColumnType<number | null>;
|
|
540
|
+
provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
541
|
+
provider_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
542
|
+
npm_package: import("@powersync/common").BaseColumnType<string | null>;
|
|
543
|
+
api_url: import("@powersync/common").BaseColumnType<string | null>;
|
|
544
|
+
doc_url: import("@powersync/common").BaseColumnType<string | null>;
|
|
545
|
+
model_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
546
|
+
display_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
547
|
+
family: import("@powersync/common").BaseColumnType<string | null>;
|
|
548
|
+
context_window: import("@powersync/common").BaseColumnType<number | null>;
|
|
549
|
+
max_output_tokens: import("@powersync/common").BaseColumnType<number | null>;
|
|
550
|
+
release_date: import("@powersync/common").BaseColumnType<string | null>;
|
|
551
|
+
last_updated: import("@powersync/common").BaseColumnType<string | null>;
|
|
552
|
+
provider_count: import("@powersync/common").BaseColumnType<number | null>;
|
|
553
|
+
model_count: import("@powersync/common").BaseColumnType<number | null>;
|
|
554
|
+
cost: import("@powersync/common").BaseColumnType<string | null>;
|
|
555
|
+
properties: import("@powersync/common").BaseColumnType<string | null>;
|
|
556
|
+
etag: import("@powersync/common").BaseColumnType<string | null>;
|
|
557
|
+
fetched_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
558
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
559
|
+
}>;
|
|
560
|
+
c_runtime_model: import("@powersync/common").Table<{
|
|
561
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
562
|
+
provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
563
|
+
provider_kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
564
|
+
catalog_provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
565
|
+
exposed_model_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
566
|
+
canonical_model_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
567
|
+
matched_catalog_provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
568
|
+
matched_catalog_model_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
569
|
+
display_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
570
|
+
context_window: import("@powersync/common").BaseColumnType<number | null>;
|
|
571
|
+
input_token_limit: import("@powersync/common").BaseColumnType<number | null>;
|
|
572
|
+
max_output_tokens: import("@powersync/common").BaseColumnType<number | null>;
|
|
573
|
+
capabilities: import("@powersync/common").BaseColumnType<string | null>;
|
|
574
|
+
cost: import("@powersync/common").BaseColumnType<string | null>;
|
|
575
|
+
resolution_source: import("@powersync/common").BaseColumnType<string | null>;
|
|
576
|
+
confidence: import("@powersync/common").BaseColumnType<string | null>;
|
|
577
|
+
user_overridden_fields: import("@powersync/common").BaseColumnType<string | null>;
|
|
578
|
+
source_updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
579
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
580
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
581
|
+
}>;
|
|
582
|
+
c_ai_provider: import("@powersync/common").Table<{
|
|
583
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
584
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
585
|
+
preset_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
586
|
+
catalog_provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
587
|
+
sdk_provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
588
|
+
npm_package: import("@powersync/common").BaseColumnType<string | null>;
|
|
589
|
+
base_url: import("@powersync/common").BaseColumnType<string | null>;
|
|
590
|
+
api_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
591
|
+
enabled: import("@powersync/common").BaseColumnType<number | null>;
|
|
592
|
+
sort_rank: import("@powersync/common").BaseColumnType<number | null>;
|
|
593
|
+
properties: import("@powersync/common").BaseColumnType<string | null>;
|
|
594
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
595
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
390
596
|
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
391
597
|
}>;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
598
|
+
c_ai_provider_model: import("@powersync/common").Table<{
|
|
599
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
600
|
+
provider_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
601
|
+
model_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
602
|
+
display_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
603
|
+
enabled: import("@powersync/common").BaseColumnType<number | null>;
|
|
604
|
+
sort_rank: import("@powersync/common").BaseColumnType<number | null>;
|
|
605
|
+
context_window: import("@powersync/common").BaseColumnType<number | null>;
|
|
606
|
+
max_output_tokens: import("@powersync/common").BaseColumnType<number | null>;
|
|
607
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
608
|
+
cost: import("@powersync/common").BaseColumnType<string | null>;
|
|
609
|
+
properties: import("@powersync/common").BaseColumnType<string | null>;
|
|
610
|
+
synced_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
611
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
612
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
613
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
614
|
+
}>;
|
|
615
|
+
c_skill_index: import("@powersync/common").Table<{
|
|
616
|
+
skill_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
617
|
+
name: import("@powersync/common").BaseColumnType<string | null>;
|
|
618
|
+
description: import("@powersync/common").BaseColumnType<string | null>;
|
|
619
|
+
skill_file: import("@powersync/common").BaseColumnType<string | null>;
|
|
620
|
+
skill_dir: import("@powersync/common").BaseColumnType<string | null>;
|
|
621
|
+
real_skill_file: import("@powersync/common").BaseColumnType<string | null>;
|
|
622
|
+
real_skill_dir: import("@powersync/common").BaseColumnType<string | null>;
|
|
623
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
624
|
+
root_path: import("@powersync/common").BaseColumnType<string | null>;
|
|
625
|
+
mounts_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
626
|
+
frontmatter_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
627
|
+
enabled: import("@powersync/common").BaseColumnType<number | null>;
|
|
628
|
+
sort_order: import("@powersync/common").BaseColumnType<number | null>;
|
|
629
|
+
allow_implicit_invocation: import("@powersync/common").BaseColumnType<number | null>;
|
|
630
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
631
|
+
content_sha256: import("@powersync/common").BaseColumnType<string | null>;
|
|
632
|
+
file_mtime_ms: import("@powersync/common").BaseColumnType<number | null>;
|
|
633
|
+
error_message: import("@powersync/common").BaseColumnType<string | null>;
|
|
634
|
+
discovered_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
635
|
+
last_seen_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
636
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
637
|
+
}>;
|
|
638
|
+
local_project_skill: import("@powersync/common").Table<{
|
|
639
|
+
project_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
640
|
+
skill_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
641
|
+
sort_order: import("@powersync/common").BaseColumnType<number | null>;
|
|
642
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
643
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
644
|
+
}>;
|
|
645
|
+
local_audit_event: import("@powersync/common").Table<{
|
|
646
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
647
|
+
actor_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
648
|
+
actor_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
649
|
+
source: import("@powersync/common").BaseColumnType<string | null>;
|
|
650
|
+
tool_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
651
|
+
tool_call_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
652
|
+
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
653
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
654
|
+
coalesce_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
655
|
+
started_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
656
|
+
ended_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
657
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
658
|
+
applied_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
659
|
+
metadata_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
660
|
+
}>;
|
|
661
|
+
local_audit_row_change: import("@powersync/common").Table<{
|
|
662
|
+
event_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
663
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
664
|
+
table_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
665
|
+
row_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
666
|
+
operation: import("@powersync/common").BaseColumnType<string | null>;
|
|
667
|
+
before_blob_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
668
|
+
after_blob_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
669
|
+
before_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
670
|
+
after_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
671
|
+
changed_columns_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
672
|
+
summary: import("@powersync/common").BaseColumnType<string | null>;
|
|
673
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
674
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
675
|
+
restored_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
676
|
+
}>;
|
|
677
|
+
local_audit_blob: import("@powersync/common").Table<{
|
|
678
|
+
content_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
679
|
+
content_type: import("@powersync/common").BaseColumnType<string | null>;
|
|
680
|
+
storage_kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
681
|
+
inline_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
682
|
+
object_path: import("@powersync/common").BaseColumnType<string | null>;
|
|
683
|
+
byte_size: import("@powersync/common").BaseColumnType<number | null>;
|
|
684
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
685
|
+
}>;
|
|
686
|
+
local_thread_run: import("@powersync/common").Table<{
|
|
687
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
688
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
689
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
690
|
+
trigger: import("@powersync/common").BaseColumnType<string | null>;
|
|
691
|
+
user_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
692
|
+
assistant_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
693
|
+
parent_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
694
|
+
queued_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
695
|
+
started_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
696
|
+
finished_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
697
|
+
error_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
698
|
+
model_ref: import("@powersync/common").BaseColumnType<string | null>;
|
|
699
|
+
cmd_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
700
|
+
permission_mode: import("@powersync/common").BaseColumnType<string | null>;
|
|
701
|
+
request_payload_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
702
|
+
assistant_snapshot_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
703
|
+
tool_approval_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
704
|
+
queue_index: import("@powersync/common").BaseColumnType<number | null>;
|
|
705
|
+
finalizing_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
706
|
+
last_heartbeat_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
707
|
+
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
708
|
+
cleanup_after_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
709
|
+
stream_finish_reason: import("@powersync/common").BaseColumnType<string | null>;
|
|
710
|
+
interrupted_by_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
711
|
+
usage_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
712
|
+
context_trace_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
713
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
396
714
|
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
397
715
|
}>;
|
|
716
|
+
local_thread_tool_approval: import("@powersync/common").Table<{
|
|
717
|
+
run_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
718
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
719
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
720
|
+
assistant_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
721
|
+
approval_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
722
|
+
tool_call_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
723
|
+
tool_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
724
|
+
tool_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
725
|
+
input_hash: import("@powersync/common").BaseColumnType<string | null>;
|
|
726
|
+
input_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
727
|
+
session_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
728
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
729
|
+
reason: import("@powersync/common").BaseColumnType<string | null>;
|
|
730
|
+
requested_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
731
|
+
expires_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
732
|
+
decided_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
733
|
+
consumed_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
734
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
735
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
736
|
+
}>;
|
|
737
|
+
local_tool_permission_grant: import("@powersync/common").Table<{
|
|
738
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
739
|
+
tool_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
740
|
+
tool_name: import("@powersync/common").BaseColumnType<string | null>;
|
|
741
|
+
scope: import("@powersync/common").BaseColumnType<string | null>;
|
|
742
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
743
|
+
project_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
744
|
+
granted_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
745
|
+
revoked_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
746
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
747
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
748
|
+
}>;
|
|
749
|
+
local_background_task: import("@powersync/common").Table<{
|
|
750
|
+
kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
751
|
+
version: import("@powersync/common").BaseColumnType<number | null>;
|
|
752
|
+
status: import("@powersync/common").BaseColumnType<string | null>;
|
|
753
|
+
priority: import("@powersync/common").BaseColumnType<number | null>;
|
|
754
|
+
queue_index: import("@powersync/common").BaseColumnType<number | null>;
|
|
755
|
+
user_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
756
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
757
|
+
run_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
758
|
+
assistant_message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
759
|
+
tool_call_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
760
|
+
parent_task_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
761
|
+
group_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
762
|
+
idempotency_key: import("@powersync/common").BaseColumnType<string | null>;
|
|
763
|
+
input_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
764
|
+
output_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
765
|
+
resource_ids_json: import("@powersync/common").BaseColumnType<string | null>;
|
|
766
|
+
error_code: import("@powersync/common").BaseColumnType<string | null>;
|
|
767
|
+
error_text: import("@powersync/common").BaseColumnType<string | null>;
|
|
768
|
+
attempt_count: import("@powersync/common").BaseColumnType<number | null>;
|
|
769
|
+
max_attempts: import("@powersync/common").BaseColumnType<number | null>;
|
|
770
|
+
available_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
771
|
+
locked_by: import("@powersync/common").BaseColumnType<string | null>;
|
|
772
|
+
locked_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
773
|
+
lease_until: import("@powersync/common").BaseColumnType<string | null>;
|
|
774
|
+
queued_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
775
|
+
started_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
776
|
+
finished_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
777
|
+
cancelled_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
778
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
779
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
780
|
+
}>;
|
|
781
|
+
local_artifact: import("@powersync/common").Table<{
|
|
782
|
+
thread_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
783
|
+
message_id: import("@powersync/common").BaseColumnType<string | null>;
|
|
784
|
+
kind: import("@powersync/common").BaseColumnType<string | null>;
|
|
785
|
+
title: import("@powersync/common").BaseColumnType<string | null>;
|
|
786
|
+
entry: import("@powersync/common").BaseColumnType<string | null>;
|
|
787
|
+
root: import("@powersync/common").BaseColumnType<string | null>;
|
|
788
|
+
manifest: import("@powersync/common").BaseColumnType<string | null>;
|
|
789
|
+
created_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
790
|
+
updated_at: import("@powersync/common").BaseColumnType<string | null>;
|
|
791
|
+
is_del: import("@powersync/common").BaseColumnType<number | null>;
|
|
792
|
+
}>;
|
|
398
793
|
}>;
|
|
399
794
|
export type Database = (typeof AppSchema)['types'];
|
|
400
795
|
export type CNoteRecord = Database['c_note'];
|
|
796
|
+
export type CNoteEmbedRecord = Database['c_note_embed'];
|
|
797
|
+
export type CCardBoxRecord = Database['c_card_box'];
|
|
798
|
+
export type CCardNoteRecord = Database['c_card_note'];
|
|
799
|
+
export type CCmdRecord = Database['c_cmd'];
|
|
800
|
+
export type CNoteTemplateRecord = Database['c_note_template'];
|
|
801
|
+
export type CTagNodeRecord = Database['c_tag_node'];
|
|
802
|
+
export type CTagPreferenceRecord = Database['c_tag_preference'];
|
|
803
|
+
export type CUserConfigRecord = Database['c_user_config'];
|
|
804
|
+
export type CHotwordRecord = Database['c_hotword'];
|
|
805
|
+
export type CZettelBoxRecord = Database['c_zettel_box'];
|
|
806
|
+
export type CProjectRecord = Database['c_project'];
|
|
807
|
+
export type CProjectItemRecord = Database['c_project_item'];
|
|
808
|
+
export type CThreadRecord = Database['c_thread'];
|
|
809
|
+
export type CChatMessageRecord = Database['c_chat_message'];
|
|
810
|
+
export type CResourceRecord = Database['c_resource'];
|
|
811
|
+
export type CNoteLinkRecord = Database['c_note_link'];
|
|
812
|
+
export type CRobotRecord = Database['c_robot'];
|
|
813
|
+
export type CNoteHistoryRecord = Database['c_note_history'];
|
|
814
|
+
export type NoteLocalHistoryRecord = Database['note_local_history'];
|
|
815
|
+
export type CSyncErrorLocalRecord = Database['c_sync_error_local'];
|
|
816
|
+
export type CUserConfigAdvancedRecord = Database['c_user_config_advanced'];
|
|
817
|
+
export type CMcpServerRecord = Database['c_mcp_server'];
|
|
818
|
+
export type CConfigPropertyRecord = Database['c_config_property'];
|
|
819
|
+
export type CPropertyDefRecord = Database['c_property_def'];
|
|
820
|
+
export type CSavedViewRecord = Database['c_saved_view'];
|
|
821
|
+
export type CLocalConfigRecord = Database['c_local_config'];
|
|
822
|
+
export type AppLocalStoreRecord = Database['app_local_store'];
|
|
823
|
+
export type LocalChannelAccountRecord = Database['local_channel_account'];
|
|
824
|
+
export type LocalChannelBindingRecord = Database['local_channel_binding'];
|
|
825
|
+
export type CMemoryRecord = Database['c_memory'];
|
|
826
|
+
export type CStorageRecord = Database['c_storage'];
|
|
827
|
+
export type CScheduledTaskRecord = Database['c_scheduled_task'];
|
|
828
|
+
export type CInboxItemRecord = Database['c_inbox_item'];
|
|
829
|
+
export type CModelCacheRecord = Database['c_model_cache'];
|
|
830
|
+
export type CRuntimeModelRecord = Database['c_runtime_model'];
|
|
831
|
+
export type CAiProviderRecord = Database['c_ai_provider'];
|
|
832
|
+
export type CAiProviderModelRecord = Database['c_ai_provider_model'];
|
|
833
|
+
export type CSkillIndexRecord = Database['c_skill_index'];
|
|
834
|
+
export type LocalProjectSkillRecord = Database['local_project_skill'];
|
|
835
|
+
export type LocalAuditEventRecord = Database['local_audit_event'];
|
|
836
|
+
export type LocalAuditRowChangeRecord = Database['local_audit_row_change'];
|
|
837
|
+
export type LocalAuditBlobRecord = Database['local_audit_blob'];
|
|
838
|
+
export type LocalThreadRunRecord = Database['local_thread_run'];
|
|
839
|
+
export type LocalThreadToolApprovalRecord = Database['local_thread_tool_approval'];
|
|
840
|
+
export type LocalToolPermissionGrantRecord = Database['local_tool_permission_grant'];
|
|
841
|
+
export type LocalBackgroundTaskRecord = Database['local_background_task'];
|
|
842
|
+
export type LocalArtifactRecord = Database['local_artifact'];
|
|
843
|
+
export type NoteLocalIndexMetaRecord = Database['note_local_index_meta'];
|
|
844
|
+
export type NoteLocalIndexStateRecord = Database['note_local_index_state'];
|