namirasoft-log 1.3.26 → 1.3.27

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.
@@ -4,7 +4,7 @@ exports.NamirasoftLogServerBase = void 0;
4
4
  const namirasoft_account_1 = require("namirasoft-account");
5
5
  class NamirasoftLogServerBase extends namirasoft_account_1.NamirasoftServerBase {
6
6
  constructor(manager, onError) {
7
- super(`https://log.namirasoft.com/api/v1`, `1.3.26`, manager, onError);
7
+ super(`https://log.namirasoft.com/api/v1`, `1.3.27`, manager, onError);
8
8
  }
9
9
  }
10
10
  exports.NamirasoftLogServerBase = NamirasoftLogServerBase;
@@ -8,7 +8,7 @@ export declare class LogMetaTable extends BaseMetaTable {
8
8
  project_id: BaseMetaColumn;
9
9
  level: BaseMetaColumn;
10
10
  message: BaseMetaColumn;
11
- datetime: BaseMetaColumn;
11
+ created_at: BaseMetaColumn;
12
12
  };
13
13
  constructor();
14
14
  }
@@ -13,7 +13,7 @@ class LogMetaTable extends namirasoft_core_1.BaseMetaTable {
13
13
  project_id: new namirasoft_core_1.BaseMetaColumn("project_id", "Project Id", "String", false),
14
14
  level: new namirasoft_core_1.BaseMetaColumn("level", "Level", "String", false),
15
15
  message: new namirasoft_core_1.BaseMetaColumn("message", "Message", "String", false),
16
- datetime: new namirasoft_core_1.BaseMetaColumn("datetime", "Datetime", "DateTime", false),
16
+ created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", false),
17
17
  };
18
18
  }
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LogMetaTable.js","sourceRoot":"","sources":["../../src/meta/LogMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAAgE;AAEhE,MAAa,YAAa,SAAQ,+BAAa;IAY3C;QAEI,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACpB,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,E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EAAE,QAAQ,EAAE,KAAK,CAAC;YAC3E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,CAAC;YAC3E,KAAK,EAAE,IAAI,gCAAc,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;YAC5D,OAAO,EAAE,IAAI,gCAAc,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC;YAClE,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,CAAC;SAChF,CAAC;IACN,CAAC;CACJ;AA1BD,oCA0BC;AAAA,CAAC"}
@@ -6,5 +6,5 @@ export type LogRow = {
6
6
  project_id: (string | null);
7
7
  level: (string | null);
8
8
  message: (string | null);
9
- datetime: (Date | null);
9
+ created_at: (Date | null);
10
10
  };
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.26",
11
+ "version": "1.3.27",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -25,6 +25,6 @@ export class NamirasoftLogServerBase extends NamirasoftServerBase
25
25
  {
26
26
  constructor(manager: TokenManager, onError: (error: Error) => void)
27
27
  {
28
- super(`https://log.namirasoft.com/api/v1`, `1.3.26`, manager, onError);
28
+ super(`https://log.namirasoft.com/api/v1`, `1.3.27`, manager, onError);
29
29
  }
30
30
  };
@@ -30,7 +30,7 @@ export class LogMetaTable extends BaseMetaTable
30
30
  project_id: BaseMetaColumn;
31
31
  level: BaseMetaColumn;
32
32
  message: BaseMetaColumn;
33
- datetime: BaseMetaColumn;
33
+ created_at: BaseMetaColumn;
34
34
  }
35
35
  constructor()
36
36
  {
@@ -43,7 +43,7 @@ export class LogMetaTable extends BaseMetaTable
43
43
  project_id: new BaseMetaColumn("project_id", "Project Id", "String", false),
44
44
  level: new BaseMetaColumn("level", "Level", "String", false),
45
45
  message: new BaseMetaColumn("message", "Message", "String", false),
46
- datetime: new BaseMetaColumn("datetime", "Datetime", "DateTime", false),
46
+ created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", false),
47
47
  };
48
48
  }
49
49
  };
package/src/row/LogRow.ts CHANGED
@@ -27,5 +27,5 @@ export type LogRow =
27
27
  project_id: (string | null);
28
28
  level: (string | null);
29
29
  message: (string | null);
30
- datetime: (Date | null);
30
+ created_at: (Date | null);
31
31
  }