triangle-types 1.0.213 → 1.0.215
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.
|
@@ -2,8 +2,9 @@ import { FragmentTypeID } from "../fragments/Fragment.js";
|
|
|
2
2
|
export declare class TenantDocument {
|
|
3
3
|
readonly tenant_id: string;
|
|
4
4
|
readonly document_id: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly file_suffix_id: string;
|
|
6
6
|
readonly name: string;
|
|
7
|
+
readonly path: string;
|
|
7
8
|
readonly fragment_type_id?: FragmentTypeID;
|
|
8
9
|
readonly s3_id_zip: string;
|
|
9
10
|
readonly s3_id: string;
|
|
@@ -2,8 +2,9 @@ import { is_fragment_type_id } from "../fragments/Fragment.js";
|
|
|
2
2
|
export class TenantDocument {
|
|
3
3
|
tenant_id;
|
|
4
4
|
document_id;
|
|
5
|
-
|
|
5
|
+
file_suffix_id;
|
|
6
6
|
name;
|
|
7
|
+
path;
|
|
7
8
|
fragment_type_id;
|
|
8
9
|
s3_id_zip;
|
|
9
10
|
s3_id;
|
|
@@ -15,8 +16,9 @@ export class TenantDocument {
|
|
|
15
16
|
}
|
|
16
17
|
this.tenant_id = tenant_document.tenant_id;
|
|
17
18
|
this.document_id = tenant_document.document_id;
|
|
18
|
-
this.
|
|
19
|
+
this.file_suffix_id = tenant_document.file_suffix_id;
|
|
19
20
|
this.name = tenant_document.name;
|
|
21
|
+
this.path = tenant_document.path;
|
|
20
22
|
this.fragment_type_id = tenant_document.fragment_type_id;
|
|
21
23
|
this.s3_id_zip = tenant_document.s3_id_zip;
|
|
22
24
|
this.s3_id = tenant_document.s3_id;
|
|
@@ -27,8 +29,9 @@ export class TenantDocument {
|
|
|
27
29
|
return (tenant_document !== undefined &&
|
|
28
30
|
typeof tenant_document.tenant_id === "string" &&
|
|
29
31
|
typeof tenant_document.document_id === "string" &&
|
|
30
|
-
typeof tenant_document.
|
|
32
|
+
typeof tenant_document.file_suffix_id === "string" &&
|
|
31
33
|
typeof tenant_document.name === "string" &&
|
|
34
|
+
typeof tenant_document.path === "string" &&
|
|
32
35
|
(tenant_document.fragment_type_id === undefined || is_fragment_type_id(tenant_document.fragment_type_id)) &&
|
|
33
36
|
typeof tenant_document.s3_id_zip === "string" &&
|
|
34
37
|
typeof tenant_document.s3_id === "string" &&
|
package/package.json
CHANGED
|
@@ -3,8 +3,9 @@ import { FragmentTypeID, is_fragment_type_id } from "../fragments/Fragment"
|
|
|
3
3
|
export class TenantDocument {
|
|
4
4
|
readonly tenant_id : string
|
|
5
5
|
readonly document_id : string
|
|
6
|
-
readonly
|
|
6
|
+
readonly file_suffix_id : string
|
|
7
7
|
readonly name : string
|
|
8
|
+
readonly path : string
|
|
8
9
|
readonly fragment_type_id? : FragmentTypeID
|
|
9
10
|
readonly s3_id_zip : string
|
|
10
11
|
readonly s3_id : string
|
|
@@ -18,8 +19,9 @@ export class TenantDocument {
|
|
|
18
19
|
}
|
|
19
20
|
this.tenant_id = tenant_document.tenant_id
|
|
20
21
|
this.document_id = tenant_document.document_id
|
|
21
|
-
this.
|
|
22
|
+
this.file_suffix_id = tenant_document.file_suffix_id
|
|
22
23
|
this.name = tenant_document.name
|
|
24
|
+
this.path = tenant_document.path
|
|
23
25
|
this.fragment_type_id = tenant_document.fragment_type_id
|
|
24
26
|
this.s3_id_zip = tenant_document.s3_id_zip
|
|
25
27
|
this.s3_id = tenant_document.s3_id
|
|
@@ -32,8 +34,9 @@ export class TenantDocument {
|
|
|
32
34
|
tenant_document !== undefined &&
|
|
33
35
|
typeof tenant_document.tenant_id === "string" &&
|
|
34
36
|
typeof tenant_document.document_id === "string" &&
|
|
35
|
-
typeof tenant_document.
|
|
37
|
+
typeof tenant_document.file_suffix_id === "string" &&
|
|
36
38
|
typeof tenant_document.name === "string" &&
|
|
39
|
+
typeof tenant_document.path === "string" &&
|
|
37
40
|
(tenant_document.fragment_type_id === undefined || is_fragment_type_id(tenant_document.fragment_type_id)) &&
|
|
38
41
|
typeof tenant_document.s3_id_zip === "string" &&
|
|
39
42
|
typeof tenant_document.s3_id === "string" &&
|