2026-04-14-8 auth and commercial

This commit is contained in:
Hamza-Ayed
2026-04-14 20:14:48 +03:00
parent be7dcc2652
commit f5b3f9f790
430 changed files with 6074 additions and 751 deletions
+8 -1
View File
@@ -15,6 +15,7 @@ let RoadSegmentStat = class RoadSegmentStat {
segmentId;
averageSpeed;
congestionFactor;
isClosed;
sampleCount;
geometry;
lastUpdated;
@@ -32,6 +33,11 @@ __decorate([
(0, typeorm_1.Column)('float', { default: 1.0 }),
__metadata("design:type", Number)
], RoadSegmentStat.prototype, "congestionFactor", void 0);
__decorate([
(0, typeorm_1.Column)('boolean', { default: false }),
(0, typeorm_1.Index)(),
__metadata("design:type", Boolean)
], RoadSegmentStat.prototype, "isClosed", void 0);
__decorate([
(0, typeorm_1.Column)('int', { default: 0 }),
__metadata("design:type", Number)
@@ -51,6 +57,7 @@ __decorate([
__metadata("design:type", Date)
], RoadSegmentStat.prototype, "lastUpdated", void 0);
exports.RoadSegmentStat = RoadSegmentStat = __decorate([
(0, typeorm_1.Entity)('road_segment_stats')
(0, typeorm_1.Entity)('road_segment_stats'),
(0, typeorm_1.Index)('idx_segment_congestion', ['congestionFactor'], { where: '"congestionFactor" > 1.1' })
], RoadSegmentStat);
//# sourceMappingURL=road-stat.entity.js.map