feat: upgrade to Intaleq Style v3 and enable Egypt routing demo (code only)

This commit is contained in:
Hamza-Ayed
2026-03-28 21:34:21 +03:00
parent 12a206ae85
commit 014848247d
13 changed files with 2620 additions and 724 deletions
@@ -0,0 +1,45 @@
import { Column, PrimaryGeneratedColumn, CreateDateColumn, Index } from 'typeorm';
export abstract class BasePlace {
@PrimaryGeneratedColumn()
id: number;
@Column({ type: 'decimal', precision: 10, scale: 8, nullable: true })
latitude: number;
@Column({ type: 'decimal', precision: 11, scale: 8, nullable: true })
longitude: number;
@Column({ nullable: true })
@Index()
name: string;
@Column({ nullable: true })
@Index()
name_ar: string;
@Column({ nullable: true })
name_en: string;
@Column({ nullable: true })
address: string;
@Column({ nullable: true })
category: string;
@Column({ nullable: true })
neighbourhood: string;
@Column({ nullable: true })
city: string;
@Column({ type: 'text', nullable: true })
description: string;
@CreateDateColumn()
created_at: Date;
@Column({ type: 'geometry', spatialFeatureType: 'Point', srid: 4326, nullable: true })
@Index({ spatial: true })
location: any;
}