@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 ADDED
@@ -0,0 +1,24 @@
1
+ # @machynx/core-db
2
+
3
+ Machynx Data Plane Database - Shared Prisma schema and client package.
4
+
5
+ ## Installation
6
+
7
+ npm install @machynx/core-db
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ import { PrismaClient, CoreUser, CoreOrganization } from '@machynx/core-db';
13
+
14
+ const prisma = new PrismaClient({
15
+ datasources: {
16
+ db: {
17
+ url: process.env.DATA_PLANE_DATABASE_URL,
18
+ },
19
+ },
20
+ });
21
+
22
+ // Use the client
23
+ const users = await prisma.coreUser.findMany();
24
+ ```
@@ -0,0 +1 @@
1
+ export * from "./index"
@@ -0,0 +1,5 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ module.exports = { ...require('.') }
@@ -0,0 +1 @@
1
+ export * from "./index"
@@ -0,0 +1,5 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ module.exports = { ...require('#main-entry-point') }
@@ -0,0 +1 @@
1
+ export * from "./default"