@opensip-cli/datastore 0.1.0 → 0.1.1

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 (32) hide show
  1. package/README.md +3 -3
  2. package/migrations/0000_tense_karma.sql +73 -0
  3. package/migrations/meta/0000_snapshot.json +289 -100
  4. package/migrations/meta/_journal.json +2 -93
  5. package/package.json +2 -2
  6. package/migrations/0000_sticky_white_tiger.sql +0 -39
  7. package/migrations/0001_easy_harry_osborn.sql +0 -18
  8. package/migrations/0002_plain_amazoness.sql +0 -5
  9. package/migrations/0003_mysterious_khan.sql +0 -6
  10. package/migrations/0004_narrow_bloodscream.sql +0 -3
  11. package/migrations/0005_lying_luke_cage.sql +0 -7
  12. package/migrations/0006_mean_photon.sql +0 -12
  13. package/migrations/0007_parallel_chamber.sql +0 -3
  14. package/migrations/0008_flaky_victor_mancha.sql +0 -7
  15. package/migrations/0009_stable_tool_identity.sql +0 -9
  16. package/migrations/0010_add_timestamp_iso_and_payload_version.sql +0 -11
  17. package/migrations/0011_payload_version_safety_and_notes.sql +0 -21
  18. package/migrations/0012_overrated_talon.sql +0 -21
  19. package/migrations/0013_lovely_zarda.sql +0 -1
  20. package/migrations/meta/0001_snapshot.json +0 -369
  21. package/migrations/meta/0002_snapshot.json +0 -400
  22. package/migrations/meta/0003_snapshot.json +0 -441
  23. package/migrations/meta/0004_snapshot.json +0 -270
  24. package/migrations/meta/0005_snapshot.json +0 -315
  25. package/migrations/meta/0006_snapshot.json +0 -382
  26. package/migrations/meta/0007_snapshot.json +0 -303
  27. package/migrations/meta/0008_snapshot.json +0 -346
  28. package/migrations/meta/0009_snapshot.json +0 -367
  29. package/migrations/meta/0010_snapshot.json +0 -382
  30. package/migrations/meta/0011_snapshot.json +0 -382
  31. package/migrations/meta/0012_snapshot.json +0 -512
  32. package/migrations/meta/0013_snapshot.json +0 -458
@@ -1,441 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "324cc638-127b-457f-8236-bbf963d9ba25",
5
- "prevId": "b551aa93-418e-4f9e-aa99-0e1860b3df5d",
6
- "tables": {
7
- "session_checks": {
8
- "name": "session_checks",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "integer",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": true
16
- },
17
- "session_id": {
18
- "name": "session_id",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "check_slug": {
25
- "name": "check_slug",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- },
31
- "passed": {
32
- "name": "passed",
33
- "type": "integer",
34
- "primaryKey": false,
35
- "notNull": true,
36
- "autoincrement": false
37
- },
38
- "violation_count": {
39
- "name": "violation_count",
40
- "type": "integer",
41
- "primaryKey": false,
42
- "notNull": false,
43
- "autoincrement": false
44
- },
45
- "duration_ms": {
46
- "name": "duration_ms",
47
- "type": "integer",
48
- "primaryKey": false,
49
- "notNull": true,
50
- "autoincrement": false
51
- }
52
- },
53
- "indexes": {
54
- "session_checks_session_idx": {
55
- "name": "session_checks_session_idx",
56
- "columns": ["session_id"],
57
- "isUnique": false
58
- }
59
- },
60
- "foreignKeys": {
61
- "session_checks_session_id_sessions_id_fk": {
62
- "name": "session_checks_session_id_sessions_id_fk",
63
- "tableFrom": "session_checks",
64
- "tableTo": "sessions",
65
- "columnsFrom": ["session_id"],
66
- "columnsTo": ["id"],
67
- "onDelete": "cascade",
68
- "onUpdate": "no action"
69
- }
70
- },
71
- "compositePrimaryKeys": {},
72
- "uniqueConstraints": {},
73
- "checkConstraints": {}
74
- },
75
- "session_findings": {
76
- "name": "session_findings",
77
- "columns": {
78
- "id": {
79
- "name": "id",
80
- "type": "integer",
81
- "primaryKey": true,
82
- "notNull": true,
83
- "autoincrement": true
84
- },
85
- "session_check_id": {
86
- "name": "session_check_id",
87
- "type": "integer",
88
- "primaryKey": false,
89
- "notNull": true,
90
- "autoincrement": false
91
- },
92
- "rule_id": {
93
- "name": "rule_id",
94
- "type": "text",
95
- "primaryKey": false,
96
- "notNull": true,
97
- "autoincrement": false
98
- },
99
- "severity": {
100
- "name": "severity",
101
- "type": "text",
102
- "primaryKey": false,
103
- "notNull": true,
104
- "autoincrement": false
105
- },
106
- "message": {
107
- "name": "message",
108
- "type": "text",
109
- "primaryKey": false,
110
- "notNull": true,
111
- "autoincrement": false
112
- },
113
- "file_path": {
114
- "name": "file_path",
115
- "type": "text",
116
- "primaryKey": false,
117
- "notNull": false,
118
- "autoincrement": false
119
- },
120
- "line": {
121
- "name": "line",
122
- "type": "integer",
123
- "primaryKey": false,
124
- "notNull": false,
125
- "autoincrement": false
126
- },
127
- "column": {
128
- "name": "column",
129
- "type": "integer",
130
- "primaryKey": false,
131
- "notNull": false,
132
- "autoincrement": false
133
- },
134
- "suggestion": {
135
- "name": "suggestion",
136
- "type": "text",
137
- "primaryKey": false,
138
- "notNull": false,
139
- "autoincrement": false
140
- },
141
- "category": {
142
- "name": "category",
143
- "type": "text",
144
- "primaryKey": false,
145
- "notNull": false,
146
- "autoincrement": false
147
- }
148
- },
149
- "indexes": {
150
- "session_findings_check_idx": {
151
- "name": "session_findings_check_idx",
152
- "columns": ["session_check_id"],
153
- "isUnique": false
154
- }
155
- },
156
- "foreignKeys": {
157
- "session_findings_session_check_id_session_checks_id_fk": {
158
- "name": "session_findings_session_check_id_session_checks_id_fk",
159
- "tableFrom": "session_findings",
160
- "tableTo": "session_checks",
161
- "columnsFrom": ["session_check_id"],
162
- "columnsTo": ["id"],
163
- "onDelete": "cascade",
164
- "onUpdate": "no action"
165
- }
166
- },
167
- "compositePrimaryKeys": {},
168
- "uniqueConstraints": {},
169
- "checkConstraints": {}
170
- },
171
- "session_tool_payload": {
172
- "name": "session_tool_payload",
173
- "columns": {
174
- "session_id": {
175
- "name": "session_id",
176
- "type": "text",
177
- "primaryKey": true,
178
- "notNull": true,
179
- "autoincrement": false
180
- },
181
- "tool": {
182
- "name": "tool",
183
- "type": "text",
184
- "primaryKey": false,
185
- "notNull": true,
186
- "autoincrement": false
187
- },
188
- "payload": {
189
- "name": "payload",
190
- "type": "text",
191
- "primaryKey": false,
192
- "notNull": true,
193
- "autoincrement": false
194
- }
195
- },
196
- "indexes": {},
197
- "foreignKeys": {
198
- "session_tool_payload_session_id_sessions_id_fk": {
199
- "name": "session_tool_payload_session_id_sessions_id_fk",
200
- "tableFrom": "session_tool_payload",
201
- "tableTo": "sessions",
202
- "columnsFrom": ["session_id"],
203
- "columnsTo": ["id"],
204
- "onDelete": "cascade",
205
- "onUpdate": "no action"
206
- }
207
- },
208
- "compositePrimaryKeys": {},
209
- "uniqueConstraints": {},
210
- "checkConstraints": {}
211
- },
212
- "sessions": {
213
- "name": "sessions",
214
- "columns": {
215
- "id": {
216
- "name": "id",
217
- "type": "text",
218
- "primaryKey": true,
219
- "notNull": true,
220
- "autoincrement": false
221
- },
222
- "tool": {
223
- "name": "tool",
224
- "type": "text",
225
- "primaryKey": false,
226
- "notNull": true,
227
- "autoincrement": false
228
- },
229
- "timestamp": {
230
- "name": "timestamp",
231
- "type": "integer",
232
- "primaryKey": false,
233
- "notNull": true,
234
- "autoincrement": false
235
- },
236
- "cwd": {
237
- "name": "cwd",
238
- "type": "text",
239
- "primaryKey": false,
240
- "notNull": true,
241
- "autoincrement": false
242
- },
243
- "recipe": {
244
- "name": "recipe",
245
- "type": "text",
246
- "primaryKey": false,
247
- "notNull": false,
248
- "autoincrement": false
249
- },
250
- "score": {
251
- "name": "score",
252
- "type": "integer",
253
- "primaryKey": false,
254
- "notNull": true,
255
- "autoincrement": false
256
- },
257
- "passed": {
258
- "name": "passed",
259
- "type": "integer",
260
- "primaryKey": false,
261
- "notNull": true,
262
- "autoincrement": false
263
- },
264
- "summary": {
265
- "name": "summary",
266
- "type": "text",
267
- "primaryKey": false,
268
- "notNull": true,
269
- "autoincrement": false
270
- },
271
- "duration_ms": {
272
- "name": "duration_ms",
273
- "type": "integer",
274
- "primaryKey": false,
275
- "notNull": true,
276
- "autoincrement": false
277
- }
278
- },
279
- "indexes": {
280
- "sessions_tool_timestamp_idx": {
281
- "name": "sessions_tool_timestamp_idx",
282
- "columns": ["tool", "\"timestamp\" DESC"],
283
- "isUnique": false
284
- }
285
- },
286
- "foreignKeys": {},
287
- "compositePrimaryKeys": {},
288
- "uniqueConstraints": {},
289
- "checkConstraints": {}
290
- },
291
- "graph_baseline_meta": {
292
- "name": "graph_baseline_meta",
293
- "columns": {
294
- "id": {
295
- "name": "id",
296
- "type": "integer",
297
- "primaryKey": true,
298
- "notNull": true,
299
- "autoincrement": false
300
- },
301
- "captured_at": {
302
- "name": "captured_at",
303
- "type": "integer",
304
- "primaryKey": false,
305
- "notNull": true,
306
- "autoincrement": false
307
- }
308
- },
309
- "indexes": {},
310
- "foreignKeys": {},
311
- "compositePrimaryKeys": {},
312
- "uniqueConstraints": {},
313
- "checkConstraints": {}
314
- },
315
- "graph_baseline_signals": {
316
- "name": "graph_baseline_signals",
317
- "columns": {
318
- "fingerprint": {
319
- "name": "fingerprint",
320
- "type": "text",
321
- "primaryKey": true,
322
- "notNull": true,
323
- "autoincrement": false
324
- },
325
- "captured_at": {
326
- "name": "captured_at",
327
- "type": "integer",
328
- "primaryKey": false,
329
- "notNull": true,
330
- "autoincrement": false
331
- }
332
- },
333
- "indexes": {},
334
- "foreignKeys": {},
335
- "compositePrimaryKeys": {},
336
- "uniqueConstraints": {},
337
- "checkConstraints": {}
338
- },
339
- "graph_catalog": {
340
- "name": "graph_catalog",
341
- "columns": {
342
- "id": {
343
- "name": "id",
344
- "type": "integer",
345
- "primaryKey": true,
346
- "notNull": true,
347
- "autoincrement": false
348
- },
349
- "language": {
350
- "name": "language",
351
- "type": "text",
352
- "primaryKey": false,
353
- "notNull": true,
354
- "autoincrement": false
355
- },
356
- "cache_key": {
357
- "name": "cache_key",
358
- "type": "text",
359
- "primaryKey": false,
360
- "notNull": true,
361
- "autoincrement": false
362
- },
363
- "files_fingerprint": {
364
- "name": "files_fingerprint",
365
- "type": "text",
366
- "primaryKey": false,
367
- "notNull": true,
368
- "autoincrement": false
369
- },
370
- "built_at": {
371
- "name": "built_at",
372
- "type": "text",
373
- "primaryKey": false,
374
- "notNull": true,
375
- "autoincrement": false
376
- },
377
- "payload": {
378
- "name": "payload",
379
- "type": "text",
380
- "primaryKey": false,
381
- "notNull": true,
382
- "autoincrement": false
383
- }
384
- },
385
- "indexes": {},
386
- "foreignKeys": {},
387
- "compositePrimaryKeys": {},
388
- "uniqueConstraints": {},
389
- "checkConstraints": {}
390
- },
391
- "fit_baseline": {
392
- "name": "fit_baseline",
393
- "columns": {
394
- "id": {
395
- "name": "id",
396
- "type": "integer",
397
- "primaryKey": true,
398
- "notNull": true,
399
- "autoincrement": false
400
- },
401
- "captured_at": {
402
- "name": "captured_at",
403
- "type": "integer",
404
- "primaryKey": false,
405
- "notNull": true,
406
- "autoincrement": false
407
- },
408
- "payload": {
409
- "name": "payload",
410
- "type": "text",
411
- "primaryKey": false,
412
- "notNull": true,
413
- "autoincrement": false
414
- }
415
- },
416
- "indexes": {},
417
- "foreignKeys": {},
418
- "compositePrimaryKeys": {},
419
- "uniqueConstraints": {},
420
- "checkConstraints": {}
421
- }
422
- },
423
- "views": {},
424
- "enums": {},
425
- "_meta": {
426
- "schemas": {},
427
- "tables": {},
428
- "columns": {}
429
- },
430
- "internal": {
431
- "indexes": {
432
- "sessions_tool_timestamp_idx": {
433
- "columns": {
434
- "\"timestamp\" DESC": {
435
- "isExpression": true
436
- }
437
- }
438
- }
439
- }
440
- }
441
- }
@@ -1,270 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "43271a67-a085-4221-bce4-53b2de0436ca",
5
- "prevId": "324cc638-127b-457f-8236-bbf963d9ba25",
6
- "tables": {
7
- "session_tool_payload": {
8
- "name": "session_tool_payload",
9
- "columns": {
10
- "session_id": {
11
- "name": "session_id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "tool": {
18
- "name": "tool",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "payload": {
25
- "name": "payload",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- }
31
- },
32
- "indexes": {},
33
- "foreignKeys": {
34
- "session_tool_payload_session_id_sessions_id_fk": {
35
- "name": "session_tool_payload_session_id_sessions_id_fk",
36
- "tableFrom": "session_tool_payload",
37
- "tableTo": "sessions",
38
- "columnsFrom": ["session_id"],
39
- "columnsTo": ["id"],
40
- "onDelete": "cascade",
41
- "onUpdate": "no action"
42
- }
43
- },
44
- "compositePrimaryKeys": {},
45
- "uniqueConstraints": {},
46
- "checkConstraints": {}
47
- },
48
- "sessions": {
49
- "name": "sessions",
50
- "columns": {
51
- "id": {
52
- "name": "id",
53
- "type": "text",
54
- "primaryKey": true,
55
- "notNull": true,
56
- "autoincrement": false
57
- },
58
- "tool": {
59
- "name": "tool",
60
- "type": "text",
61
- "primaryKey": false,
62
- "notNull": true,
63
- "autoincrement": false
64
- },
65
- "timestamp": {
66
- "name": "timestamp",
67
- "type": "integer",
68
- "primaryKey": false,
69
- "notNull": true,
70
- "autoincrement": false
71
- },
72
- "cwd": {
73
- "name": "cwd",
74
- "type": "text",
75
- "primaryKey": false,
76
- "notNull": true,
77
- "autoincrement": false
78
- },
79
- "recipe": {
80
- "name": "recipe",
81
- "type": "text",
82
- "primaryKey": false,
83
- "notNull": false,
84
- "autoincrement": false
85
- },
86
- "score": {
87
- "name": "score",
88
- "type": "integer",
89
- "primaryKey": false,
90
- "notNull": true,
91
- "autoincrement": false
92
- },
93
- "passed": {
94
- "name": "passed",
95
- "type": "integer",
96
- "primaryKey": false,
97
- "notNull": true,
98
- "autoincrement": false
99
- },
100
- "duration_ms": {
101
- "name": "duration_ms",
102
- "type": "integer",
103
- "primaryKey": false,
104
- "notNull": true,
105
- "autoincrement": false
106
- }
107
- },
108
- "indexes": {
109
- "sessions_tool_timestamp_idx": {
110
- "name": "sessions_tool_timestamp_idx",
111
- "columns": ["tool", "\"timestamp\" DESC"],
112
- "isUnique": false
113
- }
114
- },
115
- "foreignKeys": {},
116
- "compositePrimaryKeys": {},
117
- "uniqueConstraints": {},
118
- "checkConstraints": {}
119
- },
120
- "graph_baseline_meta": {
121
- "name": "graph_baseline_meta",
122
- "columns": {
123
- "id": {
124
- "name": "id",
125
- "type": "integer",
126
- "primaryKey": true,
127
- "notNull": true,
128
- "autoincrement": false
129
- },
130
- "captured_at": {
131
- "name": "captured_at",
132
- "type": "integer",
133
- "primaryKey": false,
134
- "notNull": true,
135
- "autoincrement": false
136
- }
137
- },
138
- "indexes": {},
139
- "foreignKeys": {},
140
- "compositePrimaryKeys": {},
141
- "uniqueConstraints": {},
142
- "checkConstraints": {}
143
- },
144
- "graph_baseline_signals": {
145
- "name": "graph_baseline_signals",
146
- "columns": {
147
- "fingerprint": {
148
- "name": "fingerprint",
149
- "type": "text",
150
- "primaryKey": true,
151
- "notNull": true,
152
- "autoincrement": false
153
- },
154
- "captured_at": {
155
- "name": "captured_at",
156
- "type": "integer",
157
- "primaryKey": false,
158
- "notNull": true,
159
- "autoincrement": false
160
- }
161
- },
162
- "indexes": {},
163
- "foreignKeys": {},
164
- "compositePrimaryKeys": {},
165
- "uniqueConstraints": {},
166
- "checkConstraints": {}
167
- },
168
- "graph_catalog": {
169
- "name": "graph_catalog",
170
- "columns": {
171
- "id": {
172
- "name": "id",
173
- "type": "integer",
174
- "primaryKey": true,
175
- "notNull": true,
176
- "autoincrement": false
177
- },
178
- "language": {
179
- "name": "language",
180
- "type": "text",
181
- "primaryKey": false,
182
- "notNull": true,
183
- "autoincrement": false
184
- },
185
- "cache_key": {
186
- "name": "cache_key",
187
- "type": "text",
188
- "primaryKey": false,
189
- "notNull": true,
190
- "autoincrement": false
191
- },
192
- "files_fingerprint": {
193
- "name": "files_fingerprint",
194
- "type": "text",
195
- "primaryKey": false,
196
- "notNull": true,
197
- "autoincrement": false
198
- },
199
- "built_at": {
200
- "name": "built_at",
201
- "type": "text",
202
- "primaryKey": false,
203
- "notNull": true,
204
- "autoincrement": false
205
- },
206
- "payload": {
207
- "name": "payload",
208
- "type": "text",
209
- "primaryKey": false,
210
- "notNull": true,
211
- "autoincrement": false
212
- }
213
- },
214
- "indexes": {},
215
- "foreignKeys": {},
216
- "compositePrimaryKeys": {},
217
- "uniqueConstraints": {},
218
- "checkConstraints": {}
219
- },
220
- "fit_baseline": {
221
- "name": "fit_baseline",
222
- "columns": {
223
- "id": {
224
- "name": "id",
225
- "type": "integer",
226
- "primaryKey": true,
227
- "notNull": true,
228
- "autoincrement": false
229
- },
230
- "captured_at": {
231
- "name": "captured_at",
232
- "type": "integer",
233
- "primaryKey": false,
234
- "notNull": true,
235
- "autoincrement": false
236
- },
237
- "payload": {
238
- "name": "payload",
239
- "type": "text",
240
- "primaryKey": false,
241
- "notNull": true,
242
- "autoincrement": false
243
- }
244
- },
245
- "indexes": {},
246
- "foreignKeys": {},
247
- "compositePrimaryKeys": {},
248
- "uniqueConstraints": {},
249
- "checkConstraints": {}
250
- }
251
- },
252
- "views": {},
253
- "enums": {},
254
- "_meta": {
255
- "schemas": {},
256
- "tables": {},
257
- "columns": {}
258
- },
259
- "internal": {
260
- "indexes": {
261
- "sessions_tool_timestamp_idx": {
262
- "columns": {
263
- "\"timestamp\" DESC": {
264
- "isExpression": true
265
- }
266
- }
267
- }
268
- }
269
- }
270
- }