prisma-laravel-migrate 3.1.22 → 3.1.23
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/cli/cli.js +1 -1
- package/dist/cli/models.index.js +1 -1
- package/dist/cli/ts.index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/cli.js
CHANGED
|
@@ -1692,7 +1692,7 @@ function deriveMethodName(modelName, kind) {
|
|
|
1692
1692
|
var pivotOtherEndpointFor = (thisModelName, candidate) => {
|
|
1693
1693
|
if (candidate.documentation?.includes("@entity")) {
|
|
1694
1694
|
const entities = listFrom(candidate.documentation ?? "", "entity");
|
|
1695
|
-
if (entities.length
|
|
1695
|
+
if (entities.length === 0) return void 0;
|
|
1696
1696
|
if (entities.includes(thisModelName)) return void 0;
|
|
1697
1697
|
}
|
|
1698
1698
|
const rels = objRels(candidate).filter(
|
package/dist/cli/models.index.js
CHANGED
|
@@ -533,7 +533,7 @@ function deriveMethodName(modelName, kind) {
|
|
|
533
533
|
var pivotOtherEndpointFor = (thisModelName, candidate) => {
|
|
534
534
|
if (candidate.documentation?.includes("@entity")) {
|
|
535
535
|
const entities = listFrom(candidate.documentation ?? "", "entity");
|
|
536
|
-
if (entities.length
|
|
536
|
+
if (entities.length === 0) return void 0;
|
|
537
537
|
if (entities.includes(thisModelName)) return void 0;
|
|
538
538
|
}
|
|
539
539
|
const rels = objRels(candidate).filter(
|
package/dist/cli/ts.index.js
CHANGED
|
@@ -481,7 +481,7 @@ function deriveMethodName(modelName, kind) {
|
|
|
481
481
|
var pivotOtherEndpointFor = (thisModelName, candidate) => {
|
|
482
482
|
if (candidate.documentation?.includes("@entity")) {
|
|
483
483
|
const entities = listFrom(candidate.documentation ?? "", "entity");
|
|
484
|
-
if (entities.length
|
|
484
|
+
if (entities.length === 0) return void 0;
|
|
485
485
|
if (entities.includes(thisModelName)) return void 0;
|
|
486
486
|
}
|
|
487
487
|
const rels = objRels(candidate).filter(
|
package/dist/index.js
CHANGED
|
@@ -1752,7 +1752,7 @@ function deriveMethodName(modelName, kind) {
|
|
|
1752
1752
|
var pivotOtherEndpointFor = (thisModelName, candidate) => {
|
|
1753
1753
|
if (candidate.documentation?.includes("@entity")) {
|
|
1754
1754
|
const entities = listFrom(candidate.documentation ?? "", "entity");
|
|
1755
|
-
if (entities.length
|
|
1755
|
+
if (entities.length === 0) return void 0;
|
|
1756
1756
|
if (entities.includes(thisModelName)) return void 0;
|
|
1757
1757
|
}
|
|
1758
1758
|
const rels = objRels(candidate).filter(
|