@alteran/astro 0.1.0 → 0.1.3

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,341 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "5d8f1c75-16f6-4b62-844c-60cc385abc92",
5
+ "prevId": "bda2858d-2159-49b6-881b-f17b7e252282",
6
+ "tables": {
7
+ "blob": {
8
+ "name": "blob",
9
+ "columns": {
10
+ "cid": {
11
+ "name": "cid",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "did": {
18
+ "name": "did",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "key": {
25
+ "name": "key",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "mime": {
32
+ "name": "mime",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "size": {
39
+ "name": "size",
40
+ "type": "integer",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ }
45
+ },
46
+ "indexes": {},
47
+ "foreignKeys": {},
48
+ "compositePrimaryKeys": {},
49
+ "uniqueConstraints": {},
50
+ "checkConstraints": {}
51
+ },
52
+ "blob_usage": {
53
+ "name": "blob_usage",
54
+ "columns": {
55
+ "record_uri": {
56
+ "name": "record_uri",
57
+ "type": "text",
58
+ "primaryKey": false,
59
+ "notNull": true,
60
+ "autoincrement": false
61
+ },
62
+ "key": {
63
+ "name": "key",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ }
69
+ },
70
+ "indexes": {
71
+ "blob_usage_record_uri_idx": {
72
+ "name": "blob_usage_record_uri_idx",
73
+ "columns": [
74
+ "record_uri"
75
+ ],
76
+ "isUnique": false
77
+ }
78
+ },
79
+ "foreignKeys": {},
80
+ "compositePrimaryKeys": {},
81
+ "uniqueConstraints": {},
82
+ "checkConstraints": {}
83
+ },
84
+ "blockstore": {
85
+ "name": "blockstore",
86
+ "columns": {
87
+ "cid": {
88
+ "name": "cid",
89
+ "type": "text",
90
+ "primaryKey": true,
91
+ "notNull": true,
92
+ "autoincrement": false
93
+ },
94
+ "bytes": {
95
+ "name": "bytes",
96
+ "type": "text",
97
+ "primaryKey": false,
98
+ "notNull": false,
99
+ "autoincrement": false
100
+ }
101
+ },
102
+ "indexes": {},
103
+ "foreignKeys": {},
104
+ "compositePrimaryKeys": {},
105
+ "uniqueConstraints": {},
106
+ "checkConstraints": {}
107
+ },
108
+ "commit_log": {
109
+ "name": "commit_log",
110
+ "columns": {
111
+ "seq": {
112
+ "name": "seq",
113
+ "type": "integer",
114
+ "primaryKey": true,
115
+ "notNull": true,
116
+ "autoincrement": false
117
+ },
118
+ "cid": {
119
+ "name": "cid",
120
+ "type": "text",
121
+ "primaryKey": false,
122
+ "notNull": true,
123
+ "autoincrement": false
124
+ },
125
+ "rev": {
126
+ "name": "rev",
127
+ "type": "text",
128
+ "primaryKey": false,
129
+ "notNull": true,
130
+ "autoincrement": false
131
+ },
132
+ "data": {
133
+ "name": "data",
134
+ "type": "text",
135
+ "primaryKey": false,
136
+ "notNull": true,
137
+ "autoincrement": false
138
+ },
139
+ "sig": {
140
+ "name": "sig",
141
+ "type": "text",
142
+ "primaryKey": false,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "ts": {
147
+ "name": "ts",
148
+ "type": "integer",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ }
153
+ },
154
+ "indexes": {},
155
+ "foreignKeys": {},
156
+ "compositePrimaryKeys": {},
157
+ "uniqueConstraints": {},
158
+ "checkConstraints": {}
159
+ },
160
+ "login_attempts": {
161
+ "name": "login_attempts",
162
+ "columns": {
163
+ "ip": {
164
+ "name": "ip",
165
+ "type": "text",
166
+ "primaryKey": true,
167
+ "notNull": true,
168
+ "autoincrement": false
169
+ },
170
+ "attempts": {
171
+ "name": "attempts",
172
+ "type": "integer",
173
+ "primaryKey": false,
174
+ "notNull": true,
175
+ "autoincrement": false,
176
+ "default": 0
177
+ },
178
+ "locked_until": {
179
+ "name": "locked_until",
180
+ "type": "integer",
181
+ "primaryKey": false,
182
+ "notNull": false,
183
+ "autoincrement": false
184
+ },
185
+ "last_attempt": {
186
+ "name": "last_attempt",
187
+ "type": "integer",
188
+ "primaryKey": false,
189
+ "notNull": true,
190
+ "autoincrement": false
191
+ }
192
+ },
193
+ "indexes": {},
194
+ "foreignKeys": {},
195
+ "compositePrimaryKeys": {},
196
+ "uniqueConstraints": {},
197
+ "checkConstraints": {}
198
+ },
199
+ "record": {
200
+ "name": "record",
201
+ "columns": {
202
+ "uri": {
203
+ "name": "uri",
204
+ "type": "text",
205
+ "primaryKey": true,
206
+ "notNull": true,
207
+ "autoincrement": false
208
+ },
209
+ "did": {
210
+ "name": "did",
211
+ "type": "text",
212
+ "primaryKey": false,
213
+ "notNull": true,
214
+ "autoincrement": false
215
+ },
216
+ "cid": {
217
+ "name": "cid",
218
+ "type": "text",
219
+ "primaryKey": false,
220
+ "notNull": true,
221
+ "autoincrement": false
222
+ },
223
+ "json": {
224
+ "name": "json",
225
+ "type": "text",
226
+ "primaryKey": false,
227
+ "notNull": true,
228
+ "autoincrement": false
229
+ },
230
+ "created_at": {
231
+ "name": "created_at",
232
+ "type": "integer",
233
+ "primaryKey": false,
234
+ "notNull": false,
235
+ "autoincrement": false,
236
+ "default": 0
237
+ }
238
+ },
239
+ "indexes": {
240
+ "record_did_idx": {
241
+ "name": "record_did_idx",
242
+ "columns": [
243
+ "did"
244
+ ],
245
+ "isUnique": false
246
+ },
247
+ "record_cid_idx": {
248
+ "name": "record_cid_idx",
249
+ "columns": [
250
+ "cid"
251
+ ],
252
+ "isUnique": false
253
+ }
254
+ },
255
+ "foreignKeys": {},
256
+ "compositePrimaryKeys": {},
257
+ "uniqueConstraints": {},
258
+ "checkConstraints": {}
259
+ },
260
+ "repo_root": {
261
+ "name": "repo_root",
262
+ "columns": {
263
+ "did": {
264
+ "name": "did",
265
+ "type": "text",
266
+ "primaryKey": true,
267
+ "notNull": true,
268
+ "autoincrement": false
269
+ },
270
+ "commit_cid": {
271
+ "name": "commit_cid",
272
+ "type": "text",
273
+ "primaryKey": false,
274
+ "notNull": true,
275
+ "autoincrement": false
276
+ },
277
+ "rev": {
278
+ "name": "rev",
279
+ "type": "integer",
280
+ "primaryKey": false,
281
+ "notNull": true,
282
+ "autoincrement": false
283
+ }
284
+ },
285
+ "indexes": {},
286
+ "foreignKeys": {},
287
+ "compositePrimaryKeys": {},
288
+ "uniqueConstraints": {},
289
+ "checkConstraints": {}
290
+ },
291
+ "token_revocation": {
292
+ "name": "token_revocation",
293
+ "columns": {
294
+ "jti": {
295
+ "name": "jti",
296
+ "type": "text",
297
+ "primaryKey": true,
298
+ "notNull": true,
299
+ "autoincrement": false
300
+ },
301
+ "exp": {
302
+ "name": "exp",
303
+ "type": "integer",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false
307
+ },
308
+ "revoked_at": {
309
+ "name": "revoked_at",
310
+ "type": "integer",
311
+ "primaryKey": false,
312
+ "notNull": true,
313
+ "autoincrement": false
314
+ }
315
+ },
316
+ "indexes": {
317
+ "token_revocation_exp_idx": {
318
+ "name": "token_revocation_exp_idx",
319
+ "columns": [
320
+ "exp"
321
+ ],
322
+ "isUnique": false
323
+ }
324
+ },
325
+ "foreignKeys": {},
326
+ "compositePrimaryKeys": {},
327
+ "uniqueConstraints": {},
328
+ "checkConstraints": {}
329
+ }
330
+ },
331
+ "views": {},
332
+ "enums": {},
333
+ "_meta": {
334
+ "schemas": {},
335
+ "tables": {},
336
+ "columns": {}
337
+ },
338
+ "internal": {
339
+ "indexes": {}
340
+ }
341
+ }
@@ -0,0 +1,349 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "6b1c0449-8e89-4892-8ca9-69887c4af0cd",
5
+ "prevId": "5d8f1c75-16f6-4b62-844c-60cc385abc92",
6
+ "tables": {
7
+ "blob": {
8
+ "name": "blob",
9
+ "columns": {
10
+ "cid": {
11
+ "name": "cid",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "did": {
18
+ "name": "did",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "key": {
25
+ "name": "key",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "mime": {
32
+ "name": "mime",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "size": {
39
+ "name": "size",
40
+ "type": "integer",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ }
45
+ },
46
+ "indexes": {},
47
+ "foreignKeys": {},
48
+ "compositePrimaryKeys": {},
49
+ "uniqueConstraints": {},
50
+ "checkConstraints": {}
51
+ },
52
+ "blob_usage": {
53
+ "name": "blob_usage",
54
+ "columns": {
55
+ "record_uri": {
56
+ "name": "record_uri",
57
+ "type": "text",
58
+ "primaryKey": false,
59
+ "notNull": true,
60
+ "autoincrement": false
61
+ },
62
+ "key": {
63
+ "name": "key",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ }
69
+ },
70
+ "indexes": {
71
+ "blob_usage_record_uri_idx": {
72
+ "name": "blob_usage_record_uri_idx",
73
+ "columns": [
74
+ "record_uri"
75
+ ],
76
+ "isUnique": false
77
+ }
78
+ },
79
+ "foreignKeys": {},
80
+ "compositePrimaryKeys": {},
81
+ "uniqueConstraints": {},
82
+ "checkConstraints": {}
83
+ },
84
+ "blockstore": {
85
+ "name": "blockstore",
86
+ "columns": {
87
+ "cid": {
88
+ "name": "cid",
89
+ "type": "text",
90
+ "primaryKey": true,
91
+ "notNull": true,
92
+ "autoincrement": false
93
+ },
94
+ "bytes": {
95
+ "name": "bytes",
96
+ "type": "text",
97
+ "primaryKey": false,
98
+ "notNull": false,
99
+ "autoincrement": false
100
+ }
101
+ },
102
+ "indexes": {},
103
+ "foreignKeys": {},
104
+ "compositePrimaryKeys": {},
105
+ "uniqueConstraints": {},
106
+ "checkConstraints": {}
107
+ },
108
+ "commit_log": {
109
+ "name": "commit_log",
110
+ "columns": {
111
+ "seq": {
112
+ "name": "seq",
113
+ "type": "integer",
114
+ "primaryKey": true,
115
+ "notNull": true,
116
+ "autoincrement": false
117
+ },
118
+ "cid": {
119
+ "name": "cid",
120
+ "type": "text",
121
+ "primaryKey": false,
122
+ "notNull": true,
123
+ "autoincrement": false
124
+ },
125
+ "rev": {
126
+ "name": "rev",
127
+ "type": "text",
128
+ "primaryKey": false,
129
+ "notNull": true,
130
+ "autoincrement": false
131
+ },
132
+ "data": {
133
+ "name": "data",
134
+ "type": "text",
135
+ "primaryKey": false,
136
+ "notNull": true,
137
+ "autoincrement": false
138
+ },
139
+ "sig": {
140
+ "name": "sig",
141
+ "type": "text",
142
+ "primaryKey": false,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "ts": {
147
+ "name": "ts",
148
+ "type": "integer",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ }
153
+ },
154
+ "indexes": {
155
+ "commit_log_seq_idx": {
156
+ "name": "commit_log_seq_idx",
157
+ "columns": [
158
+ "seq"
159
+ ],
160
+ "isUnique": false
161
+ }
162
+ },
163
+ "foreignKeys": {},
164
+ "compositePrimaryKeys": {},
165
+ "uniqueConstraints": {},
166
+ "checkConstraints": {}
167
+ },
168
+ "login_attempts": {
169
+ "name": "login_attempts",
170
+ "columns": {
171
+ "ip": {
172
+ "name": "ip",
173
+ "type": "text",
174
+ "primaryKey": true,
175
+ "notNull": true,
176
+ "autoincrement": false
177
+ },
178
+ "attempts": {
179
+ "name": "attempts",
180
+ "type": "integer",
181
+ "primaryKey": false,
182
+ "notNull": true,
183
+ "autoincrement": false,
184
+ "default": 0
185
+ },
186
+ "locked_until": {
187
+ "name": "locked_until",
188
+ "type": "integer",
189
+ "primaryKey": false,
190
+ "notNull": false,
191
+ "autoincrement": false
192
+ },
193
+ "last_attempt": {
194
+ "name": "last_attempt",
195
+ "type": "integer",
196
+ "primaryKey": false,
197
+ "notNull": true,
198
+ "autoincrement": false
199
+ }
200
+ },
201
+ "indexes": {},
202
+ "foreignKeys": {},
203
+ "compositePrimaryKeys": {},
204
+ "uniqueConstraints": {},
205
+ "checkConstraints": {}
206
+ },
207
+ "record": {
208
+ "name": "record",
209
+ "columns": {
210
+ "uri": {
211
+ "name": "uri",
212
+ "type": "text",
213
+ "primaryKey": true,
214
+ "notNull": true,
215
+ "autoincrement": false
216
+ },
217
+ "did": {
218
+ "name": "did",
219
+ "type": "text",
220
+ "primaryKey": false,
221
+ "notNull": true,
222
+ "autoincrement": false
223
+ },
224
+ "cid": {
225
+ "name": "cid",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "json": {
232
+ "name": "json",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "autoincrement": false
237
+ },
238
+ "created_at": {
239
+ "name": "created_at",
240
+ "type": "integer",
241
+ "primaryKey": false,
242
+ "notNull": false,
243
+ "autoincrement": false,
244
+ "default": 0
245
+ }
246
+ },
247
+ "indexes": {
248
+ "record_did_idx": {
249
+ "name": "record_did_idx",
250
+ "columns": [
251
+ "did"
252
+ ],
253
+ "isUnique": false
254
+ },
255
+ "record_cid_idx": {
256
+ "name": "record_cid_idx",
257
+ "columns": [
258
+ "cid"
259
+ ],
260
+ "isUnique": false
261
+ }
262
+ },
263
+ "foreignKeys": {},
264
+ "compositePrimaryKeys": {},
265
+ "uniqueConstraints": {},
266
+ "checkConstraints": {}
267
+ },
268
+ "repo_root": {
269
+ "name": "repo_root",
270
+ "columns": {
271
+ "did": {
272
+ "name": "did",
273
+ "type": "text",
274
+ "primaryKey": true,
275
+ "notNull": true,
276
+ "autoincrement": false
277
+ },
278
+ "commit_cid": {
279
+ "name": "commit_cid",
280
+ "type": "text",
281
+ "primaryKey": false,
282
+ "notNull": true,
283
+ "autoincrement": false
284
+ },
285
+ "rev": {
286
+ "name": "rev",
287
+ "type": "integer",
288
+ "primaryKey": false,
289
+ "notNull": true,
290
+ "autoincrement": false
291
+ }
292
+ },
293
+ "indexes": {},
294
+ "foreignKeys": {},
295
+ "compositePrimaryKeys": {},
296
+ "uniqueConstraints": {},
297
+ "checkConstraints": {}
298
+ },
299
+ "token_revocation": {
300
+ "name": "token_revocation",
301
+ "columns": {
302
+ "jti": {
303
+ "name": "jti",
304
+ "type": "text",
305
+ "primaryKey": true,
306
+ "notNull": true,
307
+ "autoincrement": false
308
+ },
309
+ "exp": {
310
+ "name": "exp",
311
+ "type": "integer",
312
+ "primaryKey": false,
313
+ "notNull": true,
314
+ "autoincrement": false
315
+ },
316
+ "revoked_at": {
317
+ "name": "revoked_at",
318
+ "type": "integer",
319
+ "primaryKey": false,
320
+ "notNull": true,
321
+ "autoincrement": false
322
+ }
323
+ },
324
+ "indexes": {
325
+ "token_revocation_exp_idx": {
326
+ "name": "token_revocation_exp_idx",
327
+ "columns": [
328
+ "exp"
329
+ ],
330
+ "isUnique": false
331
+ }
332
+ },
333
+ "foreignKeys": {},
334
+ "compositePrimaryKeys": {},
335
+ "uniqueConstraints": {},
336
+ "checkConstraints": {}
337
+ }
338
+ },
339
+ "views": {},
340
+ "enums": {},
341
+ "_meta": {
342
+ "schemas": {},
343
+ "tables": {},
344
+ "columns": {}
345
+ },
346
+ "internal": {
347
+ "indexes": {}
348
+ }
349
+ }