triangle-types 1.0.314 → 1.0.315

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.
@@ -10,7 +10,6 @@ export declare class FederalCongressBillAction {
10
10
  readonly bill_action_type_id?: FederalCongressBillActionTypeID;
11
11
  readonly date: string;
12
12
  readonly description: string;
13
- readonly federal_congress_committee_ids: string[];
14
13
  constructor(federal_congress_bill_action: any);
15
14
  static is(federal_congress_bill_action: any): federal_congress_bill_action is FederalCongressBillAction;
16
15
  }
@@ -22,7 +22,6 @@ export class FederalCongressBillAction {
22
22
  bill_action_type_id;
23
23
  date;
24
24
  description;
25
- federal_congress_committee_ids;
26
25
  constructor(federal_congress_bill_action) {
27
26
  if (!FederalCongressBillAction.is(federal_congress_bill_action)) {
28
27
  throw Error("Invalid input.");
@@ -34,7 +33,6 @@ export class FederalCongressBillAction {
34
33
  this.bill_action_type_id = federal_congress_bill_action.bill_action_type_id;
35
34
  this.date = federal_congress_bill_action.date;
36
35
  this.description = federal_congress_bill_action.description;
37
- this.federal_congress_committee_ids = federal_congress_bill_action.federal_congress_committee_ids;
38
36
  }
39
37
  static is(federal_congress_bill_action) {
40
38
  return (federal_congress_bill_action !== undefined &&
@@ -44,7 +42,6 @@ export class FederalCongressBillAction {
44
42
  typeof federal_congress_bill_action.action_id === "number" &&
45
43
  (federal_congress_bill_action.bill_action_type_id === undefined || is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id)) &&
46
44
  typeof federal_congress_bill_action.date === "string" &&
47
- typeof federal_congress_bill_action.description === "string" &&
48
- (Array.isArray(federal_congress_bill_action.federal_congress_committee_ids) && federal_congress_bill_action.federal_congress_committee_ids.every((federal_congress_committee_id) => typeof federal_congress_committee_id === "string")));
45
+ typeof federal_congress_bill_action.description === "string");
49
46
  }
50
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.314",
3
+ "version": "1.0.315",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -27,7 +27,6 @@ export class FederalCongressBillAction {
27
27
  readonly bill_action_type_id? : FederalCongressBillActionTypeID
28
28
  readonly date : string
29
29
  readonly description : string
30
- readonly federal_congress_committee_ids : string[]
31
30
 
32
31
  constructor(federal_congress_bill_action : any) {
33
32
  if (!FederalCongressBillAction.is(federal_congress_bill_action)) {
@@ -40,7 +39,6 @@ export class FederalCongressBillAction {
40
39
  this.bill_action_type_id = federal_congress_bill_action.bill_action_type_id
41
40
  this.date = federal_congress_bill_action.date
42
41
  this.description = federal_congress_bill_action.description
43
- this.federal_congress_committee_ids = federal_congress_bill_action.federal_congress_committee_ids
44
42
  }
45
43
 
46
44
  static is(federal_congress_bill_action : any) : federal_congress_bill_action is FederalCongressBillAction {
@@ -52,8 +50,7 @@ export class FederalCongressBillAction {
52
50
  typeof federal_congress_bill_action.action_id === "number" &&
53
51
  (federal_congress_bill_action.bill_action_type_id === undefined || is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id)) &&
54
52
  typeof federal_congress_bill_action.date === "string" &&
55
- typeof federal_congress_bill_action.description === "string" &&
56
- (Array.isArray(federal_congress_bill_action.federal_congress_committee_ids) && federal_congress_bill_action.federal_congress_committee_ids.every((federal_congress_committee_id : any) => typeof federal_congress_committee_id === "string"))
53
+ typeof federal_congress_bill_action.description === "string"
57
54
  )
58
55
  }
59
56