-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
89 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Department } from "../../../../../country/region/department/Department" | ||
import { FranceDepartementCode } from "../../FranceDepartementCode" | ||
import { Place } from "../../../../../../place/Place" | ||
import { occitanie } from "../Occitanie" | ||
|
||
export const tarn = new Department(FranceDepartementCode.Tarn, occitanie, Place.fromDMS(`43°49′N,2°12′E`)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { City } from "../../../../../country/region/department/city/City" | ||
import { albi } from "./albi/Albi" | ||
|
||
export const tarnCities: City[] = [ | ||
albi | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export enum TarnCityCode { | ||
Albi = 81004, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { DepartmentMessages } from "../../../../../country/region/department/DepartmentMessages" | ||
import { TarnCityCode } from "./TarnCityCode" | ||
import { albiMessages } from "./albi/AlbiMessages" | ||
import { CityMessages } from "../../../../../country/region/department/city/CityMessages" | ||
|
||
export type TarnCityList<T> = { [key in TarnCityCode]: T } | ||
|
||
const tarnCityMessages: TarnCityList<CityMessages> = { | ||
[TarnCityCode.Albi]: albiMessages | ||
} | ||
|
||
export const tarnMessages = new DepartmentMessages<TarnCityList<CityMessages>>("Tarn", tarnCityMessages) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { franceCity } from "../../../../FranceCity" | ||
import { Place } from "../../../../../../../place/Place" | ||
import { TarnCityCode } from "../TarnCityCode" | ||
|
||
export const albi = franceCity(TarnCityCode.Albi, Place.fromDMS("43°55′44″N,2°08′47″E")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { CityMessages } from "../../../../../../country/region/department/city/CityMessages" | ||
|
||
export const albiMessages = new CityMessages("Albi") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Department } from "../../../../../country/region/department/Department" | ||
import { Place } from "../../../../../../place/Place" | ||
import { PacaDepartementCode } from "../PacaDepartementCode" | ||
import { paca } from "../Paca" | ||
|
||
export let bouchesDuRhone = new Department(PacaDepartementCode.BouchesDuRhone, paca, Place.fromDMS("43°30′N,5°10′E")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { City } from "../../../../../country/region/department/city/City" | ||
import { eyragues } from "./eyragues/Eyragues" | ||
|
||
export const bouchesDuRhoneCities: City[] = [ | ||
eyragues | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export enum BouchesDuRhoneCityCode { | ||
Eyragues = 13036, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { eyraguesMessages } from "./eyragues/EyraguesMessages" | ||
import { BouchesDuRhoneCityCode } from "./BouchesDuRhoneCityCode" | ||
import { CityMessages } from "../../../../../country/region/department/city/CityMessages" | ||
import { DepartmentMessages } from "../../../../../country/region/department/DepartmentMessages" | ||
|
||
export type BouchesDuRhoneCityList<T> = { [key in BouchesDuRhoneCityCode]: T } | ||
|
||
export const bouchesDuRhoneCityMessages: BouchesDuRhoneCityList<CityMessages> = { | ||
[BouchesDuRhoneCityCode.Eyragues]: eyraguesMessages | ||
} | ||
|
||
export const bouchesDuRhoneMessages = new DepartmentMessages<BouchesDuRhoneCityList<CityMessages>>("Bouches-du-Rhône", | ||
bouchesDuRhoneCityMessages) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { franceCity } from "../../../../FranceCity" | ||
import { Place } from "../../../../../../../place/Place" | ||
import { BouchesDuRhoneCityCode } from "../BouchesDuRhoneCityCode" | ||
|
||
export const eyragues = franceCity(BouchesDuRhoneCityCode.Eyragues, Place.fromDMS("43°50′31″N,4°50′30″E")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { CityMessages } from "../../../../../../country/region/department/city/CityMessages" | ||
|
||
export const eyraguesMessages = new CityMessages("Eyragues") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { FranceDepartementCode } from "../FranceDepartementCode" | ||
|
||
export enum PacaDepartementCode { | ||
HautesAlpes = FranceDepartementCode.HautesAlpes, | ||
Vaucluse = FranceDepartementCode.Vaucluse, | ||
AlpesMaritimes = FranceDepartementCode.AlpesMaritimes, | ||
BouchesDuRhone = FranceDepartementCode.BouchesDuRhone, | ||
HautesAlpes = FranceDepartementCode.HautesAlpes, | ||
Var = FranceDepartementCode.Var, | ||
Vaucluse = FranceDepartementCode.Vaucluse, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters