Skip to content

Commit

Permalink
refactor(asset): change enum values for calibration forecast descript…
Browse files Browse the repository at this point in the history
…ors (#74)

Co-authored-by: NI\akerezsi <alex.kerezsi@ni.com>
  • Loading branch information
kkerezsi and alexkerezsini authored Oct 2, 2024
1 parent 3ee9cf2 commit 860a1cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`queries asset calibration forecast with day groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Time",
"type": "TIME",
"value": "Day",
},
],
Expand All @@ -21,7 +21,7 @@ exports[`queries asset calibration forecast with day groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Count",
"type": "COUNT",
"value": "Assets",
},
],
Expand All @@ -45,7 +45,7 @@ exports[`queries asset calibration forecast with month groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Time",
"type": "TIME",
"value": "Month",
},
],
Expand All @@ -59,7 +59,7 @@ exports[`queries asset calibration forecast with month groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Count",
"type": "COUNT",
"value": "Assets",
},
],
Expand All @@ -83,7 +83,7 @@ exports[`queries asset calibration forecast with week groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Time",
"type": "TIME",
"value": "Week",
},
],
Expand All @@ -97,7 +97,7 @@ exports[`queries asset calibration forecast with week groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Count",
"type": "COUNT",
"value": "Assets",
},
],
Expand Down Expand Up @@ -195,7 +195,7 @@ exports[`queries calibration forecast with month and location groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "Time",
"type": "TIME",
"value": "Month",
},
],
Expand All @@ -209,7 +209,7 @@ exports[`queries calibration forecast with month and location groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "StringValue",
"type": "STRING_VALUE",
"value": "Location1",
},
],
Expand All @@ -223,7 +223,7 @@ exports[`queries calibration forecast with month and location groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "StringValue",
"type": "STRING_VALUE",
"value": "Location2",
},
],
Expand All @@ -237,7 +237,7 @@ exports[`queries calibration forecast with month and location groupBy 1`] = `
{
"columnDescriptors": [
{
"type": "StringValue",
"type": "STRING_VALUE",
"value": "Location3",
},
],
Expand Down
8 changes: 4 additions & 4 deletions src/datasources/asset-calibration/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ export interface ColumnDescriptor {
}

export enum ColumnDescriptorType {
Time = "Time",
Count = "Count",
StringValue = "StringValue",
MinionId = "MinionId",
Time = "TIME",
Count = "COUNT",
StringValue = "STRING_VALUE",
MinionId = "MINION_ID",
}

0 comments on commit 860a1cc

Please sign in to comment.