@machynx/data-db 1.0.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/README.md +24 -0
- package/client/client.d.ts +1 -0
- package/client/client.js +5 -0
- package/client/default.d.ts +1 -0
- package/client/default.js +5 -0
- package/client/edge.d.ts +1 -0
- package/client/edge.js +1153 -0
- package/client/index-browser.js +1174 -0
- package/client/index.d.ts +138305 -0
- package/client/index.js +1153 -0
- package/client/package.json +144 -0
- package/client/query_compiler_bg.js +2 -0
- package/client/query_compiler_bg.wasm +0 -0
- package/client/query_compiler_bg.wasm-base64.js +2 -0
- package/client/runtime/client.d.ts +3180 -0
- package/client/runtime/client.js +86 -0
- package/client/runtime/index-browser.d.ts +87 -0
- package/client/runtime/index-browser.js +6 -0
- package/client/runtime/wasm-compiler-edge.js +76 -0
- package/client/schema.prisma +1567 -0
- package/client/wasm-edge-light-loader.mjs +5 -0
- package/client/wasm-worker-loader.mjs +5 -0
- package/index.d.ts +18 -0
- package/index.js +5 -0
- package/package.json +62 -0
- package/prisma/migrations/20251121171653_init/migration.sql +1688 -0
- package/prisma/migrations/migration_lock.toml +3 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @machynx/core-db/index.d.ts
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* THIS FILE IS ZERO-MAINTENANCE.
|
|
5
|
+
* It uses TypeScript's wildcard export to automatically expose all generated
|
|
6
|
+
* models, types, enums, and the global Prisma namespace from the
|
|
7
|
+
* underlying generated client.
|
|
8
|
+
* * Do not manually update the exported list below.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
// Export all types from the generated Prisma Client.
|
|
12
|
+
export * from "./client";
|
|
13
|
+
|
|
14
|
+
// Re-export PrismaClient class directly for standard usage.
|
|
15
|
+
export { PrismaClient } from "./client";
|
|
16
|
+
|
|
17
|
+
// Re-export the global Prisma namespace (for inputs like TaskCreateInput).
|
|
18
|
+
export type { Prisma } from "./client";
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@machynx/data-db",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Machynx Data Plane Database - Shared Prisma schema & client",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./index.js",
|
|
10
|
+
"require": "./index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"generate": "prisma generate",
|
|
15
|
+
"migrate:dev": "prisma migrate dev --name init",
|
|
16
|
+
"migrate:deploy": "prisma migrate deploy",
|
|
17
|
+
"db:push": "prisma db push --skip-generate",
|
|
18
|
+
"db:seed": "ts-node prisma/seed.ts",
|
|
19
|
+
"prisma:studio": "prisma studio",
|
|
20
|
+
"release:patch": "npm version patch -m \"chore: release v%s\" && yarn release:git",
|
|
21
|
+
"release:minor": "npm version minor -m \"chore: release v%s\" && yarn release:git",
|
|
22
|
+
"release:major": "npm version major -m \"chore: release v%s\" && yarn release:git",
|
|
23
|
+
"release:git": "git push && git push --tags",
|
|
24
|
+
"release:publish": "npm publish --access public"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"index.js",
|
|
28
|
+
"index.d.ts",
|
|
29
|
+
"client",
|
|
30
|
+
"prisma/schema.prisma",
|
|
31
|
+
"prisma/migrations"
|
|
32
|
+
],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"prisma",
|
|
35
|
+
"database",
|
|
36
|
+
"machynx",
|
|
37
|
+
"data-plane"
|
|
38
|
+
],
|
|
39
|
+
"author": "Machynx",
|
|
40
|
+
"license": "UNLICENSED",
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/machynx/MACHYNX_CORE_DB.git"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"registry": "https://registry.npmjs.org",
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"dotenv": "^17.2.3"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@prisma/client": "^7.0.0",
|
|
54
|
+
"prisma": "^7.0.0"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/node": "^24.10.1",
|
|
58
|
+
"prisma": "^7.0.0",
|
|
59
|
+
"ts-node": "^10.9.2",
|
|
60
|
+
"typescript": "^5.9.3"
|
|
61
|
+
}
|
|
62
|
+
}
|