@idfkit/core 0.1.0 → 0.2.0-rc.2
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/README.md +16 -7
- package/dist/collection.d.ts +0 -13
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +1 -1
- package/dist/conformance.d.ts +20 -0
- package/dist/conformance.d.ts.map +1 -0
- package/dist/conformance.js +20 -0
- package/dist/conformance.js.map +1 -0
- package/dist/docs-url/index.d.ts +81 -0
- package/dist/docs-url/index.d.ts.map +1 -0
- package/dist/docs-url/index.js +201 -0
- package/dist/docs-url/index.js.map +1 -0
- package/dist/docs-url/locations.d.ts +2 -0
- package/dist/docs-url/locations.d.ts.map +1 -0
- package/dist/docs-url/locations.js +272 -0
- package/dist/docs-url/locations.js.map +1 -0
- package/dist/document.d.ts +40 -14
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +0 -0
- package/dist/document.js.map +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/introspect/describe.d.ts +117 -0
- package/dist/introspect/describe.d.ts.map +1 -0
- package/dist/introspect/describe.js +206 -0
- package/dist/introspect/describe.js.map +1 -0
- package/dist/node.d.ts +5 -5
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +25 -5
- package/dist/node.js.map +1 -1
- package/dist/object.d.ts +1 -1
- package/dist/parse/epjson.d.ts +1 -1
- package/dist/parse/epjson.d.ts.map +1 -1
- package/dist/parse/epjson.js +3 -3
- package/dist/parse/epjson.js.map +1 -1
- package/dist/parse/idf.d.ts +24 -6
- package/dist/parse/idf.d.ts.map +1 -1
- package/dist/parse/idf.js +181 -8
- package/dist/parse/idf.js.map +1 -1
- package/dist/parse/lexer.d.ts +36 -0
- package/dist/parse/lexer.d.ts.map +1 -1
- package/dist/parse/lexer.js +49 -2
- package/dist/parse/lexer.js.map +1 -1
- package/dist/typemap.d.ts +7 -5
- package/dist/typemap.d.ts.map +1 -1
- package/dist/typemap.js +7 -5
- package/dist/typemap.js.map +1 -1
- package/dist/validate/index.d.ts +11 -0
- package/dist/validate/index.d.ts.map +1 -0
- package/dist/validate/index.js +10 -0
- package/dist/validate/index.js.map +1 -0
- package/dist/validate/types.d.ts +63 -0
- package/dist/validate/types.d.ts.map +1 -0
- package/dist/validate/types.js +25 -0
- package/dist/validate/types.js.map +1 -0
- package/dist/validate/validate.d.ts +82 -0
- package/dist/validate/validate.d.ts.map +1 -0
- package/dist/validate/validate.js +574 -0
- package/dist/validate/validate.js.map +1 -0
- package/dist/write/epjson.d.ts +3 -3
- package/dist/write/idf.d.ts +34 -2
- package/dist/write/idf.d.ts.map +1 -1
- package/dist/write/idf.js +24 -5
- package/dist/write/idf.js.map +1 -1
- package/package.json +11 -8
- package/dist/types/v26-1.d.ts +0 -65896
- package/dist/types/v26-1.d.ts.map +0 -1
- package/dist/types/v26-1.js +0 -5
- package/dist/types/v26-1.js.map +0 -1
- package/dist/types/v9-4.d.ts +0 -61414
- package/dist/types/v9-4.d.ts.map +0 -1
- package/dist/types/v9-4.js +0 -5
- package/dist/types/v9-4.js.map +0 -1
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
// Generated by generate-locations.mjs from idfkit's doc_locations.json. Do not edit.
|
|
2
|
+
// 816 object types across 79 section paths.
|
|
3
|
+
/**
|
|
4
|
+
* Documentation section paths, each paired with the tab-separated object types
|
|
5
|
+
* documented there.
|
|
6
|
+
*
|
|
7
|
+
* Anchors are omitted because they are a pure function of the object type; the
|
|
8
|
+
* generator verifies that for every entry before writing this file. Storing the
|
|
9
|
+
* mapping this way costs a third of the JSON it came from, which matters
|
|
10
|
+
* because `@idfkit/core` is loaded in browsers.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export const DOC_LOCATIONS = [
|
|
15
|
+
[
|
|
16
|
+
'io-reference/overview/group-variable-refrigerant-flow-equipment/#',
|
|
17
|
+
'AirConditioner:VariableRefrigerantFlow\tAirConditioner:VariableRefrigerantFlow:FluidTemperatureControl\tAirConditioner:VariableRefrigerantFlow:FluidTemperatureControl:HR\tZoneTerminalUnitList',
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
'io-reference/overview/group-air-distribution/#',
|
|
21
|
+
'AirLoopHVAC\tAirLoopHVAC:ControllerList\tAirLoopHVAC:OutdoorAirSystem\tAirLoopHVAC:OutdoorAirSystem:EquipmentList\tAvailabilityManagerAssignmentList\tOutdoorAir:Mixer\tOutdoorAir:Node\tOutdoorAir:NodeList',
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
'io-reference/overview/group-air-path/#',
|
|
25
|
+
'AirLoopHVAC:DedicatedOutdoorAirSystem\tAirLoopHVAC:ExhaustSystem\tAirLoopHVAC:Mixer\tAirLoopHVAC:ReturnPath\tAirLoopHVAC:ReturnPlenum\tAirLoopHVAC:Splitter\tAirLoopHVAC:SupplyPath\tAirLoopHVAC:SupplyPlenum\tAirLoopHVAC:ZoneMixer\tAirLoopHVAC:ZoneSplitter\tZoneHVAC:ExhaustControl',
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
'io-reference/overview/group-unitary-equipment/#',
|
|
29
|
+
'AirLoopHVAC:Unitary:Furnace:HeatCool\tAirLoopHVAC:Unitary:Furnace:HeatOnly\tAirLoopHVAC:UnitaryHeatCool\tAirLoopHVAC:UnitaryHeatCool:VAVChangeoverBypass\tAirLoopHVAC:UnitaryHeatOnly\tAirLoopHVAC:UnitaryHeatPump:AirToAir\tAirLoopHVAC:UnitaryHeatPump:AirToAir:MultiSpeed\tAirLoopHVAC:UnitaryHeatPump:WaterToAir\tAirLoopHVAC:UnitarySystem\tUnitarySystemPerformance:Multispeed',
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
'io-reference/overview/group-air-distribution-equipment/#',
|
|
33
|
+
'AirTerminal:DualDuct:ConstantVolume\tAirTerminal:DualDuct:VAV\tAirTerminal:DualDuct:VAV:OutdoorAir\tAirTerminal:SingleDuct:ConstantVolume:CooledBeam\tAirTerminal:SingleDuct:ConstantVolume:FourPipeBeam\tAirTerminal:SingleDuct:ConstantVolume:FourPipeInduction\tAirTerminal:SingleDuct:ConstantVolume:NoReheat\tAirTerminal:SingleDuct:ConstantVolume:Reheat\tAirTerminal:SingleDuct:Mixer\tAirTerminal:SingleDuct:ParallelPIU:Reheat\tAirTerminal:SingleDuct:VAV:Reheat\tAirTerminal:SingleDuct:VAV:Reheat:VariableSpeedFan',
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
'io-reference/overview/group-user-defined-hvac-and-plant-component/#',
|
|
37
|
+
'AirTerminal:SingleDuct:UserDefined\tCoil:UserDefined\tPlantComponent:UserDefined\tPlantEquipmentOperation:UserDefined\tZoneHVAC:ForcedAir:UserDefined',
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
'io-reference/overview/group-airflow-network/#',
|
|
41
|
+
'AirflowNetwork:Distribution:Component:Coil\tAirflowNetwork:Distribution:Component:ConstantPressureDrop\tAirflowNetwork:Distribution:Component:Duct\tAirflowNetwork:Distribution:Component:Fan\tAirflowNetwork:Distribution:Component:HeatExchanger\tAirflowNetwork:Distribution:Component:Leak\tAirflowNetwork:Distribution:Component:LeakageRatio\tAirflowNetwork:Distribution:Component:OutdoorAirFlow\tAirflowNetwork:Distribution:Component:ReliefAirFlow\tAirflowNetwork:Distribution:Component:TerminalUnit\tAirflowNetwork:Distribution:DuctSizing\tAirflowNetwork:Distribution:DuctViewFactors\tAirflowNetwork:Distribution:Linkage\tAirflowNetwork:Distribution:Node\tAirflowNetwork:IntraZone:Linkage\tAirflowNetwork:IntraZone:Node\tAirflowNetwork:MultiZone:Component:DetailedOpening\tAirflowNetwork:MultiZone:Component:HorizontalOpening\tAirflowNetwork:MultiZone:Component:SimpleOpening\tAirflowNetwork:MultiZone:Component:ZoneExhaustFan\tAirflowNetwork:MultiZone:ExternalNode\tAirflowNetwork:MultiZone:ReferenceCrackConditions\tAirflowNetwork:MultiZone:SpecifiedFlowRate\tAirflowNetwork:MultiZone:Surface\tAirflowNetwork:MultiZone:Surface:Crack\tAirflowNetwork:MultiZone:Surface:EffectiveLeakageArea\tAirflowNetwork:MultiZone:WindPressureCoefficientArray\tAirflowNetwork:MultiZone:WindPressureCoefficientValues\tAirflowNetwork:MultiZone:Zone\tAirflowNetwork:OccupantVentilationControl\tAirflowNetwork:SimulationControl\tAirflowNetwork:ZoneControl:PressureController\tDuct:Loss:Conduction\tDuct:Loss:Leakage\tDuct:Loss:MakeupAir',
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
'io-reference/overview/group-system-availability-managers/#',
|
|
45
|
+
'AvailabilityManager:DifferentialThermostat\tAvailabilityManager:HighTemperatureTurnOff\tAvailabilityManager:HighTemperatureTurnOn\tAvailabilityManager:HybridVentilation\tAvailabilityManager:LowTemperatureTurnOff\tAvailabilityManager:LowTemperatureTurnOn\tAvailabilityManager:NightCycle\tAvailabilityManager:NightVentilation\tAvailabilityManager:OptimumStart\tAvailabilityManager:Scheduled\tAvailabilityManager:ScheduledOff\tAvailabilityManager:ScheduledOn',
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
'io-reference/overview/group-plant-equipment/#',
|
|
49
|
+
'Boiler:HotWater\tBoiler:Steam\tCentralHeatPumpSystem\tChiller:Absorption\tChiller:Absorption:Indirect\tChiller:CombustionTurbine\tChiller:ConstantCOP\tChiller:Electric:ASHRAE205\tChiller:Electric:EIR\tChiller:Electric:ReformulatedEIR\tChiller:EngineDriven\tChillerHeater:Absorption:DirectFired\tChillerHeater:Absorption:DoubleEffect\tChillerHeaterPerformance:Electric:EIR\tDistrictCooling\tDistrictHeating:Steam\tDistrictHeating:Water\tHeatPump:AirToWater\tHeatPump:PlantLoop:EIR:Cooling\tHeatPump:PlantLoop:EIR:Heating\tHeatPump:WaterToWater:EquationFit:Cooling\tHeatPump:WaterToWater:EquationFit:Heating\tHeatPump:WaterToWater:ParameterEstimation:Cooling\tHeatPump:WaterToWater:ParameterEstimation:Heating\tPlantComponent:TemperatureSource',
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
'io-reference/overview/group-node-branch-management/#',
|
|
53
|
+
'Branch\tBranchList\tConnector:Mixer\tConnector:Splitter\tConnectorList\tDuct\tNodeList\tPipe:Adiabatic\tPipe:Adiabatic:Steam\tPipe:Indoor\tPipe:Outdoor\tPipe:Underground\tPipingSystem:Underground:Domain\tPipingSystem:Underground:PipeCircuit\tPipingSystem:Underground:PipeSegment',
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
'io-reference/overview/group-simulation-parameters/#',
|
|
57
|
+
'Building\tConvergenceLimits\tHVACSystemRootFindingAlgorithm\tHeatBalanceAlgorithm\tHeatBalanceSettings:ConductionFiniteDifference\tMeter:Custom\tMeter:CustomDecrement\tOutput:DebuggingData\tOutput:Diagnostics\tOutput:PreprocessorMessage\tPerformancePrecisionTradeoffs\tShadowCalculation\tSimulationControl\tSurfaceConvectionAlgorithm:Inside\tSurfaceConvectionAlgorithm:Outside\tTimestep\tVersion\tZoneAirContaminantBalance\tZoneAirHeatBalanceAlgorithm\tZoneCapacitanceMultiplier:ResearchSpecial',
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
'io-reference/overview/group-thermal-zone-description-geometry/#',
|
|
61
|
+
'BuildingSurface:Detailed\tCeiling:Adiabatic\tCeiling:Interzone\tDoor\tDoor:Interzone\tFenestrationSurface:Detailed\tFloor:Adiabatic\tFloor:Detailed\tFloor:GroundContact\tFloor:Interzone\tGlazedDoor\tGlazedDoor:Interzone\tGlobalGeometryRules\tInternalMass\tRoof\tRoofCeiling:Detailed\tShading:Fin\tShading:Fin:Projection\tShading:Overhang\tShading:Overhang:Projection\tShadingProperty:Reflectance\tSpace\tSpaceList\tWall:Adiabatic\tWall:Detailed\tWall:Exterior\tWall:Interzone\tWall:Underground\tWindow\tWindow:Interzone\tWindowProperty:AirflowControl\tWindowProperty:FrameAndDivider\tWindowProperty:StormWindow\tWindowShadingControl\tZone\tZoneGroup\tZoneList',
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
'io-reference/energyplus-economics/cost-estimating/#',
|
|
65
|
+
'Chiller:Electric\tCoil:Heating:Fuel\tComponentCost:Adjustments\tComponentCost:LineItem\tComponentCost:Reference\tConstruction\tDaylighting:Controls\tGenerator:Photovoltaic\tLights\tShading:Zone:Detailed',
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
'io-reference/overview/group-coil-cooling-dx/#',
|
|
69
|
+
'Coil:Cooling:DX\tCoil:Cooling:DX:CurveFit:OperatingMode\tCoil:Cooling:DX:CurveFit:Performance\tCoil:Cooling:DX:CurveFit:Speed',
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
'io-reference/overview/group-heating-and-cooling-coils/#',
|
|
73
|
+
'Coil:Cooling:DX:MultiSpeed\tCoil:Cooling:DX:SingleSpeed\tCoil:Cooling:DX:SingleSpeed:ThermalStorage\tCoil:Cooling:DX:TwoSpeed\tCoil:Cooling:DX:TwoStageWithHumidityControlMode\tCoil:Cooling:DX:VariableRefrigerantFlow\tCoil:Cooling:DX:VariableRefrigerantFlow:FluidTemperatureControl\tCoil:Cooling:DX:VariableSpeed\tCoil:Cooling:Water\tCoil:Cooling:Water:DetailedGeometry\tCoil:Cooling:WaterToAirHeatPump:EquationFit\tCoil:Cooling:WaterToAirHeatPump:ParameterEstimation\tCoil:Cooling:WaterToAirHeatPump:VariableSpeedEquationFit\tCoil:Heating:DX:MultiSpeed\tCoil:Heating:DX:SingleSpeed\tCoil:Heating:DX:VariableRefrigerantFlow\tCoil:Heating:DX:VariableRefrigerantFlow:FluidTemperatureControl\tCoil:Heating:DX:VariableSpeed\tCoil:Heating:Desuperheater\tCoil:Heating:Electric\tCoil:Heating:Electric:MultiStage\tCoil:Heating:Gas:MultiStage\tCoil:Heating:Steam\tCoil:Heating:Water\tCoil:Heating:WaterToAirHeatPump:EquationFit\tCoil:Heating:WaterToAirHeatPump:ParameterEstimation\tCoil:Heating:WaterToAirHeatPump:VariableSpeedEquationFit\tCoil:WaterHeating:AirToWaterHeatPump:Pumped\tCoil:WaterHeating:AirToWaterHeatPump:VariableSpeed\tCoil:WaterHeating:AirToWaterHeatPump:Wrapped\tCoil:WaterHeating:Desuperheater\tCoilPerformance:DX:Cooling\tCoilSystem:Cooling:DX\tCoilSystem:Cooling:DX:HeatExchangerAssisted\tCoilSystem:Cooling:Water\tCoilSystem:Cooling:Water:HeatExchangerAssisted\tCoilSystem:Heating:DX\tCoilSystem:IntegratedHeatPump:AirSource',
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
'io-reference/overview/group-internal-gains-people-lights-other/#',
|
|
77
|
+
'ComfortViewFactorAngles\tElectricEquipment\tElectricEquipment:ITE:AirCooled\tGasEquipment\tHotWaterEquipment\tIndoorLivingWall\tOtherEquipment\tPeople\tSteamEquipment\tSurfaceContaminantSourceAndSink:Generic:BoundaryLayerDiffusion\tSurfaceContaminantSourceAndSink:Generic:DepositionVelocitySink\tSurfaceContaminantSourceAndSink:Generic:PressureDriven\tSwimmingPool:Indoor\tZoneBaseboard:OutdoorTemperatureControlled\tZoneContaminantSourceAndSink:CarbonDioxide\tZoneContaminantSourceAndSink:Generic:Constant\tZoneContaminantSourceAndSink:Generic:CutoffModel\tZoneContaminantSourceAndSink:Generic:DecaySource\tZoneContaminantSourceAndSink:Generic:DepositionRateSink',
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
'io-reference/overview/group-advanced-surface-concepts/#',
|
|
81
|
+
'ComplexFenestrationProperty:SolarAbsorbedLayers\tFoundation:Kiva\tFoundation:Kiva:Settings\tGeometryTransform\tSurfaceControl:MovableInsulation\tSurfaceConvectionAlgorithm:Inside:AdaptiveModelSelections\tSurfaceConvectionAlgorithm:Inside:UserCurve\tSurfaceConvectionAlgorithm:Outside:AdaptiveModelSelections\tSurfaceConvectionAlgorithm:Outside:UserCurve\tSurfaceProperties:VaporCoefficients\tSurfaceProperty:ConvectionCoefficients\tSurfaceProperty:ConvectionCoefficients:MultipleSurface\tSurfaceProperty:ExposedFoundationPerimeter\tSurfaceProperty:ExteriorNaturalVentedCavity\tSurfaceProperty:GroundSurfaces\tSurfaceProperty:HeatBalanceSourceTerm\tSurfaceProperty:HeatTransferAlgorithm\tSurfaceProperty:HeatTransferAlgorithm:Construction\tSurfaceProperty:HeatTransferAlgorithm:MultipleSurface\tSurfaceProperty:HeatTransferAlgorithm:SurfaceList\tSurfaceProperty:IncidentSolarMultiplier\tSurfaceProperty:LocalEnvironment\tSurfaceProperty:OtherSideCoefficients\tSurfaceProperty:OtherSideConditionsModel\tSurfaceProperty:SolarIncidentInside\tSurfaceProperty:SurroundingSurfaces\tSurfaceProperty:Underwater\tZoneProperty:LocalEnvironment\tZoneProperty:UserViewFactors:BySurfaceName',
|
|
82
|
+
],
|
|
83
|
+
['io-reference/overview/group-compliance-objects/#', 'Compliance:Building'],
|
|
84
|
+
[
|
|
85
|
+
'io-reference/overview/group-plant-condenser-control/#',
|
|
86
|
+
'CondenserEquipmentList\tCondenserEquipmentOperationSchemes\tPlantEquipmentList\tPlantEquipmentOperation:ChillerHeaterChangeover\tPlantEquipmentOperation:ComponentSetpoint\tPlantEquipmentOperation:CoolingLoad\tPlantEquipmentOperation:HeatingLoad\tPlantEquipmentOperation:OutdoorDewpoint\tPlantEquipmentOperation:OutdoorDewpointDifference\tPlantEquipmentOperation:OutdoorDryBulb\tPlantEquipmentOperation:OutdoorDryBulbDifference\tPlantEquipmentOperation:OutdoorRelativeHumidity\tPlantEquipmentOperation:OutdoorWetBulb\tPlantEquipmentOperation:OutdoorWetBulbDifference\tPlantEquipmentOperation:ThermalEnergyStorage\tPlantEquipmentOperation:Uncontrolled\tPlantEquipmentOperationSchemes',
|
|
87
|
+
],
|
|
88
|
+
['io-reference/overview/group-plant-condenser-loops/#', 'CondenserLoop\tPlantLoop'],
|
|
89
|
+
[
|
|
90
|
+
'io-reference/overview/group-surface-construction-elements/#',
|
|
91
|
+
'Construction:AirBoundary\tConstruction:CfactorUndergroundWall\tConstruction:ComplexFenestrationState\tConstruction:FfactorGroundFloor\tConstruction:WindowDataFile\tConstruction:WindowEquivalentLayer\tConstructionProperty:InternalHeatSource\tMaterial\tMaterial:AirGap\tMaterial:InfraredTransparent\tMaterial:NoMass\tMaterial:RoofVegetation\tMaterialProperty:GlazingSpectralData\tMaterialProperty:HeatAndMoistureTransfer:Diffusion\tMaterialProperty:HeatAndMoistureTransfer:Redistribution\tMaterialProperty:HeatAndMoistureTransfer:Settings\tMaterialProperty:HeatAndMoistureTransfer:SorptionIsotherm\tMaterialProperty:HeatAndMoistureTransfer:Suction\tMaterialProperty:HeatAndMoistureTransfer:ThermalConductivity\tMaterialProperty:MoisturePenetrationDepth:Settings\tMaterialProperty:PhaseChange\tMaterialProperty:PhaseChangeHysteresis\tMaterialProperty:VariableAbsorptance\tMaterialProperty:VariableThermalConductivity\tMatrix:TwoDimension\tWindowGap:DeflectionState\tWindowGap:SupportPillar\tWindowMaterial:Blind\tWindowMaterial:Blind:EquivalentLayer\tWindowMaterial:ComplexShade\tWindowMaterial:Drape:EquivalentLayer\tWindowMaterial:Gap\tWindowMaterial:Gap:EquivalentLayer\tWindowMaterial:Gas\tWindowMaterial:GasMixture\tWindowMaterial:Glazing\tWindowMaterial:Glazing:EquivalentLayer\tWindowMaterial:Glazing:RefractionExtinctionMethod\tWindowMaterial:GlazingGroup:Thermochromic\tWindowMaterial:Screen\tWindowMaterial:Screen:EquivalentLayer\tWindowMaterial:Shade\tWindowMaterial:Shade:EquivalentLayer\tWindowMaterial:SimpleGlazingSystem\tWindowThermalModel:Params',
|
|
92
|
+
],
|
|
93
|
+
[
|
|
94
|
+
'io-reference/overview/group-controllers/#',
|
|
95
|
+
'Controller:MechanicalVentilation\tController:OutdoorAir\tController:WaterCoil\tZoneHVAC:EnergyRecoveryVentilator:Controller',
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
'io-reference/overview/group-condenser-equipment/#',
|
|
99
|
+
'CoolingTower:SingleSpeed\tCoolingTower:TwoSpeed\tCoolingTower:VariableSpeed\tCoolingTower:VariableSpeed:Merkel\tCoolingTowerPerformance:CoolTools\tCoolingTowerPerformance:YorkCalc\tEvaporativeFluidCooler:SingleSpeed\tEvaporativeFluidCooler:TwoSpeed\tFluidCooler:SingleSpeed\tFluidCooler:TwoSpeed\tGroundHeatExchanger:HorizontalTrench\tGroundHeatExchanger:Pond\tGroundHeatExchanger:ResponseFactors\tGroundHeatExchanger:Slinky\tGroundHeatExchanger:Surface\tGroundHeatExchanger:System\tGroundHeatExchanger:Vertical:Array\tGroundHeatExchanger:Vertical:Properties\tGroundHeatExchanger:Vertical:Single\tGroundHeatExchanger:Vertical:Sizing:Rectangle\tHeatExchanger:FluidToFluid',
|
|
100
|
+
],
|
|
101
|
+
['io-reference/energyplus-economics/currencytype/#', 'CurrencyType'],
|
|
102
|
+
[
|
|
103
|
+
'io-reference/overview/group-performance-curves/#',
|
|
104
|
+
'Curve:Bicubic\tCurve:Biquadratic\tCurve:ChillerPartLoadWithLift\tCurve:Cubic\tCurve:CubicLinear\tCurve:DoubleExponentialDecay\tCurve:Exponent\tCurve:ExponentialDecay\tCurve:ExponentialSkewNormal\tCurve:FanPressureRise\tCurve:Functional:PressureDrop\tCurve:Linear\tCurve:QuadLinear\tCurve:Quadratic\tCurve:QuadraticLinear\tCurve:Quartic\tCurve:QuintLinear\tCurve:RectangularHyperbola1\tCurve:RectangularHyperbola2\tCurve:Sigmoid\tCurve:Triquadratic',
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
'io-reference/overview/group-daylighting/#',
|
|
108
|
+
'Daylighting:DELight:ComplexFenestration\tDaylighting:ReferencePoint\tDaylightingDevice:LightWell\tDaylightingDevice:Shelf\tDaylightingDevice:Tubular\tOutput:IlluminanceMap\tOutputControl:IlluminanceMap:Style',
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
'io-reference/overview/group-humidifiers-and-dehumidifiers/#',
|
|
112
|
+
'Dehumidifier:Desiccant:NoFans\tDehumidifier:Desiccant:System\tHumidifier:Steam:Electric\tHumidifier:Steam:Gas',
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
'io-reference/overview/group-demand-limiting-controls/#',
|
|
116
|
+
'DemandManager:ElectricEquipment\tDemandManager:ExteriorLights\tDemandManager:Lights\tDemandManager:Thermostats\tDemandManager:Ventilation\tDemandManagerAssignmentList',
|
|
117
|
+
],
|
|
118
|
+
[
|
|
119
|
+
'io-reference/overview/group-design-objects/#',
|
|
120
|
+
'DesignSpecification:AirTerminal:Sizing\tDesignSpecification:OutdoorAir\tDesignSpecification:OutdoorAir:SpaceList\tDesignSpecification:ZoneAirDistribution\tDesignSpecification:ZoneHVAC:Sizing\tOutputControl:Sizing:Style\tSizing:Parameters\tSizing:Plant\tSizing:System\tSizing:Zone',
|
|
121
|
+
],
|
|
122
|
+
[
|
|
123
|
+
'io-reference/overview/group-electric-load-center-generator/#',
|
|
124
|
+
'ElectricLoadCenter:Distribution\tElectricLoadCenter:Generators\tElectricLoadCenter:Inverter:FunctionOfPower\tElectricLoadCenter:Inverter:LookUpTable\tElectricLoadCenter:Inverter:PVWatts\tElectricLoadCenter:Inverter:Simple\tElectricLoadCenter:Storage:Battery\tElectricLoadCenter:Storage:Converter\tElectricLoadCenter:Storage:LiIonNMCBattery\tElectricLoadCenter:Storage:Simple\tElectricLoadCenter:Transformer\tGenerator:CombustionTurbine\tGenerator:FuelCell\tGenerator:FuelCell:AirSupply\tGenerator:FuelCell:AuxiliaryHeater\tGenerator:FuelCell:ElectricalStorage\tGenerator:FuelCell:ExhaustGasToWaterHeatExchanger\tGenerator:FuelCell:Inverter\tGenerator:FuelCell:PowerModule\tGenerator:FuelCell:StackCooler\tGenerator:FuelCell:WaterSupply\tGenerator:FuelSupply\tGenerator:InternalCombustionEngine\tGenerator:MicroCHP\tGenerator:MicroCHP:NonNormalizedParameters\tGenerator:MicroTurbine\tGenerator:PVWatts\tGenerator:WindTurbine\tPhotovoltaicPerformance:EquivalentOne-Diode\tPhotovoltaicPerformance:Sandia\tPhotovoltaicPerformance:Simple',
|
|
125
|
+
],
|
|
126
|
+
[
|
|
127
|
+
'io-reference/overview/group-energy-management-system-ems/#',
|
|
128
|
+
'EnergyManagementSystem:Actuator\tEnergyManagementSystem:ConstructionIndexVariable\tEnergyManagementSystem:CurveOrTableIndexVariable\tEnergyManagementSystem:GlobalVariable\tEnergyManagementSystem:InternalVariable\tEnergyManagementSystem:MeteredOutputVariable\tEnergyManagementSystem:OutputVariable\tEnergyManagementSystem:Program\tEnergyManagementSystem:ProgramCallingManager\tEnergyManagementSystem:Sensor\tEnergyManagementSystem:Subroutine\tEnergyManagementSystem:TrendVariable',
|
|
129
|
+
],
|
|
130
|
+
[
|
|
131
|
+
'io-reference/input-for-output/#',
|
|
132
|
+
'EnvironmentalImpactFactors\tFuelFactors\tOutput:Constructions\tOutput:DaylightFactors\tOutput:EnergyManagementSystem\tOutput:EnvironmentalImpactFactors\tOutput:JSON\tOutput:SQLite\tOutput:Schedules\tOutput:Surfaces:Drawing\tOutput:Surfaces:List\tOutput:Variable\tOutput:VariableDictionary\tOutputControl:Files\tOutputControl:ReportingTolerances\tOutputControl:ResilienceSummaries\tOutputControl:SurfaceColorScheme\tOutputControl:Timestamp',
|
|
133
|
+
],
|
|
134
|
+
[
|
|
135
|
+
'io-reference/overview/group-evaporative-coolers/#',
|
|
136
|
+
'EvaporativeCooler:Direct:CelDekPad\tEvaporativeCooler:Direct:ResearchSpecial\tEvaporativeCooler:Indirect:CelDekPad\tEvaporativeCooler:Indirect:ResearchSpecial\tEvaporativeCooler:Indirect:WetCoil',
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
'io-reference/overview/group-exterior-energy-use-equipment/#',
|
|
140
|
+
'Exterior:FuelEquipment\tExterior:Lights\tExterior:WaterEquipment',
|
|
141
|
+
],
|
|
142
|
+
[
|
|
143
|
+
'io-reference/overview/group-externalinterface/#',
|
|
144
|
+
'ExternalInterface\tExternalInterface:Actuator\tExternalInterface:FunctionalMockupUnitExport:From:Variable\tExternalInterface:FunctionalMockupUnitExport:To:Actuator\tExternalInterface:FunctionalMockupUnitExport:To:Schedule\tExternalInterface:FunctionalMockupUnitExport:To:Variable\tExternalInterface:FunctionalMockupUnitImport\tExternalInterface:FunctionalMockupUnitImport:From:Variable\tExternalInterface:FunctionalMockupUnitImport:To:Actuator\tExternalInterface:FunctionalMockupUnitImport:To:Schedule\tExternalInterface:FunctionalMockupUnitImport:To:Variable\tExternalInterface:Schedule\tExternalInterface:Variable',
|
|
145
|
+
],
|
|
146
|
+
[
|
|
147
|
+
'io-reference/overview/group-fans/#',
|
|
148
|
+
'Fan:ComponentModel\tFan:ConstantVolume\tFan:OnOff\tFan:SystemModel\tFan:VariableVolume\tFan:ZoneExhaust\tFanPerformance:NightVentilation',
|
|
149
|
+
],
|
|
150
|
+
[
|
|
151
|
+
'io-reference/overview/group-operational-faults/#',
|
|
152
|
+
'FaultModel:EnthalpySensorOffset:OutdoorAir\tFaultModel:EnthalpySensorOffset:ReturnAir\tFaultModel:Fouling:AirFilter\tFaultModel:Fouling:Boiler\tFaultModel:Fouling:Chiller\tFaultModel:Fouling:Coil\tFaultModel:Fouling:CoolingTower\tFaultModel:Fouling:EvaporativeCooler\tFaultModel:HumidistatOffset\tFaultModel:HumiditySensorOffset:OutdoorAir\tFaultModel:TemperatureSensorOffset:ChillerSupplyWater\tFaultModel:TemperatureSensorOffset:CoilSupplyAir\tFaultModel:TemperatureSensorOffset:CondenserSupplyWater\tFaultModel:TemperatureSensorOffset:OutdoorAir\tFaultModel:TemperatureSensorOffset:ReturnAir\tFaultModel:ThermostatOffset',
|
|
153
|
+
],
|
|
154
|
+
[
|
|
155
|
+
'io-reference/overview/group-fluid-properties/#',
|
|
156
|
+
'FluidProperties:Concentration\tFluidProperties:GlycolConcentration\tFluidProperties:Name\tFluidProperties:Saturated\tFluidProperties:Superheated\tFluidProperties:Temperatures',
|
|
157
|
+
],
|
|
158
|
+
['io-reference/overview/group-detailed-ground-heat-transfer/#', 'GroundHeatTransfer:Control'],
|
|
159
|
+
[
|
|
160
|
+
'io-reference/hvac-template-objects/group-hvac-templates/#',
|
|
161
|
+
'HVACTemplate:Plant:Boiler\tHVACTemplate:Plant:Boiler:ObjectReference\tHVACTemplate:Plant:ChilledWaterLoop\tHVACTemplate:Plant:Chiller\tHVACTemplate:Plant:Chiller:ObjectReference\tHVACTemplate:Plant:HotWaterLoop\tHVACTemplate:Plant:MixedWaterLoop\tHVACTemplate:Plant:Tower\tHVACTemplate:Plant:Tower:ObjectReference\tHVACTemplate:System:ConstantVolume\tHVACTemplate:System:DedicatedOutdoorAir\tHVACTemplate:System:DualDuct\tHVACTemplate:System:PackagedVAV\tHVACTemplate:System:Unitary\tHVACTemplate:System:UnitaryHeatPump:AirToAir\tHVACTemplate:System:UnitarySystem\tHVACTemplate:System:VAV\tHVACTemplate:System:VRF\tHVACTemplate:Thermostat\tHVACTemplate:Zone:BaseboardHeat\tHVACTemplate:Zone:ConstantVolume\tHVACTemplate:Zone:DualDuct\tHVACTemplate:Zone:FanCoil\tHVACTemplate:Zone:IdealLoadsAirSystem\tHVACTemplate:Zone:PTAC\tHVACTemplate:Zone:PTHP\tHVACTemplate:Zone:Unitary\tHVACTemplate:Zone:VAV\tHVACTemplate:Zone:VAV:FanPowered\tHVACTemplate:Zone:VAV:HeatAndCool\tHVACTemplate:Zone:VRF\tHVACTemplate:Zone:WaterToAirHeatPump',
|
|
162
|
+
],
|
|
163
|
+
[
|
|
164
|
+
'io-reference/overview/group-pumps/#',
|
|
165
|
+
'HeaderedPumps:ConstantSpeed\tHeaderedPumps:VariableSpeed\tPump:ConstantSpeed\tPump:VariableSpeed\tPump:VariableSpeed:Condensate',
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
'io-reference/overview/group-heat-recovery/#',
|
|
169
|
+
'HeatExchanger:AirToAir:FlatPlate\tHeatExchanger:AirToAir:SensibleAndLatent\tHeatExchanger:Desiccant:BalancedFlow\tHeatExchanger:Desiccant:BalancedFlow:PerformanceDataType1',
|
|
170
|
+
],
|
|
171
|
+
['io-reference/overview/group-hybrid-model/#', 'HybridModel:Zone'],
|
|
172
|
+
[
|
|
173
|
+
'io-reference/energyplus-economics/lifecyclecost-nonrecurringcost/#',
|
|
174
|
+
'LifeCycleCost:NonrecurringCost',
|
|
175
|
+
],
|
|
176
|
+
['io-reference/energyplus-economics/lifecyclecost-parameters/#', 'LifeCycleCost:Parameters'],
|
|
177
|
+
[
|
|
178
|
+
'io-reference/energyplus-economics/lifecyclecost-recurringcosts/#',
|
|
179
|
+
'LifeCycleCost:RecurringCosts',
|
|
180
|
+
],
|
|
181
|
+
[
|
|
182
|
+
'io-reference/energyplus-economics/lifecyclecost-useadjustment/#',
|
|
183
|
+
'LifeCycleCost:UseAdjustment',
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
'io-reference/energyplus-economics/lifecyclecost-usepriceescalation/#',
|
|
187
|
+
'LifeCycleCost:UsePriceEscalation',
|
|
188
|
+
],
|
|
189
|
+
['io-reference/overview/group-non-zone-equipment/#', 'LoadProfile:Plant'],
|
|
190
|
+
['io-reference/standard-output-reports/output-table-annual/#', 'Output:Table:Annual'],
|
|
191
|
+
['io-reference/standard-output-reports/output-table-monthly/#', 'Output:Table:Monthly'],
|
|
192
|
+
['io-reference/standard-output-reports/output-table-reportperiod/#', 'Output:Table:ReportPeriod'],
|
|
193
|
+
[
|
|
194
|
+
'io-reference/standard-output-reports/output-table-summaryreports/#',
|
|
195
|
+
'Output:Table:SummaryReports',
|
|
196
|
+
],
|
|
197
|
+
['io-reference/standard-output-reports/output-table-timebins/#', 'Output:Table:TimeBins'],
|
|
198
|
+
['io-reference/standard-output-reports/outputcontrol-table-style/#', 'OutputControl:Table:Style'],
|
|
199
|
+
[
|
|
200
|
+
'io-reference/parametric-objects/#',
|
|
201
|
+
'Parametric:FileNameSuffix\tParametric:Logic\tParametric:RunControl\tParametric:SetValueForRun',
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
'io-reference/overview/group-python-plugins/#',
|
|
205
|
+
'PythonPlugin:Instance\tPythonPlugin:SearchPaths\tPythonPlugin:TrendVariable\tPythonPlugin:Variables',
|
|
206
|
+
],
|
|
207
|
+
[
|
|
208
|
+
'io-reference/overview/group-refrigeration/#',
|
|
209
|
+
'Refrigeration:AirChiller\tRefrigeration:Case\tRefrigeration:CaseAndWalkInList\tRefrigeration:Compressor\tRefrigeration:CompressorList\tRefrigeration:CompressorRack\tRefrigeration:Condenser:AirCooled\tRefrigeration:Condenser:Cascade\tRefrigeration:Condenser:EvaporativeCooled\tRefrigeration:Condenser:WaterCooled\tRefrigeration:GasCooler:AirCooled\tRefrigeration:SecondarySystem\tRefrigeration:Subcooler\tRefrigeration:System\tRefrigeration:TranscriticalSystem\tRefrigeration:TransferLoadList\tRefrigeration:WalkIn',
|
|
210
|
+
],
|
|
211
|
+
[
|
|
212
|
+
'io-reference/overview/group-location-climate-weather-file-access/#',
|
|
213
|
+
'RoofIrrigation\tRunPeriod\tRunPeriodControl:DaylightSavingTime\tRunPeriodControl:SpecialDays\tSite:GroundDomain:Basement\tSite:GroundDomain:Slab\tSite:GroundReflectance\tSite:GroundReflectance:SnowModifier\tSite:GroundTemperature:BuildingSurface\tSite:GroundTemperature:Deep\tSite:GroundTemperature:FCfactorMethod\tSite:GroundTemperature:Shallow\tSite:GroundTemperature:Undisturbed:FiniteDifference\tSite:GroundTemperature:Undisturbed:KusudaAchenbach\tSite:GroundTemperature:Undisturbed:Xing\tSite:HeightVariation\tSite:Location\tSite:Precipitation\tSite:SolarAndVisibleSpectrum\tSite:SpectrumData\tSite:VariableLocation\tSite:WaterMainsTemperature\tSite:WeatherStation\tSizingPeriod:DesignDay\tSizingPeriod:WeatherFileConditionType\tSizingPeriod:WeatherFileDays\tWeatherProperty:SkyTemperature',
|
|
214
|
+
],
|
|
215
|
+
[
|
|
216
|
+
'io-reference/overview/group-room-air-models/#',
|
|
217
|
+
'RoomAir:Node\tRoomAir:Node:AirflowNetwork\tRoomAir:Node:AirflowNetwork:AdjacentSurfaceList\tRoomAir:Node:AirflowNetwork:HVACEquipment\tRoomAir:Node:AirflowNetwork:InternalGains\tRoomAir:TemperaturePattern:ConstantGradient\tRoomAir:TemperaturePattern:NondimensionalHeight\tRoomAir:TemperaturePattern:SurfaceMapping\tRoomAir:TemperaturePattern:TwoGradient\tRoomAir:TemperaturePattern:UserDefined\tRoomAirModelType\tRoomAirSettings:AirflowNetwork\tRoomAirSettings:CrossVentilation\tRoomAirSettings:OneNodeDisplacementVentilation\tRoomAirSettings:ThreeNodeDisplacementVentilation\tRoomAirSettings:UnderFloorAirDistributionExterior\tRoomAirSettings:UnderFloorAirDistributionInterior',
|
|
218
|
+
],
|
|
219
|
+
[
|
|
220
|
+
'io-reference/overview/group-schedules/#',
|
|
221
|
+
'Schedule:Compact\tSchedule:Constant\tSchedule:Day:Hourly\tSchedule:Day:Interval\tSchedule:Day:List\tSchedule:File\tSchedule:File:Shading\tSchedule:Week:Compact\tSchedule:Week:Daily\tSchedule:Year\tScheduleTypeLimits',
|
|
222
|
+
],
|
|
223
|
+
[
|
|
224
|
+
'io-reference/overview/group-setpoint-managers/#',
|
|
225
|
+
'SetpointManager:Coldest\tSetpointManager:CondenserEnteringReset\tSetpointManager:CondenserEnteringReset:Ideal\tSetpointManager:FollowGroundTemperature\tSetpointManager:FollowOutdoorAirTemperature\tSetpointManager:FollowSystemNodeTemperature\tSetpointManager:MixedAir\tSetpointManager:MultiZone:Cooling:Average\tSetpointManager:MultiZone:Heating:Average\tSetpointManager:MultiZone:Humidity:Maximum\tSetpointManager:MultiZone:Humidity:Minimum\tSetpointManager:MultiZone:MaximumHumidity:Average\tSetpointManager:MultiZone:MinimumHumidity:Average\tSetpointManager:OutdoorAirPretreat\tSetpointManager:OutdoorAirReset\tSetpointManager:ReturnAirBypassFlow\tSetpointManager:ReturnTemperature:ChilledWater\tSetpointManager:ReturnTemperature:HotWater\tSetpointManager:Scheduled\tSetpointManager:Scheduled:DualSetpoint\tSetpointManager:SingleZone:Cooling\tSetpointManager:SingleZone:Heating\tSetpointManager:SingleZone:Humidity:Maximum\tSetpointManager:SingleZone:Humidity:Minimum\tSetpointManager:SingleZone:OneStageCooling\tSetpointManager:SingleZone:OneStageHeating\tSetpointManager:SingleZone:Reheat\tSetpointManager:SystemNodeReset:Humidity\tSetpointManager:SystemNodeReset:Temperature\tSetpointManager:Warmest\tSetpointManager:WarmestTemperatureFlow',
|
|
226
|
+
],
|
|
227
|
+
[
|
|
228
|
+
'io-reference/overview/group-solar-collectors/#',
|
|
229
|
+
'SolarCollector:FlatPlate:PhotovoltaicThermal\tSolarCollector:FlatPlate:Water\tSolarCollector:IntegralCollectorStorage\tSolarCollector:UnglazedTranspired\tSolarCollector:UnglazedTranspired:Multisystem\tSolarCollectorPerformance:FlatPlate\tSolarCollectorPerformance:IntegralCollectorStorage\tSolarCollectorPerformance:PhotovoltaicThermal:BIPVT\tSolarCollectorPerformance:PhotovoltaicThermal:Simple',
|
|
230
|
+
],
|
|
231
|
+
[
|
|
232
|
+
'io-reference/overview/group-zone-equipment/#',
|
|
233
|
+
'SpaceHVAC:EquipmentConnections\tSpaceHVAC:ZoneEquipmentMixer\tSpaceHVAC:ZoneEquipmentSplitter\tSpaceHVAC:ZoneReturnMixer\tZoneHVAC:AirDistributionUnit\tZoneHVAC:EquipmentConnections\tZoneHVAC:EquipmentList',
|
|
234
|
+
],
|
|
235
|
+
[
|
|
236
|
+
'io-reference/overview/group-performance-tables/#',
|
|
237
|
+
'Table:IndependentVariable\tTable:IndependentVariableList\tTable:Lookup',
|
|
238
|
+
],
|
|
239
|
+
['io-reference/overview/group-plant-condenser-flow-control/#', 'TemperingValve'],
|
|
240
|
+
[
|
|
241
|
+
'io-reference/overview/group-water-heaters/#',
|
|
242
|
+
'ThermalStorage:ChilledWater:Mixed\tThermalStorage:ChilledWater:Stratified\tThermalStorage:HotWater:Stratified\tThermalStorage:Ice:Detailed\tThermalStorage:Ice:Simple\tThermalStorage:PCM\tThermalStorage:Sizing\tWaterHeater:HeatPump:PumpedCondenser\tWaterHeater:HeatPump:WrappedCondenser\tWaterHeater:Mixed\tWaterHeater:Sizing\tWaterHeater:Stratified',
|
|
243
|
+
],
|
|
244
|
+
[
|
|
245
|
+
'io-reference/overview/group-zone-controls-thermostats/#',
|
|
246
|
+
'ThermostatSetpoint:DualSetpoint\tThermostatSetpoint:SingleCooling\tThermostatSetpoint:SingleHeating\tThermostatSetpoint:SingleHeatingOrCooling\tThermostatSetpoint:ThermalComfort:Fanger:DualSetpoint\tThermostatSetpoint:ThermalComfort:Fanger:SingleCooling\tThermostatSetpoint:ThermalComfort:Fanger:SingleHeating\tThermostatSetpoint:ThermalComfort:Fanger:SingleHeatingOrCooling\tZoneControl:ContaminantController\tZoneControl:Humidistat\tZoneControl:Thermostat\tZoneControl:Thermostat:OperativeTemperature\tZoneControl:Thermostat:StagedDualSetpoint\tZoneControl:Thermostat:TemperatureAndHumidity\tZoneControl:Thermostat:ThermalComfort',
|
|
247
|
+
],
|
|
248
|
+
['io-reference/energyplus-economics/utilitycost-charge-block/#', 'UtilityCost:Charge:Block'],
|
|
249
|
+
['io-reference/energyplus-economics/utilitycost-charge-simple/#', 'UtilityCost:Charge:Simple'],
|
|
250
|
+
['io-reference/energyplus-economics/utilitycost-computation/#', 'UtilityCost:Computation'],
|
|
251
|
+
['io-reference/energyplus-economics/utilitycost-qualify/#', 'UtilityCost:Qualify'],
|
|
252
|
+
['io-reference/energyplus-economics/utilitycost-ratchet/#', 'UtilityCost:Ratchet'],
|
|
253
|
+
['io-reference/energyplus-economics/utilitycost-tariff/#', 'UtilityCost:Tariff'],
|
|
254
|
+
['io-reference/energyplus-economics/utilitycost-variable/#', 'UtilityCost:Variable'],
|
|
255
|
+
[
|
|
256
|
+
'io-reference/overview/group-water-systems/#',
|
|
257
|
+
'WaterUse:Connections\tWaterUse:Equipment\tWaterUse:RainCollector\tWaterUse:Storage\tWaterUse:Well',
|
|
258
|
+
],
|
|
259
|
+
[
|
|
260
|
+
'io-reference/overview/group-airflow/#',
|
|
261
|
+
'ZoneAirBalance:OutdoorAir\tZoneAirMassFlowConservation\tZoneCoolTower:Shower\tZoneCrossMixing\tZoneEarthtube\tZoneEarthtube:Parameters\tZoneInfiltration:DesignFlowRate\tZoneInfiltration:EffectiveLeakageArea\tZoneInfiltration:FlowCoefficient\tZoneMixing\tZoneRefrigerationDoorMixing\tZoneThermalChimney\tZoneVentilation:DesignFlowRate\tZoneVentilation:WindandStackOpenArea',
|
|
262
|
+
],
|
|
263
|
+
[
|
|
264
|
+
'io-reference/overview/group-radiative-convective-units/#',
|
|
265
|
+
'ZoneHVAC:Baseboard:Convective:Electric\tZoneHVAC:Baseboard:Convective:Water\tZoneHVAC:Baseboard:RadiantConvective:Electric\tZoneHVAC:Baseboard:RadiantConvective:Steam\tZoneHVAC:Baseboard:RadiantConvective:Steam:Design\tZoneHVAC:Baseboard:RadiantConvective:Water\tZoneHVAC:Baseboard:RadiantConvective:Water:Design\tZoneHVAC:CoolingPanel:RadiantConvective:Water\tZoneHVAC:HighTemperatureRadiant\tZoneHVAC:LowTemperatureRadiant:ConstantFlow\tZoneHVAC:LowTemperatureRadiant:ConstantFlow:Design\tZoneHVAC:LowTemperatureRadiant:Electric\tZoneHVAC:LowTemperatureRadiant:SurfaceGroup\tZoneHVAC:LowTemperatureRadiant:VariableFlow\tZoneHVAC:LowTemperatureRadiant:VariableFlow:Design\tZoneHVAC:VentilatedSlab\tZoneHVAC:VentilatedSlab:SlabGroup',
|
|
266
|
+
],
|
|
267
|
+
[
|
|
268
|
+
'io-reference/overview/group-zone-forced-air-units/#',
|
|
269
|
+
'ZoneHVAC:Dehumidifier:DX\tZoneHVAC:EnergyRecoveryVentilator\tZoneHVAC:EvaporativeCoolerUnit\tZoneHVAC:FourPipeFanCoil\tZoneHVAC:HybridUnitaryHVAC\tZoneHVAC:IdealLoadsAirSystem\tZoneHVAC:OutdoorAirUnit\tZoneHVAC:OutdoorAirUnit:EquipmentList\tZoneHVAC:PackagedTerminalAirConditioner\tZoneHVAC:PackagedTerminalHeatPump\tZoneHVAC:RefrigerationChillerSet\tZoneHVAC:TerminalUnit:VariableRefrigerantFlow\tZoneHVAC:UnitHeater\tZoneHVAC:UnitVentilator\tZoneHVAC:WaterToAirHeatPump\tZoneHVAC:WindowAirConditioner',
|
|
270
|
+
],
|
|
271
|
+
];
|
|
272
|
+
//# sourceMappingURL=locations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locations.js","sourceRoot":"","sources":["../../src/docs-url/locations.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,4CAA4C;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwD;IAChF;QACE,mEAAmE;QACnE,iMAAiM;KAClM;IACD;QACE,gDAAgD;QAChD,8MAA8M;KAC/M;IACD;QACE,wCAAwC;QACxC,yRAAyR;KAC1R;IACD;QACE,iDAAiD;QACjD,sXAAsX;KACvX;IACD;QACE,0DAA0D;QAC1D,igBAAigB;KAClgB;IACD;QACE,qEAAqE;QACrE,uJAAuJ;KACxJ;IACD;QACE,+CAA+C;QAC/C,8+CAA8+C;KAC/+C;IACD;QACE,4DAA4D;QAC5D,ycAAyc;KAC1c;IACD;QACE,+CAA+C;QAC/C,uuBAAuuB;KACxuB;IACD;QACE,sDAAsD;QACtD,wRAAwR;KACzR;IACD;QACE,qDAAqD;QACrD,gfAAgf;KACjf;IACD;QACE,iEAAiE;QACjE,qpBAAqpB;KACtpB;IACD;QACE,qDAAqD;QACrD,4MAA4M;KAC7M;IACD;QACE,+CAA+C;QAC/C,+HAA+H;KAChI;IACD;QACE,yDAAyD;QACzD,g6CAAg6C;KACj6C;IACD;QACE,kEAAkE;Q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;IACD;QACE,uCAAuC;QACvC,qXAAqX;KACtX;IACD;QACE,0DAA0D;QAC1D,8tBAA8tB;KAC/tB;IACD;QACE,qDAAqD;QACrD,wfAAwf;KACzf;CACF,CAAC"}
|
package/dist/document.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type { AnyTypeMap, ObjectOf, TypeNameOf, UntypedMap, ValuesOf } from './t
|
|
|
15
15
|
* access statically checked without changing anything at runtime. See
|
|
16
16
|
* `typemap.ts`.
|
|
17
17
|
*/
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class IdfDocument<M extends AnyTypeMap = UntypedMap> implements ObjectOwner {
|
|
19
19
|
#private;
|
|
20
20
|
readonly schema: Schema;
|
|
21
21
|
constructor(schema: Schema);
|
|
@@ -29,21 +29,45 @@ export declare class IDFDocument<M extends AnyTypeMap = UntypedMap> implements O
|
|
|
29
29
|
/**
|
|
30
30
|
* Every object of one type.
|
|
31
31
|
*
|
|
32
|
+
* The type name is matched case-insensitively, because EnergyPlus matches it
|
|
33
|
+
* that way: `all('zone')`, `all('ZONE')` and `all('Zone')` are one
|
|
34
|
+
* collection, whatever casing the source file used. Every type-name-keyed
|
|
35
|
+
* entry point resolves identically, so `get`, `require`, `has` and `remove`
|
|
36
|
+
* cannot disagree with this one.
|
|
37
|
+
*
|
|
32
38
|
* When the document carries a generated type map, the argument completes
|
|
33
39
|
* among that version's type names and the result is narrowed to the matching
|
|
34
40
|
* field interface. Unknown names still work and simply stay untyped, which is
|
|
35
41
|
* what version-generic code needs.
|
|
36
|
-
*/
|
|
37
|
-
all<K extends TypeNameOf<M>>(type: K): IdfCollection<IdfObject & ObjectOf<M, K>>;
|
|
38
|
-
/**
|
|
39
|
-
* Untyped collection access.
|
|
40
42
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
43
|
+
* ## Why an unknown type name returns empty rather than throwing
|
|
44
|
+
*
|
|
45
|
+
* `all('Zoen')` returns an empty collection. Throwing would catch the typo,
|
|
46
|
+
* and it was weighed and rejected. `has()` must answer `false` rather than
|
|
47
|
+
* throw, and an `all()` that throws where `has()` does not is two rules for
|
|
48
|
+
* one question. The version-generic contract above depends on an unknown name
|
|
49
|
+
* being answerable: code written against no particular release asks for types
|
|
50
|
+
* that exist in some versions and not others, and that is not an error. And
|
|
51
|
+
* `idfkit`, the Python library this API is unified with, cannot throw here at
|
|
52
|
+
* all, because a document may carry no schema and then nothing distinguishes
|
|
53
|
+
* a typo from a valid type; a rule that holds only when a schema happens to
|
|
54
|
+
* be loaded is not one rule.
|
|
55
|
+
*
|
|
56
|
+
* The typo is caught on the paths that write, which can afford to be strict:
|
|
57
|
+
* `add()` throws for a type in no schema, so does `attach()`, and the IDF and
|
|
58
|
+
* epJSON parsers reject one. To ask the question directly, call
|
|
59
|
+
* `document.schema.has(name)`.
|
|
60
|
+
*
|
|
61
|
+
* What this must never do, and no longer does, is *store* the empty
|
|
62
|
+
* collection it hands back. A read that mutates the document is wrong on its
|
|
63
|
+
* own terms: probing five misspelled names used to leave five junk keys in
|
|
64
|
+
* `types()`, visible to every later iteration and to `toJSON`. The collection
|
|
65
|
+
* returned for an absent type is detached from the document.
|
|
66
|
+
*
|
|
67
|
+
* `idfkit` resolves and declines to store on exactly the same terms, in
|
|
68
|
+
* `IDFDocument.__getitem__`.
|
|
45
69
|
*/
|
|
46
|
-
|
|
70
|
+
all<K extends TypeNameOf<M>>(type: K): IdfCollection<IdfObject & ObjectOf<M, K>>;
|
|
47
71
|
/** One object by type and name. */
|
|
48
72
|
get<K extends TypeNameOf<M>>(type: K, name: string): (IdfObject & ObjectOf<M, K>) | undefined;
|
|
49
73
|
/** One object by type and name, throwing if absent. */
|
|
@@ -61,8 +85,8 @@ export declare class IDFDocument<M extends AnyTypeMap = UntypedMap> implements O
|
|
|
61
85
|
* Untyped object creation, for the parsers.
|
|
62
86
|
*
|
|
63
87
|
* They work from runtime strings, so the compiler cannot check them against
|
|
64
|
-
* the type map. Same reasoning as
|
|
65
|
-
* than casts scattered through the parse loop.
|
|
88
|
+
* the type map. Same reasoning as the in-package collection accessor: one
|
|
89
|
+
* deliberate seam rather than casts scattered through the parse loop.
|
|
66
90
|
*/
|
|
67
91
|
addRaw(type: string, name: string | null, values?: FieldValues): IdfObject;
|
|
68
92
|
/**
|
|
@@ -90,8 +114,10 @@ export declare class IDFDocument<M extends AnyTypeMap = UntypedMap> implements O
|
|
|
90
114
|
/**
|
|
91
115
|
* epJSON representation.
|
|
92
116
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
117
|
+
* A type that declares no name field at all, `Version` or
|
|
118
|
+
* `GlobalGeometryRules`, gets the `"<Type> N"` key EnergyPlus itself emits,
|
|
119
|
+
* numbered from 1 in document order, which is what makes the output loadable
|
|
120
|
+
* by the real engine.
|
|
95
121
|
*/
|
|
96
122
|
toJSON(): Record<string, Record<string, Record<string, StoredValue>>>;
|
|
97
123
|
onFieldChanged(obj: IdfObject, field: string, previous: unknown, next: unknown): void;
|
package/dist/document.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../src/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAY,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE3F;;;;;;;;;;;GAWG;AACH,qBAAa,WAAW,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,CAAE,YAAW,WAAW;;IAChF,QAAQ,CAAC,MAAM,EAAE,M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,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;IA2BrE,cAAc,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI;IAarF,aAAa,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;CAyCpE"}
|
package/dist/document.js
CHANGED
|
Binary file
|
package/dist/document.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.js","sourceRoot":"","sources":["../src/document.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAwD,MAAM,aAAa,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGjD;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,WAAW;IACb,MAAM,CAAS;IAExB,YAAY,GAAG,IAAI,GAAG,EAAyB,CAAC;IAChD,WAAW,GAAG,IAAI,cAAc,EAAE,CAAC;IACnC,2EAA2E;IAC3E,YAAY,GAAG,CAAC,CAAC;IAEjB,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,8DAA8D;IAC9D,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;IAC7B,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,sEAAsE;IACtE,KAAK;QACH,OAAO,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC;IACvC,CAAC;IAED,2C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C,GAAG,IAAI,CAAC;QACpD,CAAC;IACH,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,SAAS,UAAU,CAAC,CAAW,EAAE,CAAW;IAC1C,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAC5C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAAE,OAAO,KAAK,CAAC;IACtC,CAAC;IACD,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG;QAAE,OAAO,KAAK,CAAC;IACxC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,EAAE,CAAC;IAC7B,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,EAAE,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,KAAK,EAAE,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAC1C,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,18 @@
|
|
|
5
5
|
* unchanged in Node, a browser, a worker, or an edge runtime. Reading files and
|
|
6
6
|
* loading schema bundles lives in `@idfkit/core/node`, or is done by the caller
|
|
7
7
|
* via `@idfkit/schemas`.
|
|
8
|
+
*
|
|
9
|
+
* This package carries no generated per-version types and does not need to. A
|
|
10
|
+
* document with no type map is typed through `UntypedMap`, so everything below
|
|
11
|
+
* works and field names are accepted as strings. Static field checking is
|
|
12
|
+
* opt-in and installed by its own name, `@idfkit/types-v26-1` or
|
|
13
|
+
* `@idfkit/types-v9-4`, because the two maps together are 5.3 MB against
|
|
14
|
+
* roughly 170 KB of everything else and a reader who never parameterises a
|
|
15
|
+
* document should not pay for them (FR-039, FR-040, SC-014). `./typemap.ts`
|
|
16
|
+
* says how a map attaches.
|
|
8
17
|
*/
|
|
9
18
|
export { IdfCollection } from './collection.js';
|
|
10
|
-
export {
|
|
19
|
+
export { IdfDocument } from './document.js';
|
|
11
20
|
export { IdfObject } from './object.js';
|
|
12
21
|
export type { ExtensibleGroup, FieldValue, FieldValues, ObjectOwner, StoredValue, } from './object.js';
|
|
13
22
|
export { ReferenceGraph } from './references.js';
|
|
@@ -15,16 +24,23 @@ export type { ReferenceEdge } from './references.js';
|
|
|
15
24
|
export { ObjectShape, shapeFor, shapeOf } from './shape.js';
|
|
16
25
|
export type { AnyTypeMap, ObjectOf, TypeNameOf, UntypedMap, ValuesOf } from './typemap.js';
|
|
17
26
|
export { compareVersions, resolveVersion, versionKey } from './versions.js';
|
|
27
|
+
export { CONFORMANCE_LEVEL } from './conformance.js';
|
|
18
28
|
export { lex } from './parse/lexer.js';
|
|
19
29
|
export type { LexDiagnostic, LexOptions, RawObject } from './parse/lexer.js';
|
|
20
|
-
export {
|
|
30
|
+
export { getIdfVersion, IdfParseError, parseIdf } from './parse/idf.js';
|
|
21
31
|
export type { ParseDiagnostic, ParseOptions, ParseResult } from './parse/idf.js';
|
|
22
|
-
export {
|
|
32
|
+
export { getEpJsonVersion, parseEpJson } from './parse/epjson.js';
|
|
23
33
|
export type { EpJson } from './parse/epjson.js';
|
|
24
34
|
export { writeIdf, writeObject } from './write/idf.js';
|
|
25
35
|
export type { ObjectWriteOptions, WriteIdfOptions } from './write/idf.js';
|
|
26
36
|
export { toEpJson, writeEpJson } from './write/epjson.js';
|
|
27
37
|
export type { WriteEpJsonOptions } from './write/epjson.js';
|
|
38
|
+
export { Severity, validateDocument, validateObject } from './validate/index.js';
|
|
39
|
+
export type { ValidationError, ValidationResult } from './validate/index.js';
|
|
40
|
+
export { describeObjectType } from './introspect/describe.js';
|
|
41
|
+
export type { FieldDescription, ObjectDescription } from './introspect/describe.js';
|
|
42
|
+
export { docsUrlForObject, engineeringReferenceUrl, ioReferenceUrl, searchUrl, } from './docs-url/index.js';
|
|
43
|
+
export type { DocsUrl } from './docs-url/index.js';
|
|
28
44
|
export { Schema, SchemaBundle, httpSource } from '@idfkit/schemas';
|
|
29
45
|
export type { BundleSource, SchemaDelta, SlimField, SlimType } from '@idfkit/schemas';
|
|
30
46
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,eAAe,EACf,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5D,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI5E,OAAO,EAAE,iBAA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AiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,17 +5,32 @@
|
|
|
5
5
|
* unchanged in Node, a browser, a worker, or an edge runtime. Reading files and
|
|
6
6
|
* loading schema bundles lives in `@idfkit/core/node`, or is done by the caller
|
|
7
7
|
* via `@idfkit/schemas`.
|
|
8
|
+
*
|
|
9
|
+
* This package carries no generated per-version types and does not need to. A
|
|
10
|
+
* document with no type map is typed through `UntypedMap`, so everything below
|
|
11
|
+
* works and field names are accepted as strings. Static field checking is
|
|
12
|
+
* opt-in and installed by its own name, `@idfkit/types-v26-1` or
|
|
13
|
+
* `@idfkit/types-v9-4`, because the two maps together are 5.3 MB against
|
|
14
|
+
* roughly 170 KB of everything else and a reader who never parameterises a
|
|
15
|
+
* document should not pay for them (FR-039, FR-040, SC-014). `./typemap.ts`
|
|
16
|
+
* says how a map attaches.
|
|
8
17
|
*/
|
|
9
18
|
export { IdfCollection } from './collection.js';
|
|
10
|
-
export {
|
|
19
|
+
export { IdfDocument } from './document.js';
|
|
11
20
|
export { IdfObject } from './object.js';
|
|
12
21
|
export { ReferenceGraph } from './references.js';
|
|
13
22
|
export { ObjectShape, shapeFor, shapeOf } from './shape.js';
|
|
14
23
|
export { compareVersions, resolveVersion, versionKey } from './versions.js';
|
|
24
|
+
// The conformance corpus level this release declares (FR-024), generated from
|
|
25
|
+
// `idfkit.conformance` in package.json so the claim and the pin stay one fact.
|
|
26
|
+
export { CONFORMANCE_LEVEL } from './conformance.js';
|
|
15
27
|
export { lex } from './parse/lexer.js';
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
28
|
+
export { getIdfVersion, IdfParseError, parseIdf } from './parse/idf.js';
|
|
29
|
+
export { getEpJsonVersion, parseEpJson } from './parse/epjson.js';
|
|
18
30
|
export { writeIdf, writeObject } from './write/idf.js';
|
|
19
31
|
export { toEpJson, writeEpJson } from './write/epjson.js';
|
|
32
|
+
export { Severity, validateDocument, validateObject } from './validate/index.js';
|
|
33
|
+
export { describeObjectType } from './introspect/describe.js';
|
|
34
|
+
export { docsUrlForObject, engineeringReferenceUrl, ioReferenceUrl, searchUrl, } from './docs-url/index.js';
|
|
20
35
|
export { Schema, SchemaBundle, httpSource } from '@idfkit/schemas';
|
|
21
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE5E,8EAA8E;AAC9E,+EAA+E;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,SAAS,GACV,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|