@cristian-israel/giganet_lib_conecta 1.0.30 → 1.0.32

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/index.d.mts CHANGED
@@ -14,6 +14,12 @@ type LoggerParams = {
14
14
  };
15
15
  declare function logger({ level, context, domain, message, }: LoggerParams): void;
16
16
 
17
+ declare function printSignature({ name_project, version, start_date, }: {
18
+ name_project: string;
19
+ version: string;
20
+ start_date?: string;
21
+ }): void;
22
+
17
23
  interface XmlNfseAttributes {
18
24
  id: number;
19
25
  idSaida: number;
@@ -36691,4 +36697,4 @@ declare namespace ixcSoftApi_types {
36691
36697
  export type { ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
36692
36698
  }
36693
36699
 
36694
- export { IXCSoftApiClient, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, ixcSoftApi_types as IXCSoftTypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger };
36700
+ export { IXCSoftApiClient, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, ixcSoftApi_types as IXCSoftTypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger, printSignature };
package/dist/index.d.ts CHANGED
@@ -14,6 +14,12 @@ type LoggerParams = {
14
14
  };
15
15
  declare function logger({ level, context, domain, message, }: LoggerParams): void;
16
16
 
17
+ declare function printSignature({ name_project, version, start_date, }: {
18
+ name_project: string;
19
+ version: string;
20
+ start_date?: string;
21
+ }): void;
22
+
17
23
  interface XmlNfseAttributes {
18
24
  id: number;
19
25
  idSaida: number;
@@ -36691,4 +36697,4 @@ declare namespace ixcSoftApi_types {
36691
36697
  export type { ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
36692
36698
  }
36693
36699
 
36694
- export { IXCSoftApiClient, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, ixcSoftApi_types as IXCSoftTypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger };
36700
+ export { IXCSoftApiClient, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, ixcSoftApi_types as IXCSoftTypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger, printSignature };
package/dist/index.js CHANGED
@@ -35,7 +35,8 @@ __export(index_exports, {
35
35
  IXCSoftTypes: () => ixc_soft_api_types_exports,
36
36
  OPASuiteMongoService: () => OPASuiteMongoService,
37
37
  ToolsMongoService: () => ToolsMongoService,
38
- logger: () => logger
38
+ logger: () => logger,
39
+ printSignature: () => printSignature
39
40
  });
40
41
  module.exports = __toCommonJS(index_exports);
41
42
 
@@ -101,6 +102,32 @@ function logger({
101
102
  console.log(log);
102
103
  }
103
104
 
105
+ // src/common/signature.ts
106
+ function printSignature({
107
+ name_project,
108
+ version,
109
+ start_date
110
+ }) {
111
+ const dateCreate = start_date ? `\x1B[97m(c) ${start_date}\x1B[96m` : `\x1B[97m(c)\x1B[96m`;
112
+ const assinatura = `
113
+ \u2584\u2584\xB7 \u2584\u2584\u2584 \u25AA .\u2584\u2584 \xB7 \u2584\u2584\u2584\u2584\u2584\u25AA \u2584\u2584\u2584\xB7 \u2590 \u2584 \u25AA .\u2584\u2584 \xB7 \u2584\u2584\u2584 \u2584\u2584\u2584\xB7 \u2584\u2584\u2584 .\u2584\u2584\u258C
114
+ \u2590\u2588 \u258C\u25AA\u2580\u2584 \u2588\xB7\u2588\u2588 \u2590\u2588 \u2580. \u2022\u2588\u2588 \u2588\u2588 \u2590\u2588 \u2580\u2588 \u2022\u2588\u258C\u2590\u2588 \u2588\u2588 \u2590\u2588 \u2580. \u2580\u2584 \u2588\xB7\u2590\u2588 \u2580\u2588 \u2580\u2584.\u2580\xB7\u2588\u2588\u2022 ${dateCreate}
115
+ \u2588\u2588 \u2584\u2584\u2590\u2580\u2580\u2584 \u2590\u2588\xB7\u2584\u2580\u2580\u2580\u2588\u2584 \u2590\u2588.\u25AA\u2590\u2588\xB7\u2584\u2588\u2580\u2580\u2588 \u2590\u2588\u2590\u2590\u258C \u2590\u2588\xB7\u2584\u2580\u2580\u2580\u2588\u2584\u2590\u2580\u2580\u2584 \u2584\u2588\u2580\u2580\u2588 \u2590\u2580\u2580\u25AA\u2584\u2588\u2588\u25AA
116
+ \u2590\u2588\u2588\u2588\u258C\u2590\u2588\u2022\u2588\u258C\u2590\u2588\u258C\u2590\u2588\u2584\u25AA\u2590\u2588 \u2590\u2588\u258C\xB7\u2590\u2588\u258C\u2590\u2588 \u25AA\u2590\u258C\u2588\u2588\u2590\u2588\u258C \u2590\u2588\u258C\u2590\u2588\u2584\u25AA\u2590\u2588\u2590\u2588\u2022\u2588\u258C\u2590\u2588 \u25AA\u2590\u258C\u2590\u2588\u2584\u2584\u258C\u2590\u2588\u258C\u2590\u258C \xA9 CRISTIAN ISRAEL
117
+ \xB7\u2580\u2580\u2580 .\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580 \u2580 \u2580\u2580 \u2588\u25AA \u2580\u2580\u2580 \u2580\u2580\u2580\u2580 .\u2580 \u2580 \u2580 \u2580 \u2580\u2580\u2580 .\u2580\u2580\u2580`;
118
+ console.clear();
119
+ console.log(
120
+ `\x1B[96m${assinatura}
121
+
122
+ \x1B[96m ${name_project}\x1B[0m - Vers\xE3o: \x1B[96m${version}\x1B[0m
123
+ `
124
+ );
125
+ console.log(
126
+ `\x1B[96m--------------------------------------------------------------------------------------------------
127
+ \x1B[0m`
128
+ );
129
+ }
130
+
104
131
  // src/databases/core/database.factory.ts
105
132
  function createConnectionFactory(factory) {
106
133
  let connection = null;
@@ -91144,5 +91171,6 @@ var ixc_soft_api_types_exports = {};
91144
91171
  IXCSoftTypes,
91145
91172
  OPASuiteMongoService,
91146
91173
  ToolsMongoService,
91147
- logger
91174
+ logger,
91175
+ printSignature
91148
91176
  });
package/dist/index.mjs CHANGED
@@ -60,6 +60,32 @@ function logger({
60
60
  console.log(log);
61
61
  }
62
62
 
63
+ // src/common/signature.ts
64
+ function printSignature({
65
+ name_project,
66
+ version,
67
+ start_date
68
+ }) {
69
+ const dateCreate = start_date ? `\x1B[97m(c) ${start_date}\x1B[96m` : `\x1B[97m(c)\x1B[96m`;
70
+ const assinatura = `
71
+ \u2584\u2584\xB7 \u2584\u2584\u2584 \u25AA .\u2584\u2584 \xB7 \u2584\u2584\u2584\u2584\u2584\u25AA \u2584\u2584\u2584\xB7 \u2590 \u2584 \u25AA .\u2584\u2584 \xB7 \u2584\u2584\u2584 \u2584\u2584\u2584\xB7 \u2584\u2584\u2584 .\u2584\u2584\u258C
72
+ \u2590\u2588 \u258C\u25AA\u2580\u2584 \u2588\xB7\u2588\u2588 \u2590\u2588 \u2580. \u2022\u2588\u2588 \u2588\u2588 \u2590\u2588 \u2580\u2588 \u2022\u2588\u258C\u2590\u2588 \u2588\u2588 \u2590\u2588 \u2580. \u2580\u2584 \u2588\xB7\u2590\u2588 \u2580\u2588 \u2580\u2584.\u2580\xB7\u2588\u2588\u2022 ${dateCreate}
73
+ \u2588\u2588 \u2584\u2584\u2590\u2580\u2580\u2584 \u2590\u2588\xB7\u2584\u2580\u2580\u2580\u2588\u2584 \u2590\u2588.\u25AA\u2590\u2588\xB7\u2584\u2588\u2580\u2580\u2588 \u2590\u2588\u2590\u2590\u258C \u2590\u2588\xB7\u2584\u2580\u2580\u2580\u2588\u2584\u2590\u2580\u2580\u2584 \u2584\u2588\u2580\u2580\u2588 \u2590\u2580\u2580\u25AA\u2584\u2588\u2588\u25AA
74
+ \u2590\u2588\u2588\u2588\u258C\u2590\u2588\u2022\u2588\u258C\u2590\u2588\u258C\u2590\u2588\u2584\u25AA\u2590\u2588 \u2590\u2588\u258C\xB7\u2590\u2588\u258C\u2590\u2588 \u25AA\u2590\u258C\u2588\u2588\u2590\u2588\u258C \u2590\u2588\u258C\u2590\u2588\u2584\u25AA\u2590\u2588\u2590\u2588\u2022\u2588\u258C\u2590\u2588 \u25AA\u2590\u258C\u2590\u2588\u2584\u2584\u258C\u2590\u2588\u258C\u2590\u258C \xA9 CRISTIAN ISRAEL
75
+ \xB7\u2580\u2580\u2580 .\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580 \u2580 \u2580\u2580 \u2588\u25AA \u2580\u2580\u2580 \u2580\u2580\u2580\u2580 .\u2580 \u2580 \u2580 \u2580 \u2580\u2580\u2580 .\u2580\u2580\u2580`;
76
+ console.clear();
77
+ console.log(
78
+ `\x1B[96m${assinatura}
79
+
80
+ \x1B[96m ${name_project}\x1B[0m - Vers\xE3o: \x1B[96m${version}\x1B[0m
81
+ `
82
+ );
83
+ console.log(
84
+ `\x1B[96m--------------------------------------------------------------------------------------------------
85
+ \x1B[0m`
86
+ );
87
+ }
88
+
63
89
  // src/databases/core/database.factory.ts
64
90
  function createConnectionFactory(factory) {
65
91
  let connection = null;
@@ -91102,5 +91128,6 @@ export {
91102
91128
  ixc_soft_api_types_exports as IXCSoftTypes,
91103
91129
  OPASuiteMongoService,
91104
91130
  ToolsMongoService,
91105
- logger
91131
+ logger,
91132
+ printSignature
91106
91133
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cristian-israel/giganet_lib_conecta",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "Database Connector Layer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",