dragonfly-schema 2.105.0 → 2.201.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/index.cjs +60 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +88 -28
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -405,6 +405,18 @@ declare class Room2DEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
|
405
405
|
hvac?: string;
|
|
406
406
|
/** An optional identifier of a Service Hot Water (SHW) system that specifies how the hot water load of the Room is met. If None, the hot water load will be met with a generic system that only measures thermal loadand does not account for system efficiencies. */
|
|
407
407
|
shw?: string;
|
|
408
|
+
/** Number for the total number of people in the room or an Unassigned object to indicate that people are assigned via the program_type. */
|
|
409
|
+
personCount?: number;
|
|
410
|
+
/** Number for the total wattage of lighting in the room or an Unassigned object to indicate that lighting is assigned via the program_type. */
|
|
411
|
+
lightingWatts?: number;
|
|
412
|
+
/** Number for the total wattage of electric equipment in the room or an Unassigned object to indicate that electric equipment is assigned via the program_type. */
|
|
413
|
+
electricEquipmentWatts?: number;
|
|
414
|
+
/** Number for the total wattage of gas equipment in the room or an Unassigned object to indicate that gas equipment is assigned via the program_type. */
|
|
415
|
+
gasEquipmentWatts?: number;
|
|
416
|
+
/** Number for the total flow of hot water in the room or an Unassigned object to indicate that service hot water is assigned via the program_type. */
|
|
417
|
+
hotWaterFlow?: number;
|
|
418
|
+
/** Number for the infiltration of the room in air changes per hour or an Unassigned object to indicate that infiltration is assigned via the program_type. */
|
|
419
|
+
infiltrationAch?: number;
|
|
408
420
|
/** An optional list of Process objects for process loads within the room. These can represent wood burning fireplaces, kilns, manufacturing equipment, and various industrial processes. They can also be used to represent certain pieces of equipment to be separated from the other end uses, such as MRI machines, theatrical lighting, and elevators. */
|
|
409
421
|
processLoads?: ProcessAbridged[];
|
|
410
422
|
/** An optional DaylightingControl object to dictate the dimming of lights. If None, the lighting will respond only to the schedule and not the daylight conditions within the room. */
|
package/dist/index.d.ts
CHANGED
|
@@ -405,6 +405,18 @@ declare class Room2DEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
|
|
|
405
405
|
hvac?: string;
|
|
406
406
|
/** An optional identifier of a Service Hot Water (SHW) system that specifies how the hot water load of the Room is met. If None, the hot water load will be met with a generic system that only measures thermal loadand does not account for system efficiencies. */
|
|
407
407
|
shw?: string;
|
|
408
|
+
/** Number for the total number of people in the room or an Unassigned object to indicate that people are assigned via the program_type. */
|
|
409
|
+
personCount?: number;
|
|
410
|
+
/** Number for the total wattage of lighting in the room or an Unassigned object to indicate that lighting is assigned via the program_type. */
|
|
411
|
+
lightingWatts?: number;
|
|
412
|
+
/** Number for the total wattage of electric equipment in the room or an Unassigned object to indicate that electric equipment is assigned via the program_type. */
|
|
413
|
+
electricEquipmentWatts?: number;
|
|
414
|
+
/** Number for the total wattage of gas equipment in the room or an Unassigned object to indicate that gas equipment is assigned via the program_type. */
|
|
415
|
+
gasEquipmentWatts?: number;
|
|
416
|
+
/** Number for the total flow of hot water in the room or an Unassigned object to indicate that service hot water is assigned via the program_type. */
|
|
417
|
+
hotWaterFlow?: number;
|
|
418
|
+
/** Number for the infiltration of the room in air changes per hour or an Unassigned object to indicate that infiltration is assigned via the program_type. */
|
|
419
|
+
infiltrationAch?: number;
|
|
408
420
|
/** An optional list of Process objects for process loads within the room. These can represent wood burning fireplaces, kilns, manufacturing equipment, and various industrial processes. They can also be used to represent certain pieces of equipment to be separated from the other end uses, such as MRI machines, theatrical lighting, and elevators. */
|
|
409
421
|
processLoads?: ProcessAbridged[];
|
|
410
422
|
/** An optional DaylightingControl object to dictate the dimming of lights. If None, the lighting will respond only to the schedule and not the daylight conditions within the room. */
|
package/dist/index.js
CHANGED
|
@@ -821,13 +821,13 @@ var RoofSpecification = _RoofSpecification;
|
|
|
821
821
|
import { Room } from "honeybee-schema";
|
|
822
822
|
|
|
823
823
|
// src/models/Story.ts
|
|
824
|
-
import { IsArray as IsArray12, IsInstance as IsInstance7, ValidateNested as ValidateNested7, IsDefined as IsDefined20, IsString as IsString36, IsOptional as IsOptional36, Equals as Equals32, IsInt as IsInt3, Min as
|
|
824
|
+
import { IsArray as IsArray12, IsInstance as IsInstance7, ValidateNested as ValidateNested7, IsDefined as IsDefined20, IsString as IsString36, IsOptional as IsOptional36, Equals as Equals32, IsInt as IsInt3, Min as Min6, IsEnum as IsEnum3, validate as validate36 } from "class-validator";
|
|
825
825
|
import { Type as Type36, instanceToPlain as instanceToPlain36, Expose as Expose36 } from "class-transformer";
|
|
826
826
|
import { Autocalculate as Autocalculate5 } from "honeybee-schema";
|
|
827
827
|
import { IDdBaseModel as IDdBaseModel2 } from "honeybee-schema";
|
|
828
828
|
|
|
829
829
|
// src/models/Room2D.ts
|
|
830
|
-
import { IsArray as IsArray11, IsDefined as IsDefined19, IsNumber as
|
|
830
|
+
import { IsArray as IsArray11, IsDefined as IsDefined19, IsNumber as IsNumber19, IsInstance as IsInstance5, ValidateNested as ValidateNested5, IsString as IsString32, IsOptional as IsOptional32, Equals as Equals28, IsBoolean as IsBoolean11, Min as Min5, validate as validate32 } from "class-validator";
|
|
831
831
|
import { Type as Type32, instanceToPlain as instanceToPlain32, Expose as Expose32, Transform as Transform32 } from "class-transformer";
|
|
832
832
|
import { Adiabatic } from "honeybee-schema";
|
|
833
833
|
|
|
@@ -2034,7 +2034,7 @@ __decorateClass([
|
|
|
2034
2034
|
var Room2DDoe2Properties = _Room2DDoe2Properties;
|
|
2035
2035
|
|
|
2036
2036
|
// src/models/Room2DEnergyPropertiesAbridged.ts
|
|
2037
|
-
import { IsString as IsString25, IsOptional as IsOptional25, Equals as Equals21, MinLength as MinLength2, MaxLength as MaxLength2, IsArray as IsArray8, IsInstance as IsInstance3, ValidateNested as ValidateNested3, validate as validate25 } from "class-validator";
|
|
2037
|
+
import { IsString as IsString25, IsOptional as IsOptional25, Equals as Equals21, MinLength as MinLength2, MaxLength as MaxLength2, IsNumber as IsNumber14, Min as Min4, IsArray as IsArray8, IsInstance as IsInstance3, ValidateNested as ValidateNested3, validate as validate25 } from "class-validator";
|
|
2038
2038
|
import { Type as Type25, instanceToPlain as instanceToPlain25, Expose as Expose25 } from "class-transformer";
|
|
2039
2039
|
import { DaylightingControl } from "honeybee-schema";
|
|
2040
2040
|
import { ProcessAbridged } from "honeybee-schema";
|
|
@@ -2056,6 +2056,12 @@ var _Room2DEnergyPropertiesAbridged = class _Room2DEnergyPropertiesAbridged exte
|
|
|
2056
2056
|
this.programType = obj.programType;
|
|
2057
2057
|
this.hvac = obj.hvac;
|
|
2058
2058
|
this.shw = obj.shw;
|
|
2059
|
+
this.personCount = obj.personCount;
|
|
2060
|
+
this.lightingWatts = obj.lightingWatts;
|
|
2061
|
+
this.electricEquipmentWatts = obj.electricEquipmentWatts;
|
|
2062
|
+
this.gasEquipmentWatts = obj.gasEquipmentWatts;
|
|
2063
|
+
this.hotWaterFlow = obj.hotWaterFlow;
|
|
2064
|
+
this.infiltrationAch = obj.infiltrationAch;
|
|
2059
2065
|
this.processLoads = obj.processLoads;
|
|
2060
2066
|
this.daylightingControl = obj.daylightingControl;
|
|
2061
2067
|
this.windowVentControl = obj.windowVentControl;
|
|
@@ -2083,6 +2089,12 @@ var _Room2DEnergyPropertiesAbridged = class _Room2DEnergyPropertiesAbridged exte
|
|
|
2083
2089
|
data["program_type"] = this.programType;
|
|
2084
2090
|
data["hvac"] = this.hvac;
|
|
2085
2091
|
data["shw"] = this.shw;
|
|
2092
|
+
data["person_count"] = this.personCount;
|
|
2093
|
+
data["lighting_watts"] = this.lightingWatts;
|
|
2094
|
+
data["electric_equipment_watts"] = this.electricEquipmentWatts;
|
|
2095
|
+
data["gas_equipment_watts"] = this.gasEquipmentWatts;
|
|
2096
|
+
data["hot_water_flow"] = this.hotWaterFlow;
|
|
2097
|
+
data["infiltration_ach"] = this.infiltrationAch;
|
|
2086
2098
|
data["process_loads"] = this.processLoads;
|
|
2087
2099
|
data["daylighting_control"] = this.daylightingControl;
|
|
2088
2100
|
data["window_vent_control"] = this.windowVentControl;
|
|
@@ -2143,6 +2155,54 @@ __decorateClass([
|
|
|
2143
2155
|
MaxLength2(100),
|
|
2144
2156
|
Expose25({ name: "shw" })
|
|
2145
2157
|
], _Room2DEnergyPropertiesAbridged.prototype, "shw", 2);
|
|
2158
|
+
/** Number for the total number of people in the room or an Unassigned object to indicate that people are assigned via the program_type. */
|
|
2159
|
+
__decorateClass([
|
|
2160
|
+
Type25(() => Number),
|
|
2161
|
+
IsNumber14(),
|
|
2162
|
+
IsOptional25(),
|
|
2163
|
+
Min4(0),
|
|
2164
|
+
Expose25({ name: "person_count" })
|
|
2165
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "personCount", 2);
|
|
2166
|
+
/** Number for the total wattage of lighting in the room or an Unassigned object to indicate that lighting is assigned via the program_type. */
|
|
2167
|
+
__decorateClass([
|
|
2168
|
+
Type25(() => Number),
|
|
2169
|
+
IsNumber14(),
|
|
2170
|
+
IsOptional25(),
|
|
2171
|
+
Min4(0),
|
|
2172
|
+
Expose25({ name: "lighting_watts" })
|
|
2173
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "lightingWatts", 2);
|
|
2174
|
+
/** Number for the total wattage of electric equipment in the room or an Unassigned object to indicate that electric equipment is assigned via the program_type. */
|
|
2175
|
+
__decorateClass([
|
|
2176
|
+
Type25(() => Number),
|
|
2177
|
+
IsNumber14(),
|
|
2178
|
+
IsOptional25(),
|
|
2179
|
+
Min4(0),
|
|
2180
|
+
Expose25({ name: "electric_equipment_watts" })
|
|
2181
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "electricEquipmentWatts", 2);
|
|
2182
|
+
/** Number for the total wattage of gas equipment in the room or an Unassigned object to indicate that gas equipment is assigned via the program_type. */
|
|
2183
|
+
__decorateClass([
|
|
2184
|
+
Type25(() => Number),
|
|
2185
|
+
IsNumber14(),
|
|
2186
|
+
IsOptional25(),
|
|
2187
|
+
Min4(0),
|
|
2188
|
+
Expose25({ name: "gas_equipment_watts" })
|
|
2189
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "gasEquipmentWatts", 2);
|
|
2190
|
+
/** Number for the total flow of hot water in the room or an Unassigned object to indicate that service hot water is assigned via the program_type. */
|
|
2191
|
+
__decorateClass([
|
|
2192
|
+
Type25(() => Number),
|
|
2193
|
+
IsNumber14(),
|
|
2194
|
+
IsOptional25(),
|
|
2195
|
+
Min4(0),
|
|
2196
|
+
Expose25({ name: "hot_water_flow" })
|
|
2197
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "hotWaterFlow", 2);
|
|
2198
|
+
/** Number for the infiltration of the room in air changes per hour or an Unassigned object to indicate that infiltration is assigned via the program_type. */
|
|
2199
|
+
__decorateClass([
|
|
2200
|
+
Type25(() => Number),
|
|
2201
|
+
IsNumber14(),
|
|
2202
|
+
IsOptional25(),
|
|
2203
|
+
Min4(0),
|
|
2204
|
+
Expose25({ name: "infiltration_ach" })
|
|
2205
|
+
], _Room2DEnergyPropertiesAbridged.prototype, "infiltrationAch", 2);
|
|
2146
2206
|
/** An optional list of Process objects for process loads within the room. These can represent wood burning fireplaces, kilns, manufacturing equipment, and various industrial processes. They can also be used to represent certain pieces of equipment to be separated from the other end uses, such as MRI machines, theatrical lighting, and elevators. */
|
|
2147
2207
|
__decorateClass([
|
|
2148
2208
|
IsArray8(),
|
|
@@ -2192,7 +2252,7 @@ import { IsString as IsString30, IsOptional as IsOptional30, Equals as Equals26,
|
|
|
2192
2252
|
import { Type as Type30, instanceToPlain as instanceToPlain30, Expose as Expose30, Transform as Transform30 } from "class-transformer";
|
|
2193
2253
|
|
|
2194
2254
|
// src/models/ExteriorApertureGridParameter.ts
|
|
2195
|
-
import { IsString as IsString26, IsOptional as IsOptional26, Equals as Equals22, IsNumber as
|
|
2255
|
+
import { IsString as IsString26, IsOptional as IsOptional26, Equals as Equals22, IsNumber as IsNumber15, IsEnum, validate as validate26 } from "class-validator";
|
|
2196
2256
|
import { Type as Type26, instanceToPlain as instanceToPlain26, Expose as Expose26 } from "class-transformer";
|
|
2197
2257
|
|
|
2198
2258
|
// src/models/ExteriorApertureType.ts
|
|
@@ -2266,7 +2326,7 @@ __decorateClass([
|
|
|
2266
2326
|
], _ExteriorApertureGridParameter.prototype, "type", 2);
|
|
2267
2327
|
__decorateClass([
|
|
2268
2328
|
Type26(() => Number),
|
|
2269
|
-
|
|
2329
|
+
IsNumber15(),
|
|
2270
2330
|
IsOptional26(),
|
|
2271
2331
|
Expose26({ name: "offset" })
|
|
2272
2332
|
], _ExteriorApertureGridParameter.prototype, "offset", 2);
|
|
@@ -2279,7 +2339,7 @@ __decorateClass([
|
|
|
2279
2339
|
var ExteriorApertureGridParameter = _ExteriorApertureGridParameter;
|
|
2280
2340
|
|
|
2281
2341
|
// src/models/ExteriorFaceGridParameter.ts
|
|
2282
|
-
import { IsString as IsString27, IsOptional as IsOptional27, Equals as Equals23, IsNumber as
|
|
2342
|
+
import { IsString as IsString27, IsOptional as IsOptional27, Equals as Equals23, IsNumber as IsNumber16, IsEnum as IsEnum2, IsBoolean as IsBoolean9, validate as validate27 } from "class-validator";
|
|
2283
2343
|
import { Type as Type27, instanceToPlain as instanceToPlain27, Expose as Expose27 } from "class-transformer";
|
|
2284
2344
|
|
|
2285
2345
|
// src/models/ExteriorFaceType.ts
|
|
@@ -2359,7 +2419,7 @@ __decorateClass([
|
|
|
2359
2419
|
], _ExteriorFaceGridParameter.prototype, "type", 2);
|
|
2360
2420
|
__decorateClass([
|
|
2361
2421
|
Type27(() => Number),
|
|
2362
|
-
|
|
2422
|
+
IsNumber16(),
|
|
2363
2423
|
IsOptional27(),
|
|
2364
2424
|
Expose27({ name: "offset" })
|
|
2365
2425
|
], _ExteriorFaceGridParameter.prototype, "offset", 2);
|
|
@@ -2378,7 +2438,7 @@ __decorateClass([
|
|
|
2378
2438
|
var ExteriorFaceGridParameter = _ExteriorFaceGridParameter;
|
|
2379
2439
|
|
|
2380
2440
|
// src/models/RoomGridParameter.ts
|
|
2381
|
-
import { IsString as IsString28, IsOptional as IsOptional28, Equals as Equals24, IsNumber as
|
|
2441
|
+
import { IsString as IsString28, IsOptional as IsOptional28, Equals as Equals24, IsNumber as IsNumber17, validate as validate28 } from "class-validator";
|
|
2382
2442
|
import { Type as Type28, instanceToPlain as instanceToPlain28, Expose as Expose28 } from "class-transformer";
|
|
2383
2443
|
var _RoomGridParameter = class _RoomGridParameter extends _GridParameterBase {
|
|
2384
2444
|
constructor() {
|
|
@@ -2442,20 +2502,20 @@ __decorateClass([
|
|
|
2442
2502
|
], _RoomGridParameter.prototype, "type", 2);
|
|
2443
2503
|
__decorateClass([
|
|
2444
2504
|
Type28(() => Number),
|
|
2445
|
-
|
|
2505
|
+
IsNumber17(),
|
|
2446
2506
|
IsOptional28(),
|
|
2447
2507
|
Expose28({ name: "offset" })
|
|
2448
2508
|
], _RoomGridParameter.prototype, "offset", 2);
|
|
2449
2509
|
__decorateClass([
|
|
2450
2510
|
Type28(() => Number),
|
|
2451
|
-
|
|
2511
|
+
IsNumber17(),
|
|
2452
2512
|
IsOptional28(),
|
|
2453
2513
|
Expose28({ name: "wall_offset" })
|
|
2454
2514
|
], _RoomGridParameter.prototype, "wallOffset", 2);
|
|
2455
2515
|
var RoomGridParameter = _RoomGridParameter;
|
|
2456
2516
|
|
|
2457
2517
|
// src/models/RoomRadialGridParameter.ts
|
|
2458
|
-
import { IsInt as IsInt2, IsOptional as IsOptional29, IsArray as IsArray9, IsNumber as
|
|
2518
|
+
import { IsInt as IsInt2, IsOptional as IsOptional29, IsArray as IsArray9, IsNumber as IsNumber18, IsString as IsString29, Equals as Equals25, IsDefined as IsDefined18, IsBoolean as IsBoolean10, validate as validate29 } from "class-validator";
|
|
2459
2519
|
import { Type as Type29, instanceToPlain as instanceToPlain29, Expose as Expose29 } from "class-transformer";
|
|
2460
2520
|
import { Autocalculate as Autocalculate4 } from "honeybee-schema";
|
|
2461
2521
|
var _RoomRadialGridParameter = class _RoomRadialGridParameter {
|
|
@@ -2536,7 +2596,7 @@ __decorateClass([
|
|
|
2536
2596
|
__decorateClass([
|
|
2537
2597
|
IsArray9(),
|
|
2538
2598
|
Type29(() => Number),
|
|
2539
|
-
|
|
2599
|
+
IsNumber18({}, { each: true }),
|
|
2540
2600
|
IsOptional29(),
|
|
2541
2601
|
Expose29({ name: "start_vector" })
|
|
2542
2602
|
], _RoomRadialGridParameter.prototype, "startVector", 2);
|
|
@@ -2553,20 +2613,20 @@ __decorateClass([
|
|
|
2553
2613
|
], _RoomRadialGridParameter.prototype, "type", 2);
|
|
2554
2614
|
__decorateClass([
|
|
2555
2615
|
Type29(() => Number),
|
|
2556
|
-
|
|
2616
|
+
IsNumber18(),
|
|
2557
2617
|
IsOptional29(),
|
|
2558
2618
|
Expose29({ name: "offset" })
|
|
2559
2619
|
], _RoomRadialGridParameter.prototype, "offset", 2);
|
|
2560
2620
|
__decorateClass([
|
|
2561
2621
|
Type29(() => Number),
|
|
2562
|
-
|
|
2622
|
+
IsNumber18(),
|
|
2563
2623
|
IsOptional29(),
|
|
2564
2624
|
Expose29({ name: "wall_offset" })
|
|
2565
2625
|
], _RoomRadialGridParameter.prototype, "wallOffset", 2);
|
|
2566
2626
|
/** The dimension of the grid cells as a number. */
|
|
2567
2627
|
__decorateClass([
|
|
2568
2628
|
Type29(() => Number),
|
|
2569
|
-
|
|
2629
|
+
IsNumber18(),
|
|
2570
2630
|
IsDefined18(),
|
|
2571
2631
|
Expose29({ name: "dimension" })
|
|
2572
2632
|
], _RoomRadialGridParameter.prototype, "dimension", 2);
|
|
@@ -2852,14 +2912,14 @@ __decorateClass([
|
|
|
2852
2912
|
/** A number to indicate the Z-coordinate (or elevation) of the room floor plane. */
|
|
2853
2913
|
__decorateClass([
|
|
2854
2914
|
Type32(() => Number),
|
|
2855
|
-
|
|
2915
|
+
IsNumber19(),
|
|
2856
2916
|
IsDefined19(),
|
|
2857
2917
|
Expose32({ name: "floor_height" })
|
|
2858
2918
|
], _Room2D.prototype, "floorHeight", 2);
|
|
2859
2919
|
/** A number for the distance between the floor and the ceiling. */
|
|
2860
2920
|
__decorateClass([
|
|
2861
2921
|
Type32(() => Number),
|
|
2862
|
-
|
|
2922
|
+
IsNumber19(),
|
|
2863
2923
|
IsDefined19(),
|
|
2864
2924
|
Expose32({ name: "floor_to_ceiling_height" })
|
|
2865
2925
|
], _Room2D.prototype, "floorToCeilingHeight", 2);
|
|
@@ -2911,16 +2971,16 @@ __decorateClass([
|
|
|
2911
2971
|
], _Room2D.prototype, "hasCeiling", 2);
|
|
2912
2972
|
__decorateClass([
|
|
2913
2973
|
Type32(() => Number),
|
|
2914
|
-
|
|
2974
|
+
IsNumber19(),
|
|
2915
2975
|
IsOptional32(),
|
|
2916
|
-
|
|
2976
|
+
Min5(0),
|
|
2917
2977
|
Expose32({ name: "ceiling_plenum_depth" })
|
|
2918
2978
|
], _Room2D.prototype, "ceilingPlenumDepth", 2);
|
|
2919
2979
|
__decorateClass([
|
|
2920
2980
|
Type32(() => Number),
|
|
2921
|
-
|
|
2981
|
+
IsNumber19(),
|
|
2922
2982
|
IsOptional32(),
|
|
2923
|
-
|
|
2983
|
+
Min5(0),
|
|
2924
2984
|
Expose32({ name: "floor_plenum_depth" })
|
|
2925
2985
|
], _Room2D.prototype, "floorPlenumDepth", 2);
|
|
2926
2986
|
/** Text string for for the zone identifier to which this Room2D belongs. Room2Ds sharing the same zone identifier are considered part of the same zone in a Building. If the zone identifier has not been specified, it will be the same as the Room2D identifier in the destination engine. Note that this property has no character restrictions. */
|
|
@@ -3310,7 +3370,7 @@ __decorateClass([
|
|
|
3310
3370
|
Type36(() => Number),
|
|
3311
3371
|
IsInt3(),
|
|
3312
3372
|
IsOptional36(),
|
|
3313
|
-
|
|
3373
|
+
Min6(1),
|
|
3314
3374
|
Expose36({ name: "multiplier" })
|
|
3315
3375
|
], _Story.prototype, "multiplier", 2);
|
|
3316
3376
|
/** An optional RoofSpecification object containing geometry for generating sloped roofs over the Story. The RoofSpecification will only affect the child Room2Ds that have a True is_top_exposed property and it will only be utilized in translation to Honeybee when the Story multiplier is 1. If None, all Room2D ceilings will be flat. */
|
|
@@ -3863,7 +3923,7 @@ var GasUnitHeaterEquipmentType = /* @__PURE__ */ ((GasUnitHeaterEquipmentType2)
|
|
|
3863
3923
|
})(GasUnitHeaterEquipmentType || {});
|
|
3864
3924
|
|
|
3865
3925
|
// src/models/Model.ts
|
|
3866
|
-
import { IsInstance as IsInstance14, ValidateNested as ValidateNested14, IsDefined as IsDefined23, IsString as IsString47, IsOptional as IsOptional47, Equals as Equals43, Matches as Matches4, IsArray as IsArray17, IsEnum as IsEnum4, IsNumber as
|
|
3926
|
+
import { IsInstance as IsInstance14, ValidateNested as ValidateNested14, IsDefined as IsDefined23, IsString as IsString47, IsOptional as IsOptional47, Equals as Equals43, Matches as Matches4, IsArray as IsArray17, IsEnum as IsEnum4, IsNumber as IsNumber20, Min as Min7, validate as validate47 } from "class-validator";
|
|
3867
3927
|
import { Type as Type47, instanceToPlain as instanceToPlain47, Expose as Expose47 } from "class-transformer";
|
|
3868
3928
|
import { IDdBaseModel as IDdBaseModel5 } from "honeybee-schema";
|
|
3869
3929
|
|
|
@@ -6917,23 +6977,23 @@ __decorateClass([
|
|
|
6917
6977
|
], _Model.prototype, "units", 2);
|
|
6918
6978
|
__decorateClass([
|
|
6919
6979
|
Type47(() => Number),
|
|
6920
|
-
|
|
6980
|
+
IsNumber20(),
|
|
6921
6981
|
IsOptional47(),
|
|
6922
|
-
|
|
6982
|
+
Min7(0),
|
|
6923
6983
|
Expose47({ name: "tolerance" })
|
|
6924
6984
|
], _Model.prototype, "tolerance", 2);
|
|
6925
6985
|
__decorateClass([
|
|
6926
6986
|
Type47(() => Number),
|
|
6927
|
-
|
|
6987
|
+
IsNumber20(),
|
|
6928
6988
|
IsOptional47(),
|
|
6929
|
-
|
|
6989
|
+
Min7(0),
|
|
6930
6990
|
Expose47({ name: "angle_tolerance" })
|
|
6931
6991
|
], _Model.prototype, "angleTolerance", 2);
|
|
6932
6992
|
/** A n optional list of 3 (x, y, z) values that describe a Vector3D relating the model to an original source coordinate system. Setting a value here is useful if the model has been moved from its original location and there may be future operations of merging geometry from the original source system. */
|
|
6933
6993
|
__decorateClass([
|
|
6934
6994
|
IsArray17(),
|
|
6935
6995
|
Type47(() => Number),
|
|
6936
|
-
|
|
6996
|
+
IsNumber20({}, { each: true }),
|
|
6937
6997
|
IsOptional47(),
|
|
6938
6998
|
Expose47({ name: "reference_vector" })
|
|
6939
6999
|
], _Model.prototype, "referenceVector", 2);
|