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