@pos-360/prisma 1.0.0-beta.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 +3 -0
- package/lib/index.js +51 -0
- package/package.json +61 -0
- package/prisma-schema.json +9125 -0
package/README.md
ADDED
package/lib/index.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Dmmf = exports.WEB360_PRISMA_SERVICE = void 0;
|
|
40
|
+
const Dmmf = __importStar(require("./generated/prisma/dmmf"));
|
|
41
|
+
exports.Dmmf = Dmmf;
|
|
42
|
+
__exportStar(require("./generated/prisma/client"), exports);
|
|
43
|
+
__exportStar(require("./helpers"), exports);
|
|
44
|
+
__exportStar(require("./kysely"), exports);
|
|
45
|
+
__exportStar(require("./types"), exports);
|
|
46
|
+
__exportStar(require("./utils"), exports);
|
|
47
|
+
var web360_prisma_constants_1 = require("./web360-prisma.constants");
|
|
48
|
+
Object.defineProperty(exports, "WEB360_PRISMA_SERVICE", { enumerable: true, get: function () { return web360_prisma_constants_1.WEB360_PRISMA_SERVICE; } });
|
|
49
|
+
__exportStar(require("./web360-prisma.module"), exports);
|
|
50
|
+
__exportStar(require("./web360-prisma.service"), exports);
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pos-360/prisma",
|
|
3
|
+
"version": "1.0.0-beta.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/POS-360/project-platform-graph"
|
|
7
|
+
},
|
|
8
|
+
"type": "commonjs",
|
|
9
|
+
"main": "lib/index.js",
|
|
10
|
+
"types": "lib/index.d.ts",
|
|
11
|
+
"files": [
|
|
12
|
+
"prisma-schema.json"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rimraf lib && rimraf src/generated && prisma generate && ./scripts/patch-kysely-types.sh && ts-node ./scripts/generate-json-schema.ts && tsc -p ./tsconfig.build.json",
|
|
16
|
+
"ci": "npm run build",
|
|
17
|
+
"lint": "eslint --fix .",
|
|
18
|
+
"test": "vitest --run",
|
|
19
|
+
"watch": "tsc -p ./tsconfig.build.json -w"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@nestjs/common": "^11.0.6",
|
|
23
|
+
"@nestjs/core": "^11.0.6",
|
|
24
|
+
"@nestjs/platform-express": "^11.0.6",
|
|
25
|
+
"@pos360/common": "workspace:*",
|
|
26
|
+
"@prisma/adapter-pg": "^7.2.0",
|
|
27
|
+
"@prisma/client": "^7.2.0",
|
|
28
|
+
"@prisma/extension-read-replicas": "^0.5.0",
|
|
29
|
+
"decimal.js": "^10.6.0",
|
|
30
|
+
"kysely": "^0.28.9",
|
|
31
|
+
"kysely-plugin-serialize": "^0.8.2",
|
|
32
|
+
"lodash": "^4.17.21",
|
|
33
|
+
"pg": "^8.16.3",
|
|
34
|
+
"pgmock": "^1.0.3",
|
|
35
|
+
"prisma-extension-kysely": "^3.0.0",
|
|
36
|
+
"prisma-json-types-generator": "^4.0.1",
|
|
37
|
+
"prisma-kysely": "^2.2.1",
|
|
38
|
+
"reflect-metadata": "^0.2.2",
|
|
39
|
+
"rxjs": "^7.8.1"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@nestjs/cli": "^11.0.2",
|
|
43
|
+
"@nestjs/schematics": "^11.0.0",
|
|
44
|
+
"@nestjs/testing": "^11.0.6",
|
|
45
|
+
"@swc/cli": "^0.1.62",
|
|
46
|
+
"@swc/core": "^1.3.65",
|
|
47
|
+
"@types/express": "^4.17.17",
|
|
48
|
+
"@types/lodash": "^4.17.21",
|
|
49
|
+
"@types/node": "^22.3.1",
|
|
50
|
+
"@types/pg": "^8.16.0",
|
|
51
|
+
"prisma": "^7.2.0",
|
|
52
|
+
"prisma-mock": "1.0.2",
|
|
53
|
+
"rimraf": "^5.0.5",
|
|
54
|
+
"ts-morph": "^27.0.2",
|
|
55
|
+
"ts-node": "^10.9.2",
|
|
56
|
+
"typescript": "5.8.2"
|
|
57
|
+
},
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
}
|
|
61
|
+
}
|