namirasoft-log 1.4.7 → 1.4.10
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/NamirasoftLogServerBase.d.ts +2 -2
- package/dist/NamirasoftLogServerBase.js +2 -2
- package/dist/NamirasoftLogServerBase.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/meta/LogGroupCategoryMetaTable.d.ts +4 -3
- package/dist/meta/LogGroupCategoryMetaTable.js +10 -9
- package/dist/meta/LogGroupCategoryMetaTable.js.map +1 -1
- package/dist/meta/LogGroupFieldMetaTable.d.ts +4 -3
- package/dist/meta/LogGroupFieldMetaTable.js +12 -11
- package/dist/meta/LogGroupFieldMetaTable.js.map +1 -1
- package/dist/meta/LogGroupMetaTable.d.ts +4 -3
- package/dist/meta/LogGroupMetaTable.js +12 -11
- package/dist/meta/LogGroupMetaTable.js.map +1 -1
- package/dist/meta/LogGroupTagMetaTable.d.ts +4 -3
- package/dist/meta/LogGroupTagMetaTable.js +12 -11
- package/dist/meta/LogGroupTagMetaTable.js.map +1 -1
- package/dist/meta/LogMetaTable.d.ts +4 -3
- package/dist/meta/LogMetaTable.js +12 -11
- package/dist/meta/LogMetaTable.js.map +1 -1
- package/dist/meta/NamirasoftLogMetaDatabase.d.ts +17 -0
- package/dist/meta/NamirasoftLogMetaDatabase.js +26 -0
- package/dist/meta/NamirasoftLogMetaDatabase.js.map +1 -0
- package/package.json +4 -4
- package/src/NamirasoftLogServerBase.ts +3 -3
- package/src/index.ts +1 -1
- package/src/meta/LogGroupCategoryMetaTable.ts +12 -11
- package/src/meta/LogGroupFieldMetaTable.ts +14 -13
- package/src/meta/LogGroupMetaTable.ts +14 -13
- package/src/meta/LogGroupTagMetaTable.ts +14 -13
- package/src/meta/LogMetaTable.ts +14 -13
- package/src/meta/{MetaDatabase.ts → NamirasoftLogMetaDatabase.ts} +19 -13
- package/dist/meta/MetaDatabase.d.ts +0 -14
- package/dist/meta/MetaDatabase.js +0 -21
- package/dist/meta/MetaDatabase.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NSABaseServer } from "namirasoft-account";
|
|
2
2
|
import { TokenManager } from "namirasoft-account";
|
|
3
|
-
export declare class NamirasoftLogServerBase extends
|
|
3
|
+
export declare class NamirasoftLogServerBase extends NSABaseServer {
|
|
4
4
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void);
|
|
5
5
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NamirasoftLogServerBase = void 0;
|
|
4
4
|
const namirasoft_account_1 = require("namirasoft-account");
|
|
5
|
-
class NamirasoftLogServerBase extends namirasoft_account_1.
|
|
5
|
+
class NamirasoftLogServerBase extends namirasoft_account_1.NSABaseServer {
|
|
6
6
|
constructor(base_url, manager, onError) {
|
|
7
|
-
super(base_url, `1.4.
|
|
7
|
+
super(base_url, `1.4.10`, manager, onError);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.NamirasoftLogServerBase = NamirasoftLogServerBase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftLogServerBase.js","sourceRoot":"","sources":["../src/NamirasoftLogServerBase.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"NamirasoftLogServerBase.js","sourceRoot":"","sources":["../src/NamirasoftLogServerBase.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AAGnD,MAAa,uBAAwB,SAAQ,kCAAa;IAEtD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAChD,CAAC;CACJ;AAND,0DAMC;AAAA,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export * from "./meta/LogGroupFieldMetaTable";
|
|
|
56
56
|
export * from "./meta/LogGroupMetaTable";
|
|
57
57
|
export * from "./meta/LogGroupTagMetaTable";
|
|
58
58
|
export * from "./meta/LogMetaTable";
|
|
59
|
-
export * from "./meta/
|
|
59
|
+
export * from "./meta/NamirasoftLogMetaDatabase";
|
|
60
60
|
export * from "./row/EntityCategoryInputRow";
|
|
61
61
|
export * from "./row/EntityFieldInputRow";
|
|
62
62
|
export * from "./row/EntityTagInputRow";
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ __exportStar(require("./meta/LogGroupFieldMetaTable"), exports);
|
|
|
72
72
|
__exportStar(require("./meta/LogGroupMetaTable"), exports);
|
|
73
73
|
__exportStar(require("./meta/LogGroupTagMetaTable"), exports);
|
|
74
74
|
__exportStar(require("./meta/LogMetaTable"), exports);
|
|
75
|
-
__exportStar(require("./meta/
|
|
75
|
+
__exportStar(require("./meta/NamirasoftLogMetaDatabase"), exports);
|
|
76
76
|
__exportStar(require("./row/EntityCategoryInputRow"), exports);
|
|
77
77
|
__exportStar(require("./row/EntityFieldInputRow"), exports);
|
|
78
78
|
__exportStar(require("./row/EntityTagInputRow"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoBA,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,2DAAyC;AACzC,gEAA8C;AAC9C,wEAAsD;AACtD,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,kDAAgC;AAChC,+CAA6B;AAC7B,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,uDAAqC;AACrC,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD;AAClD,0EAAwD;AACxD,0EAAwD;AACxD,uEAAqD;AACrD,wEAAsD;AACtD,4DAA0C;AAC1C,kEAAgD;AAChD,kEAAgD;AAChD,iEAA+C;AAC/C,uEAAqD;AACrD,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,uEAAqD;AACrD,+DAA6C;AAC7C,gEAA8C;AAC9C,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,kEAAgD;AAChD,mEAAiD;AACjD,qEAAmD;AACnD,kEAAgD;AAChD,2DAAyC;AACzC,yDAAuC;AACvC,6DAA2C;AAC3C,+DAA6C;AAC7C,mEAAiD;AACjD,gEAA8C;AAC9C,2DAAyC;AACzC,8DAA4C;AAC5C,sDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoBA,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,2DAAyC;AACzC,gEAA8C;AAC9C,wEAAsD;AACtD,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,kDAAgC;AAChC,+CAA6B;AAC7B,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,uDAAqC;AACrC,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD;AAClD,0EAAwD;AACxD,0EAAwD;AACxD,uEAAqD;AACrD,wEAAsD;AACtD,4DAA0C;AAC1C,kEAAgD;AAChD,kEAAgD;AAChD,iEAA+C;AAC/C,uEAAqD;AACrD,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,uEAAqD;AACrD,+DAA6C;AAC7C,gEAA8C;AAC9C,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,kEAAgD;AAChD,mEAAiD;AACjD,qEAAmD;AACnD,kEAAgD;AAChD,2DAAyC;AACzC,yDAAuC;AACvC,6DAA2C;AAC3C,+DAA6C;AAC7C,mEAAiD;AACjD,gEAA8C;AAC9C,2DAAyC;AACzC,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,4DAA0C;AAC1C,yDAAuC;AACvC,yDAAuC;AACvC,oDAAkC;AAClC,uDAAqC;AACrC,+CAA6B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseMetaColumn
|
|
2
|
-
|
|
1
|
+
import { BaseMetaColumn } from "namirasoft-core";
|
|
2
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
3
|
+
export declare class LogGroupCategoryMetaTable extends NSBaseMetaTable {
|
|
3
4
|
columns: {
|
|
4
5
|
id: BaseMetaColumn;
|
|
5
6
|
user_id: BaseMetaColumn;
|
|
@@ -8,5 +9,5 @@ export declare class LogGroupCategoryMetaTable extends BaseMetaTable {
|
|
|
8
9
|
created_at: BaseMetaColumn;
|
|
9
10
|
updated_at: BaseMetaColumn;
|
|
10
11
|
};
|
|
11
|
-
constructor();
|
|
12
|
+
constructor(database: NSBaseMetaDatabase);
|
|
12
13
|
}
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LogGroupCategoryMetaTable = void 0;
|
|
4
4
|
const namirasoft_core_1 = require("namirasoft-core");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
6
|
+
class LogGroupCategoryMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
7
|
+
constructor(database) {
|
|
8
|
+
super(database, "log_group_category", "Log Group Category", new namirasoft_core_1.BaseUUID(""));
|
|
8
9
|
this.columns = {
|
|
9
|
-
id: new namirasoft_core_1.BaseMetaColumn("id", "Id", "Integer", true),
|
|
10
|
-
user_id: new namirasoft_core_1.BaseMetaColumn("user_id", "User Id", "String", true),
|
|
11
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
12
|
-
category_id: new namirasoft_core_1.BaseMetaColumn("category_id", "Category Id", "String", true),
|
|
13
|
-
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
14
|
-
updated_at: new namirasoft_core_1.BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
10
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
11
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
12
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
13
|
+
category_id: new namirasoft_core_1.BaseMetaColumn(this, "category_id", "Category Id", "String", true),
|
|
14
|
+
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
15
|
+
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogGroupCategoryMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupCategoryMetaTable.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"LogGroupCategoryMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupCategoryMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAA2D;AAC3D,qDAAsE;AAEtE,MAAa,yBAA0B,SAAQ,iCAAe;IAU1D,YAAY,QAA4B;QAEpC,KAAK,CAAC,QAAQ,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,IAAI,0BAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;QAC9E,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC;YACzD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,SAAS,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC7E,WAAW,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;YACnF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;IACN,CAAC;CACJ;AAtBD,8DAsBC;AAAA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseMetaColumn
|
|
2
|
-
|
|
1
|
+
import { BaseMetaColumn } from "namirasoft-core";
|
|
2
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
3
|
+
export declare class LogGroupFieldMetaTable extends NSBaseMetaTable {
|
|
3
4
|
columns: {
|
|
4
5
|
id: BaseMetaColumn;
|
|
5
6
|
user_id: BaseMetaColumn;
|
|
@@ -10,5 +11,5 @@ export declare class LogGroupFieldMetaTable extends BaseMetaTable {
|
|
|
10
11
|
created_at: BaseMetaColumn;
|
|
11
12
|
updated_at: BaseMetaColumn;
|
|
12
13
|
};
|
|
13
|
-
constructor();
|
|
14
|
+
constructor(database: NSBaseMetaDatabase);
|
|
14
15
|
}
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LogGroupFieldMetaTable = void 0;
|
|
4
4
|
const namirasoft_core_1 = require("namirasoft-core");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
6
|
+
class LogGroupFieldMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
7
|
+
constructor(database) {
|
|
8
|
+
super(database, "log_group_field", "Log Group Field", new namirasoft_core_1.BaseUUID(""));
|
|
8
9
|
this.columns = {
|
|
9
|
-
id: new namirasoft_core_1.BaseMetaColumn("id", "Id", "Integer", true),
|
|
10
|
-
user_id: new namirasoft_core_1.BaseMetaColumn("user_id", "User Id", "String", true),
|
|
11
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
12
|
-
field_id: new namirasoft_core_1.BaseMetaColumn("field_id", "Field Id", "String", true),
|
|
13
|
-
value: new namirasoft_core_1.BaseMetaColumn("value", "Value", "String", true),
|
|
14
|
-
description: new namirasoft_core_1.BaseMetaColumn("description", "Description", "String", false),
|
|
15
|
-
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
16
|
-
updated_at: new namirasoft_core_1.BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
10
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
11
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
12
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
13
|
+
field_id: new namirasoft_core_1.BaseMetaColumn(this, "field_id", "Field Id", "String", true),
|
|
14
|
+
value: new namirasoft_core_1.BaseMetaColumn(this, "value", "Value", "String", true),
|
|
15
|
+
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
16
|
+
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
17
|
+
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogGroupFieldMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupFieldMetaTable.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"LogGroupFieldMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupFieldMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAA2D;AAC3D,qDAAsE;AAEtE,MAAa,sBAAuB,SAAQ,iCAAe;IAYvD,YAAY,QAA4B;QAEpC,KAAK,CAAC,QAAQ,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,0BAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;QACxE,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC;YACzD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,SAAS,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC7E,QAAQ,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC1E,KAAK,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;YACjE,WAAW,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC;YACpF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;IACN,CAAC;CACJ;AA1BD,wDA0BC;AAAA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseMetaColumn
|
|
2
|
-
|
|
1
|
+
import { BaseMetaColumn } from "namirasoft-core";
|
|
2
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
3
|
+
export declare class LogGroupMetaTable extends NSBaseMetaTable {
|
|
3
4
|
columns: {
|
|
4
5
|
id: BaseMetaColumn;
|
|
5
6
|
user_id: BaseMetaColumn;
|
|
@@ -10,5 +11,5 @@ export declare class LogGroupMetaTable extends BaseMetaTable {
|
|
|
10
11
|
created_at: BaseMetaColumn;
|
|
11
12
|
updated_at: BaseMetaColumn;
|
|
12
13
|
};
|
|
13
|
-
constructor();
|
|
14
|
+
constructor(database: NSBaseMetaDatabase);
|
|
14
15
|
}
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LogGroupMetaTable = void 0;
|
|
4
4
|
const namirasoft_core_1 = require("namirasoft-core");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
6
|
+
class LogGroupMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
7
|
+
constructor(database) {
|
|
8
|
+
super(database, "log_group", "Log Group", new namirasoft_core_1.BaseUUID("log-grp"));
|
|
8
9
|
this.columns = {
|
|
9
|
-
id: new namirasoft_core_1.BaseMetaColumn("id", "Id", "String", true),
|
|
10
|
-
user_id: new namirasoft_core_1.BaseMetaColumn("user_id", "User Id", "String", true),
|
|
11
|
-
workspace_id: new namirasoft_core_1.BaseMetaColumn("workspace_id", "Workspace Id", "String", true),
|
|
12
|
-
name: new namirasoft_core_1.BaseMetaColumn("name", "Name", "String", true),
|
|
13
|
-
retention_unit: new namirasoft_core_1.BaseMetaColumn("retention_unit", "Retention Unit", "Enum", true),
|
|
14
|
-
retention_value: new namirasoft_core_1.BaseMetaColumn("retention_value", "Retention Value", "Integer", true),
|
|
15
|
-
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
16
|
-
updated_at: new namirasoft_core_1.BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
10
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "Id", "String", true),
|
|
11
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
12
|
+
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace Id", "String", true),
|
|
13
|
+
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
14
|
+
retention_unit: new namirasoft_core_1.BaseMetaColumn(this, "retention_unit", "Retention Unit", "Enum", true),
|
|
15
|
+
retention_value: new namirasoft_core_1.BaseMetaColumn(this, "retention_value", "Retention Value", "Integer", true),
|
|
16
|
+
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
17
|
+
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogGroupMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupMetaTable.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"LogGroupMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAA2D;AAC3D,qDAAsE;AAEtE,MAAa,iBAAkB,SAAQ,iCAAe;IAYlD,YAAY,QAA4B;QAEpC,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,CAAC;YACtF,IAAI,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC9D,cAAc,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,CAAC;YAC1F,eAAe,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,EAAE,IAAI,CAAC;YAChG,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;IACN,CAAC;CACJ;AA1BD,8CA0BC;AAAA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseMetaColumn
|
|
2
|
-
|
|
1
|
+
import { BaseMetaColumn } from "namirasoft-core";
|
|
2
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
3
|
+
export declare class LogGroupTagMetaTable extends NSBaseMetaTable {
|
|
3
4
|
columns: {
|
|
4
5
|
id: BaseMetaColumn;
|
|
5
6
|
user_id: BaseMetaColumn;
|
|
@@ -10,5 +11,5 @@ export declare class LogGroupTagMetaTable extends BaseMetaTable {
|
|
|
10
11
|
created_at: BaseMetaColumn;
|
|
11
12
|
updated_at: BaseMetaColumn;
|
|
12
13
|
};
|
|
13
|
-
constructor();
|
|
14
|
+
constructor(database: NSBaseMetaDatabase);
|
|
14
15
|
}
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LogGroupTagMetaTable = void 0;
|
|
4
4
|
const namirasoft_core_1 = require("namirasoft-core");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
6
|
+
class LogGroupTagMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
7
|
+
constructor(database) {
|
|
8
|
+
super(database, "log_group_tag", "Log Group Tag", new namirasoft_core_1.BaseUUID(""));
|
|
8
9
|
this.columns = {
|
|
9
|
-
id: new namirasoft_core_1.BaseMetaColumn("id", "Id", "Integer", true),
|
|
10
|
-
user_id: new namirasoft_core_1.BaseMetaColumn("user_id", "User Id", "String", true),
|
|
11
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
12
|
-
name: new namirasoft_core_1.BaseMetaColumn("name", "Name", "String", true),
|
|
13
|
-
value: new namirasoft_core_1.BaseMetaColumn("value", "Value", "String", true),
|
|
14
|
-
description: new namirasoft_core_1.BaseMetaColumn("description", "Description", "String", false),
|
|
15
|
-
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
16
|
-
updated_at: new namirasoft_core_1.BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
10
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
11
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
12
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
13
|
+
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
14
|
+
value: new namirasoft_core_1.BaseMetaColumn(this, "value", "Value", "String", true),
|
|
15
|
+
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
16
|
+
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
17
|
+
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogGroupTagMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupTagMetaTable.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"LogGroupTagMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogGroupTagMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAA2D;AAC3D,qDAAsE;AAEtE,MAAa,oBAAqB,SAAQ,iCAAe;IAYrD,YAAY,QAA4B;QAEpC,KAAK,CAAC,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,IAAI,0BAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;QACpE,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC;YACzD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,SAAS,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC7E,IAAI,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC9D,KAAK,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;YACjE,WAAW,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC;YACpF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;IACN,CAAC;CACJ;AA1BD,oDA0BC;AAAA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseMetaColumn
|
|
2
|
-
|
|
1
|
+
import { BaseMetaColumn } from "namirasoft-core";
|
|
2
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
3
|
+
export declare class LogMetaTable extends NSBaseMetaTable {
|
|
3
4
|
columns: {
|
|
4
5
|
id: BaseMetaColumn;
|
|
5
6
|
user_id: BaseMetaColumn;
|
|
@@ -10,5 +11,5 @@ export declare class LogMetaTable extends BaseMetaTable {
|
|
|
10
11
|
message: BaseMetaColumn;
|
|
11
12
|
created_at: BaseMetaColumn;
|
|
12
13
|
};
|
|
13
|
-
constructor();
|
|
14
|
+
constructor(database: NSBaseMetaDatabase);
|
|
14
15
|
}
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LogMetaTable = void 0;
|
|
4
4
|
const namirasoft_core_1 = require("namirasoft-core");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
6
|
+
class LogMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
7
|
+
constructor(database) {
|
|
8
|
+
super(database, "log", "Log", new namirasoft_core_1.BaseUUID("log"));
|
|
8
9
|
this.columns = {
|
|
9
|
-
id: new namirasoft_core_1.BaseMetaColumn("id", "Id", "String", true),
|
|
10
|
-
user_id: new namirasoft_core_1.BaseMetaColumn("user_id", "User Id", "String", true),
|
|
11
|
-
log_group_id: new namirasoft_core_1.BaseMetaColumn("log_group_id", "Log Group Id", "String", true),
|
|
12
|
-
product_id: new namirasoft_core_1.BaseMetaColumn("product_id", "Product Id", "String", false),
|
|
13
|
-
workspace_id: new namirasoft_core_1.BaseMetaColumn("workspace_id", "Workspace Id", "String", false),
|
|
14
|
-
level: new namirasoft_core_1.BaseMetaColumn("level", "Level", "String", true),
|
|
15
|
-
message: new namirasoft_core_1.BaseMetaColumn("message", "Message", "String", true),
|
|
16
|
-
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
10
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "Id", "String", true),
|
|
11
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
12
|
+
log_group_id: new namirasoft_core_1.BaseMetaColumn(this, "log_group_id", "Log Group Id", "String", true),
|
|
13
|
+
product_id: new namirasoft_core_1.BaseMetaColumn(this, "product_id", "Product Id", "String", false),
|
|
14
|
+
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace Id", "String", false),
|
|
15
|
+
level: new namirasoft_core_1.BaseMetaColumn(this, "level", "Level", "String", true),
|
|
16
|
+
message: new namirasoft_core_1.BaseMetaColumn(this, "message", "Message", "String", true),
|
|
17
|
+
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogMetaTable.ts"],"names":[],"mappings":";;;AAoBA,
|
|
1
|
+
{"version":3,"file":"LogMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAA2D;AAC3D,qDAAsE;AAEtE,MAAa,YAAa,SAAQ,iCAAe;IAY7C,YAAY,QAA4B;QAEpC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,0BAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,CAAC;YACtF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,CAAC;YACjF,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,KAAK,CAAC;YACvF,KAAK,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;YACjE,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;IACN,CAAC;CACJ;AA1BD,oCA0BC;AAAA,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LogGroupCategoryMetaTable } from "./LogGroupCategoryMetaTable";
|
|
2
|
+
import { LogGroupFieldMetaTable } from "./LogGroupFieldMetaTable";
|
|
3
|
+
import { LogGroupMetaTable } from "./LogGroupMetaTable";
|
|
4
|
+
import { LogGroupTagMetaTable } from "./LogGroupTagMetaTable";
|
|
5
|
+
import { LogMetaTable } from "./LogMetaTable";
|
|
6
|
+
import { NSBaseMetaDatabase } from "namirasoft-site";
|
|
7
|
+
export declare class NamirasoftLogMetaDatabase extends NSBaseMetaDatabase {
|
|
8
|
+
static main: NamirasoftLogMetaDatabase;
|
|
9
|
+
tables: {
|
|
10
|
+
log_group: LogGroupMetaTable;
|
|
11
|
+
log_group_category: LogGroupCategoryMetaTable;
|
|
12
|
+
log_group_field: LogGroupFieldMetaTable;
|
|
13
|
+
log_group_tag: LogGroupTagMetaTable;
|
|
14
|
+
log: LogMetaTable;
|
|
15
|
+
};
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamirasoftLogMetaDatabase = void 0;
|
|
4
|
+
const LogGroupCategoryMetaTable_1 = require("./LogGroupCategoryMetaTable");
|
|
5
|
+
const LogGroupFieldMetaTable_1 = require("./LogGroupFieldMetaTable");
|
|
6
|
+
const LogGroupMetaTable_1 = require("./LogGroupMetaTable");
|
|
7
|
+
const LogGroupTagMetaTable_1 = require("./LogGroupTagMetaTable");
|
|
8
|
+
const LogMetaTable_1 = require("./LogMetaTable");
|
|
9
|
+
const namirasoft_site_1 = require("namirasoft-site");
|
|
10
|
+
class NamirasoftLogMetaDatabase extends namirasoft_site_1.NSBaseMetaDatabase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super({ id: "prd-d0388150e7054a43", name: "Namirasoft Log", headline: "Message Logging Service", description: "A platform that provides a comprehensive record of all messages sent through various messaging channels.", logo: "https://static.namirasoft.com/image/namirasoft/log/logo/base.png", link: "https://log.namirasoft.com" });
|
|
13
|
+
this.tables = {
|
|
14
|
+
log_group: new LogGroupMetaTable_1.LogGroupMetaTable(this),
|
|
15
|
+
log_group_category: new LogGroupCategoryMetaTable_1.LogGroupCategoryMetaTable(this),
|
|
16
|
+
log_group_field: new LogGroupFieldMetaTable_1.LogGroupFieldMetaTable(this),
|
|
17
|
+
log_group_tag: new LogGroupTagMetaTable_1.LogGroupTagMetaTable(this),
|
|
18
|
+
log: new LogMetaTable_1.LogMetaTable(this),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
;
|
|
22
|
+
}
|
|
23
|
+
exports.NamirasoftLogMetaDatabase = NamirasoftLogMetaDatabase;
|
|
24
|
+
NamirasoftLogMetaDatabase.main = new NamirasoftLogMetaDatabase();
|
|
25
|
+
;
|
|
26
|
+
//# sourceMappingURL=NamirasoftLogMetaDatabase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftLogMetaDatabase.js","sourceRoot":"","sources":["../../src/meta/NamirasoftLogMetaDatabase.ts"],"names":[],"mappings":";;;AAoBA,2EAAwE;AACxE,qEAAkE;AAClE,2DAAwD;AACxD,iEAA8D;AAC9D,iDAA8C;AAC9C,qDAAqD;AAErD,MAAa,yBAA0B,SAAQ,oCAAkB;IAU7D;QAEI,KAAK,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,yBAAyB,EAAE,WAAW,EAAE,0GAA0G,EAAE,IAAI,EAAE,kEAAkE,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC;QAC1U,IAAI,CAAC,MAAM,GAAG;YACV,SAAS,EAAE,IAAI,qCAAiB,CAAC,IAAI,CAAC;YACtC,kBAAkB,EAAE,IAAI,qDAAyB,CAAC,IAAI,CAAC;YACvD,eAAe,EAAE,IAAI,+CAAsB,CAAC,IAAI,CAAC;YACjD,aAAa,EAAE,IAAI,2CAAoB,CAAC,IAAI,CAAC;YAC7C,GAAG,EAAE,IAAI,2BAAY,CAAC,IAAI,CAAC;SAC9B,CAAC;IACN,CAAC;IAAA,CAAC;;AApBN,8DAqBC;AAnBiB,8BAAI,GAA8B,IAAI,yBAAyB,EAAE,CAAC;AAmBnF,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.10",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"build": ""
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"namirasoft-core": "^1.4.
|
|
21
|
-
"namirasoft-site": "^1.4.
|
|
20
|
+
"namirasoft-core": "^1.4.21",
|
|
21
|
+
"namirasoft-site": "^1.4.5",
|
|
22
22
|
"namirasoft-node-cli": "^1.4.4",
|
|
23
|
-
"namirasoft-account": "^1.4.
|
|
23
|
+
"namirasoft-account": "^1.4.27"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
26
|
"ns-log": "./dist/command/cli.js"
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { NSABaseServer } from "namirasoft-account";
|
|
22
22
|
import { TokenManager } from "namirasoft-account";
|
|
23
23
|
|
|
24
|
-
export class NamirasoftLogServerBase extends
|
|
24
|
+
export class NamirasoftLogServerBase extends NSABaseServer
|
|
25
25
|
{
|
|
26
26
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
27
27
|
{
|
|
28
|
-
super(base_url, `1.4.
|
|
28
|
+
super(base_url, `1.4.10`, manager, onError);
|
|
29
29
|
}
|
|
30
30
|
};
|
package/src/index.ts
CHANGED
|
@@ -76,7 +76,7 @@ export * from "./meta/LogGroupFieldMetaTable";
|
|
|
76
76
|
export * from "./meta/LogGroupMetaTable";
|
|
77
77
|
export * from "./meta/LogGroupTagMetaTable";
|
|
78
78
|
export * from "./meta/LogMetaTable";
|
|
79
|
-
export * from "./meta/
|
|
79
|
+
export * from "./meta/NamirasoftLogMetaDatabase";
|
|
80
80
|
export * from "./row/EntityCategoryInputRow";
|
|
81
81
|
export * from "./row/EntityFieldInputRow";
|
|
82
82
|
export * from "./row/EntityTagInputRow";
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
22
23
|
|
|
23
|
-
export class LogGroupCategoryMetaTable extends
|
|
24
|
+
export class LogGroupCategoryMetaTable extends NSBaseMetaTable
|
|
24
25
|
{
|
|
25
|
-
public columns
|
|
26
|
+
public override columns: {
|
|
26
27
|
id: BaseMetaColumn;
|
|
27
28
|
user_id: BaseMetaColumn;
|
|
28
29
|
entity_id: BaseMetaColumn;
|
|
@@ -30,16 +31,16 @@ export class LogGroupCategoryMetaTable extends BaseMetaTable
|
|
|
30
31
|
created_at: BaseMetaColumn;
|
|
31
32
|
updated_at: BaseMetaColumn;
|
|
32
33
|
}
|
|
33
|
-
constructor()
|
|
34
|
+
constructor(database: NSBaseMetaDatabase)
|
|
34
35
|
{
|
|
35
|
-
super("log_group_category", "Log Group Category");
|
|
36
|
+
super(database, "log_group_category", "Log Group Category", new BaseUUID(""));
|
|
36
37
|
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
|
-
category_id: new BaseMetaColumn("category_id", "Category Id", "String", true),
|
|
41
|
-
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
42
|
-
updated_at: new BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
38
|
+
id: new BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
39
|
+
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
40
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
41
|
+
category_id: new BaseMetaColumn(this, "category_id", "Category Id", "String", true),
|
|
42
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
43
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
};
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
22
23
|
|
|
23
|
-
export class LogGroupFieldMetaTable extends
|
|
24
|
+
export class LogGroupFieldMetaTable extends NSBaseMetaTable
|
|
24
25
|
{
|
|
25
|
-
public columns
|
|
26
|
+
public override columns: {
|
|
26
27
|
id: BaseMetaColumn;
|
|
27
28
|
user_id: BaseMetaColumn;
|
|
28
29
|
entity_id: BaseMetaColumn;
|
|
@@ -32,18 +33,18 @@ export class LogGroupFieldMetaTable extends BaseMetaTable
|
|
|
32
33
|
created_at: BaseMetaColumn;
|
|
33
34
|
updated_at: BaseMetaColumn;
|
|
34
35
|
}
|
|
35
|
-
constructor()
|
|
36
|
+
constructor(database: NSBaseMetaDatabase)
|
|
36
37
|
{
|
|
37
|
-
super("log_group_field", "Log Group Field");
|
|
38
|
+
super(database, "log_group_field", "Log Group Field", new BaseUUID(""));
|
|
38
39
|
this.columns = {
|
|
39
|
-
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
40
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
41
|
-
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
42
|
-
field_id: new BaseMetaColumn("field_id", "Field Id", "String", true),
|
|
43
|
-
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
44
|
-
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
45
|
-
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
46
|
-
updated_at: new BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
40
|
+
id: new BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
41
|
+
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
42
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
43
|
+
field_id: new BaseMetaColumn(this, "field_id", "Field Id", "String", true),
|
|
44
|
+
value: new BaseMetaColumn(this, "value", "Value", "String", true),
|
|
45
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
46
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
};
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
22
23
|
|
|
23
|
-
export class LogGroupMetaTable extends
|
|
24
|
+
export class LogGroupMetaTable extends NSBaseMetaTable
|
|
24
25
|
{
|
|
25
|
-
public columns
|
|
26
|
+
public override columns: {
|
|
26
27
|
id: BaseMetaColumn;
|
|
27
28
|
user_id: BaseMetaColumn;
|
|
28
29
|
workspace_id: BaseMetaColumn;
|
|
@@ -32,18 +33,18 @@ export class LogGroupMetaTable extends BaseMetaTable
|
|
|
32
33
|
created_at: BaseMetaColumn;
|
|
33
34
|
updated_at: BaseMetaColumn;
|
|
34
35
|
}
|
|
35
|
-
constructor()
|
|
36
|
+
constructor(database: NSBaseMetaDatabase)
|
|
36
37
|
{
|
|
37
|
-
super("log_group", "Log Group");
|
|
38
|
+
super(database, "log_group", "Log Group", new BaseUUID("log-grp"));
|
|
38
39
|
this.columns = {
|
|
39
|
-
id: new BaseMetaColumn("id", "Id", "String", true),
|
|
40
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
41
|
-
workspace_id: new BaseMetaColumn("workspace_id", "Workspace Id", "String", true),
|
|
42
|
-
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
43
|
-
retention_unit: new BaseMetaColumn("retention_unit", "Retention Unit", "Enum", true),
|
|
44
|
-
retention_value: new BaseMetaColumn("retention_value", "Retention Value", "Integer", true),
|
|
45
|
-
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
46
|
-
updated_at: new BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
40
|
+
id: new BaseMetaColumn(this, "id", "Id", "String", true),
|
|
41
|
+
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
42
|
+
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace Id", "String", true),
|
|
43
|
+
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
44
|
+
retention_unit: new BaseMetaColumn(this, "retention_unit", "Retention Unit", "Enum", true),
|
|
45
|
+
retention_value: new BaseMetaColumn(this, "retention_value", "Retention Value", "Integer", true),
|
|
46
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
};
|
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
22
23
|
|
|
23
|
-
export class LogGroupTagMetaTable extends
|
|
24
|
+
export class LogGroupTagMetaTable extends NSBaseMetaTable
|
|
24
25
|
{
|
|
25
|
-
public columns
|
|
26
|
+
public override columns: {
|
|
26
27
|
id: BaseMetaColumn;
|
|
27
28
|
user_id: BaseMetaColumn;
|
|
28
29
|
entity_id: BaseMetaColumn;
|
|
@@ -32,18 +33,18 @@ export class LogGroupTagMetaTable extends BaseMetaTable
|
|
|
32
33
|
created_at: BaseMetaColumn;
|
|
33
34
|
updated_at: BaseMetaColumn;
|
|
34
35
|
}
|
|
35
|
-
constructor()
|
|
36
|
+
constructor(database: NSBaseMetaDatabase)
|
|
36
37
|
{
|
|
37
|
-
super("log_group_tag", "Log Group Tag");
|
|
38
|
+
super(database, "log_group_tag", "Log Group Tag", new BaseUUID(""));
|
|
38
39
|
this.columns = {
|
|
39
|
-
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
40
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
41
|
-
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
42
|
-
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
43
|
-
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
44
|
-
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
45
|
-
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
46
|
-
updated_at: new BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
40
|
+
id: new BaseMetaColumn(this, "id", "Id", "Integer", true),
|
|
41
|
+
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
42
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity Id", "String", true),
|
|
43
|
+
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
44
|
+
value: new BaseMetaColumn(this, "value", "Value", "String", true),
|
|
45
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
46
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
|
+
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
};
|
package/src/meta/LogMetaTable.ts
CHANGED
|
@@ -18,11 +18,12 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
+
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
22
23
|
|
|
23
|
-
export class LogMetaTable extends
|
|
24
|
+
export class LogMetaTable extends NSBaseMetaTable
|
|
24
25
|
{
|
|
25
|
-
public columns
|
|
26
|
+
public override columns: {
|
|
26
27
|
id: BaseMetaColumn;
|
|
27
28
|
user_id: BaseMetaColumn;
|
|
28
29
|
log_group_id: BaseMetaColumn;
|
|
@@ -32,18 +33,18 @@ export class LogMetaTable extends BaseMetaTable
|
|
|
32
33
|
message: BaseMetaColumn;
|
|
33
34
|
created_at: BaseMetaColumn;
|
|
34
35
|
}
|
|
35
|
-
constructor()
|
|
36
|
+
constructor(database: NSBaseMetaDatabase)
|
|
36
37
|
{
|
|
37
|
-
super("log", "Log");
|
|
38
|
+
super(database, "log", "Log", new BaseUUID("log"));
|
|
38
39
|
this.columns = {
|
|
39
|
-
id: new BaseMetaColumn("id", "Id", "String", true),
|
|
40
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
41
|
-
log_group_id: new BaseMetaColumn("log_group_id", "Log Group Id", "String", true),
|
|
42
|
-
product_id: new BaseMetaColumn("product_id", "Product Id", "String", false),
|
|
43
|
-
workspace_id: new BaseMetaColumn("workspace_id", "Workspace Id", "String", false),
|
|
44
|
-
level: new BaseMetaColumn("level", "Level", "String", true),
|
|
45
|
-
message: new BaseMetaColumn("message", "Message", "String", true),
|
|
46
|
-
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
40
|
+
id: new BaseMetaColumn(this, "id", "Id", "String", true),
|
|
41
|
+
user_id: new BaseMetaColumn(this, "user_id", "User Id", "String", true),
|
|
42
|
+
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group Id", "String", true),
|
|
43
|
+
product_id: new BaseMetaColumn(this, "product_id", "Product Id", "String", false),
|
|
44
|
+
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace Id", "String", false),
|
|
45
|
+
level: new BaseMetaColumn(this, "level", "Level", "String", true),
|
|
46
|
+
message: new BaseMetaColumn(this, "message", "Message", "String", true),
|
|
47
|
+
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
};
|
|
@@ -23,21 +23,27 @@ import { LogGroupFieldMetaTable } from "./LogGroupFieldMetaTable";
|
|
|
23
23
|
import { LogGroupMetaTable } from "./LogGroupMetaTable";
|
|
24
24
|
import { LogGroupTagMetaTable } from "./LogGroupTagMetaTable";
|
|
25
25
|
import { LogMetaTable } from "./LogMetaTable";
|
|
26
|
+
import { NSBaseMetaDatabase } from "namirasoft-site";
|
|
26
27
|
|
|
27
|
-
export class
|
|
28
|
+
export class NamirasoftLogMetaDatabase extends NSBaseMetaDatabase
|
|
28
29
|
{
|
|
29
|
-
public static main:
|
|
30
|
-
public
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
public static main: NamirasoftLogMetaDatabase = new NamirasoftLogMetaDatabase();
|
|
31
|
+
public override tables: {
|
|
32
|
+
log_group: LogGroupMetaTable,
|
|
33
|
+
log_group_category: LogGroupCategoryMetaTable,
|
|
34
|
+
log_group_field: LogGroupFieldMetaTable,
|
|
35
|
+
log_group_tag: LogGroupTagMetaTable,
|
|
36
|
+
log: LogMetaTable,
|
|
37
|
+
};
|
|
35
38
|
constructor()
|
|
36
39
|
{
|
|
37
|
-
|
|
38
|
-
this.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
super({ id: "prd-d0388150e7054a43", name: "Namirasoft Log", headline: "Message Logging Service", description: "A platform that provides a comprehensive record of all messages sent through various messaging channels.", logo: "https://static.namirasoft.com/image/namirasoft/log/logo/base.png", link: "https://log.namirasoft.com" });
|
|
41
|
+
this.tables = {
|
|
42
|
+
log_group: new LogGroupMetaTable(this),
|
|
43
|
+
log_group_category: new LogGroupCategoryMetaTable(this),
|
|
44
|
+
log_group_field: new LogGroupFieldMetaTable(this),
|
|
45
|
+
log_group_tag: new LogGroupTagMetaTable(this),
|
|
46
|
+
log: new LogMetaTable(this),
|
|
47
|
+
};
|
|
48
|
+
};
|
|
43
49
|
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LogGroupCategoryMetaTable } from "./LogGroupCategoryMetaTable";
|
|
2
|
-
import { LogGroupFieldMetaTable } from "./LogGroupFieldMetaTable";
|
|
3
|
-
import { LogGroupMetaTable } from "./LogGroupMetaTable";
|
|
4
|
-
import { LogGroupTagMetaTable } from "./LogGroupTagMetaTable";
|
|
5
|
-
import { LogMetaTable } from "./LogMetaTable";
|
|
6
|
-
export declare class MetaDatabase {
|
|
7
|
-
static main: MetaDatabase;
|
|
8
|
-
log_group: LogGroupMetaTable;
|
|
9
|
-
log_group_category: LogGroupCategoryMetaTable;
|
|
10
|
-
log_group_field: LogGroupFieldMetaTable;
|
|
11
|
-
log_group_tag: LogGroupTagMetaTable;
|
|
12
|
-
log: LogMetaTable;
|
|
13
|
-
constructor();
|
|
14
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MetaDatabase = void 0;
|
|
4
|
-
const LogGroupCategoryMetaTable_1 = require("./LogGroupCategoryMetaTable");
|
|
5
|
-
const LogGroupFieldMetaTable_1 = require("./LogGroupFieldMetaTable");
|
|
6
|
-
const LogGroupMetaTable_1 = require("./LogGroupMetaTable");
|
|
7
|
-
const LogGroupTagMetaTable_1 = require("./LogGroupTagMetaTable");
|
|
8
|
-
const LogMetaTable_1 = require("./LogMetaTable");
|
|
9
|
-
class MetaDatabase {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.log_group = new LogGroupMetaTable_1.LogGroupMetaTable();
|
|
12
|
-
this.log_group_category = new LogGroupCategoryMetaTable_1.LogGroupCategoryMetaTable();
|
|
13
|
-
this.log_group_field = new LogGroupFieldMetaTable_1.LogGroupFieldMetaTable();
|
|
14
|
-
this.log_group_tag = new LogGroupTagMetaTable_1.LogGroupTagMetaTable();
|
|
15
|
-
this.log = new LogMetaTable_1.LogMetaTable();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.MetaDatabase = MetaDatabase;
|
|
19
|
-
MetaDatabase.main = new MetaDatabase();
|
|
20
|
-
;
|
|
21
|
-
//# sourceMappingURL=MetaDatabase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MetaDatabase.js","sourceRoot":"","sources":["../../src/meta/MetaDatabase.ts"],"names":[],"mappings":";;;AAoBA,2EAAwE;AACxE,qEAAkE;AAClE,2DAAwD;AACxD,iEAA8D;AAC9D,iDAA8C;AAE9C,MAAa,YAAY;IAQrB;QAEI,IAAI,CAAC,SAAS,GAAG,IAAI,qCAAiB,EAAE,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,IAAI,qDAAyB,EAAE,CAAC;QAC1D,IAAI,CAAC,eAAe,GAAG,IAAI,+CAAsB,EAAE,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,IAAI,2CAAoB,EAAE,CAAC;QAChD,IAAI,CAAC,GAAG,GAAG,IAAI,2BAAY,EAAE,CAAC;IAClC,CAAC;;AAfL,oCAgBC;AAdiB,iBAAI,GAAiB,IAAI,YAAY,EAAE,CAAC;AAczD,CAAC"}
|