@golemio/fypr 1.12.0 → 2.0.0-dev.2868130045
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/README.md +11 -0
- package/dist/helpers/errors/ErrorHelper.d.ts +2 -2
- package/dist/helpers/errors/ErrorHelper.js +4 -7
- package/dist/helpers/errors/ErrorHelper.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -39
- package/dist/index.js.map +1 -1
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.d.ts +2 -2
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js +7 -10
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js +10 -13
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js +10 -13
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js +10 -13
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js +10 -13
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js +10 -13
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.js +13 -15
- package/dist/integration-engine/data-sources/DCIPStatusOverviewDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.d.ts +3 -3
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js +12 -15
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/helpers/StrapiPaginationHelper.js +5 -8
- package/dist/integration-engine/helpers/StrapiPaginationHelper.js.map +1 -1
- package/dist/integration-engine/index.d.ts +1 -1
- package/dist/integration-engine/index.js +2 -5
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/ioc/Di.js +63 -66
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/ioc/FYPRIEContainerTokens.js +1 -4
- package/dist/integration-engine/ioc/FYPRIEContainerTokens.js.map +1 -1
- package/dist/integration-engine/repositories/AbstractFyprRepository.d.ts +7 -7
- package/dist/integration-engine/repositories/AbstractFyprRepository.js +11 -13
- package/dist/integration-engine/repositories/AbstractFyprRepository.js.map +1 -1
- package/dist/integration-engine/repositories/DeviceStatusRepository.d.ts +7 -7
- package/dist/integration-engine/repositories/DeviceStatusRepository.js +22 -23
- package/dist/integration-engine/repositories/DeviceStatusRepository.js.map +1 -1
- package/dist/integration-engine/repositories/DisplayCaseRepository.d.ts +8 -8
- package/dist/integration-engine/repositories/DisplayCaseRepository.js +17 -19
- package/dist/integration-engine/repositories/DisplayCaseRepository.js.map +1 -1
- package/dist/integration-engine/repositories/InformationPanelPresetsRepository.d.ts +6 -6
- package/dist/integration-engine/repositories/InformationPanelPresetsRepository.js +28 -28
- package/dist/integration-engine/repositories/InformationPanelPresetsRepository.js.map +1 -1
- package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.d.ts +6 -6
- package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.js +24 -24
- package/dist/integration-engine/repositories/InformationPanelPresetsRoutesRepository.js.map +1 -1
- package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.d.ts +6 -6
- package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.js +24 -24
- package/dist/integration-engine/repositories/InformationPanelPresetsStopsRepository.js.map +1 -1
- package/dist/integration-engine/repositories/InformationPanelRepository.d.ts +8 -8
- package/dist/integration-engine/repositories/InformationPanelRepository.js +17 -19
- package/dist/integration-engine/repositories/InformationPanelRepository.js.map +1 -1
- package/dist/integration-engine/repositories/ObeliskRepository.d.ts +8 -8
- package/dist/integration-engine/repositories/ObeliskRepository.js +17 -19
- package/dist/integration-engine/repositories/ObeliskRepository.js.map +1 -1
- package/dist/integration-engine/repositories/SignpostRepository.d.ts +8 -8
- package/dist/integration-engine/repositories/SignpostRepository.js +17 -19
- package/dist/integration-engine/repositories/SignpostRepository.js.map +1 -1
- package/dist/integration-engine/repositories/TotemRepository.d.ts +8 -8
- package/dist/integration-engine/repositories/TotemRepository.js +17 -19
- package/dist/integration-engine/repositories/TotemRepository.js.map +1 -1
- package/dist/integration-engine/transformations/AbstractElementTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/AbstractElementTransformation.js +2 -6
- package/dist/integration-engine/transformations/AbstractElementTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/DisplayCasesTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/DisplayCasesTransformation.js +6 -9
- package/dist/integration-engine/transformations/DisplayCasesTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/InformationPanelsTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/InformationPanelsTransformation.js +6 -9
- package/dist/integration-engine/transformations/InformationPanelsTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/ObelisksTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/ObelisksTransformation.js +6 -9
- package/dist/integration-engine/transformations/ObelisksTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/SignpostsTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/SignpostsTransformation.js +6 -9
- package/dist/integration-engine/transformations/SignpostsTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/TotemsTransformation.d.ts +3 -3
- package/dist/integration-engine/transformations/TotemsTransformation.js +6 -9
- package/dist/integration-engine/transformations/TotemsTransformation.js.map +1 -1
- package/dist/integration-engine/workers/FYPRWorker.d.ts +2 -2
- package/dist/integration-engine/workers/FYPRWorker.js +14 -18
- package/dist/integration-engine/workers/FYPRWorker.js.map +1 -1
- package/dist/integration-engine/workers/constants.js +1 -4
- package/dist/integration-engine/workers/constants.js.map +1 -1
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.d.ts +5 -5
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js +8 -11
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js +31 -33
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.d.ts +3 -3
- package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.js +18 -20
- package/dist/integration-engine/workers/tasks/FetchDCIPStatusTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js +17 -19
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js +17 -19
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js +17 -19
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdatePresetsTask.d.ts +5 -5
- package/dist/integration-engine/workers/tasks/UpdatePresetsTask.js +29 -30
- package/dist/integration-engine/workers/tasks/UpdatePresetsTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js +17 -19
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.d.ts +7 -7
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js +17 -19
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js.map +1 -1
- package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.d.ts +6 -6
- package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js +25 -25
- package/dist/output-gateway/fypr/controllers/v1/V1FyprElementKindsController.js.map +1 -1
- package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.d.ts +1 -1
- package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.js +11 -14
- package/dist/output-gateway/fypr/controllers/v1/V1FyprMetadataController.js.map +1 -1
- package/dist/output-gateway/fypr/data-access/FyprElementRepository.d.ts +5 -5
- package/dist/output-gateway/fypr/data-access/FyprElementRepository.js +9 -12
- package/dist/output-gateway/fypr/data-access/FyprElementRepository.js.map +1 -1
- package/dist/output-gateway/fypr/routers/index.d.ts +2 -2
- package/dist/output-gateway/fypr/routers/index.js +2 -7
- package/dist/output-gateway/fypr/routers/index.js.map +1 -1
- package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.d.ts +3 -3
- package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.js +1 -4
- package/dist/output-gateway/fypr/routers/middlewares/cacheMiddleware.js.map +1 -1
- package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.d.ts +3 -3
- package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js +41 -43
- package/dist/output-gateway/fypr/routers/v1/V1FyprElementKindsRouter.js.map +1 -1
- package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.d.ts +3 -3
- package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.js +15 -18
- package/dist/output-gateway/fypr/routers/v1/V1FyprMetadataRouter.js.map +1 -1
- package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.d.ts +1 -1
- package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.js +1 -5
- package/dist/output-gateway/fypr/routers/v1/validators/InformationPanelsOnlyValidator.js.map +1 -1
- package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.d.ts +3 -3
- package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.js +9 -12
- package/dist/output-gateway/fypr/transformations/InformationPanelOutputTransformation.js.map +1 -1
- package/dist/output-gateway/index.d.ts +1 -1
- package/dist/output-gateway/index.js +2 -5
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/interfaces/IOGInformationPanel.d.ts +2 -2
- package/dist/output-gateway/interfaces/IOGInformationPanel.js +1 -2
- package/dist/output-gateway/interfaces/IOGInformationPanelScopes.d.ts +2 -2
- package/dist/output-gateway/interfaces/IOGInformationPanelScopes.js +1 -2
- package/dist/output-gateway/ioc/Di.d.ts +1 -1
- package/dist/output-gateway/ioc/Di.js +20 -23
- package/dist/output-gateway/ioc/Di.js.map +1 -1
- package/dist/output-gateway/ioc/FYPROGContainerTokens.js +1 -4
- package/dist/output-gateway/ioc/FYPROGContainerTokens.js.map +1 -1
- package/dist/output-gateway/shared/constants/element-kinds.d.ts +2 -1
- package/dist/output-gateway/shared/constants/element-kinds.js +1 -5
- package/dist/output-gateway/shared/constants/element-kinds.js.map +1 -1
- package/dist/output-gateway/shared/constants/index.d.ts +1 -1
- package/dist/output-gateway/shared/constants/index.js +1 -17
- package/dist/output-gateway/shared/constants/index.js.map +1 -1
- package/dist/schema-definitions/FyprElementTypes.d.ts +5 -5
- package/dist/schema-definitions/FyprElementTypes.js +1 -2
- package/dist/schema-definitions/const.js +11 -14
- package/dist/schema-definitions/const.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js +22 -25
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js +15 -18
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js +83 -86
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js +17 -20
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js +19 -22
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js +55 -58
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.js +3 -6
- package/dist/schema-definitions/data-sources/DCIPStatusOverviewJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.d.ts +2 -2
- package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.js +1 -4
- package/dist/schema-definitions/data-sources/GolemioPresetsJSONSchema.js.map +1 -1
- package/dist/schema-definitions/data-sources/index.js +11 -14
- package/dist/schema-definitions/data-sources/index.js.map +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IDCIPStatusOverview.d.ts +1 -1
- package/dist/schema-definitions/data-sources/interfaces/IDCIPStatusOverview.js +1 -2
- package/dist/schema-definitions/data-sources/interfaces/IGolemioPresetsResponse.js +1 -2
- package/dist/schema-definitions/index.d.ts +4 -3
- package/dist/schema-definitions/index.js +29 -33
- package/dist/schema-definitions/index.js.map +1 -1
- package/dist/schema-definitions/models/AbstractElementModel.d.ts +6 -3
- package/dist/schema-definitions/models/AbstractElementModel.js +39 -42
- package/dist/schema-definitions/models/AbstractElementModel.js.map +1 -1
- package/dist/schema-definitions/models/DeviceStatusModel.d.ts +5 -2
- package/dist/schema-definitions/models/DeviceStatusModel.js +7 -10
- package/dist/schema-definitions/models/DeviceStatusModel.js.map +1 -1
- package/dist/schema-definitions/models/DisplayCaseModel.d.ts +4 -4
- package/dist/schema-definitions/models/DisplayCaseModel.js +46 -49
- package/dist/schema-definitions/models/DisplayCaseModel.js.map +1 -1
- package/dist/schema-definitions/models/InformationPanelModel.d.ts +4 -4
- package/dist/schema-definitions/models/InformationPanelModel.js +177 -180
- package/dist/schema-definitions/models/InformationPanelModel.js.map +1 -1
- package/dist/schema-definitions/models/InformationPanelPresetsModel.d.ts +6 -3
- package/dist/schema-definitions/models/InformationPanelPresetsModel.js +13 -16
- package/dist/schema-definitions/models/InformationPanelPresetsModel.js.map +1 -1
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.d.ts +5 -2
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.js +8 -11
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesAggModel.js.map +1 -1
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.d.ts +6 -3
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.js +10 -13
- package/dist/schema-definitions/models/InformationPanelPresetsRoutesModel.js.map +1 -1
- package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.d.ts +6 -3
- package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.js +7 -10
- package/dist/schema-definitions/models/InformationPanelPresetsStopsModel.js.map +1 -1
- package/dist/schema-definitions/models/ObeliskModel.d.ts +4 -4
- package/dist/schema-definitions/models/ObeliskModel.js +36 -39
- package/dist/schema-definitions/models/ObeliskModel.js.map +1 -1
- package/dist/schema-definitions/models/SignpostModel.d.ts +4 -4
- package/dist/schema-definitions/models/SignpostModel.js +40 -43
- package/dist/schema-definitions/models/SignpostModel.js.map +1 -1
- package/dist/schema-definitions/models/TotemModel.d.ts +4 -4
- package/dist/schema-definitions/models/TotemModel.js +110 -113
- package/dist/schema-definitions/models/TotemModel.js.map +1 -1
- package/dist/schema-definitions/models/interfaces/IDeviceStatus.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/IDeviceStatus.js +1 -2
- package/dist/schema-definitions/models/interfaces/IDisplayCase.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/IDisplayCase.js +1 -2
- package/dist/schema-definitions/models/interfaces/IElement.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/IElement.js +1 -2
- package/dist/schema-definitions/models/interfaces/IInformationPanel.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/IInformationPanel.js +1 -2
- package/dist/schema-definitions/models/interfaces/IInformationPanelPreset.js +1 -2
- package/dist/schema-definitions/models/interfaces/IInformationPanelPresetRoute.js +1 -2
- package/dist/schema-definitions/models/interfaces/IInformationPanelPresetStop.js +1 -2
- package/dist/schema-definitions/models/interfaces/IObelisk.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/IObelisk.js +1 -2
- package/dist/schema-definitions/models/interfaces/IPresetRouteAgg.js +1 -2
- package/dist/schema-definitions/models/interfaces/ISignpost.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/ISignpost.js +1 -2
- package/dist/schema-definitions/models/interfaces/ITotem.d.ts +1 -1
- package/dist/schema-definitions/models/interfaces/ITotem.js +1 -2
- package/dist/schema-definitions/models/interfaces/fyprElementStates.js +1 -4
- package/dist/schema-definitions/models/interfaces/fyprElementStates.js.map +1 -1
- package/dist/schema-definitions/translation/index.d.ts +1 -1
- package/dist/schema-definitions/translation/index.js +13 -19
- package/dist/schema-definitions/translation/index.js.map +1 -1
- package/package.json +42 -15
|
@@ -1,199 +1,196 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const AbstractElementModel_1 = require("./AbstractElementModel");
|
|
7
|
-
class InformationPanelModel extends AbstractElementModel_1.AbstractElementModel {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes } = Sequelize;
|
|
3
|
+
import { nullableBoolean, nullableDateString, nullableNumber, nullableString, nullableStringArray } from "#sch/const";
|
|
4
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
5
|
+
export class InformationPanelModel extends AbstractElementModel {
|
|
8
6
|
}
|
|
9
|
-
exports.InformationPanelModel = InformationPanelModel;
|
|
10
7
|
InformationPanelModel.tableName = "information_panels";
|
|
11
8
|
InformationPanelModel.attributeModel = {
|
|
12
|
-
...
|
|
13
|
-
stop_name: { type:
|
|
14
|
-
stop_direction: { type:
|
|
15
|
-
platform_code: { type:
|
|
16
|
-
stop_type: { type:
|
|
17
|
-
thmp_stop_id: { type:
|
|
18
|
-
land_parcel_number: { type:
|
|
19
|
-
land_owner: { type:
|
|
20
|
-
workday_boarding_count: { type:
|
|
21
|
-
lines: { type:
|
|
22
|
-
location_description: { type:
|
|
23
|
-
location_verification_on_street_light: { type:
|
|
24
|
-
shelter_type: { type:
|
|
25
|
-
shelter_id: { type:
|
|
26
|
-
street_light_number: { type:
|
|
27
|
-
surface_type: { type:
|
|
28
|
-
connection_state: { type:
|
|
29
|
-
connection_type: { type:
|
|
30
|
-
connection_mode: { type:
|
|
31
|
-
priority: { type:
|
|
32
|
-
investor_action: { type:
|
|
33
|
-
design_request: { type:
|
|
34
|
-
design_state: { type:
|
|
35
|
-
design_order_number: { type:
|
|
36
|
-
design_registry_publication: { type:
|
|
37
|
-
design_invoice_paid: { type:
|
|
38
|
-
production_order_number: { type:
|
|
39
|
-
production_state: { type:
|
|
40
|
-
production_registry_publication: { type:
|
|
41
|
-
production_invoice_paid: { type:
|
|
42
|
-
realization_request: { type:
|
|
43
|
-
realization_state: { type:
|
|
44
|
-
realization_order_number: { type:
|
|
45
|
-
realization_registry_publication: { type:
|
|
46
|
-
realization_invoice_paid: { type:
|
|
47
|
-
name_for_visually_impaired: { type:
|
|
48
|
-
voice_day: { type:
|
|
49
|
-
voice_night: { type:
|
|
50
|
-
templates: { type:
|
|
51
|
-
preset: { type:
|
|
52
|
-
data_source: { type:
|
|
53
|
-
imsi: { type:
|
|
54
|
-
connection_point: { type:
|
|
55
|
-
connection_point_number: { type:
|
|
56
|
-
foundation_type: { type:
|
|
57
|
-
warranty_end: { type:
|
|
58
|
-
initial_revision: { type:
|
|
59
|
-
next_revision: { type:
|
|
60
|
-
electronics_service: { type:
|
|
61
|
-
electronics_service_end: { type:
|
|
62
|
-
asset_registered: { type:
|
|
63
|
-
asset_number: { type:
|
|
64
|
-
insurance: { type:
|
|
65
|
-
handed_over_to_ozp: { type:
|
|
66
|
-
dpp_documentation_request: { type:
|
|
67
|
-
dpp_documentation_handover_date: { type:
|
|
68
|
-
design_deadline: { type:
|
|
69
|
-
production_deadline: { type:
|
|
70
|
-
ropid_documentation_submitted: { type:
|
|
71
|
-
ropid_documentation_handover_date: { type:
|
|
72
|
-
dpp_documentation_submitted: { type:
|
|
73
|
-
realization_deadline: { type:
|
|
74
|
-
device_id: { type:
|
|
75
|
-
asw_node_id: { type:
|
|
76
|
-
asw_stop_id: { type:
|
|
77
|
-
power_consumption_watt: { type:
|
|
78
|
-
thmp_element_number: { type:
|
|
79
|
-
electricity_supply_contract: { type:
|
|
80
|
-
cleaning_frequency: { type:
|
|
81
|
-
electricity_consumption_price: { type:
|
|
82
|
-
construction_type: { type:
|
|
83
|
-
panel_size: { type:
|
|
84
|
-
design_price_without_vat: { type:
|
|
85
|
-
production_price_without_vat: { type:
|
|
86
|
-
realization_price_without_vat: { type:
|
|
87
|
-
serial_number: { type:
|
|
88
|
-
producer: { type:
|
|
89
|
-
supplier: { type:
|
|
90
|
-
producer_contact_person: { type:
|
|
91
|
-
panel_technology: { type:
|
|
92
|
-
panel_model: { type:
|
|
93
|
-
owner_contact: { type:
|
|
94
|
-
connectivity_internet: { type:
|
|
95
|
-
phone_number: { type:
|
|
96
|
-
jis_graphic: { type:
|
|
97
|
-
supported_functions: { type:
|
|
9
|
+
...AbstractElementModel.elementAttributeModel,
|
|
10
|
+
stop_name: { type: DataTypes.STRING(255) },
|
|
11
|
+
stop_direction: { type: DataTypes.STRING(255) },
|
|
12
|
+
platform_code: { type: DataTypes.STRING(255) },
|
|
13
|
+
stop_type: { type: DataTypes.JSONB },
|
|
14
|
+
thmp_stop_id: { type: DataTypes.STRING(255) },
|
|
15
|
+
land_parcel_number: { type: DataTypes.STRING(255) },
|
|
16
|
+
land_owner: { type: DataTypes.STRING(255) },
|
|
17
|
+
workday_boarding_count: { type: DataTypes.INTEGER },
|
|
18
|
+
lines: { type: DataTypes.STRING(255) },
|
|
19
|
+
location_description: { type: DataTypes.STRING(255) },
|
|
20
|
+
location_verification_on_street_light: { type: DataTypes.STRING(255) },
|
|
21
|
+
shelter_type: { type: DataTypes.STRING(255) },
|
|
22
|
+
shelter_id: { type: DataTypes.STRING(255) },
|
|
23
|
+
street_light_number: { type: DataTypes.STRING(255) },
|
|
24
|
+
surface_type: { type: DataTypes.STRING(255) },
|
|
25
|
+
connection_state: { type: DataTypes.STRING(255) },
|
|
26
|
+
connection_type: { type: DataTypes.STRING(255) },
|
|
27
|
+
connection_mode: { type: DataTypes.STRING(255) },
|
|
28
|
+
priority: { type: DataTypes.STRING(255) },
|
|
29
|
+
investor_action: { type: DataTypes.STRING(255) },
|
|
30
|
+
design_request: { type: DataTypes.STRING(255) },
|
|
31
|
+
design_state: { type: DataTypes.STRING(255) },
|
|
32
|
+
design_order_number: { type: DataTypes.STRING(255) },
|
|
33
|
+
design_registry_publication: { type: DataTypes.STRING(255) },
|
|
34
|
+
design_invoice_paid: { type: DataTypes.STRING(255) },
|
|
35
|
+
production_order_number: { type: DataTypes.STRING(255) },
|
|
36
|
+
production_state: { type: DataTypes.STRING(255) },
|
|
37
|
+
production_registry_publication: { type: DataTypes.STRING(255) },
|
|
38
|
+
production_invoice_paid: { type: DataTypes.STRING(255) },
|
|
39
|
+
realization_request: { type: DataTypes.BOOLEAN },
|
|
40
|
+
realization_state: { type: DataTypes.STRING(255) },
|
|
41
|
+
realization_order_number: { type: DataTypes.STRING(255) },
|
|
42
|
+
realization_registry_publication: { type: DataTypes.STRING(255) },
|
|
43
|
+
realization_invoice_paid: { type: DataTypes.STRING(255) },
|
|
44
|
+
name_for_visually_impaired: { type: DataTypes.STRING(255) },
|
|
45
|
+
voice_day: { type: DataTypes.STRING(255) },
|
|
46
|
+
voice_night: { type: DataTypes.STRING(255) },
|
|
47
|
+
templates: { type: DataTypes.STRING(255) },
|
|
48
|
+
preset: { type: DataTypes.STRING(255) },
|
|
49
|
+
data_source: { type: DataTypes.STRING(255) },
|
|
50
|
+
imsi: { type: DataTypes.STRING(255) },
|
|
51
|
+
connection_point: { type: DataTypes.STRING(255) },
|
|
52
|
+
connection_point_number: { type: DataTypes.STRING(255) },
|
|
53
|
+
foundation_type: { type: DataTypes.STRING(255) },
|
|
54
|
+
warranty_end: { type: DataTypes.DATEONLY },
|
|
55
|
+
initial_revision: { type: DataTypes.DATEONLY },
|
|
56
|
+
next_revision: { type: DataTypes.DATEONLY },
|
|
57
|
+
electronics_service: { type: DataTypes.BOOLEAN },
|
|
58
|
+
electronics_service_end: { type: DataTypes.DATEONLY },
|
|
59
|
+
asset_registered: { type: DataTypes.BOOLEAN },
|
|
60
|
+
asset_number: { type: DataTypes.STRING(255) },
|
|
61
|
+
insurance: { type: DataTypes.BOOLEAN },
|
|
62
|
+
handed_over_to_ozp: { type: DataTypes.BOOLEAN },
|
|
63
|
+
dpp_documentation_request: { type: DataTypes.BOOLEAN },
|
|
64
|
+
dpp_documentation_handover_date: { type: DataTypes.DATEONLY },
|
|
65
|
+
design_deadline: { type: DataTypes.DATEONLY },
|
|
66
|
+
production_deadline: { type: DataTypes.DATEONLY },
|
|
67
|
+
ropid_documentation_submitted: { type: DataTypes.JSONB },
|
|
68
|
+
ropid_documentation_handover_date: { type: DataTypes.DATEONLY },
|
|
69
|
+
dpp_documentation_submitted: { type: DataTypes.JSONB },
|
|
70
|
+
realization_deadline: { type: DataTypes.DATEONLY },
|
|
71
|
+
device_id: { type: DataTypes.STRING(255) },
|
|
72
|
+
asw_node_id: { type: DataTypes.STRING(255) },
|
|
73
|
+
asw_stop_id: { type: DataTypes.STRING(255) },
|
|
74
|
+
power_consumption_watt: { type: DataTypes.DECIMAL(10, 2) },
|
|
75
|
+
thmp_element_number: { type: DataTypes.STRING(255) },
|
|
76
|
+
electricity_supply_contract: { type: DataTypes.STRING(255) },
|
|
77
|
+
cleaning_frequency: { type: DataTypes.STRING(255) },
|
|
78
|
+
electricity_consumption_price: { type: DataTypes.DECIMAL(10, 2) },
|
|
79
|
+
construction_type: { type: DataTypes.STRING(255) },
|
|
80
|
+
panel_size: { type: DataTypes.STRING(255) },
|
|
81
|
+
design_price_without_vat: { type: DataTypes.INTEGER },
|
|
82
|
+
production_price_without_vat: { type: DataTypes.INTEGER },
|
|
83
|
+
realization_price_without_vat: { type: DataTypes.INTEGER },
|
|
84
|
+
serial_number: { type: DataTypes.STRING(255) },
|
|
85
|
+
producer: { type: DataTypes.STRING(255) },
|
|
86
|
+
supplier: { type: DataTypes.STRING(255) },
|
|
87
|
+
producer_contact_person: { type: DataTypes.STRING(255) },
|
|
88
|
+
panel_technology: { type: DataTypes.STRING(255) },
|
|
89
|
+
panel_model: { type: DataTypes.STRING(255) },
|
|
90
|
+
owner_contact: { type: DataTypes.STRING(255) },
|
|
91
|
+
connectivity_internet: { type: DataTypes.STRING(255) },
|
|
92
|
+
phone_number: { type: DataTypes.STRING(255) },
|
|
93
|
+
jis_graphic: { type: DataTypes.BOOLEAN },
|
|
94
|
+
supported_functions: { type: DataTypes.JSONB },
|
|
98
95
|
};
|
|
99
96
|
InformationPanelModel.jsonSchema = {
|
|
100
97
|
type: "array",
|
|
101
98
|
items: {
|
|
102
99
|
type: "object",
|
|
103
100
|
properties: {
|
|
104
|
-
...
|
|
105
|
-
stop_name:
|
|
106
|
-
stop_direction:
|
|
107
|
-
platform_code:
|
|
108
|
-
stop_type:
|
|
109
|
-
thmp_stop_id:
|
|
110
|
-
land_parcel_number:
|
|
111
|
-
land_owner:
|
|
112
|
-
workday_boarding_count:
|
|
113
|
-
lines:
|
|
114
|
-
location_description:
|
|
115
|
-
location_verification_on_street_light:
|
|
116
|
-
shelter_type:
|
|
117
|
-
shelter_id:
|
|
118
|
-
street_light_number:
|
|
119
|
-
surface_type:
|
|
120
|
-
connection_state:
|
|
121
|
-
connection_type:
|
|
122
|
-
connection_mode:
|
|
123
|
-
priority:
|
|
124
|
-
investor_action:
|
|
125
|
-
design_request:
|
|
126
|
-
design_state:
|
|
127
|
-
design_order_number:
|
|
128
|
-
design_registry_publication:
|
|
129
|
-
design_invoice_paid:
|
|
130
|
-
production_order_number:
|
|
131
|
-
production_state:
|
|
132
|
-
production_registry_publication:
|
|
133
|
-
production_invoice_paid:
|
|
134
|
-
realization_request:
|
|
135
|
-
realization_state:
|
|
136
|
-
realization_order_number:
|
|
137
|
-
realization_registry_publication:
|
|
138
|
-
realization_invoice_paid:
|
|
139
|
-
name_for_visually_impaired:
|
|
140
|
-
voice_day:
|
|
141
|
-
voice_night:
|
|
142
|
-
templates:
|
|
143
|
-
preset:
|
|
144
|
-
data_source:
|
|
145
|
-
imsi:
|
|
146
|
-
connection_point:
|
|
147
|
-
connection_point_number:
|
|
148
|
-
foundation_type:
|
|
149
|
-
warranty_end:
|
|
150
|
-
initial_revision:
|
|
151
|
-
next_revision:
|
|
152
|
-
electronics_service:
|
|
153
|
-
electronics_service_end:
|
|
154
|
-
asset_registered:
|
|
155
|
-
asset_number:
|
|
156
|
-
insurance:
|
|
157
|
-
handed_over_to_ozp:
|
|
158
|
-
dpp_documentation_request:
|
|
159
|
-
dpp_documentation_handover_date:
|
|
160
|
-
design_deadline:
|
|
161
|
-
production_deadline:
|
|
162
|
-
ropid_documentation_submitted:
|
|
163
|
-
ropid_documentation_handover_date:
|
|
164
|
-
dpp_documentation_submitted:
|
|
165
|
-
realization_deadline:
|
|
166
|
-
device_id:
|
|
167
|
-
asw_node_id:
|
|
168
|
-
asw_stop_id:
|
|
169
|
-
power_consumption_watt:
|
|
170
|
-
thmp_element_number:
|
|
171
|
-
electricity_supply_contract:
|
|
172
|
-
cleaning_frequency:
|
|
173
|
-
electricity_consumption_price:
|
|
174
|
-
construction_type:
|
|
101
|
+
...AbstractElementModel.elementJSONSchemaProperties,
|
|
102
|
+
stop_name: nullableString,
|
|
103
|
+
stop_direction: nullableString,
|
|
104
|
+
platform_code: nullableString,
|
|
105
|
+
stop_type: nullableStringArray,
|
|
106
|
+
thmp_stop_id: nullableString,
|
|
107
|
+
land_parcel_number: nullableString,
|
|
108
|
+
land_owner: nullableString,
|
|
109
|
+
workday_boarding_count: nullableNumber,
|
|
110
|
+
lines: nullableString,
|
|
111
|
+
location_description: nullableString,
|
|
112
|
+
location_verification_on_street_light: nullableString,
|
|
113
|
+
shelter_type: nullableString,
|
|
114
|
+
shelter_id: nullableString,
|
|
115
|
+
street_light_number: nullableString,
|
|
116
|
+
surface_type: nullableString,
|
|
117
|
+
connection_state: nullableString,
|
|
118
|
+
connection_type: nullableString,
|
|
119
|
+
connection_mode: nullableString,
|
|
120
|
+
priority: nullableString,
|
|
121
|
+
investor_action: nullableString,
|
|
122
|
+
design_request: nullableString,
|
|
123
|
+
design_state: nullableString,
|
|
124
|
+
design_order_number: nullableString,
|
|
125
|
+
design_registry_publication: nullableString,
|
|
126
|
+
design_invoice_paid: nullableString,
|
|
127
|
+
production_order_number: nullableString,
|
|
128
|
+
production_state: nullableString,
|
|
129
|
+
production_registry_publication: nullableString,
|
|
130
|
+
production_invoice_paid: nullableString,
|
|
131
|
+
realization_request: nullableBoolean,
|
|
132
|
+
realization_state: nullableString,
|
|
133
|
+
realization_order_number: nullableString,
|
|
134
|
+
realization_registry_publication: nullableString,
|
|
135
|
+
realization_invoice_paid: nullableString,
|
|
136
|
+
name_for_visually_impaired: nullableString,
|
|
137
|
+
voice_day: nullableString,
|
|
138
|
+
voice_night: nullableString,
|
|
139
|
+
templates: nullableString,
|
|
140
|
+
preset: nullableString,
|
|
141
|
+
data_source: nullableString,
|
|
142
|
+
imsi: nullableString,
|
|
143
|
+
connection_point: nullableString,
|
|
144
|
+
connection_point_number: nullableString,
|
|
145
|
+
foundation_type: nullableString,
|
|
146
|
+
warranty_end: nullableDateString,
|
|
147
|
+
initial_revision: nullableDateString,
|
|
148
|
+
next_revision: nullableDateString,
|
|
149
|
+
electronics_service: nullableBoolean,
|
|
150
|
+
electronics_service_end: nullableDateString,
|
|
151
|
+
asset_registered: nullableBoolean,
|
|
152
|
+
asset_number: nullableString,
|
|
153
|
+
insurance: nullableBoolean,
|
|
154
|
+
handed_over_to_ozp: nullableBoolean,
|
|
155
|
+
dpp_documentation_request: nullableBoolean,
|
|
156
|
+
dpp_documentation_handover_date: nullableDateString,
|
|
157
|
+
design_deadline: nullableDateString,
|
|
158
|
+
production_deadline: nullableDateString,
|
|
159
|
+
ropid_documentation_submitted: nullableStringArray,
|
|
160
|
+
ropid_documentation_handover_date: nullableDateString,
|
|
161
|
+
dpp_documentation_submitted: nullableStringArray,
|
|
162
|
+
realization_deadline: nullableDateString,
|
|
163
|
+
device_id: nullableString,
|
|
164
|
+
asw_node_id: nullableString,
|
|
165
|
+
asw_stop_id: nullableString,
|
|
166
|
+
power_consumption_watt: nullableNumber,
|
|
167
|
+
thmp_element_number: nullableString,
|
|
168
|
+
electricity_supply_contract: nullableString,
|
|
169
|
+
cleaning_frequency: nullableString,
|
|
170
|
+
electricity_consumption_price: nullableNumber,
|
|
171
|
+
construction_type: nullableString,
|
|
175
172
|
panel_size: {
|
|
176
173
|
oneOf: [
|
|
177
174
|
{ type: "string", pattern: "^v\\d+$" },
|
|
178
175
|
{ type: "null", nullable: true },
|
|
179
176
|
],
|
|
180
177
|
},
|
|
181
|
-
design_price_without_vat:
|
|
182
|
-
production_price_without_vat:
|
|
183
|
-
realization_price_without_vat:
|
|
184
|
-
serial_number:
|
|
185
|
-
producer:
|
|
186
|
-
supplier:
|
|
187
|
-
producer_contact_person:
|
|
188
|
-
panel_technology:
|
|
189
|
-
panel_model:
|
|
190
|
-
owner_contact:
|
|
191
|
-
connectivity_internet:
|
|
192
|
-
phone_number:
|
|
193
|
-
jis_graphic:
|
|
194
|
-
supported_functions:
|
|
178
|
+
design_price_without_vat: nullableNumber,
|
|
179
|
+
production_price_without_vat: nullableNumber,
|
|
180
|
+
realization_price_without_vat: nullableNumber,
|
|
181
|
+
serial_number: nullableString,
|
|
182
|
+
producer: nullableString,
|
|
183
|
+
supplier: nullableString,
|
|
184
|
+
producer_contact_person: nullableString,
|
|
185
|
+
panel_technology: nullableString,
|
|
186
|
+
panel_model: nullableString,
|
|
187
|
+
owner_contact: nullableString,
|
|
188
|
+
connectivity_internet: nullableString,
|
|
189
|
+
phone_number: nullableString,
|
|
190
|
+
jis_graphic: nullableBoolean,
|
|
191
|
+
supported_functions: nullableStringArray,
|
|
195
192
|
},
|
|
196
|
-
required:
|
|
193
|
+
required: AbstractElementModel.elementJSONSchemaRequired,
|
|
197
194
|
additionalProperties: false,
|
|
198
195
|
},
|
|
199
196
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationPanelModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InformationPanelModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelModel.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAA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AAc;YACjC,UAAU,EAAE;gBACR,KAAK,EAAE;oBACH,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE;oBACtC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;iBACnC;aACJ;YACD,wBAAwB,EAAE,cAAc;YACxC,4BAA4B,EAAE,cAAc;YAC5C,6BAA6B,EAAE,cAAc;YAC7C,aAAa,EAAE,cAAc;YAC7B,QAAQ,EAAE,cAAc;YACxB,QAAQ,EAAE,cAAc;YACxB,uBAAuB,EAAE,cAAc;YACvC,gBAAgB,EAAE,cAAc;YAChC,WAAW,EAAE,cAAc;YAC3B,aAAa,EAAE,cAAc;YAC7B,qBAAqB,EAAE,cAAc;YACrC,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,eAAe;YAC5B,mBAAmB,EAAE,mBAAmB;SAC3C;QACD,QAAQ,EAAE,oBAAoB,CAAC,yBAAyB;QACxD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { CreationOptional, InferAttributes, InferCreationAttributes,
|
|
3
|
-
import
|
|
1
|
+
import type { JSONSchemaType } from "@golemio/core/dist/shared/ajv.js";
|
|
2
|
+
import type { CreationOptional, InferAttributes, InferCreationAttributes, ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
4
|
+
declare const Model: typeof Sequelize.Model;
|
|
5
|
+
import type { IInformationPanelPreset } from "./interfaces/IInformationPanelPreset.js";
|
|
4
6
|
export declare class InformationPanelPresetsModel extends Model<InferAttributes<InformationPanelPresetsModel>, InferCreationAttributes<InformationPanelPresetsModel>> implements IInformationPanelPreset {
|
|
5
7
|
static readonly tableName = "information_panels_presets";
|
|
6
8
|
id: CreationOptional<string>;
|
|
@@ -14,3 +16,4 @@ export declare class InformationPanelPresetsModel extends Model<InferAttributes<
|
|
|
14
16
|
static getUpdateAttributes(): string[];
|
|
15
17
|
static readonly jsonSchema: JSONSchemaType<Array<Omit<IInformationPanelPreset, "id">>>;
|
|
16
18
|
}
|
|
19
|
+
export {};
|
|
@@ -1,32 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const const_1 = require("../const");
|
|
6
|
-
class InformationPanelPresetsModel extends sequelize_1.Model {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes, Model } = Sequelize;
|
|
3
|
+
import { nullableString } from "#sch/const";
|
|
4
|
+
export class InformationPanelPresetsModel extends Model {
|
|
7
5
|
static getUpdateAttributes() {
|
|
8
6
|
return ["is_testing", "note", "information_panel_document_id", "updated_at"];
|
|
9
7
|
}
|
|
10
8
|
}
|
|
11
|
-
exports.InformationPanelPresetsModel = InformationPanelPresetsModel;
|
|
12
9
|
InformationPanelPresetsModel.tableName = "information_panels_presets";
|
|
13
10
|
InformationPanelPresetsModel.attributeModel = {
|
|
14
11
|
id: {
|
|
15
12
|
primaryKey: true,
|
|
16
13
|
allowNull: false,
|
|
17
|
-
type:
|
|
18
|
-
defaultValue:
|
|
14
|
+
type: DataTypes.UUID,
|
|
15
|
+
defaultValue: DataTypes.UUIDV4,
|
|
19
16
|
},
|
|
20
17
|
route_name: {
|
|
21
|
-
type:
|
|
18
|
+
type: DataTypes.STRING(100),
|
|
22
19
|
allowNull: false,
|
|
23
20
|
unique: true,
|
|
24
21
|
},
|
|
25
|
-
note: { type:
|
|
26
|
-
is_testing: { type:
|
|
27
|
-
information_panel_document_id: { type:
|
|
28
|
-
created_at: { type:
|
|
29
|
-
updated_at: { type:
|
|
22
|
+
note: { type: DataTypes.STRING(1000) },
|
|
23
|
+
is_testing: { type: DataTypes.BOOLEAN },
|
|
24
|
+
information_panel_document_id: { type: DataTypes.STRING(255), allowNull: true },
|
|
25
|
+
created_at: { type: DataTypes.DATE, allowNull: false },
|
|
26
|
+
updated_at: { type: DataTypes.DATE, allowNull: false },
|
|
30
27
|
};
|
|
31
28
|
InformationPanelPresetsModel.jsonSchema = {
|
|
32
29
|
type: "array",
|
|
@@ -36,7 +33,7 @@ InformationPanelPresetsModel.jsonSchema = {
|
|
|
36
33
|
route_name: { type: "string" },
|
|
37
34
|
note: { type: "string" },
|
|
38
35
|
is_testing: { type: "boolean" },
|
|
39
|
-
information_panel_document_id:
|
|
36
|
+
information_panel_document_id: nullableString,
|
|
40
37
|
},
|
|
41
38
|
required: ["route_name", "note", "is_testing"],
|
|
42
39
|
additionalProperties: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationPanelPresetsModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InformationPanelPresetsModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsModel.ts"],"names":[],"mappings":"AAOA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAG5C,MAAM,OAAO,4BACT,SAAQ,KAA2G;IAgC5G,MAAM,CAAC,mBAAmB;QAC7B,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,+BAA+B,EAAE,YAAY,CAAC,CAAC;IACjF,CAAC;;AA/BsB,sCAAS,GAAG,4BAA4B,CAAC;AAUzC,2CAAc,GAAkD;IACnF,EAAE,EAAE;QACA,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,YAAY,EAAE,SAAS,CAAC,MAAM;KACjC;IACD,UAAU,EAAE;QACR,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC;QAC3B,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,IAAI;KACf;IACD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;IACtC,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IACvC,6BAA6B,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;IAC/E,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE;IACtD,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE;CACzD,CAAC;AAMqB,uCAAU,GAA+D;IAC5F,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC/B,6BAA6B,EAAE,cAAqB;SACvD;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,CAAC;QAC9C,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { InferAttributes, InferCreationAttributes,
|
|
2
|
-
import
|
|
1
|
+
import type { InferAttributes, InferCreationAttributes, ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
declare const Model: typeof Sequelize.Model;
|
|
4
|
+
import type { IPresetRouteAgg } from "./interfaces/IPresetRouteAgg.js";
|
|
3
5
|
export declare class InformationPanelPresetsRoutesAggModel extends Model<InferAttributes<InformationPanelPresetsRoutesAggModel>, InferCreationAttributes<InformationPanelPresetsRoutesAggModel>> {
|
|
4
6
|
static readonly tableName = "v_information_panels_presets_routes_agg";
|
|
5
7
|
information_panel_document_id: string;
|
|
@@ -9,3 +11,4 @@ export declare class InformationPanelPresetsRoutesAggModel extends Model<InferAt
|
|
|
9
11
|
routes: IPresetRouteAgg[];
|
|
10
12
|
static readonly attributeModel: ModelAttributes<InformationPanelPresetsRoutesAggModel>;
|
|
11
13
|
}
|
|
14
|
+
export {};
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class InformationPanelPresetsRoutesAggModel extends sequelize_1.Model {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes, Model } = Sequelize;
|
|
3
|
+
export class InformationPanelPresetsRoutesAggModel extends Model {
|
|
6
4
|
}
|
|
7
|
-
exports.InformationPanelPresetsRoutesAggModel = InformationPanelPresetsRoutesAggModel;
|
|
8
5
|
InformationPanelPresetsRoutesAggModel.tableName = "v_information_panels_presets_routes_agg";
|
|
9
6
|
InformationPanelPresetsRoutesAggModel.attributeModel = {
|
|
10
|
-
information_panel_document_id: { type:
|
|
11
|
-
route_name: { type:
|
|
12
|
-
note: { type:
|
|
13
|
-
is_testing: { type:
|
|
14
|
-
routes: { type:
|
|
7
|
+
information_panel_document_id: { type: DataTypes.STRING, primaryKey: true },
|
|
8
|
+
route_name: { type: DataTypes.STRING, primaryKey: true },
|
|
9
|
+
note: { type: DataTypes.STRING },
|
|
10
|
+
is_testing: { type: DataTypes.BOOLEAN },
|
|
11
|
+
routes: { type: DataTypes.JSONB },
|
|
15
12
|
};
|
|
16
13
|
//# sourceMappingURL=InformationPanelPresetsRoutesAggModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationPanelPresetsRoutesAggModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsRoutesAggModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InformationPanelPresetsRoutesAggModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsRoutesAggModel.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;AAGvC,MAAM,OAAO,qCAAsC,SAAQ,KAG1D;;AAC0B,+CAAS,GAAG,yCAAyC,CAAC;AAQtD,oDAAc,GAA2D;IAC5F,6BAA6B,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE;IAC3E,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE;IACxD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE;IAChC,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IACvC,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE;CACpC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { CreationOptional, InferAttributes, InferCreationAttributes,
|
|
3
|
-
import
|
|
1
|
+
import type { JSONSchemaType } from "@golemio/core/dist/shared/ajv.js";
|
|
2
|
+
import type { CreationOptional, InferAttributes, InferCreationAttributes, ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
4
|
+
declare const Model: typeof Sequelize.Model;
|
|
5
|
+
import type { IInformationPanelPresetRoute } from "./interfaces/IInformationPanelPresetRoute.js";
|
|
4
6
|
export declare class InformationPanelPresetsRoutesModel extends Model<InferAttributes<InformationPanelPresetsRoutesModel>, InferCreationAttributes<InformationPanelPresetsRoutesModel>> implements IInformationPanelPresetRoute {
|
|
5
7
|
static readonly tableName = "information_panels_presets_routes";
|
|
6
8
|
preset_id: string;
|
|
@@ -14,3 +16,4 @@ export declare class InformationPanelPresetsRoutesModel extends Model<InferAttri
|
|
|
14
16
|
static getUpdateAttributes(): string[];
|
|
15
17
|
static readonly jsonSchema: JSONSchemaType<IInformationPanelPresetRoute[]>;
|
|
16
18
|
}
|
|
19
|
+
export {};
|