nao-core 0.0.38__py3-none-manylinux2014_aarch64.whl

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 (98) hide show
  1. nao_core/__init__.py +2 -0
  2. nao_core/__init__.py.bak +2 -0
  3. nao_core/bin/build-info.json +5 -0
  4. nao_core/bin/fastapi/main.py +268 -0
  5. nao_core/bin/fastapi/test_main.py +156 -0
  6. nao_core/bin/migrations-postgres/0000_user_auth_and_chat_tables.sql +98 -0
  7. nao_core/bin/migrations-postgres/0001_message_feedback.sql +9 -0
  8. nao_core/bin/migrations-postgres/0002_chat_message_stop_reason_and_error_message.sql +2 -0
  9. nao_core/bin/migrations-postgres/0003_handle_slack_with_thread.sql +2 -0
  10. nao_core/bin/migrations-postgres/0004_input_and_output_tokens.sql +8 -0
  11. nao_core/bin/migrations-postgres/0005_add_project_tables.sql +39 -0
  12. nao_core/bin/migrations-postgres/0006_llm_model_ids.sql +4 -0
  13. nao_core/bin/migrations-postgres/0007_chat_message_llm_info.sql +2 -0
  14. nao_core/bin/migrations-postgres/meta/0000_snapshot.json +707 -0
  15. nao_core/bin/migrations-postgres/meta/0001_snapshot.json +766 -0
  16. nao_core/bin/migrations-postgres/meta/0002_snapshot.json +778 -0
  17. nao_core/bin/migrations-postgres/meta/0003_snapshot.json +799 -0
  18. nao_core/bin/migrations-postgres/meta/0004_snapshot.json +847 -0
  19. nao_core/bin/migrations-postgres/meta/0005_snapshot.json +1129 -0
  20. nao_core/bin/migrations-postgres/meta/0006_snapshot.json +1141 -0
  21. nao_core/bin/migrations-postgres/meta/_journal.json +62 -0
  22. nao_core/bin/migrations-sqlite/0000_user_auth_and_chat_tables.sql +98 -0
  23. nao_core/bin/migrations-sqlite/0001_message_feedback.sql +8 -0
  24. nao_core/bin/migrations-sqlite/0002_chat_message_stop_reason_and_error_message.sql +2 -0
  25. nao_core/bin/migrations-sqlite/0003_handle_slack_with_thread.sql +2 -0
  26. nao_core/bin/migrations-sqlite/0004_input_and_output_tokens.sql +8 -0
  27. nao_core/bin/migrations-sqlite/0005_add_project_tables.sql +38 -0
  28. nao_core/bin/migrations-sqlite/0006_llm_model_ids.sql +4 -0
  29. nao_core/bin/migrations-sqlite/0007_chat_message_llm_info.sql +2 -0
  30. nao_core/bin/migrations-sqlite/meta/0000_snapshot.json +674 -0
  31. nao_core/bin/migrations-sqlite/meta/0001_snapshot.json +735 -0
  32. nao_core/bin/migrations-sqlite/meta/0002_snapshot.json +749 -0
  33. nao_core/bin/migrations-sqlite/meta/0003_snapshot.json +763 -0
  34. nao_core/bin/migrations-sqlite/meta/0004_snapshot.json +819 -0
  35. nao_core/bin/migrations-sqlite/meta/0005_snapshot.json +1086 -0
  36. nao_core/bin/migrations-sqlite/meta/0006_snapshot.json +1100 -0
  37. nao_core/bin/migrations-sqlite/meta/_journal.json +62 -0
  38. nao_core/bin/nao-chat-server +0 -0
  39. nao_core/bin/public/assets/code-block-F6WJLWQG-CV0uOmNJ.js +153 -0
  40. nao_core/bin/public/assets/index-DcbndLHo.css +1 -0
  41. nao_core/bin/public/assets/index-t1hZI3nl.js +560 -0
  42. nao_core/bin/public/favicon.ico +0 -0
  43. nao_core/bin/public/index.html +18 -0
  44. nao_core/bin/rg +0 -0
  45. nao_core/commands/__init__.py +6 -0
  46. nao_core/commands/chat.py +225 -0
  47. nao_core/commands/debug.py +158 -0
  48. nao_core/commands/init.py +358 -0
  49. nao_core/commands/sync/__init__.py +124 -0
  50. nao_core/commands/sync/accessors.py +290 -0
  51. nao_core/commands/sync/cleanup.py +156 -0
  52. nao_core/commands/sync/providers/__init__.py +32 -0
  53. nao_core/commands/sync/providers/base.py +113 -0
  54. nao_core/commands/sync/providers/databases/__init__.py +17 -0
  55. nao_core/commands/sync/providers/databases/bigquery.py +79 -0
  56. nao_core/commands/sync/providers/databases/databricks.py +79 -0
  57. nao_core/commands/sync/providers/databases/duckdb.py +78 -0
  58. nao_core/commands/sync/providers/databases/postgres.py +79 -0
  59. nao_core/commands/sync/providers/databases/provider.py +129 -0
  60. nao_core/commands/sync/providers/databases/snowflake.py +79 -0
  61. nao_core/commands/sync/providers/notion/__init__.py +5 -0
  62. nao_core/commands/sync/providers/notion/provider.py +205 -0
  63. nao_core/commands/sync/providers/repositories/__init__.py +5 -0
  64. nao_core/commands/sync/providers/repositories/provider.py +134 -0
  65. nao_core/commands/sync/registry.py +23 -0
  66. nao_core/config/__init__.py +30 -0
  67. nao_core/config/base.py +100 -0
  68. nao_core/config/databases/__init__.py +55 -0
  69. nao_core/config/databases/base.py +85 -0
  70. nao_core/config/databases/bigquery.py +99 -0
  71. nao_core/config/databases/databricks.py +79 -0
  72. nao_core/config/databases/duckdb.py +41 -0
  73. nao_core/config/databases/postgres.py +83 -0
  74. nao_core/config/databases/snowflake.py +125 -0
  75. nao_core/config/exceptions.py +7 -0
  76. nao_core/config/llm/__init__.py +19 -0
  77. nao_core/config/notion/__init__.py +8 -0
  78. nao_core/config/repos/__init__.py +3 -0
  79. nao_core/config/repos/base.py +11 -0
  80. nao_core/config/slack/__init__.py +12 -0
  81. nao_core/context/__init__.py +54 -0
  82. nao_core/context/base.py +57 -0
  83. nao_core/context/git.py +177 -0
  84. nao_core/context/local.py +59 -0
  85. nao_core/main.py +13 -0
  86. nao_core/templates/__init__.py +41 -0
  87. nao_core/templates/context.py +193 -0
  88. nao_core/templates/defaults/databases/columns.md.j2 +23 -0
  89. nao_core/templates/defaults/databases/description.md.j2 +32 -0
  90. nao_core/templates/defaults/databases/preview.md.j2 +22 -0
  91. nao_core/templates/defaults/databases/profiling.md.j2 +34 -0
  92. nao_core/templates/engine.py +133 -0
  93. nao_core/templates/render.py +196 -0
  94. nao_core-0.0.38.dist-info/METADATA +150 -0
  95. nao_core-0.0.38.dist-info/RECORD +98 -0
  96. nao_core-0.0.38.dist-info/WHEEL +4 -0
  97. nao_core-0.0.38.dist-info/entry_points.txt +2 -0
  98. nao_core-0.0.38.dist-info/licenses/LICENSE +22 -0
@@ -0,0 +1,674 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "a929d7d8-a1ad-4cfe-ba25-452885ebbfdc",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
6
+ "tables": {
7
+ "account": {
8
+ "name": "account",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "account_id": {
18
+ "name": "account_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "provider_id": {
25
+ "name": "provider_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "user_id": {
32
+ "name": "user_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "access_token": {
39
+ "name": "access_token",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false
44
+ },
45
+ "refresh_token": {
46
+ "name": "refresh_token",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": false,
50
+ "autoincrement": false
51
+ },
52
+ "id_token": {
53
+ "name": "id_token",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": false,
57
+ "autoincrement": false
58
+ },
59
+ "access_token_expires_at": {
60
+ "name": "access_token_expires_at",
61
+ "type": "integer",
62
+ "primaryKey": false,
63
+ "notNull": false,
64
+ "autoincrement": false
65
+ },
66
+ "refresh_token_expires_at": {
67
+ "name": "refresh_token_expires_at",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": false,
71
+ "autoincrement": false
72
+ },
73
+ "scope": {
74
+ "name": "scope",
75
+ "type": "text",
76
+ "primaryKey": false,
77
+ "notNull": false,
78
+ "autoincrement": false
79
+ },
80
+ "password": {
81
+ "name": "password",
82
+ "type": "text",
83
+ "primaryKey": false,
84
+ "notNull": false,
85
+ "autoincrement": false
86
+ },
87
+ "created_at": {
88
+ "name": "created_at",
89
+ "type": "integer",
90
+ "primaryKey": false,
91
+ "notNull": true,
92
+ "autoincrement": false,
93
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
94
+ },
95
+ "updated_at": {
96
+ "name": "updated_at",
97
+ "type": "integer",
98
+ "primaryKey": false,
99
+ "notNull": true,
100
+ "autoincrement": false
101
+ }
102
+ },
103
+ "indexes": {
104
+ "account_userId_idx": {
105
+ "name": "account_userId_idx",
106
+ "columns": [
107
+ "user_id"
108
+ ],
109
+ "isUnique": false
110
+ }
111
+ },
112
+ "foreignKeys": {
113
+ "account_user_id_user_id_fk": {
114
+ "name": "account_user_id_user_id_fk",
115
+ "tableFrom": "account",
116
+ "tableTo": "user",
117
+ "columnsFrom": [
118
+ "user_id"
119
+ ],
120
+ "columnsTo": [
121
+ "id"
122
+ ],
123
+ "onDelete": "cascade",
124
+ "onUpdate": "no action"
125
+ }
126
+ },
127
+ "compositePrimaryKeys": {},
128
+ "uniqueConstraints": {},
129
+ "checkConstraints": {}
130
+ },
131
+ "chat": {
132
+ "name": "chat",
133
+ "columns": {
134
+ "id": {
135
+ "name": "id",
136
+ "type": "text",
137
+ "primaryKey": true,
138
+ "notNull": true,
139
+ "autoincrement": false
140
+ },
141
+ "user_id": {
142
+ "name": "user_id",
143
+ "type": "text",
144
+ "primaryKey": false,
145
+ "notNull": true,
146
+ "autoincrement": false
147
+ },
148
+ "title": {
149
+ "name": "title",
150
+ "type": "text",
151
+ "primaryKey": false,
152
+ "notNull": true,
153
+ "autoincrement": false,
154
+ "default": "'New Conversation'"
155
+ },
156
+ "created_at": {
157
+ "name": "created_at",
158
+ "type": "integer",
159
+ "primaryKey": false,
160
+ "notNull": true,
161
+ "autoincrement": false,
162
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
163
+ },
164
+ "updated_at": {
165
+ "name": "updated_at",
166
+ "type": "integer",
167
+ "primaryKey": false,
168
+ "notNull": true,
169
+ "autoincrement": false,
170
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
171
+ }
172
+ },
173
+ "indexes": {
174
+ "chat_userId_idx": {
175
+ "name": "chat_userId_idx",
176
+ "columns": [
177
+ "user_id"
178
+ ],
179
+ "isUnique": false
180
+ }
181
+ },
182
+ "foreignKeys": {
183
+ "chat_user_id_user_id_fk": {
184
+ "name": "chat_user_id_user_id_fk",
185
+ "tableFrom": "chat",
186
+ "tableTo": "user",
187
+ "columnsFrom": [
188
+ "user_id"
189
+ ],
190
+ "columnsTo": [
191
+ "id"
192
+ ],
193
+ "onDelete": "cascade",
194
+ "onUpdate": "no action"
195
+ }
196
+ },
197
+ "compositePrimaryKeys": {},
198
+ "uniqueConstraints": {},
199
+ "checkConstraints": {}
200
+ },
201
+ "chat_message": {
202
+ "name": "chat_message",
203
+ "columns": {
204
+ "id": {
205
+ "name": "id",
206
+ "type": "text",
207
+ "primaryKey": true,
208
+ "notNull": true,
209
+ "autoincrement": false
210
+ },
211
+ "chat_id": {
212
+ "name": "chat_id",
213
+ "type": "text",
214
+ "primaryKey": false,
215
+ "notNull": true,
216
+ "autoincrement": false
217
+ },
218
+ "role": {
219
+ "name": "role",
220
+ "type": "text",
221
+ "primaryKey": false,
222
+ "notNull": true,
223
+ "autoincrement": false
224
+ },
225
+ "created_at": {
226
+ "name": "created_at",
227
+ "type": "integer",
228
+ "primaryKey": false,
229
+ "notNull": true,
230
+ "autoincrement": false,
231
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
232
+ }
233
+ },
234
+ "indexes": {
235
+ "chat_message_chatId_idx": {
236
+ "name": "chat_message_chatId_idx",
237
+ "columns": [
238
+ "chat_id"
239
+ ],
240
+ "isUnique": false
241
+ },
242
+ "chat_message_createdAt_idx": {
243
+ "name": "chat_message_createdAt_idx",
244
+ "columns": [
245
+ "created_at"
246
+ ],
247
+ "isUnique": false
248
+ }
249
+ },
250
+ "foreignKeys": {
251
+ "chat_message_chat_id_chat_id_fk": {
252
+ "name": "chat_message_chat_id_chat_id_fk",
253
+ "tableFrom": "chat_message",
254
+ "tableTo": "chat",
255
+ "columnsFrom": [
256
+ "chat_id"
257
+ ],
258
+ "columnsTo": [
259
+ "id"
260
+ ],
261
+ "onDelete": "cascade",
262
+ "onUpdate": "no action"
263
+ }
264
+ },
265
+ "compositePrimaryKeys": {},
266
+ "uniqueConstraints": {},
267
+ "checkConstraints": {}
268
+ },
269
+ "message_part": {
270
+ "name": "message_part",
271
+ "columns": {
272
+ "id": {
273
+ "name": "id",
274
+ "type": "text",
275
+ "primaryKey": true,
276
+ "notNull": true,
277
+ "autoincrement": false
278
+ },
279
+ "message_id": {
280
+ "name": "message_id",
281
+ "type": "text",
282
+ "primaryKey": false,
283
+ "notNull": true,
284
+ "autoincrement": false
285
+ },
286
+ "order": {
287
+ "name": "order",
288
+ "type": "integer",
289
+ "primaryKey": false,
290
+ "notNull": true,
291
+ "autoincrement": false
292
+ },
293
+ "created_at": {
294
+ "name": "created_at",
295
+ "type": "integer",
296
+ "primaryKey": false,
297
+ "notNull": true,
298
+ "autoincrement": false,
299
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
300
+ },
301
+ "type": {
302
+ "name": "type",
303
+ "type": "text",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false
307
+ },
308
+ "text": {
309
+ "name": "text",
310
+ "type": "text",
311
+ "primaryKey": false,
312
+ "notNull": false,
313
+ "autoincrement": false
314
+ },
315
+ "reasoning_text": {
316
+ "name": "reasoning_text",
317
+ "type": "text",
318
+ "primaryKey": false,
319
+ "notNull": false,
320
+ "autoincrement": false
321
+ },
322
+ "tool_call_id": {
323
+ "name": "tool_call_id",
324
+ "type": "text",
325
+ "primaryKey": false,
326
+ "notNull": false,
327
+ "autoincrement": false
328
+ },
329
+ "tool_name": {
330
+ "name": "tool_name",
331
+ "type": "text",
332
+ "primaryKey": false,
333
+ "notNull": false,
334
+ "autoincrement": false
335
+ },
336
+ "tool_state": {
337
+ "name": "tool_state",
338
+ "type": "text",
339
+ "primaryKey": false,
340
+ "notNull": false,
341
+ "autoincrement": false
342
+ },
343
+ "tool_error_text": {
344
+ "name": "tool_error_text",
345
+ "type": "text",
346
+ "primaryKey": false,
347
+ "notNull": false,
348
+ "autoincrement": false
349
+ },
350
+ "tool_input": {
351
+ "name": "tool_input",
352
+ "type": "text",
353
+ "primaryKey": false,
354
+ "notNull": false,
355
+ "autoincrement": false
356
+ },
357
+ "tool_output": {
358
+ "name": "tool_output",
359
+ "type": "text",
360
+ "primaryKey": false,
361
+ "notNull": false,
362
+ "autoincrement": false
363
+ },
364
+ "tool_approval_id": {
365
+ "name": "tool_approval_id",
366
+ "type": "text",
367
+ "primaryKey": false,
368
+ "notNull": false,
369
+ "autoincrement": false
370
+ },
371
+ "tool_approval_approved": {
372
+ "name": "tool_approval_approved",
373
+ "type": "integer",
374
+ "primaryKey": false,
375
+ "notNull": false,
376
+ "autoincrement": false
377
+ },
378
+ "tool_approval_reason": {
379
+ "name": "tool_approval_reason",
380
+ "type": "text",
381
+ "primaryKey": false,
382
+ "notNull": false,
383
+ "autoincrement": false
384
+ }
385
+ },
386
+ "indexes": {
387
+ "parts_message_id_idx": {
388
+ "name": "parts_message_id_idx",
389
+ "columns": [
390
+ "message_id"
391
+ ],
392
+ "isUnique": false
393
+ },
394
+ "parts_message_id_order_idx": {
395
+ "name": "parts_message_id_order_idx",
396
+ "columns": [
397
+ "message_id",
398
+ "order"
399
+ ],
400
+ "isUnique": false
401
+ }
402
+ },
403
+ "foreignKeys": {
404
+ "message_part_message_id_chat_message_id_fk": {
405
+ "name": "message_part_message_id_chat_message_id_fk",
406
+ "tableFrom": "message_part",
407
+ "tableTo": "chat_message",
408
+ "columnsFrom": [
409
+ "message_id"
410
+ ],
411
+ "columnsTo": [
412
+ "id"
413
+ ],
414
+ "onDelete": "cascade",
415
+ "onUpdate": "no action"
416
+ }
417
+ },
418
+ "compositePrimaryKeys": {},
419
+ "uniqueConstraints": {},
420
+ "checkConstraints": {
421
+ "text_required_if_type_is_text": {
422
+ "name": "text_required_if_type_is_text",
423
+ "value": "CASE WHEN \"message_part\".\"type\" = 'text' THEN \"message_part\".\"text\" IS NOT NULL ELSE TRUE END"
424
+ },
425
+ "reasoning_text_required_if_type_is_reasoning": {
426
+ "name": "reasoning_text_required_if_type_is_reasoning",
427
+ "value": "CASE WHEN \"message_part\".\"type\" = 'reasoning' THEN \"message_part\".\"reasoning_text\" IS NOT NULL ELSE TRUE END"
428
+ },
429
+ "tool_call_fields_required": {
430
+ "name": "tool_call_fields_required",
431
+ "value": "CASE WHEN \"message_part\".\"type\" LIKE 'tool-%' THEN \"message_part\".\"tool_call_id\" IS NOT NULL AND \"message_part\".\"tool_state\" IS NOT NULL ELSE TRUE END"
432
+ }
433
+ }
434
+ },
435
+ "session": {
436
+ "name": "session",
437
+ "columns": {
438
+ "id": {
439
+ "name": "id",
440
+ "type": "text",
441
+ "primaryKey": true,
442
+ "notNull": true,
443
+ "autoincrement": false
444
+ },
445
+ "expires_at": {
446
+ "name": "expires_at",
447
+ "type": "integer",
448
+ "primaryKey": false,
449
+ "notNull": true,
450
+ "autoincrement": false
451
+ },
452
+ "token": {
453
+ "name": "token",
454
+ "type": "text",
455
+ "primaryKey": false,
456
+ "notNull": true,
457
+ "autoincrement": false
458
+ },
459
+ "created_at": {
460
+ "name": "created_at",
461
+ "type": "integer",
462
+ "primaryKey": false,
463
+ "notNull": true,
464
+ "autoincrement": false,
465
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
466
+ },
467
+ "updated_at": {
468
+ "name": "updated_at",
469
+ "type": "integer",
470
+ "primaryKey": false,
471
+ "notNull": true,
472
+ "autoincrement": false
473
+ },
474
+ "ip_address": {
475
+ "name": "ip_address",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": false,
479
+ "autoincrement": false
480
+ },
481
+ "user_agent": {
482
+ "name": "user_agent",
483
+ "type": "text",
484
+ "primaryKey": false,
485
+ "notNull": false,
486
+ "autoincrement": false
487
+ },
488
+ "user_id": {
489
+ "name": "user_id",
490
+ "type": "text",
491
+ "primaryKey": false,
492
+ "notNull": true,
493
+ "autoincrement": false
494
+ }
495
+ },
496
+ "indexes": {
497
+ "session_token_unique": {
498
+ "name": "session_token_unique",
499
+ "columns": [
500
+ "token"
501
+ ],
502
+ "isUnique": true
503
+ },
504
+ "session_userId_idx": {
505
+ "name": "session_userId_idx",
506
+ "columns": [
507
+ "user_id"
508
+ ],
509
+ "isUnique": false
510
+ }
511
+ },
512
+ "foreignKeys": {
513
+ "session_user_id_user_id_fk": {
514
+ "name": "session_user_id_user_id_fk",
515
+ "tableFrom": "session",
516
+ "tableTo": "user",
517
+ "columnsFrom": [
518
+ "user_id"
519
+ ],
520
+ "columnsTo": [
521
+ "id"
522
+ ],
523
+ "onDelete": "cascade",
524
+ "onUpdate": "no action"
525
+ }
526
+ },
527
+ "compositePrimaryKeys": {},
528
+ "uniqueConstraints": {},
529
+ "checkConstraints": {}
530
+ },
531
+ "user": {
532
+ "name": "user",
533
+ "columns": {
534
+ "id": {
535
+ "name": "id",
536
+ "type": "text",
537
+ "primaryKey": true,
538
+ "notNull": true,
539
+ "autoincrement": false
540
+ },
541
+ "name": {
542
+ "name": "name",
543
+ "type": "text",
544
+ "primaryKey": false,
545
+ "notNull": true,
546
+ "autoincrement": false
547
+ },
548
+ "email": {
549
+ "name": "email",
550
+ "type": "text",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "autoincrement": false
554
+ },
555
+ "email_verified": {
556
+ "name": "email_verified",
557
+ "type": "integer",
558
+ "primaryKey": false,
559
+ "notNull": true,
560
+ "autoincrement": false,
561
+ "default": false
562
+ },
563
+ "image": {
564
+ "name": "image",
565
+ "type": "text",
566
+ "primaryKey": false,
567
+ "notNull": false,
568
+ "autoincrement": false
569
+ },
570
+ "created_at": {
571
+ "name": "created_at",
572
+ "type": "integer",
573
+ "primaryKey": false,
574
+ "notNull": true,
575
+ "autoincrement": false,
576
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
577
+ },
578
+ "updated_at": {
579
+ "name": "updated_at",
580
+ "type": "integer",
581
+ "primaryKey": false,
582
+ "notNull": true,
583
+ "autoincrement": false,
584
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
585
+ }
586
+ },
587
+ "indexes": {
588
+ "user_email_unique": {
589
+ "name": "user_email_unique",
590
+ "columns": [
591
+ "email"
592
+ ],
593
+ "isUnique": true
594
+ }
595
+ },
596
+ "foreignKeys": {},
597
+ "compositePrimaryKeys": {},
598
+ "uniqueConstraints": {},
599
+ "checkConstraints": {}
600
+ },
601
+ "verification": {
602
+ "name": "verification",
603
+ "columns": {
604
+ "id": {
605
+ "name": "id",
606
+ "type": "text",
607
+ "primaryKey": true,
608
+ "notNull": true,
609
+ "autoincrement": false
610
+ },
611
+ "identifier": {
612
+ "name": "identifier",
613
+ "type": "text",
614
+ "primaryKey": false,
615
+ "notNull": true,
616
+ "autoincrement": false
617
+ },
618
+ "value": {
619
+ "name": "value",
620
+ "type": "text",
621
+ "primaryKey": false,
622
+ "notNull": true,
623
+ "autoincrement": false
624
+ },
625
+ "expires_at": {
626
+ "name": "expires_at",
627
+ "type": "integer",
628
+ "primaryKey": false,
629
+ "notNull": true,
630
+ "autoincrement": false
631
+ },
632
+ "created_at": {
633
+ "name": "created_at",
634
+ "type": "integer",
635
+ "primaryKey": false,
636
+ "notNull": true,
637
+ "autoincrement": false,
638
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
639
+ },
640
+ "updated_at": {
641
+ "name": "updated_at",
642
+ "type": "integer",
643
+ "primaryKey": false,
644
+ "notNull": true,
645
+ "autoincrement": false,
646
+ "default": "(cast(unixepoch('subsecond') * 1000 as integer))"
647
+ }
648
+ },
649
+ "indexes": {
650
+ "verification_identifier_idx": {
651
+ "name": "verification_identifier_idx",
652
+ "columns": [
653
+ "identifier"
654
+ ],
655
+ "isUnique": false
656
+ }
657
+ },
658
+ "foreignKeys": {},
659
+ "compositePrimaryKeys": {},
660
+ "uniqueConstraints": {},
661
+ "checkConstraints": {}
662
+ }
663
+ },
664
+ "views": {},
665
+ "enums": {},
666
+ "_meta": {
667
+ "schemas": {},
668
+ "tables": {},
669
+ "columns": {}
670
+ },
671
+ "internal": {
672
+ "indexes": {}
673
+ }
674
+ }