@dra2020/district-analytics 11.1.1 → 11.2.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.
@@ -64,6 +64,7 @@ export declare class Features {
64
64
  mapGeoIDsToFeatureIDs(): void;
65
65
  featureID(i: string): number;
66
66
  }
67
+ export declare function inferSelectedMinority(groups: RPV.MinorityFilter): string;
67
68
  export declare class Counties {
68
69
  _session: AnalyticsSession;
69
70
  _data: T.GeoFeatureCollection;
@@ -1,4 +1,5 @@
1
1
  export * from './_api';
2
2
  export * from './results';
3
3
  export * from './types';
4
+ export { inferSelectedMinority } from './_data';
4
5
  export { MinorityFilter, Point, DemographicVotingByFeature, RPVFactor, RPVAnalysis } from '@dra2020/racial-voting';
@@ -25,4 +25,4 @@ export declare function objectContains(o: object, key: any): boolean;
25
25
  export declare function countEnumValues(enumName: any): number;
26
26
  export declare function shallowCopy(src: any): any;
27
27
  export declare function deepCopy(src: any): any;
28
- export { depthof } from '@dra2020/util';
28
+ export declare function depthof(a: any): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/district-analytics",
3
- "version": "11.1.1",
3
+ "version": "11.2.0",
4
4
  "description": "District analytics TypeScript package",
5
5
  "main": "dist/district-analytics.js",
6
6
  "files": [
@@ -48,13 +48,12 @@
48
48
  "yargs": "^12.0.5"
49
49
  },
50
50
  "dependencies": {
51
- "@dra2020/compactness": "^2.0.1",
52
- "@dra2020/dra-graph": "^2.0.0",
53
- "@dra2020/dra-score": "^11.0.1",
54
- "@dra2020/dra-types": "^1.6.6",
55
- "@dra2020/poly": "^1.7.26",
56
- "@dra2020/racial-voting": "^3.0.3",
57
- "@dra2020/util": "^1.1.4",
51
+ "@dra2020/baseclient": "^1.0.0",
52
+ "@dra2020/compactness": "^2.1.0",
53
+ "@dra2020/dra-graph": "^2.0.2",
54
+ "@dra2020/dra-score": "^11.1.0",
55
+ "@dra2020/dra-types": "^1.6.7",
56
+ "@dra2020/racial-voting": "^3.1.0",
58
57
  "geojson": "^0.5.0"
59
58
  }
60
59
  }