triage-types 1.0.94 → 1.0.95
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.
- package/dist/src/types/federal_dockets/FederalDocketCommentAttachment.d.ts +1 -1
- package/dist/src/types/federal_dockets/FederalDocketCommentAttachment.js +3 -3
- package/dist/src/types/federal_dockets/FederalDocketDocument.d.ts +1 -1
- package/dist/src/types/federal_dockets/FederalDocketDocument.js +3 -3
- package/dist/src/types/federal_register/FederalRegisterDocument.d.ts +1 -1
- package/dist/src/types/federal_register/FederalRegisterDocument.js +3 -3
- package/dist/src/types/state_permits/StatePermitDocument.d.ts +2 -2
- package/dist/src/types/state_permits/StatePermitDocument.js +6 -6
- package/package.json +1 -1
- package/src/types/federal_dockets/FederalDocketCommentAttachment.ts +3 -3
- package/src/types/federal_dockets/FederalDocketDocument.ts +3 -3
- package/src/types/federal_register/FederalRegisterDocument.ts +3 -3
- package/src/types/state_permits/StatePermitDocument.ts +6 -6
|
@@ -3,7 +3,7 @@ export declare class FederalDocketCommentAttachment {
|
|
|
3
3
|
readonly federal_docket_comment_id: string;
|
|
4
4
|
readonly attachment_number: number;
|
|
5
5
|
readonly urls: string[];
|
|
6
|
-
readonly
|
|
6
|
+
readonly s3_ids?: string[];
|
|
7
7
|
constructor(federal_docket_comment_attachment: any);
|
|
8
8
|
static is(federal_docket_comment_attachment: any): federal_docket_comment_attachment is FederalDocketCommentAttachment;
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@ export class FederalDocketCommentAttachment {
|
|
|
3
3
|
federal_docket_comment_id;
|
|
4
4
|
attachment_number;
|
|
5
5
|
urls;
|
|
6
|
-
|
|
6
|
+
s3_ids;
|
|
7
7
|
constructor(federal_docket_comment_attachment) {
|
|
8
8
|
if (!FederalDocketCommentAttachment.is(federal_docket_comment_attachment)) {
|
|
9
9
|
throw Error("Invalid input.");
|
|
@@ -12,7 +12,7 @@ export class FederalDocketCommentAttachment {
|
|
|
12
12
|
this.attachment_number = federal_docket_comment_attachment.attachment_number;
|
|
13
13
|
this.federal_docket_comment_id = federal_docket_comment_attachment.federal_docket_comment_id;
|
|
14
14
|
this.urls = federal_docket_comment_attachment.urls;
|
|
15
|
-
this.
|
|
15
|
+
this.s3_ids = federal_docket_comment_attachment.s3_ids;
|
|
16
16
|
}
|
|
17
17
|
static is(federal_docket_comment_attachment) {
|
|
18
18
|
return (federal_docket_comment_attachment !== undefined &&
|
|
@@ -20,6 +20,6 @@ export class FederalDocketCommentAttachment {
|
|
|
20
20
|
typeof federal_docket_comment_attachment.federal_docket_comment_id === "string" &&
|
|
21
21
|
typeof federal_docket_comment_attachment.attachment_number === "number" &&
|
|
22
22
|
Array.isArray(federal_docket_comment_attachment.urls) && federal_docket_comment_attachment.urls.every((url) => typeof url === "string") &&
|
|
23
|
-
(federal_docket_comment_attachment.
|
|
23
|
+
(federal_docket_comment_attachment.s3_ids === undefined || Array.isArray(federal_docket_comment_attachment.s3_ids) && federal_docket_comment_attachment.s3_ids.every((s3_id) => typeof s3_id === "string")));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -21,7 +21,7 @@ export declare class FederalDocketDocument {
|
|
|
21
21
|
readonly media_type_id?: string;
|
|
22
22
|
readonly abstract?: string;
|
|
23
23
|
readonly urls: string[];
|
|
24
|
-
readonly
|
|
24
|
+
readonly s3_ids?: string[];
|
|
25
25
|
constructor(federal_docket_document: any);
|
|
26
26
|
static is(federal_docket_document: any): federal_docket_document is FederalDocketDocument;
|
|
27
27
|
}
|
|
@@ -22,7 +22,7 @@ export class FederalDocketDocument {
|
|
|
22
22
|
media_type_id;
|
|
23
23
|
abstract;
|
|
24
24
|
urls;
|
|
25
|
-
|
|
25
|
+
s3_ids;
|
|
26
26
|
constructor(federal_docket_document) {
|
|
27
27
|
if (!FederalDocketDocument.is(federal_docket_document)) {
|
|
28
28
|
throw Error("Invalid input.");
|
|
@@ -46,7 +46,7 @@ export class FederalDocketDocument {
|
|
|
46
46
|
this.media_type_id = federal_docket_document.media_type_id;
|
|
47
47
|
this.abstract = federal_docket_document.abstract;
|
|
48
48
|
this.urls = federal_docket_document.urls;
|
|
49
|
-
this.
|
|
49
|
+
this.s3_ids = federal_docket_document.s3_ids;
|
|
50
50
|
}
|
|
51
51
|
static is(federal_docket_document) {
|
|
52
52
|
return (federal_docket_document !== undefined &&
|
|
@@ -69,6 +69,6 @@ export class FederalDocketDocument {
|
|
|
69
69
|
(federal_docket_document.media_type_id === undefined || typeof federal_docket_document.media_type_id === "string") &&
|
|
70
70
|
(federal_docket_document.abstract === undefined || typeof federal_docket_document.abstract === "string") &&
|
|
71
71
|
Array.isArray(federal_docket_document.urls) && federal_docket_document.urls.every((url) => typeof url === "string") &&
|
|
72
|
-
(federal_docket_document.
|
|
72
|
+
(federal_docket_document.s3_ids === undefined || Array.isArray(federal_docket_document.s3_ids) && federal_docket_document.s3_ids.every((s3_id) => typeof s3_id === "string")));
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -14,7 +14,7 @@ export declare class FederalRegisterDocument {
|
|
|
14
14
|
readonly abstract?: string;
|
|
15
15
|
readonly url: string;
|
|
16
16
|
readonly topics: string[];
|
|
17
|
-
readonly
|
|
17
|
+
readonly s3_id?: string;
|
|
18
18
|
readonly vector_keys?: string[];
|
|
19
19
|
constructor(federal_register_document: any);
|
|
20
20
|
static is(federal_register_document: any): federal_register_document is FederalRegisterDocument;
|
|
@@ -15,7 +15,7 @@ export class FederalRegisterDocument {
|
|
|
15
15
|
abstract;
|
|
16
16
|
url;
|
|
17
17
|
topics;
|
|
18
|
-
|
|
18
|
+
s3_id;
|
|
19
19
|
vector_keys;
|
|
20
20
|
constructor(federal_register_document) {
|
|
21
21
|
if (!FederalRegisterDocument.is(federal_register_document)) {
|
|
@@ -33,7 +33,7 @@ export class FederalRegisterDocument {
|
|
|
33
33
|
this.abstract = federal_register_document.abstract;
|
|
34
34
|
this.url = federal_register_document.url;
|
|
35
35
|
this.topics = federal_register_document.topics;
|
|
36
|
-
this.
|
|
36
|
+
this.s3_id = federal_register_document.s3_id;
|
|
37
37
|
this.vector_keys = federal_register_document.vector_keys;
|
|
38
38
|
}
|
|
39
39
|
static is(federal_register_document) {
|
|
@@ -50,7 +50,7 @@ export class FederalRegisterDocument {
|
|
|
50
50
|
(federal_register_document.abstract === undefined || typeof federal_register_document.abstract === "string") &&
|
|
51
51
|
typeof federal_register_document.url === "string" &&
|
|
52
52
|
Array.isArray(federal_register_document.topics) && federal_register_document.topics.every((topic) => typeof topic === "string") &&
|
|
53
|
-
(federal_register_document.
|
|
53
|
+
(federal_register_document.s3_id === undefined || typeof federal_register_document.s3_id === "string") &&
|
|
54
54
|
(federal_register_document.vector_keys === undefined || Array.isArray(federal_register_document.vector_keys) && federal_register_document.vector_keys.every((topic) => typeof topic === "string")));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -15,8 +15,8 @@ export declare class StatePermitDocument {
|
|
|
15
15
|
readonly document_type: string;
|
|
16
16
|
readonly document_type_id?: string;
|
|
17
17
|
readonly name: string;
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
18
|
+
readonly s3_id?: string;
|
|
19
|
+
readonly s3_id_txt?: string;
|
|
20
20
|
readonly source_ids?: string[];
|
|
21
21
|
readonly comments?: StatePermitComment[];
|
|
22
22
|
readonly [x: string]: any;
|
|
@@ -25,8 +25,8 @@ export class StatePermitDocument {
|
|
|
25
25
|
document_type;
|
|
26
26
|
document_type_id;
|
|
27
27
|
name;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
s3_id;
|
|
29
|
+
s3_id_txt;
|
|
30
30
|
source_ids;
|
|
31
31
|
comments;
|
|
32
32
|
constructor(state_permit_document) {
|
|
@@ -41,8 +41,8 @@ export class StatePermitDocument {
|
|
|
41
41
|
this.document_type = state_permit_document.document_type;
|
|
42
42
|
this.document_type_id = state_permit_document.document_type_id;
|
|
43
43
|
this.name = state_permit_document.name;
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
44
|
+
this.s3_id = state_permit_document.s3_id;
|
|
45
|
+
this.s3_id_txt = state_permit_document.s3_id_txt;
|
|
46
46
|
this.source_ids = state_permit_document.source_ids;
|
|
47
47
|
this.comments = state_permit_document.comments;
|
|
48
48
|
}
|
|
@@ -56,8 +56,8 @@ export class StatePermitDocument {
|
|
|
56
56
|
typeof state_permit_document.document_type === "string" &&
|
|
57
57
|
(state_permit_document.document_type_id === undefined || typeof state_permit_document.document_type_id === "string") &&
|
|
58
58
|
typeof state_permit_document.name === "string" &&
|
|
59
|
-
(state_permit_document.
|
|
60
|
-
(state_permit_document.
|
|
59
|
+
(state_permit_document.s3_id === undefined || typeof state_permit_document.s3_id == "string") &&
|
|
60
|
+
(state_permit_document.s3_id_txt === undefined || typeof state_permit_document.s3_id_txt == "string") &&
|
|
61
61
|
(state_permit_document.source_ids === undefined || Array.isArray(state_permit_document.source_ids) && state_permit_document.source_ids.every((source_id) => typeof source_id === "string")) &&
|
|
62
62
|
(state_permit_document.comments === undefined || Array.isArray(state_permit_document.comments) && state_permit_document.comments.every(StatePermitComment.is)));
|
|
63
63
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export class FederalDocketCommentAttachment {
|
|
|
3
3
|
readonly federal_docket_comment_id : string
|
|
4
4
|
readonly attachment_number : number
|
|
5
5
|
readonly urls : string[]
|
|
6
|
-
readonly
|
|
6
|
+
readonly s3_ids? : string[]
|
|
7
7
|
|
|
8
8
|
constructor(federal_docket_comment_attachment : any) {
|
|
9
9
|
if (!FederalDocketCommentAttachment.is(federal_docket_comment_attachment)) {
|
|
@@ -13,7 +13,7 @@ export class FederalDocketCommentAttachment {
|
|
|
13
13
|
this.attachment_number = federal_docket_comment_attachment.attachment_number
|
|
14
14
|
this.federal_docket_comment_id = federal_docket_comment_attachment.federal_docket_comment_id
|
|
15
15
|
this.urls = federal_docket_comment_attachment.urls
|
|
16
|
-
this.
|
|
16
|
+
this.s3_ids = federal_docket_comment_attachment.s3_ids
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
static is(federal_docket_comment_attachment : any) : federal_docket_comment_attachment is FederalDocketCommentAttachment {
|
|
@@ -23,7 +23,7 @@ export class FederalDocketCommentAttachment {
|
|
|
23
23
|
typeof federal_docket_comment_attachment.federal_docket_comment_id === "string" &&
|
|
24
24
|
typeof federal_docket_comment_attachment.attachment_number === "number" &&
|
|
25
25
|
Array.isArray(federal_docket_comment_attachment.urls) && federal_docket_comment_attachment.urls.every((url : any) => typeof url === "string") &&
|
|
26
|
-
(federal_docket_comment_attachment.
|
|
26
|
+
(federal_docket_comment_attachment.s3_ids === undefined || Array.isArray(federal_docket_comment_attachment.s3_ids) && federal_docket_comment_attachment.s3_ids.every((s3_id : any) => typeof s3_id === "string"))
|
|
27
27
|
)
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -26,7 +26,7 @@ export class FederalDocketDocument {
|
|
|
26
26
|
readonly media_type_id? : string
|
|
27
27
|
readonly abstract? : string
|
|
28
28
|
readonly urls : string[]
|
|
29
|
-
readonly
|
|
29
|
+
readonly s3_ids? : string[]
|
|
30
30
|
|
|
31
31
|
constructor(federal_docket_document : any) {
|
|
32
32
|
if (!FederalDocketDocument.is(federal_docket_document)) {
|
|
@@ -51,7 +51,7 @@ export class FederalDocketDocument {
|
|
|
51
51
|
this.media_type_id = federal_docket_document.media_type_id
|
|
52
52
|
this.abstract = federal_docket_document.abstract
|
|
53
53
|
this.urls = federal_docket_document.urls
|
|
54
|
-
this.
|
|
54
|
+
this.s3_ids = federal_docket_document.s3_ids
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
static is(federal_docket_document : any) : federal_docket_document is FederalDocketDocument {
|
|
@@ -76,7 +76,7 @@ export class FederalDocketDocument {
|
|
|
76
76
|
(federal_docket_document.media_type_id === undefined || typeof federal_docket_document.media_type_id === "string") &&
|
|
77
77
|
(federal_docket_document.abstract === undefined || typeof federal_docket_document.abstract === "string") &&
|
|
78
78
|
Array.isArray(federal_docket_document.urls) && federal_docket_document.urls.every((url : any) => typeof url === "string") &&
|
|
79
|
-
(federal_docket_document.
|
|
79
|
+
(federal_docket_document.s3_ids === undefined || Array.isArray(federal_docket_document.s3_ids) && federal_docket_document.s3_ids.every((s3_id : any) => typeof s3_id === "string"))
|
|
80
80
|
)
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -19,7 +19,7 @@ export class FederalRegisterDocument {
|
|
|
19
19
|
readonly abstract? : string
|
|
20
20
|
readonly url : string
|
|
21
21
|
readonly topics : string[]
|
|
22
|
-
readonly
|
|
22
|
+
readonly s3_id? : string
|
|
23
23
|
readonly vector_keys? : string[]
|
|
24
24
|
|
|
25
25
|
constructor(federal_register_document : any) {
|
|
@@ -38,7 +38,7 @@ export class FederalRegisterDocument {
|
|
|
38
38
|
this.abstract = federal_register_document.abstract
|
|
39
39
|
this.url = federal_register_document.url
|
|
40
40
|
this.topics = federal_register_document.topics
|
|
41
|
-
this.
|
|
41
|
+
this.s3_id = federal_register_document.s3_id
|
|
42
42
|
this.vector_keys = federal_register_document.vector_keys
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -57,7 +57,7 @@ export class FederalRegisterDocument {
|
|
|
57
57
|
(federal_register_document.abstract === undefined || typeof federal_register_document.abstract === "string") &&
|
|
58
58
|
typeof federal_register_document.url === "string" &&
|
|
59
59
|
Array.isArray(federal_register_document.topics) && federal_register_document.topics.every((topic : any) => typeof topic === "string") &&
|
|
60
|
-
(federal_register_document.
|
|
60
|
+
(federal_register_document.s3_id === undefined || typeof federal_register_document.s3_id === "string") &&
|
|
61
61
|
(federal_register_document.vector_keys === undefined || Array.isArray(federal_register_document.vector_keys) && federal_register_document.vector_keys.every((topic : any) => typeof topic === "string"))
|
|
62
62
|
)
|
|
63
63
|
}
|
|
@@ -33,8 +33,8 @@ export class StatePermitDocument {
|
|
|
33
33
|
readonly document_type : string
|
|
34
34
|
readonly document_type_id? : string
|
|
35
35
|
readonly name : string
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
36
|
+
readonly s3_id? : string
|
|
37
|
+
readonly s3_id_txt? : string
|
|
38
38
|
readonly source_ids? : string[]
|
|
39
39
|
readonly comments? : StatePermitComment[]
|
|
40
40
|
readonly [x : string] : any
|
|
@@ -51,8 +51,8 @@ export class StatePermitDocument {
|
|
|
51
51
|
this.document_type = state_permit_document.document_type
|
|
52
52
|
this.document_type_id = state_permit_document.document_type_id
|
|
53
53
|
this.name = state_permit_document.name
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
54
|
+
this.s3_id = state_permit_document.s3_id
|
|
55
|
+
this.s3_id_txt = state_permit_document.s3_id_txt
|
|
56
56
|
this.source_ids = state_permit_document.source_ids
|
|
57
57
|
this.comments = state_permit_document.comments
|
|
58
58
|
}
|
|
@@ -68,8 +68,8 @@ export class StatePermitDocument {
|
|
|
68
68
|
typeof state_permit_document.document_type === "string" &&
|
|
69
69
|
(state_permit_document.document_type_id === undefined || typeof state_permit_document.document_type_id === "string") &&
|
|
70
70
|
typeof state_permit_document.name === "string" &&
|
|
71
|
-
(state_permit_document.
|
|
72
|
-
(state_permit_document.
|
|
71
|
+
(state_permit_document.s3_id === undefined || typeof state_permit_document.s3_id == "string") &&
|
|
72
|
+
(state_permit_document.s3_id_txt === undefined || typeof state_permit_document.s3_id_txt == "string") &&
|
|
73
73
|
(state_permit_document.source_ids === undefined || Array.isArray(state_permit_document.source_ids) && state_permit_document.source_ids.every((source_id : any) => typeof source_id === "string")) &&
|
|
74
74
|
(state_permit_document.comments === undefined || Array.isArray(state_permit_document.comments) && state_permit_document.comments.every(StatePermitComment.is))
|
|
75
75
|
)
|