triangle-types 1.0.291 → 1.0.292
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.
|
@@ -3,7 +3,7 @@ export class UserPrismSample {
|
|
|
3
3
|
prism_id;
|
|
4
4
|
sample_id;
|
|
5
5
|
tenant_id;
|
|
6
|
-
|
|
6
|
+
num_units;
|
|
7
7
|
name;
|
|
8
8
|
seed;
|
|
9
9
|
constructor(prism_sample) {
|
|
@@ -14,7 +14,7 @@ export class UserPrismSample {
|
|
|
14
14
|
this.prism_id = prism_sample.prism_id;
|
|
15
15
|
this.sample_id = prism_sample.sample_id;
|
|
16
16
|
this.tenant_id = prism_sample.tenant_id;
|
|
17
|
-
this.
|
|
17
|
+
this.num_units = prism_sample.num_units;
|
|
18
18
|
this.name = prism_sample.name;
|
|
19
19
|
this.seed = prism_sample.seed;
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ export class UserPrismSample {
|
|
|
24
24
|
typeof prism_sample.prism_id === "string" &&
|
|
25
25
|
typeof prism_sample.sample_id === "string" &&
|
|
26
26
|
typeof prism_sample.tenant_id === "string" &&
|
|
27
|
-
typeof prism_sample.
|
|
27
|
+
typeof prism_sample.num_units === "number" &&
|
|
28
28
|
typeof prism_sample.name === "string" &&
|
|
29
29
|
typeof prism_sample.seed === "number");
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export class UserPrismSample {
|
|
|
3
3
|
readonly prism_id : string
|
|
4
4
|
readonly sample_id : string
|
|
5
5
|
readonly tenant_id : string
|
|
6
|
-
readonly
|
|
6
|
+
readonly num_units : number
|
|
7
7
|
readonly name : string
|
|
8
8
|
readonly seed : number
|
|
9
9
|
readonly [x : string] : any
|
|
@@ -16,7 +16,7 @@ export class UserPrismSample {
|
|
|
16
16
|
this.prism_id = prism_sample.prism_id
|
|
17
17
|
this.sample_id = prism_sample.sample_id
|
|
18
18
|
this.tenant_id = prism_sample.tenant_id
|
|
19
|
-
this.
|
|
19
|
+
this.num_units = prism_sample.num_units
|
|
20
20
|
this.name = prism_sample.name
|
|
21
21
|
this.seed = prism_sample.seed
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ export class UserPrismSample {
|
|
|
28
28
|
typeof prism_sample.prism_id === "string" &&
|
|
29
29
|
typeof prism_sample.sample_id === "string" &&
|
|
30
30
|
typeof prism_sample.tenant_id === "string" &&
|
|
31
|
-
typeof prism_sample.
|
|
31
|
+
typeof prism_sample.num_units === "number" &&
|
|
32
32
|
typeof prism_sample.name === "string" &&
|
|
33
33
|
typeof prism_sample.seed === "number"
|
|
34
34
|
)
|