@rr0/cms 0.2.5 → 0.3.1
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/dist/RR0Build.js +5 -4
- package/dist/RR0Context.d.ts +1 -1
- package/dist/book/BookService.d.ts +1 -2
- package/dist/book/BookService.test.js +3 -4
- package/dist/org/{Organization.d.ts → CmsOrganization.d.ts} +5 -8
- package/dist/org/{Organization.js → CmsOrganization.js} +3 -8
- package/dist/org/CountryMessagesList.d.ts +1 -1
- package/dist/org/OrgMessages.d.ts +2 -2
- package/dist/org/OrganizationFactory.d.ts +3 -3
- package/dist/org/OrganizationFactory.js +2 -2
- package/dist/org/OrganizationJson.d.ts +1 -1
- package/dist/org/OrganizationMessages.d.ts +3 -3
- package/dist/org/OrganizationService.d.ts +2 -2
- package/dist/org/au/Australia.d.ts +2 -2
- package/dist/org/au/Australia.js +3 -2
- package/dist/org/br/Brazil.d.ts +3 -3
- package/dist/org/br/Brazil.js +5 -5
- package/dist/org/br/region/BrazilRegions.d.ts +2 -2
- package/dist/org/br/region/cw/CentralWest.d.ts +1 -1
- package/dist/org/br/region/cw/CentralWestCities.d.ts +2 -2
- package/dist/org/br/region/cw/federaldistrict/70000-000/Brasilia.d.ts +1 -1
- package/dist/org/br/region/cw/federaldistrict/FederalDistrict.d.ts +2 -2
- package/dist/org/br/region/cw/federaldistrict/FederalDistrict.js +3 -3
- package/dist/org/br/region/cw/federaldistrict/FederalDistrictCities.d.ts +2 -2
- package/dist/org/br/region/se/SouthEast.d.ts +1 -1
- package/dist/org/br/region/se/SouthEastCities.d.ts +2 -2
- package/dist/org/br/region/se/SouthEastDepartments.d.ts +2 -2
- package/dist/org/ca/Canada.d.ts +2 -2
- package/dist/org/ca/Canada.js +3 -2
- package/dist/org/ca/region/ab/eastman/sundown/Sundown.d.ts +1 -1
- package/dist/org/ca/region/bc/rdck/Castlegar/Castlegar.d.ts +1 -1
- package/dist/org/ca/region/mb/eastman/sundown/Sundown.d.ts +1 -1
- package/dist/org/cn/China.d.ts +2 -2
- package/dist/org/cn/China.js +3 -2
- package/dist/org/cn/region/n/ji/Tianjin/Tianjin.d.ts +1 -1
- package/dist/org/co/Colombia.d.ts +3 -3
- package/dist/org/co/Colombia.js +3 -2
- package/dist/org/country/CmsCountry.d.ts +6 -0
- package/dist/org/country/CmsCountry.js +7 -0
- package/dist/org/country/Countries.d.ts +2 -0
- package/dist/org/country/Countries.js +85 -0
- package/dist/org/country/CountryService.d.ts +2 -3
- package/dist/org/country/CountryService.js +0 -83
- package/dist/org/country/index.d.ts +1 -3
- package/dist/org/country/index.js +1 -3
- package/dist/org/country/region/Region.d.ts +3 -3
- package/dist/org/country/region/Region.js +3 -3
- package/dist/org/country/region/RegionService.d.ts +2 -2
- package/dist/org/country/region/department/Department.d.ts +4 -4
- package/dist/org/country/region/department/Department.js +3 -3
- package/dist/org/country/region/department/city/City.d.ts +3 -3
- package/dist/org/country/region/department/city/City.js +3 -3
- package/dist/org/do/DominicanRepublic.d.ts +3 -3
- package/dist/org/do/DominicanRepublic.js +3 -2
- package/dist/org/dz/Algeria.d.ts +2 -2
- package/dist/org/dz/Algeria.js +3 -2
- package/dist/org/dz/region/al/Alger/Alger.d.ts +1 -1
- package/dist/org/ec/Ecuador.d.ts +2 -2
- package/dist/org/ec/Ecuador.js +3 -2
- package/dist/org/eg/Egypt.d.ts +2 -2
- package/dist/org/eg/Egypt.js +3 -2
- package/dist/org/eu/Region_eu.d.ts +2 -2
- package/dist/org/eu/de/Germany.d.ts +2 -2
- package/dist/org/eu/de/Germany.js +3 -3
- package/dist/org/eu/dk/Denmark.d.ts +2 -2
- package/dist/org/eu/dk/Denmark.js +3 -3
- package/dist/org/eu/es/Spain.d.ts +2 -2
- package/dist/org/eu/es/Spain.js +3 -3
- package/dist/org/eu/es/region/cat/lleida/LleidaCities.d.ts +2 -2
- package/dist/org/eu/es/region/cat/lleida/lleida/Lleida.d.ts +1 -1
- package/dist/org/eu/fi/Finland.d.ts +2 -2
- package/dist/org/eu/fi/Finland.js +3 -3
- package/dist/org/eu/fi/FinlandDepartments.d.ts +2 -2
- package/dist/org/eu/fi/region/FinlandDepartments.d.ts +1 -1
- package/dist/org/eu/fi/region/nk/NorthKareliaDepartments.d.ts +2 -2
- package/dist/org/eu/fi/region/p/nwp/parkano/Parkano.d.ts +1 -1
- package/dist/org/eu/fr/France.d.ts +2 -2
- package/dist/org/eu/fr/France.js +3 -3
- package/dist/org/eu/fr/France_en.js +1 -1
- package/dist/org/eu/fr/France_fr.js +1 -1
- package/dist/org/eu/fr/cnes/geipan/geipan/GeipanCaseSummary.d.ts +1 -1
- package/dist/org/eu/fr/region/FranceRegions.d.ts +2 -2
- package/dist/org/eu/fr/region/ara/01/HautevilleLompnes/HautevilleLompnes.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/03/montmarault/Montmarault.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/03/valonensully/VallonEnSully.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/07/Coux/Coux.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/07/Largentiere/Largentiere.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/07/VernouxEnVivarais/VernouxEnVivarais.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/15/mauriac/Mauriac.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/15/pierrefort/Pierrefort.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/26/Chateaudouble/Chateaudouble.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Allevard/Allevard.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Chirens/Chirens.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Domene/Domene.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/IsereCities.d.ts +2 -2
- package/dist/org/eu/fr/region/ara/38/Meylan/Meylan.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Renage/Renage.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/SaintGeoireEnValdaine/SaintGeoireEnValdaine.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/SaintMarcellin/SaintMarcellin.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/SaintVerand/SaintVerand.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Valbonnais/Valbonnais.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/38/Venon/Venon.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/42/Montbrison/Montbrison.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/42/Roanne/Roanne.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/42/SaintEtienne/SaintEtienne.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/63/Billom/Billom.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/63/ChatelGuyon/ChatelGuyon.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/63/Riom/Riom.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/69/Belleville/Belleville.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/69/Lyon/Lyon.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/69/Rhone.d.ts +2 -2
- package/dist/org/eu/fr/region/ara/69/Rhone.js +3 -3
- package/dist/org/eu/fr/region/ara/69/RhoneCities.d.ts +2 -2
- package/dist/org/eu/fr/region/ara/73/SaintJeanDeMaurienne/SaintJeanDeMaurienne.d.ts +1 -1
- package/dist/org/eu/fr/region/ara/AuvergneRhoneAlpesCities.d.ts +2 -2
- package/dist/org/eu/fr/region/bfc/21/MirebeauSurBeze/MirebeauSurBeze.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/21/Vitteaux/Vitteaux.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/25/AmathayVesigneux/AmathayVesigneux.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/25/Ouhans/Ouhans.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/39/SaintClaude/SaintClaude.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/56/Locmine/Locmine.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/58/ChateauneufValDeBargis/ChateauneufValDeBargis.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/71/Joncy/Joncy.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/71/Verosvres/Verosvres.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/Avallon/Avallon.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/FlognyLaChapelle/FlognyLaChapelle.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/JouxLaVille/JouxLaVille.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/PrecyLeSec/PrecyLeSec.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/Provency/Provency.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/SaintMore/SaintMore.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/Vermenton/Vermenton.d.ts +1 -1
- package/dist/org/eu/fr/region/bfc/89/Villy/Villy.d.ts +1 -1
- package/dist/org/eu/fr/region/bre/35/pleinefougeres/PleineFougeres.d.ts +1 -1
- package/dist/org/eu/fr/region/com/988/noumea/Noumea.d.ts +1 -1
- package/dist/org/eu/fr/region/com/CollectiviteOutreMer.d.ts +2 -2
- package/dist/org/eu/fr/region/com/CollectiviteOutreMer.js +3 -3
- package/dist/org/eu/fr/region/cvl/18/ChateauneufSurCher/ChateauneufSurCher.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/36/Issoudun/Issoudun.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/37/Blere/Blere.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/37/ChambourgSurIndre/ChambourgSurIndre.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/37/Monts/Monts.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/45/bou/Bou.d.ts +1 -1
- package/dist/org/eu/fr/region/cvl/45/chateaurenard/ChateauRenard.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/08/Revin/Revin.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/51/MarneCities.d.ts +2 -2
- package/dist/org/eu/fr/region/ges/51/Reims/Reims.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/54/CosnesEtRomain/CosnesEtRomain.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/54/MeurtheEtMoselleCities.d.ts +2 -2
- package/dist/org/eu/fr/region/ges/54/Nancy/Nancy.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/54/NeuvesMaisons/NeuvesMaisons.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/55/GondrecourtLeChateau/GondrecourtLeChateau.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/55/Vaucouleurs/Vaucouleurs.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/55/VoidVacon/VoidVacon.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/57/ArsSurMoselle/ArsSurMoselle.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/57/Bouzonville/Bouzonville.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/57/Forbach/Forbach.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/57/MontignyLesMetz/MontignyLesMetz.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/67/Bischwiller/Bischwiller.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/67/Urmatt/Urmatt.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/68/Mulhouse/Mulhouse.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/88/Anglemont/Anglemont.d.ts +1 -1
- package/dist/org/eu/fr/region/ges/88/Epinal/Epinal.d.ts +1 -1
- package/dist/org/eu/fr/region/gua/971/CapesterreMarieGalante/CapesterreMarieGalante.d.ts +1 -1
- package/dist/org/eu/fr/region/gua/971/LeMoule/LeMoule.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/02/SainsRichaumont/SainsRichaumont.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/59/Aniche/Aniche.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/59/AvesnesLesAubert/AvesnesLesAubert.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/59/Jeumont/Jeumont.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/59/Thiant/Thiant.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/62/Calais/Calais.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/62/NeuvilleSaintVaast/NeuvilleSaintVaast.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/62/SaintPolSurTernoise/SaintPolSurTernoise.d.ts +1 -1
- package/dist/org/eu/fr/region/hdf/80/bernaville/Bernaville.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/NeuillyEnThelle/NeuillyEnThelle.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/PontLEveque/PontLEveque.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/PontSainteMaxence/PontSainteMaxence.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/RibecourtDreslincourt/RibecourtDreslincourt.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/compiegne/Compiegne.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/60/morlincourt/Morlincourt.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/75/paris/Paris.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/77/SivryCourtry/SivryCourtry.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/78/mesnilleroi/MesnilLeRoi.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/78/neauphlelechateau/NeauphleLeChateau.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/78/noisyleroi/NoisyLeRoi.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/91/wissous/Wissous.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/92/BoisColombes/BoisColombes.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/92/Colombes/Colombes.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/92/Nanterre/Nanterre.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/95/taverny/Taverny.d.ts +1 -1
- package/dist/org/eu/fr/region/idf/IdfDepartments.d.ts +2 -2
- package/dist/org/eu/fr/region/lre/974/SaintBenoit/SaintBenoit.d.ts +1 -1
- package/dist/org/eu/fr/region/lre/974/SaintDenis/SaintDenis.d.ts +1 -1
- package/dist/org/eu/fr/region/lre/974/SaintPaul/SaintPaul.d.ts +1 -1
- package/dist/org/eu/fr/region/lre/974/SaintPierre/SaintPierre.d.ts +1 -1
- package/dist/org/eu/fr/region/lre/974/SainteMarie/SainteMarie.d.ts +1 -1
- package/dist/org/eu/fr/region/mtq/972/CasePilote/CasePilote.d.ts +1 -1
- package/dist/org/eu/fr/region/mtq/972/FortDeFrance/FortDeFrance.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/16/Angouleme/Angouleme.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/16/CharenteCities.d.ts +2 -2
- package/dist/org/eu/fr/region/naq/16/Montigne/Montigne.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/16/Rouillac/Rouillac.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/16/Villeboislavalette/VilleboisLavalette.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/17/Matha/Matha.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/17/SaintJeanAngely/SaintJeanAngely.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/17/Saujon/Saujon.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/17/StMartinDeRe/StMartinDeRe.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/19/BriveLaGaillarde/BriveLaGaillarde.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/19/LarochePresFeyt/LarochePresFeyt.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/23/Chambon/Chambon.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/24/Eymet/Eymet.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/33/Cestas/Cestas.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/33/Etauliers/Etauliers.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/33/StAndreDeCubzac/StAndreDeCubzac.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/40/MontDeMarsan/MontDeMarsan.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/47/LaroqueTimbaut/LaroqueTimbaut.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/47/PontDuCasse/PontDuCasse.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/64/Nay/Nay.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/79/Magne/Magne.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/86/Lavoux/Lavoux.d.ts +1 -1
- package/dist/org/eu/fr/region/naq/NouvelleAquitaineCities.d.ts +2 -2
- package/dist/org/eu/fr/region/naq/NouvelleAquitaineDepartments.d.ts +2 -2
- package/dist/org/eu/fr/region/nor/14/PontLEveque/PontLEveque.d.ts +1 -1
- package/dist/org/eu/fr/region/nor/14/SaintAubinSurMer/SaintAubinSurMer.d.ts +1 -1
- package/dist/org/eu/fr/region/nor/76/CrielSurMer/CrielSurMer.d.ts +1 -1
- package/dist/org/eu/fr/region/nor/76/Dieppe/Dieppe.d.ts +1 -1
- package/dist/org/eu/fr/region/nor/76/Londe/Londe.d.ts +1 -1
- package/dist/org/eu/fr/region/nor/76/SaintAubinSurMer/SaintAubinSurMer.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/09/cos/Cos.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/11/AudeCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/11/cucugnan/Cucugnan.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/12/Espalion/Espalion.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/30/GardCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/30/SaintGilles/StGilles.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/30/ledignan/Ledignan.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/31/HauteGaronneCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/31/loudet/Loudet.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/31/stplancard/StPlancard.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/31/toulouse/Toulouse.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/32/Condom/Condom.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/32/Estang/Estang.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/32/MiramontDAstarac/MiramontDAstarac.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/34/HeraultCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/34/Montpellier/Montpellier.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/34/SaintGeniesDesMourgues/SaintGeniesDesMourgues.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/65/Tarbes/Tarbes.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/66/Planes/Planes.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/66/PortePuymorens/PortePuymorens.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/66/Thuir/Thuir.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/81/Albi/Albi.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/81/CastelnauDeMontmiral/CastelnauDeMontmiral.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/81/TarnCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/82/TarnEtGaronne.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/82/TarnEtGaronne.js +3 -3
- package/dist/org/eu/fr/region/occ/82/touffailles/Touffailles.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/87/HauteVienne.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/87/HauteVienne.js +3 -3
- package/dist/org/eu/fr/region/occ/87/jabreilles/Jabreilles.d.ts +1 -1
- package/dist/org/eu/fr/region/occ/OccitanieCities.d.ts +2 -2
- package/dist/org/eu/fr/region/occ/OccitanieDepartments.d.ts +2 -2
- package/dist/org/eu/fr/region/pac/04/Barcelonnette/Barcelonnette.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/04/Entrevaux/Entrevaux.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/04/LauzetUbaye/LauzetUbaye.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/05/briancon/Briancon.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/06/cagnessurmer/CagnesSurMer.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/06/cannes/Cannes.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/13/eyragues/Eyragues.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/83/Carces/Carces.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/83/FoxAmphoux/FoxAmphoux.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/83/Grimaud/Grimaud.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/84/Bollene/Bollene.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/85/Chantonnay/Chantonnay.d.ts +1 -1
- package/dist/org/eu/fr/region/pac/PacaDepartments.d.ts +2 -2
- package/dist/org/eu/fr/region/pdl/44/LeCroisic/LeCroisic.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/44/LorouxBottereau/LorouxBottereau.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/44/Reze/Reze.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/49/Angers/Angers.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/49/Cholet/Cholet.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/53/ChateauGontier/ChateauGontier.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/72/LeMans/LeMans.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/72/SougeLeGanelon/SougeLeGanelon.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/72/SteCerotte/SteCerotte.d.ts +1 -1
- package/dist/org/eu/fr/region/pdl/72/bazoge/Bazoge.d.ts +1 -1
- package/dist/org/eu/pl/Poland.d.ts +2 -2
- package/dist/org/eu/pl/Poland.js +3 -3
- package/dist/org/eu/pl/region/12/sucha/jordanow/Jordanow.d.ts +1 -1
- package/dist/org/ge/Georgia.d.ts +2 -2
- package/dist/org/ge/Georgia.js +3 -2
- package/dist/org/il/Israel.d.ts +2 -2
- package/dist/org/il/Israel.js +3 -2
- package/dist/org/in/India.d.ts +2 -2
- package/dist/org/in/India.js +3 -2
- package/dist/org/index.d.ts +1 -2
- package/dist/org/index.js +1 -2
- package/dist/org/kr/SouthKorea.d.ts +3 -3
- package/dist/org/kr/SouthKorea.js +3 -2
- package/dist/org/mx/Mexico.d.ts +3 -3
- package/dist/org/mx/Mexico.js +3 -2
- package/dist/org/mz/Mozambique.d.ts +3 -3
- package/dist/org/mz/Mozambique.js +3 -2
- package/dist/org/nz/NewZealand.d.ts +3 -3
- package/dist/org/nz/NewZealand.js +3 -2
- package/dist/org/nz/region/NewZealandCities.d.ts +2 -2
- package/dist/org/pa/Panama.d.ts +2 -2
- package/dist/org/pa/Panama.js +3 -2
- package/dist/org/pa/region/al/Alger/Alger.d.ts +1 -1
- package/dist/org/pe/Peru.d.ts +2 -2
- package/dist/org/pe/Peru.js +3 -2
- package/dist/org/ph/Philippines.d.ts +2 -2
- package/dist/org/ph/Philippines.js +3 -2
- package/dist/org/ru/Russia.d.ts +3 -3
- package/dist/org/ru/Russia.js +3 -2
- package/dist/org/ru/region/nc/kb/elbrus/MountElbrus.d.ts +1 -1
- package/dist/org/sc/Seychelles.d.ts +3 -3
- package/dist/org/sc/Seychelles.js +3 -2
- package/dist/org/tn/Tunisia.d.ts +3 -3
- package/dist/org/tn/Tunisia.js +3 -2
- package/dist/org/tw/Taiwan.d.ts +3 -3
- package/dist/org/tw/Taiwan.js +3 -2
- package/dist/org/uk/Uk.d.ts +3 -3
- package/dist/org/uk/Uk.js +3 -2
- package/dist/org/uk/region/eng/sussex/frant/Frant.d.ts +1 -1
- package/dist/org/us/Usa.d.ts +3 -3
- package/dist/org/us/Usa.js +3 -2
- package/dist/org/us/region/UsaCounties.d.ts +2 -2
- package/dist/org/us/region/ak/AlaskaCounties.d.ts +2 -2
- package/dist/org/us/region/al/AlabamaCounties.d.ts +2 -2
- package/dist/org/us/region/al/geneva/slocomb/Slocomb.d.ts +1 -1
- package/dist/org/us/region/ar/ArkansasCounties.d.ts +2 -2
- package/dist/org/us/region/ca/CaDepartment.d.ts +2 -2
- package/dist/org/us/region/ca/CaDepartment.js +3 -3
- package/dist/org/us/region/ca/CaliforniaCounties.d.ts +2 -2
- package/dist/org/us/region/ca/sandiego/SanDiego.d.ts +1 -1
- package/dist/org/us/region/ca/sandiego/SanDiegoCity.d.ts +1 -1
- package/dist/org/us/region/ca/sandiego/camppendleton/CampPendleton.d.ts +1 -1
- package/dist/org/us/region/ca/sandiego/oceanside/OceanSide.d.ts +1 -1
- package/dist/org/us/region/co/ColoradoCounties.d.ts +2 -2
- package/dist/org/us/region/ct/ConnecticutCounties.d.ts +2 -2
- package/dist/org/us/region/de/DelawareCounties.d.ts +2 -2
- package/dist/org/us/region/fl/FloridaCounties.d.ts +2 -2
- package/dist/org/us/region/fl/pinellas/Pinellas.d.ts +2 -2
- package/dist/org/us/region/fl/pinellas/Pinellas.js +3 -3
- package/dist/org/us/region/fl/pinellas/stpetersburg/StPetersburg.d.ts +1 -1
- package/dist/org/us/region/hi/honolulu/Helemano/Helemano.d.ts +1 -1
- package/dist/org/us/region/il/IllinoisCounties.d.ts +2 -2
- package/dist/org/us/region/in/elkhart/elkhart/ElkhartCity.d.ts +1 -1
- package/dist/org/us/region/in/monroe/bloomington/Bloomington.d.ts +1 -1
- package/dist/org/us/region/in/whitley/SouthWhitley/SouthWhitley.d.ts +1 -1
- package/dist/org/us/region/ky/KentuckyCounties.d.ts +2 -2
- package/dist/org/us/region/ma/MassachusettsCounties.d.ts +2 -2
- package/dist/org/us/region/ma/middlesex/cambridge/Cambridge.d.ts +1 -1
- package/dist/org/us/region/md/MarylandCounties.d.ts +2 -2
- package/dist/org/us/region/me/MaineCounties.d.ts +2 -2
- package/dist/org/us/region/mi/MichiganCounties.d.ts +2 -2
- package/dist/org/us/region/mi/kalamazoo/galesburg/Galesburg.d.ts +1 -1
- package/dist/org/us/region/mn/MinnesotaCounties.d.ts +2 -2
- package/dist/org/us/region/mn/hennepin/Minneapolis/Minneapolis.d.ts +1 -1
- package/dist/org/us/region/mo/MissouriCounties.d.ts +2 -2
- package/dist/org/us/region/mo/pike/Louisiana/Louisiana.d.ts +1 -1
- package/dist/org/us/region/ms/MississippiCounties.d.ts +2 -2
- package/dist/org/us/region/ms/hinds/Jackson/Jackson.d.ts +1 -1
- package/dist/org/us/region/mt/MontanaCounties.d.ts +2 -2
- package/dist/org/us/region/mt/cascade/GreatFalls/GreatFalls.d.ts +1 -1
- package/dist/org/us/region/nc/guilford/greensboro/Greensboro.d.ts +1 -1
- package/dist/org/us/region/ne/ScottsBluff/Scottsbluff/ScottsbluffCity.d.ts +1 -1
- package/dist/org/us/region/nh/NewHampshireCounties.d.ts +2 -2
- package/dist/org/us/region/nh/rockingham/Portsmouth/Portsmouth.d.ts +1 -1
- package/dist/org/us/region/nj/burlington/willingboro/Willingboro.d.ts +1 -1
- package/dist/org/us/region/nv/NevadaCounties.d.ts +2 -2
- package/dist/org/us/region/nv/clark/LasVegas/LasVegas.d.ts +1 -1
- package/dist/org/us/region/ny/niagara/niagarafalls/NiagaraFalls.d.ts +1 -1
- package/dist/org/us/region/oh/OhioCounties.d.ts +2 -2
- package/dist/org/us/region/ok/OklahomaCounties.d.ts +2 -2
- package/dist/org/us/region/ok/kalamazoo/galesburg/Galesburg.d.ts +1 -1
- package/dist/org/us/region/or/OregonCounties.d.ts +2 -2
- package/dist/org/us/region/or/kalamazoo/galesburg/Galesburg.d.ts +1 -1
- package/dist/org/us/region/pa/westmoreland/Westmoreland.d.ts +2 -2
- package/dist/org/us/region/pa/westmoreland/Westmoreland.js +3 -3
- package/dist/org/us/region/pa/westmoreland/monessen/Monessen.d.ts +1 -1
- package/dist/org/us/region/pr/PuertoRicoCounties.d.ts +2 -2
- package/dist/org/us/region/pr/kalamazoo/galesburg/Galesburg.d.ts +1 -1
- package/dist/org/us/region/sc/SouthCarolinaCounties.d.ts +2 -2
- package/dist/org/us/region/sc/kalamazoo/galesburg/Galesburg.d.ts +1 -1
- package/dist/org/us/region/tx/TexasCounties.d.ts +2 -2
- package/dist/org/us/region/tx/Texas_en.js +1 -1
- package/dist/org/us/region/tx/Texas_fr.js +1 -1
- package/dist/org/us/region/tx/houston/Houston.d.ts +1 -1
- package/dist/org/us/region/tx/tarrant/fortworth/FortWorth.d.ts +1 -1
- package/dist/org/us/region/ut/UtahCounties.d.ts +2 -2
- package/dist/org/us/region/ut/uintah/skinwalker/Skinwalker.d.ts +1 -1
- package/dist/org/us/region/va/Virginia_en.js +1 -1
- package/dist/org/us/region/va/Virginia_fr.js +1 -1
- package/dist/org/us/region/vi/VirginIslandsCounties.d.ts +2 -2
- package/dist/org/us/region/vi/stthomas/CharlotteAmalie/CharlotteAmalie.d.ts +1 -1
- package/dist/org/us/region/vt/VermontCounties.d.ts +2 -2
- package/dist/org/us/region/vt/rutland/Rutland/Rutland.d.ts +1 -1
- package/dist/org/us/region/wa/pierce/bonneylake/BonneyLake.d.ts +1 -1
- package/dist/org/us/region/wi/WisconsinCounties.d.ts +2 -2
- package/dist/org/us/region/wi/dane/Madison/Madison.d.ts +1 -1
- package/dist/org/us/region/wv/fayette/MountHope/MountHope.d.ts +1 -1
- package/dist/org/us/region/wv/mason/PointPleasant/PointPleasant.d.ts +1 -1
- package/dist/org/us/region/wy/WyomingCounties.d.ts +2 -2
- package/dist/org/us/region/wy/carbon/Rawlins/Rawlins.d.ts +1 -1
- package/dist/people/OccupationMessages.d.ts +1 -1
- package/dist/people/PeopleDirectoryStep.d.ts +1 -4
- package/dist/people/PeopleDirectoryStep.js +1 -1
- package/dist/people/PeopleDirectoryStepFactory.d.ts +1 -1
- package/dist/people/PeopleDirectoryStepFactory.js +1 -1
- package/dist/people/PeopleFactory.test.js +1 -5
- package/dist/people/PeopleHtmlRenderer.d.ts +1 -3
- package/dist/people/PeopleRegexReplaceCommand.test.js +6 -6
- package/dist/people/PeopleReplacer.d.ts +1 -1
- package/dist/people/PeopleReplacer.test.js +8 -10
- package/dist/people/PeopleReplacerFactory.d.ts +1 -1
- package/dist/people/index.d.ts +0 -4
- package/dist/people/index.js +0 -4
- package/dist/place/OrganizationPlace.d.ts +3 -3
- package/dist/place/PlaceReplacer.test.js +1 -1
- package/dist/test/RR0TestUtil.d.ts +3 -3
- package/dist/test/RR0TestUtil.js +3 -3
- package/dist/time/datasource/nuforc/NuforcRR0Mapper.d.ts +1 -1
- package/dist/time/datasource/nuforc/NuforcRR0Mapping.d.ts +2 -1
- package/dist/time/datasource/urecat/UrecatRR0Mapper.d.ts +1 -1
- package/dist/time/datasource/urecat/UrecatRR0Mapping.d.ts +2 -1
- package/package.json +8 -8
- package/dist/org/OrganizationKind.d.ts +0 -7
- package/dist/org/OrganizationKind.js +0 -8
- package/dist/org/country/Country.d.ts +0 -6
- package/dist/org/country/Country.js +0 -7
- package/dist/org/country/CountryCode.d.ts +0 -229
- package/dist/org/country/CountryCode.js +0 -230
- package/dist/people/Occupation.d.ts +0 -92
- package/dist/people/Occupation.js +0 -93
- package/dist/people/People.d.ts +0 -52
- package/dist/people/People.js +0 -101
- package/dist/people/People.test.d.ts +0 -1
- package/dist/people/People.test.js +0 -35
- package/dist/people/PeopleFactory.d.ts +0 -13
- package/dist/people/PeopleFactory.js +0 -66
- package/dist/people/PeopleJson.d.ts +0 -34
- package/dist/people/PeopleJson.js +0 -1
- package/dist/people/PeopleService.d.ts +0 -15
- package/dist/people/PeopleService.js +0 -54
- package/dist/people/PeopleService.test.d.ts +0 -1
- package/dist/people/PeopleService.test.js +0 -82
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const oklahomaCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const oklahomaCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const oregonCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const oregonCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const westmoreland:
|
|
1
|
+
import { CmsOrganization } from "../../../../CmsOrganization.js";
|
|
2
|
+
export declare const westmoreland: CmsOrganization<import("../../../../OrganizationMessages.js").OrganizationMessages>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UsaCountyCode } from "../../UsaCountyCode.js";
|
|
2
2
|
import { Place } from "@rr0/place";
|
|
3
|
-
import {
|
|
3
|
+
import { CmsOrganization } from "../../../../CmsOrganization.js";
|
|
4
4
|
import { pennsylvania } from "../Pennsylvania.js";
|
|
5
|
-
import { OrganizationKind } from "
|
|
6
|
-
export const westmoreland = new
|
|
5
|
+
import { OrganizationKind } from "@rr0/data";
|
|
6
|
+
export const westmoreland = new CmsOrganization(UsaCountyCode.westmoreland, [Place.fromDMS("40°19′N 79°28′W")], OrganizationKind.department, pennsylvania);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let monessen: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let monessen: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const puertoRicoCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const puertoRicoCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const southCarolinaCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const southCarolinaCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let galesburg: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const texasCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const texasCounties: CmsOrganization[];
|
|
@@ -2,7 +2,7 @@ import { tarrant_en } from "./tarrant/Tarrant_en.js";
|
|
|
2
2
|
import { RegionMessages } from "../../../country/index.js";
|
|
3
3
|
import { houstonMessages } from "./houston/HoustonMessages.js";
|
|
4
4
|
import { houstonCityCode } from "./houston/Houston.js";
|
|
5
|
-
import { OrganizationKind } from "
|
|
5
|
+
import { OrganizationKind } from "@rr0/data";
|
|
6
6
|
const texasCityMessages = {
|
|
7
7
|
[houstonCityCode]: houstonMessages
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { RegionMessages } from "../../../country/index.js";
|
|
|
2
2
|
import { tarrant_fr } from "./tarrant/Tarrant_fr.js";
|
|
3
3
|
import { houstonCityCode } from "./houston/Houston.js";
|
|
4
4
|
import { houstonMessages } from "./houston/HoustonMessages.js";
|
|
5
|
-
import { OrganizationKind } from "
|
|
5
|
+
import { OrganizationKind } from "@rr0/data";
|
|
6
6
|
const texasCityMessages = {
|
|
7
7
|
[houstonCityCode]: houstonMessages
|
|
8
8
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const houstonCityCode = "48-35000";
|
|
2
|
-
export declare let houston: import("../../../../index.js").City<import("../../../../
|
|
2
|
+
export declare let houston: import("../../../../index.js").City<import("../../../../CmsOrganization.js").CmsOrganization<import("../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let fortWorth: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let fortWorth: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const utahCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const utahCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let skinwalker: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let skinwalker: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -2,7 +2,7 @@ import { RegionMessages } from "../../../country/index.js";
|
|
|
2
2
|
import { arlington_en } from "./arlington/Arlington_en.js";
|
|
3
3
|
import { bristolCityCode } from "./bristol/Bristol.js";
|
|
4
4
|
import { bristolMessages } from "./bristol/BristolMessages.js";
|
|
5
|
-
import { OrganizationKind } from "
|
|
5
|
+
import { OrganizationKind } from "@rr0/data";
|
|
6
6
|
export const virginia_en = RegionMessages.create("Virginia state", {
|
|
7
7
|
arlington: arlington_en
|
|
8
8
|
});
|
|
@@ -2,7 +2,7 @@ import { RegionMessages } from "../../../country/index.js";
|
|
|
2
2
|
import { arlington_fr } from "./arlington/Arlington_fr.js";
|
|
3
3
|
import { bristolCityCode } from "./bristol/Bristol.js";
|
|
4
4
|
import { bristolMessages } from "./bristol/BristolMessages.js";
|
|
5
|
-
import { OrganizationKind } from "
|
|
5
|
+
import { OrganizationKind } from "@rr0/data";
|
|
6
6
|
export const virginia_fr = RegionMessages.create("État de Virginie", {
|
|
7
7
|
arlington: arlington_fr
|
|
8
8
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const virginIslandsCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const virginIslandsCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let charlotteAmalie: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let charlotteAmalie: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const vermontCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const vermontCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let rutland: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let rutland: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let bonneyLake: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let bonneyLake: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const wisconsinCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const wisconsinCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let madison: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let madison: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let mountHope: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let mountHope: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let pointPleasant: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let pointPleasant: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const wyomingCounties:
|
|
1
|
+
import { CmsOrganization } from "../../../CmsOrganization.js";
|
|
2
|
+
export declare const wyomingCounties: CmsOrganization[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare let rawlins: import("../../../../../index.js").City<import("../../../../../
|
|
1
|
+
export declare let rawlins: import("../../../../../index.js").City<import("../../../../../CmsOrganization.js").CmsOrganization<import("../../../../../OrganizationMessages.js").OrganizationMessages>>;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { Occupation } from "./Occupation.js";
|
|
2
|
-
import { People } from "./People.js";
|
|
3
1
|
import { HtmlRR0Context } from "../RR0Context.js";
|
|
4
2
|
import { DirectoryStep, FileWriteConfig, OutputFunc } from "ssg-api";
|
|
5
|
-
import { PeopleService } from "./PeopleService.js";
|
|
6
|
-
import { CountryCode } from "../org/country/CountryCode.js";
|
|
7
3
|
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
4
|
+
import { CountryCode, Occupation, People, PeopleService } from "@rr0/data";
|
|
8
5
|
export type PeopleFilter = (p: People) => boolean;
|
|
9
6
|
export declare function peopleOccupationFilter(filterOccupations: Occupation[]): PeopleFilter;
|
|
10
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { People } from "./People.js";
|
|
2
1
|
import { HtmlTag } from "../util/html/HtmlTag.js";
|
|
3
2
|
import { DirectoryStep } from "ssg-api";
|
|
4
3
|
import { StringUtil } from "../util/string/StringUtil.js";
|
|
5
4
|
import { Gender } from "@rr0/common";
|
|
5
|
+
import { People } from "@rr0/data";
|
|
6
6
|
export function peopleOccupationFilter(filterOccupations) {
|
|
7
7
|
return (p) => p.occupations.some(o => filterOccupations.includes(o));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileWriteConfig, OutputFunc } from "ssg-api";
|
|
2
|
-
import { PeopleService } from "./PeopleService.js";
|
|
3
2
|
import { PeopleDirectoryStep } from "./PeopleDirectoryStep.js";
|
|
4
3
|
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
4
|
+
import { PeopleService } from "@rr0/data";
|
|
5
5
|
export type PeopleDirectoryStepOptions = {
|
|
6
6
|
root: string;
|
|
7
7
|
scientists?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Occupation } from "./Occupation.js";
|
|
2
1
|
import { RR0FileUtil } from "../util/file/RR0FileUtil.js";
|
|
3
2
|
import { PeopleDirectoryStep, peopleOccupationFilter } from "./PeopleDirectoryStep.js";
|
|
4
3
|
import { glob } from "glob";
|
|
5
4
|
import path from "path";
|
|
5
|
+
import { Occupation } from "@rr0/data";
|
|
6
6
|
/**
|
|
7
7
|
* Scan directories for people information, then populates a template with collected data.
|
|
8
8
|
*/
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { describe, expect, test } from "@javarome/testscript";
|
|
2
|
-
import { PeopleFactory } from "
|
|
3
|
-
import { RR0EventFactory } from "@rr0/data";
|
|
4
|
-
import { People } from "./People";
|
|
5
|
-
import { Occupation } from "./Occupation";
|
|
6
|
-
import { CountryCode } from "../org";
|
|
2
|
+
import { CountryCode, Occupation, People, PeopleFactory, RR0EventFactory } from "@rr0/data";
|
|
7
3
|
describe("PeopleFactory", () => {
|
|
8
4
|
const eventFactory = new RR0EventFactory();
|
|
9
5
|
const factory = new PeopleFactory(eventFactory);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { People } from "./People.js";
|
|
2
1
|
import { HtmlRR0Context } from "../RR0Context.js";
|
|
3
|
-
import { CountryCode } from "
|
|
4
|
-
import { Occupation } from "./Occupation.js";
|
|
2
|
+
import { CountryCode, Occupation, People } from "@rr0/data";
|
|
5
3
|
export declare class PeopleHtmlRenderer {
|
|
6
4
|
protected defaultPreviewFileNames: string[];
|
|
7
5
|
constructor(defaultPreviewFileNames?: string[]);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { rr0TestUtil } from "../test/index.js";
|
|
1
|
+
import path from "path";
|
|
3
2
|
import { ClassDomReplaceCommand } from "ssg-api";
|
|
4
3
|
import { describe, expect, test } from "@javarome/testscript";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
4
|
+
import { PeopleReplacerFactory } from "./PeopleReplacerFactory.js";
|
|
5
|
+
import { rr0TestUtil } from "../test/index.js";
|
|
6
|
+
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer.js";
|
|
7
|
+
import { PeopleService } from "@rr0/data";
|
|
8
8
|
describe("ClassDomReplaceCommand", () => {
|
|
9
9
|
test("replaces", async () => {
|
|
10
10
|
const peopleRoot = "src/people";
|
|
11
11
|
const peopleFiles = [path.join(peopleRoot, "b/BeauJerome")];
|
|
12
12
|
const peopleRenderer = new PeopleHtmlRenderer();
|
|
13
|
-
const peopleService = new PeopleService(rr0TestUtil.dataService, rr0TestUtil.peopleFactory, peopleFiles,
|
|
13
|
+
const peopleService = new PeopleService(rr0TestUtil.dataService, rr0TestUtil.peopleFactory, { files: peopleFiles, rootDir: peopleRoot });
|
|
14
14
|
const command = new ClassDomReplaceCommand(new PeopleReplacerFactory(peopleService, peopleRenderer), "people");
|
|
15
15
|
const context = rr0TestUtil.time.newHtmlContext("1/9/9/0/08/index.html", `<span class="people">Jérôme Beau</span>`);
|
|
16
16
|
await command.execute(context);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PeopleService } from "./PeopleService.js";
|
|
2
1
|
import { DomReplacement } from "../time/DomReplacement.js";
|
|
3
2
|
import { HtmlRR0Context } from "../RR0Context.js";
|
|
4
3
|
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
4
|
+
import { PeopleService } from "@rr0/data";
|
|
5
5
|
export declare class PeopleReplacer implements DomReplacement<HtmlRR0Context> {
|
|
6
6
|
protected service: PeopleService;
|
|
7
7
|
protected renderer: PeopleHtmlRenderer;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { PeopleReplacer } from "./PeopleReplacer.js";
|
|
2
|
-
import { rr0TestUtil } from "../test/index.js";
|
|
3
|
-
import { PeopleService } from "./PeopleService.js";
|
|
2
|
+
import { rr0TestUtil, testFilePath } from "../test/index.js";
|
|
4
3
|
import { describe, expect, test } from "@javarome/testscript";
|
|
5
|
-
import { PeopleFactory } from "./PeopleFactory.js";
|
|
6
4
|
import path from "path";
|
|
7
|
-
import { AllDataService, RR0EventFactory } from "@rr0/data";
|
|
5
|
+
import { AllDataService, PeopleFactory, PeopleService, RR0EventFactory } from "@rr0/data";
|
|
8
6
|
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
9
7
|
describe("PeopleReplacer", () => {
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
path.join(
|
|
13
|
-
path.join(
|
|
8
|
+
const rootDir = testFilePath("people");
|
|
9
|
+
const files = [
|
|
10
|
+
path.join(rootDir, "b/BeauJerome"),
|
|
11
|
+
path.join(rootDir, "h/HynekJosefAllen")
|
|
14
12
|
];
|
|
15
13
|
const peopleFactory = new PeopleFactory(new RR0EventFactory());
|
|
16
14
|
function createPeopleElement(context, content, title) {
|
|
@@ -23,7 +21,7 @@ describe("PeopleReplacer", () => {
|
|
|
23
21
|
}
|
|
24
22
|
test("ignore brackets", async () => {
|
|
25
23
|
const dataService = new AllDataService([peopleFactory]);
|
|
26
|
-
const peopleService = new PeopleService(dataService, peopleFactory,
|
|
24
|
+
const peopleService = new PeopleService(dataService, peopleFactory, { rootDir, files });
|
|
27
25
|
const peopleRenderer = new PeopleHtmlRenderer();
|
|
28
26
|
const replacer = new PeopleReplacer(peopleService, peopleRenderer);
|
|
29
27
|
const context = rr0TestUtil.time.newHtmlContext("1/9/9/0/08/index.html", "");
|
|
@@ -40,7 +38,7 @@ describe("PeopleReplacer", () => {
|
|
|
40
38
|
});
|
|
41
39
|
test("replace people tags", async () => {
|
|
42
40
|
const dataService = new AllDataService([peopleFactory]);
|
|
43
|
-
const peopleService = new PeopleService(dataService, peopleFactory,
|
|
41
|
+
const peopleService = new PeopleService(dataService, peopleFactory, { rootDir, files });
|
|
44
42
|
const peopleRenderer = new PeopleHtmlRenderer();
|
|
45
43
|
const replacer = new PeopleReplacer(peopleService, peopleRenderer);
|
|
46
44
|
const context = rr0TestUtil.time.newHtmlContext("1/9/9/0/08/index.html", "");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PeopleReplacer } from "./PeopleReplacer.js";
|
|
2
2
|
import { DomReplacer, ReplacerFactory } from "ssg-api";
|
|
3
|
-
import { PeopleService } from "./PeopleService.js";
|
|
4
3
|
import { HtmlRR0Context } from "../RR0Context.js";
|
|
5
4
|
import { PeopleHtmlRenderer } from "./PeopleHtmlRenderer";
|
|
5
|
+
import { PeopleService } from "@rr0/data";
|
|
6
6
|
/**
|
|
7
7
|
* Creates replacers for people HTML in a given context.
|
|
8
8
|
*/
|
package/dist/people/index.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
export * from "./author/index.js";
|
|
2
2
|
export * from "./witness/index.js";
|
|
3
|
-
export * from "./Occupation.js";
|
|
4
3
|
export * from "./OccupationMessages.js";
|
|
5
|
-
export * from "./People.js";
|
|
6
4
|
export * from "./PeopleDirectoryStep.js";
|
|
7
5
|
export * from "./PeopleDirectoryStepFactory.js";
|
|
8
|
-
export * from "./PeopleFactory.js";
|
|
9
6
|
export * from "./PeopleMessages.js";
|
|
10
7
|
export * from "./PeopleMessages_en.js";
|
|
11
8
|
export * from "./PeopleMessages_fr.js";
|
|
12
9
|
export * from "./PeopleReplacer.js";
|
|
13
10
|
export * from "./PeopleReplacerFactory.js";
|
|
14
|
-
export * from "./PeopleService.js";
|
package/dist/people/index.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
export * from "./author/index.js";
|
|
2
2
|
export * from "./witness/index.js";
|
|
3
|
-
export * from "./Occupation.js";
|
|
4
3
|
export * from "./OccupationMessages.js";
|
|
5
|
-
export * from "./People.js";
|
|
6
4
|
export * from "./PeopleDirectoryStep.js";
|
|
7
5
|
export * from "./PeopleDirectoryStepFactory.js";
|
|
8
|
-
export * from "./PeopleFactory.js";
|
|
9
6
|
export * from "./PeopleMessages.js";
|
|
10
7
|
export * from "./PeopleMessages_en.js";
|
|
11
8
|
export * from "./PeopleMessages_fr.js";
|
|
12
9
|
export * from "./PeopleReplacer.js";
|
|
13
10
|
export * from "./PeopleReplacerFactory.js";
|
|
14
|
-
export * from "./PeopleService.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CmsOrganization } from "../org";
|
|
2
2
|
import { Place } from "@rr0/place";
|
|
3
3
|
export declare class OrganizationPlace extends Place {
|
|
4
|
-
readonly org:
|
|
5
|
-
constructor(org:
|
|
4
|
+
readonly org: CmsOrganization;
|
|
5
|
+
constructor(org: CmsOrganization);
|
|
6
6
|
}
|
|
@@ -4,7 +4,7 @@ import { rr0TestUtil } from "../test/index.js";
|
|
|
4
4
|
import { describe, expect, test } from "@javarome/testscript";
|
|
5
5
|
import { OrganizationMessages } from "../org/index.js";
|
|
6
6
|
import { Place, PlaceLocation, PlaceService } from "@rr0/place";
|
|
7
|
-
import { OrganizationKind } from "
|
|
7
|
+
import { OrganizationKind } from "@rr0/data";
|
|
8
8
|
class MockPlaceService extends PlaceService {
|
|
9
9
|
constructor(location, elevation, dirName) {
|
|
10
10
|
super("place");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HtmlRR0Context, RR0Context } from "../RR0Context.js";
|
|
2
2
|
import { FileWriteConfig } from "ssg-api";
|
|
3
|
-
import { CityService,
|
|
3
|
+
import { CityService, DepartmentService, OrganizationFactory, OrganizationService, RegionService } from "../org/index.js";
|
|
4
4
|
import { CaseFactory } from "../science/index.js";
|
|
5
|
-
import { PeopleFactory } from "../people/index.js";
|
|
6
5
|
import { TimeTestUtil } from "../time/TimeTestUtil";
|
|
7
|
-
import { AllDataService } from "@rr0/data";
|
|
6
|
+
import { AllDataService, PeopleFactory } from "@rr0/data";
|
|
7
|
+
import { CountryService } from "../org/country/CountryService";
|
|
8
8
|
export declare class RR0TestUtil {
|
|
9
9
|
readonly rootDir: string;
|
|
10
10
|
readonly outDir: string;
|
package/dist/test/RR0TestUtil.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import { RR0ContextImpl } from "../RR0Context.js";
|
|
3
3
|
import { HtmlFileContents } from "ssg-api";
|
|
4
|
-
import { cities, CityService, countries,
|
|
4
|
+
import { cities, CityService, countries, departments, DepartmentService, OrganizationFactory, OrganizationService, regions, RegionService } from "../org/index.js";
|
|
5
5
|
import { CaseFactory } from "../science/index.js";
|
|
6
|
-
import { PeopleFactory } from "../people/index.js";
|
|
7
6
|
import { APIFactory } from "../tech/index.js";
|
|
8
7
|
import { TimeTestUtil } from "../time/TimeTestUtil";
|
|
9
8
|
import { TimeContext } from "@rr0/time";
|
|
10
9
|
import { FileContents } from "@javarome/fileutil";
|
|
11
|
-
import { AllDataService, EventDataFactory, RR0EventFactory, TypedDataFactory } from "@rr0/data";
|
|
10
|
+
import { AllDataService, EventDataFactory, PeopleFactory, RR0EventFactory, TypedDataFactory } from "@rr0/data";
|
|
11
|
+
import { CountryService } from "../org/country/CountryService";
|
|
12
12
|
export class RR0TestUtil {
|
|
13
13
|
constructor(rootDir = "test", outDir = "out") {
|
|
14
14
|
this.rootDir = rootDir;
|
|
@@ -5,7 +5,7 @@ import { NuforcCountry } from "./NuforcCountry.js";
|
|
|
5
5
|
import { RR0CaseSummary } from "../rr0/RR0CaseSummary.js";
|
|
6
6
|
import { NuforcShape } from "./NuforcShape.js";
|
|
7
7
|
import { CityService } from "../../../org/country/index.js";
|
|
8
|
-
import { CountryService } from "../../../org/country/CountryService
|
|
8
|
+
import { CountryService } from "../../../org/country/CountryService";
|
|
9
9
|
export declare class NuforcRR0Mapper implements CaseMapper<HtmlRR0Context, NuforcCaseSummary, RR0CaseSummary> {
|
|
10
10
|
protected cityService: CityService;
|
|
11
11
|
protected countryService: CountryService;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { NuforcRR0Mapper } from "./NuforcRR0Mapper.js";
|
|
2
2
|
import { NuforcHttpDatasource } from "./NuforcHttpDatasource.js";
|
|
3
|
-
import { CityService
|
|
3
|
+
import { CityService } from "../../../org";
|
|
4
4
|
import { RR0CaseMapping } from "../rr0";
|
|
5
5
|
import { ChronologyReplacerActions } from "../ChronologyReplacerActions";
|
|
6
6
|
import { NuforcCaseSummary } from "./NuforcCaseSummary";
|
|
7
|
+
import { CountryService } from "../../../org/country/CountryService";
|
|
7
8
|
export declare const nuforcDatasource: NuforcHttpDatasource;
|
|
8
9
|
export declare class NuforcRR0Mapping implements RR0CaseMapping<NuforcCaseSummary> {
|
|
9
10
|
readonly actions: ChronologyReplacerActions;
|
|
@@ -3,7 +3,7 @@ import { UrecatCase } from "./UrecatCase.js";
|
|
|
3
3
|
import { HtmlRR0Context } from "../../../RR0Context.js";
|
|
4
4
|
import { RR0CaseSummary } from "../rr0/RR0CaseSummary.js";
|
|
5
5
|
import { CityService } from "../../../org/country/index.js";
|
|
6
|
-
import { CountryService } from "../../../org/country/CountryService
|
|
6
|
+
import { CountryService } from "../../../org/country/CountryService";
|
|
7
7
|
export declare class UrecatRR0Mapper implements CaseMapper<HtmlRR0Context, UrecatCase, RR0CaseSummary> {
|
|
8
8
|
protected cityService: CityService;
|
|
9
9
|
protected countryService: CountryService;
|
|
@@ -3,7 +3,8 @@ import { UrecatHttpDatasource } from "./UrecatHttpDatasource.js";
|
|
|
3
3
|
import { ChronologyReplacerActions } from "../ChronologyReplacerActions.js";
|
|
4
4
|
import { RR0CaseMapping } from "../rr0";
|
|
5
5
|
import { UrecatCase } from "./UrecatCase";
|
|
6
|
-
import { CityService
|
|
6
|
+
import { CityService } from "../../../org";
|
|
7
|
+
import { CountryService } from "../../../org/country/CountryService";
|
|
7
8
|
export declare const urecatDatasource: UrecatHttpDatasource;
|
|
8
9
|
export declare class UrecatRR0Mapping implements RR0CaseMapping<UrecatCase> {
|
|
9
10
|
readonly actions: ChronologyReplacerActions;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@rr0/cms",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Jérôme Beau <rr0@rr0.org> (https://rr0.org)",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.1",
|
|
6
6
|
"description": "RR0 Content Management System (CMS)",
|
|
7
7
|
"exports": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"test-ci": "rm -Rf out && testscript"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
+
"@javarome/fileutil": "^0.3.6",
|
|
31
32
|
"@rr0/common": "^1.1.3",
|
|
33
|
+
"@rr0/data": "^0.3.1",
|
|
32
34
|
"@rr0/lang": "^0.1.12",
|
|
33
|
-
"@rr0/time": "^0.9.2",
|
|
34
35
|
"@rr0/place": "^0.5.1",
|
|
35
|
-
"@rr0/
|
|
36
|
-
"@javarome/fileutil": "^0.3.6",
|
|
37
|
-
"ssg-api": "^1.16.12",
|
|
36
|
+
"@rr0/time": "^0.9.2",
|
|
38
37
|
"canvas": "^2.11.2",
|
|
39
38
|
"csv-parser": "^3.0.0",
|
|
40
39
|
"glob": "^11.0.0",
|
|
41
40
|
"image-size": "^1.1.1",
|
|
42
41
|
"jsdom": "^24.1.0",
|
|
43
|
-
"selenium-webdriver": "^4.22.0"
|
|
42
|
+
"selenium-webdriver": "^4.22.0",
|
|
43
|
+
"ssg-api": "^1.16.12"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
+
"@javarome/testscript": "^0.13.1",
|
|
46
47
|
"@types/jsdom": "^21.1.7",
|
|
47
|
-
"typescript": "^5.6.3",
|
|
48
48
|
"@types/node": "^22.7.4",
|
|
49
49
|
"tsx": "4.17.0",
|
|
50
|
-
"
|
|
50
|
+
"typescript": "^5.6.3",
|
|
51
51
|
"vite": "^6.1.0"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var OrganizationKind;
|
|
2
|
-
(function (OrganizationKind) {
|
|
3
|
-
OrganizationKind["country"] = "country";
|
|
4
|
-
OrganizationKind["region"] = "region";
|
|
5
|
-
OrganizationKind["department"] = "department";
|
|
6
|
-
OrganizationKind["city"] = "city";
|
|
7
|
-
OrganizationKind["company"] = "company";
|
|
8
|
-
})(OrganizationKind || (OrganizationKind = {}));
|