@dnv-plant/typescriptpws 1.0.68 → 1.0.69
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/index.ts +2 -2
- package/package.json +1 -1
- package/src/calculations/applicationTools.ts +2 -2
- package/src/calculations/discharge.ts +2 -2
- package/src/calculations/dispersion.ts +2 -2
- package/src/calculations/dispersionView.ts +2 -2
- package/src/calculations/fireball.ts +2 -2
- package/src/calculations/jetFire.ts +2 -2
- package/src/calculations/lateExplosion.ts +2 -2
- package/src/calculations/linkedRunners.ts +2 -2
- package/src/calculations/poolFire.ts +2 -2
- package/src/calculations/properties.ts +2 -2
- package/src/calculations/radiation.ts +2 -2
- package/src/calculations/standalones.ts +2 -2
- package/src/calculations/toxics.ts +2 -2
- package/src/calculations/utilities.ts +2 -2
- package/src/constants.ts +2 -2
- package/src/entities.ts +2 -2
- package/src/entity-schemas.ts +40 -40
- package/src/enums.ts +2 -2
- package/src/materials.ts +2 -2
- package/src/utilities.ts +2 -2
package/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:43
|
|
5
5
|
* Template: templates/typescriptpws/index.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/constants.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:40
|
|
5
5
|
* Template: templates/typescriptpws/constants.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/entities.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:41
|
|
5
5
|
* Template: templates/typescriptpws/entities.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/entity-schemas.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:42
|
|
5
5
|
* Template: templates/typescriptpws/entityschemas.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -213,7 +213,7 @@ export class MaterialSchema extends SchemaBase<MaterialSchemaData> {
|
|
|
213
213
|
components: Joi.array().items(new MaterialComponentSchema().schema).allow(null),
|
|
214
214
|
name: Joi.string().allow(""),
|
|
215
215
|
componentCount: Joi.number().integer(),
|
|
216
|
-
propertyTemplate: Joi.string().valid(...Object.
|
|
216
|
+
propertyTemplate: Joi.string().valid(...Object.values(Enums.PropertyTemplate).filter(v => typeof v === "number").sort()),
|
|
217
217
|
})
|
|
218
218
|
)
|
|
219
219
|
.pattern(
|
|
@@ -259,8 +259,8 @@ export class StateSchema extends SchemaBase<StateSchemaData> {
|
|
|
259
259
|
pressure: Joi.number().unsafe(),
|
|
260
260
|
temperature: Joi.number().unsafe(),
|
|
261
261
|
liquidFraction: Joi.number().unsafe(),
|
|
262
|
-
flashFlag: Joi.string().valid(...Object.
|
|
263
|
-
mixtureModelling: Joi.string().valid(...Object.
|
|
262
|
+
flashFlag: Joi.string().valid(...Object.values(Enums.FluidSpec).filter(v => typeof v === "number").sort()),
|
|
263
|
+
mixtureModelling: Joi.string().valid(...Object.values(Enums.MixtureModelling).filter(v => typeof v === "number").sort()),
|
|
264
264
|
})
|
|
265
265
|
)
|
|
266
266
|
.pattern(
|
|
@@ -383,7 +383,7 @@ export class ReleaseOverTimeSchema extends SchemaBase<ReleaseOverTimeSchemaData>
|
|
|
383
383
|
this.schema = this.schema.concat(
|
|
384
384
|
Joi.object({
|
|
385
385
|
releaseAngle: Joi.number().unsafe(),
|
|
386
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
386
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
387
387
|
})
|
|
388
388
|
)
|
|
389
389
|
.pattern(
|
|
@@ -430,7 +430,7 @@ export class BESSReleaseSchema extends SchemaBase<BESSReleaseSchemaData> {
|
|
|
430
430
|
temperature: Joi.number().unsafe(),
|
|
431
431
|
duration: Joi.number().unsafe(),
|
|
432
432
|
releaseAngle: Joi.number().unsafe(),
|
|
433
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
433
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
434
434
|
})
|
|
435
435
|
)
|
|
436
436
|
.pattern(
|
|
@@ -475,7 +475,7 @@ export class BESSUnitSchema extends SchemaBase<BESSUnitSchemaData> {
|
|
|
475
475
|
Joi.object({
|
|
476
476
|
location: new LocalPositionSchema().schema,
|
|
477
477
|
energyCapacity: Joi.number().unsafe(),
|
|
478
|
-
chemistry: Joi.string().valid(...Object.
|
|
478
|
+
chemistry: Joi.string().valid(...Object.values(Enums.BESSChemistry).filter(v => typeof v === "number").sort()),
|
|
479
479
|
})
|
|
480
480
|
)
|
|
481
481
|
.pattern(
|
|
@@ -696,7 +696,7 @@ export class DischargeParametersSchema extends SchemaBase<DischargeParametersSch
|
|
|
696
696
|
super();
|
|
697
697
|
this.schema = this.schema.concat(
|
|
698
698
|
Joi.object({
|
|
699
|
-
flashAtOrifice: Joi.string().valid(...Object.
|
|
699
|
+
flashAtOrifice: Joi.string().valid(...Object.values(Enums.FlashAtOrifice).filter(v => typeof v === "number").sort()),
|
|
700
700
|
})
|
|
701
701
|
)
|
|
702
702
|
.pattern(
|
|
@@ -803,7 +803,7 @@ export class DischargeResultSchema extends SchemaBase<DischargeResultSchemaData>
|
|
|
803
803
|
height: Joi.number().unsafe(),
|
|
804
804
|
angle: Joi.number().unsafe(),
|
|
805
805
|
holeDiameter: Joi.number().unsafe(),
|
|
806
|
-
releaseType: Joi.string().valid(...Object.
|
|
806
|
+
releaseType: Joi.string().valid(...Object.values(Enums.DynamicType).filter(v => typeof v === "number").sort()),
|
|
807
807
|
preDilutionAirRate: Joi.number().unsafe(),
|
|
808
808
|
})
|
|
809
809
|
)
|
|
@@ -858,12 +858,12 @@ export class DispersionOutputConfigSchema extends SchemaBase<DispersionOutputCon
|
|
|
858
858
|
Joi.object({
|
|
859
859
|
downwindDistance: Joi.number().unsafe(),
|
|
860
860
|
time: Joi.number().unsafe(),
|
|
861
|
-
resolution: Joi.string().valid(...Object.
|
|
861
|
+
resolution: Joi.string().valid(...Object.values(Enums.Resolution).filter(v => typeof v === "number").sort()),
|
|
862
862
|
elevation: Joi.number().unsafe(),
|
|
863
|
-
specialConcentration: Joi.string().valid(...Object.
|
|
863
|
+
specialConcentration: Joi.string().valid(...Object.values(Enums.SpecialConcentration).filter(v => typeof v === "number").sort()),
|
|
864
864
|
concentration: Joi.number().unsafe(),
|
|
865
865
|
crosswindDistance: Joi.number().unsafe(),
|
|
866
|
-
contourType: Joi.string().valid(...Object.
|
|
866
|
+
contourType: Joi.string().valid(...Object.values(Enums.ContourType).filter(v => typeof v === "number").sort()),
|
|
867
867
|
lflFractionValue: Joi.number().unsafe(),
|
|
868
868
|
componentToTrackIndex: Joi.number().integer(),
|
|
869
869
|
componentToTrackName: Joi.string().allow(""),
|
|
@@ -922,7 +922,7 @@ export class DispersionParametersSchema extends SchemaBase<DispersionParametersS
|
|
|
922
922
|
this.schema = this.schema.concat(
|
|
923
923
|
Joi.object({
|
|
924
924
|
relativeTolerance: Joi.number().unsafe(),
|
|
925
|
-
rainoutThermoFlag: Joi.string().valid(...Object.
|
|
925
|
+
rainoutThermoFlag: Joi.string().valid(...Object.values(Enums.RainoutThermoFlag).filter(v => typeof v === "number").sort()),
|
|
926
926
|
fixedStepSize: Joi.number().unsafe(),
|
|
927
927
|
outputStepMultiplier: Joi.number().unsafe(),
|
|
928
928
|
maxDispersionDistance: Joi.number().unsafe(),
|
|
@@ -1031,7 +1031,7 @@ export class DispersionRecordSchema extends SchemaBase<DispersionRecordSchemaDat
|
|
|
1031
1031
|
dropletHeight: Joi.number().unsafe(),
|
|
1032
1032
|
dropletDistance: Joi.number().unsafe(),
|
|
1033
1033
|
mass: Joi.number().unsafe(),
|
|
1034
|
-
instCon: Joi.string().valid(...Object.
|
|
1034
|
+
instCon: Joi.string().valid(...Object.values(Enums.DynamicType).filter(v => typeof v === "number").sort()),
|
|
1035
1035
|
})
|
|
1036
1036
|
)
|
|
1037
1037
|
.pattern(
|
|
@@ -1136,7 +1136,7 @@ export class ExplosionOutputConfigSchema extends SchemaBase<ExplosionOutputConfi
|
|
|
1136
1136
|
this.schema = this.schema.concat(
|
|
1137
1137
|
Joi.object({
|
|
1138
1138
|
overpressureLevel: Joi.number().unsafe(),
|
|
1139
|
-
meConfinedMethod: Joi.string().valid(...Object.
|
|
1139
|
+
meConfinedMethod: Joi.string().valid(...Object.values(Enums.MEConfinedMethod).filter(v => typeof v === "number").sort()),
|
|
1140
1140
|
})
|
|
1141
1141
|
)
|
|
1142
1142
|
.pattern(
|
|
@@ -1313,7 +1313,7 @@ export class FlameResultSchema extends SchemaBase<FlameResultSchemaData> {
|
|
|
1313
1313
|
surfaceEmissivePower: Joi.number().unsafe(),
|
|
1314
1314
|
flameLength: Joi.number().unsafe(),
|
|
1315
1315
|
flameDiameter: Joi.number().unsafe(),
|
|
1316
|
-
fireType: Joi.string().valid(...Object.
|
|
1316
|
+
fireType: Joi.string().valid(...Object.values(Enums.FireType).filter(v => typeof v === "number").sort()),
|
|
1317
1317
|
})
|
|
1318
1318
|
)
|
|
1319
1319
|
.pattern(
|
|
@@ -1403,10 +1403,10 @@ export class FlammableOutputConfigSchema extends SchemaBase<FlammableOutputConfi
|
|
|
1403
1403
|
Joi.object({
|
|
1404
1404
|
position: new LocalPositionSchema().schema,
|
|
1405
1405
|
transect: new TransectSchema().schema,
|
|
1406
|
-
radiationType: Joi.string().valid(...Object.
|
|
1407
|
-
contourType: Joi.string().valid(...Object.
|
|
1406
|
+
radiationType: Joi.string().valid(...Object.values(Enums.RadiationType).filter(v => typeof v === "number").sort()),
|
|
1407
|
+
contourType: Joi.string().valid(...Object.values(Enums.ContourType).filter(v => typeof v === "number").sort()),
|
|
1408
1408
|
radiationLevel: Joi.number().unsafe(),
|
|
1409
|
-
radiationResolution: Joi.string().valid(...Object.
|
|
1409
|
+
radiationResolution: Joi.string().valid(...Object.values(Enums.Resolution).filter(v => typeof v === "number").sort()),
|
|
1410
1410
|
fixedOrientation: Joi.number().integer(),
|
|
1411
1411
|
orientation: Joi.number().unsafe(),
|
|
1412
1412
|
fixedInclination: Joi.number().integer(),
|
|
@@ -1462,7 +1462,7 @@ export class FlammableParametersSchema extends SchemaBase<FlammableParametersSch
|
|
|
1462
1462
|
Joi.object({
|
|
1463
1463
|
maxExposureDuration: Joi.number().unsafe(),
|
|
1464
1464
|
radiationRelativeTolerance: Joi.number().unsafe(),
|
|
1465
|
-
poolFireType: Joi.string().valid(...Object.
|
|
1465
|
+
poolFireType: Joi.string().valid(...Object.values(Enums.PoolFireType).filter(v => typeof v === "number").sort()),
|
|
1466
1466
|
jetFireAutoSelect: Joi.boolean(),
|
|
1467
1467
|
timeAveraging: Joi.boolean(),
|
|
1468
1468
|
timeOfInterest: Joi.number().unsafe(),
|
|
@@ -1536,7 +1536,7 @@ export class FlashResultSchema extends SchemaBase<FlashResultSchemaData> {
|
|
|
1536
1536
|
dewPointTemperature: Joi.number().unsafe(),
|
|
1537
1537
|
totalFluidDensity: Joi.number().unsafe(),
|
|
1538
1538
|
liquidMassFraction: Joi.number().unsafe(),
|
|
1539
|
-
fluidPhase: Joi.string().valid(...Object.
|
|
1539
|
+
fluidPhase: Joi.string().valid(...Object.values(Enums.Phase).filter(v => typeof v === "number").sort()),
|
|
1540
1540
|
})
|
|
1541
1541
|
)
|
|
1542
1542
|
.pattern(
|
|
@@ -1593,7 +1593,7 @@ export class LeakSchema extends SchemaBase<LeakSchemaData> {
|
|
|
1593
1593
|
Joi.object({
|
|
1594
1594
|
holeDiameter: Joi.number().unsafe(),
|
|
1595
1595
|
releaseAngle: Joi.number().unsafe(),
|
|
1596
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
1596
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
1597
1597
|
holeHeightFraction: Joi.number().unsafe(),
|
|
1598
1598
|
releaseElevation: Joi.number().unsafe(),
|
|
1599
1599
|
})
|
|
@@ -1643,7 +1643,7 @@ export class LineRuptureSchema extends SchemaBase<LineRuptureSchemaData> {
|
|
|
1643
1643
|
pipeDiameter: Joi.number().unsafe(),
|
|
1644
1644
|
pipeLength: Joi.number().unsafe(),
|
|
1645
1645
|
releaseAngle: Joi.number().unsafe(),
|
|
1646
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
1646
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
1647
1647
|
pipeRoughness: Joi.number().unsafe(),
|
|
1648
1648
|
pipeHeightFraction: Joi.number().unsafe(),
|
|
1649
1649
|
})
|
|
@@ -1814,8 +1814,8 @@ export class MixtureConstantPropertiesResultSchema extends SchemaBase<MixtureCon
|
|
|
1814
1814
|
dewPoint: Joi.number().unsafe(),
|
|
1815
1815
|
emissivePowerLengthScale: Joi.number().unsafe(),
|
|
1816
1816
|
laminarBurningVelocity: Joi.number().unsafe(),
|
|
1817
|
-
flammableToxicFlag: Joi.string().valid(...Object.
|
|
1818
|
-
luminousSmokyFlame: Joi.string().valid(...Object.
|
|
1817
|
+
flammableToxicFlag: Joi.string().valid(...Object.values(Enums.FlammableToxic).filter(v => typeof v === "number").sort()),
|
|
1818
|
+
luminousSmokyFlame: Joi.string().valid(...Object.values(Enums.LuminousSmokyFlame).filter(v => typeof v === "number").sort()),
|
|
1819
1819
|
})
|
|
1820
1820
|
)
|
|
1821
1821
|
.pattern(
|
|
@@ -1928,7 +1928,7 @@ export class PipeBreachSchema extends SchemaBase<PipeBreachSchemaData> {
|
|
|
1928
1928
|
Joi.object({
|
|
1929
1929
|
distanceDownstream: Joi.number().unsafe(),
|
|
1930
1930
|
releaseAngle: Joi.number().unsafe(),
|
|
1931
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
1931
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
1932
1932
|
relativeAperture: Joi.number().unsafe(),
|
|
1933
1933
|
})
|
|
1934
1934
|
)
|
|
@@ -1978,7 +1978,7 @@ export class PoolFireFlameResultSchema extends SchemaBase<PoolFireFlameResultSch
|
|
|
1978
1978
|
flameLength: Joi.number().unsafe(),
|
|
1979
1979
|
flameDiameter: Joi.number().unsafe(),
|
|
1980
1980
|
poolZoneSEP: Joi.array().items(Joi.number().unsafe()).allow(null),
|
|
1981
|
-
fireType: Joi.string().valid(...Object.
|
|
1981
|
+
fireType: Joi.string().valid(...Object.values(Enums.FireType).filter(v => typeof v === "number").sort()),
|
|
1982
1982
|
})
|
|
1983
1983
|
)
|
|
1984
1984
|
.pattern(
|
|
@@ -2137,7 +2137,7 @@ export class RadiationRecordSchema extends SchemaBase<RadiationRecordSchemaData>
|
|
|
2137
2137
|
Joi.object({
|
|
2138
2138
|
position: new LocalPositionSchema().schema,
|
|
2139
2139
|
radiationResult: Joi.number().unsafe(),
|
|
2140
|
-
radiationType: Joi.string().valid(...Object.
|
|
2140
|
+
radiationType: Joi.string().valid(...Object.values(Enums.RadiationType).filter(v => typeof v === "number").sort()),
|
|
2141
2141
|
})
|
|
2142
2142
|
)
|
|
2143
2143
|
.pattern(
|
|
@@ -2185,7 +2185,7 @@ export class ReliefValveSchema extends SchemaBase<ReliefValveSchemaData> {
|
|
|
2185
2185
|
pipeDiameter: Joi.number().unsafe(),
|
|
2186
2186
|
pipeLength: Joi.number().unsafe(),
|
|
2187
2187
|
releaseAngle: Joi.number().unsafe(),
|
|
2188
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
2188
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
2189
2189
|
pipeRoughness: Joi.number().unsafe(),
|
|
2190
2190
|
pipeHeightFraction: Joi.number().unsafe(),
|
|
2191
2191
|
})
|
|
@@ -2292,7 +2292,7 @@ export class ScalarUdmOutputsSchema extends SchemaBase<ScalarUdmOutputsSchemaDat
|
|
|
2292
2292
|
windPower: Joi.number().unsafe(),
|
|
2293
2293
|
frictionVelocity: Joi.number().unsafe(),
|
|
2294
2294
|
dispersionReleaseDuration: Joi.number().unsafe(),
|
|
2295
|
-
cloudType: Joi.string().valid(...Object.
|
|
2295
|
+
cloudType: Joi.string().valid(...Object.values(Enums.DynamicType).filter(v => typeof v === "number").sort()),
|
|
2296
2296
|
})
|
|
2297
2297
|
)
|
|
2298
2298
|
.pattern(
|
|
@@ -2342,7 +2342,7 @@ export class ShortPipeRuptureSchema extends SchemaBase<ShortPipeRuptureSchemaDat
|
|
|
2342
2342
|
pipeLength: Joi.number().unsafe(),
|
|
2343
2343
|
pipeDiameter: Joi.number().unsafe(),
|
|
2344
2344
|
releaseAngle: Joi.number().unsafe(),
|
|
2345
|
-
timeVaryingOption: Joi.string().valid(...Object.
|
|
2345
|
+
timeVaryingOption: Joi.string().valid(...Object.values(Enums.TimeVaryingOption).filter(v => typeof v === "number").sort()),
|
|
2346
2346
|
pipeRoughness: Joi.number().unsafe(),
|
|
2347
2347
|
pipeHeightFraction: Joi.number().unsafe(),
|
|
2348
2348
|
})
|
|
@@ -2429,8 +2429,8 @@ export class SubstrateSchema extends SchemaBase<SubstrateSchemaData> {
|
|
|
2429
2429
|
Joi.object({
|
|
2430
2430
|
bund: new BundSchema().schema,
|
|
2431
2431
|
surfaceRoughness: Joi.number().unsafe(),
|
|
2432
|
-
surfaceType: Joi.string().valid(...Object.
|
|
2433
|
-
poolSurfaceType: Joi.string().valid(...Object.
|
|
2432
|
+
surfaceType: Joi.string().valid(...Object.values(Enums.SurfaceType).filter(v => typeof v === "number").sort()),
|
|
2433
|
+
poolSurfaceType: Joi.string().valid(...Object.values(Enums.PoolSurfaceType).filter(v => typeof v === "number").sort()),
|
|
2434
2434
|
})
|
|
2435
2435
|
)
|
|
2436
2436
|
.pattern(
|
|
@@ -2473,7 +2473,7 @@ export class ToxicRecordSchema extends SchemaBase<ToxicRecordSchemaData> {
|
|
|
2473
2473
|
Joi.object({
|
|
2474
2474
|
position: new LocalPositionSchema().schema,
|
|
2475
2475
|
toxicResult: Joi.number().unsafe(),
|
|
2476
|
-
toxicResultType: Joi.string().valid(...Object.
|
|
2476
|
+
toxicResultType: Joi.string().valid(...Object.values(Enums.ToxicResultType).filter(v => typeof v === "number").sort()),
|
|
2477
2477
|
})
|
|
2478
2478
|
)
|
|
2479
2479
|
.pattern(
|
|
@@ -2529,8 +2529,8 @@ export class VesselSchema extends SchemaBase<VesselSchemaData> {
|
|
|
2529
2529
|
height: Joi.number().unsafe(),
|
|
2530
2530
|
length: Joi.number().unsafe(),
|
|
2531
2531
|
width: Joi.number().unsafe(),
|
|
2532
|
-
shape: Joi.string().valid(...Object.
|
|
2533
|
-
vesselConditions: Joi.string().valid(...Object.
|
|
2532
|
+
shape: Joi.string().valid(...Object.values(Enums.VesselShape).filter(v => typeof v === "number").sort()),
|
|
2533
|
+
vesselConditions: Joi.string().valid(...Object.values(Enums.VesselConditions).filter(v => typeof v === "number").sort()),
|
|
2534
2534
|
liquidFillFractionByVolume: Joi.number().unsafe(),
|
|
2535
2535
|
})
|
|
2536
2536
|
)
|
|
@@ -2587,7 +2587,7 @@ export class VesselLeakMaxFlammableCloudResultsSchema extends SchemaBase<VesselL
|
|
|
2587
2587
|
lflExtent: Joi.number().unsafe(),
|
|
2588
2588
|
lflArea: Joi.number().unsafe(),
|
|
2589
2589
|
lflHeight: Joi.number().unsafe(),
|
|
2590
|
-
phase: Joi.string().valid(...Object.
|
|
2590
|
+
phase: Joi.string().valid(...Object.values(Enums.Phase).filter(v => typeof v === "number").sort()),
|
|
2591
2591
|
})
|
|
2592
2592
|
)
|
|
2593
2593
|
.pattern(
|
|
@@ -2680,12 +2680,12 @@ export class WeatherSchema extends SchemaBase<WeatherSchemaData> {
|
|
|
2680
2680
|
this.schema = this.schema.concat(
|
|
2681
2681
|
Joi.object({
|
|
2682
2682
|
windSpeed: Joi.number().unsafe(),
|
|
2683
|
-
stabilityClass: Joi.string().valid(...Object.
|
|
2683
|
+
stabilityClass: Joi.string().valid(...Object.values(Enums.AtmosphericStabilityClass).filter(v => typeof v === "number").sort()),
|
|
2684
2684
|
temperature: Joi.number().unsafe(),
|
|
2685
2685
|
relativeHumidity: Joi.number().unsafe(),
|
|
2686
2686
|
mixingLayerHeight: Joi.number().unsafe(),
|
|
2687
2687
|
solarRadiation: Joi.number().unsafe(),
|
|
2688
|
-
windProfileFlag: Joi.string().valid(...Object.
|
|
2688
|
+
windProfileFlag: Joi.string().valid(...Object.values(Enums.WindProfileFlag).filter(v => typeof v === "number").sort()),
|
|
2689
2689
|
})
|
|
2690
2690
|
)
|
|
2691
2691
|
.pattern(
|
package/src/enums.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:41
|
|
5
5
|
* Template: templates/typescriptpws/enums.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/materials.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:40
|
|
5
5
|
* Template: templates/typescriptpws/materials.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/utilities.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time: 11 Apr 2025
|
|
3
|
+
* Version: 1.0.69
|
|
4
|
+
* Date/time: 11 Apr 2025 16:54:39
|
|
5
5
|
* Template: templates/typescriptpws/utilities.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|