@cargolift-cdi/types 0.1.23 → 0.1.24
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.
|
@@ -8,11 +8,12 @@ export declare class DiagnosticLatencyRepositoryService {
|
|
|
8
8
|
private readonly repo;
|
|
9
9
|
constructor(repo: Repository<DiagnosticLatency>);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
11
|
+
* Cria um novo registro de latência.
|
|
12
|
+
* @param id
|
|
13
|
+
* @param correlation_id
|
|
14
|
+
* @param timestamp_start
|
|
15
|
+
* @returns
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
create(id: string, correlation_id: string, timestamp_start: Date): Promise<DiagnosticLatency>;
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=diagnostic-latency-repository.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostic-latency-repository.service.d.ts","sourceRoot":"","sources":["../../../src/db/repository/diagnostic-latency-repository.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAE7E;;;GAGG;AACH,qBACa,kCAAkC;IAG3C,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU,CAAC,iBAAiB,CAAC;IAGtD
|
|
1
|
+
{"version":3,"file":"diagnostic-latency-repository.service.d.ts","sourceRoot":"","sources":["../../../src/db/repository/diagnostic-latency-repository.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAE7E;;;GAGG;AACH,qBACa,kCAAkC;IAG3C,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU,CAAC,iBAAiB,CAAC;IAGtD;;;;;;OAMG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAiBpG"}
|
|
@@ -20,12 +20,13 @@ let DiagnosticLatencyRepositoryService = class DiagnosticLatencyRepositoryServic
|
|
|
20
20
|
this.repo = repo;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @param
|
|
26
|
-
* @param
|
|
23
|
+
* Cria um novo registro de latência.
|
|
24
|
+
* @param id
|
|
25
|
+
* @param correlation_id
|
|
26
|
+
* @param timestamp_start
|
|
27
|
+
* @returns
|
|
27
28
|
*/
|
|
28
|
-
async
|
|
29
|
+
async create(id, correlation_id, timestamp_start) {
|
|
29
30
|
const now = new Date();
|
|
30
31
|
const entity = this.repo.create({
|
|
31
32
|
id,
|