lurqrun 0.0.2 → 0.0.4

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.
@@ -0,0 +1,667 @@
1
+ {
2
+ "id": "26f7cd83-a8dc-4c3c-88f4-7e9fa3601cd3",
3
+ "prevId": "6874609b-d4c8-479c-b282-fa5c57bb1bd0",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.api_keys": {
8
+ "name": "api_keys",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "serial",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "key_hash": {
18
+ "name": "key_hash",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "prefix": {
24
+ "name": "prefix",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "label": {
30
+ "name": "label",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": false
34
+ },
35
+ "owner_id": {
36
+ "name": "owner_id",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "tier": {
42
+ "name": "tier",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": true,
46
+ "default": "'free'"
47
+ },
48
+ "created_at": {
49
+ "name": "created_at",
50
+ "type": "timestamp with time zone",
51
+ "primaryKey": false,
52
+ "notNull": true,
53
+ "default": "now()"
54
+ },
55
+ "last_used_at": {
56
+ "name": "last_used_at",
57
+ "type": "timestamp with time zone",
58
+ "primaryKey": false,
59
+ "notNull": false
60
+ },
61
+ "revoked_at": {
62
+ "name": "revoked_at",
63
+ "type": "timestamp with time zone",
64
+ "primaryKey": false,
65
+ "notNull": false
66
+ }
67
+ },
68
+ "indexes": {
69
+ "api_keys_owner_idx": {
70
+ "name": "api_keys_owner_idx",
71
+ "columns": [
72
+ {
73
+ "expression": "owner_id",
74
+ "isExpression": false,
75
+ "asc": true,
76
+ "nulls": "last"
77
+ }
78
+ ],
79
+ "isUnique": false,
80
+ "concurrently": false,
81
+ "method": "btree",
82
+ "with": {}
83
+ }
84
+ },
85
+ "foreignKeys": {},
86
+ "compositePrimaryKeys": {},
87
+ "uniqueConstraints": {
88
+ "api_keys_key_hash_unique": {
89
+ "name": "api_keys_key_hash_unique",
90
+ "nullsNotDistinct": false,
91
+ "columns": [
92
+ "key_hash"
93
+ ]
94
+ }
95
+ },
96
+ "policies": {},
97
+ "checkConstraints": {},
98
+ "isRLSEnabled": false
99
+ },
100
+ "public.discovery_queue": {
101
+ "name": "discovery_queue",
102
+ "schema": "",
103
+ "columns": {
104
+ "id": {
105
+ "name": "id",
106
+ "type": "serial",
107
+ "primaryKey": true,
108
+ "notNull": true
109
+ },
110
+ "name": {
111
+ "name": "name",
112
+ "type": "text",
113
+ "primaryKey": false,
114
+ "notNull": true
115
+ },
116
+ "discovered_via": {
117
+ "name": "discovered_via",
118
+ "type": "text",
119
+ "primaryKey": false,
120
+ "notNull": true
121
+ },
122
+ "pre_score": {
123
+ "name": "pre_score",
124
+ "type": "integer",
125
+ "primaryKey": false,
126
+ "notNull": false
127
+ },
128
+ "status": {
129
+ "name": "status",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": true,
133
+ "default": "'pending'"
134
+ },
135
+ "discovered_at": {
136
+ "name": "discovered_at",
137
+ "type": "timestamp with time zone",
138
+ "primaryKey": false,
139
+ "notNull": true,
140
+ "default": "now()"
141
+ }
142
+ },
143
+ "indexes": {
144
+ "discovery_queue_status_idx": {
145
+ "name": "discovery_queue_status_idx",
146
+ "columns": [
147
+ {
148
+ "expression": "status",
149
+ "isExpression": false,
150
+ "asc": true,
151
+ "nulls": "last"
152
+ }
153
+ ],
154
+ "isUnique": false,
155
+ "concurrently": false,
156
+ "method": "btree",
157
+ "with": {}
158
+ }
159
+ },
160
+ "foreignKeys": {},
161
+ "compositePrimaryKeys": {},
162
+ "uniqueConstraints": {
163
+ "discovery_queue_name_unique": {
164
+ "name": "discovery_queue_name_unique",
165
+ "nullsNotDistinct": false,
166
+ "columns": [
167
+ "name"
168
+ ]
169
+ }
170
+ },
171
+ "policies": {},
172
+ "checkConstraints": {},
173
+ "isRLSEnabled": false
174
+ },
175
+ "public.package_versions": {
176
+ "name": "package_versions",
177
+ "schema": "",
178
+ "columns": {
179
+ "package_name": {
180
+ "name": "package_name",
181
+ "type": "text",
182
+ "primaryKey": false,
183
+ "notNull": true
184
+ },
185
+ "version": {
186
+ "name": "version",
187
+ "type": "text",
188
+ "primaryKey": false,
189
+ "notNull": true
190
+ },
191
+ "published_at": {
192
+ "name": "published_at",
193
+ "type": "timestamp with time zone",
194
+ "primaryKey": false,
195
+ "notNull": false
196
+ }
197
+ },
198
+ "indexes": {
199
+ "package_versions_name_published_idx": {
200
+ "name": "package_versions_name_published_idx",
201
+ "columns": [
202
+ {
203
+ "expression": "package_name",
204
+ "isExpression": false,
205
+ "asc": true,
206
+ "nulls": "last"
207
+ },
208
+ {
209
+ "expression": "published_at",
210
+ "isExpression": false,
211
+ "asc": true,
212
+ "nulls": "last"
213
+ }
214
+ ],
215
+ "isUnique": false,
216
+ "concurrently": false,
217
+ "method": "btree",
218
+ "with": {}
219
+ }
220
+ },
221
+ "foreignKeys": {},
222
+ "compositePrimaryKeys": {
223
+ "package_versions_package_name_version_pk": {
224
+ "name": "package_versions_package_name_version_pk",
225
+ "columns": [
226
+ "package_name",
227
+ "version"
228
+ ]
229
+ }
230
+ },
231
+ "uniqueConstraints": {},
232
+ "policies": {},
233
+ "checkConstraints": {},
234
+ "isRLSEnabled": false
235
+ },
236
+ "public.packages": {
237
+ "name": "packages",
238
+ "schema": "",
239
+ "columns": {
240
+ "id": {
241
+ "name": "id",
242
+ "type": "serial",
243
+ "primaryKey": true,
244
+ "notNull": true
245
+ },
246
+ "name": {
247
+ "name": "name",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": true
251
+ },
252
+ "ecosystem": {
253
+ "name": "ecosystem",
254
+ "type": "text",
255
+ "primaryKey": false,
256
+ "notNull": true,
257
+ "default": "'npm'"
258
+ },
259
+ "category": {
260
+ "name": "category",
261
+ "type": "text",
262
+ "primaryKey": false,
263
+ "notNull": false
264
+ },
265
+ "category_source": {
266
+ "name": "category_source",
267
+ "type": "text",
268
+ "primaryKey": false,
269
+ "notNull": false
270
+ },
271
+ "description": {
272
+ "name": "description",
273
+ "type": "text",
274
+ "primaryKey": false,
275
+ "notNull": false
276
+ },
277
+ "summary": {
278
+ "name": "summary",
279
+ "type": "text",
280
+ "primaryKey": false,
281
+ "notNull": false
282
+ },
283
+ "repo_url": {
284
+ "name": "repo_url",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": false
288
+ },
289
+ "homepage": {
290
+ "name": "homepage",
291
+ "type": "text",
292
+ "primaryKey": false,
293
+ "notNull": false
294
+ },
295
+ "latest_version": {
296
+ "name": "latest_version",
297
+ "type": "text",
298
+ "primaryKey": false,
299
+ "notNull": false
300
+ },
301
+ "license": {
302
+ "name": "license",
303
+ "type": "text",
304
+ "primaryKey": false,
305
+ "notNull": false
306
+ },
307
+ "deprecated": {
308
+ "name": "deprecated",
309
+ "type": "boolean",
310
+ "primaryKey": false,
311
+ "notNull": true,
312
+ "default": false
313
+ },
314
+ "archived": {
315
+ "name": "archived",
316
+ "type": "boolean",
317
+ "primaryKey": false,
318
+ "notNull": true,
319
+ "default": false
320
+ },
321
+ "first_published_at": {
322
+ "name": "first_published_at",
323
+ "type": "timestamp with time zone",
324
+ "primaryKey": false,
325
+ "notNull": false
326
+ },
327
+ "last_release_at": {
328
+ "name": "last_release_at",
329
+ "type": "timestamp with time zone",
330
+ "primaryKey": false,
331
+ "notNull": false
332
+ },
333
+ "weekly_downloads": {
334
+ "name": "weekly_downloads",
335
+ "type": "bigint",
336
+ "primaryKey": false,
337
+ "notNull": false
338
+ },
339
+ "download_growth_90d": {
340
+ "name": "download_growth_90d",
341
+ "type": "real",
342
+ "primaryKey": false,
343
+ "notNull": false
344
+ },
345
+ "dependents_count": {
346
+ "name": "dependents_count",
347
+ "type": "integer",
348
+ "primaryKey": false,
349
+ "notNull": false
350
+ },
351
+ "stars": {
352
+ "name": "stars",
353
+ "type": "integer",
354
+ "primaryKey": false,
355
+ "notNull": false
356
+ },
357
+ "open_issues": {
358
+ "name": "open_issues",
359
+ "type": "integer",
360
+ "primaryKey": false,
361
+ "notNull": false
362
+ },
363
+ "closed_issues": {
364
+ "name": "closed_issues",
365
+ "type": "integer",
366
+ "primaryKey": false,
367
+ "notNull": false
368
+ },
369
+ "scorecard": {
370
+ "name": "scorecard",
371
+ "type": "real",
372
+ "primaryKey": false,
373
+ "notNull": false
374
+ },
375
+ "bundle_min_gzip_kb": {
376
+ "name": "bundle_min_gzip_kb",
377
+ "type": "real",
378
+ "primaryKey": false,
379
+ "notNull": false
380
+ },
381
+ "advisories": {
382
+ "name": "advisories",
383
+ "type": "jsonb",
384
+ "primaryKey": false,
385
+ "notNull": false
386
+ },
387
+ "health_score": {
388
+ "name": "health_score",
389
+ "type": "integer",
390
+ "primaryKey": false,
391
+ "notNull": false
392
+ },
393
+ "quality_score": {
394
+ "name": "quality_score",
395
+ "type": "integer",
396
+ "primaryKey": false,
397
+ "notNull": false
398
+ },
399
+ "confidence": {
400
+ "name": "confidence",
401
+ "type": "text",
402
+ "primaryKey": false,
403
+ "notNull": false
404
+ },
405
+ "score_breakdown": {
406
+ "name": "score_breakdown",
407
+ "type": "jsonb",
408
+ "primaryKey": false,
409
+ "notNull": false
410
+ },
411
+ "usage_guide": {
412
+ "name": "usage_guide",
413
+ "type": "jsonb",
414
+ "primaryKey": false,
415
+ "notNull": false
416
+ },
417
+ "embedding": {
418
+ "name": "embedding",
419
+ "type": "vector(1536)",
420
+ "primaryKey": false,
421
+ "notNull": false
422
+ },
423
+ "search_vector": {
424
+ "name": "search_vector",
425
+ "type": "tsvector",
426
+ "primaryKey": false,
427
+ "notNull": false,
428
+ "generated": {
429
+ "as": "setweight(to_tsvector('english', coalesce(name, '')), 'A') || setweight(to_tsvector('english', coalesce(category, '')), 'B') || setweight(to_tsvector('english', coalesce(summary, description, '')), 'C')",
430
+ "type": "stored"
431
+ }
432
+ },
433
+ "data_as_of": {
434
+ "name": "data_as_of",
435
+ "type": "timestamp with time zone",
436
+ "primaryKey": false,
437
+ "notNull": false
438
+ },
439
+ "created_at": {
440
+ "name": "created_at",
441
+ "type": "timestamp with time zone",
442
+ "primaryKey": false,
443
+ "notNull": true,
444
+ "default": "now()"
445
+ },
446
+ "updated_at": {
447
+ "name": "updated_at",
448
+ "type": "timestamp with time zone",
449
+ "primaryKey": false,
450
+ "notNull": true,
451
+ "default": "now()"
452
+ }
453
+ },
454
+ "indexes": {
455
+ "packages_category_idx": {
456
+ "name": "packages_category_idx",
457
+ "columns": [
458
+ {
459
+ "expression": "category",
460
+ "isExpression": false,
461
+ "asc": true,
462
+ "nulls": "last"
463
+ }
464
+ ],
465
+ "isUnique": false,
466
+ "concurrently": false,
467
+ "method": "btree",
468
+ "with": {}
469
+ },
470
+ "packages_health_score_idx": {
471
+ "name": "packages_health_score_idx",
472
+ "columns": [
473
+ {
474
+ "expression": "health_score",
475
+ "isExpression": false,
476
+ "asc": true,
477
+ "nulls": "last"
478
+ }
479
+ ],
480
+ "isUnique": false,
481
+ "concurrently": false,
482
+ "method": "btree",
483
+ "with": {}
484
+ },
485
+ "packages_embedding_idx": {
486
+ "name": "packages_embedding_idx",
487
+ "columns": [
488
+ {
489
+ "expression": "embedding",
490
+ "isExpression": false,
491
+ "asc": true,
492
+ "nulls": "last",
493
+ "opclass": "vector_cosine_ops"
494
+ }
495
+ ],
496
+ "isUnique": false,
497
+ "concurrently": false,
498
+ "method": "hnsw",
499
+ "with": {}
500
+ },
501
+ "packages_search_vector_idx": {
502
+ "name": "packages_search_vector_idx",
503
+ "columns": [
504
+ {
505
+ "expression": "search_vector",
506
+ "isExpression": false,
507
+ "asc": true,
508
+ "nulls": "last"
509
+ }
510
+ ],
511
+ "isUnique": false,
512
+ "concurrently": false,
513
+ "method": "gin",
514
+ "with": {}
515
+ }
516
+ },
517
+ "foreignKeys": {},
518
+ "compositePrimaryKeys": {},
519
+ "uniqueConstraints": {
520
+ "packages_name_unique": {
521
+ "name": "packages_name_unique",
522
+ "nullsNotDistinct": false,
523
+ "columns": [
524
+ "name"
525
+ ]
526
+ }
527
+ },
528
+ "policies": {},
529
+ "checkConstraints": {},
530
+ "isRLSEnabled": false
531
+ },
532
+ "public.seed_packages": {
533
+ "name": "seed_packages",
534
+ "schema": "",
535
+ "columns": {
536
+ "name": {
537
+ "name": "name",
538
+ "type": "text",
539
+ "primaryKey": true,
540
+ "notNull": true
541
+ },
542
+ "category": {
543
+ "name": "category",
544
+ "type": "text",
545
+ "primaryKey": false,
546
+ "notNull": false
547
+ },
548
+ "added_at": {
549
+ "name": "added_at",
550
+ "type": "timestamp with time zone",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "default": "now()"
554
+ }
555
+ },
556
+ "indexes": {},
557
+ "foreignKeys": {},
558
+ "compositePrimaryKeys": {},
559
+ "uniqueConstraints": {},
560
+ "policies": {},
561
+ "checkConstraints": {},
562
+ "isRLSEnabled": false
563
+ },
564
+ "public.sync_runs": {
565
+ "name": "sync_runs",
566
+ "schema": "",
567
+ "columns": {
568
+ "id": {
569
+ "name": "id",
570
+ "type": "serial",
571
+ "primaryKey": true,
572
+ "notNull": true
573
+ },
574
+ "started_at": {
575
+ "name": "started_at",
576
+ "type": "timestamp with time zone",
577
+ "primaryKey": false,
578
+ "notNull": true,
579
+ "default": "now()"
580
+ },
581
+ "finished_at": {
582
+ "name": "finished_at",
583
+ "type": "timestamp with time zone",
584
+ "primaryKey": false,
585
+ "notNull": false
586
+ },
587
+ "packages_seen": {
588
+ "name": "packages_seen",
589
+ "type": "integer",
590
+ "primaryKey": false,
591
+ "notNull": true,
592
+ "default": 0
593
+ },
594
+ "packages_updated": {
595
+ "name": "packages_updated",
596
+ "type": "integer",
597
+ "primaryKey": false,
598
+ "notNull": true,
599
+ "default": 0
600
+ },
601
+ "errors": {
602
+ "name": "errors",
603
+ "type": "jsonb",
604
+ "primaryKey": false,
605
+ "notNull": true,
606
+ "default": "'[]'::jsonb"
607
+ },
608
+ "status": {
609
+ "name": "status",
610
+ "type": "text",
611
+ "primaryKey": false,
612
+ "notNull": true,
613
+ "default": "'running'"
614
+ }
615
+ },
616
+ "indexes": {},
617
+ "foreignKeys": {},
618
+ "compositePrimaryKeys": {},
619
+ "uniqueConstraints": {},
620
+ "policies": {},
621
+ "checkConstraints": {},
622
+ "isRLSEnabled": false
623
+ },
624
+ "public.watch_state": {
625
+ "name": "watch_state",
626
+ "schema": "",
627
+ "columns": {
628
+ "id": {
629
+ "name": "id",
630
+ "type": "text",
631
+ "primaryKey": true,
632
+ "notNull": true
633
+ },
634
+ "seq": {
635
+ "name": "seq",
636
+ "type": "text",
637
+ "primaryKey": false,
638
+ "notNull": true
639
+ },
640
+ "updated_at": {
641
+ "name": "updated_at",
642
+ "type": "timestamp with time zone",
643
+ "primaryKey": false,
644
+ "notNull": false
645
+ }
646
+ },
647
+ "indexes": {},
648
+ "foreignKeys": {},
649
+ "compositePrimaryKeys": {},
650
+ "uniqueConstraints": {},
651
+ "policies": {},
652
+ "checkConstraints": {},
653
+ "isRLSEnabled": false
654
+ }
655
+ },
656
+ "enums": {},
657
+ "schemas": {},
658
+ "sequences": {},
659
+ "roles": {},
660
+ "policies": {},
661
+ "views": {},
662
+ "_meta": {
663
+ "columns": {},
664
+ "schemas": {},
665
+ "tables": {}
666
+ }
667
+ }