This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 04ed3644594 kie-issues#2023: DMN Editor: Support new property "value"
for types `date`, `date and time`, `years and months duration`, `days and time
duration` (#3251)
04ed3644594 is described below
commit 04ed36445943f3da4acb15eabec3c1c16aaa7feb
Author: Aswathi <[email protected]>
AuthorDate: Sat Aug 23 08:54:23 2025 +0530
kie-issues#2023: DMN Editor: Support new property "value" for types `date`,
`date and time`, `years and months duration`, `days and time duration` (#3251)
---
packages/dmn-feel-antlr4-parser/src/parser/BuiltInTypes.ts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/packages/dmn-feel-antlr4-parser/src/parser/BuiltInTypes.ts
b/packages/dmn-feel-antlr4-parser/src/parser/BuiltInTypes.ts
index 9f40144f114..d2098bd41fe 100644
--- a/packages/dmn-feel-antlr4-parser/src/parser/BuiltInTypes.ts
+++ b/packages/dmn-feel-antlr4-parser/src/parser/BuiltInTypes.ts
@@ -72,6 +72,7 @@ export class BuiltInTypes {
["minutes", BuiltInTypes.Number],
["seconds", BuiltInTypes.Number],
["timezone", BuiltInTypes.String],
+ ["value", BuiltInTypes.Number],
]),
source: {
@@ -95,6 +96,7 @@ export class BuiltInTypes {
["second", BuiltInTypes.Number],
["time offset", BuiltInTypes.DaysAndTimeDuration],
["timezone", BuiltInTypes.String],
+ ["value", BuiltInTypes.Number],
]),
source: {
@@ -111,6 +113,7 @@ export class BuiltInTypes {
properties: new Map([
["years", BuiltInTypes.Number],
["months", BuiltInTypes.Number],
+ ["value", BuiltInTypes.Number],
]),
source: {
@@ -130,6 +133,7 @@ export class BuiltInTypes {
["second", BuiltInTypes.Number],
["time offset", BuiltInTypes.DaysAndTimeDuration],
["timezone", BuiltInTypes.String],
+ ["value", BuiltInTypes.Number],
]),
source: {
expressionsThatUseTheIdentifier: new Map<string, Expression>(),
@@ -147,6 +151,7 @@ export class BuiltInTypes {
["month", BuiltInTypes.Number],
["day", BuiltInTypes.Number],
["weekday", BuiltInTypes.Number],
+ ["value", BuiltInTypes.Number],
]),
source: {
expressionsThatUseTheIdentifier: new Map<string, Expression>(),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]