triangle-types 1.0.73 → 1.0.75
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.
|
@@ -7,7 +7,7 @@ export declare class FederalCongressBillAction {
|
|
|
7
7
|
readonly bill_id: string;
|
|
8
8
|
readonly action_id: number;
|
|
9
9
|
readonly federal_congress_bill_id: string;
|
|
10
|
-
readonly bill_action_type_id
|
|
10
|
+
readonly bill_action_type_id?: FederalCongressBillActionTypeID;
|
|
11
11
|
readonly date: string;
|
|
12
12
|
readonly description: string;
|
|
13
13
|
readonly federal_congress_committee_ids: string[];
|
|
@@ -46,7 +46,7 @@ export class FederalCongressBillAction {
|
|
|
46
46
|
typeof federal_congress_bill_action.bill_id === "string" &&
|
|
47
47
|
typeof federal_congress_bill_action.action_id === "number" &&
|
|
48
48
|
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
49
|
-
is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id) &&
|
|
49
|
+
(federal_congress_bill_action.bill_action_type_id === undefined || is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id)) &&
|
|
50
50
|
typeof federal_congress_bill_action.date === "string" &&
|
|
51
51
|
typeof federal_congress_bill_action.description === "string" &&
|
|
52
52
|
(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")) &&
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ export class FederalCongressBillAction {
|
|
|
25
25
|
readonly bill_id : string
|
|
26
26
|
readonly action_id : number
|
|
27
27
|
readonly federal_congress_bill_id : string
|
|
28
|
-
readonly bill_action_type_id : FederalCongressBillActionTypeID
|
|
28
|
+
readonly bill_action_type_id? : FederalCongressBillActionTypeID
|
|
29
29
|
readonly date : string
|
|
30
30
|
readonly description : string
|
|
31
31
|
readonly federal_congress_committee_ids : string[]
|
|
@@ -55,7 +55,7 @@ export class FederalCongressBillAction {
|
|
|
55
55
|
typeof federal_congress_bill_action.bill_id === "string" &&
|
|
56
56
|
typeof federal_congress_bill_action.action_id === "number" &&
|
|
57
57
|
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
58
|
-
is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id) &&
|
|
58
|
+
(federal_congress_bill_action.bill_action_type_id === undefined || is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id)) &&
|
|
59
59
|
typeof federal_congress_bill_action.date === "string" &&
|
|
60
60
|
typeof federal_congress_bill_action.description === "string" &&
|
|
61
61
|
(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")) &&
|