@golemio/fypr 1.12.1-dev.2832960889 → 2.0.0-dev.2871273577
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,41 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class InformationPanelPresetsRoutesModel extends sequelize_1.Model {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes, Model } = Sequelize;
|
|
3
|
+
export class InformationPanelPresetsRoutesModel extends Model {
|
|
6
4
|
static getUpdateAttributes() {
|
|
7
5
|
return ["route_id", "updated_at"];
|
|
8
6
|
}
|
|
9
7
|
}
|
|
10
|
-
exports.InformationPanelPresetsRoutesModel = InformationPanelPresetsRoutesModel;
|
|
11
8
|
InformationPanelPresetsRoutesModel.tableName = "information_panels_presets_routes";
|
|
12
9
|
InformationPanelPresetsRoutesModel.attributeModel = {
|
|
13
10
|
preset_id: {
|
|
14
11
|
primaryKey: true,
|
|
15
12
|
allowNull: false,
|
|
16
|
-
type:
|
|
13
|
+
type: DataTypes.UUID,
|
|
17
14
|
},
|
|
18
15
|
stop_id: {
|
|
19
16
|
primaryKey: true,
|
|
20
17
|
allowNull: false,
|
|
21
|
-
type:
|
|
18
|
+
type: DataTypes.STRING(50),
|
|
22
19
|
},
|
|
23
20
|
route_type: {
|
|
24
21
|
primaryKey: true,
|
|
25
22
|
allowNull: false,
|
|
26
|
-
type:
|
|
23
|
+
type: DataTypes.SMALLINT,
|
|
27
24
|
},
|
|
28
25
|
route_short_name: {
|
|
29
26
|
primaryKey: true,
|
|
30
27
|
allowNull: false,
|
|
31
|
-
type:
|
|
28
|
+
type: DataTypes.STRING(50),
|
|
32
29
|
},
|
|
33
30
|
route_id: {
|
|
34
31
|
allowNull: false,
|
|
35
|
-
type:
|
|
32
|
+
type: DataTypes.STRING(50),
|
|
36
33
|
},
|
|
37
|
-
created_at: { type:
|
|
38
|
-
updated_at: { type:
|
|
34
|
+
created_at: { type: DataTypes.DATE, allowNull: false },
|
|
35
|
+
updated_at: { type: DataTypes.DATE, allowNull: false },
|
|
39
36
|
};
|
|
40
37
|
InformationPanelPresetsRoutesModel.jsonSchema = {
|
|
41
38
|
type: "array",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationPanelPresetsRoutesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsRoutesModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InformationPanelPresetsRoutesModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsRoutesModel.ts"],"names":[],"mappings":"AAOA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;AAIvC,MAAM,OAAO,kCACT,SAAQ,KAGP;IA0CM,MAAM,CAAC,mBAAmB;QAC7B,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACtC,CAAC;;AAzCsB,4CAAS,GAAG,mCAAmC,CAAC;AAUhD,iDAAc,GAAwD;IACzF,SAAS,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,IAAI;KACvB;IACD,OAAO,EAAE;QACL,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;KAC7B;IACD,UAAU,EAAE;QACR,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,QAAQ;KAC3B;IACD,gBAAgB,EAAE;QACd,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;KAC7B;IACD,QAAQ,EAAE;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;KAC7B;IACD,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,6CAAU,GAAmD;IAChF,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACpC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC/B;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,kBAAkB,EAAE,UAAU,CAAC;QAChF,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 { IInformationPanelPresetStop } from "./interfaces/IInformationPanelPresetStop.js";
|
|
4
6
|
export declare class InformationPanelPresetsStopsModel extends Model<InferAttributes<InformationPanelPresetsStopsModel>, InferCreationAttributes<InformationPanelPresetsStopsModel>> implements IInformationPanelPresetStop {
|
|
5
7
|
static readonly tableName = "information_panels_presets_stops";
|
|
6
8
|
preset_id: string;
|
|
@@ -11,3 +13,4 @@ export declare class InformationPanelPresetsStopsModel extends Model<InferAttrib
|
|
|
11
13
|
static getUpdateAttributes(): string[];
|
|
12
14
|
static readonly jsonSchema: JSONSchemaType<IInformationPanelPresetStop[]>;
|
|
13
15
|
}
|
|
16
|
+
export {};
|
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
-
class InformationPanelPresetsStopsModel extends sequelize_1.Model {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes, Model } = Sequelize;
|
|
3
|
+
export class InformationPanelPresetsStopsModel extends Model {
|
|
6
4
|
static getUpdateAttributes() {
|
|
7
5
|
return ["updated_at"];
|
|
8
6
|
}
|
|
9
7
|
}
|
|
10
|
-
exports.InformationPanelPresetsStopsModel = InformationPanelPresetsStopsModel;
|
|
11
8
|
InformationPanelPresetsStopsModel.tableName = "information_panels_presets_stops";
|
|
12
9
|
InformationPanelPresetsStopsModel.attributeModel = {
|
|
13
10
|
preset_id: {
|
|
14
11
|
primaryKey: true,
|
|
15
12
|
allowNull: false,
|
|
16
|
-
type:
|
|
13
|
+
type: DataTypes.UUID,
|
|
17
14
|
},
|
|
18
15
|
stop_id: {
|
|
19
16
|
primaryKey: true,
|
|
20
17
|
allowNull: false,
|
|
21
|
-
type:
|
|
18
|
+
type: DataTypes.STRING(50),
|
|
22
19
|
},
|
|
23
|
-
created_at: { type:
|
|
24
|
-
updated_at: { type:
|
|
20
|
+
created_at: { type: DataTypes.DATE, allowNull: false },
|
|
21
|
+
updated_at: { type: DataTypes.DATE, allowNull: false },
|
|
25
22
|
};
|
|
26
23
|
InformationPanelPresetsStopsModel.jsonSchema = {
|
|
27
24
|
type: "array",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationPanelPresetsStopsModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsStopsModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InformationPanelPresetsStopsModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/InformationPanelPresetsStopsModel.ts"],"names":[],"mappings":"AAOA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;AAIvC,MAAM,OAAO,iCACT,SAAQ,KAAqH;IAyBtH,MAAM,CAAC,mBAAmB;QAC7B,OAAO,CAAC,YAAY,CAAC,CAAC;IAC1B,CAAC;;AAxBsB,2CAAS,GAAG,kCAAkC,CAAC;AAO/C,gDAAc,GAAuD;IACxF,SAAS,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,IAAI;KACvB;IACD,OAAO,EAAE;QACL,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;KAC7B;IACD,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,4CAAU,GAAkD;IAC/E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC9B;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC;QAClC,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { AbstractElementModel } from "./AbstractElementModel";
|
|
4
|
-
import { IObelisk } from "./interfaces/IObelisk";
|
|
1
|
+
import type { JSONSchemaType } from "@golemio/core/dist/shared/ajv.js";
|
|
2
|
+
import type { ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
4
|
+
import type { IObelisk } from "./interfaces/IObelisk.js";
|
|
5
5
|
export declare class ObeliskModel extends AbstractElementModel implements IObelisk {
|
|
6
6
|
static readonly tableName = "obelisks";
|
|
7
7
|
street_name: string | null;
|
|
@@ -1,52 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const AbstractElementModel_1 = require("./AbstractElementModel");
|
|
7
|
-
class ObeliskModel extends AbstractElementModel_1.AbstractElementModel {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes } = Sequelize;
|
|
3
|
+
import { nullableBoolean, nullableNumber, nullableString } from "#sch/const";
|
|
4
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
5
|
+
export class ObeliskModel extends AbstractElementModel {
|
|
8
6
|
}
|
|
9
|
-
exports.ObeliskModel = ObeliskModel;
|
|
10
7
|
ObeliskModel.tableName = "obelisks";
|
|
11
8
|
ObeliskModel.attributeModel = {
|
|
12
|
-
...
|
|
13
|
-
street_name: { type:
|
|
14
|
-
location_description: { type:
|
|
15
|
-
land_parcel_number: { type:
|
|
16
|
-
land_owner: { type:
|
|
17
|
-
priority: { type:
|
|
18
|
-
asset_registered: { type:
|
|
19
|
-
asset_number: { type:
|
|
20
|
-
insurance: { type:
|
|
21
|
-
insurance_state: { type:
|
|
22
|
-
handed_over_to_ozp: { type:
|
|
23
|
-
comments: { type:
|
|
24
|
-
ropid_element_id: { type:
|
|
25
|
-
construction_type: { type:
|
|
26
|
-
price_without_vat: { type:
|
|
9
|
+
...AbstractElementModel.elementAttributeModel,
|
|
10
|
+
street_name: { type: DataTypes.STRING(255) },
|
|
11
|
+
location_description: { type: DataTypes.STRING(255) },
|
|
12
|
+
land_parcel_number: { type: DataTypes.STRING(255) },
|
|
13
|
+
land_owner: { type: DataTypes.STRING(255) },
|
|
14
|
+
priority: { type: DataTypes.STRING(255) },
|
|
15
|
+
asset_registered: { type: DataTypes.BOOLEAN },
|
|
16
|
+
asset_number: { type: DataTypes.STRING(255) },
|
|
17
|
+
insurance: { type: DataTypes.BOOLEAN },
|
|
18
|
+
insurance_state: { type: DataTypes.STRING(255) },
|
|
19
|
+
handed_over_to_ozp: { type: DataTypes.BOOLEAN },
|
|
20
|
+
comments: { type: DataTypes.TEXT },
|
|
21
|
+
ropid_element_id: { type: DataTypes.STRING(255) },
|
|
22
|
+
construction_type: { type: DataTypes.STRING(255) },
|
|
23
|
+
price_without_vat: { type: DataTypes.INTEGER },
|
|
27
24
|
};
|
|
28
25
|
ObeliskModel.jsonSchema = {
|
|
29
26
|
type: "array",
|
|
30
27
|
items: {
|
|
31
28
|
type: "object",
|
|
32
29
|
properties: {
|
|
33
|
-
...
|
|
34
|
-
street_name:
|
|
35
|
-
location_description:
|
|
36
|
-
land_parcel_number:
|
|
37
|
-
land_owner:
|
|
38
|
-
priority:
|
|
39
|
-
asset_registered:
|
|
40
|
-
asset_number:
|
|
41
|
-
insurance:
|
|
42
|
-
insurance_state:
|
|
43
|
-
handed_over_to_ozp:
|
|
44
|
-
comments:
|
|
45
|
-
ropid_element_id:
|
|
46
|
-
construction_type:
|
|
47
|
-
price_without_vat:
|
|
30
|
+
...AbstractElementModel.elementJSONSchemaProperties,
|
|
31
|
+
street_name: nullableString,
|
|
32
|
+
location_description: nullableString,
|
|
33
|
+
land_parcel_number: nullableString,
|
|
34
|
+
land_owner: nullableString,
|
|
35
|
+
priority: nullableString,
|
|
36
|
+
asset_registered: nullableBoolean,
|
|
37
|
+
asset_number: nullableString,
|
|
38
|
+
insurance: nullableBoolean,
|
|
39
|
+
insurance_state: nullableString,
|
|
40
|
+
handed_over_to_ozp: nullableBoolean,
|
|
41
|
+
comments: nullableString,
|
|
42
|
+
ropid_element_id: nullableString,
|
|
43
|
+
construction_type: nullableString,
|
|
44
|
+
price_without_vat: nullableNumber,
|
|
48
45
|
},
|
|
49
|
-
required:
|
|
46
|
+
required: AbstractElementModel.elementJSONSchemaRequired,
|
|
50
47
|
additionalProperties: false,
|
|
51
48
|
},
|
|
52
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObeliskModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/ObeliskModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObeliskModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/ObeliskModel.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,MAAM,OAAO,YAAa,SAAQ,oBAAoB;;AAC3B,sBAAS,GAAG,UAAU,CAAC;AAkBvB,2BAAc,GAAkC;IACnE,GAAG,oBAAoB,CAAC,qBAAqB;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC5C,oBAAoB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACrD,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACnD,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACzC,gBAAgB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IAC7C,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC7C,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IACtC,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAChD,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IAC/C,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE;IAClC,gBAAgB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACjD,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAClD,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;CACjD,CAAC;AAEqB,uBAAU,GAA+B;IAC5D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,GAAG,oBAAoB,CAAC,2BAA2B;YACnD,WAAW,EAAE,cAAc;YAC3B,oBAAoB,EAAE,cAAc;YACpC,kBAAkB,EAAE,cAAc;YAClC,UAAU,EAAE,cAAc;YAC1B,QAAQ,EAAE,cAAc;YACxB,gBAAgB,EAAE,eAAe;YACjC,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,eAAe;YAC1B,eAAe,EAAE,cAAc;YAC/B,kBAAkB,EAAE,eAAe;YACnC,QAAQ,EAAE,cAAc;YACxB,gBAAgB,EAAE,cAAc;YAChC,iBAAiB,EAAE,cAAc;YACjC,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,oBAAoB,CAAC,yBAAyB;QACxD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { AbstractElementModel } from "./AbstractElementModel";
|
|
4
|
-
import { ISignpost } from "./interfaces/ISignpost";
|
|
1
|
+
import type { JSONSchemaType } from "@golemio/core/dist/shared/ajv.js";
|
|
2
|
+
import type { ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
4
|
+
import type { ISignpost } from "./interfaces/ISignpost.js";
|
|
5
5
|
export declare class SignpostModel extends AbstractElementModel implements ISignpost {
|
|
6
6
|
static readonly tableName = "signposts";
|
|
7
7
|
street_name: string | null;
|
|
@@ -1,56 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const AbstractElementModel_1 = require("./AbstractElementModel");
|
|
7
|
-
class SignpostModel extends AbstractElementModel_1.AbstractElementModel {
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
2
|
+
const { DataTypes } = Sequelize;
|
|
3
|
+
import { nullableBoolean, nullableNumber, nullableString } from "#sch/const";
|
|
4
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
5
|
+
export class SignpostModel extends AbstractElementModel {
|
|
8
6
|
}
|
|
9
|
-
exports.SignpostModel = SignpostModel;
|
|
10
7
|
SignpostModel.tableName = "signposts";
|
|
11
8
|
SignpostModel.attributeModel = {
|
|
12
|
-
...
|
|
13
|
-
street_name: { type:
|
|
14
|
-
location_description: { type:
|
|
15
|
-
land_parcel_number: { type:
|
|
16
|
-
land_owner: { type:
|
|
17
|
-
street_light_number: { type:
|
|
18
|
-
sheet_count: { type:
|
|
19
|
-
priority: { type:
|
|
20
|
-
asset_registered: { type:
|
|
21
|
-
asset_number: { type:
|
|
22
|
-
insurance: { type:
|
|
23
|
-
insurance_state: { type:
|
|
24
|
-
handed_over_to_ozp: { type:
|
|
25
|
-
comments: { type:
|
|
26
|
-
ropid_element_id: { type:
|
|
27
|
-
construction_type: { type:
|
|
28
|
-
price_without_vat: { type:
|
|
9
|
+
...AbstractElementModel.elementAttributeModel,
|
|
10
|
+
street_name: { type: DataTypes.STRING(255) },
|
|
11
|
+
location_description: { type: DataTypes.STRING(255) },
|
|
12
|
+
land_parcel_number: { type: DataTypes.STRING(255) },
|
|
13
|
+
land_owner: { type: DataTypes.STRING(255) },
|
|
14
|
+
street_light_number: { type: DataTypes.STRING(255) },
|
|
15
|
+
sheet_count: { type: DataTypes.INTEGER },
|
|
16
|
+
priority: { type: DataTypes.STRING(255) },
|
|
17
|
+
asset_registered: { type: DataTypes.BOOLEAN },
|
|
18
|
+
asset_number: { type: DataTypes.STRING(255) },
|
|
19
|
+
insurance: { type: DataTypes.BOOLEAN },
|
|
20
|
+
insurance_state: { type: DataTypes.STRING(255) },
|
|
21
|
+
handed_over_to_ozp: { type: DataTypes.BOOLEAN },
|
|
22
|
+
comments: { type: DataTypes.TEXT },
|
|
23
|
+
ropid_element_id: { type: DataTypes.STRING(255) },
|
|
24
|
+
construction_type: { type: DataTypes.STRING(255) },
|
|
25
|
+
price_without_vat: { type: DataTypes.INTEGER },
|
|
29
26
|
};
|
|
30
27
|
SignpostModel.jsonSchema = {
|
|
31
28
|
type: "array",
|
|
32
29
|
items: {
|
|
33
30
|
type: "object",
|
|
34
31
|
properties: {
|
|
35
|
-
...
|
|
36
|
-
street_name:
|
|
37
|
-
location_description:
|
|
38
|
-
land_parcel_number:
|
|
39
|
-
land_owner:
|
|
40
|
-
street_light_number:
|
|
41
|
-
sheet_count:
|
|
42
|
-
priority:
|
|
43
|
-
asset_registered:
|
|
44
|
-
asset_number:
|
|
45
|
-
insurance:
|
|
46
|
-
insurance_state:
|
|
47
|
-
handed_over_to_ozp:
|
|
48
|
-
comments:
|
|
49
|
-
ropid_element_id:
|
|
50
|
-
construction_type:
|
|
51
|
-
price_without_vat:
|
|
32
|
+
...AbstractElementModel.elementJSONSchemaProperties,
|
|
33
|
+
street_name: nullableString,
|
|
34
|
+
location_description: nullableString,
|
|
35
|
+
land_parcel_number: nullableString,
|
|
36
|
+
land_owner: nullableString,
|
|
37
|
+
street_light_number: nullableString,
|
|
38
|
+
sheet_count: nullableNumber,
|
|
39
|
+
priority: nullableString,
|
|
40
|
+
asset_registered: nullableBoolean,
|
|
41
|
+
asset_number: nullableString,
|
|
42
|
+
insurance: nullableBoolean,
|
|
43
|
+
insurance_state: nullableString,
|
|
44
|
+
handed_over_to_ozp: nullableBoolean,
|
|
45
|
+
comments: nullableString,
|
|
46
|
+
ropid_element_id: nullableString,
|
|
47
|
+
construction_type: nullableString,
|
|
48
|
+
price_without_vat: nullableNumber,
|
|
52
49
|
},
|
|
53
|
-
required:
|
|
50
|
+
required: AbstractElementModel.elementJSONSchemaRequired,
|
|
54
51
|
additionalProperties: false,
|
|
55
52
|
},
|
|
56
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignpostModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/SignpostModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignpostModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/SignpostModel.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,MAAM,OAAO,aAAc,SAAQ,oBAAoB;;AAC5B,uBAAS,GAAG,WAAW,CAAC;AAoBxB,4BAAc,GAAmC;IACpE,GAAG,oBAAoB,CAAC,qBAAqB;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC5C,oBAAoB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACrD,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACnD,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC3C,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACpD,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IACxC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACzC,gBAAgB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IAC7C,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAC7C,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IACtC,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAChD,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;IAC/C,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE;IAClC,gBAAgB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IACjD,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;IAClD,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE;CACjD,CAAC;AAEqB,wBAAU,GAAgC;IAC7D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,GAAG,oBAAoB,CAAC,2BAA2B;YACnD,WAAW,EAAE,cAAc;YAC3B,oBAAoB,EAAE,cAAc;YACpC,kBAAkB,EAAE,cAAc;YAClC,UAAU,EAAE,cAAc;YAC1B,mBAAmB,EAAE,cAAc;YACnC,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,cAAc;YACxB,gBAAgB,EAAE,eAAe;YACjC,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,eAAe;YAC1B,eAAe,EAAE,cAAc;YAC/B,kBAAkB,EAAE,eAAe;YACnC,QAAQ,EAAE,cAAc;YACxB,gBAAgB,EAAE,cAAc;YAChC,iBAAiB,EAAE,cAAc;YACjC,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,oBAAoB,CAAC,yBAAyB;QACxD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { AbstractElementModel } from "./AbstractElementModel";
|
|
4
|
-
import { ITotem } from "./interfaces/ITotem";
|
|
1
|
+
import type { JSONSchemaType } from "@golemio/core/dist/shared/ajv.js";
|
|
2
|
+
import type { ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
|
|
3
|
+
import { AbstractElementModel } from "./AbstractElementModel.js";
|
|
4
|
+
import type { ITotem } from "./interfaces/ITotem.js";
|
|
5
5
|
export declare class TotemModel extends AbstractElementModel implements ITotem {
|
|
6
6
|
static readonly tableName = "totems";
|
|
7
7
|
panel_size: string | null;
|
|
@@ -1,126 +1,123 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const AbstractElementModel_1 = require("./AbstractElementModel");
|
|
7
|
-
class TotemModel 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 TotemModel extends AbstractElementModel {
|
|
8
6
|
}
|
|
9
|
-
exports.TotemModel = TotemModel;
|
|
10
7
|
TotemModel.tableName = "totems";
|
|
11
8
|
TotemModel.attributeModel = {
|
|
12
|
-
...
|
|
13
|
-
panel_size: { type:
|
|
14
|
-
locality: { type:
|
|
15
|
-
displayed_icon: { type:
|
|
16
|
-
line: { type:
|
|
17
|
-
priority: { type:
|
|
18
|
-
site_survey: { type:
|
|
19
|
-
installation_height: { type:
|
|
20
|
-
street_light_number: { type:
|
|
21
|
-
street_light_replacement: { type:
|
|
22
|
-
tv_number: { type:
|
|
23
|
-
building_permit: { type:
|
|
24
|
-
building_permit_state: { type:
|
|
25
|
-
location_note: { type:
|
|
26
|
-
site_survey_report: { type:
|
|
27
|
-
order_state: { type:
|
|
28
|
-
order_number: { type:
|
|
29
|
-
design_price_without_vat: { type:
|
|
30
|
-
realization_price_without_vat: { type:
|
|
31
|
-
warranty_end: { type:
|
|
32
|
-
next_revision: { type:
|
|
33
|
-
qr_code: { type:
|
|
34
|
-
supplier: { type:
|
|
35
|
-
stop_name: { type:
|
|
36
|
-
stop_type: { type:
|
|
37
|
-
site_survey_date: { type:
|
|
38
|
-
order_planned_deadline: { type:
|
|
39
|
-
order_registry_publication: { type:
|
|
40
|
-
invoice_paid: { type:
|
|
41
|
-
initial_revision: { type:
|
|
42
|
-
asset_registered: { type:
|
|
43
|
-
asset_number: { type:
|
|
44
|
-
insurance: { type:
|
|
45
|
-
handed_over_to_ozp: { type:
|
|
46
|
-
ropid_documentation_submitted: { type:
|
|
47
|
-
ropid_documentation_handover_date: { type:
|
|
48
|
-
street_name: { type:
|
|
49
|
-
exit_number: { type:
|
|
50
|
-
dpp_priority: { type:
|
|
51
|
-
insurance_state: { type:
|
|
52
|
-
comments: { type:
|
|
53
|
-
asw_node_id: { type:
|
|
54
|
-
asw_stop_id: { type:
|
|
55
|
-
power_consumption_watt: { type:
|
|
56
|
-
thmp_element_number: { type:
|
|
57
|
-
electricity_supply_contract: { type:
|
|
58
|
-
cleaning_frequency: { type:
|
|
59
|
-
electricity_consumption_price: { type:
|
|
60
|
-
ropid_element_id: { type:
|
|
61
|
-
construction_type: { type:
|
|
62
|
-
production_price_without_vat: { type:
|
|
63
|
-
serial_number: { type:
|
|
9
|
+
...AbstractElementModel.elementAttributeModel,
|
|
10
|
+
panel_size: { type: DataTypes.STRING(255) },
|
|
11
|
+
locality: { type: DataTypes.STRING(255) },
|
|
12
|
+
displayed_icon: { type: DataTypes.JSONB },
|
|
13
|
+
line: { type: DataTypes.JSONB },
|
|
14
|
+
priority: { type: DataTypes.INTEGER },
|
|
15
|
+
site_survey: { type: DataTypes.STRING(255) },
|
|
16
|
+
installation_height: { type: DataTypes.STRING(255) },
|
|
17
|
+
street_light_number: { type: DataTypes.STRING(255) },
|
|
18
|
+
street_light_replacement: { type: DataTypes.STRING(255) },
|
|
19
|
+
tv_number: { type: DataTypes.STRING(255) },
|
|
20
|
+
building_permit: { type: DataTypes.BOOLEAN },
|
|
21
|
+
building_permit_state: { type: DataTypes.STRING(255) },
|
|
22
|
+
location_note: { type: DataTypes.STRING(255) },
|
|
23
|
+
site_survey_report: { type: DataTypes.STRING(255) },
|
|
24
|
+
order_state: { type: DataTypes.STRING(255) },
|
|
25
|
+
order_number: { type: DataTypes.STRING(255) },
|
|
26
|
+
design_price_without_vat: { type: DataTypes.INTEGER },
|
|
27
|
+
realization_price_without_vat: { type: DataTypes.INTEGER },
|
|
28
|
+
warranty_end: { type: DataTypes.DATEONLY },
|
|
29
|
+
next_revision: { type: DataTypes.DATEONLY },
|
|
30
|
+
qr_code: { type: DataTypes.STRING(255) },
|
|
31
|
+
supplier: { type: DataTypes.STRING(255) },
|
|
32
|
+
stop_name: { type: DataTypes.STRING(255) },
|
|
33
|
+
stop_type: { type: DataTypes.JSONB },
|
|
34
|
+
site_survey_date: { type: DataTypes.STRING(255) },
|
|
35
|
+
order_planned_deadline: { type: DataTypes.DATEONLY },
|
|
36
|
+
order_registry_publication: { type: DataTypes.BOOLEAN },
|
|
37
|
+
invoice_paid: { type: DataTypes.BOOLEAN },
|
|
38
|
+
initial_revision: { type: DataTypes.DATEONLY },
|
|
39
|
+
asset_registered: { type: DataTypes.BOOLEAN },
|
|
40
|
+
asset_number: { type: DataTypes.STRING(255) },
|
|
41
|
+
insurance: { type: DataTypes.BOOLEAN },
|
|
42
|
+
handed_over_to_ozp: { type: DataTypes.BOOLEAN },
|
|
43
|
+
ropid_documentation_submitted: { type: DataTypes.JSONB },
|
|
44
|
+
ropid_documentation_handover_date: { type: DataTypes.DATEONLY },
|
|
45
|
+
street_name: { type: DataTypes.STRING(255) },
|
|
46
|
+
exit_number: { type: DataTypes.STRING(255) },
|
|
47
|
+
dpp_priority: { type: DataTypes.INTEGER },
|
|
48
|
+
insurance_state: { type: DataTypes.STRING(255) },
|
|
49
|
+
comments: { type: DataTypes.TEXT },
|
|
50
|
+
asw_node_id: { type: DataTypes.STRING(255) },
|
|
51
|
+
asw_stop_id: { type: DataTypes.STRING(255) },
|
|
52
|
+
power_consumption_watt: { type: DataTypes.DECIMAL(10, 2) },
|
|
53
|
+
thmp_element_number: { type: DataTypes.STRING(255) },
|
|
54
|
+
electricity_supply_contract: { type: DataTypes.STRING(255) },
|
|
55
|
+
cleaning_frequency: { type: DataTypes.STRING(255) },
|
|
56
|
+
electricity_consumption_price: { type: DataTypes.DECIMAL(10, 2) },
|
|
57
|
+
ropid_element_id: { type: DataTypes.STRING(255) },
|
|
58
|
+
construction_type: { type: DataTypes.STRING(255) },
|
|
59
|
+
production_price_without_vat: { type: DataTypes.INTEGER },
|
|
60
|
+
serial_number: { type: DataTypes.STRING(255) },
|
|
64
61
|
};
|
|
65
62
|
TotemModel.jsonSchema = {
|
|
66
63
|
type: "array",
|
|
67
64
|
items: {
|
|
68
65
|
type: "object",
|
|
69
66
|
properties: {
|
|
70
|
-
...
|
|
71
|
-
panel_size:
|
|
72
|
-
locality:
|
|
73
|
-
displayed_icon:
|
|
74
|
-
line:
|
|
75
|
-
priority:
|
|
76
|
-
site_survey:
|
|
77
|
-
installation_height:
|
|
78
|
-
street_light_number:
|
|
79
|
-
street_light_replacement:
|
|
80
|
-
tv_number:
|
|
81
|
-
building_permit:
|
|
82
|
-
building_permit_state:
|
|
83
|
-
location_note:
|
|
84
|
-
site_survey_report:
|
|
85
|
-
order_state:
|
|
86
|
-
order_number:
|
|
87
|
-
design_price_without_vat:
|
|
88
|
-
realization_price_without_vat:
|
|
89
|
-
warranty_end:
|
|
90
|
-
next_revision:
|
|
91
|
-
qr_code:
|
|
92
|
-
supplier:
|
|
93
|
-
stop_name:
|
|
94
|
-
stop_type:
|
|
95
|
-
site_survey_date:
|
|
96
|
-
order_planned_deadline:
|
|
97
|
-
order_registry_publication:
|
|
98
|
-
invoice_paid:
|
|
99
|
-
initial_revision:
|
|
100
|
-
asset_registered:
|
|
101
|
-
asset_number:
|
|
102
|
-
insurance:
|
|
103
|
-
handed_over_to_ozp:
|
|
104
|
-
ropid_documentation_submitted:
|
|
105
|
-
ropid_documentation_handover_date:
|
|
106
|
-
street_name:
|
|
107
|
-
exit_number:
|
|
108
|
-
dpp_priority:
|
|
109
|
-
insurance_state:
|
|
110
|
-
comments:
|
|
111
|
-
asw_node_id:
|
|
112
|
-
asw_stop_id:
|
|
113
|
-
power_consumption_watt:
|
|
114
|
-
thmp_element_number:
|
|
115
|
-
electricity_supply_contract:
|
|
116
|
-
cleaning_frequency:
|
|
117
|
-
electricity_consumption_price:
|
|
118
|
-
ropid_element_id:
|
|
119
|
-
construction_type:
|
|
120
|
-
production_price_without_vat:
|
|
121
|
-
serial_number:
|
|
67
|
+
...AbstractElementModel.elementJSONSchemaProperties,
|
|
68
|
+
panel_size: nullableString,
|
|
69
|
+
locality: nullableString,
|
|
70
|
+
displayed_icon: nullableStringArray,
|
|
71
|
+
line: nullableStringArray,
|
|
72
|
+
priority: nullableNumber,
|
|
73
|
+
site_survey: nullableString,
|
|
74
|
+
installation_height: nullableString,
|
|
75
|
+
street_light_number: nullableString,
|
|
76
|
+
street_light_replacement: nullableString,
|
|
77
|
+
tv_number: nullableString,
|
|
78
|
+
building_permit: nullableBoolean,
|
|
79
|
+
building_permit_state: nullableString,
|
|
80
|
+
location_note: nullableString,
|
|
81
|
+
site_survey_report: nullableString,
|
|
82
|
+
order_state: nullableString,
|
|
83
|
+
order_number: nullableString,
|
|
84
|
+
design_price_without_vat: nullableNumber,
|
|
85
|
+
realization_price_without_vat: nullableNumber,
|
|
86
|
+
warranty_end: nullableDateString,
|
|
87
|
+
next_revision: nullableDateString,
|
|
88
|
+
qr_code: nullableString,
|
|
89
|
+
supplier: nullableString,
|
|
90
|
+
stop_name: nullableString,
|
|
91
|
+
stop_type: nullableStringArray,
|
|
92
|
+
site_survey_date: nullableString,
|
|
93
|
+
order_planned_deadline: nullableDateString,
|
|
94
|
+
order_registry_publication: nullableBoolean,
|
|
95
|
+
invoice_paid: nullableBoolean,
|
|
96
|
+
initial_revision: nullableDateString,
|
|
97
|
+
asset_registered: nullableBoolean,
|
|
98
|
+
asset_number: nullableString,
|
|
99
|
+
insurance: nullableBoolean,
|
|
100
|
+
handed_over_to_ozp: nullableBoolean,
|
|
101
|
+
ropid_documentation_submitted: nullableStringArray,
|
|
102
|
+
ropid_documentation_handover_date: nullableDateString,
|
|
103
|
+
street_name: nullableString,
|
|
104
|
+
exit_number: nullableString,
|
|
105
|
+
dpp_priority: nullableNumber,
|
|
106
|
+
insurance_state: nullableString,
|
|
107
|
+
comments: nullableString,
|
|
108
|
+
asw_node_id: nullableString,
|
|
109
|
+
asw_stop_id: nullableString,
|
|
110
|
+
power_consumption_watt: nullableNumber,
|
|
111
|
+
thmp_element_number: nullableString,
|
|
112
|
+
electricity_supply_contract: nullableString,
|
|
113
|
+
cleaning_frequency: nullableString,
|
|
114
|
+
electricity_consumption_price: nullableNumber,
|
|
115
|
+
ropid_element_id: nullableString,
|
|
116
|
+
construction_type: nullableString,
|
|
117
|
+
production_price_without_vat: nullableNumber,
|
|
118
|
+
serial_number: nullableString,
|
|
122
119
|
},
|
|
123
|
-
required:
|
|
120
|
+
required: AbstractElementModel.elementJSONSchemaRequired,
|
|
124
121
|
additionalProperties: false,
|
|
125
122
|
},
|
|
126
123
|
};
|