@ronin/compiler 0.14.10 → 0.14.11-leo-ron-1099-1-experimental-348
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/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -988,15 +988,16 @@ var WITH_CONDITIONS = {
|
|
988
988
|
lessOrEqual: (value) => ["<=", value]
|
989
989
|
};
|
990
990
|
var handleWith = (models, model, statementParams, instruction, parentModel) => {
|
991
|
-
|
991
|
+
return composeConditions(
|
992
992
|
models,
|
993
993
|
model,
|
994
994
|
statementParams,
|
995
995
|
"with",
|
996
996
|
instruction,
|
997
|
-
{
|
997
|
+
{
|
998
|
+
parentModel
|
999
|
+
}
|
998
1000
|
);
|
999
|
-
return `(${subStatement})`;
|
1000
1001
|
};
|
1001
1002
|
|
1002
1003
|
// node_modules/title/dist/esm/lower-case.js
|
@@ -1213,7 +1214,7 @@ var modelAttributes = [
|
|
1213
1214
|
["pluralSlug", "slug", pluralize],
|
1214
1215
|
["name", "slug", slugToName],
|
1215
1216
|
["pluralName", "pluralSlug", slugToName],
|
1216
|
-
["idPrefix", "slug", (slug) => slug.slice(0, 3)],
|
1217
|
+
["idPrefix", "slug", (slug) => slug.slice(0, 3).toLowerCase()],
|
1217
1218
|
["table", "pluralSlug", convertToSnakeCase]
|
1218
1219
|
];
|
1219
1220
|
var getModelIdentifier = () => {
|