triangle-types 1.0.365 → 1.0.367
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/state_permits/StatePermitDocument.d.ts +1 -1
- package/dist/src/types/state_permits/StatePermitDocument.js +1 -1
- package/dist/src/types/state_permits/StatePermitDocumentSource.js +1 -1
- package/package.json +1 -1
- package/src/types/state_permits/StatePermitDocument.ts +2 -2
- package/src/types/state_permits/StatePermitDocumentSource.ts +1 -1
|
@@ -11,7 +11,7 @@ export declare class StatePermitDocument {
|
|
|
11
11
|
readonly permit_id: string;
|
|
12
12
|
readonly document_id: string;
|
|
13
13
|
readonly permit_type_id: string;
|
|
14
|
-
readonly document_type_name
|
|
14
|
+
readonly document_type_name?: string;
|
|
15
15
|
readonly name: string;
|
|
16
16
|
readonly date?: string;
|
|
17
17
|
readonly url?: string;
|
|
@@ -54,7 +54,7 @@ export class StatePermitDocument {
|
|
|
54
54
|
typeof state_permit_document.permit_id === "string" &&
|
|
55
55
|
typeof state_permit_document.document_id === "string" &&
|
|
56
56
|
typeof state_permit_document.permit_type_id === "string" &&
|
|
57
|
-
typeof state_permit_document.document_type_name === "string" &&
|
|
57
|
+
(state_permit_document.document_type_name === undefined || typeof state_permit_document.document_type_name === "string") &&
|
|
58
58
|
typeof state_permit_document.name === "string" &&
|
|
59
59
|
(state_permit_document.date === undefined || typeof state_permit_document.date === "string") &&
|
|
60
60
|
(state_permit_document.url === undefined || typeof state_permit_document.url === "string") &&
|
|
@@ -33,7 +33,7 @@ export class StatePermitDocumentSource {
|
|
|
33
33
|
typeof state_permit_document_source.permit_type_id === "string" &&
|
|
34
34
|
typeof state_permit_document_source.source_type_id === "string" &&
|
|
35
35
|
typeof state_permit_document_source.description === "string" &&
|
|
36
|
-
(state_permit_document_source.
|
|
36
|
+
(state_permit_document_source.num_pollutants === undefined || typeof state_permit_document_source.num_pollutants === "number"));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
export class StateWaterPermitDocumentSource extends StatePermitDocumentSource {
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ export class StatePermitDocument {
|
|
|
28
28
|
readonly permit_id : string
|
|
29
29
|
readonly document_id : string
|
|
30
30
|
readonly permit_type_id : string
|
|
31
|
-
readonly document_type_name : string
|
|
31
|
+
readonly document_type_name? : string
|
|
32
32
|
readonly name : string
|
|
33
33
|
readonly date? : string
|
|
34
34
|
readonly url? : string
|
|
@@ -65,7 +65,7 @@ export class StatePermitDocument {
|
|
|
65
65
|
typeof state_permit_document.permit_id === "string" &&
|
|
66
66
|
typeof state_permit_document.document_id === "string" &&
|
|
67
67
|
typeof state_permit_document.permit_type_id === "string" &&
|
|
68
|
-
typeof state_permit_document.document_type_name === "string" &&
|
|
68
|
+
(state_permit_document.document_type_name === undefined || typeof state_permit_document.document_type_name === "string") &&
|
|
69
69
|
typeof state_permit_document.name === "string" &&
|
|
70
70
|
(state_permit_document.date === undefined || typeof state_permit_document.date === "string") &&
|
|
71
71
|
(state_permit_document.url === undefined || typeof state_permit_document.url === "string") &&
|
|
@@ -38,7 +38,7 @@ export class StatePermitDocumentSource {
|
|
|
38
38
|
typeof state_permit_document_source.permit_type_id === "string" &&
|
|
39
39
|
typeof state_permit_document_source.source_type_id === "string" &&
|
|
40
40
|
typeof state_permit_document_source.description === "string" &&
|
|
41
|
-
(state_permit_document_source.
|
|
41
|
+
(state_permit_document_source.num_pollutants === undefined || typeof state_permit_document_source.num_pollutants === "number")
|
|
42
42
|
)
|
|
43
43
|
}
|
|
44
44
|
}
|