@dhzh/foundry 4.0.0 → 6.0.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.
- package/README.md +30 -23
- package/dist/index.mjs +4 -1
- package/dist/skills/foundry/SKILL.md +10 -9
- package/dist/skills/foundry/references/captures.md +99 -103
- package/dist/skills/foundry/references/cli-conventions.md +3 -3
- package/dist/skills/foundry/references/data-transfer.md +15 -11
- package/dist/skills/foundry/references/settings.md +9 -12
- package/dist/web/assets/{BottomSheet-CDtaYemW.js → BottomSheet-DQwWhhYI.js} +1 -1
- package/dist/web/assets/{ItemSwipeLayer-Cp1gCfRQ.js → ItemSwipeLayer-CeyoMSkM.js} +1 -1
- package/dist/web/assets/{MenuBottomSheet-CMLetz-H.js → MenuBottomSheet-BuaZeZUh.js} +1 -1
- package/dist/web/assets/index-B90pNaUa.js +105 -0
- package/dist/web/assets/{index-D6Lneuo8.css → index-Bjtcyz6x.css} +24 -0
- package/dist/web/index.html +2 -2
- package/package.json +3 -7
- package/dist/drizzle/0000_fuzzy_spectrum.sql +0 -12
- package/dist/drizzle/0001_numerous_scorpion.sql +0 -30
- package/dist/drizzle/meta/0000_snapshot.json +0 -101
- package/dist/drizzle/meta/0001_snapshot.json +0 -302
- package/dist/drizzle/meta/_journal.json +0 -20
- package/dist/web/assets/index-D8GEg9kQ.js +0 -179
|
@@ -189,10 +189,22 @@
|
|
|
189
189
|
flex-shrink: 1;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
.x1a02dak {
|
|
193
|
+
flex-wrap: wrap;
|
|
194
|
+
}
|
|
195
|
+
|
|
192
196
|
.x14194xn {
|
|
193
197
|
font-family: Poppins, sans-serif;
|
|
194
198
|
}
|
|
195
199
|
|
|
200
|
+
.x19dn7l4 {
|
|
201
|
+
font-family: ui-monospace, SF Mono, Monaco, Consolas, Liberation Mono, monospace;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.x4z9k3i {
|
|
205
|
+
font-size: 13px;
|
|
206
|
+
}
|
|
207
|
+
|
|
196
208
|
.xl56j7k {
|
|
197
209
|
justify-content: center;
|
|
198
210
|
}
|
|
@@ -217,6 +229,10 @@
|
|
|
217
229
|
row-gap: calc(var(--spacing-0-5) / 2);
|
|
218
230
|
}
|
|
219
231
|
|
|
232
|
+
.x1ngg2t4 {
|
|
233
|
+
row-gap: var(--spacing-1);
|
|
234
|
+
}
|
|
235
|
+
|
|
220
236
|
.x2b8uid {
|
|
221
237
|
text-align: center;
|
|
222
238
|
}
|
|
@@ -260,6 +276,10 @@
|
|
|
260
276
|
}
|
|
261
277
|
|
|
262
278
|
@layer priority5 {
|
|
279
|
+
.x5yr21d {
|
|
280
|
+
height: 100%;
|
|
281
|
+
}
|
|
282
|
+
|
|
263
283
|
.xqu0tyb {
|
|
264
284
|
height: 4px;
|
|
265
285
|
}
|
|
@@ -292,6 +312,10 @@
|
|
|
292
312
|
max-width: min(34rem, 42vw);
|
|
293
313
|
}
|
|
294
314
|
|
|
315
|
+
.x2lwn1j {
|
|
316
|
+
min-height: 0;
|
|
317
|
+
}
|
|
318
|
+
|
|
295
319
|
.x1jwcc43 {
|
|
296
320
|
min-height: calc(var(--spacing-10) * 2);
|
|
297
321
|
}
|
package/dist/web/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" href="/favicon.png" />
|
|
7
7
|
<title>Foundry</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-B90pNaUa.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Bjtcyz6x.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhzh/foundry",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0",
|
|
5
5
|
"devEngines": {
|
|
6
6
|
"packageManager": {
|
|
7
7
|
"name": "pnpm",
|
|
@@ -44,14 +44,12 @@
|
|
|
44
44
|
"@commitlint/config-conventional": "^21.2.4",
|
|
45
45
|
"@dhzh/eslint-config": "^3.1.3",
|
|
46
46
|
"@j178/prek": "^0.5.7",
|
|
47
|
-
"@types/better-sqlite3": "^9.6.0",
|
|
48
47
|
"@types/node": "^26.6.5",
|
|
49
48
|
"@types/yauzl": "^3.4.0",
|
|
50
49
|
"@types/yazl": "^3.3.1",
|
|
51
50
|
"@vitest/coverage-v8": "^5.0.5",
|
|
52
51
|
"bumpp": "^12.3.0",
|
|
53
52
|
"changelogithub": "^15.0.5",
|
|
54
|
-
"drizzle-kit": "^0.31.11",
|
|
55
53
|
"eslint": "^10.13.0",
|
|
56
54
|
"lint-staged": "^17.6.0",
|
|
57
55
|
"taze": "^21.3.0",
|
|
@@ -62,10 +60,10 @@
|
|
|
62
60
|
},
|
|
63
61
|
"dependencies": {
|
|
64
62
|
"@hono/node-server": "^2.1.5",
|
|
65
|
-
"better-sqlite3": "^13.0.3",
|
|
66
63
|
"citty": "^0.2.2",
|
|
67
|
-
"
|
|
64
|
+
"firecrawl": "^4.52.0",
|
|
68
65
|
"hono": "^4.13.14",
|
|
66
|
+
"tldts": "^7.4.19",
|
|
69
67
|
"yauzl": "^3.4.0",
|
|
70
68
|
"yazl": "^3.3.1"
|
|
71
69
|
},
|
|
@@ -73,8 +71,6 @@
|
|
|
73
71
|
"build": "pnpm run build:cli && pnpm run build:web",
|
|
74
72
|
"build:cli": "tsdown",
|
|
75
73
|
"build:web": "pnpm --filter web build",
|
|
76
|
-
"db:generate": "drizzle-kit generate",
|
|
77
|
-
"db:migrate": "drizzle-kit migrate",
|
|
78
74
|
"dev:api": "tsx watch --clear-screen=false src/server/dev.ts",
|
|
79
75
|
"dev:web": "pnpm --filter web dev",
|
|
80
76
|
"lint": "eslint",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `providers` (
|
|
2
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
-
`name` text NOT NULL,
|
|
4
|
-
`protocol` text NOT NULL,
|
|
5
|
-
`base_url` text NOT NULL,
|
|
6
|
-
`api_key` text DEFAULT '' NOT NULL,
|
|
7
|
-
`custom_models` text DEFAULT '[]' NOT NULL,
|
|
8
|
-
`status` text DEFAULT 'active' NOT NULL,
|
|
9
|
-
`created_at` integer NOT NULL,
|
|
10
|
-
`updated_at` integer NOT NULL,
|
|
11
|
-
`deleted_at` integer
|
|
12
|
-
);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `captures` (
|
|
2
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
-
`url` text NOT NULL,
|
|
4
|
-
`title` text,
|
|
5
|
-
`user_note` text,
|
|
6
|
-
`latest_successful_job_id` text,
|
|
7
|
-
`created_at` integer NOT NULL,
|
|
8
|
-
`updated_at` integer NOT NULL,
|
|
9
|
-
`deleted_at` integer
|
|
10
|
-
);
|
|
11
|
-
--> statement-breakpoint
|
|
12
|
-
CREATE UNIQUE INDEX `captures_url_active_unique` ON `captures` (`url`) WHERE "captures"."deleted_at" is null;--> statement-breakpoint
|
|
13
|
-
CREATE INDEX `captures_created_at_idx` ON `captures` (`created_at`);--> statement-breakpoint
|
|
14
|
-
CREATE TABLE `scrape_jobs` (
|
|
15
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
16
|
-
`capture_id` text NOT NULL,
|
|
17
|
-
`fetcher` text NOT NULL,
|
|
18
|
-
`config_snapshot` text NOT NULL,
|
|
19
|
-
`raw_response_json` text,
|
|
20
|
-
`status` text DEFAULT 'pending' NOT NULL,
|
|
21
|
-
`error_code` text,
|
|
22
|
-
`error_message` text,
|
|
23
|
-
`created_at` integer NOT NULL,
|
|
24
|
-
`updated_at` integer NOT NULL,
|
|
25
|
-
`deleted_at` integer,
|
|
26
|
-
FOREIGN KEY (`capture_id`) REFERENCES `captures`(`id`) ON UPDATE no action ON DELETE no action
|
|
27
|
-
);
|
|
28
|
-
--> statement-breakpoint
|
|
29
|
-
CREATE UNIQUE INDEX `scrape_jobs_one_active_per_capture` ON `scrape_jobs` (`capture_id`) WHERE "scrape_jobs"."status" in ('pending', 'running') and "scrape_jobs"."deleted_at" is null;--> statement-breakpoint
|
|
30
|
-
CREATE INDEX `scrape_jobs_capture_created_at_idx` ON `scrape_jobs` (`capture_id`,`created_at`);
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "6",
|
|
3
|
-
"dialect": "sqlite",
|
|
4
|
-
"id": "2fd8fef0-5aa0-4600-b92e-04cc4a63bea2",
|
|
5
|
-
"prevId": "00000000-0000-0000-0000-000000000000",
|
|
6
|
-
"tables": {
|
|
7
|
-
"providers": {
|
|
8
|
-
"name": "providers",
|
|
9
|
-
"columns": {
|
|
10
|
-
"id": {
|
|
11
|
-
"name": "id",
|
|
12
|
-
"type": "text",
|
|
13
|
-
"primaryKey": true,
|
|
14
|
-
"notNull": true,
|
|
15
|
-
"autoincrement": false
|
|
16
|
-
},
|
|
17
|
-
"name": {
|
|
18
|
-
"name": "name",
|
|
19
|
-
"type": "text",
|
|
20
|
-
"primaryKey": false,
|
|
21
|
-
"notNull": true,
|
|
22
|
-
"autoincrement": false
|
|
23
|
-
},
|
|
24
|
-
"protocol": {
|
|
25
|
-
"name": "protocol",
|
|
26
|
-
"type": "text",
|
|
27
|
-
"primaryKey": false,
|
|
28
|
-
"notNull": true,
|
|
29
|
-
"autoincrement": false
|
|
30
|
-
},
|
|
31
|
-
"base_url": {
|
|
32
|
-
"name": "base_url",
|
|
33
|
-
"type": "text",
|
|
34
|
-
"primaryKey": false,
|
|
35
|
-
"notNull": true,
|
|
36
|
-
"autoincrement": false
|
|
37
|
-
},
|
|
38
|
-
"api_key": {
|
|
39
|
-
"name": "api_key",
|
|
40
|
-
"type": "text",
|
|
41
|
-
"primaryKey": false,
|
|
42
|
-
"notNull": true,
|
|
43
|
-
"autoincrement": false,
|
|
44
|
-
"default": "''"
|
|
45
|
-
},
|
|
46
|
-
"custom_models": {
|
|
47
|
-
"name": "custom_models",
|
|
48
|
-
"type": "text",
|
|
49
|
-
"primaryKey": false,
|
|
50
|
-
"notNull": true,
|
|
51
|
-
"autoincrement": false,
|
|
52
|
-
"default": "'[]'"
|
|
53
|
-
},
|
|
54
|
-
"status": {
|
|
55
|
-
"name": "status",
|
|
56
|
-
"type": "text",
|
|
57
|
-
"primaryKey": false,
|
|
58
|
-
"notNull": true,
|
|
59
|
-
"autoincrement": false,
|
|
60
|
-
"default": "'active'"
|
|
61
|
-
},
|
|
62
|
-
"created_at": {
|
|
63
|
-
"name": "created_at",
|
|
64
|
-
"type": "integer",
|
|
65
|
-
"primaryKey": false,
|
|
66
|
-
"notNull": true,
|
|
67
|
-
"autoincrement": false
|
|
68
|
-
},
|
|
69
|
-
"updated_at": {
|
|
70
|
-
"name": "updated_at",
|
|
71
|
-
"type": "integer",
|
|
72
|
-
"primaryKey": false,
|
|
73
|
-
"notNull": true,
|
|
74
|
-
"autoincrement": false
|
|
75
|
-
},
|
|
76
|
-
"deleted_at": {
|
|
77
|
-
"name": "deleted_at",
|
|
78
|
-
"type": "integer",
|
|
79
|
-
"primaryKey": false,
|
|
80
|
-
"notNull": false,
|
|
81
|
-
"autoincrement": false
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"indexes": {},
|
|
85
|
-
"foreignKeys": {},
|
|
86
|
-
"compositePrimaryKeys": {},
|
|
87
|
-
"uniqueConstraints": {},
|
|
88
|
-
"checkConstraints": {}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"views": {},
|
|
92
|
-
"enums": {},
|
|
93
|
-
"_meta": {
|
|
94
|
-
"schemas": {},
|
|
95
|
-
"tables": {},
|
|
96
|
-
"columns": {}
|
|
97
|
-
},
|
|
98
|
-
"internal": {
|
|
99
|
-
"indexes": {}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "6",
|
|
3
|
-
"dialect": "sqlite",
|
|
4
|
-
"id": "28050e5f-15ee-4bf1-970e-f6bbf9a69e07",
|
|
5
|
-
"prevId": "2fd8fef0-5aa0-4600-b92e-04cc4a63bea2",
|
|
6
|
-
"tables": {
|
|
7
|
-
"captures": {
|
|
8
|
-
"name": "captures",
|
|
9
|
-
"columns": {
|
|
10
|
-
"id": {
|
|
11
|
-
"name": "id",
|
|
12
|
-
"type": "text",
|
|
13
|
-
"primaryKey": true,
|
|
14
|
-
"notNull": true,
|
|
15
|
-
"autoincrement": false
|
|
16
|
-
},
|
|
17
|
-
"url": {
|
|
18
|
-
"name": "url",
|
|
19
|
-
"type": "text",
|
|
20
|
-
"primaryKey": false,
|
|
21
|
-
"notNull": true,
|
|
22
|
-
"autoincrement": false
|
|
23
|
-
},
|
|
24
|
-
"title": {
|
|
25
|
-
"name": "title",
|
|
26
|
-
"type": "text",
|
|
27
|
-
"primaryKey": false,
|
|
28
|
-
"notNull": false,
|
|
29
|
-
"autoincrement": false
|
|
30
|
-
},
|
|
31
|
-
"user_note": {
|
|
32
|
-
"name": "user_note",
|
|
33
|
-
"type": "text",
|
|
34
|
-
"primaryKey": false,
|
|
35
|
-
"notNull": false,
|
|
36
|
-
"autoincrement": false
|
|
37
|
-
},
|
|
38
|
-
"latest_successful_job_id": {
|
|
39
|
-
"name": "latest_successful_job_id",
|
|
40
|
-
"type": "text",
|
|
41
|
-
"primaryKey": false,
|
|
42
|
-
"notNull": false,
|
|
43
|
-
"autoincrement": false
|
|
44
|
-
},
|
|
45
|
-
"created_at": {
|
|
46
|
-
"name": "created_at",
|
|
47
|
-
"type": "integer",
|
|
48
|
-
"primaryKey": false,
|
|
49
|
-
"notNull": true,
|
|
50
|
-
"autoincrement": false
|
|
51
|
-
},
|
|
52
|
-
"updated_at": {
|
|
53
|
-
"name": "updated_at",
|
|
54
|
-
"type": "integer",
|
|
55
|
-
"primaryKey": false,
|
|
56
|
-
"notNull": true,
|
|
57
|
-
"autoincrement": false
|
|
58
|
-
},
|
|
59
|
-
"deleted_at": {
|
|
60
|
-
"name": "deleted_at",
|
|
61
|
-
"type": "integer",
|
|
62
|
-
"primaryKey": false,
|
|
63
|
-
"notNull": false,
|
|
64
|
-
"autoincrement": false
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"indexes": {
|
|
68
|
-
"captures_url_active_unique": {
|
|
69
|
-
"name": "captures_url_active_unique",
|
|
70
|
-
"columns": [
|
|
71
|
-
"url"
|
|
72
|
-
],
|
|
73
|
-
"isUnique": true,
|
|
74
|
-
"where": "\"captures\".\"deleted_at\" is null"
|
|
75
|
-
},
|
|
76
|
-
"captures_created_at_idx": {
|
|
77
|
-
"name": "captures_created_at_idx",
|
|
78
|
-
"columns": [
|
|
79
|
-
"created_at"
|
|
80
|
-
],
|
|
81
|
-
"isUnique": false
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"foreignKeys": {},
|
|
85
|
-
"compositePrimaryKeys": {},
|
|
86
|
-
"uniqueConstraints": {},
|
|
87
|
-
"checkConstraints": {}
|
|
88
|
-
},
|
|
89
|
-
"providers": {
|
|
90
|
-
"name": "providers",
|
|
91
|
-
"columns": {
|
|
92
|
-
"id": {
|
|
93
|
-
"name": "id",
|
|
94
|
-
"type": "text",
|
|
95
|
-
"primaryKey": true,
|
|
96
|
-
"notNull": true,
|
|
97
|
-
"autoincrement": false
|
|
98
|
-
},
|
|
99
|
-
"name": {
|
|
100
|
-
"name": "name",
|
|
101
|
-
"type": "text",
|
|
102
|
-
"primaryKey": false,
|
|
103
|
-
"notNull": true,
|
|
104
|
-
"autoincrement": false
|
|
105
|
-
},
|
|
106
|
-
"protocol": {
|
|
107
|
-
"name": "protocol",
|
|
108
|
-
"type": "text",
|
|
109
|
-
"primaryKey": false,
|
|
110
|
-
"notNull": true,
|
|
111
|
-
"autoincrement": false
|
|
112
|
-
},
|
|
113
|
-
"base_url": {
|
|
114
|
-
"name": "base_url",
|
|
115
|
-
"type": "text",
|
|
116
|
-
"primaryKey": false,
|
|
117
|
-
"notNull": true,
|
|
118
|
-
"autoincrement": false
|
|
119
|
-
},
|
|
120
|
-
"api_key": {
|
|
121
|
-
"name": "api_key",
|
|
122
|
-
"type": "text",
|
|
123
|
-
"primaryKey": false,
|
|
124
|
-
"notNull": true,
|
|
125
|
-
"autoincrement": false,
|
|
126
|
-
"default": "''"
|
|
127
|
-
},
|
|
128
|
-
"custom_models": {
|
|
129
|
-
"name": "custom_models",
|
|
130
|
-
"type": "text",
|
|
131
|
-
"primaryKey": false,
|
|
132
|
-
"notNull": true,
|
|
133
|
-
"autoincrement": false,
|
|
134
|
-
"default": "'[]'"
|
|
135
|
-
},
|
|
136
|
-
"status": {
|
|
137
|
-
"name": "status",
|
|
138
|
-
"type": "text",
|
|
139
|
-
"primaryKey": false,
|
|
140
|
-
"notNull": true,
|
|
141
|
-
"autoincrement": false,
|
|
142
|
-
"default": "'active'"
|
|
143
|
-
},
|
|
144
|
-
"created_at": {
|
|
145
|
-
"name": "created_at",
|
|
146
|
-
"type": "integer",
|
|
147
|
-
"primaryKey": false,
|
|
148
|
-
"notNull": true,
|
|
149
|
-
"autoincrement": false
|
|
150
|
-
},
|
|
151
|
-
"updated_at": {
|
|
152
|
-
"name": "updated_at",
|
|
153
|
-
"type": "integer",
|
|
154
|
-
"primaryKey": false,
|
|
155
|
-
"notNull": true,
|
|
156
|
-
"autoincrement": false
|
|
157
|
-
},
|
|
158
|
-
"deleted_at": {
|
|
159
|
-
"name": "deleted_at",
|
|
160
|
-
"type": "integer",
|
|
161
|
-
"primaryKey": false,
|
|
162
|
-
"notNull": false,
|
|
163
|
-
"autoincrement": false
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"indexes": {},
|
|
167
|
-
"foreignKeys": {},
|
|
168
|
-
"compositePrimaryKeys": {},
|
|
169
|
-
"uniqueConstraints": {},
|
|
170
|
-
"checkConstraints": {}
|
|
171
|
-
},
|
|
172
|
-
"scrape_jobs": {
|
|
173
|
-
"name": "scrape_jobs",
|
|
174
|
-
"columns": {
|
|
175
|
-
"id": {
|
|
176
|
-
"name": "id",
|
|
177
|
-
"type": "text",
|
|
178
|
-
"primaryKey": true,
|
|
179
|
-
"notNull": true,
|
|
180
|
-
"autoincrement": false
|
|
181
|
-
},
|
|
182
|
-
"capture_id": {
|
|
183
|
-
"name": "capture_id",
|
|
184
|
-
"type": "text",
|
|
185
|
-
"primaryKey": false,
|
|
186
|
-
"notNull": true,
|
|
187
|
-
"autoincrement": false
|
|
188
|
-
},
|
|
189
|
-
"fetcher": {
|
|
190
|
-
"name": "fetcher",
|
|
191
|
-
"type": "text",
|
|
192
|
-
"primaryKey": false,
|
|
193
|
-
"notNull": true,
|
|
194
|
-
"autoincrement": false
|
|
195
|
-
},
|
|
196
|
-
"config_snapshot": {
|
|
197
|
-
"name": "config_snapshot",
|
|
198
|
-
"type": "text",
|
|
199
|
-
"primaryKey": false,
|
|
200
|
-
"notNull": true,
|
|
201
|
-
"autoincrement": false
|
|
202
|
-
},
|
|
203
|
-
"raw_response_json": {
|
|
204
|
-
"name": "raw_response_json",
|
|
205
|
-
"type": "text",
|
|
206
|
-
"primaryKey": false,
|
|
207
|
-
"notNull": false,
|
|
208
|
-
"autoincrement": false
|
|
209
|
-
},
|
|
210
|
-
"status": {
|
|
211
|
-
"name": "status",
|
|
212
|
-
"type": "text",
|
|
213
|
-
"primaryKey": false,
|
|
214
|
-
"notNull": true,
|
|
215
|
-
"autoincrement": false,
|
|
216
|
-
"default": "'pending'"
|
|
217
|
-
},
|
|
218
|
-
"error_code": {
|
|
219
|
-
"name": "error_code",
|
|
220
|
-
"type": "text",
|
|
221
|
-
"primaryKey": false,
|
|
222
|
-
"notNull": false,
|
|
223
|
-
"autoincrement": false
|
|
224
|
-
},
|
|
225
|
-
"error_message": {
|
|
226
|
-
"name": "error_message",
|
|
227
|
-
"type": "text",
|
|
228
|
-
"primaryKey": false,
|
|
229
|
-
"notNull": false,
|
|
230
|
-
"autoincrement": false
|
|
231
|
-
},
|
|
232
|
-
"created_at": {
|
|
233
|
-
"name": "created_at",
|
|
234
|
-
"type": "integer",
|
|
235
|
-
"primaryKey": false,
|
|
236
|
-
"notNull": true,
|
|
237
|
-
"autoincrement": false
|
|
238
|
-
},
|
|
239
|
-
"updated_at": {
|
|
240
|
-
"name": "updated_at",
|
|
241
|
-
"type": "integer",
|
|
242
|
-
"primaryKey": false,
|
|
243
|
-
"notNull": true,
|
|
244
|
-
"autoincrement": false
|
|
245
|
-
},
|
|
246
|
-
"deleted_at": {
|
|
247
|
-
"name": "deleted_at",
|
|
248
|
-
"type": "integer",
|
|
249
|
-
"primaryKey": false,
|
|
250
|
-
"notNull": false,
|
|
251
|
-
"autoincrement": false
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"indexes": {
|
|
255
|
-
"scrape_jobs_one_active_per_capture": {
|
|
256
|
-
"name": "scrape_jobs_one_active_per_capture",
|
|
257
|
-
"columns": [
|
|
258
|
-
"capture_id"
|
|
259
|
-
],
|
|
260
|
-
"isUnique": true,
|
|
261
|
-
"where": "\"scrape_jobs\".\"status\" in ('pending', 'running') and \"scrape_jobs\".\"deleted_at\" is null"
|
|
262
|
-
},
|
|
263
|
-
"scrape_jobs_capture_created_at_idx": {
|
|
264
|
-
"name": "scrape_jobs_capture_created_at_idx",
|
|
265
|
-
"columns": [
|
|
266
|
-
"capture_id",
|
|
267
|
-
"created_at"
|
|
268
|
-
],
|
|
269
|
-
"isUnique": false
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
"foreignKeys": {
|
|
273
|
-
"scrape_jobs_capture_id_captures_id_fk": {
|
|
274
|
-
"name": "scrape_jobs_capture_id_captures_id_fk",
|
|
275
|
-
"tableFrom": "scrape_jobs",
|
|
276
|
-
"tableTo": "captures",
|
|
277
|
-
"columnsFrom": [
|
|
278
|
-
"capture_id"
|
|
279
|
-
],
|
|
280
|
-
"columnsTo": [
|
|
281
|
-
"id"
|
|
282
|
-
],
|
|
283
|
-
"onDelete": "no action",
|
|
284
|
-
"onUpdate": "no action"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"compositePrimaryKeys": {},
|
|
288
|
-
"uniqueConstraints": {},
|
|
289
|
-
"checkConstraints": {}
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
"views": {},
|
|
293
|
-
"enums": {},
|
|
294
|
-
"_meta": {
|
|
295
|
-
"schemas": {},
|
|
296
|
-
"tables": {},
|
|
297
|
-
"columns": {}
|
|
298
|
-
},
|
|
299
|
-
"internal": {
|
|
300
|
-
"indexes": {}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "7",
|
|
3
|
-
"dialect": "sqlite",
|
|
4
|
-
"entries": [
|
|
5
|
-
{
|
|
6
|
-
"idx": 0,
|
|
7
|
-
"version": "6",
|
|
8
|
-
"when": 1792274426761,
|
|
9
|
-
"tag": "0000_fuzzy_spectrum",
|
|
10
|
-
"breakpoints": true
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"idx": 1,
|
|
14
|
-
"version": "6",
|
|
15
|
-
"when": 1792638711610,
|
|
16
|
-
"tag": "0001_numerous_scorpion",
|
|
17
|
-
"breakpoints": true
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|