triangle-types 1.0.179 → 1.0.180

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,7 +6,6 @@ export declare class FederalCongressDistrict {
6
6
  readonly state_id: StateID;
7
7
  readonly district_id: number;
8
8
  readonly name: string;
9
- readonly s3_id: string;
10
9
  readonly [x: string]: any;
11
10
  constructor(federal_congress_district: any);
12
11
  static is(federal_congress_district: any): federal_congress_district is FederalCongressDistrict;
@@ -6,7 +6,6 @@ export class FederalCongressDistrict {
6
6
  state_id;
7
7
  district_id;
8
8
  name;
9
- s3_id;
10
9
  constructor(federal_congress_district) {
11
10
  if (!FederalCongressDistrict.is(federal_congress_district)) {
12
11
  throw Error("Invalid input.");
@@ -17,7 +16,6 @@ export class FederalCongressDistrict {
17
16
  this.state_id = federal_congress_district.state_id;
18
17
  this.district_id = federal_congress_district.district_id;
19
18
  this.name = federal_congress_district.name;
20
- this.s3_id = federal_congress_district.s3_id;
21
19
  }
22
20
  static is(federal_congress_district) {
23
21
  return (federal_congress_district !== undefined &&
@@ -26,7 +24,6 @@ export class FederalCongressDistrict {
26
24
  typeof federal_congress_district.chamber_id === "string" &&
27
25
  is_state_id(federal_congress_district.state_id) &&
28
26
  typeof federal_congress_district.district_id === "number" &&
29
- typeof federal_congress_district.name === "string" &&
30
- typeof federal_congress_district.s3_id === "string");
27
+ typeof federal_congress_district.name === "string");
31
28
  }
32
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.179",
3
+ "version": "1.0.180",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -7,7 +7,6 @@ export class FederalCongressDistrict {
7
7
  readonly state_id : StateID
8
8
  readonly district_id : number
9
9
  readonly name : string
10
- readonly s3_id : string
11
10
  readonly [x : string] : any
12
11
 
13
12
 
@@ -21,7 +20,6 @@ export class FederalCongressDistrict {
21
20
  this.state_id = federal_congress_district.state_id
22
21
  this.district_id = federal_congress_district.district_id
23
22
  this.name = federal_congress_district.name
24
- this.s3_id = federal_congress_district.s3_id
25
23
  }
26
24
 
27
25
  static is(federal_congress_district : any) : federal_congress_district is FederalCongressDistrict {
@@ -32,8 +30,7 @@ export class FederalCongressDistrict {
32
30
  typeof federal_congress_district.chamber_id === "string" &&
33
31
  is_state_id(federal_congress_district.state_id) &&
34
32
  typeof federal_congress_district.district_id === "number" &&
35
- typeof federal_congress_district.name === "string" &&
36
- typeof federal_congress_district.s3_id === "string"
33
+ typeof federal_congress_district.name === "string"
37
34
  )
38
35
  }
39
36