@48nauts/adapter-prisma 0.1.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/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ SPDX-License-Identifier: AGPL-3.0-or-later
2
+
3
+ @48nauts/agent-core (NautCore)
4
+ Copyright (C) 2026 48Nauts (Andre / hello@48nauts.com)
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Affero General Public License as published by
8
+ the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Affero General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Affero General Public License
17
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+
19
+ ---
20
+
21
+ NOTE: This file is the SPDX header + short notice. Before this repo is made
22
+ public, replace the section below with the full AGPL-3.0 license text from
23
+ https://www.gnu.org/licenses/agpl-3.0.txt (or run `curl -o LICENSE.full https://www.gnu.org/licenses/agpl-3.0.txt`).
24
+ The SPDX header above is the legally-binding identifier; the long text is the
25
+ canonical reference required for public distribution.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @48nauts/adapter-prisma
2
+
3
+ `DbAdapter` implementation backed by Prisma. Lower-priority slot — the 48Nauts default is Drizzle. Reserved here so consumers on Prisma have an obvious destination later.
4
+
5
+ Sprint 01: skeleton only. No implementation lands until a real consumer needs it.
@@ -0,0 +1,2 @@
1
+ export declare const VERSION = "0.0.0";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,UAAU,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // Reserved slot. Not active this sprint.
2
+ // export function createPrismaAdapter(client: PrismaClient): DbAdapter { ... }
3
+ export const VERSION = '0.0.0';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA"}
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@48nauts/adapter-prisma",
3
+ "version": "0.1.0",
4
+ "description": "DbAdapter implementation backed by Prisma (lower-priority slot).",
5
+ "license": "AGPL-3.0-or-later",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "dependencies": {
16
+ "@48nauts/agent-core": "0.1.0"
17
+ },
18
+ "peerDependencies": {
19
+ "@prisma/client": ">=5.0.0"
20
+ },
21
+ "devDependencies": {
22
+ "typescript": "^5.5.0"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "scripts": {
31
+ "typecheck": "tsc --noEmit",
32
+ "build": "tsc"
33
+ }
34
+ }