@adhd/agent-store-prompts 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/drizzle/0000_third_nitro.sql +19 -0
  2. package/drizzle/0001_agents_and_taxonomy.sql +26 -0
  3. package/drizzle/0002_agent_components_junction.sql +13 -0
  4. package/drizzle/0003_usecase_context_rules.sql +31 -0
  5. package/drizzle/0004_composed_prompts.sql +10 -0
  6. package/drizzle/0005_warm_norman_osborn.sql +48 -0
  7. package/drizzle/0006_component_head_version_split.sql +78 -0
  8. package/drizzle/meta/0000_snapshot.json +137 -0
  9. package/drizzle/meta/0001_snapshot.json +302 -0
  10. package/drizzle/meta/0002_snapshot.json +381 -0
  11. package/drizzle/meta/0004_snapshot.json +594 -0
  12. package/drizzle/meta/0005_snapshot.json +594 -0
  13. package/drizzle/meta/0006_snapshot.json +672 -0
  14. package/drizzle/meta/_journal.json +55 -0
  15. package/package.json +51 -0
  16. package/src/db/client.d.ts +7 -0
  17. package/src/db/client.d.ts.map +1 -0
  18. package/src/db/client.js +24 -0
  19. package/src/db/client.js.map +1 -0
  20. package/src/db/migrate-runner.d.ts +31 -0
  21. package/src/db/migrate-runner.d.ts.map +1 -0
  22. package/src/db/migrate-runner.js +35 -0
  23. package/src/db/migrate-runner.js.map +1 -0
  24. package/src/db/migrate.d.ts +9 -0
  25. package/src/db/migrate.d.ts.map +1 -0
  26. package/src/db/migrate.js +13 -0
  27. package/src/db/migrate.js.map +1 -0
  28. package/src/db/schema.d.ts +997 -0
  29. package/src/db/schema.d.ts.map +1 -0
  30. package/src/db/schema.js +323 -0
  31. package/src/db/schema.js.map +1 -0
  32. package/src/index.d.ts +21 -0
  33. package/src/index.d.ts.map +1 -0
  34. package/src/index.js +23 -0
  35. package/src/index.js.map +1 -0
  36. package/src/seed/components.d.ts +23 -0
  37. package/src/seed/components.d.ts.map +1 -0
  38. package/src/seed/components.js +399 -0
  39. package/src/seed/components.js.map +1 -0
  40. package/src/seed/index.d.ts +30 -0
  41. package/src/seed/index.d.ts.map +1 -0
  42. package/src/seed/index.js +95 -0
  43. package/src/seed/index.js.map +1 -0
  44. package/src/seed/prompt-types.d.ts +17 -0
  45. package/src/seed/prompt-types.d.ts.map +1 -0
  46. package/src/seed/prompt-types.js +107 -0
  47. package/src/seed/prompt-types.js.map +1 -0
  48. package/src/store/agent-store.d.ts +113 -0
  49. package/src/store/agent-store.d.ts.map +1 -0
  50. package/src/store/agent-store.js +211 -0
  51. package/src/store/agent-store.js.map +1 -0
  52. package/src/store/component-store.d.ts +87 -0
  53. package/src/store/component-store.d.ts.map +1 -0
  54. package/src/store/component-store.js +305 -0
  55. package/src/store/component-store.js.map +1 -0
  56. package/src/store/composed-prompt-store.d.ts +72 -0
  57. package/src/store/composed-prompt-store.d.ts.map +1 -0
  58. package/src/store/composed-prompt-store.js +147 -0
  59. package/src/store/composed-prompt-store.js.map +1 -0
  60. package/src/store/composition-store.d.ts +117 -0
  61. package/src/store/composition-store.d.ts.map +1 -0
  62. package/src/store/composition-store.js +270 -0
  63. package/src/store/composition-store.js.map +1 -0
  64. package/src/store/usecase-store.d.ts +104 -0
  65. package/src/store/usecase-store.d.ts.map +1 -0
  66. package/src/store/usecase-store.js +158 -0
  67. package/src/store/usecase-store.js.map +1 -0
@@ -0,0 +1,672 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "e5ab81b7-404e-4612-8cf4-b8fe411d966a",
5
+ "prevId": "3a8f5146-5db0-4c18-98a8-1761ac94267a",
6
+ "tables": {
7
+ "registry_agent_components": {
8
+ "name": "registry_agent_components",
9
+ "columns": {
10
+ "agent_slug": {
11
+ "name": "agent_slug",
12
+ "type": "text",
13
+ "primaryKey": false,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "component_slug": {
18
+ "name": "component_slug",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "position": {
25
+ "name": "position",
26
+ "type": "integer",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "version_pin": {
32
+ "name": "version_pin",
33
+ "type": "integer",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "context_condition": {
39
+ "name": "context_condition",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false
44
+ },
45
+ "is_required": {
46
+ "name": "is_required",
47
+ "type": "integer",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false,
51
+ "default": false
52
+ }
53
+ },
54
+ "indexes": {
55
+ "registry_agent_components_agent_idx": {
56
+ "name": "registry_agent_components_agent_idx",
57
+ "columns": ["agent_slug"],
58
+ "isUnique": false
59
+ },
60
+ "registry_agent_components_position_idx": {
61
+ "name": "registry_agent_components_position_idx",
62
+ "columns": ["agent_slug", "position"],
63
+ "isUnique": false
64
+ }
65
+ },
66
+ "foreignKeys": {
67
+ "registry_agent_components_agent_slug_registry_agents_slug_fk": {
68
+ "name": "registry_agent_components_agent_slug_registry_agents_slug_fk",
69
+ "tableFrom": "registry_agent_components",
70
+ "tableTo": "registry_agents",
71
+ "columnsFrom": ["agent_slug"],
72
+ "columnsTo": ["slug"],
73
+ "onDelete": "no action",
74
+ "onUpdate": "no action"
75
+ },
76
+ "registry_agent_components_component_slug_registry_components_slug_fk": {
77
+ "name": "registry_agent_components_component_slug_registry_components_slug_fk",
78
+ "tableFrom": "registry_agent_components",
79
+ "tableTo": "registry_components",
80
+ "columnsFrom": ["component_slug"],
81
+ "columnsTo": ["slug"],
82
+ "onDelete": "no action",
83
+ "onUpdate": "no action"
84
+ },
85
+ "registry_agent_components_version_pin_registry_component_versions_version_id_fk": {
86
+ "name": "registry_agent_components_version_pin_registry_component_versions_version_id_fk",
87
+ "tableFrom": "registry_agent_components",
88
+ "tableTo": "registry_component_versions",
89
+ "columnsFrom": ["version_pin"],
90
+ "columnsTo": ["version_id"],
91
+ "onDelete": "no action",
92
+ "onUpdate": "no action"
93
+ }
94
+ },
95
+ "compositePrimaryKeys": {
96
+ "registry_agent_components_agent_slug_component_slug_position_pk": {
97
+ "columns": ["agent_slug", "component_slug", "position"],
98
+ "name": "registry_agent_components_agent_slug_component_slug_position_pk"
99
+ }
100
+ },
101
+ "uniqueConstraints": {},
102
+ "checkConstraints": {}
103
+ },
104
+ "registry_agents": {
105
+ "name": "registry_agents",
106
+ "columns": {
107
+ "slug": {
108
+ "name": "slug",
109
+ "type": "text",
110
+ "primaryKey": true,
111
+ "notNull": true,
112
+ "autoincrement": false
113
+ },
114
+ "display_name": {
115
+ "name": "display_name",
116
+ "type": "text",
117
+ "primaryKey": false,
118
+ "notNull": true,
119
+ "autoincrement": false
120
+ },
121
+ "description": {
122
+ "name": "description",
123
+ "type": "text",
124
+ "primaryKey": false,
125
+ "notNull": true,
126
+ "autoincrement": false,
127
+ "default": "''"
128
+ },
129
+ "status": {
130
+ "name": "status",
131
+ "type": "text",
132
+ "primaryKey": false,
133
+ "notNull": true,
134
+ "autoincrement": false,
135
+ "default": "'draft'"
136
+ },
137
+ "model_hint": {
138
+ "name": "model_hint",
139
+ "type": "text",
140
+ "primaryKey": false,
141
+ "notNull": false,
142
+ "autoincrement": false
143
+ },
144
+ "taxonomy_category": {
145
+ "name": "taxonomy_category",
146
+ "type": "text",
147
+ "primaryKey": false,
148
+ "notNull": false,
149
+ "autoincrement": false
150
+ },
151
+ "default_posture": {
152
+ "name": "default_posture",
153
+ "type": "text",
154
+ "primaryKey": false,
155
+ "notNull": true,
156
+ "autoincrement": false,
157
+ "default": "'needs_work'"
158
+ },
159
+ "created_at": {
160
+ "name": "created_at",
161
+ "type": "text",
162
+ "primaryKey": false,
163
+ "notNull": true,
164
+ "autoincrement": false
165
+ },
166
+ "updated_at": {
167
+ "name": "updated_at",
168
+ "type": "text",
169
+ "primaryKey": false,
170
+ "notNull": true,
171
+ "autoincrement": false
172
+ }
173
+ },
174
+ "indexes": {
175
+ "registry_agents_status_idx": {
176
+ "name": "registry_agents_status_idx",
177
+ "columns": ["status"],
178
+ "isUnique": false
179
+ },
180
+ "registry_agents_category_idx": {
181
+ "name": "registry_agents_category_idx",
182
+ "columns": ["taxonomy_category"],
183
+ "isUnique": false
184
+ }
185
+ },
186
+ "foreignKeys": {
187
+ "registry_agents_taxonomy_category_registry_taxonomy_categories_slug_fk": {
188
+ "name": "registry_agents_taxonomy_category_registry_taxonomy_categories_slug_fk",
189
+ "tableFrom": "registry_agents",
190
+ "tableTo": "registry_taxonomy_categories",
191
+ "columnsFrom": ["taxonomy_category"],
192
+ "columnsTo": ["slug"],
193
+ "onDelete": "no action",
194
+ "onUpdate": "no action"
195
+ }
196
+ },
197
+ "compositePrimaryKeys": {},
198
+ "uniqueConstraints": {},
199
+ "checkConstraints": {}
200
+ },
201
+ "registry_component_usage": {
202
+ "name": "registry_component_usage",
203
+ "columns": {
204
+ "component_slug": {
205
+ "name": "component_slug",
206
+ "type": "text",
207
+ "primaryKey": false,
208
+ "notNull": true,
209
+ "autoincrement": false
210
+ },
211
+ "use_case_slug": {
212
+ "name": "use_case_slug",
213
+ "type": "text",
214
+ "primaryKey": false,
215
+ "notNull": true,
216
+ "autoincrement": false
217
+ },
218
+ "weight": {
219
+ "name": "weight",
220
+ "type": "integer",
221
+ "primaryKey": false,
222
+ "notNull": false,
223
+ "autoincrement": false
224
+ }
225
+ },
226
+ "indexes": {
227
+ "registry_component_usage_use_case_idx": {
228
+ "name": "registry_component_usage_use_case_idx",
229
+ "columns": ["use_case_slug"],
230
+ "isUnique": false
231
+ },
232
+ "registry_component_usage_component_idx": {
233
+ "name": "registry_component_usage_component_idx",
234
+ "columns": ["component_slug"],
235
+ "isUnique": false
236
+ }
237
+ },
238
+ "foreignKeys": {
239
+ "registry_component_usage_component_slug_registry_components_slug_fk": {
240
+ "name": "registry_component_usage_component_slug_registry_components_slug_fk",
241
+ "tableFrom": "registry_component_usage",
242
+ "tableTo": "registry_components",
243
+ "columnsFrom": ["component_slug"],
244
+ "columnsTo": ["slug"],
245
+ "onDelete": "no action",
246
+ "onUpdate": "no action"
247
+ },
248
+ "registry_component_usage_use_case_slug_registry_use_cases_slug_fk": {
249
+ "name": "registry_component_usage_use_case_slug_registry_use_cases_slug_fk",
250
+ "tableFrom": "registry_component_usage",
251
+ "tableTo": "registry_use_cases",
252
+ "columnsFrom": ["use_case_slug"],
253
+ "columnsTo": ["slug"],
254
+ "onDelete": "no action",
255
+ "onUpdate": "no action"
256
+ }
257
+ },
258
+ "compositePrimaryKeys": {
259
+ "registry_component_usage_component_slug_use_case_slug_pk": {
260
+ "columns": ["component_slug", "use_case_slug"],
261
+ "name": "registry_component_usage_component_slug_use_case_slug_pk"
262
+ }
263
+ },
264
+ "uniqueConstraints": {},
265
+ "checkConstraints": {}
266
+ },
267
+ "registry_component_versions": {
268
+ "name": "registry_component_versions",
269
+ "columns": {
270
+ "version_id": {
271
+ "name": "version_id",
272
+ "type": "integer",
273
+ "primaryKey": true,
274
+ "notNull": true,
275
+ "autoincrement": true
276
+ },
277
+ "slug": {
278
+ "name": "slug",
279
+ "type": "text",
280
+ "primaryKey": false,
281
+ "notNull": true,
282
+ "autoincrement": false
283
+ },
284
+ "version": {
285
+ "name": "version",
286
+ "type": "integer",
287
+ "primaryKey": false,
288
+ "notNull": true,
289
+ "autoincrement": false,
290
+ "default": 1
291
+ },
292
+ "content": {
293
+ "name": "content",
294
+ "type": "text",
295
+ "primaryKey": false,
296
+ "notNull": true,
297
+ "autoincrement": false
298
+ },
299
+ "created_at": {
300
+ "name": "created_at",
301
+ "type": "text",
302
+ "primaryKey": false,
303
+ "notNull": true,
304
+ "autoincrement": false
305
+ },
306
+ "updated_at": {
307
+ "name": "updated_at",
308
+ "type": "text",
309
+ "primaryKey": false,
310
+ "notNull": true,
311
+ "autoincrement": false
312
+ }
313
+ },
314
+ "indexes": {
315
+ "registry_component_versions_slug_version_uq": {
316
+ "name": "registry_component_versions_slug_version_uq",
317
+ "columns": ["slug", "version"],
318
+ "isUnique": true
319
+ },
320
+ "registry_component_versions_slug_idx": {
321
+ "name": "registry_component_versions_slug_idx",
322
+ "columns": ["slug"],
323
+ "isUnique": false
324
+ }
325
+ },
326
+ "foreignKeys": {
327
+ "registry_component_versions_slug_registry_components_slug_fk": {
328
+ "name": "registry_component_versions_slug_registry_components_slug_fk",
329
+ "tableFrom": "registry_component_versions",
330
+ "tableTo": "registry_components",
331
+ "columnsFrom": ["slug"],
332
+ "columnsTo": ["slug"],
333
+ "onDelete": "no action",
334
+ "onUpdate": "no action"
335
+ }
336
+ },
337
+ "compositePrimaryKeys": {},
338
+ "uniqueConstraints": {},
339
+ "checkConstraints": {}
340
+ },
341
+ "registry_components": {
342
+ "name": "registry_components",
343
+ "columns": {
344
+ "slug": {
345
+ "name": "slug",
346
+ "type": "text",
347
+ "primaryKey": true,
348
+ "notNull": true,
349
+ "autoincrement": false
350
+ },
351
+ "type": {
352
+ "name": "type",
353
+ "type": "text",
354
+ "primaryKey": false,
355
+ "notNull": true,
356
+ "autoincrement": false
357
+ },
358
+ "is_shared": {
359
+ "name": "is_shared",
360
+ "type": "integer",
361
+ "primaryKey": false,
362
+ "notNull": true,
363
+ "autoincrement": false,
364
+ "default": false
365
+ },
366
+ "created_at": {
367
+ "name": "created_at",
368
+ "type": "text",
369
+ "primaryKey": false,
370
+ "notNull": true,
371
+ "autoincrement": false
372
+ }
373
+ },
374
+ "indexes": {
375
+ "registry_components_type_idx": {
376
+ "name": "registry_components_type_idx",
377
+ "columns": ["type"],
378
+ "isUnique": false
379
+ }
380
+ },
381
+ "foreignKeys": {
382
+ "registry_components_type_registry_prompt_types_slug_fk": {
383
+ "name": "registry_components_type_registry_prompt_types_slug_fk",
384
+ "tableFrom": "registry_components",
385
+ "tableTo": "registry_prompt_types",
386
+ "columnsFrom": ["type"],
387
+ "columnsTo": ["slug"],
388
+ "onDelete": "no action",
389
+ "onUpdate": "no action"
390
+ }
391
+ },
392
+ "compositePrimaryKeys": {},
393
+ "uniqueConstraints": {},
394
+ "checkConstraints": {}
395
+ },
396
+ "registry_composed_prompts": {
397
+ "name": "registry_composed_prompts",
398
+ "columns": {
399
+ "id": {
400
+ "name": "id",
401
+ "type": "integer",
402
+ "primaryKey": true,
403
+ "notNull": true,
404
+ "autoincrement": true
405
+ },
406
+ "agent_slug": {
407
+ "name": "agent_slug",
408
+ "type": "text",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "autoincrement": false
412
+ },
413
+ "context_hash": {
414
+ "name": "context_hash",
415
+ "type": "text",
416
+ "primaryKey": false,
417
+ "notNull": true,
418
+ "autoincrement": false
419
+ },
420
+ "content": {
421
+ "name": "content",
422
+ "type": "text",
423
+ "primaryKey": false,
424
+ "notNull": true,
425
+ "autoincrement": false
426
+ },
427
+ "component_versions": {
428
+ "name": "component_versions",
429
+ "type": "text",
430
+ "primaryKey": false,
431
+ "notNull": true,
432
+ "autoincrement": false
433
+ },
434
+ "created_at": {
435
+ "name": "created_at",
436
+ "type": "text",
437
+ "primaryKey": false,
438
+ "notNull": true,
439
+ "autoincrement": false
440
+ }
441
+ },
442
+ "indexes": {
443
+ "registry_composed_prompts_agent_hash_idx": {
444
+ "name": "registry_composed_prompts_agent_hash_idx",
445
+ "columns": ["agent_slug", "context_hash"],
446
+ "isUnique": false
447
+ }
448
+ },
449
+ "foreignKeys": {},
450
+ "compositePrimaryKeys": {},
451
+ "uniqueConstraints": {},
452
+ "checkConstraints": {}
453
+ },
454
+ "registry_context_rules": {
455
+ "name": "registry_context_rules",
456
+ "columns": {
457
+ "id": {
458
+ "name": "id",
459
+ "type": "integer",
460
+ "primaryKey": true,
461
+ "notNull": true,
462
+ "autoincrement": true
463
+ },
464
+ "agent_slug": {
465
+ "name": "agent_slug",
466
+ "type": "text",
467
+ "primaryKey": false,
468
+ "notNull": true,
469
+ "autoincrement": false
470
+ },
471
+ "condition": {
472
+ "name": "condition",
473
+ "type": "text",
474
+ "primaryKey": false,
475
+ "notNull": true,
476
+ "autoincrement": false
477
+ },
478
+ "component_slug": {
479
+ "name": "component_slug",
480
+ "type": "text",
481
+ "primaryKey": false,
482
+ "notNull": true,
483
+ "autoincrement": false
484
+ },
485
+ "position": {
486
+ "name": "position",
487
+ "type": "integer",
488
+ "primaryKey": false,
489
+ "notNull": false,
490
+ "autoincrement": false
491
+ }
492
+ },
493
+ "indexes": {
494
+ "registry_context_rules_agent_idx": {
495
+ "name": "registry_context_rules_agent_idx",
496
+ "columns": ["agent_slug"],
497
+ "isUnique": false
498
+ },
499
+ "registry_context_rules_component_idx": {
500
+ "name": "registry_context_rules_component_idx",
501
+ "columns": ["component_slug"],
502
+ "isUnique": false
503
+ }
504
+ },
505
+ "foreignKeys": {
506
+ "registry_context_rules_agent_slug_registry_agents_slug_fk": {
507
+ "name": "registry_context_rules_agent_slug_registry_agents_slug_fk",
508
+ "tableFrom": "registry_context_rules",
509
+ "tableTo": "registry_agents",
510
+ "columnsFrom": ["agent_slug"],
511
+ "columnsTo": ["slug"],
512
+ "onDelete": "no action",
513
+ "onUpdate": "no action"
514
+ },
515
+ "registry_context_rules_component_slug_registry_components_slug_fk": {
516
+ "name": "registry_context_rules_component_slug_registry_components_slug_fk",
517
+ "tableFrom": "registry_context_rules",
518
+ "tableTo": "registry_components",
519
+ "columnsFrom": ["component_slug"],
520
+ "columnsTo": ["slug"],
521
+ "onDelete": "no action",
522
+ "onUpdate": "no action"
523
+ }
524
+ },
525
+ "compositePrimaryKeys": {},
526
+ "uniqueConstraints": {},
527
+ "checkConstraints": {}
528
+ },
529
+ "registry_prompt_types": {
530
+ "name": "registry_prompt_types",
531
+ "columns": {
532
+ "slug": {
533
+ "name": "slug",
534
+ "type": "text",
535
+ "primaryKey": true,
536
+ "notNull": true,
537
+ "autoincrement": false
538
+ },
539
+ "description": {
540
+ "name": "description",
541
+ "type": "text",
542
+ "primaryKey": false,
543
+ "notNull": true,
544
+ "autoincrement": false
545
+ },
546
+ "is_system": {
547
+ "name": "is_system",
548
+ "type": "integer",
549
+ "primaryKey": false,
550
+ "notNull": true,
551
+ "autoincrement": false,
552
+ "default": false
553
+ }
554
+ },
555
+ "indexes": {},
556
+ "foreignKeys": {},
557
+ "compositePrimaryKeys": {},
558
+ "uniqueConstraints": {},
559
+ "checkConstraints": {}
560
+ },
561
+ "registry_taxonomy_categories": {
562
+ "name": "registry_taxonomy_categories",
563
+ "columns": {
564
+ "slug": {
565
+ "name": "slug",
566
+ "type": "text",
567
+ "primaryKey": true,
568
+ "notNull": true,
569
+ "autoincrement": false
570
+ },
571
+ "name": {
572
+ "name": "name",
573
+ "type": "text",
574
+ "primaryKey": false,
575
+ "notNull": true,
576
+ "autoincrement": false
577
+ },
578
+ "description": {
579
+ "name": "description",
580
+ "type": "text",
581
+ "primaryKey": false,
582
+ "notNull": true,
583
+ "autoincrement": false,
584
+ "default": "''"
585
+ },
586
+ "position": {
587
+ "name": "position",
588
+ "type": "integer",
589
+ "primaryKey": false,
590
+ "notNull": true,
591
+ "autoincrement": false,
592
+ "default": 0
593
+ },
594
+ "parent_slug": {
595
+ "name": "parent_slug",
596
+ "type": "text",
597
+ "primaryKey": false,
598
+ "notNull": false,
599
+ "autoincrement": false
600
+ }
601
+ },
602
+ "indexes": {
603
+ "registry_taxonomy_categories_position_idx": {
604
+ "name": "registry_taxonomy_categories_position_idx",
605
+ "columns": ["position"],
606
+ "isUnique": false
607
+ },
608
+ "registry_taxonomy_categories_parent_idx": {
609
+ "name": "registry_taxonomy_categories_parent_idx",
610
+ "columns": ["parent_slug"],
611
+ "isUnique": false
612
+ }
613
+ },
614
+ "foreignKeys": {
615
+ "registry_taxonomy_categories_parent_slug_registry_taxonomy_categories_slug_fk": {
616
+ "name": "registry_taxonomy_categories_parent_slug_registry_taxonomy_categories_slug_fk",
617
+ "tableFrom": "registry_taxonomy_categories",
618
+ "tableTo": "registry_taxonomy_categories",
619
+ "columnsFrom": ["parent_slug"],
620
+ "columnsTo": ["slug"],
621
+ "onDelete": "no action",
622
+ "onUpdate": "no action"
623
+ }
624
+ },
625
+ "compositePrimaryKeys": {},
626
+ "uniqueConstraints": {},
627
+ "checkConstraints": {}
628
+ },
629
+ "registry_use_cases": {
630
+ "name": "registry_use_cases",
631
+ "columns": {
632
+ "slug": {
633
+ "name": "slug",
634
+ "type": "text",
635
+ "primaryKey": true,
636
+ "notNull": true,
637
+ "autoincrement": false
638
+ },
639
+ "name": {
640
+ "name": "name",
641
+ "type": "text",
642
+ "primaryKey": false,
643
+ "notNull": true,
644
+ "autoincrement": false
645
+ },
646
+ "description": {
647
+ "name": "description",
648
+ "type": "text",
649
+ "primaryKey": false,
650
+ "notNull": true,
651
+ "autoincrement": false,
652
+ "default": "''"
653
+ }
654
+ },
655
+ "indexes": {},
656
+ "foreignKeys": {},
657
+ "compositePrimaryKeys": {},
658
+ "uniqueConstraints": {},
659
+ "checkConstraints": {}
660
+ }
661
+ },
662
+ "views": {},
663
+ "enums": {},
664
+ "_meta": {
665
+ "schemas": {},
666
+ "tables": {},
667
+ "columns": {}
668
+ },
669
+ "internal": {
670
+ "indexes": {}
671
+ }
672
+ }