@eloxiv/client 0.0.0-stage → 0.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.
Files changed (269) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/dist/Account.d.ts +131 -0
  4. package/dist/Account.d.ts.map +1 -0
  5. package/dist/Account.js +169 -0
  6. package/dist/Account.js.map +1 -0
  7. package/dist/Agent.d.ts +496 -0
  8. package/dist/Agent.d.ts.map +1 -0
  9. package/dist/Agent.js +228 -0
  10. package/dist/Agent.js.map +1 -0
  11. package/dist/AgentSync.d.ts +990 -0
  12. package/dist/AgentSync.d.ts.map +1 -0
  13. package/dist/AgentSync.js +46 -0
  14. package/dist/AgentSync.js.map +1 -0
  15. package/dist/AppState.d.ts +127 -0
  16. package/dist/AppState.d.ts.map +1 -0
  17. package/dist/AppState.js +145 -0
  18. package/dist/AppState.js.map +1 -0
  19. package/dist/AppStateSync.d.ts +193 -0
  20. package/dist/AppStateSync.d.ts.map +1 -0
  21. package/dist/AppStateSync.js +23 -0
  22. package/dist/AppStateSync.js.map +1 -0
  23. package/dist/Auth.d.ts +95 -0
  24. package/dist/Auth.d.ts.map +1 -0
  25. package/dist/Auth.js +139 -0
  26. package/dist/Auth.js.map +1 -0
  27. package/dist/Avatars.d.ts +53 -0
  28. package/dist/Avatars.d.ts.map +1 -0
  29. package/dist/Avatars.js +121 -0
  30. package/dist/Avatars.js.map +1 -0
  31. package/dist/BrowserAnalytics.d.ts +56 -0
  32. package/dist/BrowserAnalytics.d.ts.map +1 -0
  33. package/dist/BrowserAnalytics.js +94 -0
  34. package/dist/BrowserAnalytics.js.map +1 -0
  35. package/dist/Chat.d.ts +712 -0
  36. package/dist/Chat.d.ts.map +1 -0
  37. package/dist/Chat.js +883 -0
  38. package/dist/Chat.js.map +1 -0
  39. package/dist/ChatIntegrity.d.ts +63 -0
  40. package/dist/ChatIntegrity.d.ts.map +1 -0
  41. package/dist/ChatIntegrity.js +89 -0
  42. package/dist/ChatIntegrity.js.map +1 -0
  43. package/dist/ChatSends.d.ts +103 -0
  44. package/dist/ChatSends.d.ts.map +1 -0
  45. package/dist/ChatSends.js +157 -0
  46. package/dist/ChatSends.js.map +1 -0
  47. package/dist/Client.d.ts +113 -0
  48. package/dist/Client.d.ts.map +1 -0
  49. package/dist/Client.js +189 -0
  50. package/dist/Client.js.map +1 -0
  51. package/dist/Collab.d.ts +138 -0
  52. package/dist/Collab.d.ts.map +1 -0
  53. package/dist/Collab.js +454 -0
  54. package/dist/Collab.js.map +1 -0
  55. package/dist/CollabTools.d.ts +129 -0
  56. package/dist/CollabTools.d.ts.map +1 -0
  57. package/dist/CollabTools.js +277 -0
  58. package/dist/CollabTools.js.map +1 -0
  59. package/dist/Connections.d.ts +288 -0
  60. package/dist/Connections.d.ts.map +1 -0
  61. package/dist/Connections.js +316 -0
  62. package/dist/Connections.js.map +1 -0
  63. package/dist/Consent.d.ts +338 -0
  64. package/dist/Consent.d.ts.map +1 -0
  65. package/dist/Consent.js +142 -0
  66. package/dist/Consent.js.map +1 -0
  67. package/dist/Desktop.d.ts +61 -0
  68. package/dist/Desktop.d.ts.map +1 -0
  69. package/dist/Desktop.js +101 -0
  70. package/dist/Desktop.js.map +1 -0
  71. package/dist/Directory.d.ts +36 -0
  72. package/dist/Directory.d.ts.map +1 -0
  73. package/dist/Directory.js +42 -0
  74. package/dist/Directory.js.map +1 -0
  75. package/dist/ErrorReporter.d.ts +48 -0
  76. package/dist/ErrorReporter.d.ts.map +1 -0
  77. package/dist/ErrorReporter.js +70 -0
  78. package/dist/ErrorReporter.js.map +1 -0
  79. package/dist/ExpoSqlite.d.ts +7 -0
  80. package/dist/ExpoSqlite.d.ts.map +1 -0
  81. package/dist/ExpoSqlite.js +7 -0
  82. package/dist/ExpoSqlite.js.map +1 -0
  83. package/dist/FileSync.d.ts +265 -0
  84. package/dist/FileSync.d.ts.map +1 -0
  85. package/dist/FileSync.js +29 -0
  86. package/dist/FileSync.js.map +1 -0
  87. package/dist/FileTables.gen.d.ts +109 -0
  88. package/dist/FileTables.gen.d.ts.map +1 -0
  89. package/dist/FileTables.gen.js +23 -0
  90. package/dist/FileTables.gen.js.map +1 -0
  91. package/dist/Foldkit.d.ts +487 -0
  92. package/dist/Foldkit.d.ts.map +1 -0
  93. package/dist/Foldkit.js +617 -0
  94. package/dist/Foldkit.js.map +1 -0
  95. package/dist/History.d.ts +133 -0
  96. package/dist/History.d.ts.map +1 -0
  97. package/dist/History.js +210 -0
  98. package/dist/History.js.map +1 -0
  99. package/dist/InboxSync.d.ts +428 -0
  100. package/dist/InboxSync.d.ts.map +1 -0
  101. package/dist/InboxSync.js +37 -0
  102. package/dist/InboxSync.js.map +1 -0
  103. package/dist/KernelTables.gen.d.ts +1522 -0
  104. package/dist/KernelTables.gen.d.ts.map +1 -0
  105. package/dist/KernelTables.gen.js +307 -0
  106. package/dist/KernelTables.gen.js.map +1 -0
  107. package/dist/Make.d.ts +75 -0
  108. package/dist/Make.d.ts.map +1 -0
  109. package/dist/Make.js +70 -0
  110. package/dist/Make.js.map +1 -0
  111. package/dist/Models.d.ts +88 -0
  112. package/dist/Models.d.ts.map +1 -0
  113. package/dist/Models.js +80 -0
  114. package/dist/Models.js.map +1 -0
  115. package/dist/Optimistic.d.ts +120 -0
  116. package/dist/Optimistic.d.ts.map +1 -0
  117. package/dist/Optimistic.js +231 -0
  118. package/dist/Optimistic.js.map +1 -0
  119. package/dist/PlatformSync.d.ts +273 -0
  120. package/dist/PlatformSync.d.ts.map +1 -0
  121. package/dist/PlatformSync.js +92 -0
  122. package/dist/PlatformSync.js.map +1 -0
  123. package/dist/Poll.d.ts +113 -0
  124. package/dist/Poll.d.ts.map +1 -0
  125. package/dist/Poll.js +179 -0
  126. package/dist/Poll.js.map +1 -0
  127. package/dist/Preferences.d.ts +18 -0
  128. package/dist/Preferences.d.ts.map +1 -0
  129. package/dist/Preferences.js +22 -0
  130. package/dist/Preferences.js.map +1 -0
  131. package/dist/Proposals.d.ts +29 -0
  132. package/dist/Proposals.d.ts.map +1 -0
  133. package/dist/Proposals.js +41 -0
  134. package/dist/Proposals.js.map +1 -0
  135. package/dist/React.d.ts +17 -0
  136. package/dist/React.d.ts.map +1 -0
  137. package/dist/React.js +17 -0
  138. package/dist/React.js.map +1 -0
  139. package/dist/Reader.d.ts +35 -0
  140. package/dist/Reader.d.ts.map +1 -0
  141. package/dist/Reader.js +136 -0
  142. package/dist/Reader.js.map +1 -0
  143. package/dist/Resources.d.ts +98 -0
  144. package/dist/Resources.d.ts.map +1 -0
  145. package/dist/Resources.js +161 -0
  146. package/dist/Resources.js.map +1 -0
  147. package/dist/Rows.d.ts +4 -0
  148. package/dist/Rows.d.ts.map +1 -0
  149. package/dist/Rows.js +16 -0
  150. package/dist/Rows.js.map +1 -0
  151. package/dist/Runtime.d.ts +254 -0
  152. package/dist/Runtime.d.ts.map +1 -0
  153. package/dist/Runtime.js +1249 -0
  154. package/dist/Runtime.js.map +1 -0
  155. package/dist/RuntimeRuns.d.ts +74 -0
  156. package/dist/RuntimeRuns.d.ts.map +1 -0
  157. package/dist/RuntimeRuns.js +118 -0
  158. package/dist/RuntimeRuns.js.map +1 -0
  159. package/dist/ServicesSync.d.ts +286 -0
  160. package/dist/ServicesSync.d.ts.map +1 -0
  161. package/dist/ServicesSync.js +40 -0
  162. package/dist/ServicesSync.js.map +1 -0
  163. package/dist/Session.d.ts +226 -0
  164. package/dist/Session.d.ts.map +1 -0
  165. package/dist/Session.js +763 -0
  166. package/dist/Session.js.map +1 -0
  167. package/dist/ShareGrant.d.ts +47 -0
  168. package/dist/ShareGrant.d.ts.map +1 -0
  169. package/dist/ShareGrant.js +20 -0
  170. package/dist/ShareGrant.js.map +1 -0
  171. package/dist/Sharing.d.ts +203 -0
  172. package/dist/Sharing.d.ts.map +1 -0
  173. package/dist/Sharing.js +520 -0
  174. package/dist/Sharing.js.map +1 -0
  175. package/dist/Skew.d.ts +52 -0
  176. package/dist/Skew.d.ts.map +1 -0
  177. package/dist/Skew.js +77 -0
  178. package/dist/Skew.js.map +1 -0
  179. package/dist/SpacesSync.d.ts +247 -0
  180. package/dist/SpacesSync.d.ts.map +1 -0
  181. package/dist/SpacesSync.js +30 -0
  182. package/dist/SpacesSync.js.map +1 -0
  183. package/dist/Storage.d.ts +51 -0
  184. package/dist/Storage.d.ts.map +1 -0
  185. package/dist/Storage.js +107 -0
  186. package/dist/Storage.js.map +1 -0
  187. package/dist/Sync.d.ts +48 -0
  188. package/dist/Sync.d.ts.map +1 -0
  189. package/dist/Sync.js +48 -0
  190. package/dist/Sync.js.map +1 -0
  191. package/dist/SyncTables.d.ts +13 -0
  192. package/dist/SyncTables.d.ts.map +1 -0
  193. package/dist/SyncTables.js +13 -0
  194. package/dist/SyncTables.js.map +1 -0
  195. package/dist/Tab.d.ts +36 -0
  196. package/dist/Tab.d.ts.map +1 -0
  197. package/dist/Tab.js +44 -0
  198. package/dist/Tab.js.map +1 -0
  199. package/dist/Transport.d.ts +139 -0
  200. package/dist/Transport.d.ts.map +1 -0
  201. package/dist/Transport.js +232 -0
  202. package/dist/Transport.js.map +1 -0
  203. package/dist/Upload.d.ts +41 -0
  204. package/dist/Upload.d.ts.map +1 -0
  205. package/dist/Upload.js +93 -0
  206. package/dist/Upload.js.map +1 -0
  207. package/dist/WebMcp.d.ts +78 -0
  208. package/dist/WebMcp.d.ts.map +1 -0
  209. package/dist/WebMcp.js +204 -0
  210. package/dist/WebMcp.js.map +1 -0
  211. package/dist/index.d.ts +27 -0
  212. package/dist/index.d.ts.map +1 -0
  213. package/dist/index.js +27 -0
  214. package/dist/index.js.map +1 -0
  215. package/package.json +97 -3
  216. package/src/Account.ts +249 -0
  217. package/src/Agent.ts +387 -0
  218. package/src/AgentSync.ts +59 -0
  219. package/src/AppState.ts +222 -0
  220. package/src/AppStateSync.ts +26 -0
  221. package/src/Auth.ts +225 -0
  222. package/src/Avatars.ts +144 -0
  223. package/src/BrowserAnalytics.ts +133 -0
  224. package/src/Chat.ts +1150 -0
  225. package/src/ChatIntegrity.ts +130 -0
  226. package/src/ChatSends.ts +209 -0
  227. package/src/Client.ts +319 -0
  228. package/src/Collab.ts +524 -0
  229. package/src/CollabTools.ts +381 -0
  230. package/src/Connections.ts +517 -0
  231. package/src/Consent.ts +176 -0
  232. package/src/Desktop.ts +139 -0
  233. package/src/Directory.ts +71 -0
  234. package/src/ErrorReporter.ts +112 -0
  235. package/src/ExpoSqlite.ts +6 -0
  236. package/src/FileSync.ts +34 -0
  237. package/src/FileTables.gen.ts +23 -0
  238. package/src/Foldkit.ts +960 -0
  239. package/src/History.ts +337 -0
  240. package/src/InboxSync.ts +47 -0
  241. package/src/KernelTables.gen.ts +329 -0
  242. package/src/Make.ts +120 -0
  243. package/src/Models.ts +134 -0
  244. package/src/Optimistic.ts +364 -0
  245. package/src/PlatformSync.ts +156 -0
  246. package/src/Poll.ts +227 -0
  247. package/src/Preferences.ts +42 -0
  248. package/src/Proposals.ts +57 -0
  249. package/src/React.ts +26 -0
  250. package/src/Reader.ts +180 -0
  251. package/src/Resources.ts +257 -0
  252. package/src/Rows.ts +16 -0
  253. package/src/Runtime.ts +1409 -0
  254. package/src/RuntimeRuns.ts +180 -0
  255. package/src/ServicesSync.ts +58 -0
  256. package/src/Session.ts +814 -0
  257. package/src/ShareGrant.ts +20 -0
  258. package/src/Sharing.ts +696 -0
  259. package/src/Skew.ts +97 -0
  260. package/src/SpacesSync.ts +61 -0
  261. package/src/Storage.ts +167 -0
  262. package/src/Sync.ts +125 -0
  263. package/src/SyncTables.ts +12 -0
  264. package/src/Tab.ts +59 -0
  265. package/src/Transport.ts +321 -0
  266. package/src/Upload.ts +125 -0
  267. package/src/WebMcp.ts +279 -0
  268. package/src/index.ts +26 -0
  269. package/src/web-globals.d.ts +103 -0
@@ -0,0 +1,1522 @@
1
+ export declare const workItemTable: import("@rocicorp/zero").TableBuilderWithColumns<{
2
+ name: "workItem";
3
+ columns: {
4
+ readonly id: {
5
+ type: "string";
6
+ optional: false;
7
+ customType: string;
8
+ };
9
+ readonly orgId: {
10
+ type: "string";
11
+ optional: false;
12
+ customType: string;
13
+ } & {
14
+ serverName: string;
15
+ };
16
+ readonly module: {
17
+ type: "string";
18
+ optional: false;
19
+ customType: string;
20
+ };
21
+ readonly source: {
22
+ type: "string";
23
+ optional: false;
24
+ customType: string;
25
+ };
26
+ readonly sourceId: {
27
+ type: "string";
28
+ optional: false;
29
+ customType: string;
30
+ } & {
31
+ serverName: string;
32
+ };
33
+ readonly state: {
34
+ type: "string";
35
+ optional: false;
36
+ customType: "dismissed" | "done" | "in_progress" | "open" | "waiting";
37
+ };
38
+ readonly sourceState: Omit<{
39
+ type: "string";
40
+ optional: false;
41
+ customType: string;
42
+ } & {
43
+ serverName: string;
44
+ }, "optional"> & {
45
+ optional: true;
46
+ };
47
+ readonly assigneeUserId: Omit<{
48
+ type: "string";
49
+ optional: false;
50
+ customType: string;
51
+ } & {
52
+ serverName: string;
53
+ }, "optional"> & {
54
+ optional: true;
55
+ };
56
+ readonly assigneeGroupId: Omit<{
57
+ type: "string";
58
+ optional: false;
59
+ customType: string;
60
+ } & {
61
+ serverName: string;
62
+ }, "optional"> & {
63
+ optional: true;
64
+ };
65
+ readonly assignedBy: Omit<{
66
+ type: "string";
67
+ optional: false;
68
+ customType: string;
69
+ } & {
70
+ serverName: string;
71
+ }, "optional"> & {
72
+ optional: true;
73
+ };
74
+ readonly title: {
75
+ type: "string";
76
+ optional: false;
77
+ customType: string;
78
+ };
79
+ readonly linkModule: {
80
+ type: "string";
81
+ optional: false;
82
+ customType: string;
83
+ } & {
84
+ serverName: string;
85
+ };
86
+ readonly linkEntity: {
87
+ type: "string";
88
+ optional: false;
89
+ customType: string;
90
+ } & {
91
+ serverName: string;
92
+ };
93
+ readonly linkId: {
94
+ type: "string";
95
+ optional: false;
96
+ customType: string;
97
+ } & {
98
+ serverName: string;
99
+ };
100
+ readonly view: Omit<{
101
+ type: "string";
102
+ optional: false;
103
+ customType: string;
104
+ }, "optional"> & {
105
+ optional: true;
106
+ };
107
+ readonly dueAt: Omit<{
108
+ type: "number";
109
+ optional: false;
110
+ customType: number;
111
+ } & {
112
+ serverName: string;
113
+ }, "optional"> & {
114
+ optional: true;
115
+ };
116
+ readonly createdAt: {
117
+ type: "number";
118
+ optional: false;
119
+ customType: number;
120
+ } & {
121
+ serverName: string;
122
+ };
123
+ readonly updatedAt: {
124
+ type: "number";
125
+ optional: false;
126
+ customType: number;
127
+ } & {
128
+ serverName: string;
129
+ };
130
+ readonly closedAt: Omit<{
131
+ type: "number";
132
+ optional: false;
133
+ customType: number;
134
+ } & {
135
+ serverName: string;
136
+ }, "optional"> & {
137
+ optional: true;
138
+ };
139
+ };
140
+ primaryKey: readonly [string, ...string[]];
141
+ } & {
142
+ primaryKey: ["id"];
143
+ }>;
144
+ export declare const notificationTable: import("@rocicorp/zero").TableBuilderWithColumns<{
145
+ name: "notification";
146
+ columns: {
147
+ readonly id: {
148
+ type: "string";
149
+ optional: false;
150
+ customType: string;
151
+ };
152
+ readonly orgId: {
153
+ type: "string";
154
+ optional: false;
155
+ customType: string;
156
+ } & {
157
+ serverName: string;
158
+ };
159
+ readonly recipientId: {
160
+ type: "string";
161
+ optional: false;
162
+ customType: string;
163
+ } & {
164
+ serverName: string;
165
+ };
166
+ readonly category: {
167
+ type: "string";
168
+ optional: false;
169
+ customType: string;
170
+ };
171
+ readonly title: {
172
+ type: "string";
173
+ optional: false;
174
+ customType: string;
175
+ };
176
+ readonly body: {
177
+ type: "string";
178
+ optional: false;
179
+ customType: string;
180
+ };
181
+ readonly linkModule: Omit<{
182
+ type: "string";
183
+ optional: false;
184
+ customType: string;
185
+ } & {
186
+ serverName: string;
187
+ }, "optional"> & {
188
+ optional: true;
189
+ };
190
+ readonly linkEntity: Omit<{
191
+ type: "string";
192
+ optional: false;
193
+ customType: string;
194
+ } & {
195
+ serverName: string;
196
+ }, "optional"> & {
197
+ optional: true;
198
+ };
199
+ readonly linkId: Omit<{
200
+ type: "string";
201
+ optional: false;
202
+ customType: string;
203
+ } & {
204
+ serverName: string;
205
+ }, "optional"> & {
206
+ optional: true;
207
+ };
208
+ readonly createdAt: {
209
+ type: "number";
210
+ optional: false;
211
+ customType: number;
212
+ } & {
213
+ serverName: string;
214
+ };
215
+ readonly readAt: Omit<{
216
+ type: "number";
217
+ optional: false;
218
+ customType: number;
219
+ } & {
220
+ serverName: string;
221
+ }, "optional"> & {
222
+ optional: true;
223
+ };
224
+ readonly dismissedAt: Omit<{
225
+ type: "number";
226
+ optional: false;
227
+ customType: number;
228
+ } & {
229
+ serverName: string;
230
+ }, "optional"> & {
231
+ optional: true;
232
+ };
233
+ };
234
+ primaryKey: readonly [string, ...string[]];
235
+ } & {
236
+ primaryKey: ["id"];
237
+ }>;
238
+ export declare const approvalRequestTable: import("@rocicorp/zero").TableBuilderWithColumns<{
239
+ name: "approvalRequest";
240
+ columns: {
241
+ readonly id: {
242
+ type: "string";
243
+ optional: false;
244
+ customType: string;
245
+ };
246
+ readonly orgId: {
247
+ type: "string";
248
+ optional: false;
249
+ customType: string;
250
+ } & {
251
+ serverName: string;
252
+ };
253
+ readonly requesterId: {
254
+ type: "string";
255
+ optional: false;
256
+ customType: string;
257
+ } & {
258
+ serverName: string;
259
+ };
260
+ readonly action: {
261
+ type: "string";
262
+ optional: false;
263
+ customType: string;
264
+ };
265
+ readonly title: {
266
+ type: "string";
267
+ optional: false;
268
+ customType: string;
269
+ };
270
+ readonly input: {
271
+ type: "json";
272
+ optional: false;
273
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
274
+ };
275
+ readonly quorum: {
276
+ type: "number";
277
+ optional: false;
278
+ customType: number;
279
+ };
280
+ readonly allowSelfApproval: {
281
+ type: "boolean";
282
+ optional: false;
283
+ customType: boolean;
284
+ } & {
285
+ serverName: string;
286
+ };
287
+ readonly status: {
288
+ type: "string";
289
+ optional: false;
290
+ customType: "approved" | "expired" | "pending" | "rejected";
291
+ };
292
+ readonly approvals: {
293
+ type: "number";
294
+ optional: false;
295
+ customType: number;
296
+ };
297
+ readonly expiresAt: Omit<{
298
+ type: "number";
299
+ optional: false;
300
+ customType: number;
301
+ } & {
302
+ serverName: string;
303
+ }, "optional"> & {
304
+ optional: true;
305
+ };
306
+ readonly createdAt: {
307
+ type: "number";
308
+ optional: false;
309
+ customType: number;
310
+ } & {
311
+ serverName: string;
312
+ };
313
+ readonly decidedAt: Omit<{
314
+ type: "number";
315
+ optional: false;
316
+ customType: number;
317
+ } & {
318
+ serverName: string;
319
+ }, "optional"> & {
320
+ optional: true;
321
+ };
322
+ readonly execution: Omit<{
323
+ type: "json";
324
+ optional: false;
325
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
326
+ }, "optional"> & {
327
+ optional: true;
328
+ };
329
+ };
330
+ primaryKey: readonly [string, ...string[]];
331
+ } & {
332
+ primaryKey: ["id"];
333
+ }>;
334
+ export declare const settingValueTable: import("@rocicorp/zero").TableBuilderWithColumns<{
335
+ name: "settingValue";
336
+ columns: {
337
+ readonly id: {
338
+ type: "string";
339
+ optional: false;
340
+ customType: string;
341
+ };
342
+ readonly key: {
343
+ type: "string";
344
+ optional: false;
345
+ customType: string;
346
+ };
347
+ readonly level: {
348
+ type: "string";
349
+ optional: false;
350
+ customType: "org" | "user";
351
+ };
352
+ readonly orgId: {
353
+ type: "string";
354
+ optional: false;
355
+ customType: string;
356
+ } & {
357
+ serverName: string;
358
+ };
359
+ readonly userId: Omit<{
360
+ type: "string";
361
+ optional: false;
362
+ customType: string;
363
+ } & {
364
+ serverName: string;
365
+ }, "optional"> & {
366
+ optional: true;
367
+ };
368
+ readonly value: Omit<{
369
+ type: "json";
370
+ optional: false;
371
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
372
+ }, "optional"> & {
373
+ optional: true;
374
+ };
375
+ readonly updatedBy: {
376
+ type: "string";
377
+ optional: false;
378
+ customType: string;
379
+ } & {
380
+ serverName: string;
381
+ };
382
+ readonly updatedAt: {
383
+ type: "number";
384
+ optional: false;
385
+ customType: number;
386
+ } & {
387
+ serverName: string;
388
+ };
389
+ };
390
+ primaryKey: readonly [string, ...string[]];
391
+ } & {
392
+ primaryKey: ["id"];
393
+ }>;
394
+ export declare const flagRuleTable: import("@rocicorp/zero").TableBuilderWithColumns<{
395
+ name: "flagRule";
396
+ columns: {
397
+ readonly id: {
398
+ type: "string";
399
+ optional: false;
400
+ customType: string;
401
+ };
402
+ readonly orgId: {
403
+ type: "string";
404
+ optional: false;
405
+ customType: string;
406
+ } & {
407
+ serverName: string;
408
+ };
409
+ readonly flag: {
410
+ type: "string";
411
+ optional: false;
412
+ customType: string;
413
+ };
414
+ readonly kind: {
415
+ type: "string";
416
+ optional: false;
417
+ customType: "group" | "org" | "role" | "rollout" | "user";
418
+ };
419
+ readonly subject: Omit<{
420
+ type: "string";
421
+ optional: false;
422
+ customType: string;
423
+ }, "optional"> & {
424
+ optional: true;
425
+ };
426
+ readonly userId: Omit<{
427
+ type: "string";
428
+ optional: false;
429
+ customType: string;
430
+ } & {
431
+ serverName: string;
432
+ }, "optional"> & {
433
+ optional: true;
434
+ };
435
+ readonly groupId: Omit<{
436
+ type: "string";
437
+ optional: false;
438
+ customType: string;
439
+ } & {
440
+ serverName: string;
441
+ }, "optional"> & {
442
+ optional: true;
443
+ };
444
+ readonly enabled: {
445
+ type: "boolean";
446
+ optional: false;
447
+ customType: boolean;
448
+ };
449
+ readonly percentage: Omit<{
450
+ type: "number";
451
+ optional: false;
452
+ customType: number;
453
+ }, "optional"> & {
454
+ optional: true;
455
+ };
456
+ readonly updatedBy: {
457
+ type: "string";
458
+ optional: false;
459
+ customType: string;
460
+ } & {
461
+ serverName: string;
462
+ };
463
+ readonly updatedAt: {
464
+ type: "number";
465
+ optional: false;
466
+ customType: number;
467
+ } & {
468
+ serverName: string;
469
+ };
470
+ };
471
+ primaryKey: readonly [string, ...string[]];
472
+ } & {
473
+ primaryKey: ["id"];
474
+ }>;
475
+ export declare const agentConversationTable: import("@rocicorp/zero").TableBuilderWithColumns<{
476
+ name: "agentConversation";
477
+ columns: {
478
+ readonly id: {
479
+ type: "string";
480
+ optional: false;
481
+ customType: string;
482
+ };
483
+ readonly orgId: {
484
+ type: "string";
485
+ optional: false;
486
+ customType: string;
487
+ } & {
488
+ serverName: string;
489
+ };
490
+ readonly userId: {
491
+ type: "string";
492
+ optional: false;
493
+ customType: string;
494
+ } & {
495
+ serverName: string;
496
+ };
497
+ readonly title: {
498
+ type: "string";
499
+ optional: false;
500
+ customType: string;
501
+ };
502
+ readonly createdAt: {
503
+ type: "number";
504
+ optional: false;
505
+ customType: number;
506
+ } & {
507
+ serverName: string;
508
+ };
509
+ readonly updatedAt: {
510
+ type: "number";
511
+ optional: false;
512
+ customType: number;
513
+ } & {
514
+ serverName: string;
515
+ };
516
+ readonly pinned: {
517
+ type: "boolean";
518
+ optional: false;
519
+ customType: boolean;
520
+ };
521
+ readonly archived: {
522
+ type: "boolean";
523
+ optional: false;
524
+ customType: boolean;
525
+ };
526
+ readonly hidden: {
527
+ type: "boolean";
528
+ optional: false;
529
+ customType: boolean;
530
+ };
531
+ readonly resourceModule: Omit<{
532
+ type: "string";
533
+ optional: false;
534
+ customType: string;
535
+ } & {
536
+ serverName: string;
537
+ }, "optional"> & {
538
+ optional: true;
539
+ };
540
+ readonly resourceEntity: Omit<{
541
+ type: "string";
542
+ optional: false;
543
+ customType: string;
544
+ } & {
545
+ serverName: string;
546
+ }, "optional"> & {
547
+ optional: true;
548
+ };
549
+ readonly resourceId: Omit<{
550
+ type: "string";
551
+ optional: false;
552
+ customType: string;
553
+ } & {
554
+ serverName: string;
555
+ }, "optional"> & {
556
+ optional: true;
557
+ };
558
+ readonly team: Omit<{
559
+ type: "string";
560
+ optional: false;
561
+ customType: string;
562
+ }, "optional"> & {
563
+ optional: true;
564
+ };
565
+ };
566
+ primaryKey: readonly [string, ...string[]];
567
+ } & {
568
+ primaryKey: ["id"];
569
+ }>;
570
+ export declare const agentCheckpointTable: import("@rocicorp/zero").TableBuilderWithColumns<{
571
+ name: "agentCheckpoint";
572
+ columns: {
573
+ readonly id: {
574
+ type: "string";
575
+ optional: false;
576
+ customType: string;
577
+ };
578
+ readonly orgId: {
579
+ type: "string";
580
+ optional: false;
581
+ customType: string;
582
+ } & {
583
+ serverName: string;
584
+ };
585
+ readonly userId: {
586
+ type: "string";
587
+ optional: false;
588
+ customType: string;
589
+ } & {
590
+ serverName: string;
591
+ };
592
+ readonly conversationId: {
593
+ type: "string";
594
+ optional: false;
595
+ customType: string;
596
+ } & {
597
+ serverName: string;
598
+ };
599
+ readonly label: {
600
+ type: "string";
601
+ optional: false;
602
+ customType: string;
603
+ };
604
+ readonly upTo: {
605
+ type: "number";
606
+ optional: false;
607
+ customType: number;
608
+ } & {
609
+ serverName: string;
610
+ };
611
+ readonly messages: {
612
+ type: "number";
613
+ optional: false;
614
+ customType: number;
615
+ };
616
+ readonly createdAt: {
617
+ type: "number";
618
+ optional: false;
619
+ customType: number;
620
+ } & {
621
+ serverName: string;
622
+ };
623
+ readonly restoredAt: Omit<{
624
+ type: "number";
625
+ optional: false;
626
+ customType: number;
627
+ } & {
628
+ serverName: string;
629
+ }, "optional"> & {
630
+ optional: true;
631
+ };
632
+ };
633
+ primaryKey: readonly [string, ...string[]];
634
+ } & {
635
+ primaryKey: ["id"];
636
+ }>;
637
+ export declare const agentMessageTable: import("@rocicorp/zero").TableBuilderWithColumns<{
638
+ name: "agentMessage";
639
+ columns: {
640
+ readonly id: {
641
+ type: "string";
642
+ optional: false;
643
+ customType: string;
644
+ };
645
+ readonly orgId: {
646
+ type: "string";
647
+ optional: false;
648
+ customType: string;
649
+ } & {
650
+ serverName: string;
651
+ };
652
+ readonly userId: {
653
+ type: "string";
654
+ optional: false;
655
+ customType: string;
656
+ } & {
657
+ serverName: string;
658
+ };
659
+ readonly conversationId: {
660
+ type: "string";
661
+ optional: false;
662
+ customType: string;
663
+ } & {
664
+ serverName: string;
665
+ };
666
+ readonly runId: Omit<{
667
+ type: "string";
668
+ optional: false;
669
+ customType: string;
670
+ } & {
671
+ serverName: string;
672
+ }, "optional"> & {
673
+ optional: true;
674
+ };
675
+ readonly seq: {
676
+ type: "number";
677
+ optional: false;
678
+ customType: number;
679
+ };
680
+ readonly role: {
681
+ type: "string";
682
+ optional: false;
683
+ customType: "assistant" | "summary" | "tool" | "user";
684
+ };
685
+ readonly text: {
686
+ type: "string";
687
+ optional: false;
688
+ customType: string;
689
+ };
690
+ readonly coveredBy: Omit<{
691
+ type: "string";
692
+ optional: false;
693
+ customType: string;
694
+ } & {
695
+ serverName: string;
696
+ }, "optional"> & {
697
+ optional: true;
698
+ };
699
+ readonly createdAt: {
700
+ type: "number";
701
+ optional: false;
702
+ customType: number;
703
+ } & {
704
+ serverName: string;
705
+ };
706
+ };
707
+ primaryKey: readonly [string, ...string[]];
708
+ } & {
709
+ primaryKey: ["id"];
710
+ }>;
711
+ export declare const agentRunTable: import("@rocicorp/zero").TableBuilderWithColumns<{
712
+ name: "agentRun";
713
+ columns: {
714
+ readonly id: {
715
+ type: "string";
716
+ optional: false;
717
+ customType: string;
718
+ };
719
+ readonly orgId: {
720
+ type: "string";
721
+ optional: false;
722
+ customType: string;
723
+ } & {
724
+ serverName: string;
725
+ };
726
+ readonly userId: {
727
+ type: "string";
728
+ optional: false;
729
+ customType: string;
730
+ } & {
731
+ serverName: string;
732
+ };
733
+ readonly conversationId: {
734
+ type: "string";
735
+ optional: false;
736
+ customType: string;
737
+ } & {
738
+ serverName: string;
739
+ };
740
+ readonly parentRunId: Omit<{
741
+ type: "string";
742
+ optional: false;
743
+ customType: string;
744
+ } & {
745
+ serverName: string;
746
+ }, "optional"> & {
747
+ optional: true;
748
+ };
749
+ readonly kind: {
750
+ type: "string";
751
+ optional: false;
752
+ customType: "job" | "subagent" | "turn";
753
+ };
754
+ readonly status: {
755
+ type: "string";
756
+ optional: false;
757
+ customType: "cancelled" | "failed" | "queued" | "running" | "stopped" | "succeeded" | "waiting";
758
+ };
759
+ readonly stopReason: Omit<{
760
+ type: "string";
761
+ optional: false;
762
+ customType: string;
763
+ } & {
764
+ serverName: string;
765
+ }, "optional"> & {
766
+ optional: true;
767
+ };
768
+ readonly inputTokens: {
769
+ type: "number";
770
+ optional: false;
771
+ customType: number;
772
+ } & {
773
+ serverName: string;
774
+ };
775
+ readonly outputTokens: {
776
+ type: "number";
777
+ optional: false;
778
+ customType: number;
779
+ } & {
780
+ serverName: string;
781
+ };
782
+ readonly steps: {
783
+ type: "number";
784
+ optional: false;
785
+ customType: number;
786
+ };
787
+ readonly result: Omit<{
788
+ type: "string";
789
+ optional: false;
790
+ customType: string;
791
+ }, "optional"> & {
792
+ optional: true;
793
+ };
794
+ readonly error: Omit<{
795
+ type: "string";
796
+ optional: false;
797
+ customType: string;
798
+ }, "optional"> & {
799
+ optional: true;
800
+ };
801
+ readonly createdAt: {
802
+ type: "number";
803
+ optional: false;
804
+ customType: number;
805
+ } & {
806
+ serverName: string;
807
+ };
808
+ readonly finishedAt: Omit<{
809
+ type: "number";
810
+ optional: false;
811
+ customType: number;
812
+ } & {
813
+ serverName: string;
814
+ }, "optional"> & {
815
+ optional: true;
816
+ };
817
+ };
818
+ primaryKey: readonly [string, ...string[]];
819
+ } & {
820
+ primaryKey: ["id"];
821
+ }>;
822
+ export declare const agentSubmissionTable: import("@rocicorp/zero").TableBuilderWithColumns<{
823
+ name: "agentSubmission";
824
+ columns: {
825
+ readonly id: {
826
+ type: "string";
827
+ optional: false;
828
+ customType: string;
829
+ };
830
+ readonly orgId: {
831
+ type: "string";
832
+ optional: false;
833
+ customType: string;
834
+ } & {
835
+ serverName: string;
836
+ };
837
+ readonly userId: {
838
+ type: "string";
839
+ optional: false;
840
+ customType: string;
841
+ } & {
842
+ serverName: string;
843
+ };
844
+ readonly conversationId: {
845
+ type: "string";
846
+ optional: false;
847
+ customType: string;
848
+ } & {
849
+ serverName: string;
850
+ };
851
+ readonly runId: {
852
+ type: "string";
853
+ optional: false;
854
+ customType: string;
855
+ } & {
856
+ serverName: string;
857
+ };
858
+ readonly messageId: {
859
+ type: "string";
860
+ optional: false;
861
+ customType: string;
862
+ } & {
863
+ serverName: string;
864
+ };
865
+ readonly seq: {
866
+ type: "number";
867
+ optional: false;
868
+ customType: number;
869
+ };
870
+ readonly kind: {
871
+ type: "string";
872
+ optional: false;
873
+ customType: "job" | "turn";
874
+ };
875
+ readonly status: {
876
+ type: "string";
877
+ optional: false;
878
+ customType: "cancelled" | "expired" | "promoted" | "queued" | "refused";
879
+ };
880
+ readonly text: {
881
+ type: "string";
882
+ optional: false;
883
+ customType: string;
884
+ };
885
+ readonly createdAt: {
886
+ type: "number";
887
+ optional: false;
888
+ customType: number;
889
+ } & {
890
+ serverName: string;
891
+ };
892
+ readonly expiresAt: {
893
+ type: "number";
894
+ optional: false;
895
+ customType: number;
896
+ } & {
897
+ serverName: string;
898
+ };
899
+ readonly settledAt: Omit<{
900
+ type: "number";
901
+ optional: false;
902
+ customType: number;
903
+ } & {
904
+ serverName: string;
905
+ }, "optional"> & {
906
+ optional: true;
907
+ };
908
+ };
909
+ primaryKey: readonly [string, ...string[]];
910
+ } & {
911
+ primaryKey: ["id"];
912
+ }>;
913
+ export declare const spaceGrantTable: import("@rocicorp/zero").TableBuilderWithColumns<{
914
+ name: "spaceGrant";
915
+ columns: {
916
+ readonly id: {
917
+ type: "string";
918
+ optional: false;
919
+ customType: string;
920
+ };
921
+ readonly spaceId: {
922
+ type: "string";
923
+ optional: false;
924
+ customType: string;
925
+ } & {
926
+ serverName: string;
927
+ };
928
+ readonly orgId: {
929
+ type: "string";
930
+ optional: false;
931
+ customType: string;
932
+ } & {
933
+ serverName: string;
934
+ };
935
+ readonly audience: {
936
+ type: "string";
937
+ optional: false;
938
+ customType: string;
939
+ };
940
+ readonly title: {
941
+ type: "string";
942
+ optional: false;
943
+ customType: string;
944
+ };
945
+ readonly description: Omit<{
946
+ type: "string";
947
+ optional: false;
948
+ customType: string;
949
+ }, "optional"> & {
950
+ optional: true;
951
+ };
952
+ readonly icon: Omit<{
953
+ type: "string";
954
+ optional: false;
955
+ customType: string;
956
+ }, "optional"> & {
957
+ optional: true;
958
+ };
959
+ readonly entries: {
960
+ type: "json";
961
+ optional: false;
962
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
963
+ };
964
+ readonly position: {
965
+ type: "number";
966
+ optional: false;
967
+ customType: number;
968
+ };
969
+ readonly withdrawn: {
970
+ type: "boolean";
971
+ optional: false;
972
+ customType: boolean;
973
+ };
974
+ readonly updatedBy: {
975
+ type: "string";
976
+ optional: false;
977
+ customType: string;
978
+ } & {
979
+ serverName: string;
980
+ };
981
+ readonly updatedAt: {
982
+ type: "number";
983
+ optional: false;
984
+ customType: number;
985
+ } & {
986
+ serverName: string;
987
+ };
988
+ };
989
+ primaryKey: readonly [string, ...string[]];
990
+ } & {
991
+ primaryKey: ["id"];
992
+ }>;
993
+ export declare const spacePreferenceTable: import("@rocicorp/zero").TableBuilderWithColumns<{
994
+ name: "spacePreference";
995
+ columns: {
996
+ readonly id: {
997
+ type: "string";
998
+ optional: false;
999
+ customType: string;
1000
+ };
1001
+ readonly orgId: {
1002
+ type: "string";
1003
+ optional: false;
1004
+ customType: string;
1005
+ } & {
1006
+ serverName: string;
1007
+ };
1008
+ readonly userId: {
1009
+ type: "string";
1010
+ optional: false;
1011
+ customType: string;
1012
+ } & {
1013
+ serverName: string;
1014
+ };
1015
+ readonly spaceId: {
1016
+ type: "string";
1017
+ optional: false;
1018
+ customType: string;
1019
+ } & {
1020
+ serverName: string;
1021
+ };
1022
+ readonly grantId: {
1023
+ type: "string";
1024
+ optional: false;
1025
+ customType: string;
1026
+ } & {
1027
+ serverName: string;
1028
+ };
1029
+ readonly pinned: Omit<{
1030
+ type: "boolean";
1031
+ optional: false;
1032
+ customType: boolean;
1033
+ }, "optional"> & {
1034
+ optional: true;
1035
+ };
1036
+ readonly hidden: Omit<{
1037
+ type: "boolean";
1038
+ optional: false;
1039
+ customType: boolean;
1040
+ }, "optional"> & {
1041
+ optional: true;
1042
+ };
1043
+ readonly position: Omit<{
1044
+ type: "number";
1045
+ optional: false;
1046
+ customType: number;
1047
+ }, "optional"> & {
1048
+ optional: true;
1049
+ };
1050
+ readonly entryOrder: Omit<{
1051
+ type: "json";
1052
+ optional: false;
1053
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
1054
+ } & {
1055
+ serverName: string;
1056
+ }, "optional"> & {
1057
+ optional: true;
1058
+ };
1059
+ readonly hiddenEntries: Omit<{
1060
+ type: "json";
1061
+ optional: false;
1062
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
1063
+ } & {
1064
+ serverName: string;
1065
+ }, "optional"> & {
1066
+ optional: true;
1067
+ };
1068
+ readonly updatedAt: {
1069
+ type: "number";
1070
+ optional: false;
1071
+ customType: number;
1072
+ } & {
1073
+ serverName: string;
1074
+ };
1075
+ };
1076
+ primaryKey: readonly [string, ...string[]];
1077
+ } & {
1078
+ primaryKey: ["id"];
1079
+ }>;
1080
+ export declare const appStateEntryTable: import("@rocicorp/zero").TableBuilderWithColumns<{
1081
+ name: "appStateEntry";
1082
+ columns: {
1083
+ readonly id: {
1084
+ type: "string";
1085
+ optional: false;
1086
+ customType: string;
1087
+ };
1088
+ readonly orgId: {
1089
+ type: "string";
1090
+ optional: false;
1091
+ customType: string;
1092
+ } & {
1093
+ serverName: string;
1094
+ };
1095
+ readonly userId: {
1096
+ type: "string";
1097
+ optional: false;
1098
+ customType: string;
1099
+ } & {
1100
+ serverName: string;
1101
+ };
1102
+ readonly tabId: {
1103
+ type: "string";
1104
+ optional: false;
1105
+ customType: string;
1106
+ } & {
1107
+ serverName: string;
1108
+ };
1109
+ readonly key: {
1110
+ type: "string";
1111
+ optional: false;
1112
+ customType: string;
1113
+ };
1114
+ readonly value: Omit<{
1115
+ type: "json";
1116
+ optional: false;
1117
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
1118
+ }, "optional"> & {
1119
+ optional: true;
1120
+ };
1121
+ readonly version: {
1122
+ type: "number";
1123
+ optional: false;
1124
+ customType: number;
1125
+ };
1126
+ readonly writtenBy: Omit<{
1127
+ type: "string";
1128
+ optional: false;
1129
+ customType: string;
1130
+ } & {
1131
+ serverName: string;
1132
+ }, "optional"> & {
1133
+ optional: true;
1134
+ };
1135
+ readonly updatedAt: {
1136
+ type: "number";
1137
+ optional: false;
1138
+ customType: number;
1139
+ } & {
1140
+ serverName: string;
1141
+ };
1142
+ };
1143
+ primaryKey: readonly [string, ...string[]];
1144
+ } & {
1145
+ primaryKey: ["id"];
1146
+ }>;
1147
+ export declare const appCommandTable: import("@rocicorp/zero").TableBuilderWithColumns<{
1148
+ name: "appCommand";
1149
+ columns: {
1150
+ readonly id: {
1151
+ type: "string";
1152
+ optional: false;
1153
+ customType: string;
1154
+ };
1155
+ readonly commandId: {
1156
+ type: "string";
1157
+ optional: false;
1158
+ customType: string;
1159
+ } & {
1160
+ serverName: string;
1161
+ };
1162
+ readonly orgId: {
1163
+ type: "string";
1164
+ optional: false;
1165
+ customType: string;
1166
+ } & {
1167
+ serverName: string;
1168
+ };
1169
+ readonly userId: {
1170
+ type: "string";
1171
+ optional: false;
1172
+ customType: string;
1173
+ } & {
1174
+ serverName: string;
1175
+ };
1176
+ readonly tabId: {
1177
+ type: "string";
1178
+ optional: false;
1179
+ customType: string;
1180
+ } & {
1181
+ serverName: string;
1182
+ };
1183
+ readonly command: {
1184
+ type: "json";
1185
+ optional: false;
1186
+ customType: import("@rocicorp/zero").ReadonlyJSONValue;
1187
+ };
1188
+ readonly issuedBy: {
1189
+ type: "string";
1190
+ optional: false;
1191
+ customType: string;
1192
+ } & {
1193
+ serverName: string;
1194
+ };
1195
+ readonly issuedAt: {
1196
+ type: "number";
1197
+ optional: false;
1198
+ customType: number;
1199
+ } & {
1200
+ serverName: string;
1201
+ };
1202
+ readonly acknowledgedAt: Omit<{
1203
+ type: "number";
1204
+ optional: false;
1205
+ customType: number;
1206
+ } & {
1207
+ serverName: string;
1208
+ }, "optional"> & {
1209
+ optional: true;
1210
+ };
1211
+ readonly acknowledgedBy: Omit<{
1212
+ type: "string";
1213
+ optional: false;
1214
+ customType: string;
1215
+ } & {
1216
+ serverName: string;
1217
+ }, "optional"> & {
1218
+ optional: true;
1219
+ };
1220
+ readonly outcome: Omit<{
1221
+ type: "string";
1222
+ optional: false;
1223
+ customType: string;
1224
+ }, "optional"> & {
1225
+ optional: true;
1226
+ };
1227
+ readonly detail: Omit<{
1228
+ type: "string";
1229
+ optional: false;
1230
+ customType: string;
1231
+ }, "optional"> & {
1232
+ optional: true;
1233
+ };
1234
+ };
1235
+ primaryKey: readonly [string, ...string[]];
1236
+ } & {
1237
+ primaryKey: ["id"];
1238
+ }>;
1239
+ export declare const progressTaskTable: import("@rocicorp/zero").TableBuilderWithColumns<{
1240
+ name: "progressTask";
1241
+ columns: {
1242
+ readonly id: {
1243
+ type: "string";
1244
+ optional: false;
1245
+ customType: string;
1246
+ };
1247
+ readonly orgId: {
1248
+ type: "string";
1249
+ optional: false;
1250
+ customType: string;
1251
+ } & {
1252
+ serverName: string;
1253
+ };
1254
+ readonly ownerId: {
1255
+ type: "string";
1256
+ optional: false;
1257
+ customType: string;
1258
+ } & {
1259
+ serverName: string;
1260
+ };
1261
+ readonly kind: {
1262
+ type: "string";
1263
+ optional: false;
1264
+ customType: "action" | "agent-run" | "erasure" | "export" | "import" | "ingestion" | "workflow";
1265
+ };
1266
+ readonly source: {
1267
+ type: "string";
1268
+ optional: false;
1269
+ customType: string;
1270
+ };
1271
+ readonly title: {
1272
+ type: "string";
1273
+ optional: false;
1274
+ customType: string;
1275
+ };
1276
+ readonly step: Omit<{
1277
+ type: "string";
1278
+ optional: false;
1279
+ customType: string;
1280
+ }, "optional"> & {
1281
+ optional: true;
1282
+ };
1283
+ readonly message: Omit<{
1284
+ type: "string";
1285
+ optional: false;
1286
+ customType: string;
1287
+ }, "optional"> & {
1288
+ optional: true;
1289
+ };
1290
+ readonly percent: Omit<{
1291
+ type: "number";
1292
+ optional: false;
1293
+ customType: number;
1294
+ }, "optional"> & {
1295
+ optional: true;
1296
+ };
1297
+ readonly done: Omit<{
1298
+ type: "number";
1299
+ optional: false;
1300
+ customType: number;
1301
+ }, "optional"> & {
1302
+ optional: true;
1303
+ };
1304
+ readonly total: Omit<{
1305
+ type: "number";
1306
+ optional: false;
1307
+ customType: number;
1308
+ }, "optional"> & {
1309
+ optional: true;
1310
+ };
1311
+ readonly status: {
1312
+ type: "string";
1313
+ optional: false;
1314
+ customType: "cancelled" | "failed" | "running" | "succeeded";
1315
+ };
1316
+ readonly cancelRequested: {
1317
+ type: "boolean";
1318
+ optional: false;
1319
+ customType: boolean;
1320
+ } & {
1321
+ serverName: string;
1322
+ };
1323
+ readonly error: Omit<{
1324
+ type: "string";
1325
+ optional: false;
1326
+ customType: string;
1327
+ }, "optional"> & {
1328
+ optional: true;
1329
+ };
1330
+ readonly executionId: Omit<{
1331
+ type: "string";
1332
+ optional: false;
1333
+ customType: string;
1334
+ } & {
1335
+ serverName: string;
1336
+ }, "optional"> & {
1337
+ optional: true;
1338
+ };
1339
+ readonly startedAt: {
1340
+ type: "number";
1341
+ optional: false;
1342
+ customType: number;
1343
+ } & {
1344
+ serverName: string;
1345
+ };
1346
+ readonly updatedAt: {
1347
+ type: "number";
1348
+ optional: false;
1349
+ customType: number;
1350
+ } & {
1351
+ serverName: string;
1352
+ };
1353
+ readonly finishedAt: Omit<{
1354
+ type: "number";
1355
+ optional: false;
1356
+ customType: number;
1357
+ } & {
1358
+ serverName: string;
1359
+ }, "optional"> & {
1360
+ optional: true;
1361
+ };
1362
+ };
1363
+ primaryKey: readonly [string, ...string[]];
1364
+ } & {
1365
+ primaryKey: ["id"];
1366
+ }>;
1367
+ export declare const consentChoiceTable: import("@rocicorp/zero").TableBuilderWithColumns<Omit<{
1368
+ name: "consentChoice";
1369
+ columns: {
1370
+ readonly id: {
1371
+ type: "string";
1372
+ optional: false;
1373
+ customType: string;
1374
+ };
1375
+ readonly orgId: {
1376
+ type: "string";
1377
+ optional: false;
1378
+ customType: string;
1379
+ } & {
1380
+ serverName: string;
1381
+ };
1382
+ readonly userId: {
1383
+ type: "string";
1384
+ optional: false;
1385
+ customType: string;
1386
+ } & {
1387
+ serverName: string;
1388
+ };
1389
+ readonly category: {
1390
+ type: "string";
1391
+ optional: false;
1392
+ customType: "analytics" | "functional" | "marketing";
1393
+ };
1394
+ readonly granted: {
1395
+ type: "boolean";
1396
+ optional: false;
1397
+ customType: boolean;
1398
+ };
1399
+ readonly decidedAt: {
1400
+ type: "number";
1401
+ optional: false;
1402
+ customType: number;
1403
+ } & {
1404
+ serverName: string;
1405
+ };
1406
+ };
1407
+ primaryKey: readonly [string, ...string[]];
1408
+ } & {
1409
+ primaryKey: ["id"];
1410
+ }, "uniqueKeys"> & {
1411
+ uniqueKeys: [["orgId", "userId", "category"]];
1412
+ }>;
1413
+ export declare const consentSubjectTable: import("@rocicorp/zero").TableBuilderWithColumns<Omit<{
1414
+ name: "consentSubject";
1415
+ columns: {
1416
+ readonly id: {
1417
+ type: "string";
1418
+ optional: false;
1419
+ customType: string;
1420
+ };
1421
+ readonly orgId: {
1422
+ type: "string";
1423
+ optional: false;
1424
+ customType: string;
1425
+ } & {
1426
+ serverName: string;
1427
+ };
1428
+ readonly userId: {
1429
+ type: "string";
1430
+ optional: false;
1431
+ customType: string;
1432
+ } & {
1433
+ serverName: string;
1434
+ };
1435
+ readonly region: Omit<{
1436
+ type: "string";
1437
+ optional: false;
1438
+ customType: string;
1439
+ }, "optional"> & {
1440
+ optional: true;
1441
+ };
1442
+ readonly updatedAt: {
1443
+ type: "number";
1444
+ optional: false;
1445
+ customType: number;
1446
+ } & {
1447
+ serverName: string;
1448
+ };
1449
+ };
1450
+ primaryKey: readonly [string, ...string[]];
1451
+ } & {
1452
+ primaryKey: ["id"];
1453
+ }, "uniqueKeys"> & {
1454
+ uniqueKeys: [["orgId", "userId"]];
1455
+ }>;
1456
+ export declare const approvalRequestRelationships: {
1457
+ name: "approvalRequest";
1458
+ relationships: {
1459
+ shares: [{
1460
+ readonly sourceField: readonly ("action" | "allowSelfApproval" | "approvals" | "createdAt" | "decidedAt" | "execution" | "expiresAt" | "id" | "input" | "orgId" | "quorum" | "requesterId" | "status" | "title")[];
1461
+ readonly destField: readonly ("granteeId" | "granteeKind" | "id" | "permission" | "resourceId" | "resourceType")[];
1462
+ readonly destSchema: "shareGrant";
1463
+ readonly cardinality: 'many';
1464
+ }];
1465
+ };
1466
+ };
1467
+ export declare const agentConversationRelationships: {
1468
+ name: "agentConversation";
1469
+ relationships: {
1470
+ shares: [{
1471
+ readonly sourceField: readonly ("archived" | "createdAt" | "hidden" | "id" | "orgId" | "pinned" | "resourceEntity" | "resourceId" | "resourceModule" | "team" | "title" | "updatedAt" | "userId")[];
1472
+ readonly destField: readonly ("granteeId" | "granteeKind" | "id" | "permission" | "resourceId" | "resourceType")[];
1473
+ readonly destSchema: "shareGrant";
1474
+ readonly cardinality: 'many';
1475
+ }];
1476
+ };
1477
+ };
1478
+ export declare const agentMessageRelationships: {
1479
+ name: "agentMessage";
1480
+ relationships: {
1481
+ conversation: [{
1482
+ readonly sourceField: readonly ("conversationId" | "coveredBy" | "createdAt" | "id" | "orgId" | "role" | "runId" | "seq" | "text" | "userId")[];
1483
+ readonly destField: readonly ("archived" | "createdAt" | "hidden" | "id" | "orgId" | "pinned" | "resourceEntity" | "resourceId" | "resourceModule" | "team" | "title" | "updatedAt" | "userId")[];
1484
+ readonly destSchema: "agentConversation";
1485
+ readonly cardinality: 'one';
1486
+ }];
1487
+ };
1488
+ };
1489
+ export declare const agentRunRelationships: {
1490
+ name: "agentRun";
1491
+ relationships: {
1492
+ conversation: [{
1493
+ readonly sourceField: readonly ("conversationId" | "createdAt" | "error" | "finishedAt" | "id" | "inputTokens" | "kind" | "orgId" | "outputTokens" | "parentRunId" | "result" | "status" | "steps" | "stopReason" | "userId")[];
1494
+ readonly destField: readonly ("archived" | "createdAt" | "hidden" | "id" | "orgId" | "pinned" | "resourceEntity" | "resourceId" | "resourceModule" | "team" | "title" | "updatedAt" | "userId")[];
1495
+ readonly destSchema: "agentConversation";
1496
+ readonly cardinality: 'one';
1497
+ }];
1498
+ };
1499
+ };
1500
+ export declare const spaceGrantRelationships: {
1501
+ name: "spaceGrant";
1502
+ relationships: {
1503
+ preferences: [{
1504
+ readonly sourceField: readonly ("audience" | "description" | "entries" | "icon" | "id" | "orgId" | "position" | "spaceId" | "title" | "updatedAt" | "updatedBy" | "withdrawn")[];
1505
+ readonly destField: readonly ("entryOrder" | "grantId" | "hidden" | "hiddenEntries" | "id" | "orgId" | "pinned" | "position" | "spaceId" | "updatedAt" | "userId")[];
1506
+ readonly destSchema: "spacePreference";
1507
+ readonly cardinality: 'many';
1508
+ }];
1509
+ };
1510
+ };
1511
+ export declare const spacePreferenceRelationships: {
1512
+ name: "spacePreference";
1513
+ relationships: {
1514
+ grant: [{
1515
+ readonly sourceField: readonly ("entryOrder" | "grantId" | "hidden" | "hiddenEntries" | "id" | "orgId" | "pinned" | "position" | "spaceId" | "updatedAt" | "userId")[];
1516
+ readonly destField: readonly ("audience" | "description" | "entries" | "icon" | "id" | "orgId" | "position" | "spaceId" | "title" | "updatedAt" | "updatedBy" | "withdrawn")[];
1517
+ readonly destSchema: "spaceGrant";
1518
+ readonly cardinality: 'one';
1519
+ }];
1520
+ };
1521
+ };
1522
+ //# sourceMappingURL=KernelTables.gen.d.ts.map