@zetra/citrineos-reporting 1.8.3-fork.2 → 1.8.3-fork.20
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/module/1.6/MessageApi.d.ts +2 -2
- package/dist/module/1.6/MessageApi.js +1 -1
- package/dist/module/2.0.1/MessageApi.d.ts +2 -2
- package/dist/module/2.0.1/MessageApi.js +2 -2
- package/dist/module/module.d.ts +3 -3
- package/dist/module/module.js +3 -3
- package/dist/module/services.d.ts +1 -1
- package/dist/module/services.js +2 -2
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ILogObj } from 'tslog';
|
|
2
2
|
import { Logger } from 'tslog';
|
|
3
|
-
import type { CallAction, IMessageConfirmation } from '@citrineos
|
|
4
|
-
import { AbstractModuleApi, OCPP1_6 } from '@citrineos
|
|
3
|
+
import type { CallAction, IMessageConfirmation } from '@zetra/citrineos-base';
|
|
4
|
+
import { AbstractModuleApi, OCPP1_6 } from '@zetra/citrineos-base';
|
|
5
5
|
import type { FastifyInstance } from 'fastify';
|
|
6
6
|
import type { IReportingModuleApi } from '../interface.js';
|
|
7
7
|
import { ReportingModule } from '../module.js';
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
12
12
|
};
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
|
-
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP1_6, OCPP1_6_CallAction, OCPPVersion, } from '@citrineos
|
|
14
|
+
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP1_6, OCPP1_6_CallAction, OCPPVersion, } from '@zetra/citrineos-base';
|
|
15
15
|
import { ReportingModule } from '../module.js';
|
|
16
16
|
/**
|
|
17
17
|
* Server API for the Reporting module (OCPP 1.6).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ILogObj } from 'tslog';
|
|
2
2
|
import { Logger } from 'tslog';
|
|
3
|
-
import type { CallAction, IMessageConfirmation } from '@citrineos
|
|
4
|
-
import { AbstractModuleApi, OCPP2_0_1 } from '@citrineos
|
|
3
|
+
import type { CallAction, IMessageConfirmation } from '@zetra/citrineos-base';
|
|
4
|
+
import { AbstractModuleApi, OCPP2_0_1 } from '@zetra/citrineos-base';
|
|
5
5
|
import type { FastifyInstance } from 'fastify';
|
|
6
6
|
import type { IReportingModuleApi } from '../interface.js';
|
|
7
7
|
import { ReportingModule } from '../module.js';
|
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
12
12
|
};
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
|
-
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP2_0_1, OCPP2_0_1_CallAction, OCPPVersion, } from '@citrineos
|
|
14
|
+
import { AbstractModuleApi, AsMessageEndpoint, DEFAULT_TENANT_ID, OCPP2_0_1, OCPP2_0_1_CallAction, OCPPVersion, } from '@zetra/citrineos-base';
|
|
15
15
|
import { ReportingModule } from '../module.js';
|
|
16
|
-
import { getBatches, getSizeOfRequest } from '@citrineos
|
|
16
|
+
import { getBatches, getSizeOfRequest } from '@zetra/citrineos-util';
|
|
17
17
|
/**
|
|
18
18
|
* Server API for the Reporting module.
|
|
19
19
|
*/
|
package/dist/module/module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BootstrapConfig, CallAction, HandlerProperties, ICache, IMessage, IMessageHandler, IMessageSender, SystemConfig } from '@citrineos
|
|
2
|
-
import { AbstractModule, OCPP1_6, OCPP2_0_1, OCPPValidator } from '@citrineos
|
|
3
|
-
import type { IDeviceModelRepository, IOCPPMessageRepository, ISecurityEventRepository, IVariableMonitoringRepository } from '@citrineos
|
|
1
|
+
import type { BootstrapConfig, CallAction, HandlerProperties, ICache, IMessage, IMessageHandler, IMessageSender, SystemConfig } from '@zetra/citrineos-base';
|
|
2
|
+
import { AbstractModule, OCPP1_6, OCPP2_0_1, OCPPValidator } from '@zetra/citrineos-base';
|
|
3
|
+
import type { IDeviceModelRepository, IOCPPMessageRepository, ISecurityEventRepository, IVariableMonitoringRepository } from '@zetra/citrineos-data';
|
|
4
4
|
import type { ILogObj } from 'tslog';
|
|
5
5
|
import { Logger } from 'tslog';
|
|
6
6
|
import { DeviceModelService } from './services.js';
|
package/dist/module/module.js
CHANGED
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { AbstractModule, AsHandler, ErrorCode, EventGroup, Namespace, OCPP1_6, OCPP1_6_CallAction, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, } from '@citrineos
|
|
11
|
-
import { Component, sequelize, Variable } from '@citrineos
|
|
12
|
-
import { RabbitMqReceiver, RabbitMqSender } from '@citrineos
|
|
10
|
+
import { AbstractModule, AsHandler, ErrorCode, EventGroup, Namespace, OCPP1_6, OCPP1_6_CallAction, OCPP2_0_1, OCPP2_0_1_CallAction, OcppError, OCPPValidator, OCPPVersion, } from '@zetra/citrineos-base';
|
|
11
|
+
import { Component, sequelize, Variable } from '@zetra/citrineos-data';
|
|
12
|
+
import { RabbitMqReceiver, RabbitMqSender } from '@zetra/citrineos-util';
|
|
13
13
|
import { Logger } from 'tslog';
|
|
14
14
|
import { DeviceModelService } from './services.js';
|
|
15
15
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IDeviceModelRepository } from '@citrineos
|
|
1
|
+
import type { IDeviceModelRepository } from '@zetra/citrineos-data';
|
|
2
2
|
export declare class DeviceModelService {
|
|
3
3
|
protected _deviceModelRepository: IDeviceModelRepository;
|
|
4
4
|
constructor(deviceModelRepository: IDeviceModelRepository);
|
package/dist/module/services.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariableAttribute } from '@citrineos
|
|
2
|
-
import { OCPP2_0_1 } from '@citrineos
|
|
1
|
+
import { VariableAttribute } from '@zetra/citrineos-data';
|
|
2
|
+
import { OCPP2_0_1 } from '@zetra/citrineos-base';
|
|
3
3
|
export class DeviceModelService {
|
|
4
4
|
_deviceModelRepository;
|
|
5
5
|
constructor(deviceModelRepository) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zetra/citrineos-reporting",
|
|
3
|
-
"version": "1.8.3-fork.
|
|
3
|
+
"version": "1.8.3-fork.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The reporting module for OCPP v2.0.1. This module is not intended to be used directly, but rather as a dependency for other modules.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@zetra/citrineos-base": "1.8.3-fork.
|
|
22
|
-
"@zetra/citrineos-data": "1.8.3-fork.
|
|
23
|
-
"@zetra/citrineos-util": "1.8.3-fork.
|
|
21
|
+
"@zetra/citrineos-base": "1.8.3-fork.20",
|
|
22
|
+
"@zetra/citrineos-data": "1.8.3-fork.20",
|
|
23
|
+
"@zetra/citrineos-util": "1.8.3-fork.20"
|
|
24
24
|
}
|
|
25
25
|
}
|