@levrbet/shared 0.1.184 → 0.1.185

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.
@@ -1,6 +1,7 @@
1
1
  export * from "./config";
2
2
  export * from "./contracts";
3
3
  export * from "./indexers";
4
+ export * from "./prisma";
4
5
  export * from "./privy";
5
6
  export * from "./socket.io";
6
7
  export * from "./types";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./config"), exports);
18
18
  __exportStar(require("./contracts"), exports);
19
19
  __exportStar(require("./indexers"), exports);
20
+ __exportStar(require("./prisma"), exports);
20
21
  __exportStar(require("./privy"), exports);
21
22
  __exportStar(require("./socket.io"), exports);
22
23
  __exportStar(require("./types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,6CAA0B;AAC1B,0CAAuB;AACvB,8CAA2B;AAC3B,0CAAuB;AACvB,0CAAuB;AACvB,+CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,6CAA0B;AAC1B,2CAAwB;AACxB,0CAAuB;AACvB,8CAA2B;AAC3B,0CAAuB;AACvB,0CAAuB;AACvB,+CAA4B"}
@@ -0,0 +1 @@
1
+ export * from "@prisma/client";
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // Re-export everything from the Prisma client
3
+ // This allows consumers to import from "@levrbet/shared/core" instead of "@prisma/client"
4
+ //
5
+ // Note: Consumers must run `levrbet-setup-prisma` (postinstall) to generate the Prisma client
6
+ // PrismaClient requires Node.js runtime and won't work in browsers.
7
+ // Browser/React consumers should only use types and enums.
8
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ var desc = Object.getOwnPropertyDescriptor(m, k);
11
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12
+ desc = { enumerable: true, get: function() { return m[k]; } };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ }) : (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ }));
19
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", { value: true });
23
+ __exportStar(require("@prisma/client"), exports);
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/prisma/index.ts"],"names":[],"mappings":";AAAA,8CAA8C;AAC9C,0FAA0F;AAC1F,EAAE;AACF,8FAA8F;AAC9F,oEAAoE;AACpE,2DAA2D;;;;;;;;;;;;;;;;AAE3D,iDAA8B"}
@@ -4,7 +4,6 @@ export * from "./contracts";
4
4
  export * from "./liquidation-engine";
5
5
  export * from "./middleware";
6
6
  export * from "./oracle";
7
- export * from "./prisma";
8
7
  export * from "./repositories";
9
8
  export * from "./services";
10
9
  export * from "./types";
@@ -26,7 +26,6 @@ __exportStar(require("./contracts"), exports);
26
26
  __exportStar(require("./liquidation-engine"), exports);
27
27
  __exportStar(require("./middleware"), exports);
28
28
  __exportStar(require("./oracle"), exports);
29
- __exportStar(require("./prisma"), exports);
30
29
  __exportStar(require("./repositories"), exports);
31
30
  __exportStar(require("./services"), exports);
32
31
  __exportStar(require("./types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iFAAiF;AACjF,IAAI,OAAQ,UAAkB,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;IACpD,MAAM,IAAI,KAAK,CACX,0EAA0E;QACtE,0GAA0G;QAC1G,kFAAkF,CACzF,CAAA;AACL,CAAC;AAED,0CAAuB;AACvB,2CAAwB;AACxB,8CAA2B;AAC3B,uDAAoC;AACpC,+CAA4B;AAC5B,2CAAwB;AACxB,2CAAwB;AACxB,iDAA8B;AAC9B,6CAA0B;AAC1B,0CAAuB;AACvB,0CAAuB;AAEvB,0CAA0C;AAC1C,6DAA6D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iFAAiF;AACjF,IAAI,OAAQ,UAAkB,CAAC,MAAM,KAAK,WAAW,EAAE,CAAC;IACpD,MAAM,IAAI,KAAK,CACX,0EAA0E;QACtE,0GAA0G;QAC1G,kFAAkF,CACzF,CAAA;AACL,CAAC;AAED,0CAAuB;AACvB,2CAAwB;AACxB,8CAA2B;AAC3B,uDAAoC;AACpC,+CAA4B;AAC5B,2CAAwB;AACxB,iDAA8B;AAC9B,6CAA0B;AAC1B,0CAAuB;AACvB,0CAAuB;AAEvB,0CAA0C;AAC1C,6DAA6D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.1.184",
3
+ "version": "0.1.185",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // This package only provides the Prisma schema at prisma/schema.prisma
4
- //
5
- // Server consumers must:
6
- // 1. Copy the schema to their project
7
- // 2. Run `npx prisma generate` to generate @prisma/client
8
- // 3. Import directly from @prisma/client
9
- //
10
- // Example:
11
- // import { PrismaClient, Prisma } from '@prisma/client'
12
- //
13
- // This file intentionally exports nothing to avoid circular dependencies.
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/server/prisma/index.ts"],"names":[],"mappings":";;AAAA,uEAAuE;AACvE,EAAE;AACF,yBAAyB;AACzB,sCAAsC;AACtC,0DAA0D;AAC1D,yCAAyC;AACzC,EAAE;AACF,WAAW;AACX,wDAAwD;AACxD,EAAE;AACF,0EAA0E"}