@flusys/nestjs-entity-builder 9.1.2 → 9.2.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 +15 -9
- package/config/message-keys.d.ts +26 -0
- package/controllers/entity-definition.controller.d.ts +1 -0
- package/controllers/field-definition.controller.d.ts +1 -0
- package/controllers/flow-definition.controller.d.ts +1 -0
- package/dtos/definition-bundle.dto.d.ts +1 -0
- package/dtos/entity-definition.dto.d.ts +1 -2
- package/fesm/21.js +26 -0
- package/fesm/458.js +6 -1
- package/fesm/677.js +372 -107
- package/fesm/857.js +2 -1
- package/fesm/870.js +580 -247
- package/fesm/897.js +164 -22
- package/fesm/946.js +5 -1
- package/fesm/dtos/index.js +11 -0
- package/fesm/guards/index.js +1 -1
- package/fesm/index.js +20 -2
- package/fesm/services/index.js +12 -2
- package/flow-engine/flow-input.validator.d.ts +2 -1
- package/flow-engine/flow-run.types.d.ts +1 -0
- package/flow-engine/flow.types.d.ts +17 -0
- package/interfaces/definition-bundle.interface.d.ts +2 -1
- package/package.json +3 -3
- package/services/definition-bundle.diff.d.ts +6 -0
- package/services/definition-bundle.service.d.ts +10 -2
- package/services/entity-flow-scaffold.d.ts +2 -1
- package/services/entity-permission.service.d.ts +1 -0
- package/services/flow-definition.service.d.ts +1 -1
- package/services/flow-runtime.service.d.ts +1 -0
- package/services/generic-entity.service.d.ts +1 -0
- package/services/schema-change-executor.service.d.ts +1 -0
- package/services/schema-dialect-adapter.service.d.ts +2 -0
package/fesm/857.js
CHANGED
|
@@ -604,7 +604,8 @@ class RuleEngineService {
|
|
|
604
604
|
const text = this.toText(value);
|
|
605
605
|
if (text === null) return null;
|
|
606
606
|
const needle = this.toText(search) ?? '';
|
|
607
|
-
|
|
607
|
+
const replacementText = this.toText(replacement) ?? '';
|
|
608
|
+
return needle ? text.replaceAll(needle, ()=>replacementText) : text;
|
|
608
609
|
}
|
|
609
610
|
case 'TO_NUMBER':
|
|
610
611
|
{
|