triangle-types 1.0.72 → 1.0.73
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.
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { FederalCongressBillTypeID } from "./FederalCongressBill.js";
|
|
2
1
|
declare const federal_congress_bill_action_type_ids: readonly ["COMMITTEE", "CALENDARS", "FLOOR", "BECAMELAW", "INTROREFERRAL", "PRESIDENT", "RESOLVINGDIFFERENCES", "DISCHARGE", "NOTUSED", "VETO"];
|
|
3
2
|
export type FederalCongressBillActionTypeID = typeof federal_congress_bill_action_type_ids[number];
|
|
4
3
|
export declare function is_federal_congress_bill_action_type_id(federal_congress_bill_action_type_id: any): federal_congress_bill_action_type_id is FederalCongressBillActionTypeID;
|
|
5
4
|
export declare class FederalCongressBillAction {
|
|
6
5
|
readonly federal_congress_bill_action_id: string;
|
|
7
|
-
readonly federal_congress_bill_id: string;
|
|
8
|
-
readonly action_id: number;
|
|
9
6
|
readonly federal_congress_id: number;
|
|
10
7
|
readonly bill_id: string;
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
8
|
+
readonly action_id: number;
|
|
9
|
+
readonly federal_congress_bill_id: string;
|
|
13
10
|
readonly bill_action_type_id: FederalCongressBillActionTypeID;
|
|
14
11
|
readonly date: string;
|
|
15
12
|
readonly description: string;
|
|
@@ -15,12 +15,10 @@ export function is_federal_congress_bill_action_type_id(federal_congress_bill_ac
|
|
|
15
15
|
}
|
|
16
16
|
export class FederalCongressBillAction {
|
|
17
17
|
federal_congress_bill_action_id;
|
|
18
|
-
federal_congress_bill_id;
|
|
19
|
-
action_id;
|
|
20
18
|
federal_congress_id;
|
|
21
19
|
bill_id;
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
action_id;
|
|
21
|
+
federal_congress_bill_id;
|
|
24
22
|
bill_action_type_id;
|
|
25
23
|
date;
|
|
26
24
|
description;
|
|
@@ -31,12 +29,10 @@ export class FederalCongressBillAction {
|
|
|
31
29
|
throw Error("Invalid input.");
|
|
32
30
|
}
|
|
33
31
|
this.federal_congress_bill_action_id = federal_congress_bill_action.federal_congress_bill_action_id;
|
|
34
|
-
this.federal_congress_bill_id = federal_congress_bill_action.federal_congress_bill_id;
|
|
35
32
|
this.federal_congress_id = federal_congress_bill_action.federal_congress_id;
|
|
36
33
|
this.bill_id = federal_congress_bill_action.bill_id;
|
|
37
|
-
this.bill_type_id = federal_congress_bill_action.bill_type_id;
|
|
38
|
-
this.number = federal_congress_bill_action.number;
|
|
39
34
|
this.action_id = federal_congress_bill_action.action_id;
|
|
35
|
+
this.federal_congress_bill_id = federal_congress_bill_action.federal_congress_bill_id;
|
|
40
36
|
this.bill_action_type_id = federal_congress_bill_action.bill_action_type_id;
|
|
41
37
|
this.date = federal_congress_bill_action.date;
|
|
42
38
|
this.description = federal_congress_bill_action.description;
|
|
@@ -46,12 +42,10 @@ export class FederalCongressBillAction {
|
|
|
46
42
|
static is(federal_congress_bill_action) {
|
|
47
43
|
return (federal_congress_bill_action !== undefined &&
|
|
48
44
|
typeof federal_congress_bill_action.federal_congress_bill_action_id === "string" &&
|
|
49
|
-
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
50
45
|
typeof federal_congress_bill_action.federal_congress_id === "number" &&
|
|
51
46
|
typeof federal_congress_bill_action.bill_id === "string" &&
|
|
52
|
-
typeof federal_congress_bill_action.
|
|
53
|
-
typeof federal_congress_bill_action.
|
|
54
|
-
typeof federal_congress_bill_action.action_id === "string" &&
|
|
47
|
+
typeof federal_congress_bill_action.action_id === "number" &&
|
|
48
|
+
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
55
49
|
is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id) &&
|
|
56
50
|
typeof federal_congress_bill_action.date === "string" &&
|
|
57
51
|
typeof federal_congress_bill_action.description === "string" &&
|
package/package.json
CHANGED
|
@@ -21,12 +21,10 @@ export function is_federal_congress_bill_action_type_id(federal_congress_bill_ac
|
|
|
21
21
|
|
|
22
22
|
export class FederalCongressBillAction {
|
|
23
23
|
readonly federal_congress_bill_action_id : string
|
|
24
|
-
readonly federal_congress_bill_id : string
|
|
25
|
-
readonly action_id : number
|
|
26
24
|
readonly federal_congress_id : number
|
|
27
25
|
readonly bill_id : string
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
26
|
+
readonly action_id : number
|
|
27
|
+
readonly federal_congress_bill_id : string
|
|
30
28
|
readonly bill_action_type_id : FederalCongressBillActionTypeID
|
|
31
29
|
readonly date : string
|
|
32
30
|
readonly description : string
|
|
@@ -38,12 +36,10 @@ export class FederalCongressBillAction {
|
|
|
38
36
|
throw Error("Invalid input.")
|
|
39
37
|
}
|
|
40
38
|
this.federal_congress_bill_action_id = federal_congress_bill_action.federal_congress_bill_action_id
|
|
41
|
-
this.federal_congress_bill_id = federal_congress_bill_action.federal_congress_bill_id
|
|
42
39
|
this.federal_congress_id = federal_congress_bill_action.federal_congress_id
|
|
43
40
|
this.bill_id = federal_congress_bill_action.bill_id
|
|
44
|
-
this.bill_type_id = federal_congress_bill_action.bill_type_id
|
|
45
|
-
this.number = federal_congress_bill_action.number
|
|
46
41
|
this.action_id = federal_congress_bill_action.action_id
|
|
42
|
+
this.federal_congress_bill_id = federal_congress_bill_action.federal_congress_bill_id
|
|
47
43
|
this.bill_action_type_id = federal_congress_bill_action.bill_action_type_id
|
|
48
44
|
this.date = federal_congress_bill_action.date
|
|
49
45
|
this.description = federal_congress_bill_action.description
|
|
@@ -55,12 +51,10 @@ export class FederalCongressBillAction {
|
|
|
55
51
|
return (
|
|
56
52
|
federal_congress_bill_action !== undefined &&
|
|
57
53
|
typeof federal_congress_bill_action.federal_congress_bill_action_id === "string" &&
|
|
58
|
-
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
59
54
|
typeof federal_congress_bill_action.federal_congress_id === "number" &&
|
|
60
55
|
typeof federal_congress_bill_action.bill_id === "string" &&
|
|
61
|
-
typeof federal_congress_bill_action.
|
|
62
|
-
typeof federal_congress_bill_action.
|
|
63
|
-
typeof federal_congress_bill_action.action_id === "string" &&
|
|
56
|
+
typeof federal_congress_bill_action.action_id === "number" &&
|
|
57
|
+
typeof federal_congress_bill_action.federal_congress_bill_id === "string" &&
|
|
64
58
|
is_federal_congress_bill_action_type_id(federal_congress_bill_action.bill_action_type_id) &&
|
|
65
59
|
typeof federal_congress_bill_action.date === "string" &&
|
|
66
60
|
typeof federal_congress_bill_action.description === "string" &&
|