@dimah-s3/db 0.3.0 → 0.3.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 +1 -1
- package/dist/cli.js +1 -1
- package/package.json +6 -6
- package/src/schema/examples/README.md +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Optional FumaDB persistence for [dimah-s3](https://github.com/dimah-kz/dimah-s3) — `storage_object` table via the `db()` plugin.
|
|
4
4
|
|
|
5
|
-
**Docs:** [Setup](https://dimah-s3.
|
|
5
|
+
**Docs:** [Setup](https://dimah-s3.vercel.app/docs/db/setup) · [Hooks](https://dimah-s3.vercel.app/docs/db/hooks) · **Example:** [`examples/with-db`](../../examples/with-db)
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
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": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Optional FumaDB persistence for dimah-s3 — db() plugin + storage_object schema",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"s3",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@paralleldrive/cuid2": "^3.3.0",
|
|
45
45
|
"fumadb": "^0.5.1",
|
|
46
|
-
"@dimah-s3/core": "0.3.
|
|
46
|
+
"@dimah-s3/core": "0.3.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@dimah-s3/server": "0.3.
|
|
49
|
+
"@dimah-s3/server": "0.3.2",
|
|
50
50
|
"drizzle-orm": "^0.44.0 || ^0.45.0 || >=1.0.0-rc.1 <2.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"tsup": "^8.5.1",
|
|
62
62
|
"typescript": "7.0.2",
|
|
63
63
|
"vitest": "^4.1.10",
|
|
64
|
-
"@dimah-s3/server": "0.3.
|
|
65
|
-
"@workspace/
|
|
66
|
-
"@workspace/
|
|
64
|
+
"@dimah-s3/server": "0.3.2",
|
|
65
|
+
"@workspace/typescript-config": "0.0.1",
|
|
66
|
+
"@workspace/eslint-config": "0.0.1"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
@@ -7,4 +7,4 @@ Copy-paste `storage_object` + recommended indexes. Not imported at runtime.
|
|
|
7
7
|
| [`drizzle.ts`](./drizzle.ts) | Drizzle (SQLite) |
|
|
8
8
|
| [`schema.prisma`](./schema.prisma) | Prisma |
|
|
9
9
|
|
|
10
|
-
Docs: [Setup](https://dimah-s3.
|
|
10
|
+
Docs: [Setup](https://dimah-s3.vercel.app/docs/db/setup). Drizzle needs `fumadb/cuid` → `@paralleldrive/cuid2` in tsconfig paths.
|