-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from USACE/v4
Merge v4 to develop
- Loading branch information
Showing
200 changed files
with
13,221 additions
and
47,279 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
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,12 @@ | ||
package ctxkey | ||
|
||
type ContextKey string | ||
|
||
const ( | ||
Profile ContextKey = "Profile" | ||
ProfileClaims ContextKey = "ProfileClaims" | ||
UserJWT ContextKey = "UserJWT" | ||
AppKeyAuthSuccess ContextKey = "AppKeyAuthSuccess" | ||
KeyAuthSuccess ContextKey = "KeyAuthSuccess" | ||
KeyAuthKeyID ContextKey = "KeyAuthKeyID" | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,79 @@ | ||
package db | ||
|
||
import ( | ||
"time" | ||
|
||
"github.com/google/uuid" | ||
) | ||
|
||
type PlotConfigBullseyePlot struct { | ||
VPlotConfiguration | ||
Display PlotConfigBullseyePlotDisplay `json:"display"` | ||
} | ||
|
||
type PlotConfigBullseyePlotDisplay struct { | ||
XAxisTimeseriesID uuid.UUID `json:"x_axis_timeseries_id"` | ||
YAxisTimeseriesID uuid.UUID `json:"y_axis_timeseries_id"` | ||
} | ||
|
||
type PlotConfigContourPlot struct { | ||
VPlotConfiguration | ||
Display PlotConfigContourPlotDisplay `json:"display"` | ||
} | ||
|
||
type PlotConfigContourPlotDisplay struct { | ||
TimeseriesIDs []uuid.UUID `json:"timeseries_ids"` | ||
Time *time.Time `json:"time"` | ||
LocfBackfill string `json:"locf_backfill"` | ||
GradientSmoothing bool `json:"gradient_smoothing"` | ||
ContourSmoothing bool `json:"contour_smoothing"` | ||
ShowLabels bool `json:"show_labels"` | ||
} | ||
|
||
type PlotConfigProfilePlot struct { | ||
VPlotConfiguration | ||
Display PlotConfigProfilePlotDisplay `json:"display"` | ||
} | ||
|
||
type PlotConfigProfilePlotDisplay struct { | ||
InstrumentID uuid.UUID `json:"instrument_id"` | ||
InstrumentType string `json:"instrument_type,omitempty"` | ||
} | ||
|
||
type PlotConfigScatterLinePlot struct { | ||
VPlotConfiguration | ||
Display PlotConfigScatterLineDisplay `json:"display"` | ||
} | ||
|
||
type PlotConfigScatterLineDisplay struct { | ||
Traces []PlotConfigScatterLineTimeseriesTrace `json:"traces"` | ||
Layout PlotConfigScatterLineLayout `json:"layout"` | ||
} | ||
|
||
type PlotConfigScatterLineTimeseriesTrace struct { | ||
PlotConfigurationID uuid.UUID `json:"plot_configuration_id"` | ||
TimeseriesID uuid.UUID `json:"timeseries_id"` | ||
Name string `json:"name"` // read-only | ||
Parameter string `json:"parameter"` // read-only | ||
TraceOrder int `json:"trace_order"` | ||
TraceType string `json:"trace_type"` | ||
Color string `json:"color"` | ||
LineStyle string `json:"line_style"` | ||
Width float32 `json:"width"` | ||
ShowMarkers bool `json:"show_markers"` | ||
YAxis string `json:"y_axis"` // y1 or y2, default y1 | ||
} | ||
|
||
type PlotConfigScatterLineLayout struct { | ||
CustomShapes []PlotConfigScatterLineCustomShape `json:"custom_shapes"` | ||
YAxisTitle *string `json:"y_axis_title"` | ||
Y2AxisTitle *string `json:"y2_axis_title"` | ||
} | ||
|
||
type PlotConfigScatterLineCustomShape struct { | ||
PlotConfigurationID uuid.UUID `json:"plot_configuration_id"` | ||
Enabled bool `json:"enabled"` | ||
Name string `json:"name"` | ||
DataPoint float32 `json:"data_point"` | ||
Color string `json:"color"` | ||
} |
Oops, something went wrong.