Skip to content

Commit

Permalink
Regenerate types and baseline, see #216
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Feb 12, 2020
1 parent 9f63371 commit fec3b05
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5244,7 +5244,7 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioDocumentation": "",
"phetioDynamicElement": false,
"phetioEventType": "MODEL",
"phetioFeatured": false,
"phetioFeatured": true,
"phetioHighFrequency": false,
"phetioIsArchetype": false,
"phetioPlayback": false,
Expand Down Expand Up @@ -5849,7 +5849,7 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioReadOnly": false,
"phetioState": true,
"phetioStudioControl": true,
"phetioTypeName": "PropertyIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>"
"phetioTypeName": "PropertyIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>"
},
"energyFormsAndChanges.systemsScreen.model.energyUsers.beakerHeater.activeProperty": {
"phetioDocumentation": "whether the system element is active. system elements are active when visible on the screen",
Expand Down Expand Up @@ -9807,7 +9807,7 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioDocumentation": "",
"phetioDynamicElement": false,
"phetioEventType": "MODEL",
"phetioFeatured": false,
"phetioFeatured": true,
"phetioHighFrequency": false,
"phetioIsArchetype": false,
"phetioPlayback": false,
Expand Down
36 changes: 18 additions & 18 deletions js/phet-io/energy-forms-and-changes-phet-io-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ window.phet.phetio.phetioTypes = assert &&
"supertype": "ObjectIO",
"typeName": "EnumerationIO(BEAKER_HEATER|INCANDESCENT_BULB|FLUORESCENT_BULB|FAN)"
},
"EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)": {
"documentation": "Possible values: FAUCET,SUN,TEA_KETTLE,BIKER.",
"EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)": {
"documentation": "Possible values: BIKER,FAUCET,SUN,TEA_KETTLE.",
"events": [],
"methodOrder": [],
"methods": {},
"supertype": "ObjectIO",
"typeName": "EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)"
"typeName": "EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)"
},
"EnumerationIO(GENERATOR|SOLAR_PANEL)": {
"documentation": "Possible values: GENERATOR,SOLAR_PANEL.",
Expand Down Expand Up @@ -458,18 +458,18 @@ window.phet.phetio.phetioTypes = assert &&
"supertype": "ObjectIO",
"typeName": "FunctionIO(EnumerationIO(BEAKER_HEATER|INCANDESCENT_BULB|FLUORESCENT_BULB|FAN),NullableIO<EnumerationIO(BEAKER_HEATER|INCANDESCENT_BULB|FLUORESCENT_BULB|FAN)>)=>VoidIO"
},
"FunctionIO(EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER),NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>)=>VoidIO": {
"documentation": "Wrapper for the built-in JS function type.<br><strong>Arguments:</strong> EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER), NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)><br><strong>Return Type:</strong> VoidIO",
"FunctionIO(EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE),NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>)=>VoidIO": {
"documentation": "Wrapper for the built-in JS function type.<br><strong>Arguments:</strong> EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE), NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)><br><strong>Return Type:</strong> VoidIO",
"events": [],
"methodOrder": [],
"methods": {},
"parameterTypes": [
"EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)",
"NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>",
"EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)",
"NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>",
"VoidIO"
],
"supertype": "ObjectIO",
"typeName": "FunctionIO(EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER),NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>)=>VoidIO"
"typeName": "FunctionIO(EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE),NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>)=>VoidIO"
},
"FunctionIO(EnumerationIO(GENERATOR|SOLAR_PANEL),NullableIO<EnumerationIO(GENERATOR|SOLAR_PANEL)>)=>VoidIO": {
"documentation": "Wrapper for the built-in JS function type.<br><strong>Arguments:</strong> EnumerationIO(GENERATOR|SOLAR_PANEL), NullableIO<EnumerationIO(GENERATOR|SOLAR_PANEL)><br><strong>Return Type:</strong> VoidIO",
Expand Down Expand Up @@ -662,16 +662,16 @@ window.phet.phetio.phetioTypes = assert &&
"supertype": "ObjectIO",
"typeName": "NullableIO<EnumerationIO(BEAKER_HEATER|INCANDESCENT_BULB|FLUORESCENT_BULB|FAN)>"
},
"NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>": {
"NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>": {
"documentation": "A wrapper to wrap another IOType, adding support for null.",
"events": [],
"methodOrder": [],
"methods": {},
"parameterTypes": [
"EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)"
"EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)"
],
"supertype": "ObjectIO",
"typeName": "NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>"
"typeName": "NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>"
},
"NullableIO<EnumerationIO(GENERATOR|SOLAR_PANEL)>": {
"documentation": "A wrapper to wrap another IOType, adding support for null.",
Expand Down Expand Up @@ -1255,7 +1255,7 @@ window.phet.phetio.phetioTypes = assert &&
"supertype": "ObjectIO",
"typeName": "PropertyIO<EnumerationIO(BEAKER_HEATER|INCANDESCENT_BULB|FLUORESCENT_BULB|FAN)>"
},
"PropertyIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>": {
"PropertyIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>": {
"documentation": "Observable values that send out notifications when the value changes. This differs from the traditional listener pattern in that added listeners also receive a callback with the current value when the listeners are registered. This is a widely-used pattern in PhET-iO simulations.",
"events": [
"changed"
Expand All @@ -1268,36 +1268,36 @@ window.phet.phetio.phetioTypes = assert &&
"getValue": {
"documentation": "Gets the current value.",
"parameterTypes": [],
"returnType": "EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)"
"returnType": "EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)"
},
"lazyLink": {
"documentation": "Adds a listener which will be called when the value changes. This method is like \"link\", but without the current-value callback on registration. The listener takes two arguments, the new value and the previous value.",
"parameterTypes": [
"FunctionIO(EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER),NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>)=>VoidIO"
"FunctionIO(EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE),NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>)=>VoidIO"
],
"returnType": "VoidIO"
},
"link": {
"documentation": "Adds a listener which will be called when the value changes. On registration, the listener is also called with the current value. The listener takes two arguments, the new value and the previous value.",
"parameterTypes": [
"FunctionIO(EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER),NullableIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>)=>VoidIO"
"FunctionIO(EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE),NullableIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>)=>VoidIO"
],
"returnType": "VoidIO"
},
"setValue": {
"documentation": "Sets the value of the Property. If the value differs from the previous value, listeners are notified with the new value.",
"invocableForReadOnlyElements": false,
"parameterTypes": [
"EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)"
"EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)"
],
"returnType": "VoidIO"
}
},
"parameterTypes": [
"EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)"
"EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)"
],
"supertype": "ObjectIO",
"typeName": "PropertyIO<EnumerationIO(FAUCET|SUN|TEA_KETTLE|BIKER)>"
"typeName": "PropertyIO<EnumerationIO(BIKER|FAUCET|SUN|TEA_KETTLE)>"
},
"PropertyIO<EnumerationIO(GENERATOR|SOLAR_PANEL)>": {
"documentation": "Observable values that send out notifications when the value changes. This differs from the traditional listener pattern in that added listeners also receive a callback with the current value when the listeners are registered. This is a widely-used pattern in PhET-iO simulations.",
Expand Down

0 comments on commit fec3b05

Please sign in to comment.