-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: creates functions inputs jsons
- Loading branch information
1 parent
d9f6062
commit 5eb1ffb
Showing
8 changed files
with
282 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
visual-kpi-docs/static/data/tables/functions/inputs/Constants.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"Constant": "PI", | ||
"Value": "3.141592654" | ||
}, | ||
{ | ||
"Constant": "E", | ||
"Value": "2.718281828" | ||
}, | ||
{ | ||
"Constant": "TRUE", | ||
"Value": "1" | ||
}, | ||
{ | ||
"Constant": "FALSE", | ||
"Value": "0" | ||
} | ||
] |
52 changes: 52 additions & 0 deletions
52
visual-kpi-docs/static/data/tables/functions/inputs/DateInterval.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[ | ||
{ | ||
"Constant": "dtYear", | ||
"Numeric Value": "0", | ||
"String Expression": "yyyy" | ||
}, | ||
{ | ||
"Constant": "dtQuarter", | ||
"Numeric Value": "1", | ||
"String Expression": "q" | ||
}, | ||
{ | ||
"Constant": "dtMonth", | ||
"Numeric Value": "2", | ||
"String Expression": "m" | ||
}, | ||
{ | ||
"Constant": "dtDayOfYear", | ||
"Numeric Value": "3", | ||
"String Expression": "y" | ||
}, | ||
{ | ||
"Constant": "dtDay", | ||
"Numeric Value": "4", | ||
"String Expression": "d" | ||
}, | ||
{ | ||
"Constant": "dtWeekOfYear", | ||
"Numeric Value": "5", | ||
"String Expression": "ww" | ||
}, | ||
{ | ||
"Constant": "dtWeekday", | ||
"Numeric Value": "6", | ||
"String Expression": "w" | ||
}, | ||
{ | ||
"Constant": "dtHour", | ||
"Numeric Value": "7", | ||
"String Expression": "h" | ||
}, | ||
{ | ||
"Constant": "dtMinute", | ||
"Numeric Value": "8", | ||
"String Expression": "n" | ||
}, | ||
{ | ||
"Constant": "dtSecond", | ||
"Numeric Value": "9", | ||
"String Expression": "s" | ||
} | ||
] |
34 changes: 34 additions & 0 deletions
34
visual-kpi-docs/static/data/tables/functions/inputs/FirstDayOfWeek.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"Constant": "dtSystem", | ||
"Numeric Value": "0" | ||
}, | ||
{ | ||
"Constant": "dtSunday", | ||
"Numeric Value": "1" | ||
}, | ||
{ | ||
"Constant": "dtMonday", | ||
"Numeric Value": "2" | ||
}, | ||
{ | ||
"Constant": "dtTuesday", | ||
"Numeric Value": "3" | ||
}, | ||
{ | ||
"Constant": "dtWednesday", | ||
"Numeric Value": "4" | ||
}, | ||
{ | ||
"Constant": "dtThursday", | ||
"Numeric Value": "5" | ||
}, | ||
{ | ||
"Constant": "dtFriday", | ||
"Numeric Value": "6" | ||
}, | ||
{ | ||
"Constant": "dtSaturday", | ||
"Numeric Value": "7" | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
visual-kpi-docs/static/data/tables/functions/inputs/FirstWeekOfYear.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"Constant": "dtSystem", | ||
"Numeric Value": "0" | ||
}, | ||
{ | ||
"Constant": "dtJan1", | ||
"Numeric Value": "1" | ||
}, | ||
{ | ||
"Constant": "dtFirstFourDays", | ||
"Numeric Value": "2" | ||
}, | ||
{ | ||
"Constant": "dtFirstFullWeek", | ||
"Numeric Value": "3" | ||
} | ||
] |
50 changes: 50 additions & 0 deletions
50
visual-kpi-docs/static/data/tables/functions/inputs/operators/ArithmeticOperators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"Operator": "plus(+)", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "yes", | ||
"Bool": "", | ||
"Description": "Positive sign or arithmetic addition" | ||
}, | ||
{ | ||
"Operator": "\u2013", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Negative sign or arithmetic subtraction" | ||
}, | ||
{ | ||
"Operator": "*", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Multiplication" | ||
}, | ||
{ | ||
"Operator": "/", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Division" | ||
}, | ||
{ | ||
"Operator": "%", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Remainder (modulus) obtained by dividing one numeric expression into another" | ||
}, | ||
{ | ||
"Operator": "^", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Power" | ||
} | ||
] |
34 changes: 34 additions & 0 deletions
34
visual-kpi-docs/static/data/tables/functions/inputs/operators/BitwiseOperators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"Operator": "&", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Bitwise AND operator." | ||
}, | ||
{ | ||
"Operator": "|", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Bitwise OR operator." | ||
}, | ||
{ | ||
"Operator": "!&", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Bitwise exclusive-OR operator." | ||
}, | ||
{ | ||
"Operator": "~", | ||
"Num": "yes", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "", | ||
"Description": "Bitwise complement operator." | ||
} | ||
] |
50 changes: 50 additions & 0 deletions
50
visual-kpi-docs/static/data/tables/functions/inputs/operators/ComparisonOperators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"Operator": "<", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "", | ||
"Description": "Less than" | ||
}, | ||
{ | ||
"Operator": ">", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "", | ||
"Description": "Greater than" | ||
}, | ||
{ | ||
"Operator": "<=", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "", | ||
"Description": "Less than or equal" | ||
}, | ||
{ | ||
"Operator": ">=", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "", | ||
"Description": "Greater than or equal" | ||
}, | ||
{ | ||
"Operator": "equals (== or =)", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "yes", | ||
"Description": "Equality" | ||
}, | ||
{ | ||
"Operator": "!= or <>", | ||
"Num": "yes", | ||
"Date": "yes", | ||
"Str": "yes", | ||
"Bool": "yes", | ||
"Description": "Inequality" | ||
} | ||
] |
26 changes: 26 additions & 0 deletions
26
visual-kpi-docs/static/data/tables/functions/inputs/operators/LogicalOperators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"Operator": "AND &&", | ||
"Num": "", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "yes", | ||
"Description": "Logical AND" | ||
}, | ||
{ | ||
"Operator": "OR ||", | ||
"Num": "", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "yes", | ||
"Description": "Logical OR" | ||
}, | ||
{ | ||
"Operator": "NOT !", | ||
"Num": "", | ||
"Date": "", | ||
"Str": "", | ||
"Bool": "yes", | ||
"Description": "Logical Negation" | ||
} | ||
] |