@dnv-plant/typescriptpws 1.0.69 → 1.0.70
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 +6 -3
- 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 +9 -9
- 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 +55 -55
- 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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
5
5
|
* Template: templates/typescriptpws/index.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnv-plant/typescriptpws",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.70",
|
|
4
4
|
"description": "Integrate Phast models with our versatile APIs for enhanced customization and efficiency.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "
|
|
7
|
+
"test": "jest"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [],
|
|
10
10
|
"author": "DNV <software.support@dnv.com> (www.dnv.com)",
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"typescript": "^5.7.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
|
|
19
|
+
"@types/jsonwebtoken": "^9.0.8",
|
|
20
|
+
"@types/jest": "^29.5.14",
|
|
21
|
+
"jest": "^29.7.0",
|
|
22
|
+
"ts-jest": "^29.3.0"
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -422,7 +422,7 @@ export class UserDefinedSourceLinkedRunCalculation extends CalculationBase {
|
|
|
422
422
|
poolFireFlameResult?: Entities.PoolFireFlameResult;
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* Calculates maximum distance to a number of concentration, radiation and overpressure levels for flammable and toxic materials, given the discharge inputs and weather definition.
|
|
426
426
|
*
|
|
427
427
|
* @param {Entities.Material} material - a material entity.
|
|
428
428
|
* @param {Entities.DischargeResult} dischargeResult - Scalar discharge data.
|
|
@@ -531,7 +531,7 @@ export class UserDefinedSourceLinkedRunCalculation extends CalculationBase {
|
|
|
531
531
|
const validatedRequest = schema.validate(request);
|
|
532
532
|
|
|
533
533
|
const requestJson = JSON.stringify(validatedRequest);
|
|
534
|
-
const url = `${getAnalyticsApiTarget()}
|
|
534
|
+
const url = `${getAnalyticsApiTarget()}userdefinedsourcelinkedrun?clientId=${getClientAliasId()}`;
|
|
535
535
|
|
|
536
536
|
this.resultCode = Enums.ResultCode.UNEXPECTED_APPLICATION_ERROR;
|
|
537
537
|
|
|
@@ -1308,7 +1308,7 @@ export class VesselLeakLinkedRunCalculation extends CalculationBase {
|
|
|
1308
1308
|
poolFireFlameResult?: Entities.PoolFireFlameResult;
|
|
1309
1309
|
|
|
1310
1310
|
/**
|
|
1311
|
-
*
|
|
1311
|
+
* Calculates maximum distance to a number of concentration, radiation and overpressure levels for flammable and toxic materials, given a vessel, leak and weather definition.
|
|
1312
1312
|
*
|
|
1313
1313
|
* @param {Entities.Vessel} vessel - a vessel entity.
|
|
1314
1314
|
* @param {Entities.Leak} leak - a leak entity.
|
|
@@ -2196,7 +2196,7 @@ export class VesselLineRuptureLinkedRunCalculation extends CalculationBase {
|
|
|
2196
2196
|
poolFireFlameResult?: Entities.PoolFireFlameResult;
|
|
2197
2197
|
|
|
2198
2198
|
/**
|
|
2199
|
-
*
|
|
2199
|
+
* Calculates maximum distance to a number of concentration, radiation and overpressure levels for flammable and toxic materials, given a vessel, line rupture and weather definition.
|
|
2200
2200
|
*
|
|
2201
2201
|
* @param {Entities.Vessel} vessel - a vessel entity.
|
|
2202
2202
|
* @param {Entities.LineRupture} lineRupture - a line rupture entity.
|
|
@@ -2293,7 +2293,7 @@ export class VesselLineRuptureLinkedRunCalculation extends CalculationBase {
|
|
|
2293
2293
|
const validatedRequest = schema.validate(request);
|
|
2294
2294
|
|
|
2295
2295
|
const requestJson = JSON.stringify(validatedRequest);
|
|
2296
|
-
const url = `${getAnalyticsApiTarget()}
|
|
2296
|
+
const url = `${getAnalyticsApiTarget()}vessellinerupturelinkedrun?clientId=${getClientAliasId()}`;
|
|
2297
2297
|
|
|
2298
2298
|
this.resultCode = Enums.ResultCode.UNEXPECTED_APPLICATION_ERROR;
|
|
2299
2299
|
|
|
@@ -3084,7 +3084,7 @@ export class VesselReliefValveLinkedRunCalculation extends CalculationBase {
|
|
|
3084
3084
|
poolFireFlameResult?: Entities.PoolFireFlameResult;
|
|
3085
3085
|
|
|
3086
3086
|
/**
|
|
3087
|
-
*
|
|
3087
|
+
* Calculates maximum distance to a number of concentration, radiation and overpressure levels for flammable and toxic materials, given a vessel, relief valve and weather definition.
|
|
3088
3088
|
*
|
|
3089
3089
|
* @param {Entities.Vessel} vessel - a vessel entity.
|
|
3090
3090
|
* @param {Entities.ReliefValve} reliefValve - a relief valve entity.
|
|
@@ -3181,7 +3181,7 @@ export class VesselReliefValveLinkedRunCalculation extends CalculationBase {
|
|
|
3181
3181
|
const validatedRequest = schema.validate(request);
|
|
3182
3182
|
|
|
3183
3183
|
const requestJson = JSON.stringify(validatedRequest);
|
|
3184
|
-
const url = `${getAnalyticsApiTarget()}
|
|
3184
|
+
const url = `${getAnalyticsApiTarget()}vesselreliefvalvelinkedrun?clientId=${getClientAliasId()}`;
|
|
3185
3185
|
|
|
3186
3186
|
this.resultCode = Enums.ResultCode.UNEXPECTED_APPLICATION_ERROR;
|
|
3187
3187
|
|
|
@@ -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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:08
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:05
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:07
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:07
|
|
5
5
|
* Template: templates/typescriptpws/entityschemas.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -101,7 +101,7 @@ export class LocalPositionSchema extends SchemaBase<LocalPositionSchemaData> {
|
|
|
101
101
|
ignoredPropertiesRegex,
|
|
102
102
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
103
103
|
)
|
|
104
|
-
.unknown(
|
|
104
|
+
.unknown(true);
|
|
105
105
|
|
|
106
106
|
this.propertyTypes = {
|
|
107
107
|
...this.propertyTypes,
|
|
@@ -139,7 +139,7 @@ export class AssetSchema extends SchemaBase<AssetSchemaData> {
|
|
|
139
139
|
ignoredPropertiesRegex,
|
|
140
140
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
141
141
|
)
|
|
142
|
-
.unknown(
|
|
142
|
+
.unknown(true);
|
|
143
143
|
|
|
144
144
|
this.propertyTypes = {
|
|
145
145
|
...this.propertyTypes,
|
|
@@ -177,7 +177,7 @@ export class MaterialComponentSchema extends SchemaBase<MaterialComponentSchemaD
|
|
|
177
177
|
ignoredPropertiesRegex,
|
|
178
178
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
179
179
|
)
|
|
180
|
-
.unknown(
|
|
180
|
+
.unknown(true);
|
|
181
181
|
|
|
182
182
|
this.propertyTypes = {
|
|
183
183
|
...this.propertyTypes,
|
|
@@ -220,7 +220,7 @@ export class MaterialSchema extends SchemaBase<MaterialSchemaData> {
|
|
|
220
220
|
ignoredPropertiesRegex,
|
|
221
221
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
222
222
|
)
|
|
223
|
-
.unknown(
|
|
223
|
+
.unknown(true);
|
|
224
224
|
|
|
225
225
|
this.propertyTypes = {
|
|
226
226
|
...this.propertyTypes,
|
|
@@ -267,7 +267,7 @@ export class StateSchema extends SchemaBase<StateSchemaData> {
|
|
|
267
267
|
ignoredPropertiesRegex,
|
|
268
268
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
269
269
|
)
|
|
270
|
-
.unknown(
|
|
270
|
+
.unknown(true);
|
|
271
271
|
|
|
272
272
|
this.propertyTypes = {
|
|
273
273
|
...this.propertyTypes,
|
|
@@ -317,7 +317,7 @@ export class AtmosphericStorageTankSchema extends SchemaBase<AtmosphericStorageT
|
|
|
317
317
|
ignoredPropertiesRegex,
|
|
318
318
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
319
319
|
)
|
|
320
|
-
.unknown(
|
|
320
|
+
.unknown(true);
|
|
321
321
|
|
|
322
322
|
this.propertyTypes = {
|
|
323
323
|
...this.propertyTypes,
|
|
@@ -354,7 +354,7 @@ export class ScenarioSchema extends SchemaBase<ScenarioSchemaData> {
|
|
|
354
354
|
ignoredPropertiesRegex,
|
|
355
355
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
356
356
|
)
|
|
357
|
-
.unknown(
|
|
357
|
+
.unknown(true);
|
|
358
358
|
|
|
359
359
|
this.propertyTypes = {
|
|
360
360
|
...this.propertyTypes,};
|
|
@@ -390,7 +390,7 @@ export class ReleaseOverTimeSchema extends SchemaBase<ReleaseOverTimeSchemaData>
|
|
|
390
390
|
ignoredPropertiesRegex,
|
|
391
391
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
392
392
|
)
|
|
393
|
-
.unknown(
|
|
393
|
+
.unknown(true);
|
|
394
394
|
|
|
395
395
|
this.propertyTypes = {
|
|
396
396
|
...this.propertyTypes,
|
|
@@ -437,7 +437,7 @@ export class BESSReleaseSchema extends SchemaBase<BESSReleaseSchemaData> {
|
|
|
437
437
|
ignoredPropertiesRegex,
|
|
438
438
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
439
439
|
)
|
|
440
|
-
.unknown(
|
|
440
|
+
.unknown(true);
|
|
441
441
|
|
|
442
442
|
this.propertyTypes = {
|
|
443
443
|
...this.propertyTypes,
|
|
@@ -482,7 +482,7 @@ export class BESSUnitSchema extends SchemaBase<BESSUnitSchemaData> {
|
|
|
482
482
|
ignoredPropertiesRegex,
|
|
483
483
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
484
484
|
)
|
|
485
|
-
.unknown(
|
|
485
|
+
.unknown(true);
|
|
486
486
|
|
|
487
487
|
this.propertyTypes = {
|
|
488
488
|
...this.propertyTypes,
|
|
@@ -524,7 +524,7 @@ export class BundSchema extends SchemaBase<BundSchemaData> {
|
|
|
524
524
|
ignoredPropertiesRegex,
|
|
525
525
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
526
526
|
)
|
|
527
|
-
.unknown(
|
|
527
|
+
.unknown(true);
|
|
528
528
|
|
|
529
529
|
this.propertyTypes = {
|
|
530
530
|
...this.propertyTypes,
|
|
@@ -558,7 +558,7 @@ export class InstantaneousSchema extends SchemaBase<InstantaneousSchemaData> {
|
|
|
558
558
|
ignoredPropertiesRegex,
|
|
559
559
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
560
560
|
)
|
|
561
|
-
.unknown(
|
|
561
|
+
.unknown(true);
|
|
562
562
|
|
|
563
563
|
this.propertyTypes = {
|
|
564
564
|
...this.propertyTypes,};
|
|
@@ -588,7 +588,7 @@ export class CatastrophicRuptureSchema extends SchemaBase<CatastrophicRuptureSch
|
|
|
588
588
|
ignoredPropertiesRegex,
|
|
589
589
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
590
590
|
)
|
|
591
|
-
.unknown(
|
|
591
|
+
.unknown(true);
|
|
592
592
|
|
|
593
593
|
this.propertyTypes = {
|
|
594
594
|
...this.propertyTypes,};
|
|
@@ -624,7 +624,7 @@ export class ConcentrationRecordSchema extends SchemaBase<ConcentrationRecordSch
|
|
|
624
624
|
ignoredPropertiesRegex,
|
|
625
625
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
626
626
|
)
|
|
627
|
-
.unknown(
|
|
627
|
+
.unknown(true);
|
|
628
628
|
|
|
629
629
|
this.propertyTypes = {
|
|
630
630
|
...this.propertyTypes,
|
|
@@ -665,7 +665,7 @@ export class ConstantMaterialResultSchema extends SchemaBase<ConstantMaterialRes
|
|
|
665
665
|
ignoredPropertiesRegex,
|
|
666
666
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
667
667
|
)
|
|
668
|
-
.unknown(
|
|
668
|
+
.unknown(true);
|
|
669
669
|
|
|
670
670
|
this.propertyTypes = {
|
|
671
671
|
...this.propertyTypes,
|
|
@@ -703,7 +703,7 @@ export class DischargeParametersSchema extends SchemaBase<DischargeParametersSch
|
|
|
703
703
|
ignoredPropertiesRegex,
|
|
704
704
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
705
705
|
)
|
|
706
|
-
.unknown(
|
|
706
|
+
.unknown(true);
|
|
707
707
|
|
|
708
708
|
this.propertyTypes = {
|
|
709
709
|
...this.propertyTypes,
|
|
@@ -755,7 +755,7 @@ export class DischargeRecordSchema extends SchemaBase<DischargeRecordSchemaData>
|
|
|
755
755
|
ignoredPropertiesRegex,
|
|
756
756
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
757
757
|
)
|
|
758
|
-
.unknown(
|
|
758
|
+
.unknown(true);
|
|
759
759
|
|
|
760
760
|
this.propertyTypes = {
|
|
761
761
|
...this.propertyTypes,
|
|
@@ -811,7 +811,7 @@ export class DischargeResultSchema extends SchemaBase<DischargeResultSchemaData>
|
|
|
811
811
|
ignoredPropertiesRegex,
|
|
812
812
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
813
813
|
)
|
|
814
|
-
.unknown(
|
|
814
|
+
.unknown(true);
|
|
815
815
|
|
|
816
816
|
this.propertyTypes = {
|
|
817
817
|
...this.propertyTypes,
|
|
@@ -873,7 +873,7 @@ export class DispersionOutputConfigSchema extends SchemaBase<DispersionOutputCon
|
|
|
873
873
|
ignoredPropertiesRegex,
|
|
874
874
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
875
875
|
)
|
|
876
|
-
.unknown(
|
|
876
|
+
.unknown(true);
|
|
877
877
|
|
|
878
878
|
this.propertyTypes = {
|
|
879
879
|
...this.propertyTypes,
|
|
@@ -937,7 +937,7 @@ export class DispersionParametersSchema extends SchemaBase<DispersionParametersS
|
|
|
937
937
|
ignoredPropertiesRegex,
|
|
938
938
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
939
939
|
)
|
|
940
|
-
.unknown(
|
|
940
|
+
.unknown(true);
|
|
941
941
|
|
|
942
942
|
this.propertyTypes = {
|
|
943
943
|
...this.propertyTypes,
|
|
@@ -1038,7 +1038,7 @@ export class DispersionRecordSchema extends SchemaBase<DispersionRecordSchemaDat
|
|
|
1038
1038
|
ignoredPropertiesRegex,
|
|
1039
1039
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1040
1040
|
)
|
|
1041
|
-
.unknown(
|
|
1041
|
+
.unknown(true);
|
|
1042
1042
|
|
|
1043
1043
|
this.propertyTypes = {
|
|
1044
1044
|
...this.propertyTypes,
|
|
@@ -1104,7 +1104,7 @@ export class ExplosionConfinedVolumeSchema extends SchemaBase<ExplosionConfinedV
|
|
|
1104
1104
|
ignoredPropertiesRegex,
|
|
1105
1105
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1106
1106
|
)
|
|
1107
|
-
.unknown(
|
|
1107
|
+
.unknown(true);
|
|
1108
1108
|
|
|
1109
1109
|
this.propertyTypes = {
|
|
1110
1110
|
...this.propertyTypes,
|
|
@@ -1143,7 +1143,7 @@ export class ExplosionOutputConfigSchema extends SchemaBase<ExplosionOutputConfi
|
|
|
1143
1143
|
ignoredPropertiesRegex,
|
|
1144
1144
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1145
1145
|
)
|
|
1146
|
-
.unknown(
|
|
1146
|
+
.unknown(true);
|
|
1147
1147
|
|
|
1148
1148
|
this.propertyTypes = {
|
|
1149
1149
|
...this.propertyTypes,
|
|
@@ -1190,7 +1190,7 @@ export class ExplosionOverpressureResultSchema extends SchemaBase<ExplosionOverp
|
|
|
1190
1190
|
ignoredPropertiesRegex,
|
|
1191
1191
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1192
1192
|
)
|
|
1193
|
-
.unknown(
|
|
1193
|
+
.unknown(true);
|
|
1194
1194
|
|
|
1195
1195
|
this.propertyTypes = {
|
|
1196
1196
|
...this.propertyTypes,
|
|
@@ -1231,7 +1231,7 @@ export class ExplosionParametersSchema extends SchemaBase<ExplosionParametersSch
|
|
|
1231
1231
|
ignoredPropertiesRegex,
|
|
1232
1232
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1233
1233
|
)
|
|
1234
|
-
.unknown(
|
|
1234
|
+
.unknown(true);
|
|
1235
1235
|
|
|
1236
1236
|
this.propertyTypes = {
|
|
1237
1237
|
...this.propertyTypes,
|
|
@@ -1273,7 +1273,7 @@ export class FlameRecordSchema extends SchemaBase<FlameRecordSchemaData> {
|
|
|
1273
1273
|
ignoredPropertiesRegex,
|
|
1274
1274
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1275
1275
|
)
|
|
1276
|
-
.unknown(
|
|
1276
|
+
.unknown(true);
|
|
1277
1277
|
|
|
1278
1278
|
this.propertyTypes = {
|
|
1279
1279
|
...this.propertyTypes,
|
|
@@ -1320,7 +1320,7 @@ export class FlameResultSchema extends SchemaBase<FlameResultSchemaData> {
|
|
|
1320
1320
|
ignoredPropertiesRegex,
|
|
1321
1321
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1322
1322
|
)
|
|
1323
|
-
.unknown(
|
|
1323
|
+
.unknown(true);
|
|
1324
1324
|
|
|
1325
1325
|
this.propertyTypes = {
|
|
1326
1326
|
...this.propertyTypes,
|
|
@@ -1362,7 +1362,7 @@ export class TransectSchema extends SchemaBase<TransectSchemaData> {
|
|
|
1362
1362
|
ignoredPropertiesRegex,
|
|
1363
1363
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1364
1364
|
)
|
|
1365
|
-
.unknown(
|
|
1365
|
+
.unknown(true);
|
|
1366
1366
|
|
|
1367
1367
|
this.propertyTypes = {
|
|
1368
1368
|
...this.propertyTypes,
|
|
@@ -1417,7 +1417,7 @@ export class FlammableOutputConfigSchema extends SchemaBase<FlammableOutputConfi
|
|
|
1417
1417
|
ignoredPropertiesRegex,
|
|
1418
1418
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1419
1419
|
)
|
|
1420
|
-
.unknown(
|
|
1420
|
+
.unknown(true);
|
|
1421
1421
|
|
|
1422
1422
|
this.propertyTypes = {
|
|
1423
1423
|
...this.propertyTypes,
|
|
@@ -1472,7 +1472,7 @@ export class FlammableParametersSchema extends SchemaBase<FlammableParametersSch
|
|
|
1472
1472
|
ignoredPropertiesRegex,
|
|
1473
1473
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1474
1474
|
)
|
|
1475
|
-
.unknown(
|
|
1475
|
+
.unknown(true);
|
|
1476
1476
|
|
|
1477
1477
|
this.propertyTypes = {
|
|
1478
1478
|
...this.propertyTypes,
|
|
@@ -1543,7 +1543,7 @@ export class FlashResultSchema extends SchemaBase<FlashResultSchemaData> {
|
|
|
1543
1543
|
ignoredPropertiesRegex,
|
|
1544
1544
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1545
1545
|
)
|
|
1546
|
-
.unknown(
|
|
1546
|
+
.unknown(true);
|
|
1547
1547
|
|
|
1548
1548
|
this.propertyTypes = {
|
|
1549
1549
|
...this.propertyTypes,
|
|
@@ -1602,7 +1602,7 @@ export class LeakSchema extends SchemaBase<LeakSchemaData> {
|
|
|
1602
1602
|
ignoredPropertiesRegex,
|
|
1603
1603
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1604
1604
|
)
|
|
1605
|
-
.unknown(
|
|
1605
|
+
.unknown(true);
|
|
1606
1606
|
|
|
1607
1607
|
this.propertyTypes = {
|
|
1608
1608
|
...this.propertyTypes,
|
|
@@ -1652,7 +1652,7 @@ export class LineRuptureSchema extends SchemaBase<LineRuptureSchemaData> {
|
|
|
1652
1652
|
ignoredPropertiesRegex,
|
|
1653
1653
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1654
1654
|
)
|
|
1655
|
-
.unknown(
|
|
1655
|
+
.unknown(true);
|
|
1656
1656
|
|
|
1657
1657
|
this.propertyTypes = {
|
|
1658
1658
|
...this.propertyTypes,
|
|
@@ -1705,7 +1705,7 @@ export class MaterialComponentDataItemSchema extends SchemaBase<MaterialComponen
|
|
|
1705
1705
|
ignoredPropertiesRegex,
|
|
1706
1706
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1707
1707
|
)
|
|
1708
|
-
.unknown(
|
|
1708
|
+
.unknown(true);
|
|
1709
1709
|
|
|
1710
1710
|
this.propertyTypes = {
|
|
1711
1711
|
...this.propertyTypes,
|
|
@@ -1753,7 +1753,7 @@ export class MaterialComponentDataSchema extends SchemaBase<MaterialComponentDat
|
|
|
1753
1753
|
ignoredPropertiesRegex,
|
|
1754
1754
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1755
1755
|
)
|
|
1756
|
-
.unknown(
|
|
1756
|
+
.unknown(true);
|
|
1757
1757
|
|
|
1758
1758
|
this.propertyTypes = {
|
|
1759
1759
|
...this.propertyTypes,
|
|
@@ -1822,7 +1822,7 @@ export class MixtureConstantPropertiesResultSchema extends SchemaBase<MixtureCon
|
|
|
1822
1822
|
ignoredPropertiesRegex,
|
|
1823
1823
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1824
1824
|
)
|
|
1825
|
-
.unknown(
|
|
1825
|
+
.unknown(true);
|
|
1826
1826
|
|
|
1827
1827
|
this.propertyTypes = {
|
|
1828
1828
|
...this.propertyTypes,
|
|
@@ -1887,7 +1887,7 @@ export class PipeSchema extends SchemaBase<PipeSchemaData> {
|
|
|
1887
1887
|
ignoredPropertiesRegex,
|
|
1888
1888
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1889
1889
|
)
|
|
1890
|
-
.unknown(
|
|
1890
|
+
.unknown(true);
|
|
1891
1891
|
|
|
1892
1892
|
this.propertyTypes = {
|
|
1893
1893
|
...this.propertyTypes,
|
|
@@ -1936,7 +1936,7 @@ export class PipeBreachSchema extends SchemaBase<PipeBreachSchemaData> {
|
|
|
1936
1936
|
ignoredPropertiesRegex,
|
|
1937
1937
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1938
1938
|
)
|
|
1939
|
-
.unknown(
|
|
1939
|
+
.unknown(true);
|
|
1940
1940
|
|
|
1941
1941
|
this.propertyTypes = {
|
|
1942
1942
|
...this.propertyTypes,
|
|
@@ -1985,7 +1985,7 @@ export class PoolFireFlameResultSchema extends SchemaBase<PoolFireFlameResultSch
|
|
|
1985
1985
|
ignoredPropertiesRegex,
|
|
1986
1986
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
1987
1987
|
)
|
|
1988
|
-
.unknown(
|
|
1988
|
+
.unknown(true);
|
|
1989
1989
|
|
|
1990
1990
|
this.propertyTypes = {
|
|
1991
1991
|
...this.propertyTypes,
|
|
@@ -2050,7 +2050,7 @@ export class PoolRecordSchema extends SchemaBase<PoolRecordSchemaData> {
|
|
|
2050
2050
|
ignoredPropertiesRegex,
|
|
2051
2051
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2052
2052
|
)
|
|
2053
|
-
.unknown(
|
|
2053
|
+
.unknown(true);
|
|
2054
2054
|
|
|
2055
2055
|
this.propertyTypes = {
|
|
2056
2056
|
...this.propertyTypes,
|
|
@@ -2102,7 +2102,7 @@ export class PoolVapourisationParametersSchema extends SchemaBase<PoolVapourisat
|
|
|
2102
2102
|
ignoredPropertiesRegex,
|
|
2103
2103
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2104
2104
|
)
|
|
2105
|
-
.unknown(
|
|
2105
|
+
.unknown(true);
|
|
2106
2106
|
|
|
2107
2107
|
this.propertyTypes = {
|
|
2108
2108
|
...this.propertyTypes,
|
|
@@ -2144,7 +2144,7 @@ export class RadiationRecordSchema extends SchemaBase<RadiationRecordSchemaData>
|
|
|
2144
2144
|
ignoredPropertiesRegex,
|
|
2145
2145
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2146
2146
|
)
|
|
2147
|
-
.unknown(
|
|
2147
|
+
.unknown(true);
|
|
2148
2148
|
|
|
2149
2149
|
this.propertyTypes = {
|
|
2150
2150
|
...this.propertyTypes,
|
|
@@ -2194,7 +2194,7 @@ export class ReliefValveSchema extends SchemaBase<ReliefValveSchemaData> {
|
|
|
2194
2194
|
ignoredPropertiesRegex,
|
|
2195
2195
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2196
2196
|
)
|
|
2197
|
-
.unknown(
|
|
2197
|
+
.unknown(true);
|
|
2198
2198
|
|
|
2199
2199
|
this.propertyTypes = {
|
|
2200
2200
|
...this.propertyTypes,
|
|
@@ -2246,7 +2246,7 @@ export class SafetySystemSchema extends SchemaBase<SafetySystemSchemaData> {
|
|
|
2246
2246
|
ignoredPropertiesRegex,
|
|
2247
2247
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2248
2248
|
)
|
|
2249
|
-
.unknown(
|
|
2249
|
+
.unknown(true);
|
|
2250
2250
|
|
|
2251
2251
|
this.propertyTypes = {
|
|
2252
2252
|
...this.propertyTypes,
|
|
@@ -2299,7 +2299,7 @@ export class ScalarUdmOutputsSchema extends SchemaBase<ScalarUdmOutputsSchemaDat
|
|
|
2299
2299
|
ignoredPropertiesRegex,
|
|
2300
2300
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2301
2301
|
)
|
|
2302
|
-
.unknown(
|
|
2302
|
+
.unknown(true);
|
|
2303
2303
|
|
|
2304
2304
|
this.propertyTypes = {
|
|
2305
2305
|
...this.propertyTypes,
|
|
@@ -2351,7 +2351,7 @@ export class ShortPipeRuptureSchema extends SchemaBase<ShortPipeRuptureSchemaDat
|
|
|
2351
2351
|
ignoredPropertiesRegex,
|
|
2352
2352
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2353
2353
|
)
|
|
2354
|
-
.unknown(
|
|
2354
|
+
.unknown(true);
|
|
2355
2355
|
|
|
2356
2356
|
this.propertyTypes = {
|
|
2357
2357
|
...this.propertyTypes,
|
|
@@ -2394,7 +2394,7 @@ export class StructureSchema extends SchemaBase<StructureSchemaData> {
|
|
|
2394
2394
|
ignoredPropertiesRegex,
|
|
2395
2395
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2396
2396
|
)
|
|
2397
|
-
.unknown(
|
|
2397
|
+
.unknown(true);
|
|
2398
2398
|
|
|
2399
2399
|
this.propertyTypes = {
|
|
2400
2400
|
...this.propertyTypes,
|
|
@@ -2437,7 +2437,7 @@ export class SubstrateSchema extends SchemaBase<SubstrateSchemaData> {
|
|
|
2437
2437
|
ignoredPropertiesRegex,
|
|
2438
2438
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2439
2439
|
)
|
|
2440
|
-
.unknown(
|
|
2440
|
+
.unknown(true);
|
|
2441
2441
|
|
|
2442
2442
|
this.propertyTypes = {
|
|
2443
2443
|
...this.propertyTypes,
|
|
@@ -2480,7 +2480,7 @@ export class ToxicRecordSchema extends SchemaBase<ToxicRecordSchemaData> {
|
|
|
2480
2480
|
ignoredPropertiesRegex,
|
|
2481
2481
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2482
2482
|
)
|
|
2483
|
-
.unknown(
|
|
2483
|
+
.unknown(true);
|
|
2484
2484
|
|
|
2485
2485
|
this.propertyTypes = {
|
|
2486
2486
|
...this.propertyTypes,
|
|
@@ -2538,7 +2538,7 @@ export class VesselSchema extends SchemaBase<VesselSchemaData> {
|
|
|
2538
2538
|
ignoredPropertiesRegex,
|
|
2539
2539
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2540
2540
|
)
|
|
2541
|
-
.unknown(
|
|
2541
|
+
.unknown(true);
|
|
2542
2542
|
|
|
2543
2543
|
this.propertyTypes = {
|
|
2544
2544
|
...this.propertyTypes,
|
|
@@ -2594,7 +2594,7 @@ export class VesselLeakMaxFlammableCloudResultsSchema extends SchemaBase<VesselL
|
|
|
2594
2594
|
ignoredPropertiesRegex,
|
|
2595
2595
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2596
2596
|
)
|
|
2597
|
-
.unknown(
|
|
2597
|
+
.unknown(true);
|
|
2598
2598
|
|
|
2599
2599
|
this.propertyTypes = {
|
|
2600
2600
|
...this.propertyTypes,
|
|
@@ -2641,7 +2641,7 @@ export class VesselSphereSchema extends SchemaBase<VesselSphereSchemaData> {
|
|
|
2641
2641
|
ignoredPropertiesRegex,
|
|
2642
2642
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2643
2643
|
)
|
|
2644
|
-
.unknown(
|
|
2644
|
+
.unknown(true);
|
|
2645
2645
|
|
|
2646
2646
|
this.propertyTypes = {
|
|
2647
2647
|
...this.propertyTypes,
|
|
@@ -2692,7 +2692,7 @@ export class WeatherSchema extends SchemaBase<WeatherSchemaData> {
|
|
|
2692
2692
|
ignoredPropertiesRegex,
|
|
2693
2693
|
Joi.alternatives().try(Joi.string(), Joi.number(), Joi.date(), Joi.any())
|
|
2694
2694
|
)
|
|
2695
|
-
.unknown(
|
|
2695
|
+
.unknown(true);
|
|
2696
2696
|
|
|
2697
2697
|
this.propertyTypes = {
|
|
2698
2698
|
...this.propertyTypes,
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:06
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:05
|
|
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:
|
|
3
|
+
* Version: 1.0.70
|
|
4
|
+
* Date/time: 01 May 2025 14:52:04
|
|
5
5
|
* Template: templates/typescriptpws/utilities.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|