@seta-labs/geo 0.4.0 → 0.5.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @seta-labs/geo
2
2
 
3
+ ## 0.5.0
4
+
5
+ - `comuni(query?)` takes `storici`: with `true` the list also returns the
6
+ municipalities suppressed since 1991; without it only the current ones.
7
+ - `TerritoryComune` (the list rows and the `comune` block of
8
+ `comune(codComune)`) gains `costituitoIl` and `soppressoIl` (`YYYY-MM-DD`,
9
+ or null) and `codComuneSuccessore`, the municipality it merged into.
10
+ - Names, provinces and regions follow the ISTAT list of current
11
+ municipalities: `Cardedu`, `OG`, `Sardegna` where the OMI registry had
12
+ `CARDEDU`, `NU`, `SARDEGNA`.
13
+
3
14
  ## 0.4.0
4
15
 
5
16
  - New `cadastreParcels(query?)` on `GET /cadastre/parcels`: the stored
package/dist/index.d.ts CHANGED
@@ -512,6 +512,18 @@ interface components {
512
512
  denominazione: string;
513
513
  provincia: string;
514
514
  regione: string;
515
+ /**
516
+ * Format: date
517
+ * @description Birth of the municipality, when it falls after 1 January 1991.
518
+ */
519
+ costituitoIl: string | null;
520
+ /**
521
+ * Format: date
522
+ * @description Suppression date, null for a current municipality.
523
+ */
524
+ soppressoIl: string | null;
525
+ /** @description Belfiore code of the municipality it merged into. */
526
+ codComuneSuccessore: string | null;
515
527
  popolazione: number | null;
516
528
  redditoMedio: number | null;
517
529
  };
@@ -563,6 +575,18 @@ interface components {
563
575
  denominazione: string;
564
576
  provincia: string;
565
577
  regione: string;
578
+ /**
579
+ * Format: date
580
+ * @description Birth of the municipality, when it falls after 1 January 1991.
581
+ */
582
+ costituitoIl: string | null;
583
+ /**
584
+ * Format: date
585
+ * @description Suppression date, null for a current municipality.
586
+ */
587
+ soppressoIl: string | null;
588
+ /** @description Belfiore code of the municipality it merged into. */
589
+ codComuneSuccessore: string | null;
566
590
  };
567
591
  TerritoryIstatDto: {
568
592
  denominazione: string;
@@ -989,6 +1013,8 @@ interface operations {
989
1013
  provincia?: string;
990
1014
  regione?: string;
991
1015
  ordina?: 'denominazione' | 'popolazione';
1016
+ /** @description Also the municipalities suppressed since 1991, with their dates. */
1017
+ storici?: boolean;
992
1018
  };
993
1019
  header?: never;
994
1020
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seta-labs/geo",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Typed Fetch client for the Seta Geo HTTP API",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",