triangle-types 1.0.169 → 1.0.171

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.
@@ -27,6 +27,6 @@ export class FederalCongressDistrict {
27
27
  is_state_id(federal_congress_district.state_id) &&
28
28
  typeof federal_congress_district.district_id === "number" &&
29
29
  typeof federal_congress_district.name === "string" &&
30
- typeof federal_congress_district.s3_id === "number");
30
+ typeof federal_congress_district.s3_id === "string");
31
31
  }
32
32
  }
@@ -4,7 +4,7 @@ export declare class StateLegislatureDistrict {
4
4
  readonly state_id: StateID;
5
5
  readonly legislature_id: number;
6
6
  readonly chamber_id: string;
7
- readonly district_id: number;
7
+ readonly district_id: string;
8
8
  readonly name: string;
9
9
  readonly s3_id: string;
10
10
  constructor(state_legislature_district: any);
@@ -25,7 +25,7 @@ export class StateLegislatureDistrict {
25
25
  is_state_id(state_legislature_district.state_id) &&
26
26
  typeof state_legislature_district.legislature_id === "number" &&
27
27
  typeof state_legislature_district.chamber_id === "string" &&
28
- typeof state_legislature_district.district_id === "number" &&
28
+ typeof state_legislature_district.district_id === "string" &&
29
29
  typeof state_legislature_district.name === "string" &&
30
30
  typeof state_legislature_district.s3_id === "string");
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.169",
3
+ "version": "1.0.171",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -32,7 +32,7 @@ export class FederalCongressDistrict {
32
32
  is_state_id(federal_congress_district.state_id) &&
33
33
  typeof federal_congress_district.district_id === "number" &&
34
34
  typeof federal_congress_district.name === "string" &&
35
- typeof federal_congress_district.s3_id === "number"
35
+ typeof federal_congress_district.s3_id === "string"
36
36
  )
37
37
  }
38
38
 
@@ -5,7 +5,7 @@ export class StateLegislatureDistrict {
5
5
  readonly state_id : StateID
6
6
  readonly legislature_id : number
7
7
  readonly chamber_id : string
8
- readonly district_id : number
8
+ readonly district_id : string
9
9
  readonly name : string
10
10
  readonly s3_id : string
11
11
 
@@ -30,7 +30,7 @@ export class StateLegislatureDistrict {
30
30
  is_state_id(state_legislature_district.state_id) &&
31
31
  typeof state_legislature_district.legislature_id === "number" &&
32
32
  typeof state_legislature_district.chamber_id === "string" &&
33
- typeof state_legislature_district.district_id === "number" &&
33
+ typeof state_legislature_district.district_id === "string" &&
34
34
  typeof state_legislature_district.name === "string" &&
35
35
  typeof state_legislature_district.s3_id === "string"
36
36
  )