@dimah-s3/db 2.0.0-beta.1 → 2.0.0-beta.11
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 +19 -10
- package/dist/adapters/drizzle.d.ts +2 -3
- package/dist/adapters/drizzle.d.ts.map +1 -1
- package/dist/adapters/kysely.d.ts +1 -1
- package/dist/adapters/prisma.d.ts +1 -1
- package/dist/cli.d.ts +18 -13
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +57 -84
- package/dist/cli.js.map +1 -1
- package/dist/client/db-client.d.ts +1 -1
- package/dist/client/db-client.d.ts.map +1 -1
- package/dist/client/db-object-source.d.ts +15 -9
- package/dist/client/db-object-source.d.ts.map +1 -1
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +101 -21
- package/dist/client/index.js.map +1 -1
- package/dist/folder-path.d.ts +17 -4
- package/dist/folder-path.d.ts.map +1 -1
- package/dist/fuma-db.d.ts +23 -23
- package/dist/fuma-db.d.ts.map +1 -1
- package/dist/index.d.ts +10 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +843 -268
- package/dist/index.js.map +1 -1
- package/dist/plugin/create-database-endpoints.d.ts +46 -22
- package/dist/plugin/create-database-endpoints.d.ts.map +1 -1
- package/dist/plugin/create-database-lifecycle-hooks.d.ts +4 -4
- package/dist/plugin/create-database-lifecycle-hooks.d.ts.map +1 -1
- package/dist/plugin/db.d.ts +10 -2
- package/dist/plugin/db.d.ts.map +1 -1
- package/dist/plugin/object-access.d.ts +2 -2
- package/dist/plugin/object-access.d.ts.map +1 -1
- package/dist/plugin/public-stores.d.ts +5 -8
- package/dist/plugin/public-stores.d.ts.map +1 -1
- package/dist/plugin/quota.d.ts +1 -1
- package/dist/plugin/record.d.ts +58 -0
- package/dist/plugin/record.d.ts.map +1 -0
- package/dist/plugin/schemas.d.ts +25 -11
- package/dist/plugin/schemas.d.ts.map +1 -1
- package/dist/plugin/scope.d.ts +2 -0
- package/dist/plugin/scope.d.ts.map +1 -1
- package/dist/plugin/to-db-client-object.d.ts.map +1 -1
- package/dist/schema/schema.d.ts +48 -49
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/store/create-db-store.d.ts +2 -2
- package/dist/store/create-db-store.d.ts.map +1 -1
- package/dist/store/folder-store.d.ts +73 -15
- package/dist/store/folder-store.d.ts.map +1 -1
- package/dist/store/list-cursor.d.ts +3 -1
- package/dist/store/list-cursor.d.ts.map +1 -1
- package/dist/store/map-row.d.ts +3 -9
- package/dist/store/map-row.d.ts.map +1 -1
- package/dist/store/object-store.d.ts +42 -10
- package/dist/store/object-store.d.ts.map +1 -1
- package/dist/store/search-name.d.ts +7 -0
- package/dist/store/search-name.d.ts.map +1 -0
- package/dist/types/client.d.ts +114 -23
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/plugin.d.ts +19 -7
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/storage-object.d.ts +8 -7
- package/dist/types/storage-object.d.ts.map +1 -1
- package/package.json +15 -33
- package/dist/drizzle/mysql.d.ts +0 -1025
- package/dist/drizzle/mysql.d.ts.map +0 -1
- package/dist/drizzle/mysql.js +0 -117
- package/dist/drizzle/mysql.js.map +0 -1
- package/dist/drizzle/pg.d.ts +0 -964
- package/dist/drizzle/pg.d.ts.map +0 -1
- package/dist/drizzle/pg.js +0 -98
- package/dist/drizzle/pg.js.map +0 -1
- package/dist/drizzle/shared.d.ts +0 -7
- package/dist/drizzle/shared.d.ts.map +0 -1
- package/dist/drizzle/sqlite.d.ts +0 -1024
- package/dist/drizzle/sqlite.d.ts.map +0 -1
- package/dist/drizzle/sqlite.js +0 -101
- package/dist/drizzle/sqlite.js.map +0 -1
- package/prisma/dimah-s3.prisma +0 -80
- package/sql/mysql.sql +0 -59
- package/sql/pg.sql +0 -53
- package/sql/sqlite.sql +0 -54
- package/src/drizzle/mysql.ts +0 -172
- package/src/drizzle/pg.ts +0 -140
- package/src/drizzle/sqlite.ts +0 -144
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { DimahS3Locals } from "@dimah-s3/server";
|
|
2
2
|
import type { DimahS3DbClient } from "../fuma-db.js";
|
|
3
3
|
import type { StandardSchemaV1 } from "../standard-schema.js";
|
|
4
|
-
import type { DbQuota } from "./client";
|
|
5
|
-
import type { StorageObject } from "./storage-object";
|
|
4
|
+
import type { DbQuota } from "./client.js";
|
|
5
|
+
import type { StorageObject } from "./storage-object.js";
|
|
6
6
|
/**
|
|
7
7
|
* What a scope is resolved for.
|
|
8
8
|
* - `upload`: presign, multipart init, and `s3.put`
|
|
@@ -13,8 +13,9 @@ import type { StorageObject } from "./storage-object";
|
|
|
13
13
|
* - `list`: `GET /db/objects`
|
|
14
14
|
* - `read`: `GET /db/object`
|
|
15
15
|
* - `update`: `PATCH /db/object` and the folder endpoints
|
|
16
|
+
* - `record`: `s3.db.record`, an object the app already put in the bucket
|
|
16
17
|
*/
|
|
17
|
-
export type ScopeOperation = "upload" | "confirm" | "multipart" | "download" | "delete" | "list" | "read" | "update";
|
|
18
|
+
export type ScopeOperation = "upload" | "confirm" | "multipart" | "download" | "delete" | "list" | "read" | "update" | "record";
|
|
18
19
|
/**
|
|
19
20
|
* Who is calling: what `resolveScope` and a `quota` function see. The
|
|
20
21
|
* scope comes from the caller alone, never from the target, so the same
|
|
@@ -41,8 +42,18 @@ export type AuthorizeContext<TSession = undefined, TAttributes = never> = ScopeC
|
|
|
41
42
|
scope: string;
|
|
42
43
|
/** Object key. Absent on `list` and the folder endpoints. */
|
|
43
44
|
key?: string;
|
|
44
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Path of the target folder. `null` is the root. Absent when the call is
|
|
47
|
+
* not aimed at one folder. A rename or move reports the destination.
|
|
48
|
+
*/
|
|
45
49
|
folder?: string | null;
|
|
50
|
+
/** Id of the target folder. `null` is the root. */
|
|
51
|
+
folderId?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* `true` when a `list` also covers every folder below `folder`, as a
|
|
54
|
+
* search across folders does. Deny it to keep listings to one folder.
|
|
55
|
+
*/
|
|
56
|
+
recursive?: boolean;
|
|
46
57
|
/** Client extras of the upload. Set on `upload` only. */
|
|
47
58
|
clientMetadata?: Record<string, string>;
|
|
48
59
|
/**
|
|
@@ -89,9 +100,10 @@ export type DbPluginOptions<TSession = undefined, TAttributes = never, TClientAt
|
|
|
89
100
|
/** Loads the session for a request. Called at most once per `Request`. */
|
|
90
101
|
getSession?: (request: Request) => TSession | Promise<TSession>;
|
|
91
102
|
/**
|
|
92
|
-
* Owning scope of the caller, such as `user:123
|
|
93
|
-
* call with `UNAUTHORIZED
|
|
94
|
-
*
|
|
103
|
+
* Owning scope of the caller, such as `user:123`, at most 255 characters.
|
|
104
|
+
* `null` rejects the call with `UNAUTHORIZED`, and a longer scope fails it
|
|
105
|
+
* as a config error. It runs once per call and route, so the guard and the
|
|
106
|
+
* lifecycle hooks of one call share the result.
|
|
95
107
|
*/
|
|
96
108
|
resolveScope: (context: ScopeContext<TSession>) => string | null | Promise<string | null>;
|
|
97
109
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/types/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/types/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB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IACH,SAAS,CAAC,EAAE,CACV,OAAO,EAAE,gBAAgB,CAAC,QAAQ,EAAE,WAAW,CAAC,KAC7C,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,kEAAkE;IAClE,KAAK,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,kDAAkD;IAClD,UAAU,CAAC,EAAE,mBAAmB,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC;CAClE,CAAC"}
|
|
@@ -18,8 +18,8 @@ export type StorageObject<TAttributes = never> = {
|
|
|
18
18
|
key: string;
|
|
19
19
|
/** Named dimah-s3 route that created the object. */
|
|
20
20
|
route: string;
|
|
21
|
-
/**
|
|
22
|
-
|
|
21
|
+
/** Folder that holds the object. `null` is the root. */
|
|
22
|
+
folderId: string | null;
|
|
23
23
|
filename: string;
|
|
24
24
|
contentType: string | null;
|
|
25
25
|
/** Verified size in bytes, set on confirm. */
|
|
@@ -47,16 +47,17 @@ export type StorageObject<TAttributes = never> = {
|
|
|
47
47
|
updatedAt: Date;
|
|
48
48
|
deletedAt: Date | null;
|
|
49
49
|
};
|
|
50
|
-
/** A `storage_folder` row. A folder exists once per scope and
|
|
50
|
+
/** A `storage_folder` row. A folder exists once per scope and id. */
|
|
51
51
|
export type StorageFolder = {
|
|
52
52
|
id: string;
|
|
53
53
|
scope: string;
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
/** Path of the containing folder. `null` is the root. */
|
|
57
|
-
parent: string | null;
|
|
54
|
+
/** Containing folder. `null` is the root. */
|
|
55
|
+
parentId: string | null;
|
|
58
56
|
/** Last segment of `path`. */
|
|
59
57
|
name: string;
|
|
58
|
+
/** Full folder path, kept in step with `name` and the parents. */
|
|
59
|
+
path: string;
|
|
60
60
|
createdAt: Date;
|
|
61
|
+
updatedAt: Date;
|
|
61
62
|
};
|
|
62
63
|
//# sourceMappingURL=storage-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-object.d.ts","sourceRoot":"","sources":["../../src/types/storage-object.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,WAAW,GAAG,KAAK,IAAI;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd
|
|
1
|
+
{"version":3,"file":"storage-object.d.ts","sourceRoot":"","sources":["../../src/types/storage-object.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,WAAW,GAAG,KAAK,IAAI;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,8CAA8C;IAC9C,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,8EAA8E;IAC9E,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAC1C,qEAAqE;IACrE,UAAU,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,sEAAsE;IACtE,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,qEAAqE;AACrE,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/db",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.11",
|
|
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://
|
|
21
|
+
"homepage": "https://s3.dimah.dev/docs/db",
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/dimah-kz/dimah-s3/issues"
|
|
24
24
|
},
|
|
@@ -44,18 +44,6 @@
|
|
|
44
44
|
"types": "./dist/cli.d.ts",
|
|
45
45
|
"default": "./dist/cli.js"
|
|
46
46
|
},
|
|
47
|
-
"./drizzle/sqlite": {
|
|
48
|
-
"types": "./dist/drizzle/sqlite.d.ts",
|
|
49
|
-
"default": "./dist/drizzle/sqlite.js"
|
|
50
|
-
},
|
|
51
|
-
"./drizzle/pg": {
|
|
52
|
-
"types": "./dist/drizzle/pg.d.ts",
|
|
53
|
-
"default": "./dist/drizzle/pg.js"
|
|
54
|
-
},
|
|
55
|
-
"./drizzle/mysql": {
|
|
56
|
-
"types": "./dist/drizzle/mysql.d.ts",
|
|
57
|
-
"default": "./dist/drizzle/mysql.js"
|
|
58
|
-
},
|
|
59
47
|
"./adapters/drizzle": {
|
|
60
48
|
"types": "./dist/adapters/drizzle.d.ts",
|
|
61
49
|
"default": "./dist/adapters/drizzle.js"
|
|
@@ -70,24 +58,18 @@
|
|
|
70
58
|
}
|
|
71
59
|
},
|
|
72
60
|
"files": [
|
|
73
|
-
"dist"
|
|
74
|
-
"sql",
|
|
75
|
-
"prisma",
|
|
76
|
-
"src/drizzle/sqlite.ts",
|
|
77
|
-
"src/drizzle/pg.ts",
|
|
78
|
-
"src/drizzle/mysql.ts"
|
|
61
|
+
"dist"
|
|
79
62
|
],
|
|
80
63
|
"dependencies": {
|
|
81
|
-
"@dimah-s3/core": "2.0.0-beta.
|
|
82
|
-
"
|
|
83
|
-
"fumadb": "~0.6.0",
|
|
64
|
+
"@dimah-s3/core": "2.0.0-beta.11",
|
|
65
|
+
"fumadb": "~0.7.3",
|
|
84
66
|
"zod": "^4.6.7"
|
|
85
67
|
},
|
|
86
68
|
"devDependencies": {
|
|
87
|
-
"@aws-sdk/client-s3": "^3.
|
|
88
|
-
"@dimah-s3/react": "2.0.0-beta.
|
|
89
|
-
"@dimah-s3/server": "2.0.0-beta.
|
|
90
|
-
"@electric-sql/pglite": "^0.5.
|
|
69
|
+
"@aws-sdk/client-s3": "^3.1172.0",
|
|
70
|
+
"@dimah-s3/react": "2.0.0-beta.11",
|
|
71
|
+
"@dimah-s3/server": "2.0.0-beta.11",
|
|
72
|
+
"@electric-sql/pglite": "^0.5.16",
|
|
91
73
|
"@types/better-sqlite3": "^9.6.0",
|
|
92
74
|
"@types/node": "^26.6.6",
|
|
93
75
|
"@types/react": "^19.3.0",
|
|
@@ -95,18 +77,18 @@
|
|
|
95
77
|
"@workspace/tsup-config": "0.0.0",
|
|
96
78
|
"@workspace/typescript-config": "0.0.1",
|
|
97
79
|
"@workspace/vitest-config": "0.0.7",
|
|
98
|
-
"better-sqlite3": "^13.0
|
|
80
|
+
"better-sqlite3": "^13.2.0",
|
|
99
81
|
"drizzle-orm": "1.0.0-rc.5",
|
|
100
|
-
"eslint": "^10.
|
|
101
|
-
"kysely": "^0.29.
|
|
82
|
+
"eslint": "^10.15.0",
|
|
83
|
+
"kysely": "^0.29.9",
|
|
102
84
|
"tsc-alias": "^1.9.10",
|
|
103
85
|
"tsup": "^9.0.0",
|
|
104
86
|
"typescript": "7.0.2",
|
|
105
|
-
"vitest": "^5.
|
|
87
|
+
"vitest": "^5.1.1"
|
|
106
88
|
},
|
|
107
89
|
"peerDependencies": {
|
|
108
90
|
"@aws-sdk/client-s3": ">=3",
|
|
109
|
-
"@dimah-s3/server": "2.0.0-beta.
|
|
91
|
+
"@dimah-s3/server": "2.0.0-beta.11",
|
|
110
92
|
"@prisma/client": "^6.0.0 || ^7.0.0",
|
|
111
93
|
"drizzle-orm": ">=1.0.0-rc.5 <2.0.0",
|
|
112
94
|
"kysely": "^0.29.5"
|
|
@@ -129,7 +111,7 @@
|
|
|
129
111
|
"access": "public"
|
|
130
112
|
},
|
|
131
113
|
"scripts": {
|
|
132
|
-
"build": "tsup --config tsup.config.ts && tsc --emitDeclarationOnly -p tsconfig.build.json && tsc-alias",
|
|
114
|
+
"build": "tsup --config tsup.config.ts && tsc --emitDeclarationOnly -p tsconfig.build.json && tsc-alias && node ../../tooling/tsup-config/dts-extensions.mjs",
|
|
133
115
|
"check-types": "tsc --noEmit",
|
|
134
116
|
"lint": "eslint --cache --cache-strategy content --max-warnings 0",
|
|
135
117
|
"test": "vitest run"
|