dragonfly-schema 1.1301.2 → 1.1301.4

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.
Files changed (152) hide show
  1. package/dist/index.cjs +7670 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +735 -0
  4. package/dist/index.d.ts +735 -0
  5. package/dist/index.js +7609 -0
  6. package/dist/index.js.map +1 -0
  7. package/package.json +14 -10
  8. package/dist/src/helpers/class-validator.d.ts +0 -5
  9. package/dist/src/helpers/class-validator.d.ts.map +0 -1
  10. package/dist/src/helpers/class-validator.js +0 -78
  11. package/dist/src/index.d.ts +0 -3
  12. package/dist/src/index.d.ts.map +0 -1
  13. package/dist/src/index.js +0 -18
  14. package/dist/src/models/Building.d.ts +0 -24
  15. package/dist/src/models/Building.d.ts.map +0 -1
  16. package/dist/src/models/Building.js +0 -125
  17. package/dist/src/models/BuildingEnergyPropertiesAbridged.d.ts +0 -18
  18. package/dist/src/models/BuildingEnergyPropertiesAbridged.d.ts.map +0 -1
  19. package/dist/src/models/BuildingEnergyPropertiesAbridged.js +0 -106
  20. package/dist/src/models/BuildingPropertiesAbridged.d.ts +0 -17
  21. package/dist/src/models/BuildingPropertiesAbridged.d.ts.map +0 -1
  22. package/dist/src/models/BuildingPropertiesAbridged.js +0 -94
  23. package/dist/src/models/BuildingRadiancePropertiesAbridged.d.ts +0 -14
  24. package/dist/src/models/BuildingRadiancePropertiesAbridged.d.ts.map +0 -1
  25. package/dist/src/models/BuildingRadiancePropertiesAbridged.js +0 -78
  26. package/dist/src/models/ContextShade.d.ts +0 -21
  27. package/dist/src/models/ContextShade.d.ts.map +0 -1
  28. package/dist/src/models/ContextShade.js +0 -114
  29. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.d.ts +0 -16
  30. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.d.ts.map +0 -1
  31. package/dist/src/models/ContextShadeEnergyPropertiesAbridged.js +0 -93
  32. package/dist/src/models/ContextShadePropertiesAbridged.d.ts +0 -17
  33. package/dist/src/models/ContextShadePropertiesAbridged.d.ts.map +0 -1
  34. package/dist/src/models/ContextShadePropertiesAbridged.js +0 -94
  35. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.d.ts +0 -14
  36. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.d.ts.map +0 -1
  37. package/dist/src/models/ContextShadeRadiancePropertiesAbridged.js +0 -78
  38. package/dist/src/models/DetailedSkylights.d.ts +0 -16
  39. package/dist/src/models/DetailedSkylights.d.ts.map +0 -1
  40. package/dist/src/models/DetailedSkylights.js +0 -92
  41. package/dist/src/models/DetailedWindows.d.ts +0 -16
  42. package/dist/src/models/DetailedWindows.d.ts.map +0 -1
  43. package/dist/src/models/DetailedWindows.js +0 -92
  44. package/dist/src/models/ExteriorApertureGridParameter.d.ts +0 -17
  45. package/dist/src/models/ExteriorApertureGridParameter.d.ts.map +0 -1
  46. package/dist/src/models/ExteriorApertureGridParameter.js +0 -93
  47. package/dist/src/models/ExteriorApertureType.d.ts +0 -7
  48. package/dist/src/models/ExteriorApertureType.d.ts.map +0 -1
  49. package/dist/src/models/ExteriorApertureType.js +0 -11
  50. package/dist/src/models/ExteriorFaceGridParameter.d.ts +0 -19
  51. package/dist/src/models/ExteriorFaceGridParameter.d.ts.map +0 -1
  52. package/dist/src/models/ExteriorFaceGridParameter.js +0 -105
  53. package/dist/src/models/ExteriorFaceType.d.ts +0 -8
  54. package/dist/src/models/ExteriorFaceType.d.ts.map +0 -1
  55. package/dist/src/models/ExteriorFaceType.js +0 -12
  56. package/dist/src/models/ExtrudedBorder.d.ts +0 -14
  57. package/dist/src/models/ExtrudedBorder.d.ts.map +0 -1
  58. package/dist/src/models/ExtrudedBorder.js +0 -78
  59. package/dist/src/models/GriddedSkylightArea.d.ts +0 -17
  60. package/dist/src/models/GriddedSkylightArea.d.ts.map +0 -1
  61. package/dist/src/models/GriddedSkylightArea.js +0 -90
  62. package/dist/src/models/GriddedSkylightRatio.d.ts +0 -17
  63. package/dist/src/models/GriddedSkylightRatio.d.ts.map +0 -1
  64. package/dist/src/models/GriddedSkylightRatio.js +0 -90
  65. package/dist/src/models/LouversByCount.d.ts +0 -14
  66. package/dist/src/models/LouversByCount.d.ts.map +0 -1
  67. package/dist/src/models/LouversByCount.js +0 -78
  68. package/dist/src/models/LouversByDistance.d.ts +0 -14
  69. package/dist/src/models/LouversByDistance.d.ts.map +0 -1
  70. package/dist/src/models/LouversByDistance.js +0 -78
  71. package/dist/src/models/Model.d.ts +0 -30
  72. package/dist/src/models/Model.d.ts.map +0 -1
  73. package/dist/src/models/Model.js +0 -164
  74. package/dist/src/models/ModelEnergyProperties.d.ts +0 -79
  75. package/dist/src/models/ModelEnergyProperties.d.ts.map +0 -1
  76. package/dist/src/models/ModelEnergyProperties.js +0 -769
  77. package/dist/src/models/ModelProperties.d.ts +0 -17
  78. package/dist/src/models/ModelProperties.d.ts.map +0 -1
  79. package/dist/src/models/ModelProperties.js +0 -94
  80. package/dist/src/models/ModelRadianceProperties.d.ts +0 -30
  81. package/dist/src/models/ModelRadianceProperties.d.ts.map +0 -1
  82. package/dist/src/models/ModelRadianceProperties.js +0 -306
  83. package/dist/src/models/Overhang.d.ts +0 -16
  84. package/dist/src/models/Overhang.d.ts.map +0 -1
  85. package/dist/src/models/Overhang.js +0 -92
  86. package/dist/src/models/RectangularWindows.d.ts +0 -20
  87. package/dist/src/models/RectangularWindows.d.ts.map +0 -1
  88. package/dist/src/models/RectangularWindows.js +0 -116
  89. package/dist/src/models/RepeatingWindowRatio.d.ts +0 -22
  90. package/dist/src/models/RepeatingWindowRatio.d.ts.map +0 -1
  91. package/dist/src/models/RepeatingWindowRatio.js +0 -125
  92. package/dist/src/models/RoofSpecification.d.ts +0 -15
  93. package/dist/src/models/RoofSpecification.d.ts.map +0 -1
  94. package/dist/src/models/RoofSpecification.js +0 -82
  95. package/dist/src/models/Room2D.d.ts +0 -63
  96. package/dist/src/models/Room2D.d.ts.map +0 -1
  97. package/dist/src/models/Room2D.js +0 -328
  98. package/dist/src/models/Room2DEnergyPropertiesAbridged.d.ts +0 -29
  99. package/dist/src/models/Room2DEnergyPropertiesAbridged.d.ts.map +0 -1
  100. package/dist/src/models/Room2DEnergyPropertiesAbridged.js +0 -162
  101. package/dist/src/models/Room2DPropertiesAbridged.d.ts +0 -17
  102. package/dist/src/models/Room2DPropertiesAbridged.d.ts.map +0 -1
  103. package/dist/src/models/Room2DPropertiesAbridged.js +0 -94
  104. package/dist/src/models/Room2DRadiancePropertiesAbridged.d.ts +0 -20
  105. package/dist/src/models/Room2DRadiancePropertiesAbridged.d.ts.map +0 -1
  106. package/dist/src/models/Room2DRadiancePropertiesAbridged.js +0 -105
  107. package/dist/src/models/RoomGridParameter.d.ts +0 -16
  108. package/dist/src/models/RoomGridParameter.d.ts.map +0 -1
  109. package/dist/src/models/RoomGridParameter.js +0 -91
  110. package/dist/src/models/RoomRadialGridParameter.d.ts +0 -19
  111. package/dist/src/models/RoomRadialGridParameter.d.ts.map +0 -1
  112. package/dist/src/models/RoomRadialGridParameter.js +0 -103
  113. package/dist/src/models/SimpleWindowArea.d.ts +0 -16
  114. package/dist/src/models/SimpleWindowArea.d.ts.map +0 -1
  115. package/dist/src/models/SimpleWindowArea.js +0 -90
  116. package/dist/src/models/SimpleWindowRatio.d.ts +0 -16
  117. package/dist/src/models/SimpleWindowRatio.d.ts.map +0 -1
  118. package/dist/src/models/SimpleWindowRatio.js +0 -90
  119. package/dist/src/models/SingleWindow.d.ts +0 -18
  120. package/dist/src/models/SingleWindow.d.ts.map +0 -1
  121. package/dist/src/models/SingleWindow.js +0 -101
  122. package/dist/src/models/Story.d.ts +0 -31
  123. package/dist/src/models/Story.d.ts.map +0 -1
  124. package/dist/src/models/Story.js +0 -160
  125. package/dist/src/models/StoryEnergyPropertiesAbridged.d.ts +0 -14
  126. package/dist/src/models/StoryEnergyPropertiesAbridged.d.ts.map +0 -1
  127. package/dist/src/models/StoryEnergyPropertiesAbridged.js +0 -80
  128. package/dist/src/models/StoryPropertiesAbridged.d.ts +0 -17
  129. package/dist/src/models/StoryPropertiesAbridged.d.ts.map +0 -1
  130. package/dist/src/models/StoryPropertiesAbridged.js +0 -94
  131. package/dist/src/models/StoryRadiancePropertiesAbridged.d.ts +0 -14
  132. package/dist/src/models/StoryRadiancePropertiesAbridged.d.ts.map +0 -1
  133. package/dist/src/models/StoryRadiancePropertiesAbridged.js +0 -78
  134. package/dist/src/models/StoryType.d.ts +0 -7
  135. package/dist/src/models/StoryType.d.ts.map +0 -1
  136. package/dist/src/models/StoryType.js +0 -11
  137. package/dist/src/models/_GridParameterBase.d.ts +0 -16
  138. package/dist/src/models/_GridParameterBase.d.ts.map +0 -1
  139. package/dist/src/models/_GridParameterBase.js +0 -90
  140. package/dist/src/models/_LouversBase.d.ts +0 -22
  141. package/dist/src/models/_LouversBase.d.ts.map +0 -1
  142. package/dist/src/models/_LouversBase.js +0 -130
  143. package/dist/src/models/_OpenAPIGenBaseModel.d.ts +0 -9
  144. package/dist/src/models/_OpenAPIGenBaseModel.d.ts.map +0 -1
  145. package/dist/src/models/_OpenAPIGenBaseModel.js +0 -53
  146. package/dist/src/models/_WindowParameterBase.d.ts +0 -14
  147. package/dist/src/models/_WindowParameterBase.d.ts.map +0 -1
  148. package/dist/src/models/_WindowParameterBase.js +0 -77
  149. package/dist/src/models/index.d.ts +0 -46
  150. package/dist/src/models/index.d.ts.map +0 -1
  151. package/dist/src/models/index.js +0 -62
  152. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,101 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SingleWindow = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const _WindowParameterBase_1 = require("./_WindowParameterBase");
16
- /** A single window in the wall center defined by a width * height. */
17
- class SingleWindow extends _WindowParameterBase_1._WindowParameterBase {
18
- /** A number for the window width. Note that, if this width is applied to a wall that is too narrow for this width, the generated window will automatically be shortened when it is applied to the wall. In this way, setting the width to be `float(""inf"")` will create parameters that always generate a ribbon window. */
19
- width;
20
- /** A number for the window height. Note that, if this height is applied to a wall that is too short for this height, the generated window will automatically be shortened when it is applied to the wall. */
21
- height;
22
- /** Type */
23
- type;
24
- /** A number for the window sill height. */
25
- sill_height;
26
- constructor() {
27
- super();
28
- this.type = "SingleWindow";
29
- this.sill_height = 1;
30
- }
31
- init(_data) {
32
- super.init(_data);
33
- if (_data) {
34
- const obj = (0, class_transformer_1.plainToClass)(SingleWindow, _data, { enableImplicitConversion: true });
35
- this.width = obj.width;
36
- this.height = obj.height;
37
- this.type = obj.type;
38
- this.sill_height = obj.sill_height;
39
- }
40
- }
41
- static fromJS(data) {
42
- data = typeof data === 'object' ? data : {};
43
- if (Array.isArray(data)) {
44
- const obj = {};
45
- for (var property in data) {
46
- obj[property] = data[property];
47
- }
48
- data = obj;
49
- }
50
- let result = new SingleWindow();
51
- result.init(data);
52
- return result;
53
- }
54
- toJSON(data) {
55
- data = typeof data === 'object' ? data : {};
56
- data["width"] = this.width;
57
- data["height"] = this.height;
58
- data["type"] = this.type;
59
- data["sill_height"] = this.sill_height;
60
- data = super.toJSON(data);
61
- return (0, class_transformer_1.instanceToPlain)(data);
62
- }
63
- async validate() {
64
- const errors = await (0, class_validator_1.validate)(this);
65
- if (errors.length > 0) {
66
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
67
- throw new Error(`Validation failed: ${errorMessages}`);
68
- }
69
- return true;
70
- }
71
- }
72
- exports.SingleWindow = SingleWindow;
73
- __decorate([
74
- (0, class_validator_1.IsNumber)(),
75
- (0, class_validator_1.IsDefined)()
76
- /** A number for the window width. Note that, if this width is applied to a wall that is too narrow for this width, the generated window will automatically be shortened when it is applied to the wall. In this way, setting the width to be `float(""inf"")` will create parameters that always generate a ribbon window. */
77
- ,
78
- __metadata("design:type", Number)
79
- ], SingleWindow.prototype, "width", void 0);
80
- __decorate([
81
- (0, class_validator_1.IsNumber)(),
82
- (0, class_validator_1.IsDefined)()
83
- /** A number for the window height. Note that, if this height is applied to a wall that is too short for this height, the generated window will automatically be shortened when it is applied to the wall. */
84
- ,
85
- __metadata("design:type", Number)
86
- ], SingleWindow.prototype, "height", void 0);
87
- __decorate([
88
- (0, class_validator_1.IsString)(),
89
- (0, class_validator_1.IsOptional)(),
90
- (0, class_validator_1.Matches)(/^SingleWindow$/)
91
- /** Type */
92
- ,
93
- __metadata("design:type", String)
94
- ], SingleWindow.prototype, "type", void 0);
95
- __decorate([
96
- (0, class_validator_1.IsNumber)(),
97
- (0, class_validator_1.IsOptional)()
98
- /** A number for the window sill height. */
99
- ,
100
- __metadata("design:type", Number)
101
- ], SingleWindow.prototype, "sill_height", void 0);
@@ -1,31 +0,0 @@
1
- import { Autocalculate } from "honeybee-schema";
2
- import { IDdBaseModel } from "honeybee-schema";
3
- import { RoofSpecification } from "./RoofSpecification";
4
- import { Room2D } from "./Room2D";
5
- import { StoryPropertiesAbridged } from "./StoryPropertiesAbridged";
6
- import { StoryType } from "./StoryType";
7
- /** Base class for all objects requiring a identifiers acceptable for all engines. */
8
- export declare class Story extends IDdBaseModel {
9
- /** An array of dragonfly Room2D objects that together form an entire story of a building. */
10
- room_2ds: Room2D[];
11
- /** Extension properties for particular simulation engines (Radiance, EnergyPlus). */
12
- properties: StoryPropertiesAbridged;
13
- /** Type */
14
- type?: string;
15
- /** A number for the distance from the floor plate of this story to the floor of the story above this one (if it exists). If Autocalculate, this value will be the maximum floor_to_ceiling_height of the input room_2ds. */
16
- floor_to_floor_height?: (Autocalculate | number);
17
- /** A number to indicate the height of the floor plane in the Z axis.If Autocalculate, this will be the minimum floor height of all the room_2ds, which is suitable for cases where there are no floor plenums. */
18
- floor_height?: (Autocalculate | number);
19
- /** An integer that denotes the number of times that this Story is repeated over the height of the building. */
20
- multiplier?: number;
21
- /** 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. */
22
- roof?: RoofSpecification;
23
- /** Text to indicate the type of story. Stories that are plenums are translated to Honeybee with excluded floor areas. */
24
- story_type?: StoryType;
25
- constructor();
26
- init(_data?: any): void;
27
- static fromJS(data: any): Story;
28
- toJSON(data?: any): Record<string, any>;
29
- validate(): Promise<boolean>;
30
- }
31
- //# sourceMappingURL=Story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../src/models/Story.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qFAAqF;AACrF,qBAAa,KAAM,SAAQ,YAAY;IAMnC,6FAA6F;IAC7F,QAAQ,EAAG,MAAM,EAAG,CAAC;IAMrB,qFAAqF;IACrF,UAAU,EAAG,uBAAuB,CAAC;IAKrC,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,4NAA4N;IAC5N,qBAAqB,CAAC,EAAE,CAAC,aAAa,GAAG,MAAM,CAAC,CAAC;IAGjD,kNAAkN;IAClN,YAAY,CAAC,EAAE,CAAC,aAAa,GAAG,MAAM,CAAC,CAAC;IAKxC,+GAA+G;IAC/G,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,gVAAgV;IAChV,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAKzB,yHAAyH;IACzH,UAAU,CAAC,EAAE,SAAS,CAAC;;IAad,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG;WAgBT,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK;IAelC,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG;IAcpB,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;CAQlC"}
@@ -1,160 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Story = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const honeybee_schema_1 = require("honeybee-schema");
16
- const honeybee_schema_2 = require("honeybee-schema");
17
- const RoofSpecification_1 = require("./RoofSpecification");
18
- const Room2D_1 = require("./Room2D");
19
- const StoryPropertiesAbridged_1 = require("./StoryPropertiesAbridged");
20
- const StoryType_1 = require("./StoryType");
21
- /** Base class for all objects requiring a identifiers acceptable for all engines. */
22
- class Story extends honeybee_schema_2.IDdBaseModel {
23
- /** An array of dragonfly Room2D objects that together form an entire story of a building. */
24
- room_2ds;
25
- /** Extension properties for particular simulation engines (Radiance, EnergyPlus). */
26
- properties;
27
- /** Type */
28
- type;
29
- /** A number for the distance from the floor plate of this story to the floor of the story above this one (if it exists). If Autocalculate, this value will be the maximum floor_to_ceiling_height of the input room_2ds. */
30
- floor_to_floor_height;
31
- /** A number to indicate the height of the floor plane in the Z axis.If Autocalculate, this will be the minimum floor height of all the room_2ds, which is suitable for cases where there are no floor plenums. */
32
- floor_height;
33
- /** An integer that denotes the number of times that this Story is repeated over the height of the building. */
34
- multiplier;
35
- /** 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. */
36
- roof;
37
- /** Text to indicate the type of story. Stories that are plenums are translated to Honeybee with excluded floor areas. */
38
- story_type;
39
- constructor() {
40
- super();
41
- this.type = "Story";
42
- this.floor_to_floor_height = new honeybee_schema_1.Autocalculate();
43
- this.floor_height = new honeybee_schema_1.Autocalculate();
44
- this.multiplier = 1;
45
- this.story_type = StoryType_1.StoryType.Standard;
46
- }
47
- init(_data) {
48
- super.init(_data);
49
- if (_data) {
50
- const obj = (0, class_transformer_1.plainToClass)(Story, _data, { enableImplicitConversion: true });
51
- this.room_2ds = obj.room_2ds;
52
- this.properties = obj.properties;
53
- this.type = obj.type;
54
- this.floor_to_floor_height = obj.floor_to_floor_height;
55
- this.floor_height = obj.floor_height;
56
- this.multiplier = obj.multiplier;
57
- this.roof = obj.roof;
58
- this.story_type = obj.story_type;
59
- }
60
- }
61
- static fromJS(data) {
62
- data = typeof data === 'object' ? data : {};
63
- if (Array.isArray(data)) {
64
- const obj = {};
65
- for (var property in data) {
66
- obj[property] = data[property];
67
- }
68
- data = obj;
69
- }
70
- let result = new Story();
71
- result.init(data);
72
- return result;
73
- }
74
- toJSON(data) {
75
- data = typeof data === 'object' ? data : {};
76
- data["room_2ds"] = this.room_2ds;
77
- data["properties"] = this.properties;
78
- data["type"] = this.type;
79
- data["floor_to_floor_height"] = this.floor_to_floor_height;
80
- data["floor_height"] = this.floor_height;
81
- data["multiplier"] = this.multiplier;
82
- data["roof"] = this.roof;
83
- data["story_type"] = this.story_type;
84
- data = super.toJSON(data);
85
- return (0, class_transformer_1.instanceToPlain)(data);
86
- }
87
- async validate() {
88
- const errors = await (0, class_validator_1.validate)(this);
89
- if (errors.length > 0) {
90
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
91
- throw new Error(`Validation failed: ${errorMessages}`);
92
- }
93
- return true;
94
- }
95
- }
96
- exports.Story = Story;
97
- __decorate([
98
- (0, class_validator_1.IsArray)(),
99
- (0, class_validator_1.IsInstance)(Room2D_1.Room2D, { each: true }),
100
- (0, class_transformer_1.Type)(() => Room2D_1.Room2D),
101
- (0, class_validator_1.ValidateNested)({ each: true }),
102
- (0, class_validator_1.IsDefined)()
103
- /** An array of dragonfly Room2D objects that together form an entire story of a building. */
104
- ,
105
- __metadata("design:type", Array)
106
- ], Story.prototype, "room_2ds", void 0);
107
- __decorate([
108
- (0, class_validator_1.IsInstance)(StoryPropertiesAbridged_1.StoryPropertiesAbridged),
109
- (0, class_transformer_1.Type)(() => StoryPropertiesAbridged_1.StoryPropertiesAbridged),
110
- (0, class_validator_1.ValidateNested)(),
111
- (0, class_validator_1.IsDefined)()
112
- /** Extension properties for particular simulation engines (Radiance, EnergyPlus). */
113
- ,
114
- __metadata("design:type", StoryPropertiesAbridged_1.StoryPropertiesAbridged)
115
- ], Story.prototype, "properties", void 0);
116
- __decorate([
117
- (0, class_validator_1.IsString)(),
118
- (0, class_validator_1.IsOptional)(),
119
- (0, class_validator_1.Matches)(/^Story$/)
120
- /** Type */
121
- ,
122
- __metadata("design:type", String)
123
- ], Story.prototype, "type", void 0);
124
- __decorate([
125
- (0, class_validator_1.IsOptional)()
126
- /** A number for the distance from the floor plate of this story to the floor of the story above this one (if it exists). If Autocalculate, this value will be the maximum floor_to_ceiling_height of the input room_2ds. */
127
- ,
128
- __metadata("design:type", Object)
129
- ], Story.prototype, "floor_to_floor_height", void 0);
130
- __decorate([
131
- (0, class_validator_1.IsOptional)()
132
- /** A number to indicate the height of the floor plane in the Z axis.If Autocalculate, this will be the minimum floor height of all the room_2ds, which is suitable for cases where there are no floor plenums. */
133
- ,
134
- __metadata("design:type", Object)
135
- ], Story.prototype, "floor_height", void 0);
136
- __decorate([
137
- (0, class_validator_1.IsInt)(),
138
- (0, class_validator_1.IsOptional)(),
139
- (0, class_validator_1.Min)(1)
140
- /** An integer that denotes the number of times that this Story is repeated over the height of the building. */
141
- ,
142
- __metadata("design:type", Number)
143
- ], Story.prototype, "multiplier", void 0);
144
- __decorate([
145
- (0, class_validator_1.IsInstance)(RoofSpecification_1.RoofSpecification),
146
- (0, class_transformer_1.Type)(() => RoofSpecification_1.RoofSpecification),
147
- (0, class_validator_1.ValidateNested)(),
148
- (0, class_validator_1.IsOptional)()
149
- /** 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. */
150
- ,
151
- __metadata("design:type", RoofSpecification_1.RoofSpecification)
152
- ], Story.prototype, "roof", void 0);
153
- __decorate([
154
- (0, class_validator_1.IsEnum)(StoryType_1.StoryType),
155
- (0, class_transformer_1.Type)(() => String),
156
- (0, class_validator_1.IsOptional)()
157
- /** Text to indicate the type of story. Stories that are plenums are translated to Honeybee with excluded floor areas. */
158
- ,
159
- __metadata("design:type", String)
160
- ], Story.prototype, "story_type", void 0);
@@ -1,14 +0,0 @@
1
- import { _OpenAPIGenBaseModel } from "./_OpenAPIGenBaseModel";
2
- /** Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects. */
3
- export declare class StoryEnergyPropertiesAbridged extends _OpenAPIGenBaseModel {
4
- /** Type */
5
- type?: string;
6
- /** Name of a ConstructionSet to specify all constructions for the Story. If None, the Story will use the Building construction_set or the Model global_construction_set. Any ConstructionSet assigned here will override those assigned to these objects. */
7
- construction_set?: string;
8
- constructor();
9
- init(_data?: any): void;
10
- static fromJS(data: any): StoryEnergyPropertiesAbridged;
11
- toJSON(data?: any): Record<string, any>;
12
- validate(): Promise<boolean>;
13
- }
14
- //# sourceMappingURL=StoryEnergyPropertiesAbridged.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryEnergyPropertiesAbridged.d.ts","sourceRoot":"","sources":["../../../src/models/StoryEnergyPropertiesAbridged.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,kMAAkM;AAClM,qBAAa,6BAA8B,SAAQ,oBAAoB;IAInE,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,6PAA6P;IAC7P,gBAAgB,CAAC,EAAE,MAAM,CAAC;;IASjB,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG;WAUT,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B;IAe1D,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG;IAQpB,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;CAQlC"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.StoryEnergyPropertiesAbridged = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const _OpenAPIGenBaseModel_1 = require("./_OpenAPIGenBaseModel");
16
- /** Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects. */
17
- class StoryEnergyPropertiesAbridged extends _OpenAPIGenBaseModel_1._OpenAPIGenBaseModel {
18
- /** Type */
19
- type;
20
- /** Name of a ConstructionSet to specify all constructions for the Story. If None, the Story will use the Building construction_set or the Model global_construction_set. Any ConstructionSet assigned here will override those assigned to these objects. */
21
- construction_set;
22
- constructor() {
23
- super();
24
- this.type = "StoryEnergyPropertiesAbridged";
25
- }
26
- init(_data) {
27
- super.init(_data);
28
- if (_data) {
29
- const obj = (0, class_transformer_1.plainToClass)(StoryEnergyPropertiesAbridged, _data, { enableImplicitConversion: true });
30
- this.type = obj.type;
31
- this.construction_set = obj.construction_set;
32
- }
33
- }
34
- static fromJS(data) {
35
- data = typeof data === 'object' ? data : {};
36
- if (Array.isArray(data)) {
37
- const obj = {};
38
- for (var property in data) {
39
- obj[property] = data[property];
40
- }
41
- data = obj;
42
- }
43
- let result = new StoryEnergyPropertiesAbridged();
44
- result.init(data);
45
- return result;
46
- }
47
- toJSON(data) {
48
- data = typeof data === 'object' ? data : {};
49
- data["type"] = this.type;
50
- data["construction_set"] = this.construction_set;
51
- data = super.toJSON(data);
52
- return (0, class_transformer_1.instanceToPlain)(data);
53
- }
54
- async validate() {
55
- const errors = await (0, class_validator_1.validate)(this);
56
- if (errors.length > 0) {
57
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
58
- throw new Error(`Validation failed: ${errorMessages}`);
59
- }
60
- return true;
61
- }
62
- }
63
- exports.StoryEnergyPropertiesAbridged = StoryEnergyPropertiesAbridged;
64
- __decorate([
65
- (0, class_validator_1.IsString)(),
66
- (0, class_validator_1.IsOptional)(),
67
- (0, class_validator_1.Matches)(/^StoryEnergyPropertiesAbridged$/)
68
- /** Type */
69
- ,
70
- __metadata("design:type", String)
71
- ], StoryEnergyPropertiesAbridged.prototype, "type", void 0);
72
- __decorate([
73
- (0, class_validator_1.IsString)(),
74
- (0, class_validator_1.IsOptional)(),
75
- (0, class_validator_1.MinLength)(1),
76
- (0, class_validator_1.MaxLength)(100)
77
- /** Name of a ConstructionSet to specify all constructions for the Story. If None, the Story will use the Building construction_set or the Model global_construction_set. Any ConstructionSet assigned here will override those assigned to these objects. */
78
- ,
79
- __metadata("design:type", String)
80
- ], StoryEnergyPropertiesAbridged.prototype, "construction_set", void 0);
@@ -1,17 +0,0 @@
1
- import { _OpenAPIGenBaseModel } from "./_OpenAPIGenBaseModel";
2
- import { StoryEnergyPropertiesAbridged } from "./StoryEnergyPropertiesAbridged";
3
- import { StoryRadiancePropertiesAbridged } from "./StoryRadiancePropertiesAbridged";
4
- export declare class StoryPropertiesAbridged extends _OpenAPIGenBaseModel {
5
- /** Type */
6
- type?: string;
7
- /** Energy */
8
- energy?: StoryEnergyPropertiesAbridged;
9
- /** Radiance */
10
- radiance?: StoryRadiancePropertiesAbridged;
11
- constructor();
12
- init(_data?: any): void;
13
- static fromJS(data: any): StoryPropertiesAbridged;
14
- toJSON(data?: any): Record<string, any>;
15
- validate(): Promise<boolean>;
16
- }
17
- //# sourceMappingURL=StoryPropertiesAbridged.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryPropertiesAbridged.d.ts","sourceRoot":"","sources":["../../../src/models/StoryPropertiesAbridged.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,qBAAa,uBAAwB,SAAQ,oBAAoB;IAI7D,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,aAAa;IACb,MAAM,CAAC,EAAE,6BAA6B,CAAC;IAMvC,eAAe;IACf,QAAQ,CAAC,EAAE,+BAA+B,CAAC;;IASlC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG;WAWT,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB;IAepD,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG;IASpB,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;CAQlC"}
@@ -1,94 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.StoryPropertiesAbridged = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const _OpenAPIGenBaseModel_1 = require("./_OpenAPIGenBaseModel");
16
- const StoryEnergyPropertiesAbridged_1 = require("./StoryEnergyPropertiesAbridged");
17
- const StoryRadiancePropertiesAbridged_1 = require("./StoryRadiancePropertiesAbridged");
18
- class StoryPropertiesAbridged extends _OpenAPIGenBaseModel_1._OpenAPIGenBaseModel {
19
- /** Type */
20
- type;
21
- /** Energy */
22
- energy;
23
- /** Radiance */
24
- radiance;
25
- constructor() {
26
- super();
27
- this.type = "StoryPropertiesAbridged";
28
- }
29
- init(_data) {
30
- super.init(_data);
31
- if (_data) {
32
- const obj = (0, class_transformer_1.plainToClass)(StoryPropertiesAbridged, _data, { enableImplicitConversion: true });
33
- this.type = obj.type;
34
- this.energy = obj.energy;
35
- this.radiance = obj.radiance;
36
- }
37
- }
38
- static fromJS(data) {
39
- data = typeof data === 'object' ? data : {};
40
- if (Array.isArray(data)) {
41
- const obj = {};
42
- for (var property in data) {
43
- obj[property] = data[property];
44
- }
45
- data = obj;
46
- }
47
- let result = new StoryPropertiesAbridged();
48
- result.init(data);
49
- return result;
50
- }
51
- toJSON(data) {
52
- data = typeof data === 'object' ? data : {};
53
- data["type"] = this.type;
54
- data["energy"] = this.energy;
55
- data["radiance"] = this.radiance;
56
- data = super.toJSON(data);
57
- return (0, class_transformer_1.instanceToPlain)(data);
58
- }
59
- async validate() {
60
- const errors = await (0, class_validator_1.validate)(this);
61
- if (errors.length > 0) {
62
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
63
- throw new Error(`Validation failed: ${errorMessages}`);
64
- }
65
- return true;
66
- }
67
- }
68
- exports.StoryPropertiesAbridged = StoryPropertiesAbridged;
69
- __decorate([
70
- (0, class_validator_1.IsString)(),
71
- (0, class_validator_1.IsOptional)(),
72
- (0, class_validator_1.Matches)(/^StoryPropertiesAbridged$/)
73
- /** Type */
74
- ,
75
- __metadata("design:type", String)
76
- ], StoryPropertiesAbridged.prototype, "type", void 0);
77
- __decorate([
78
- (0, class_validator_1.IsInstance)(StoryEnergyPropertiesAbridged_1.StoryEnergyPropertiesAbridged),
79
- (0, class_transformer_1.Type)(() => StoryEnergyPropertiesAbridged_1.StoryEnergyPropertiesAbridged),
80
- (0, class_validator_1.ValidateNested)(),
81
- (0, class_validator_1.IsOptional)()
82
- /** Energy */
83
- ,
84
- __metadata("design:type", StoryEnergyPropertiesAbridged_1.StoryEnergyPropertiesAbridged)
85
- ], StoryPropertiesAbridged.prototype, "energy", void 0);
86
- __decorate([
87
- (0, class_validator_1.IsInstance)(StoryRadiancePropertiesAbridged_1.StoryRadiancePropertiesAbridged),
88
- (0, class_transformer_1.Type)(() => StoryRadiancePropertiesAbridged_1.StoryRadiancePropertiesAbridged),
89
- (0, class_validator_1.ValidateNested)(),
90
- (0, class_validator_1.IsOptional)()
91
- /** Radiance */
92
- ,
93
- __metadata("design:type", StoryRadiancePropertiesAbridged_1.StoryRadiancePropertiesAbridged)
94
- ], StoryPropertiesAbridged.prototype, "radiance", void 0);
@@ -1,14 +0,0 @@
1
- import { _OpenAPIGenBaseModel } from "./_OpenAPIGenBaseModel";
2
- /** Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects. */
3
- export declare class StoryRadiancePropertiesAbridged extends _OpenAPIGenBaseModel {
4
- /** Type */
5
- type?: string;
6
- /** Name of a ModifierSet to specify all modifiers for the Story. If None, the Story will use the Building modifier_set or the Model global_modifier_set. Any ModifierSet assigned here will override those assigned to the parent objects. */
7
- modifier_set?: string;
8
- constructor();
9
- init(_data?: any): void;
10
- static fromJS(data: any): StoryRadiancePropertiesAbridged;
11
- toJSON(data?: any): Record<string, any>;
12
- validate(): Promise<boolean>;
13
- }
14
- //# sourceMappingURL=StoryRadiancePropertiesAbridged.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryRadiancePropertiesAbridged.d.ts","sourceRoot":"","sources":["../../../src/models/StoryRadiancePropertiesAbridged.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,kMAAkM;AAClM,qBAAa,+BAAgC,SAAQ,oBAAoB;IAIrE,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,8OAA8O;IAC9O,YAAY,CAAC,EAAE,MAAM,CAAC;;IASb,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG;WAUT,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B;IAe5D,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG;IAQpB,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;CAQlC"}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.StoryRadiancePropertiesAbridged = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const _OpenAPIGenBaseModel_1 = require("./_OpenAPIGenBaseModel");
16
- /** Base class for all objects that are not extensible with additional keys.\n\nThis effectively includes all objects except for the Properties classes\nthat are assigned to geometry objects. */
17
- class StoryRadiancePropertiesAbridged extends _OpenAPIGenBaseModel_1._OpenAPIGenBaseModel {
18
- /** Type */
19
- type;
20
- /** Name of a ModifierSet to specify all modifiers for the Story. If None, the Story will use the Building modifier_set or the Model global_modifier_set. Any ModifierSet assigned here will override those assigned to the parent objects. */
21
- modifier_set;
22
- constructor() {
23
- super();
24
- this.type = "StoryRadiancePropertiesAbridged";
25
- }
26
- init(_data) {
27
- super.init(_data);
28
- if (_data) {
29
- const obj = (0, class_transformer_1.plainToClass)(StoryRadiancePropertiesAbridged, _data, { enableImplicitConversion: true });
30
- this.type = obj.type;
31
- this.modifier_set = obj.modifier_set;
32
- }
33
- }
34
- static fromJS(data) {
35
- data = typeof data === 'object' ? data : {};
36
- if (Array.isArray(data)) {
37
- const obj = {};
38
- for (var property in data) {
39
- obj[property] = data[property];
40
- }
41
- data = obj;
42
- }
43
- let result = new StoryRadiancePropertiesAbridged();
44
- result.init(data);
45
- return result;
46
- }
47
- toJSON(data) {
48
- data = typeof data === 'object' ? data : {};
49
- data["type"] = this.type;
50
- data["modifier_set"] = this.modifier_set;
51
- data = super.toJSON(data);
52
- return (0, class_transformer_1.instanceToPlain)(data);
53
- }
54
- async validate() {
55
- const errors = await (0, class_validator_1.validate)(this);
56
- if (errors.length > 0) {
57
- const errorMessages = errors.map((error) => Object.values(error.constraints || [error]).join(', ')).join('; ');
58
- throw new Error(`Validation failed: ${errorMessages}`);
59
- }
60
- return true;
61
- }
62
- }
63
- exports.StoryRadiancePropertiesAbridged = StoryRadiancePropertiesAbridged;
64
- __decorate([
65
- (0, class_validator_1.IsString)(),
66
- (0, class_validator_1.IsOptional)(),
67
- (0, class_validator_1.Matches)(/^StoryRadiancePropertiesAbridged$/)
68
- /** Type */
69
- ,
70
- __metadata("design:type", String)
71
- ], StoryRadiancePropertiesAbridged.prototype, "type", void 0);
72
- __decorate([
73
- (0, class_validator_1.IsString)(),
74
- (0, class_validator_1.IsOptional)()
75
- /** Name of a ModifierSet to specify all modifiers for the Story. If None, the Story will use the Building modifier_set or the Model global_modifier_set. Any ModifierSet assigned here will override those assigned to the parent objects. */
76
- ,
77
- __metadata("design:type", String)
78
- ], StoryRadiancePropertiesAbridged.prototype, "modifier_set", void 0);
@@ -1,7 +0,0 @@
1
- /** An enumeration. */
2
- export declare enum StoryType {
3
- Standard = "Standard",
4
- CeilingPlenum = "CeilingPlenum",
5
- FloorPlenum = "FloorPlenum"
6
- }
7
- //# sourceMappingURL=StoryType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryType.d.ts","sourceRoot":"","sources":["../../../src/models/StoryType.ts"],"names":[],"mappings":"AAEA,sBAAsB;AACtB,oBAAY,SAAS;IACjB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC9B"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- // Auto-generated
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.StoryType = void 0;
5
- /** An enumeration. */
6
- var StoryType;
7
- (function (StoryType) {
8
- StoryType["Standard"] = "Standard";
9
- StoryType["CeilingPlenum"] = "CeilingPlenum";
10
- StoryType["FloorPlenum"] = "FloorPlenum";
11
- })(StoryType || (exports.StoryType = StoryType = {}));
@@ -1,16 +0,0 @@
1
- import { _OpenAPIGenBaseModel } from "./_OpenAPIGenBaseModel";
2
- /** Base object for all GridParameters. */
3
- export declare class _GridParameterBase extends _OpenAPIGenBaseModel {
4
- /** The dimension of the grid cells as a number. */
5
- dimension: number;
6
- /** A boolean to note whether the resulting SensorGrid should include the mesh. */
7
- include_mesh?: boolean;
8
- /** Type */
9
- type?: string;
10
- constructor();
11
- init(_data?: any): void;
12
- static fromJS(data: any): _GridParameterBase;
13
- toJSON(data?: any): Record<string, any>;
14
- validate(): Promise<boolean>;
15
- }
16
- //# sourceMappingURL=_GridParameterBase.d.ts.map