prisma-client-php 2.0.12 → 2.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/dist/generate.js +2 -1
- package/dist/index.enc +1 -1
- package/dist/init.js +3 -1
- package/dist/src/Lib/Prisma/Classes/PPHPUtility.php +143 -82
- package/package.json +1 -1
- package/dist/src/Lib/Validator.php +0 -738
package/dist/generate.js
CHANGED
|
@@ -24,7 +24,8 @@ const main = async () => {
|
|
|
24
24
|
const settingsContent = fs.readFileSync(settingsPath, { encoding: "utf8" });
|
|
25
25
|
// Parse the string to get the JSON object
|
|
26
26
|
const projectSettings = JSON.parse(settingsContent);
|
|
27
|
-
const phpGenerateClassPath =
|
|
27
|
+
const phpGenerateClassPath =
|
|
28
|
+
projectSettings.phpGenerateClassPath ?? "src/Lib/Prisma/Classes";
|
|
28
29
|
const phpFile = `${__dirname}/index.php`;
|
|
29
30
|
const encryptedFilePath = `${__dirname}/index.enc`;
|
|
30
31
|
const secretKey = getSecretKey();
|