namirasoft-infra 1.4.0 → 1.4.1
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/dist/NamirasoftInfraServer.d.ts +16 -0
- package/dist/NamirasoftInfraServer.js +17 -1
- package/dist/NamirasoftInfraServer.js.map +1 -1
- package/dist/NamirasoftInfraServerMetric.d.ts +19 -0
- package/dist/NamirasoftInfraServerMetric.js +72 -0
- package/dist/NamirasoftInfraServerMetric.js.map +1 -0
- package/dist/NamirasoftInfraServerMetricCategory.d.ts +17 -0
- package/dist/NamirasoftInfraServerMetricCategory.js +56 -0
- package/dist/NamirasoftInfraServerMetricCategory.js.map +1 -0
- package/dist/NamirasoftInfraServerMetricField.d.ts +18 -0
- package/dist/NamirasoftInfraServerMetricField.js +64 -0
- package/dist/NamirasoftInfraServerMetricField.js.map +1 -0
- package/dist/NamirasoftInfraServerMetricTag.d.ts +18 -0
- package/dist/NamirasoftInfraServerMetricTag.js +64 -0
- package/dist/NamirasoftInfraServerMetricTag.js.map +1 -0
- package/dist/NamirasoftInfraServerMonitor.d.ts +20 -0
- package/dist/NamirasoftInfraServerMonitor.js +72 -0
- package/dist/NamirasoftInfraServerMonitor.js.map +1 -0
- package/dist/NamirasoftInfraServerMonitorCategory.d.ts +17 -0
- package/dist/NamirasoftInfraServerMonitorCategory.js +56 -0
- package/dist/NamirasoftInfraServerMonitorCategory.js.map +1 -0
- package/dist/NamirasoftInfraServerMonitorField.d.ts +18 -0
- package/dist/NamirasoftInfraServerMonitorField.js +64 -0
- package/dist/NamirasoftInfraServerMonitorField.js.map +1 -0
- package/dist/NamirasoftInfraServerMonitorTag.d.ts +18 -0
- package/dist/NamirasoftInfraServerMonitorTag.js +64 -0
- package/dist/NamirasoftInfraServerMonitorTag.js.map +1 -0
- package/dist/command/MetricCategoryCommand.d.ts +4 -0
- package/dist/command/MetricCategoryCommand.js +21 -0
- package/dist/command/MetricCategoryCommand.js.map +1 -0
- package/dist/command/MetricCategoryCreateCommand.d.ts +5 -0
- package/dist/command/MetricCategoryCreateCommand.js +58 -0
- package/dist/command/MetricCategoryCreateCommand.js.map +1 -0
- package/dist/command/MetricCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/MetricCategoryDeleteCommand.js +38 -0
- package/dist/command/MetricCategoryDeleteCommand.js.map +1 -0
- package/dist/command/MetricCategoryGetCommand.d.ts +5 -0
- package/dist/command/MetricCategoryGetCommand.js +38 -0
- package/dist/command/MetricCategoryGetCommand.js.map +1 -0
- package/dist/command/MetricCategoryListCommand.d.ts +5 -0
- package/dist/command/MetricCategoryListCommand.js +38 -0
- package/dist/command/MetricCategoryListCommand.js.map +1 -0
- package/dist/command/MetricCommand.d.ts +4 -0
- package/dist/command/MetricCommand.js +25 -0
- package/dist/command/MetricCommand.js.map +1 -0
- package/dist/command/MetricCreateCommand.d.ts +5 -0
- package/dist/command/MetricCreateCommand.js +139 -0
- package/dist/command/MetricCreateCommand.js.map +1 -0
- package/dist/command/MetricDeleteCommand.d.ts +5 -0
- package/dist/command/MetricDeleteCommand.js +38 -0
- package/dist/command/MetricDeleteCommand.js.map +1 -0
- package/dist/command/MetricFieldCommand.d.ts +4 -0
- package/dist/command/MetricFieldCommand.js +23 -0
- package/dist/command/MetricFieldCommand.js.map +1 -0
- package/dist/command/MetricFieldCreateCommand.d.ts +5 -0
- package/dist/command/MetricFieldCreateCommand.js +67 -0
- package/dist/command/MetricFieldCreateCommand.js.map +1 -0
- package/dist/command/MetricFieldDeleteCommand.d.ts +5 -0
- package/dist/command/MetricFieldDeleteCommand.js +38 -0
- package/dist/command/MetricFieldDeleteCommand.js.map +1 -0
- package/dist/command/MetricFieldGetCommand.d.ts +5 -0
- package/dist/command/MetricFieldGetCommand.js +38 -0
- package/dist/command/MetricFieldGetCommand.js.map +1 -0
- package/dist/command/MetricFieldListCommand.d.ts +5 -0
- package/dist/command/MetricFieldListCommand.js +38 -0
- package/dist/command/MetricFieldListCommand.js.map +1 -0
- package/dist/command/MetricFieldUpdateCommand.d.ts +5 -0
- package/dist/command/MetricFieldUpdateCommand.js +67 -0
- package/dist/command/MetricFieldUpdateCommand.js.map +1 -0
- package/dist/command/MetricGetCommand.d.ts +5 -0
- package/dist/command/MetricGetCommand.js +38 -0
- package/dist/command/MetricGetCommand.js.map +1 -0
- package/dist/command/MetricListCommand.d.ts +5 -0
- package/dist/command/MetricListCommand.js +38 -0
- package/dist/command/MetricListCommand.js.map +1 -0
- package/dist/command/MetricResultCommand.d.ts +5 -0
- package/dist/command/MetricResultCommand.js +38 -0
- package/dist/command/MetricResultCommand.js.map +1 -0
- package/dist/command/MetricTagCommand.d.ts +4 -0
- package/dist/command/MetricTagCommand.js +23 -0
- package/dist/command/MetricTagCommand.js.map +1 -0
- package/dist/command/MetricTagCreateCommand.d.ts +5 -0
- package/dist/command/MetricTagCreateCommand.js +67 -0
- package/dist/command/MetricTagCreateCommand.js.map +1 -0
- package/dist/command/MetricTagDeleteCommand.d.ts +5 -0
- package/dist/command/MetricTagDeleteCommand.js +38 -0
- package/dist/command/MetricTagDeleteCommand.js.map +1 -0
- package/dist/command/MetricTagGetCommand.d.ts +5 -0
- package/dist/command/MetricTagGetCommand.js +38 -0
- package/dist/command/MetricTagGetCommand.js.map +1 -0
- package/dist/command/MetricTagListCommand.d.ts +5 -0
- package/dist/command/MetricTagListCommand.js +38 -0
- package/dist/command/MetricTagListCommand.js.map +1 -0
- package/dist/command/MetricTagUpdateCommand.d.ts +5 -0
- package/dist/command/MetricTagUpdateCommand.js +67 -0
- package/dist/command/MetricTagUpdateCommand.js.map +1 -0
- package/dist/command/MetricUpdateCommand.d.ts +5 -0
- package/dist/command/MetricUpdateCommand.js +139 -0
- package/dist/command/MetricUpdateCommand.js.map +1 -0
- package/dist/command/MonitorCategoryCommand.d.ts +4 -0
- package/dist/command/MonitorCategoryCommand.js +21 -0
- package/dist/command/MonitorCategoryCommand.js.map +1 -0
- package/dist/command/MonitorCategoryCreateCommand.d.ts +5 -0
- package/dist/command/MonitorCategoryCreateCommand.js +58 -0
- package/dist/command/MonitorCategoryCreateCommand.js.map +1 -0
- package/dist/command/MonitorCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/MonitorCategoryDeleteCommand.js +38 -0
- package/dist/command/MonitorCategoryDeleteCommand.js.map +1 -0
- package/dist/command/MonitorCategoryGetCommand.d.ts +5 -0
- package/dist/command/MonitorCategoryGetCommand.js +38 -0
- package/dist/command/MonitorCategoryGetCommand.js.map +1 -0
- package/dist/command/MonitorCategoryListCommand.d.ts +5 -0
- package/dist/command/MonitorCategoryListCommand.js +38 -0
- package/dist/command/MonitorCategoryListCommand.js.map +1 -0
- package/dist/command/MonitorCommand.d.ts +4 -0
- package/dist/command/MonitorCommand.js +25 -0
- package/dist/command/MonitorCommand.js.map +1 -0
- package/dist/command/MonitorCreateCommand.d.ts +5 -0
- package/dist/command/MonitorCreateCommand.js +382 -0
- package/dist/command/MonitorCreateCommand.js.map +1 -0
- package/dist/command/MonitorDeleteCommand.d.ts +5 -0
- package/dist/command/MonitorDeleteCommand.js +38 -0
- package/dist/command/MonitorDeleteCommand.js.map +1 -0
- package/dist/command/MonitorFieldCommand.d.ts +4 -0
- package/dist/command/MonitorFieldCommand.js +23 -0
- package/dist/command/MonitorFieldCommand.js.map +1 -0
- package/dist/command/MonitorFieldCreateCommand.d.ts +5 -0
- package/dist/command/MonitorFieldCreateCommand.js +67 -0
- package/dist/command/MonitorFieldCreateCommand.js.map +1 -0
- package/dist/command/MonitorFieldDeleteCommand.d.ts +5 -0
- package/dist/command/MonitorFieldDeleteCommand.js +38 -0
- package/dist/command/MonitorFieldDeleteCommand.js.map +1 -0
- package/dist/command/MonitorFieldGetCommand.d.ts +5 -0
- package/dist/command/MonitorFieldGetCommand.js +38 -0
- package/dist/command/MonitorFieldGetCommand.js.map +1 -0
- package/dist/command/MonitorFieldListCommand.d.ts +5 -0
- package/dist/command/MonitorFieldListCommand.js +38 -0
- package/dist/command/MonitorFieldListCommand.js.map +1 -0
- package/dist/command/MonitorFieldUpdateCommand.d.ts +5 -0
- package/dist/command/MonitorFieldUpdateCommand.js +67 -0
- package/dist/command/MonitorFieldUpdateCommand.js.map +1 -0
- package/dist/command/MonitorGetCommand.d.ts +5 -0
- package/dist/command/MonitorGetCommand.js +38 -0
- package/dist/command/MonitorGetCommand.js.map +1 -0
- package/dist/command/MonitorListCommand.d.ts +5 -0
- package/dist/command/MonitorListCommand.js +38 -0
- package/dist/command/MonitorListCommand.js.map +1 -0
- package/dist/command/MonitorResultCommand.d.ts +5 -0
- package/dist/command/MonitorResultCommand.js +38 -0
- package/dist/command/MonitorResultCommand.js.map +1 -0
- package/dist/command/MonitorTagCommand.d.ts +4 -0
- package/dist/command/MonitorTagCommand.js +23 -0
- package/dist/command/MonitorTagCommand.js.map +1 -0
- package/dist/command/MonitorTagCreateCommand.d.ts +5 -0
- package/dist/command/MonitorTagCreateCommand.js +67 -0
- package/dist/command/MonitorTagCreateCommand.js.map +1 -0
- package/dist/command/MonitorTagDeleteCommand.d.ts +5 -0
- package/dist/command/MonitorTagDeleteCommand.js +38 -0
- package/dist/command/MonitorTagDeleteCommand.js.map +1 -0
- package/dist/command/MonitorTagGetCommand.d.ts +5 -0
- package/dist/command/MonitorTagGetCommand.js +38 -0
- package/dist/command/MonitorTagGetCommand.js.map +1 -0
- package/dist/command/MonitorTagListCommand.d.ts +5 -0
- package/dist/command/MonitorTagListCommand.js +38 -0
- package/dist/command/MonitorTagListCommand.js.map +1 -0
- package/dist/command/MonitorTagUpdateCommand.d.ts +5 -0
- package/dist/command/MonitorTagUpdateCommand.js +67 -0
- package/dist/command/MonitorTagUpdateCommand.js.map +1 -0
- package/dist/command/MonitorUpdateCommand.d.ts +5 -0
- package/dist/command/MonitorUpdateCommand.js +382 -0
- package/dist/command/MonitorUpdateCommand.js.map +1 -0
- package/dist/command/cli.js +16 -0
- package/dist/command/cli.js.map +1 -1
- package/dist/enum/MetricCallerType.d.ts +5 -0
- package/dist/enum/MetricCallerType.js +10 -0
- package/dist/enum/MetricCallerType.js.map +1 -0
- package/dist/enum/MetricIntervalUnit.d.ts +5 -0
- package/dist/enum/MetricIntervalUnit.js +10 -0
- package/dist/enum/MetricIntervalUnit.js.map +1 -0
- package/dist/enum/MonitorCallerType.d.ts +5 -0
- package/dist/enum/MonitorCallerType.js +10 -0
- package/dist/enum/MonitorCallerType.js.map +1 -0
- package/dist/enum/MonitorDockerContainerConnectionType.d.ts +4 -0
- package/dist/enum/MonitorDockerContainerConnectionType.js +9 -0
- package/dist/enum/MonitorDockerContainerConnectionType.js.map +1 -0
- package/dist/enum/MonitorHTTPBodyEncoding.d.ts +5 -0
- package/dist/enum/MonitorHTTPBodyEncoding.js +10 -0
- package/dist/enum/MonitorHTTPBodyEncoding.js.map +1 -0
- package/dist/enum/MonitorHeartbeatIntervalUnit.d.ts +5 -0
- package/dist/enum/MonitorHeartbeatIntervalUnit.js +10 -0
- package/dist/enum/MonitorHeartbeatIntervalUnit.js.map +1 -0
- package/dist/enum/MonitorHeartbeatRetryIntervalUnit.d.ts +5 -0
- package/dist/enum/MonitorHeartbeatRetryIntervalUnit.js +10 -0
- package/dist/enum/MonitorHeartbeatRetryIntervalUnit.js.map +1 -0
- package/dist/enum/MonitorKubernetesPodControllerType.d.ts +5 -0
- package/dist/enum/MonitorKubernetesPodControllerType.js +10 -0
- package/dist/enum/MonitorKubernetesPodControllerType.js.map +1 -0
- package/dist/enum/MonitorRequestTimeoutUnit.d.ts +4 -0
- package/dist/enum/MonitorRequestTimeoutUnit.js +9 -0
- package/dist/enum/MonitorRequestTimeoutUnit.js.map +1 -0
- package/dist/enum/MonitorType.d.ts +10 -0
- package/dist/enum/MonitorType.js +15 -0
- package/dist/enum/MonitorType.js.map +1 -0
- package/dist/index.d.ts +84 -0
- package/dist/index.js +84 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/MetricCategoryMetaTable.d.ts +15 -0
- package/dist/meta/MetricCategoryMetaTable.js +39 -0
- package/dist/meta/MetricCategoryMetaTable.js.map +1 -0
- package/dist/meta/MetricFieldMetaTable.d.ts +16 -0
- package/dist/meta/MetricFieldMetaTable.js +39 -0
- package/dist/meta/MetricFieldMetaTable.js.map +1 -0
- package/dist/meta/MetricMetaTable.d.ts +24 -0
- package/dist/meta/MetricMetaTable.js +47 -0
- package/dist/meta/MetricMetaTable.js.map +1 -0
- package/dist/meta/MetricTagMetaTable.d.ts +16 -0
- package/dist/meta/MetricTagMetaTable.js +39 -0
- package/dist/meta/MetricTagMetaTable.js.map +1 -0
- package/dist/meta/MonitorCategoryMetaTable.d.ts +15 -0
- package/dist/meta/MonitorCategoryMetaTable.js +39 -0
- package/dist/meta/MonitorCategoryMetaTable.js.map +1 -0
- package/dist/meta/MonitorFieldMetaTable.d.ts +16 -0
- package/dist/meta/MonitorFieldMetaTable.js +39 -0
- package/dist/meta/MonitorFieldMetaTable.js.map +1 -0
- package/dist/meta/MonitorMetaTable.d.ts +51 -0
- package/dist/meta/MonitorMetaTable.js +74 -0
- package/dist/meta/MonitorMetaTable.js.map +1 -0
- package/dist/meta/MonitorTagMetaTable.d.ts +16 -0
- package/dist/meta/MonitorTagMetaTable.js +39 -0
- package/dist/meta/MonitorTagMetaTable.js.map +1 -0
- package/dist/meta/NamirasoftInfraMetaDatabase.d.ts +16 -0
- package/dist/meta/NamirasoftInfraMetaDatabase.js +16 -0
- package/dist/meta/NamirasoftInfraMetaDatabase.js.map +1 -1
- package/dist/row/MetricCategoryRow.d.ts +8 -0
- package/dist/row/MetricCategoryRow.js +3 -0
- package/dist/row/MetricCategoryRow.js.map +1 -0
- package/dist/row/MetricFieldRow.d.ts +9 -0
- package/dist/row/MetricFieldRow.js +3 -0
- package/dist/row/MetricFieldRow.js.map +1 -0
- package/dist/row/MetricInputRow.d.ts +15 -0
- package/dist/row/MetricInputRow.js +3 -0
- package/dist/row/MetricInputRow.js.map +1 -0
- package/dist/row/MetricRow.d.ts +19 -0
- package/dist/row/MetricRow.js +3 -0
- package/dist/row/MetricRow.js.map +1 -0
- package/dist/row/MetricTagRow.d.ts +9 -0
- package/dist/row/MetricTagRow.js +3 -0
- package/dist/row/MetricTagRow.js.map +1 -0
- package/dist/row/MonitorCategoryRow.d.ts +8 -0
- package/dist/row/MonitorCategoryRow.js +3 -0
- package/dist/row/MonitorCategoryRow.js.map +1 -0
- package/dist/row/MonitorFieldRow.d.ts +9 -0
- package/dist/row/MonitorFieldRow.js +3 -0
- package/dist/row/MonitorFieldRow.js.map +1 -0
- package/dist/row/MonitorInputRow.d.ts +48 -0
- package/dist/row/MonitorInputRow.js +3 -0
- package/dist/row/MonitorInputRow.js.map +1 -0
- package/dist/row/MonitorRow.d.ts +52 -0
- package/dist/row/MonitorRow.js +3 -0
- package/dist/row/MonitorRow.js.map +1 -0
- package/dist/row/MonitorTagRow.d.ts +9 -0
- package/dist/row/MonitorTagRow.js +3 -0
- package/dist/row/MonitorTagRow.js.map +1 -0
- package/package.json +1 -1
- package/src/NamirasoftInfraServer.ts +25 -1
- package/src/NamirasoftInfraServerMetric.ts +78 -0
- package/src/NamirasoftInfraServerMetricCategory.ts +64 -0
- package/src/NamirasoftInfraServerMetricField.ts +71 -0
- package/src/NamirasoftInfraServerMetricTag.ts +71 -0
- package/src/NamirasoftInfraServerMonitor.ts +79 -0
- package/src/NamirasoftInfraServerMonitorCategory.ts +64 -0
- package/src/NamirasoftInfraServerMonitorField.ts +71 -0
- package/src/NamirasoftInfraServerMonitorTag.ts +71 -0
- package/src/command/MetricCategoryCommand.ts +38 -0
- package/src/command/MetricCategoryCreateCommand.ts +65 -0
- package/src/command/MetricCategoryDeleteCommand.ts +45 -0
- package/src/command/MetricCategoryGetCommand.ts +45 -0
- package/src/command/MetricCategoryListCommand.ts +45 -0
- package/src/command/MetricCommand.ts +42 -0
- package/src/command/MetricCreateCommand.ts +146 -0
- package/src/command/MetricDeleteCommand.ts +45 -0
- package/src/command/MetricFieldCommand.ts +40 -0
- package/src/command/MetricFieldCreateCommand.ts +74 -0
- package/src/command/MetricFieldDeleteCommand.ts +45 -0
- package/src/command/MetricFieldGetCommand.ts +45 -0
- package/src/command/MetricFieldListCommand.ts +45 -0
- package/src/command/MetricFieldUpdateCommand.ts +74 -0
- package/src/command/MetricGetCommand.ts +45 -0
- package/src/command/MetricListCommand.ts +45 -0
- package/src/command/MetricResultCommand.ts +45 -0
- package/src/command/MetricTagCommand.ts +40 -0
- package/src/command/MetricTagCreateCommand.ts +74 -0
- package/src/command/MetricTagDeleteCommand.ts +45 -0
- package/src/command/MetricTagGetCommand.ts +45 -0
- package/src/command/MetricTagListCommand.ts +45 -0
- package/src/command/MetricTagUpdateCommand.ts +74 -0
- package/src/command/MetricUpdateCommand.ts +146 -0
- package/src/command/MonitorCategoryCommand.ts +38 -0
- package/src/command/MonitorCategoryCreateCommand.ts +65 -0
- package/src/command/MonitorCategoryDeleteCommand.ts +45 -0
- package/src/command/MonitorCategoryGetCommand.ts +45 -0
- package/src/command/MonitorCategoryListCommand.ts +45 -0
- package/src/command/MonitorCommand.ts +42 -0
- package/src/command/MonitorCreateCommand.ts +389 -0
- package/src/command/MonitorDeleteCommand.ts +45 -0
- package/src/command/MonitorFieldCommand.ts +40 -0
- package/src/command/MonitorFieldCreateCommand.ts +74 -0
- package/src/command/MonitorFieldDeleteCommand.ts +45 -0
- package/src/command/MonitorFieldGetCommand.ts +45 -0
- package/src/command/MonitorFieldListCommand.ts +45 -0
- package/src/command/MonitorFieldUpdateCommand.ts +74 -0
- package/src/command/MonitorGetCommand.ts +45 -0
- package/src/command/MonitorListCommand.ts +45 -0
- package/src/command/MonitorResultCommand.ts +45 -0
- package/src/command/MonitorTagCommand.ts +40 -0
- package/src/command/MonitorTagCreateCommand.ts +74 -0
- package/src/command/MonitorTagDeleteCommand.ts +45 -0
- package/src/command/MonitorTagGetCommand.ts +45 -0
- package/src/command/MonitorTagListCommand.ts +45 -0
- package/src/command/MonitorTagUpdateCommand.ts +74 -0
- package/src/command/MonitorUpdateCommand.ts +389 -0
- package/src/command/cli.ts +16 -0
- package/src/enum/MetricCallerType.ts +26 -0
- package/src/enum/MetricIntervalUnit.ts +26 -0
- package/src/enum/MonitorCallerType.ts +26 -0
- package/src/enum/MonitorDockerContainerConnectionType.ts +25 -0
- package/src/enum/MonitorHTTPBodyEncoding.ts +26 -0
- package/src/enum/MonitorHeartbeatIntervalUnit.ts +26 -0
- package/src/enum/MonitorHeartbeatRetryIntervalUnit.ts +26 -0
- package/src/enum/MonitorKubernetesPodControllerType.ts +26 -0
- package/src/enum/MonitorRequestTimeoutUnit.ts +25 -0
- package/src/enum/MonitorType.ts +31 -0
- package/src/index.ts +84 -0
- package/src/meta/MetricCategoryMetaTable.ts +60 -0
- package/src/meta/MetricFieldMetaTable.ts +61 -0
- package/src/meta/MetricMetaTable.ts +77 -0
- package/src/meta/MetricTagMetaTable.ts +61 -0
- package/src/meta/MonitorCategoryMetaTable.ts +60 -0
- package/src/meta/MonitorFieldMetaTable.ts +61 -0
- package/src/meta/MonitorMetaTable.ts +131 -0
- package/src/meta/MonitorTagMetaTable.ts +61 -0
- package/src/meta/NamirasoftInfraMetaDatabase.ts +24 -0
- package/src/row/MetricCategoryRow.ts +29 -0
- package/src/row/MetricFieldRow.ts +30 -0
- package/src/row/MetricInputRow.ts +37 -0
- package/src/row/MetricRow.ts +41 -0
- package/src/row/MetricTagRow.ts +30 -0
- package/src/row/MonitorCategoryRow.ts +29 -0
- package/src/row/MonitorFieldRow.ts +30 -0
- package/src/row/MonitorInputRow.ts +70 -0
- package/src/row/MonitorRow.ts +74 -0
- package/src/row/MonitorTagRow.ts +30 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
export enum MonitorType
|
|
22
|
+
{
|
|
23
|
+
Http = "Http",
|
|
24
|
+
Ping = "Ping",
|
|
25
|
+
Port = "Port",
|
|
26
|
+
Database = "Database",
|
|
27
|
+
InMemoryStore = "InMemoryStore",
|
|
28
|
+
MessageBroker = "MessageBroker",
|
|
29
|
+
DockerContainer = "DockerContainer",
|
|
30
|
+
KubernetesPod = "KubernetesPod",
|
|
31
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -54,7 +54,15 @@ export * from "./NamirasoftInfraServerMessageBroker";
|
|
|
54
54
|
export * from "./NamirasoftInfraServerMessageBrokerCategory";
|
|
55
55
|
export * from "./NamirasoftInfraServerMessageBrokerField";
|
|
56
56
|
export * from "./NamirasoftInfraServerMessageBrokerTag";
|
|
57
|
+
export * from "./NamirasoftInfraServerMetric";
|
|
58
|
+
export * from "./NamirasoftInfraServerMetricCategory";
|
|
59
|
+
export * from "./NamirasoftInfraServerMetricField";
|
|
60
|
+
export * from "./NamirasoftInfraServerMetricTag";
|
|
57
61
|
export * from "./NamirasoftInfraServerMetrics";
|
|
62
|
+
export * from "./NamirasoftInfraServerMonitor";
|
|
63
|
+
export * from "./NamirasoftInfraServerMonitorCategory";
|
|
64
|
+
export * from "./NamirasoftInfraServerMonitorField";
|
|
65
|
+
export * from "./NamirasoftInfraServerMonitorTag";
|
|
58
66
|
export * from "./NamirasoftInfraServerProject";
|
|
59
67
|
export * from "./NamirasoftInfraServerProjectCategory";
|
|
60
68
|
export * from "./NamirasoftInfraServerProjectField";
|
|
@@ -250,8 +258,56 @@ export * from "./command/MessageBrokerTagGetCommand";
|
|
|
250
258
|
export * from "./command/MessageBrokerTagListCommand";
|
|
251
259
|
export * from "./command/MessageBrokerTagUpdateCommand";
|
|
252
260
|
export * from "./command/MessageBrokerUpdateCommand";
|
|
261
|
+
export * from "./command/MetricCategoryCommand";
|
|
262
|
+
export * from "./command/MetricCategoryCreateCommand";
|
|
263
|
+
export * from "./command/MetricCategoryDeleteCommand";
|
|
264
|
+
export * from "./command/MetricCategoryGetCommand";
|
|
265
|
+
export * from "./command/MetricCategoryListCommand";
|
|
266
|
+
export * from "./command/MetricCommand";
|
|
267
|
+
export * from "./command/MetricCreateCommand";
|
|
268
|
+
export * from "./command/MetricDeleteCommand";
|
|
269
|
+
export * from "./command/MetricFieldCommand";
|
|
270
|
+
export * from "./command/MetricFieldCreateCommand";
|
|
271
|
+
export * from "./command/MetricFieldDeleteCommand";
|
|
272
|
+
export * from "./command/MetricFieldGetCommand";
|
|
273
|
+
export * from "./command/MetricFieldListCommand";
|
|
274
|
+
export * from "./command/MetricFieldUpdateCommand";
|
|
275
|
+
export * from "./command/MetricGetCommand";
|
|
276
|
+
export * from "./command/MetricListCommand";
|
|
277
|
+
export * from "./command/MetricResultCommand";
|
|
278
|
+
export * from "./command/MetricTagCommand";
|
|
279
|
+
export * from "./command/MetricTagCreateCommand";
|
|
280
|
+
export * from "./command/MetricTagDeleteCommand";
|
|
281
|
+
export * from "./command/MetricTagGetCommand";
|
|
282
|
+
export * from "./command/MetricTagListCommand";
|
|
283
|
+
export * from "./command/MetricTagUpdateCommand";
|
|
284
|
+
export * from "./command/MetricUpdateCommand";
|
|
253
285
|
export * from "./command/MetricsCommand";
|
|
254
286
|
export * from "./command/MetricsGetCommand";
|
|
287
|
+
export * from "./command/MonitorCategoryCommand";
|
|
288
|
+
export * from "./command/MonitorCategoryCreateCommand";
|
|
289
|
+
export * from "./command/MonitorCategoryDeleteCommand";
|
|
290
|
+
export * from "./command/MonitorCategoryGetCommand";
|
|
291
|
+
export * from "./command/MonitorCategoryListCommand";
|
|
292
|
+
export * from "./command/MonitorCommand";
|
|
293
|
+
export * from "./command/MonitorCreateCommand";
|
|
294
|
+
export * from "./command/MonitorDeleteCommand";
|
|
295
|
+
export * from "./command/MonitorFieldCommand";
|
|
296
|
+
export * from "./command/MonitorFieldCreateCommand";
|
|
297
|
+
export * from "./command/MonitorFieldDeleteCommand";
|
|
298
|
+
export * from "./command/MonitorFieldGetCommand";
|
|
299
|
+
export * from "./command/MonitorFieldListCommand";
|
|
300
|
+
export * from "./command/MonitorFieldUpdateCommand";
|
|
301
|
+
export * from "./command/MonitorGetCommand";
|
|
302
|
+
export * from "./command/MonitorListCommand";
|
|
303
|
+
export * from "./command/MonitorResultCommand";
|
|
304
|
+
export * from "./command/MonitorTagCommand";
|
|
305
|
+
export * from "./command/MonitorTagCreateCommand";
|
|
306
|
+
export * from "./command/MonitorTagDeleteCommand";
|
|
307
|
+
export * from "./command/MonitorTagGetCommand";
|
|
308
|
+
export * from "./command/MonitorTagListCommand";
|
|
309
|
+
export * from "./command/MonitorTagUpdateCommand";
|
|
310
|
+
export * from "./command/MonitorUpdateCommand";
|
|
255
311
|
export * from "./command/ProjectCategoryCommand";
|
|
256
312
|
export * from "./command/ProjectCategoryCreateCommand";
|
|
257
313
|
export * from "./command/ProjectCategoryDeleteCommand";
|
|
@@ -309,6 +365,16 @@ export * from "./enum/InMemoryStoreType";
|
|
|
309
365
|
export * from "./enum/IncidentStatus";
|
|
310
366
|
export * from "./enum/MessageBrokerConnectType";
|
|
311
367
|
export * from "./enum/MessageBrokerType";
|
|
368
|
+
export * from "./enum/MetricCallerType";
|
|
369
|
+
export * from "./enum/MetricIntervalUnit";
|
|
370
|
+
export * from "./enum/MonitorCallerType";
|
|
371
|
+
export * from "./enum/MonitorDockerContainerConnectionType";
|
|
372
|
+
export * from "./enum/MonitorHTTPBodyEncoding";
|
|
373
|
+
export * from "./enum/MonitorHeartbeatIntervalUnit";
|
|
374
|
+
export * from "./enum/MonitorHeartbeatRetryIntervalUnit";
|
|
375
|
+
export * from "./enum/MonitorKubernetesPodControllerType";
|
|
376
|
+
export * from "./enum/MonitorRequestTimeoutUnit";
|
|
377
|
+
export * from "./enum/MonitorType";
|
|
312
378
|
export * from "./enum/ServerMetricRetentionUnit";
|
|
313
379
|
export * from "./meta/AlertCategoryMetaTable";
|
|
314
380
|
export * from "./meta/AlertFieldMetaTable";
|
|
@@ -342,6 +408,14 @@ export * from "./meta/MessageBrokerCategoryMetaTable";
|
|
|
342
408
|
export * from "./meta/MessageBrokerFieldMetaTable";
|
|
343
409
|
export * from "./meta/MessageBrokerMetaTable";
|
|
344
410
|
export * from "./meta/MessageBrokerTagMetaTable";
|
|
411
|
+
export * from "./meta/MetricCategoryMetaTable";
|
|
412
|
+
export * from "./meta/MetricFieldMetaTable";
|
|
413
|
+
export * from "./meta/MetricMetaTable";
|
|
414
|
+
export * from "./meta/MetricTagMetaTable";
|
|
415
|
+
export * from "./meta/MonitorCategoryMetaTable";
|
|
416
|
+
export * from "./meta/MonitorFieldMetaTable";
|
|
417
|
+
export * from "./meta/MonitorMetaTable";
|
|
418
|
+
export * from "./meta/MonitorTagMetaTable";
|
|
345
419
|
export * from "./meta/NamirasoftInfraMetaDatabase";
|
|
346
420
|
export * from "./meta/ProjectCategoryMetaTable";
|
|
347
421
|
export * from "./meta/ProjectFieldMetaTable";
|
|
@@ -393,6 +467,16 @@ export * from "./row/MessageBrokerFieldRow";
|
|
|
393
467
|
export * from "./row/MessageBrokerInputRow";
|
|
394
468
|
export * from "./row/MessageBrokerRow";
|
|
395
469
|
export * from "./row/MessageBrokerTagRow";
|
|
470
|
+
export * from "./row/MetricCategoryRow";
|
|
471
|
+
export * from "./row/MetricFieldRow";
|
|
472
|
+
export * from "./row/MetricInputRow";
|
|
473
|
+
export * from "./row/MetricRow";
|
|
474
|
+
export * from "./row/MetricTagRow";
|
|
475
|
+
export * from "./row/MonitorCategoryRow";
|
|
476
|
+
export * from "./row/MonitorFieldRow";
|
|
477
|
+
export * from "./row/MonitorInputRow";
|
|
478
|
+
export * from "./row/MonitorRow";
|
|
479
|
+
export * from "./row/MonitorTagRow";
|
|
396
480
|
export * from "./row/ProjectCategoryRow";
|
|
397
481
|
export * from "./row/ProjectFieldRow";
|
|
398
482
|
export * from "./row/ProjectInputRow";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MetricCategoryRow } from "../row/MetricCategoryRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MetricCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MetricCategoryRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
entity_id: BaseMetaColumn;
|
|
33
|
+
category_id: BaseMetaColumn;
|
|
34
|
+
created_at: BaseMetaColumn;
|
|
35
|
+
updated_at: BaseMetaColumn;
|
|
36
|
+
}
|
|
37
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
38
|
+
{
|
|
39
|
+
super(database, "metric_category", "Metric Category", new BaseUUID(""));
|
|
40
|
+
this.columns = {
|
|
41
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
43
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
44
|
+
category_id: new BaseMetaColumn(this, "category_id", "Category ID", "String", true),
|
|
45
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
46
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
47
|
+
};
|
|
48
|
+
this.back_end.get = async (id: string) =>
|
|
49
|
+
{
|
|
50
|
+
let server = this.database.getServer();
|
|
51
|
+
return await server.metric_category.Get(id);
|
|
52
|
+
};
|
|
53
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
54
|
+
{
|
|
55
|
+
let server = this.database.getServer();
|
|
56
|
+
return await server.metric_category.List(filters, page, size, sorts);
|
|
57
|
+
};
|
|
58
|
+
this.front_end.getUpdateLink = () => "";
|
|
59
|
+
}
|
|
60
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MetricFieldRow } from "../row/MetricFieldRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MetricFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MetricFieldRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
entity_id: BaseMetaColumn;
|
|
33
|
+
field_id: BaseMetaColumn;
|
|
34
|
+
value: BaseMetaColumn;
|
|
35
|
+
created_at: BaseMetaColumn;
|
|
36
|
+
updated_at: BaseMetaColumn;
|
|
37
|
+
}
|
|
38
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
|
+
{
|
|
40
|
+
super(database, "metric_field", "Metric Field", new BaseUUID(""));
|
|
41
|
+
this.columns = {
|
|
42
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
44
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
45
|
+
field_id: new BaseMetaColumn(this, "field_id", "Field ID", "String", true),
|
|
46
|
+
value: new BaseMetaColumn(this, "value", "Value", "String", false),
|
|
47
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
48
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
49
|
+
};
|
|
50
|
+
this.back_end.get = async (id: string) =>
|
|
51
|
+
{
|
|
52
|
+
let server = this.database.getServer();
|
|
53
|
+
return await server.metric_field.Get(id);
|
|
54
|
+
};
|
|
55
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
|
+
{
|
|
57
|
+
let server = this.database.getServer();
|
|
58
|
+
return await server.metric_field.List(filters, page, size, sorts);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MetricRow } from "../row/MetricRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MetricMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MetricRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
workspace_id: BaseMetaColumn;
|
|
33
|
+
project_id: BaseMetaColumn;
|
|
34
|
+
environment_id: BaseMetaColumn;
|
|
35
|
+
name: BaseMetaColumn;
|
|
36
|
+
caller_type: BaseMetaColumn;
|
|
37
|
+
caller_server_id: BaseMetaColumn;
|
|
38
|
+
caller_kubernetes_id: BaseMetaColumn;
|
|
39
|
+
url: BaseMetaColumn;
|
|
40
|
+
interval_value: BaseMetaColumn;
|
|
41
|
+
interval_unit: BaseMetaColumn;
|
|
42
|
+
description: BaseMetaColumn;
|
|
43
|
+
created_at: BaseMetaColumn;
|
|
44
|
+
updated_at: BaseMetaColumn;
|
|
45
|
+
}
|
|
46
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
47
|
+
{
|
|
48
|
+
super(database, "metric", "Metric", new BaseUUID("ifr-mtr"));
|
|
49
|
+
this.columns = {
|
|
50
|
+
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
51
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
52
|
+
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
53
|
+
project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
|
|
54
|
+
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
55
|
+
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
56
|
+
caller_type: new BaseMetaColumn(this, "caller_type", "Caller Type", "Enum", true),
|
|
57
|
+
caller_server_id: new BaseMetaColumn(this, "caller_server_id", "Caller Server ID", "String", false),
|
|
58
|
+
caller_kubernetes_id: new BaseMetaColumn(this, "caller_kubernetes_id", "Caller Kubernetes ID", "String", false),
|
|
59
|
+
url: new BaseMetaColumn(this, "url", "URL", "String", true),
|
|
60
|
+
interval_value: new BaseMetaColumn(this, "interval_value", "Interval Value", "Integer", true),
|
|
61
|
+
interval_unit: new BaseMetaColumn(this, "interval_unit", "Interval Unit", "Enum", true),
|
|
62
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
63
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
64
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
65
|
+
};
|
|
66
|
+
this.back_end.get = async (id: string) =>
|
|
67
|
+
{
|
|
68
|
+
let server = this.database.getServer();
|
|
69
|
+
return await server.metric.Get(id);
|
|
70
|
+
};
|
|
71
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
72
|
+
{
|
|
73
|
+
let server = this.database.getServer();
|
|
74
|
+
return await server.metric.List(filters, page, size, sorts);
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MetricTagRow } from "../row/MetricTagRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MetricTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MetricTagRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
entity_id: BaseMetaColumn;
|
|
33
|
+
name: BaseMetaColumn;
|
|
34
|
+
value: BaseMetaColumn;
|
|
35
|
+
created_at: BaseMetaColumn;
|
|
36
|
+
updated_at: BaseMetaColumn;
|
|
37
|
+
}
|
|
38
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
|
+
{
|
|
40
|
+
super(database, "metric_tag", "Metric Tag", new BaseUUID(""));
|
|
41
|
+
this.columns = {
|
|
42
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
44
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
45
|
+
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
46
|
+
value: new BaseMetaColumn(this, "value", "Value", "String", false),
|
|
47
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
48
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
49
|
+
};
|
|
50
|
+
this.back_end.get = async (id: string) =>
|
|
51
|
+
{
|
|
52
|
+
let server = this.database.getServer();
|
|
53
|
+
return await server.metric_tag.Get(id);
|
|
54
|
+
};
|
|
55
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
|
+
{
|
|
57
|
+
let server = this.database.getServer();
|
|
58
|
+
return await server.metric_tag.List(filters, page, size, sorts);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MonitorCategoryRow } from "../row/MonitorCategoryRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MonitorCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MonitorCategoryRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
entity_id: BaseMetaColumn;
|
|
33
|
+
category_id: BaseMetaColumn;
|
|
34
|
+
created_at: BaseMetaColumn;
|
|
35
|
+
updated_at: BaseMetaColumn;
|
|
36
|
+
}
|
|
37
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
38
|
+
{
|
|
39
|
+
super(database, "monitor_category", "Monitor Category", new BaseUUID(""));
|
|
40
|
+
this.columns = {
|
|
41
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
43
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
44
|
+
category_id: new BaseMetaColumn(this, "category_id", "Category ID", "String", true),
|
|
45
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
46
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
47
|
+
};
|
|
48
|
+
this.back_end.get = async (id: string) =>
|
|
49
|
+
{
|
|
50
|
+
let server = this.database.getServer();
|
|
51
|
+
return await server.monitor_category.Get(id);
|
|
52
|
+
};
|
|
53
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
54
|
+
{
|
|
55
|
+
let server = this.database.getServer();
|
|
56
|
+
return await server.monitor_category.List(filters, page, size, sorts);
|
|
57
|
+
};
|
|
58
|
+
this.front_end.getUpdateLink = () => "";
|
|
59
|
+
}
|
|
60
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { FilterItem, SortItem } from "namirasoft-core";
|
|
23
|
+
import { MonitorFieldRow } from "../row/MonitorFieldRow";
|
|
24
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
|
+
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
|
+
|
|
27
|
+
export class MonitorFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, MonitorFieldRow>
|
|
28
|
+
{
|
|
29
|
+
public override columns: {
|
|
30
|
+
id: BaseMetaColumn;
|
|
31
|
+
user_id: BaseMetaColumn;
|
|
32
|
+
entity_id: BaseMetaColumn;
|
|
33
|
+
field_id: BaseMetaColumn;
|
|
34
|
+
value: BaseMetaColumn;
|
|
35
|
+
created_at: BaseMetaColumn;
|
|
36
|
+
updated_at: BaseMetaColumn;
|
|
37
|
+
}
|
|
38
|
+
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
|
+
{
|
|
40
|
+
super(database, "monitor_field", "Monitor Field", new BaseUUID(""));
|
|
41
|
+
this.columns = {
|
|
42
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
44
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
45
|
+
field_id: new BaseMetaColumn(this, "field_id", "Field ID", "String", true),
|
|
46
|
+
value: new BaseMetaColumn(this, "value", "Value", "String", false),
|
|
47
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
48
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
49
|
+
};
|
|
50
|
+
this.back_end.get = async (id: string) =>
|
|
51
|
+
{
|
|
52
|
+
let server = this.database.getServer();
|
|
53
|
+
return await server.monitor_field.Get(id);
|
|
54
|
+
};
|
|
55
|
+
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
|
+
{
|
|
57
|
+
let server = this.database.getServer();
|
|
58
|
+
return await server.monitor_field.List(filters, page, size, sorts);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
};
|