@dra2020/district-analytics 10.5.2 → 11.0.2

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.
@@ -6,4 +6,3 @@ export declare const OUT_OF_STATE: string;
6
6
  export declare const EQUAL_TOLERANCE: number;
7
7
  export declare const COUNTY_SPLITTING_WEIGHT = 0.8;
8
8
  export declare const DISTRICT_SPLITTING_WEIGHT: number;
9
- export declare const SHAPES = "2010 VTD shapes";
@@ -1,9 +1,11 @@
1
1
  import * as geojson from 'geojson';
2
+ import * as DT from '@dra2020/dra-types';
2
3
  export declare type SessionRequest = {
3
4
  title: string;
4
5
  stateXX: string;
5
6
  nDistricts: number;
6
- legislativeDistricts: boolean;
7
+ planType?: DT.PlanType;
8
+ legislativeDistricts?: boolean;
7
9
  plan: PlanByGeoID;
8
10
  data: GeoFeatureCollection;
9
11
  districtShapes: GeoFeatureCollection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/district-analytics",
3
- "version": "10.5.2",
3
+ "version": "11.0.2",
4
4
  "description": "District analytics TypeScript package",
5
5
  "main": "dist/district-analytics.js",
6
6
  "files": [