@mat3ra/prode 2026.3.30-0 → 2026.5.28-0
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/js/PropertyFactory.d.ts +2 -2
- package/dist/js/generated/AtomicConstraintsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/AtomicConstraintsPropertySchemaMixin.js +6 -0
- package/dist/js/generated/AtomicForcesPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/AtomicForcesPropertySchemaMixin.js +9 -0
- package/dist/js/generated/AveragePotentialProfilePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/AveragePotentialProfilePropertySchemaMixin.js +15 -0
- package/dist/js/generated/BandGapsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/BandGapsPropertySchemaMixin.js +9 -0
- package/dist/js/generated/BandStructurePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/BandStructurePropertySchemaMixin.js +18 -0
- package/dist/js/generated/BoundaryConditionsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/BoundaryConditionsPropertySchemaMixin.js +9 -0
- package/dist/js/generated/ChargeDensityProfilePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ChargeDensityProfilePropertySchemaMixin.js +15 -0
- package/dist/js/generated/ConvergenceElectronicPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ConvergenceElectronicPropertySchemaMixin.js +9 -0
- package/dist/js/generated/ConvergenceIonicPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ConvergenceIonicPropertySchemaMixin.js +12 -0
- package/dist/js/generated/DensityOfStatesPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/DensityOfStatesPropertySchemaMixin.js +18 -0
- package/dist/js/generated/DielectricTensorPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/DielectricTensorPropertySchemaMixin.js +6 -0
- package/dist/js/generated/FermiEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/FermiEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/FileContentPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/FileContentPropertySchemaMixin.js +15 -0
- package/dist/js/generated/FinalStructurePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/FinalStructurePropertySchemaMixin.js +9 -0
- package/dist/js/generated/HOMOEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/HOMOEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/HubbardUPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/HubbardUPropertySchemaMixin.js +9 -0
- package/dist/js/generated/HubbardVNNPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/HubbardVNNPropertySchemaMixin.js +9 -0
- package/dist/js/generated/HubbardVPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/HubbardVPropertySchemaMixin.js +9 -0
- package/dist/js/generated/IonizationPotentialElementalPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/IonizationPotentialElementalPropertySchemaMixin.js +9 -0
- package/dist/js/generated/IsRelaxedPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/IsRelaxedPropertySchemaMixin.js +9 -0
- package/dist/js/generated/JupyterNotebookEndpointPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/JupyterNotebookEndpointPropertySchemaMixin.js +12 -0
- package/dist/js/generated/LUMOEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/LUMOEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/MagneticMomentsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/MagneticMomentsPropertySchemaMixin.js +9 -0
- package/dist/js/generated/MetaPropertyHolderSchemaMixin.d.ts +1 -1
- package/dist/js/generated/MetaPropertyHolderSchemaMixin.js +6 -0
- package/dist/js/generated/PhononDOSPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/PhononDOSPropertySchemaMixin.js +15 -0
- package/dist/js/generated/PhononDispersionsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/PhononDispersionsPropertySchemaMixin.js +15 -0
- package/dist/js/generated/PotentialProfilePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/PotentialProfilePropertySchemaMixin.js +15 -0
- package/dist/js/generated/PressurePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/PressurePropertySchemaMixin.js +9 -0
- package/dist/js/generated/PropertyHolderSchemaMixin.d.ts +1 -1
- package/dist/js/generated/PropertyHolderSchemaMixin.js +21 -0
- package/dist/js/generated/ProtoPropertyHolderSchemaMixin.d.ts +1 -1
- package/dist/js/generated/ProtoPropertyHolderSchemaMixin.js +6 -0
- package/dist/js/generated/PseudopotentialMetaPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/PseudopotentialMetaPropertySchemaMixin.js +36 -0
- package/dist/js/generated/ReactionEnergyBarrierPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ReactionEnergyBarrierPropertySchemaMixin.js +9 -0
- package/dist/js/generated/ReactionEnergyProfilePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ReactionEnergyProfilePropertySchemaMixin.js +15 -0
- package/dist/js/generated/StressTensorPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/StressTensorPropertySchemaMixin.js +9 -0
- package/dist/js/generated/SurfaceEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/SurfaceEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/ThermalCorrectionToEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ThermalCorrectionToEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/ThermalCorrectionToEnthalpyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ThermalCorrectionToEnthalpyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/TotalEnergyContributionsPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/TotalEnergyContributionsPropertySchemaMixin.js +48 -0
- package/dist/js/generated/TotalEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/TotalEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/generated/TotalForcePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/TotalForcePropertySchemaMixin.js +9 -0
- package/dist/js/generated/ValenceBandOffsetPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ValenceBandOffsetPropertySchemaMixin.js +9 -0
- package/dist/js/generated/WavefunctionAmplitudePropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/WavefunctionAmplitudePropertySchemaMixin.js +15 -0
- package/dist/js/generated/WorkflowPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/WorkflowPropertySchemaMixin.js +39 -12
- package/dist/js/generated/ZeroPointEnergyPropertySchemaMixin.d.ts +1 -1
- package/dist/js/generated/ZeroPointEnergyPropertySchemaMixin.js +9 -0
- package/dist/js/holders/MetaPropertyHolder.d.ts +4 -5
- package/dist/js/holders/MetaPropertyHolder.js +1 -1
- package/dist/js/holders/PropertyHolder.d.ts +5 -4
- package/dist/js/holders/mixins/MetaPropertyHolderMixin.d.ts +2 -2
- package/dist/js/index.d.ts +3 -0
- package/dist/js/index.js +7 -1
- package/dist/js/meta_properties/PseudopotentialMetaProperty.d.ts +14 -14
- package/dist/js/meta_properties/PseudopotentialMetaProperty.js +7 -1
- package/dist/js/properties/scalar/ThermalCorrectionToEnergyProperty.d.ts +5 -5
- package/dist/js/properties/scalar/ThermalCorrectionToEnergyProperty.js +1 -1
- package/dist/js/properties/scalar/ThermalCorrectionToEnthalpyProperty.d.ts +5 -5
- package/dist/js/properties/scalar/ThermalCorrectionToEnthalpyProperty.js +1 -1
- package/dist/js/types.d.ts +1 -0
- package/package.json +5 -5
- package/src/js/PropertyFactory.ts +1 -2
- package/src/js/generated/AtomicConstraintsPropertySchemaMixin.ts +9 -1
- package/src/js/generated/AtomicForcesPropertySchemaMixin.ts +12 -1
- package/src/js/generated/AveragePotentialProfilePropertySchemaMixin.ts +18 -1
- package/src/js/generated/BandGapsPropertySchemaMixin.ts +12 -1
- package/src/js/generated/BandStructurePropertySchemaMixin.ts +21 -1
- package/src/js/generated/BoundaryConditionsPropertySchemaMixin.ts +12 -1
- package/src/js/generated/ChargeDensityProfilePropertySchemaMixin.ts +18 -1
- package/src/js/generated/ConvergenceElectronicPropertySchemaMixin.ts +12 -1
- package/src/js/generated/ConvergenceIonicPropertySchemaMixin.ts +15 -1
- package/src/js/generated/DensityOfStatesPropertySchemaMixin.ts +21 -1
- package/src/js/generated/DielectricTensorPropertySchemaMixin.ts +9 -1
- package/src/js/generated/FermiEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/FileContentPropertySchemaMixin.ts +18 -1
- package/src/js/generated/FinalStructurePropertySchemaMixin.ts +12 -1
- package/src/js/generated/HOMOEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/HubbardUPropertySchemaMixin.ts +12 -1
- package/src/js/generated/HubbardVNNPropertySchemaMixin.ts +12 -1
- package/src/js/generated/HubbardVPropertySchemaMixin.ts +12 -1
- package/src/js/generated/IonizationPotentialElementalPropertySchemaMixin.ts +12 -1
- package/src/js/generated/IsRelaxedPropertySchemaMixin.ts +12 -1
- package/src/js/generated/JupyterNotebookEndpointPropertySchemaMixin.ts +15 -1
- package/src/js/generated/LUMOEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/MagneticMomentsPropertySchemaMixin.ts +12 -1
- package/src/js/generated/MetaPropertyHolderSchemaMixin.ts +9 -1
- package/src/js/generated/PhononDOSPropertySchemaMixin.ts +18 -1
- package/src/js/generated/PhononDispersionsPropertySchemaMixin.ts +18 -1
- package/src/js/generated/PotentialProfilePropertySchemaMixin.ts +18 -1
- package/src/js/generated/PressurePropertySchemaMixin.ts +12 -1
- package/src/js/generated/PropertyHolderSchemaMixin.ts +24 -1
- package/src/js/generated/ProtoPropertyHolderSchemaMixin.ts +9 -1
- package/src/js/generated/PseudopotentialMetaPropertySchemaMixin.ts +39 -1
- package/src/js/generated/ReactionEnergyBarrierPropertySchemaMixin.ts +12 -1
- package/src/js/generated/ReactionEnergyProfilePropertySchemaMixin.ts +18 -1
- package/src/js/generated/StressTensorPropertySchemaMixin.ts +12 -1
- package/src/js/generated/SurfaceEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/ThermalCorrectionToEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/ThermalCorrectionToEnthalpyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/TotalEnergyContributionsPropertySchemaMixin.ts +59 -1
- package/src/js/generated/TotalEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/generated/TotalForcePropertySchemaMixin.ts +12 -1
- package/src/js/generated/ValenceBandOffsetPropertySchemaMixin.ts +12 -1
- package/src/js/generated/WavefunctionAmplitudePropertySchemaMixin.ts +18 -1
- package/src/js/generated/WorkflowPropertySchemaMixin.ts +42 -13
- package/src/js/generated/ZeroPointEnergyPropertySchemaMixin.ts +12 -1
- package/src/js/holders/MetaPropertyHolder.ts +5 -3
- package/src/js/holders/PropertyHolder.ts +5 -3
- package/src/js/holders/mixins/MetaPropertyHolderMixin.ts +2 -2
- package/src/js/index.ts +3 -0
- package/src/js/meta_properties/PseudopotentialMetaProperty.ts +24 -15
- package/src/js/properties/scalar/ThermalCorrectionToEnergyProperty.ts +7 -3
- package/src/js/properties/scalar/ThermalCorrectionToEnthalpyProperty.ts +8 -3
- package/src/js/types.ts +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetaPropertyHolderSchema, PropertyHolderSchema, ProtoPropertyHolderSchema } from "@mat3ra/esse/dist/js/types";
|
|
2
|
-
import
|
|
2
|
+
import PseudopotentialProperty from "./meta_properties/PseudopotentialMetaProperty";
|
|
3
3
|
import AveragePotentialProfileProperty from "./properties/non-scalar/AveragePotentialProfileProperty";
|
|
4
4
|
import BandGapsProperty from "./properties/non-scalar/BandGapsProperty";
|
|
5
5
|
import BandStructureProperty from "./properties/non-scalar/BandStructureProperty";
|
|
@@ -53,7 +53,7 @@ export default class PropertyFactory {
|
|
|
53
53
|
static getNonScalarPropertyNames(): PropertyName[];
|
|
54
54
|
private static filterPropertyNames;
|
|
55
55
|
static createProperty(config: AnyProperty): AveragePotentialProfileProperty | BandGapsProperty | BandStructureProperty | ChargeDensityProfileProperty | ConvergenceElectronicProperty | ConvergenceIonicProperty | DensityOfStatesProperty | DielectricTensorProperty | FileContentProperty | FinalStructureProperty | HubbardUProperty | HubbardVNNProperty | HubbardVProperty | IsRelaxedProperty | JupyterNotebookEndpointProperty | PhononDispersionsProperty | PhononDOSProperty | PotentialProfileProperty | ReactionEnergyProfileProperty | WavefunctionAmplitudeProperty | WorkflowProperty | TotalEnergyContributionsProperty | FermiEnergyProperty | HOMOEnergyProperty | IonizationPotentialElementalProperty | LUMOEnergyProperty | PressureProperty | ReactionEnergyBarrierProperty | SurfaceEnergyProperty | ThermalCorrectionToEnergyProperty | ThermalCorrectionToEnthalpyProperty | TotalEnergyProperty | TotalForcesProperty | ValenceBandOffsetProperty | ZeroPointEnergyProperty | AtomicForcesProperty | MagneticMomentsProperty | StressTensorProperty;
|
|
56
|
-
static createMetaProperty(config: AnyMetaProperty):
|
|
56
|
+
static createMetaProperty(config: AnyMetaProperty): PseudopotentialProperty;
|
|
57
57
|
static createProtoProperty(config: AnyProtoProperty): AtomicConstraintsProperty | BoundaryConditionsProperty;
|
|
58
58
|
}
|
|
59
59
|
export {};
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { AtomicConstraintsPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type AtomicConstraintsPropertySchemaMixin = Omit<AtomicConstraintsPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type AtomicConstraintsPropertyInMemoryEntity = InMemoryEntity & AtomicConstraintsPropertySchemaMixin;
|
|
5
|
-
export declare function atomicConstraintsPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function atomicConstraintsPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & AtomicConstraintsPropertySchemaMixin;
|
|
@@ -7,9 +7,15 @@ function atomicConstraintsPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get values() {
|
|
11
14
|
return this.requiredProp("values");
|
|
12
15
|
},
|
|
16
|
+
set values(value) {
|
|
17
|
+
this.setProp("values", value);
|
|
18
|
+
},
|
|
13
19
|
};
|
|
14
20
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
15
21
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { AtomicForcesPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type AtomicForcesPropertySchemaMixin = Omit<AtomicForcesPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type AtomicForcesPropertyInMemoryEntity = InMemoryEntity & AtomicForcesPropertySchemaMixin;
|
|
5
|
-
export declare function atomicForcesPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function atomicForcesPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & AtomicForcesPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function atomicForcesPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get values() {
|
|
11
14
|
return this.requiredProp("values");
|
|
12
15
|
},
|
|
16
|
+
set values(value) {
|
|
17
|
+
this.setProp("values", value);
|
|
18
|
+
},
|
|
13
19
|
get units() {
|
|
14
20
|
return this.requiredProp("units");
|
|
15
21
|
},
|
|
22
|
+
set units(value) {
|
|
23
|
+
this.setProp("units", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { AveragePotentialProfilePropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type AveragePotentialProfilePropertySchemaMixin = Omit<AveragePotentialProfilePropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type AveragePotentialProfilePropertyInMemoryEntity = InMemoryEntity & AveragePotentialProfilePropertySchemaMixin;
|
|
5
|
-
export declare function averagePotentialProfilePropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function averagePotentialProfilePropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & AveragePotentialProfilePropertySchemaMixin;
|
|
@@ -7,18 +7,33 @@ function averagePotentialProfilePropertySchemaMixin(item) {
|
|
|
7
7
|
get xAxis() {
|
|
8
8
|
return this.requiredProp("xAxis");
|
|
9
9
|
},
|
|
10
|
+
set xAxis(value) {
|
|
11
|
+
this.setProp("xAxis", value);
|
|
12
|
+
},
|
|
10
13
|
get yAxis() {
|
|
11
14
|
return this.requiredProp("yAxis");
|
|
12
15
|
},
|
|
16
|
+
set yAxis(value) {
|
|
17
|
+
this.setProp("yAxis", value);
|
|
18
|
+
},
|
|
13
19
|
get name() {
|
|
14
20
|
return this.requiredProp("name");
|
|
15
21
|
},
|
|
22
|
+
set name(value) {
|
|
23
|
+
this.setProp("name", value);
|
|
24
|
+
},
|
|
16
25
|
get xDataArray() {
|
|
17
26
|
return this.requiredProp("xDataArray");
|
|
18
27
|
},
|
|
28
|
+
set xDataArray(value) {
|
|
29
|
+
this.setProp("xDataArray", value);
|
|
30
|
+
},
|
|
19
31
|
get yDataSeries() {
|
|
20
32
|
return this.requiredProp("yDataSeries");
|
|
21
33
|
},
|
|
34
|
+
set yDataSeries(value) {
|
|
35
|
+
this.setProp("yDataSeries", value);
|
|
36
|
+
},
|
|
22
37
|
};
|
|
23
38
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
24
39
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { BandGapsPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type BandGapsPropertySchemaMixin = Omit<BandGapsPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type BandGapsPropertyInMemoryEntity = InMemoryEntity & BandGapsPropertySchemaMixin;
|
|
5
|
-
export declare function bandGapsPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function bandGapsPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & BandGapsPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function bandGapsPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get values() {
|
|
11
14
|
return this.requiredProp("values");
|
|
12
15
|
},
|
|
16
|
+
set values(value) {
|
|
17
|
+
this.setProp("values", value);
|
|
18
|
+
},
|
|
13
19
|
get eigenvalues() {
|
|
14
20
|
return this.prop("eigenvalues");
|
|
15
21
|
},
|
|
22
|
+
set eigenvalues(value) {
|
|
23
|
+
this.setProp("eigenvalues", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { BandStructurePropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type BandStructurePropertySchemaMixin = Omit<BandStructurePropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type BandStructurePropertyInMemoryEntity = InMemoryEntity & BandStructurePropertySchemaMixin;
|
|
5
|
-
export declare function bandStructurePropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function bandStructurePropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & BandStructurePropertySchemaMixin;
|
|
@@ -7,21 +7,39 @@ function bandStructurePropertySchemaMixin(item) {
|
|
|
7
7
|
get xAxis() {
|
|
8
8
|
return this.requiredProp("xAxis");
|
|
9
9
|
},
|
|
10
|
+
set xAxis(value) {
|
|
11
|
+
this.setProp("xAxis", value);
|
|
12
|
+
},
|
|
10
13
|
get yAxis() {
|
|
11
14
|
return this.requiredProp("yAxis");
|
|
12
15
|
},
|
|
16
|
+
set yAxis(value) {
|
|
17
|
+
this.setProp("yAxis", value);
|
|
18
|
+
},
|
|
13
19
|
get name() {
|
|
14
20
|
return this.requiredProp("name");
|
|
15
21
|
},
|
|
22
|
+
set name(value) {
|
|
23
|
+
this.setProp("name", value);
|
|
24
|
+
},
|
|
16
25
|
get spin() {
|
|
17
26
|
return this.requiredProp("spin");
|
|
18
27
|
},
|
|
28
|
+
set spin(value) {
|
|
29
|
+
this.setProp("spin", value);
|
|
30
|
+
},
|
|
19
31
|
get xDataArray() {
|
|
20
32
|
return this.requiredProp("xDataArray");
|
|
21
33
|
},
|
|
34
|
+
set xDataArray(value) {
|
|
35
|
+
this.setProp("xDataArray", value);
|
|
36
|
+
},
|
|
22
37
|
get yDataSeries() {
|
|
23
38
|
return this.requiredProp("yDataSeries");
|
|
24
39
|
},
|
|
40
|
+
set yDataSeries(value) {
|
|
41
|
+
this.setProp("yDataSeries", value);
|
|
42
|
+
},
|
|
25
43
|
};
|
|
26
44
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
27
45
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { BoundaryConditionsPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type BoundaryConditionsPropertySchemaMixin = Omit<BoundaryConditionsPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type BoundaryConditionsPropertyInMemoryEntity = InMemoryEntity & BoundaryConditionsPropertySchemaMixin;
|
|
5
|
-
export declare function boundaryConditionsPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function boundaryConditionsPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & BoundaryConditionsPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function boundaryConditionsPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get type() {
|
|
11
14
|
return this.requiredProp("type");
|
|
12
15
|
},
|
|
16
|
+
set type(value) {
|
|
17
|
+
this.setProp("type", value);
|
|
18
|
+
},
|
|
13
19
|
get offset() {
|
|
14
20
|
return this.requiredProp("offset");
|
|
15
21
|
},
|
|
22
|
+
set offset(value) {
|
|
23
|
+
this.setProp("offset", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { ChargeDensityProfilePropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type ChargeDensityProfilePropertySchemaMixin = Omit<ChargeDensityProfilePropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type ChargeDensityProfilePropertyInMemoryEntity = InMemoryEntity & ChargeDensityProfilePropertySchemaMixin;
|
|
5
|
-
export declare function chargeDensityProfilePropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function chargeDensityProfilePropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & ChargeDensityProfilePropertySchemaMixin;
|
|
@@ -7,18 +7,33 @@ function chargeDensityProfilePropertySchemaMixin(item) {
|
|
|
7
7
|
get xAxis() {
|
|
8
8
|
return this.requiredProp("xAxis");
|
|
9
9
|
},
|
|
10
|
+
set xAxis(value) {
|
|
11
|
+
this.setProp("xAxis", value);
|
|
12
|
+
},
|
|
10
13
|
get yAxis() {
|
|
11
14
|
return this.requiredProp("yAxis");
|
|
12
15
|
},
|
|
16
|
+
set yAxis(value) {
|
|
17
|
+
this.setProp("yAxis", value);
|
|
18
|
+
},
|
|
13
19
|
get name() {
|
|
14
20
|
return this.requiredProp("name");
|
|
15
21
|
},
|
|
22
|
+
set name(value) {
|
|
23
|
+
this.setProp("name", value);
|
|
24
|
+
},
|
|
16
25
|
get xDataArray() {
|
|
17
26
|
return this.requiredProp("xDataArray");
|
|
18
27
|
},
|
|
28
|
+
set xDataArray(value) {
|
|
29
|
+
this.setProp("xDataArray", value);
|
|
30
|
+
},
|
|
19
31
|
get yDataSeries() {
|
|
20
32
|
return this.requiredProp("yDataSeries");
|
|
21
33
|
},
|
|
34
|
+
set yDataSeries(value) {
|
|
35
|
+
this.setProp("yDataSeries", value);
|
|
36
|
+
},
|
|
22
37
|
};
|
|
23
38
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
24
39
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { ConvergenceElectronicPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type ConvergenceElectronicPropertySchemaMixin = Omit<ConvergenceElectronicPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type ConvergenceElectronicPropertyInMemoryEntity = InMemoryEntity & ConvergenceElectronicPropertySchemaMixin;
|
|
5
|
-
export declare function convergenceElectronicPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function convergenceElectronicPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & ConvergenceElectronicPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function convergenceElectronicPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get data() {
|
|
14
20
|
return this.requiredProp("data");
|
|
15
21
|
},
|
|
22
|
+
set data(value) {
|
|
23
|
+
this.setProp("data", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { ConvergenceIonicPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type ConvergenceIonicPropertySchemaMixin = Omit<ConvergenceIonicPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type ConvergenceIonicPropertyInMemoryEntity = InMemoryEntity & ConvergenceIonicPropertySchemaMixin;
|
|
5
|
-
export declare function convergenceIonicPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function convergenceIonicPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & ConvergenceIonicPropertySchemaMixin;
|
|
@@ -7,15 +7,27 @@ function convergenceIonicPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get tolerance() {
|
|
11
14
|
return this.prop("tolerance");
|
|
12
15
|
},
|
|
16
|
+
set tolerance(value) {
|
|
17
|
+
this.setProp("tolerance", value);
|
|
18
|
+
},
|
|
13
19
|
get units() {
|
|
14
20
|
return this.requiredProp("units");
|
|
15
21
|
},
|
|
22
|
+
set units(value) {
|
|
23
|
+
this.setProp("units", value);
|
|
24
|
+
},
|
|
16
25
|
get data() {
|
|
17
26
|
return this.requiredProp("data");
|
|
18
27
|
},
|
|
28
|
+
set data(value) {
|
|
29
|
+
this.setProp("data", value);
|
|
30
|
+
},
|
|
19
31
|
};
|
|
20
32
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
21
33
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { DensityOfStatesPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type DensityOfStatesPropertySchemaMixin = Omit<DensityOfStatesPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type DensityOfStatesPropertyInMemoryEntity = InMemoryEntity & DensityOfStatesPropertySchemaMixin;
|
|
5
|
-
export declare function densityOfStatesPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function densityOfStatesPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & DensityOfStatesPropertySchemaMixin;
|
|
@@ -7,21 +7,39 @@ function densityOfStatesPropertySchemaMixin(item) {
|
|
|
7
7
|
get xAxis() {
|
|
8
8
|
return this.requiredProp("xAxis");
|
|
9
9
|
},
|
|
10
|
+
set xAxis(value) {
|
|
11
|
+
this.setProp("xAxis", value);
|
|
12
|
+
},
|
|
10
13
|
get yAxis() {
|
|
11
14
|
return this.requiredProp("yAxis");
|
|
12
15
|
},
|
|
16
|
+
set yAxis(value) {
|
|
17
|
+
this.setProp("yAxis", value);
|
|
18
|
+
},
|
|
13
19
|
get name() {
|
|
14
20
|
return this.requiredProp("name");
|
|
15
21
|
},
|
|
22
|
+
set name(value) {
|
|
23
|
+
this.setProp("name", value);
|
|
24
|
+
},
|
|
16
25
|
get legend() {
|
|
17
26
|
return this.requiredProp("legend");
|
|
18
27
|
},
|
|
28
|
+
set legend(value) {
|
|
29
|
+
this.setProp("legend", value);
|
|
30
|
+
},
|
|
19
31
|
get xDataArray() {
|
|
20
32
|
return this.requiredProp("xDataArray");
|
|
21
33
|
},
|
|
34
|
+
set xDataArray(value) {
|
|
35
|
+
this.setProp("xDataArray", value);
|
|
36
|
+
},
|
|
22
37
|
get yDataSeries() {
|
|
23
38
|
return this.requiredProp("yDataSeries");
|
|
24
39
|
},
|
|
40
|
+
set yDataSeries(value) {
|
|
41
|
+
this.setProp("yDataSeries", value);
|
|
42
|
+
},
|
|
25
43
|
};
|
|
26
44
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
27
45
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { DielectricTensorPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type DielectricTensorPropertySchemaMixin = Omit<DielectricTensorPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type DielectricTensorPropertyInMemoryEntity = InMemoryEntity & DielectricTensorPropertySchemaMixin;
|
|
5
|
-
export declare function dielectricTensorPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function dielectricTensorPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & DielectricTensorPropertySchemaMixin;
|
|
@@ -7,9 +7,15 @@ function dielectricTensorPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get values() {
|
|
11
14
|
return this.requiredProp("values");
|
|
12
15
|
},
|
|
16
|
+
set values(value) {
|
|
17
|
+
this.setProp("values", value);
|
|
18
|
+
},
|
|
13
19
|
};
|
|
14
20
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
15
21
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { FermiEnergyPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type FermiEnergyPropertySchemaMixin = Omit<FermiEnergyPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type FermiEnergyPropertyInMemoryEntity = InMemoryEntity & FermiEnergyPropertySchemaMixin;
|
|
5
|
-
export declare function fermiEnergyPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function fermiEnergyPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & FermiEnergyPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function fermiEnergyPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get value() {
|
|
14
20
|
return this.requiredProp("value");
|
|
15
21
|
},
|
|
22
|
+
set value(value) {
|
|
23
|
+
this.setProp("value", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { FileContentPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type FileContentPropertySchemaMixin = Omit<FileContentPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type FileContentPropertyInMemoryEntity = InMemoryEntity & FileContentPropertySchemaMixin;
|
|
5
|
-
export declare function fileContentPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function fileContentPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & FileContentPropertySchemaMixin;
|
|
@@ -7,18 +7,33 @@ function fileContentPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get filetype() {
|
|
11
14
|
return this.requiredProp("filetype");
|
|
12
15
|
},
|
|
16
|
+
set filetype(value) {
|
|
17
|
+
this.setProp("filetype", value);
|
|
18
|
+
},
|
|
13
19
|
get objectData() {
|
|
14
20
|
return this.requiredProp("objectData");
|
|
15
21
|
},
|
|
22
|
+
set objectData(value) {
|
|
23
|
+
this.setProp("objectData", value);
|
|
24
|
+
},
|
|
16
25
|
get pathname() {
|
|
17
26
|
return this.prop("pathname");
|
|
18
27
|
},
|
|
28
|
+
set pathname(value) {
|
|
29
|
+
this.setProp("pathname", value);
|
|
30
|
+
},
|
|
19
31
|
get basename() {
|
|
20
32
|
return this.prop("basename");
|
|
21
33
|
},
|
|
34
|
+
set basename(value) {
|
|
35
|
+
this.setProp("basename", value);
|
|
36
|
+
},
|
|
22
37
|
};
|
|
23
38
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
24
39
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { FinalStructurePropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type FinalStructurePropertySchemaMixin = Omit<FinalStructurePropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type FinalStructurePropertyInMemoryEntity = InMemoryEntity & FinalStructurePropertySchemaMixin;
|
|
5
|
-
export declare function finalStructurePropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function finalStructurePropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & FinalStructurePropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function finalStructurePropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get isRelaxed() {
|
|
11
14
|
return this.requiredProp("isRelaxed");
|
|
12
15
|
},
|
|
16
|
+
set isRelaxed(value) {
|
|
17
|
+
this.setProp("isRelaxed", value);
|
|
18
|
+
},
|
|
13
19
|
get materialId() {
|
|
14
20
|
return this.requiredProp("materialId");
|
|
15
21
|
},
|
|
22
|
+
set materialId(value) {
|
|
23
|
+
this.setProp("materialId", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { HOMOEnergyPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type HOMOEnergyPropertySchemaMixin = Omit<HOMOEnergyPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type HOMOEnergyPropertyInMemoryEntity = InMemoryEntity & HOMOEnergyPropertySchemaMixin;
|
|
5
|
-
export declare function hOMOEnergyPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function hOMOEnergyPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & HOMOEnergyPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function hOMOEnergyPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get value() {
|
|
14
20
|
return this.requiredProp("value");
|
|
15
21
|
},
|
|
22
|
+
set value(value) {
|
|
23
|
+
this.setProp("value", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { HubbardUParametersPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type HubbardUPropertySchemaMixin = Omit<HubbardUParametersPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type HubbardUPropertyInMemoryEntity = InMemoryEntity & HubbardUPropertySchemaMixin;
|
|
5
|
-
export declare function hubbardUPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function hubbardUPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & HubbardUPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function hubbardUPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get values() {
|
|
14
20
|
return this.requiredProp("values");
|
|
15
21
|
},
|
|
22
|
+
set values(value) {
|
|
23
|
+
this.setProp("values", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { HubbardVNNParametersPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type HubbardVNNPropertySchemaMixin = Omit<HubbardVNNParametersPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type HubbardVNNPropertyInMemoryEntity = InMemoryEntity & HubbardVNNPropertySchemaMixin;
|
|
5
|
-
export declare function hubbardVNNPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function hubbardVNNPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & HubbardVNNPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function hubbardVNNPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get values() {
|
|
14
20
|
return this.requiredProp("values");
|
|
15
21
|
},
|
|
22
|
+
set values(value) {
|
|
23
|
+
this.setProp("values", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { HubbardVParametersPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type HubbardVPropertySchemaMixin = Omit<HubbardVParametersPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type HubbardVPropertyInMemoryEntity = InMemoryEntity & HubbardVPropertySchemaMixin;
|
|
5
|
-
export declare function hubbardVPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function hubbardVPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & HubbardVPropertySchemaMixin;
|
|
@@ -7,12 +7,21 @@ function hubbardVPropertySchemaMixin(item) {
|
|
|
7
7
|
get name() {
|
|
8
8
|
return this.requiredProp("name");
|
|
9
9
|
},
|
|
10
|
+
set name(value) {
|
|
11
|
+
this.setProp("name", value);
|
|
12
|
+
},
|
|
10
13
|
get units() {
|
|
11
14
|
return this.requiredProp("units");
|
|
12
15
|
},
|
|
16
|
+
set units(value) {
|
|
17
|
+
this.setProp("units", value);
|
|
18
|
+
},
|
|
13
19
|
get values() {
|
|
14
20
|
return this.requiredProp("values");
|
|
15
21
|
},
|
|
22
|
+
set values(value) {
|
|
23
|
+
this.setProp("values", value);
|
|
24
|
+
},
|
|
16
25
|
};
|
|
17
26
|
Object.defineProperties(item, Object.getOwnPropertyDescriptors(properties));
|
|
18
27
|
}
|
|
@@ -2,4 +2,4 @@ import type { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
|
|
|
2
2
|
import type { IonizationPotentialElementalPropertySchema } from "@mat3ra/esse/dist/js/types";
|
|
3
3
|
export type IonizationPotentialElementalPropertySchemaMixin = Omit<IonizationPotentialElementalPropertySchema, "_id" | "slug" | "systemName" | "schemaVersion">;
|
|
4
4
|
export type IonizationPotentialElementalPropertyInMemoryEntity = InMemoryEntity & IonizationPotentialElementalPropertySchemaMixin;
|
|
5
|
-
export declare function ionizationPotentialElementalPropertySchemaMixin(item: InMemoryEntity):
|
|
5
|
+
export declare function ionizationPotentialElementalPropertySchemaMixin<T extends InMemoryEntity>(item: InMemoryEntity): asserts item is T & IonizationPotentialElementalPropertySchemaMixin;
|