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
@@ -0,0 +1,8 @@
export declare class AdminBoundary {
id: number;
country_code: string;
admin_level: number;
name_ar: string;
name_en: string;
geom: any;
}
@@ -0,0 +1,54 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdminBoundary = void 0;
const typeorm_1 = require("typeorm");
let AdminBoundary = class AdminBoundary {
id;
country_code;
admin_level;
name_ar;
name_en;
geom;
};
exports.AdminBoundary = AdminBoundary;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)(),
__metadata("design:type", Number)
], AdminBoundary.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ length: 3 }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], AdminBoundary.prototype, "country_code", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int' }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], AdminBoundary.prototype, "admin_level", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], AdminBoundary.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], AdminBoundary.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'geometry', spatialFeatureType: 'MultiPolygon', srid: 4326, nullable: true }),
(0, typeorm_1.Index)({ spatial: true }),
__metadata("design:type", Object)
], AdminBoundary.prototype, "geom", void 0);
exports.AdminBoundary = AdminBoundary = __decorate([
(0, typeorm_1.Entity)('admin_boundaries')
], AdminBoundary);
//# sourceMappingURL=admin-boundary.entity.js.map
@@ -0,0 +1 @@
{"version":3,"file":"admin-boundary.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/admin-boundary.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwE;AAGjE,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,EAAE,CAAS;IAIX,YAAY,CAAS;IAIrB,WAAW,CAAS;IAIpB,OAAO,CAAS;IAGhB,OAAO,CAAS;IAIhB,IAAI,CAAM;CACX,CAAA;AAtBY,sCAAa;AAExB;IADC,IAAA,gCAAsB,GAAE;;yCACd;AAIX;IAFC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;IACrB,IAAA,eAAK,GAAE;;mDACa;AAIrB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IACvB,IAAA,eAAK,GAAE;;kDACY;AAIpB;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC1B,IAAA,eAAK,GAAE;;8CACQ;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACX;AAIhB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5F,IAAA,eAAK,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;2CACf;wBArBC,aAAa;IADzB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,aAAa,CAsBzB"}
+20
View File
@@ -0,0 +1,20 @@
export declare abstract class BasePlace {
id: number;
latitude: number;
longitude: number;
name: string;
name_ar: string;
name_en: string;
address: string;
category: string;
neighbourhood: string;
city: string;
description: string;
created_at: Date;
source: string;
location: any;
governorate_id: number;
district_id: number;
sub_district_id: number;
neighborhood_id: number;
}
+114
View File
@@ -0,0 +1,114 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasePlace = void 0;
const typeorm_1 = require("typeorm");
class BasePlace {
id;
latitude;
longitude;
name;
name_ar;
name_en;
address;
category;
neighbourhood;
city;
description;
created_at;
source;
location;
governorate_id;
district_id;
sub_district_id;
neighborhood_id;
}
exports.BasePlace = BasePlace;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)(),
__metadata("design:type", Number)
], BasePlace.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 8, nullable: true }),
__metadata("design:type", Number)
], BasePlace.prototype, "latitude", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'decimal', precision: 11, scale: 8, nullable: true }),
__metadata("design:type", Number)
], BasePlace.prototype, "longitude", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], BasePlace.prototype, "name", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], BasePlace.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "address", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "category", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "neighbourhood", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "city", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "description", void 0);
__decorate([
(0, typeorm_1.CreateDateColumn)(),
__metadata("design:type", Date)
], BasePlace.prototype, "created_at", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], BasePlace.prototype, "source", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'geometry', spatialFeatureType: 'Point', srid: 4326, nullable: true }),
(0, typeorm_1.Index)({ spatial: true }),
__metadata("design:type", Object)
], BasePlace.prototype, "location", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], BasePlace.prototype, "governorate_id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], BasePlace.prototype, "district_id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], BasePlace.prototype, "sub_district_id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], BasePlace.prototype, "neighborhood_id", void 0);
//# sourceMappingURL=base-place.entity.js.map
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,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACd;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACrB;AAGpB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;6CAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAIf;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrF,IAAA,eAAK,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;2CACX;AAId;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,eAAK,GAAE;;iDACe;AAIvB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,eAAK,GAAE;;8CACY;AAIpB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,eAAK,GAAE;;kDACgB;AAIxB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,eAAK,GAAE;;kDACgB"}
@@ -0,0 +1,10 @@
export declare class NeighborhoodPoint {
id: number;
osm_id: number;
name_ar: string;
name_en: string;
place_type: string;
district_id: number;
country: string;
geometry: any;
}
@@ -0,0 +1,65 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NeighborhoodPoint = void 0;
const typeorm_1 = require("typeorm");
let NeighborhoodPoint = class NeighborhoodPoint {
id;
osm_id;
name_ar;
name_en;
place_type;
district_id;
country;
geometry;
};
exports.NeighborhoodPoint = NeighborhoodPoint;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)(),
__metadata("design:type", Number)
], NeighborhoodPoint.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'bigint', unique: true, nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], NeighborhoodPoint.prototype, "osm_id", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], NeighborhoodPoint.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], NeighborhoodPoint.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], NeighborhoodPoint.prototype, "place_type", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], NeighborhoodPoint.prototype, "district_id", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], NeighborhoodPoint.prototype, "country", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'geometry', spatialFeatureType: 'Point', srid: 4326 }),
(0, typeorm_1.Index)({ spatial: true }),
__metadata("design:type", Object)
], NeighborhoodPoint.prototype, "geometry", void 0);
exports.NeighborhoodPoint = NeighborhoodPoint = __decorate([
(0, typeorm_1.Entity)('neighborhood_points')
], NeighborhoodPoint);
//# sourceMappingURL=neighborhood-point.entity.js.map
@@ -0,0 +1 @@
{"version":3,"file":"neighborhood-point.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/neighborhood-point.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwE;AAGjE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAE5B,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,OAAO,CAAS;IAGhB,OAAO,CAAS;IAGhB,UAAU,CAAS;IAInB,WAAW,CAAS;IAIpB,OAAO,CAAS;IAIhB,QAAQ,CAAM;CACf,CAAA;AA7BY,8CAAiB;AAE5B;IADC,IAAA,gCAAsB,GAAE;;6CACd;AAIX;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxD,IAAA,eAAK,GAAE;;iDACO;AAIf;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC1B,IAAA,eAAK,GAAE;;kDACQ;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACR;AAInB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,eAAK,GAAE;;sDACY;AAIpB;IAFC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC1B,IAAA,eAAK,GAAE;;kDACQ;AAIhB;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrE,IAAA,eAAK,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;mDACX;4BA5BH,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,iBAAiB,CA6B7B"}
@@ -0,0 +1,12 @@
export declare class NeighborhoodPolygon {
id: number;
osm_id: number;
name_ar: string;
name_en: string;
place_type: string;
parent_id: number;
method: string;
country: string;
confidence: number;
geometry: any;
}
@@ -0,0 +1,75 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NeighborhoodPolygon = void 0;
const typeorm_1 = require("typeorm");
let NeighborhoodPolygon = class NeighborhoodPolygon {
id;
osm_id;
name_ar;
name_en;
place_type;
parent_id;
method;
country;
confidence;
geometry;
};
exports.NeighborhoodPolygon = NeighborhoodPolygon;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)(),
__metadata("design:type", Number)
], NeighborhoodPolygon.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], NeighborhoodPolygon.prototype, "osm_id", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], NeighborhoodPolygon.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], NeighborhoodPolygon.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], NeighborhoodPolygon.prototype, "place_type", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", Number)
], NeighborhoodPolygon.prototype, "parent_id", void 0);
__decorate([
(0, typeorm_1.Column)({ default: 'voronoi' }),
__metadata("design:type", String)
], NeighborhoodPolygon.prototype, "method", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
(0, typeorm_1.Index)(),
__metadata("design:type", String)
], NeighborhoodPolygon.prototype, "country", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'float', default: 0.7 }),
__metadata("design:type", Number)
], NeighborhoodPolygon.prototype, "confidence", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'geometry', spatialFeatureType: 'MultiPolygon', srid: 4326 }),
(0, typeorm_1.Index)({ spatial: true }),
__metadata("design:type", Object)
], NeighborhoodPolygon.prototype, "geometry", void 0);
exports.NeighborhoodPolygon = NeighborhoodPolygon = __decorate([
(0, typeorm_1.Entity)('neighborhood_polygons')
], NeighborhoodPolygon);
//# sourceMappingURL=neighborhood-polygon.entity.js.map
@@ -0,0 +1 @@
{"version":3,"file":"neighborhood-polygon.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/neighborhood-polygon.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwE;AAGjE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,OAAO,CAAS;IAGhB,OAAO,CAAS;I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 -4,6 +4,7 @@ export declare class OsmPointWithArea {
latitude: number;
name: string;
name_ar: string;
name_en: string;
amenity: string;
shop: string;
addr_street: string;
@@ -17,6 +17,7 @@ let OsmPointWithArea = class OsmPointWithArea {
latitude;
name;
name_ar;
name_en;
amenity;
shop;
addr_street;
@@ -46,6 +47,10 @@ __decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], OsmPointWithArea.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], OsmPointWithArea.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
@@ -1 +1 @@
{"version":3,"file":"osm-point-with-area.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/osm-point-with-area.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwD;AAGjD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAE3B,MAAM,CAAS;IAGf,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAGb,OAAO,CAAS;IAGhB,OAAO,CAAS;IAGhB,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,kBAAkB,CAAS;IAG3B,SAAS,CAAS;IAGlB,UAAU,CAAS;IAGnB,IAAI,CAAM;CACX,CAAA;AApCY,4CAAgB;AAE3B;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;gDACnB;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACnD;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACpD;AAGjB;IADC,IA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;8CAChE;2BAtCC,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,gBAAgB,CAuC5B"}
@@ -0,0 +1,3 @@
import { BasePlace } from './base-place.entity';
export declare class PlaceEgypt extends BasePlace {
}
+18
View File
@@ -0,0 +1,18 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlaceEgypt = void 0;
const typeorm_1 = require("typeorm");
const base_place_entity_1 = require("./base-place.entity");
let PlaceEgypt = class PlaceEgypt extends base_place_entity_1.BasePlace {
};
exports.PlaceEgypt = PlaceEgypt;
exports.PlaceEgypt = PlaceEgypt = __decorate([
(0, typeorm_1.Entity)('places_egypt')
], PlaceEgypt);
//# sourceMappingURL=place-egypt.entity.js.map
@@ -0,0 +1 @@
{"version":3,"file":"place-egypt.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/place-egypt.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAiC;AACjC,2DAAgD;AAGzC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,6BAAS;CAAG,CAAA;AAA/B,gCAAU;qBAAV,UAAU;IADtB,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,UAAU,CAAqB"}
@@ -0,0 +1,3 @@
import { BasePlace } from './base-place.entity';
export declare class PlaceJordan extends BasePlace {
}
+18
View File
@@ -0,0 +1,18 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlaceJordan = void 0;
const typeorm_1 = require("typeorm");
const base_place_entity_1 = require("./base-place.entity");
let PlaceJordan = class PlaceJordan extends base_place_entity_1.BasePlace {
};
exports.PlaceJordan = PlaceJordan;
exports.PlaceJordan = PlaceJordan = __decorate([
(0, typeorm_1.Entity)('places_jordan')
], PlaceJordan);
//# sourceMappingURL=place-jordan.entity.js.map
@@ -0,0 +1 @@
{"version":3,"file":"place-jordan.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/place-jordan.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAiC;AACjC,2DAAgD;AAGzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,6BAAS;CAAG,CAAA;AAAhC,kCAAW;sBAAX,WAAW;IADvB,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,WAAW,CAAqB"}
+2 -11
View File
@@ -1,12 +1,3 @@
export declare class PlaceSyria {
id: number;
latitude: number;
longitude: number;
name: string;
name_ar: string;
name_en: string;
address: string;
category: string;
created_at: Date;
location: any;
import { BasePlace } from './base-place.entity';
export declare class PlaceSyria extends BasePlace {
}
+2 -54
View File
@@ -5,65 +5,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlaceSyria = void 0;
const typeorm_1 = require("typeorm");
let PlaceSyria = class PlaceSyria {
id;
latitude;
longitude;
name;
name_ar;
name_en;
address;
category;
created_at;
location;
const base_place_entity_1 = require("./base-place.entity");
let PlaceSyria = class PlaceSyria extends base_place_entity_1.BasePlace {
};
exports.PlaceSyria = PlaceSyria;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)(),
__metadata("design:type", Number)
], PlaceSyria.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 8, nullable: true }),
__metadata("design:type", Number)
], PlaceSyria.prototype, "latitude", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'decimal', precision: 11, scale: 8, nullable: true }),
__metadata("design:type", Number)
], PlaceSyria.prototype, "longitude", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], PlaceSyria.prototype, "name", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], PlaceSyria.prototype, "name_ar", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], PlaceSyria.prototype, "name_en", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], PlaceSyria.prototype, "address", void 0);
__decorate([
(0, typeorm_1.Column)({ nullable: true }),
__metadata("design:type", String)
], PlaceSyria.prototype, "category", void 0);
__decorate([
(0, typeorm_1.CreateDateColumn)(),
__metadata("design:type", Date)
], PlaceSyria.prototype, "created_at", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'geometry', spatialFeatureType: 'Point', nullable: true }),
__metadata("design:type", Object)
], PlaceSyria.prototype, "location", void 0);
exports.PlaceSyria = PlaceSyria = __decorate([
(0, typeorm_1.Entity)('places_syria')
], PlaceSyria);
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"place-syria.entity.js","sourceRoot":"","sources":["../../../src/geocoding/entities/place-syria.entity.ts"],"names":[],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