@dhzh/foundry 2.0.2 → 3.0.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 (40) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +158 -2
  3. package/dist/drizzle/0000_fuzzy_spectrum.sql +12 -0
  4. package/dist/drizzle/0001_numerous_scorpion.sql +30 -0
  5. package/dist/drizzle/meta/0000_snapshot.json +101 -0
  6. package/dist/drizzle/meta/0001_snapshot.json +302 -0
  7. package/dist/drizzle/meta/_journal.json +20 -0
  8. package/dist/index.mjs +2 -0
  9. package/dist/web/assets/BottomSheet-8bK6bbnE.js +1 -0
  10. package/dist/web/assets/ItemSwipeLayer-yJw7PzFS.js +1 -0
  11. package/dist/web/assets/MenuBottomSheet-Bs2WJHmm.js +1 -0
  12. package/dist/web/assets/index-BhWCZaJQ.js +179 -0
  13. package/dist/web/assets/index-CZhQ_1j1.css +382 -0
  14. package/dist/web/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2 +0 -0
  15. package/dist/web/assets/poppins-devanagari-400-normal-CqVvlrh5.woff +0 -0
  16. package/dist/web/assets/poppins-devanagari-500-normal-BIdkeU1p.woff2 +0 -0
  17. package/dist/web/assets/poppins-devanagari-500-normal-DMPDjHtT.woff +0 -0
  18. package/dist/web/assets/poppins-devanagari-600-normal-ClASKHrr.woff +0 -0
  19. package/dist/web/assets/poppins-devanagari-600-normal-STEjXBNN.woff2 +0 -0
  20. package/dist/web/assets/poppins-devanagari-700-normal-O-jipLrW.woff2 +0 -0
  21. package/dist/web/assets/poppins-devanagari-700-normal-fHs-vx92.woff +0 -0
  22. package/dist/web/assets/poppins-latin-400-normal-BOb3E3N0.woff +0 -0
  23. package/dist/web/assets/poppins-latin-400-normal-cpxAROuN.woff2 +0 -0
  24. package/dist/web/assets/poppins-latin-500-normal-C8OXljZJ.woff2 +0 -0
  25. package/dist/web/assets/poppins-latin-500-normal-DGXqpDMm.woff +0 -0
  26. package/dist/web/assets/poppins-latin-600-normal-BJdTmd5m.woff +0 -0
  27. package/dist/web/assets/poppins-latin-600-normal-zEkxB9Mr.woff2 +0 -0
  28. package/dist/web/assets/poppins-latin-700-normal-BVuQR_eA.woff +0 -0
  29. package/dist/web/assets/poppins-latin-700-normal-Qrb0O0WB.woff2 +0 -0
  30. package/dist/web/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff +0 -0
  31. package/dist/web/assets/poppins-latin-ext-400-normal-by3JarPu.woff2 +0 -0
  32. package/dist/web/assets/poppins-latin-ext-500-normal-CK-6C4Hw.woff2 +0 -0
  33. package/dist/web/assets/poppins-latin-ext-500-normal-CgAe2rWW.woff +0 -0
  34. package/dist/web/assets/poppins-latin-ext-600-normal-CAhIAdZj.woff2 +0 -0
  35. package/dist/web/assets/poppins-latin-ext-600-normal-Df5ffKXP.woff +0 -0
  36. package/dist/web/assets/poppins-latin-ext-700-normal-DctTR6Tg.woff +0 -0
  37. package/dist/web/assets/poppins-latin-ext-700-normal-cby-RkWa.woff2 +0 -0
  38. package/dist/web/favicon.png +0 -0
  39. package/dist/web/index.html +14 -0
  40. package/package.json +82 -8
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,159 @@
1
- # @dhzh/foundry
1
+ # Foundry
2
2
 
3
- Foundry release 2.0.2.
3
+ Foundry is an AI-native local personal workbench distributed as a CLI. Running
4
+ `foundry` prepares local storage, starts a Hono server, serves the bundled
5
+ React Web UI, and opens it in the default browser.
6
+
7
+ The package is intentionally CLI-only. It does not expose a JavaScript library
8
+ entry point.
9
+
10
+ ## Features
11
+
12
+ - Manage model providers using OpenAI Responses, Anthropic Messages, or
13
+ OpenAI-compatible Chat Completions protocols.
14
+ - Discover provider models and keep custom model IDs alongside remote models.
15
+ - Capture links with Firecrawl or DeepSeek, run background jobs with retries,
16
+ and review scrape history and captured Markdown.
17
+ - Configure appearance, language and region, capture behavior, and concurrency.
18
+ - Export and import an encrypted `.foundry-backup` snapshot containing the
19
+ database and application settings.
20
+
21
+ ## Requirements
22
+
23
+ - Node.js 24.22.1 or newer
24
+ - pnpm 12.15 or newer
25
+
26
+ The project uses `better-sqlite3`, so pnpm must be allowed to run native package
27
+ build scripts. The required allowlist is already declared in
28
+ `pnpm-workspace.yaml`.
29
+
30
+ ## Run From Source
31
+
32
+ ```bash
33
+ pnpm install
34
+ pnpm build
35
+ pnpm start
36
+ ```
37
+
38
+ `pnpm start` runs the built CLI from `dist/index.mjs`. Build first after changing
39
+ the CLI, server, or Web UI.
40
+
41
+ The CLI listens on `http://127.0.0.1:11111`, prints the URL, and opens the
42
+ browser by default:
43
+
44
+ ```bash
45
+ foundry
46
+ foundry --no-open
47
+ foundry --help
48
+ foundry --version
49
+ ```
50
+
51
+ The host and port are currently fixed. There are no CLI or environment-variable
52
+ port overrides.
53
+
54
+ ## Local Development
55
+
56
+ Run the API and Web UI as two independent processes:
57
+
58
+ ```bash
59
+ pnpm dev:api
60
+ pnpm dev:web
61
+ ```
62
+
63
+ - Web UI: `http://localhost:33333`
64
+ - API: `http://localhost:22222`
65
+
66
+ Vite proxies `/api` from the Web dev server to the API server. There is
67
+ intentionally no CLI development command; use the two development servers to
68
+ test page behavior, then use `pnpm build && pnpm start` to verify the production
69
+ server and static assets.
70
+
71
+ ## Data and Storage
72
+
73
+ Foundry keeps user data outside the repository in `~/.foundry`:
74
+
75
+ - `foundry.sqlite`: providers and their credentials, captures, and scrape jobs
76
+ - `settings.json`: application settings and capture-fetcher credentials
77
+ - `.data-transfer/`: temporary export and import files
78
+
79
+ The CLI initializes the directory, opens the SQLite database, and applies
80
+ Drizzle migrations before the server starts. A database created by a newer
81
+ schema version is rejected instead of being modified.
82
+
83
+ On POSIX systems, Foundry creates the data directory with `0700` permissions and
84
+ sensitive files with `0600` permissions.
85
+
86
+ ## Build Output
87
+
88
+ ```bash
89
+ pnpm build
90
+ ```
91
+
92
+ The build produces:
93
+
94
+ ```text
95
+ dist/
96
+ |-- index.mjs
97
+ |-- drizzle/
98
+ | |-- *.sql
99
+ | `-- meta/
100
+ `-- web/
101
+ |-- assets/
102
+ |-- index.html
103
+ `-- favicon.png
104
+ ```
105
+
106
+ `tsdown` cleans `dist`, bundles the CLI, and copies the Drizzle migrations.
107
+ Vite then writes the Web UI directly to `dist/web`. Do not add a manual copy
108
+ step for the Web UI.
109
+
110
+ ## Commands
111
+
112
+ | Command | Purpose |
113
+ | --- | --- |
114
+ | `pnpm dev:api` | Run the API server at `22222` |
115
+ | `pnpm dev:web` | Run the Vite Web UI at `33333` |
116
+ | `pnpm build` | Build the CLI and Web UI |
117
+ | `pnpm start` | Run the production CLI at `11111` |
118
+ | `pnpm test` | Run behavioral tests |
119
+ | `pnpm test:coverage` | Run tests with V8 coverage |
120
+ | `pnpm db:generate` | Generate a Drizzle migration after schema changes |
121
+ | `pnpm db:migrate` | Apply migrations manually to the local database |
122
+
123
+ Run the project scripts with the Node.js version declared in `package.json`.
124
+ Older Node.js versions cannot run the installed pnpm or project toolchain.
125
+
126
+ ## Project Structure
127
+
128
+ ```text
129
+ app/web/ React, Vite, Astryx, and StyleX Web UI
130
+ src/
131
+ |-- cli/ CLI arguments and browser opening
132
+ |-- features/ Providers, captures, settings, and data transfer
133
+ |-- lib/ Small server-side utilities
134
+ |-- server/ Hono API, static serving, and server entry points
135
+ `-- storage/ SQLite, Drizzle schema, paths, and migrations
136
+ drizzle/ Generated migration SQL and metadata
137
+ test/ Behavioral API and feature tests
138
+ ```
139
+
140
+ The API is mounted under `/api`. The production server serves files from
141
+ `dist/web` and falls back to `dist/web/index.html` for client-side routes.
142
+
143
+ ## Packaging
144
+
145
+ The published package contains only `dist`. The `bin` entry points to
146
+ `dist/index.mjs`, and `exports` exposes only `./package.json`; consumers cannot
147
+ import Foundry as a JavaScript library.
148
+
149
+ Verify package contents with:
150
+
151
+ ```bash
152
+ pnpm pack --dry-run
153
+ ```
154
+
155
+ The tarball must include the CLI, Web assets, and Drizzle migrations.
156
+
157
+ ## License
158
+
159
+ [Apache-2.0](LICENSE)
@@ -0,0 +1,12 @@
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
+ );
@@ -0,0 +1,30 @@
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`);
@@ -0,0 +1,101 @@
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
+ }