@dimah-s3/db 1.7.1 → 1.7.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.
- package/README.md +3 -1
- package/dist/cli.js +1 -1
- package/package.json +5 -5
- package/src/schema/examples/README.md +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# @dimah-s3/db
|
|
2
2
|
|
|
3
|
+
**1.x.** New projects should use the [2.0 beta](https://s3.dimah.dev/docs/db) (`npm i @dimah-s3/db@beta`).
|
|
4
|
+
|
|
3
5
|
Optional FumaDB persistence for [dimah-s3](https://github.com/dimah-kz/dimah-s3) — `storage_object` table via the `db()` plugin.
|
|
4
6
|
|
|
5
|
-
**Docs:** [Database Setup](https://s3.dimah.dev/docs/db/setup) · [Database Lifecycle Hooks](https://s3.dimah.dev/docs/db/lifecycle-hooks) · [llms.txt](https://s3.dimah.dev/llms.txt) · **Example:** [`examples/with-db`](../../examples/with-db)
|
|
7
|
+
**Docs:** [Database Setup](https://v1.s3.dimah.dev/docs/db/setup) · [Database Lifecycle Hooks](https://v1.s3.dimah.dev/docs/db/lifecycle-hooks) · [llms.txt](https://v1.s3.dimah.dev/llms.txt) · **Example:** [`examples/with-db`](../../examples/with-db)
|
|
6
8
|
|
|
7
9
|
```ts
|
|
8
10
|
import { DimahS3DB, db } from "@dimah-s3/db";
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/db",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Optional database plugin for dimah-s3 — track S3 object ownership, listings, and resumable uploads",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"s3",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"fumadb",
|
|
19
19
|
"typescript"
|
|
20
20
|
],
|
|
21
|
-
"homepage": "https://s3.dimah.dev/docs/db",
|
|
21
|
+
"homepage": "https://v1.s3.dimah.dev/docs/db",
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/dimah-kz/dimah-s3/issues"
|
|
24
24
|
},
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"src/schema/examples"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@dimah-s3/core": "1.7.
|
|
53
|
+
"@dimah-s3/core": "1.7.2",
|
|
54
54
|
"@paralleldrive/cuid2": "^3.3.0",
|
|
55
55
|
"fumadb": "^0.6.0",
|
|
56
56
|
"zod": "^4.6.7"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@aws-sdk/client-s3": "^3.1159.0",
|
|
60
|
-
"@dimah-s3/server": "1.7.
|
|
60
|
+
"@dimah-s3/server": "1.7.2",
|
|
61
61
|
"@types/node": "^26.6.6",
|
|
62
62
|
"@workspace/eslint-config": "0.0.1",
|
|
63
63
|
"@workspace/tsup-config": "0.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@aws-sdk/client-s3": ">=3",
|
|
75
|
-
"@dimah-s3/server": "1.7.
|
|
75
|
+
"@dimah-s3/server": "1.7.2",
|
|
76
76
|
"drizzle-orm": "^0.44.0 || ^0.45.0 || >=1.0.0-rc.1 <2.0.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependenciesMeta": {
|
|
@@ -7,4 +7,4 @@ Copy-paste `storage_object` + recommended indexes. Not imported at runtime.
|
|
|
7
7
|
| [`drizzle.ts`](./drizzle.ts) | Drizzle 1.x (SQLite) |
|
|
8
8
|
| [`schema.prisma`](./schema.prisma) | Prisma |
|
|
9
9
|
|
|
10
|
-
Docs: [Database Setup](https://s3.dimah.dev/docs/db/setup). Drizzle needs `fumadb/cuid` → `@paralleldrive/cuid2` in tsconfig paths.
|
|
10
|
+
Docs: [Database Setup](https://v1.s3.dimah.dev/docs/db/setup). Drizzle needs `fumadb/cuid` → `@paralleldrive/cuid2` in tsconfig paths.
|