namirasoft-log 1.3.24 → 1.3.26
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/NamirasoftLogServer.d.ts +2 -0
- package/dist/NamirasoftLogServer.js +2 -0
- package/dist/NamirasoftLogServer.js.map +1 -1
- package/dist/NamirasoftLogServerAlarm.d.ts +2 -0
- package/dist/NamirasoftLogServerAlarm.js +8 -0
- package/dist/NamirasoftLogServerAlarm.js.map +1 -1
- package/dist/NamirasoftLogServerAlarmCategory.d.ts +2 -0
- package/dist/NamirasoftLogServerAlarmCategory.js +8 -0
- package/dist/NamirasoftLogServerAlarmCategory.js.map +1 -1
- package/dist/NamirasoftLogServerAlarmField.d.ts +2 -0
- package/dist/NamirasoftLogServerAlarmField.js +8 -0
- package/dist/NamirasoftLogServerAlarmField.js.map +1 -1
- package/dist/NamirasoftLogServerAlarmTag.d.ts +2 -0
- package/dist/NamirasoftLogServerAlarmTag.js +8 -0
- package/dist/NamirasoftLogServerAlarmTag.js.map +1 -1
- package/dist/NamirasoftLogServerBase.js +1 -1
- package/dist/NamirasoftLogServerHealthz.d.ts +2 -0
- package/dist/NamirasoftLogServerHealthz.js +4 -0
- package/dist/NamirasoftLogServerHealthz.js.map +1 -1
- package/dist/NamirasoftLogServerLog.d.ts +2 -0
- package/dist/NamirasoftLogServerLog.js +6 -0
- package/dist/NamirasoftLogServerLog.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroup.d.ts +2 -0
- package/dist/NamirasoftLogServerLogGroup.js +8 -0
- package/dist/NamirasoftLogServerLogGroup.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupCategory.d.ts +2 -0
- package/dist/NamirasoftLogServerLogGroupCategory.js +8 -0
- package/dist/NamirasoftLogServerLogGroupCategory.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupField.d.ts +2 -0
- package/dist/NamirasoftLogServerLogGroupField.js +8 -0
- package/dist/NamirasoftLogServerLogGroupField.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupTag.d.ts +2 -0
- package/dist/NamirasoftLogServerLogGroupTag.js +8 -0
- package/dist/NamirasoftLogServerLogGroupTag.js.map +1 -1
- package/dist/NamirasoftLogServerValue.d.ts +6 -0
- package/dist/NamirasoftLogServerValue.js +29 -0
- package/dist/NamirasoftLogServerValue.js.map +1 -0
- package/dist/command/AlarmCreateCommand.js +10 -10
- package/dist/command/AlarmCreateCommand.js.map +1 -1
- package/dist/command/AlarmUpdateCommand.js +10 -10
- package/dist/command/AlarmUpdateCommand.js.map +1 -1
- package/dist/command/LogGroupCreateCommand.js +19 -1
- package/dist/command/LogGroupCreateCommand.js.map +1 -1
- package/dist/command/LogGroupUpdateCommand.js +19 -1
- package/dist/command/LogGroupUpdateCommand.js.map +1 -1
- package/dist/command/ValueCommand.d.ts +4 -0
- package/dist/command/ValueCommand.js +15 -0
- package/dist/command/ValueCommand.js.map +1 -0
- package/dist/command/ValueListCommand.d.ts +5 -0
- package/dist/command/ValueListCommand.js +37 -0
- package/dist/command/ValueListCommand.js.map +1 -0
- package/dist/command/cli.js +2 -0
- package/dist/command/cli.js.map +1 -1
- package/dist/enum/LogGroupRetentionUnit.d.ts +8 -0
- package/dist/enum/LogGroupRetentionUnit.js +13 -0
- package/dist/enum/LogGroupRetentionUnit.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/AlarmCategoryMetaTable.d.ts +10 -0
- package/dist/meta/AlarmCategoryMetaTable.js +18 -0
- package/dist/meta/AlarmCategoryMetaTable.js.map +1 -0
- package/dist/meta/AlarmFieldMetaTable.d.ts +12 -0
- package/dist/meta/AlarmFieldMetaTable.js +20 -0
- package/dist/meta/AlarmFieldMetaTable.js.map +1 -0
- package/dist/meta/AlarmMetaTable.d.ts +12 -0
- package/dist/meta/AlarmMetaTable.js +20 -0
- package/dist/meta/AlarmMetaTable.js.map +1 -0
- package/dist/meta/AlarmTagMetaTable.d.ts +12 -0
- package/dist/meta/AlarmTagMetaTable.js +20 -0
- package/dist/meta/AlarmTagMetaTable.js.map +1 -0
- package/dist/meta/LogGroupCategoryMetaTable.d.ts +10 -0
- package/dist/meta/LogGroupCategoryMetaTable.js +18 -0
- package/dist/meta/LogGroupCategoryMetaTable.js.map +1 -0
- package/dist/meta/LogGroupFieldMetaTable.d.ts +12 -0
- package/dist/meta/LogGroupFieldMetaTable.js +20 -0
- package/dist/meta/LogGroupFieldMetaTable.js.map +1 -0
- package/dist/meta/LogGroupMetaTable.d.ts +12 -0
- package/dist/meta/LogGroupMetaTable.js +20 -0
- package/dist/meta/LogGroupMetaTable.js.map +1 -0
- package/dist/meta/LogGroupTagMetaTable.d.ts +12 -0
- package/dist/meta/LogGroupTagMetaTable.js +20 -0
- package/dist/meta/LogGroupTagMetaTable.js.map +1 -0
- package/dist/meta/LogMetaTable.d.ts +14 -0
- package/dist/meta/LogMetaTable.js +22 -0
- package/dist/meta/LogMetaTable.js.map +1 -0
- package/dist/meta/MetaDatabase.d.ts +22 -0
- package/dist/meta/MetaDatabase.js +29 -0
- package/dist/meta/MetaDatabase.js.map +1 -0
- package/dist/row/AlarmInputRow.d.ts +1 -1
- package/dist/row/AlarmRow.d.ts +2 -2
- package/dist/row/LogGroupInputRow.d.ts +3 -0
- package/dist/row/LogGroupRow.d.ts +3 -0
- package/dist/row/LogRow.d.ts +1 -0
- package/package.json +3 -3
- package/src/NamirasoftLogServer.ts +3 -0
- package/src/NamirasoftLogServerAlarm.ts +10 -0
- package/src/NamirasoftLogServerAlarmCategory.ts +10 -0
- package/src/NamirasoftLogServerAlarmField.ts +10 -0
- package/src/NamirasoftLogServerAlarmTag.ts +10 -0
- package/src/NamirasoftLogServerBase.ts +1 -1
- package/src/NamirasoftLogServerHealthz.ts +6 -0
- package/src/NamirasoftLogServerLog.ts +8 -0
- package/src/NamirasoftLogServerLogGroup.ts +10 -0
- package/src/NamirasoftLogServerLogGroupCategory.ts +10 -0
- package/src/NamirasoftLogServerLogGroupField.ts +10 -0
- package/src/NamirasoftLogServerLogGroupTag.ts +10 -0
- package/src/NamirasoftLogServerValue.ts +37 -0
- package/src/command/AlarmCreateCommand.ts +10 -10
- package/src/command/AlarmUpdateCommand.ts +10 -10
- package/src/command/LogGroupCreateCommand.ts +19 -1
- package/src/command/LogGroupUpdateCommand.ts +19 -1
- package/src/command/ValueCommand.ts +32 -0
- package/src/command/ValueListCommand.ts +44 -0
- package/src/command/cli.ts +2 -0
- package/src/enum/LogGroupRetentionUnit.ts +29 -0
- package/src/index.ts +14 -0
- package/src/meta/AlarmCategoryMetaTable.ts +41 -0
- package/src/meta/AlarmFieldMetaTable.ts +45 -0
- package/src/meta/AlarmMetaTable.ts +45 -0
- package/src/meta/AlarmTagMetaTable.ts +45 -0
- package/src/meta/LogGroupCategoryMetaTable.ts +41 -0
- package/src/meta/LogGroupFieldMetaTable.ts +45 -0
- package/src/meta/LogGroupMetaTable.ts +45 -0
- package/src/meta/LogGroupTagMetaTable.ts +45 -0
- package/src/meta/LogMetaTable.ts +49 -0
- package/src/meta/MetaDatabase.ts +55 -0
- package/src/row/AlarmInputRow.ts +1 -1
- package/src/row/AlarmRow.ts +2 -2
- package/src/row/LogGroupInputRow.ts +4 -0
- package/src/row/LogGroupRow.ts +4 -0
- package/src/row/LogRow.ts +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
export enum LogGroupRetentionUnit
|
|
22
|
+
{
|
|
23
|
+
minutes = "minutes",
|
|
24
|
+
hours = "hours",
|
|
25
|
+
days = "days",
|
|
26
|
+
weeks = "weeks",
|
|
27
|
+
months = "months",
|
|
28
|
+
years = "years",
|
|
29
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from "./NamirasoftLogServerLogGroup";
|
|
|
39
39
|
export * from "./NamirasoftLogServerLogGroupCategory";
|
|
40
40
|
export * from "./NamirasoftLogServerLogGroupField";
|
|
41
41
|
export * from "./NamirasoftLogServerLogGroupTag";
|
|
42
|
+
export * from "./NamirasoftLogServerValue";
|
|
42
43
|
export * from "./StreamConsole";
|
|
43
44
|
export * from "./StreamFile";
|
|
44
45
|
export * from "./StreamNamirasoftLog";
|
|
@@ -96,6 +97,19 @@ export * from "./command/LogGroupTagListCommand";
|
|
|
96
97
|
export * from "./command/LogGroupTagUpdateCommand";
|
|
97
98
|
export * from "./command/LogGroupUpdateCommand";
|
|
98
99
|
export * from "./command/LogListCommand";
|
|
100
|
+
export * from "./command/ValueCommand";
|
|
101
|
+
export * from "./command/ValueListCommand";
|
|
102
|
+
export * from "./enum/LogGroupRetentionUnit";
|
|
103
|
+
export * from "./meta/AlarmCategoryMetaTable";
|
|
104
|
+
export * from "./meta/AlarmFieldMetaTable";
|
|
105
|
+
export * from "./meta/AlarmMetaTable";
|
|
106
|
+
export * from "./meta/AlarmTagMetaTable";
|
|
107
|
+
export * from "./meta/LogGroupCategoryMetaTable";
|
|
108
|
+
export * from "./meta/LogGroupFieldMetaTable";
|
|
109
|
+
export * from "./meta/LogGroupMetaTable";
|
|
110
|
+
export * from "./meta/LogGroupTagMetaTable";
|
|
111
|
+
export * from "./meta/LogMetaTable";
|
|
112
|
+
export * from "./meta/MetaDatabase";
|
|
99
113
|
export * from "./row/AlarmCategoryRow";
|
|
100
114
|
export * from "./row/AlarmFieldRow";
|
|
101
115
|
export * from "./row/AlarmInputRow";
|
|
@@ -0,0 +1,41 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class AlarmCategoryMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
category_id: BaseMetaColumn;
|
|
30
|
+
}
|
|
31
|
+
constructor()
|
|
32
|
+
{
|
|
33
|
+
super("alarm_category", "Alarm Category");
|
|
34
|
+
this.columns = {
|
|
35
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
36
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
37
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
38
|
+
category_id: new BaseMetaColumn("category_id", "Category Id", "String", true),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class AlarmFieldMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
field_id: BaseMetaColumn;
|
|
30
|
+
value: BaseMetaColumn;
|
|
31
|
+
description: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("alarm_field", "Alarm Field");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
+
field_id: new BaseMetaColumn("field_id", "Field Id", "String", true),
|
|
41
|
+
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
+
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class AlarmMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
name: BaseMetaColumn;
|
|
29
|
+
filters: BaseMetaColumn;
|
|
30
|
+
notification_sender_topic_id: BaseMetaColumn;
|
|
31
|
+
description: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("alarm", "Alarm");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "String", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
name: new BaseMetaColumn("name", "Name", "String", false),
|
|
40
|
+
filters: new BaseMetaColumn("filters", "Filters", "String", false),
|
|
41
|
+
notification_sender_topic_id: new BaseMetaColumn("notification_sender_topic_id", "Notification Sender Topic Id", "String", true),
|
|
42
|
+
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class AlarmTagMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
name: BaseMetaColumn;
|
|
30
|
+
value: BaseMetaColumn;
|
|
31
|
+
description: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("alarm_tag", "Alarm Tag");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
+
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
41
|
+
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
+
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class LogGroupCategoryMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
category_id: BaseMetaColumn;
|
|
30
|
+
}
|
|
31
|
+
constructor()
|
|
32
|
+
{
|
|
33
|
+
super("log_group_category", "Log Group Category");
|
|
34
|
+
this.columns = {
|
|
35
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
36
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
37
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
38
|
+
category_id: new BaseMetaColumn("category_id", "Category Id", "String", true),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class LogGroupFieldMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
field_id: BaseMetaColumn;
|
|
30
|
+
value: BaseMetaColumn;
|
|
31
|
+
description: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("log_group_field", "Log Group Field");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
+
field_id: new BaseMetaColumn("field_id", "Field Id", "String", true),
|
|
41
|
+
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
+
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class LogGroupMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
project_id: BaseMetaColumn;
|
|
29
|
+
name: BaseMetaColumn;
|
|
30
|
+
retention_unit: BaseMetaColumn;
|
|
31
|
+
retention_value: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("log_group", "Log Group");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "String", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
project_id: new BaseMetaColumn("project_id", "Project Id", "String", true),
|
|
40
|
+
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
41
|
+
retention_unit: new BaseMetaColumn("retention_unit", "Retention Unit", "Enum", true),
|
|
42
|
+
retention_value: new BaseMetaColumn("retention_value", "Retention Value", "Integer", true),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class LogGroupTagMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
entity_id: BaseMetaColumn;
|
|
29
|
+
name: BaseMetaColumn;
|
|
30
|
+
value: BaseMetaColumn;
|
|
31
|
+
description: BaseMetaColumn;
|
|
32
|
+
}
|
|
33
|
+
constructor()
|
|
34
|
+
{
|
|
35
|
+
super("log_group_tag", "Log Group Tag");
|
|
36
|
+
this.columns = {
|
|
37
|
+
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
+
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
+
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
41
|
+
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
+
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
+
|
|
23
|
+
export class LogMetaTable extends BaseMetaTable
|
|
24
|
+
{
|
|
25
|
+
public columns!: {
|
|
26
|
+
id: BaseMetaColumn;
|
|
27
|
+
user_id: BaseMetaColumn;
|
|
28
|
+
log_group_id: BaseMetaColumn;
|
|
29
|
+
product_id: BaseMetaColumn;
|
|
30
|
+
project_id: BaseMetaColumn;
|
|
31
|
+
level: BaseMetaColumn;
|
|
32
|
+
message: BaseMetaColumn;
|
|
33
|
+
datetime: BaseMetaColumn;
|
|
34
|
+
}
|
|
35
|
+
constructor()
|
|
36
|
+
{
|
|
37
|
+
super("log", "Log");
|
|
38
|
+
this.columns = {
|
|
39
|
+
id: new BaseMetaColumn("id", "Id", "String", false),
|
|
40
|
+
user_id: new BaseMetaColumn("user_id", "User Id", "String", false),
|
|
41
|
+
log_group_id: new BaseMetaColumn("log_group_id", "Log Group Id", "String", false),
|
|
42
|
+
product_id: new BaseMetaColumn("product_id", "Product Id", "String", false),
|
|
43
|
+
project_id: new BaseMetaColumn("project_id", "Project Id", "String", false),
|
|
44
|
+
level: new BaseMetaColumn("level", "Level", "String", false),
|
|
45
|
+
message: new BaseMetaColumn("message", "Message", "String", false),
|
|
46
|
+
datetime: new BaseMetaColumn("datetime", "Datetime", "DateTime", false),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { AlarmCategoryMetaTable } from "./AlarmCategoryMetaTable";
|
|
22
|
+
import { AlarmFieldMetaTable } from "./AlarmFieldMetaTable";
|
|
23
|
+
import { AlarmMetaTable } from "./AlarmMetaTable";
|
|
24
|
+
import { AlarmTagMetaTable } from "./AlarmTagMetaTable";
|
|
25
|
+
import { LogGroupCategoryMetaTable } from "./LogGroupCategoryMetaTable";
|
|
26
|
+
import { LogGroupFieldMetaTable } from "./LogGroupFieldMetaTable";
|
|
27
|
+
import { LogGroupMetaTable } from "./LogGroupMetaTable";
|
|
28
|
+
import { LogGroupTagMetaTable } from "./LogGroupTagMetaTable";
|
|
29
|
+
import { LogMetaTable } from "./LogMetaTable";
|
|
30
|
+
|
|
31
|
+
export class MetaDatabase
|
|
32
|
+
{
|
|
33
|
+
public static main: MetaDatabase = new MetaDatabase();
|
|
34
|
+
public alarm: AlarmMetaTable;
|
|
35
|
+
public alarm_category: AlarmCategoryMetaTable;
|
|
36
|
+
public alarm_field: AlarmFieldMetaTable;
|
|
37
|
+
public alarm_tag: AlarmTagMetaTable;
|
|
38
|
+
public log_group: LogGroupMetaTable;
|
|
39
|
+
public log_group_category: LogGroupCategoryMetaTable;
|
|
40
|
+
public log_group_field: LogGroupFieldMetaTable;
|
|
41
|
+
public log_group_tag: LogGroupTagMetaTable;
|
|
42
|
+
public log: LogMetaTable;
|
|
43
|
+
constructor()
|
|
44
|
+
{
|
|
45
|
+
this.alarm = new AlarmMetaTable();
|
|
46
|
+
this.alarm_category = new AlarmCategoryMetaTable();
|
|
47
|
+
this.alarm_field = new AlarmFieldMetaTable();
|
|
48
|
+
this.alarm_tag = new AlarmTagMetaTable();
|
|
49
|
+
this.log_group = new LogGroupMetaTable();
|
|
50
|
+
this.log_group_category = new LogGroupCategoryMetaTable();
|
|
51
|
+
this.log_group_field = new LogGroupFieldMetaTable();
|
|
52
|
+
this.log_group_tag = new LogGroupTagMetaTable();
|
|
53
|
+
this.log = new LogMetaTable();
|
|
54
|
+
}
|
|
55
|
+
};
|
package/src/row/AlarmInputRow.ts
CHANGED
package/src/row/AlarmRow.ts
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
export type AlarmRow =
|
|
22
22
|
{
|
|
23
|
-
id:
|
|
23
|
+
id: string;
|
|
24
24
|
user_id: string;
|
|
25
25
|
name: (string | null);
|
|
26
|
-
description: (string | null);
|
|
27
26
|
filters: (string | null);
|
|
28
27
|
notification_sender_topic_id: string;
|
|
28
|
+
description: (string | null);
|
|
29
29
|
}
|
|
@@ -18,8 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { LogGroupRetentionUnit } from "../enum/LogGroupRetentionUnit";
|
|
22
|
+
|
|
21
23
|
export type LogGroupInputRow =
|
|
22
24
|
{
|
|
23
25
|
project_id: (string | null);
|
|
24
26
|
name: string;
|
|
27
|
+
retention_unit: LogGroupRetentionUnit;
|
|
28
|
+
retention_value: number;
|
|
25
29
|
}
|
package/src/row/LogGroupRow.ts
CHANGED
|
@@ -18,10 +18,14 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { LogGroupRetentionUnit } from "../enum/LogGroupRetentionUnit";
|
|
22
|
+
|
|
21
23
|
export type LogGroupRow =
|
|
22
24
|
{
|
|
23
25
|
id: string;
|
|
24
26
|
user_id: string;
|
|
25
27
|
project_id: string;
|
|
26
28
|
name: string;
|
|
29
|
+
retention_unit: LogGroupRetentionUnit;
|
|
30
|
+
retention_value: number;
|
|
27
31
|
}
|