namirasoft-log 1.4.19 → 1.4.21
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 -2
- package/dist/NamirasoftLogServer.js +10 -9
- package/dist/NamirasoftLogServer.js.map +1 -1
- package/dist/NamirasoftLogServerBase.d.ts +4 -4
- package/dist/NamirasoftLogServerBase.js +3 -4
- package/dist/NamirasoftLogServerBase.js.map +1 -1
- package/dist/NamirasoftLogServerHealthz.d.ts +2 -2
- package/dist/NamirasoftLogServerHealthz.js +3 -3
- package/dist/NamirasoftLogServerHealthz.js.map +1 -1
- package/dist/NamirasoftLogServerLog.d.ts +3 -2
- package/dist/NamirasoftLogServerLog.js +13 -5
- package/dist/NamirasoftLogServerLog.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroup.d.ts +2 -2
- package/dist/NamirasoftLogServerLogGroup.js +7 -7
- package/dist/NamirasoftLogServerLogGroup.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupCategory.d.ts +2 -2
- package/dist/NamirasoftLogServerLogGroupCategory.js +6 -6
- package/dist/NamirasoftLogServerLogGroupCategory.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupField.d.ts +2 -2
- package/dist/NamirasoftLogServerLogGroupField.js +7 -7
- package/dist/NamirasoftLogServerLogGroupField.js.map +1 -1
- package/dist/NamirasoftLogServerLogGroupTag.d.ts +2 -2
- package/dist/NamirasoftLogServerLogGroupTag.js +7 -7
- package/dist/NamirasoftLogServerLogGroupTag.js.map +1 -1
- package/dist/NamirasoftLogServerValue.d.ts +2 -2
- package/dist/NamirasoftLogServerValue.js +3 -3
- package/dist/NamirasoftLogServerValue.js.map +1 -1
- package/dist/StreamFile.js +17 -7
- package/dist/StreamFile.js.map +1 -1
- package/dist/command/LogCommand.js +2 -0
- package/dist/command/LogCommand.js.map +1 -1
- package/dist/command/Log_CreateForCommand.d.ts +5 -0
- package/dist/command/Log_CreateForCommand.js +85 -0
- package/dist/command/Log_CreateForCommand.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/LogGroupFieldMetaTable.js +1 -1
- package/dist/meta/LogGroupFieldMetaTable.js.map +1 -1
- package/dist/row/EntityFieldInputRow.d.ts +1 -1
- package/dist/row/LogGroupFieldRow.d.ts +1 -1
- package/package.json +4 -4
- package/src/NamirasoftLogServer.ts +11 -11
- package/src/NamirasoftLogServerBase.ts +6 -6
- package/src/NamirasoftLogServerHealthz.ts +5 -5
- package/src/NamirasoftLogServerLog.ts +14 -7
- package/src/NamirasoftLogServerLogGroup.ts +9 -9
- package/src/NamirasoftLogServerLogGroupCategory.ts +8 -8
- package/src/NamirasoftLogServerLogGroupField.ts +9 -9
- package/src/NamirasoftLogServerLogGroupTag.ts +9 -9
- package/src/NamirasoftLogServerValue.ts +5 -5
- package/src/command/HealthzCommand.ts +1 -1
- package/src/command/HealthzGetCommand.ts +1 -1
- package/src/command/LogCommand.ts +3 -1
- package/src/command/LogCreateCommand.ts +1 -1
- package/src/command/LogGetCommand.ts +1 -1
- package/src/command/LogGroupCategoryCommand.ts +1 -1
- package/src/command/LogGroupCategoryCreateCommand.ts +1 -1
- package/src/command/LogGroupCategoryDeleteCommand.ts +1 -1
- package/src/command/LogGroupCategoryGetCommand.ts +1 -1
- package/src/command/LogGroupCategoryListCommand.ts +1 -1
- package/src/command/LogGroupCommand.ts +1 -1
- package/src/command/LogGroupCreateCommand.ts +1 -1
- package/src/command/LogGroupDeleteCommand.ts +1 -1
- package/src/command/LogGroupFieldCommand.ts +1 -1
- package/src/command/LogGroupFieldCreateCommand.ts +1 -1
- package/src/command/LogGroupFieldDeleteCommand.ts +1 -1
- package/src/command/LogGroupFieldGetCommand.ts +1 -1
- package/src/command/LogGroupFieldListCommand.ts +1 -1
- package/src/command/LogGroupFieldUpdateCommand.ts +1 -1
- package/src/command/LogGroupGetCommand.ts +1 -1
- package/src/command/LogGroupListCommand.ts +1 -1
- package/src/command/LogGroupTagCommand.ts +1 -1
- package/src/command/LogGroupTagCreateCommand.ts +1 -1
- package/src/command/LogGroupTagDeleteCommand.ts +1 -1
- package/src/command/LogGroupTagGetCommand.ts +1 -1
- package/src/command/LogGroupTagListCommand.ts +1 -1
- package/src/command/LogGroupTagUpdateCommand.ts +1 -1
- package/src/command/LogGroupUpdateCommand.ts +1 -1
- package/src/command/LogListCommand.ts +1 -1
- package/src/command/Log_CreateForCommand.ts +92 -0
- package/src/command/ValueCommand.ts +1 -1
- package/src/command/ValueListCommand.ts +1 -1
- package/src/command/cli.ts +1 -1
- package/src/enum/LogGroupRetentionUnit.ts +1 -1
- package/src/index.ts +2 -1
- package/src/meta/LogGroupCategoryMetaTable.ts +1 -1
- package/src/meta/LogGroupFieldMetaTable.ts +2 -2
- package/src/meta/LogGroupMetaTable.ts +1 -1
- package/src/meta/LogGroupTagMetaTable.ts +1 -1
- package/src/meta/LogMetaTable.ts +1 -1
- package/src/meta/NamirasoftLogMetaDatabase.ts +1 -1
- package/src/row/EntityCategoryInputRow.ts +1 -1
- package/src/row/EntityFieldInputRow.ts +2 -2
- package/src/row/EntityTagInputRow.ts +1 -1
- package/src/row/LogCreateRow.ts +1 -1
- package/src/row/LogGroupCategoryRow.ts +1 -1
- package/src/row/LogGroupFieldRow.ts +2 -2
- package/src/row/LogGroupFullRow.ts +1 -1
- package/src/row/LogGroupInputRow.ts +1 -1
- package/src/row/LogGroupRow.ts +1 -1
- package/src/row/LogGroupTagRow.ts +1 -1
- package/src/row/LogRow.ts +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -22,6 +22,7 @@ import { BaseNavigatorCommand } from "namirasoft-node-cli";
|
|
|
22
22
|
import { LogCreateCommand } from "./LogCreateCommand";
|
|
23
23
|
import { LogGetCommand } from "./LogGetCommand";
|
|
24
24
|
import { LogListCommand } from "./LogListCommand";
|
|
25
|
+
import { Log_CreateForCommand } from "./Log_CreateForCommand";
|
|
25
26
|
|
|
26
27
|
export class LogCommand extends BaseNavigatorCommand
|
|
27
28
|
{
|
|
@@ -31,6 +32,7 @@ export class LogCommand extends BaseNavigatorCommand
|
|
|
31
32
|
"list": LogListCommand,
|
|
32
33
|
"get": LogGetCommand,
|
|
33
34
|
"create": LogCreateCommand,
|
|
35
|
+
"_createfor": Log_CreateForCommand,
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
+
import { IStorageMemory } from "namirasoft-core";
|
|
23
|
+
import { NamirasoftLogServer } from "../NamirasoftLogServer";
|
|
24
|
+
import { TokenManager } from "namirasoft-account";
|
|
25
|
+
|
|
26
|
+
export class Log_CreateForCommand extends BaseFinalCommand
|
|
27
|
+
{
|
|
28
|
+
constructor(argv: string[])
|
|
29
|
+
{
|
|
30
|
+
super(argv, ["user_id"], [
|
|
31
|
+
{
|
|
32
|
+
name: "log_group_id",
|
|
33
|
+
short: "",
|
|
34
|
+
description: "Provides the value of 'log_group_id' in body",
|
|
35
|
+
optional: false,
|
|
36
|
+
args: ["log_group_id"],
|
|
37
|
+
defaults: [""]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "product_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'product_id' in body",
|
|
43
|
+
optional: true,
|
|
44
|
+
args: ["product_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "workspace_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'workspace_id' in body",
|
|
51
|
+
optional: true,
|
|
52
|
+
args: ["workspace_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: "level",
|
|
57
|
+
short: "",
|
|
58
|
+
description: "Provides the value of 'level' in body",
|
|
59
|
+
optional: false,
|
|
60
|
+
args: ["level"],
|
|
61
|
+
defaults: [""]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "message",
|
|
65
|
+
short: "",
|
|
66
|
+
description: "Provides the value of 'message' in body",
|
|
67
|
+
optional: false,
|
|
68
|
+
args: ["message"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
}
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
override async exec()
|
|
74
|
+
{
|
|
75
|
+
let token = this.app.storage.getNSAToken();
|
|
76
|
+
if (token == null)
|
|
77
|
+
throw new Error("Token is not available. Please login first using:\nns-log account config \nor \n{this.command} account login.");
|
|
78
|
+
let storage = new IStorageMemory();
|
|
79
|
+
let manager = new TokenManager(storage, () => { });
|
|
80
|
+
manager.setValue(token, false);
|
|
81
|
+
let url = this.app.storage.getItem("ns-log-server-url");
|
|
82
|
+
let server = new NamirasoftLogServer(url, manager, e => this.app.logger.error(e.message));
|
|
83
|
+
let ans = await server.log._CreateFor(this.arg_values[0], {
|
|
84
|
+
log_group_id: this.option_values.log_group_id,
|
|
85
|
+
product_id: this.option_values.product_id,
|
|
86
|
+
workspace_id: this.option_values.workspace_id,
|
|
87
|
+
level: this.option_values.level,
|
|
88
|
+
message: this.option_values.message
|
|
89
|
+
});
|
|
90
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
91
|
+
}
|
|
92
|
+
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
package/src/command/cli.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/****************************************************************/
|
|
10
10
|
/* */
|
|
11
11
|
/* Please do not make any change to this file */
|
|
12
|
-
/* If any
|
|
12
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
13
13
|
/* */
|
|
14
14
|
/****************************************************************/
|
|
15
15
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
package/src/index.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -68,6 +68,7 @@ export * from "./command/LogGroupTagListCommand";
|
|
|
68
68
|
export * from "./command/LogGroupTagUpdateCommand";
|
|
69
69
|
export * from "./command/LogGroupUpdateCommand";
|
|
70
70
|
export * from "./command/LogListCommand";
|
|
71
|
+
export * from "./command/Log_CreateForCommand";
|
|
71
72
|
export * from "./command/ValueCommand";
|
|
72
73
|
export * from "./command/ValueListCommand";
|
|
73
74
|
export * from "./enum/LogGroupRetentionUnit";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -40,7 +40,7 @@ export class LogGroupFieldMetaTable extends NSBaseMetaTable
|
|
|
40
40
|
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
41
41
|
entity_id: new BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
42
42
|
field_id: new BaseMetaColumn(this, "field_id", "Field Id", "String", true),
|
|
43
|
-
value: new BaseMetaColumn(this, "value", "Value", "
|
|
43
|
+
value: new BaseMetaColumn(this, "value", "Value", "Any", false),
|
|
44
44
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
45
45
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
46
46
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
package/src/meta/LogMetaTable.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
export type EntityFieldInputRow =
|
|
22
22
|
{
|
|
23
23
|
field_id: string;
|
|
24
|
-
value: (
|
|
24
|
+
value: (any | null);
|
|
25
25
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
package/src/row/LogCreateRow.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/****************************************************************/
|
|
9
9
|
/* */
|
|
10
10
|
/* Please do not make any change to this file */
|
|
11
|
-
/* If any
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
12
|
/* */
|
|
13
13
|
/****************************************************************/
|
|
14
14
|
/****************************************************************/
|
|
@@ -24,7 +24,7 @@ export type LogGroupFieldRow =
|
|
|
24
24
|
user_id: string;
|
|
25
25
|
entity_id: string;
|
|
26
26
|
field_id: string;
|
|
27
|
-
value: (
|
|
27
|
+
value: (any | null);
|
|
28
28
|
created_at: Date;
|
|
29
29
|
updated_at: Date;
|
|
30
30
|
}
|