@opensip-cli/datastore 0.1.0 → 0.1.2

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,400 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "b551aa93-418e-4f9e-aa99-0e1860b3df5d",
5
- "prevId": "a1cc5bfe-5aaa-4d7a-a783-8b0dcbcc8f3b",
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
- "sessions": {
172
- "name": "sessions",
173
- "columns": {
174
- "id": {
175
- "name": "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
- "timestamp": {
189
- "name": "timestamp",
190
- "type": "integer",
191
- "primaryKey": false,
192
- "notNull": true,
193
- "autoincrement": false
194
- },
195
- "cwd": {
196
- "name": "cwd",
197
- "type": "text",
198
- "primaryKey": false,
199
- "notNull": true,
200
- "autoincrement": false
201
- },
202
- "recipe": {
203
- "name": "recipe",
204
- "type": "text",
205
- "primaryKey": false,
206
- "notNull": false,
207
- "autoincrement": false
208
- },
209
- "score": {
210
- "name": "score",
211
- "type": "integer",
212
- "primaryKey": false,
213
- "notNull": true,
214
- "autoincrement": false
215
- },
216
- "passed": {
217
- "name": "passed",
218
- "type": "integer",
219
- "primaryKey": false,
220
- "notNull": true,
221
- "autoincrement": false
222
- },
223
- "summary": {
224
- "name": "summary",
225
- "type": "text",
226
- "primaryKey": false,
227
- "notNull": true,
228
- "autoincrement": false
229
- },
230
- "duration_ms": {
231
- "name": "duration_ms",
232
- "type": "integer",
233
- "primaryKey": false,
234
- "notNull": true,
235
- "autoincrement": false
236
- }
237
- },
238
- "indexes": {
239
- "sessions_tool_timestamp_idx": {
240
- "name": "sessions_tool_timestamp_idx",
241
- "columns": ["tool", "\"timestamp\" DESC"],
242
- "isUnique": false
243
- }
244
- },
245
- "foreignKeys": {},
246
- "compositePrimaryKeys": {},
247
- "uniqueConstraints": {},
248
- "checkConstraints": {}
249
- },
250
- "graph_baseline_meta": {
251
- "name": "graph_baseline_meta",
252
- "columns": {
253
- "id": {
254
- "name": "id",
255
- "type": "integer",
256
- "primaryKey": true,
257
- "notNull": true,
258
- "autoincrement": false
259
- },
260
- "captured_at": {
261
- "name": "captured_at",
262
- "type": "integer",
263
- "primaryKey": false,
264
- "notNull": true,
265
- "autoincrement": false
266
- }
267
- },
268
- "indexes": {},
269
- "foreignKeys": {},
270
- "compositePrimaryKeys": {},
271
- "uniqueConstraints": {},
272
- "checkConstraints": {}
273
- },
274
- "graph_baseline_signals": {
275
- "name": "graph_baseline_signals",
276
- "columns": {
277
- "fingerprint": {
278
- "name": "fingerprint",
279
- "type": "text",
280
- "primaryKey": true,
281
- "notNull": true,
282
- "autoincrement": false
283
- },
284
- "captured_at": {
285
- "name": "captured_at",
286
- "type": "integer",
287
- "primaryKey": false,
288
- "notNull": true,
289
- "autoincrement": false
290
- }
291
- },
292
- "indexes": {},
293
- "foreignKeys": {},
294
- "compositePrimaryKeys": {},
295
- "uniqueConstraints": {},
296
- "checkConstraints": {}
297
- },
298
- "graph_catalog": {
299
- "name": "graph_catalog",
300
- "columns": {
301
- "id": {
302
- "name": "id",
303
- "type": "integer",
304
- "primaryKey": true,
305
- "notNull": true,
306
- "autoincrement": false
307
- },
308
- "language": {
309
- "name": "language",
310
- "type": "text",
311
- "primaryKey": false,
312
- "notNull": true,
313
- "autoincrement": false
314
- },
315
- "cache_key": {
316
- "name": "cache_key",
317
- "type": "text",
318
- "primaryKey": false,
319
- "notNull": true,
320
- "autoincrement": false
321
- },
322
- "files_fingerprint": {
323
- "name": "files_fingerprint",
324
- "type": "text",
325
- "primaryKey": false,
326
- "notNull": true,
327
- "autoincrement": false
328
- },
329
- "built_at": {
330
- "name": "built_at",
331
- "type": "text",
332
- "primaryKey": false,
333
- "notNull": true,
334
- "autoincrement": false
335
- },
336
- "payload": {
337
- "name": "payload",
338
- "type": "text",
339
- "primaryKey": false,
340
- "notNull": true,
341
- "autoincrement": false
342
- }
343
- },
344
- "indexes": {},
345
- "foreignKeys": {},
346
- "compositePrimaryKeys": {},
347
- "uniqueConstraints": {},
348
- "checkConstraints": {}
349
- },
350
- "fit_baseline": {
351
- "name": "fit_baseline",
352
- "columns": {
353
- "id": {
354
- "name": "id",
355
- "type": "integer",
356
- "primaryKey": true,
357
- "notNull": true,
358
- "autoincrement": false
359
- },
360
- "captured_at": {
361
- "name": "captured_at",
362
- "type": "integer",
363
- "primaryKey": false,
364
- "notNull": true,
365
- "autoincrement": false
366
- },
367
- "payload": {
368
- "name": "payload",
369
- "type": "text",
370
- "primaryKey": false,
371
- "notNull": true,
372
- "autoincrement": false
373
- }
374
- },
375
- "indexes": {},
376
- "foreignKeys": {},
377
- "compositePrimaryKeys": {},
378
- "uniqueConstraints": {},
379
- "checkConstraints": {}
380
- }
381
- },
382
- "views": {},
383
- "enums": {},
384
- "_meta": {
385
- "schemas": {},
386
- "tables": {},
387
- "columns": {}
388
- },
389
- "internal": {
390
- "indexes": {
391
- "sessions_tool_timestamp_idx": {
392
- "columns": {
393
- "\"timestamp\" DESC": {
394
- "isExpression": true
395
- }
396
- }
397
- }
398
- }
399
- }
400
- }