@dra2020/district-analytics 7.1.4 → 7.1.7
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/LICENSE +1 -1
- package/dist/cli.js +4174 -3997
- package/dist/cli.js.map +1 -1
- package/dist/district-analytics.js +28 -13
- package/dist/district-analytics.js.map +1 -1
- package/dist/src/_data.d.ts +2 -2
- package/package.json +3 -3
package/dist/src/_data.d.ts
CHANGED
|
@@ -116,14 +116,14 @@ export declare class Plan {
|
|
|
116
116
|
_planByDistrictID: T.PlanByDistrictID;
|
|
117
117
|
districtIDs: number[];
|
|
118
118
|
constructor(s: AnalyticsSession, p: T.PlanByGeoID);
|
|
119
|
-
invertPlan(): void;
|
|
119
|
+
invertPlan(bLog?: boolean): void;
|
|
120
120
|
initializeDistrict(i: number): void;
|
|
121
121
|
byGeoID(): T.PlanByGeoID;
|
|
122
122
|
byDistrictID(): T.PlanByDistrictID;
|
|
123
123
|
districtForGeoID(i: string): number;
|
|
124
124
|
geoIDsForDistrictID(i: number): Set<string>;
|
|
125
125
|
}
|
|
126
|
-
export declare function invertPlan(plan: T.PlanByGeoID, s?: AnalyticsSession): T.PlanByDistrictID;
|
|
126
|
+
export declare function invertPlan(plan: T.PlanByGeoID, s?: AnalyticsSession, bLog?: boolean): T.PlanByDistrictID;
|
|
127
127
|
export declare class Graph {
|
|
128
128
|
_session: AnalyticsSession;
|
|
129
129
|
_graph: T.ContiguityGraph;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dra2020/district-analytics",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.7",
|
|
4
4
|
"description": "District analytics TypeScript package",
|
|
5
5
|
"main": "dist/district-analytics.js",
|
|
6
6
|
"files": [
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"yargs": "^12.0.5"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@dra2020/dra-score": "^8.1.
|
|
52
|
+
"@dra2020/dra-score": "^8.1.2",
|
|
53
53
|
"@dra2020/dra-types": "^1.4.9",
|
|
54
|
-
"@dra2020/poly": "^1.
|
|
54
|
+
"@dra2020/poly": "^1.1.7",
|
|
55
55
|
"@dra2020/util": "^1.0.50",
|
|
56
56
|
"geojson": "^0.5.0",
|
|
57
57
|
"polygon-clipping": "^0.14.3"
|