Skip to content

Commit

Permalink
add documentation for IOTypes, #241
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed May 14, 2024
1 parent 043d7bd commit 364d8a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/diffusion/model/ParticleFlowRateModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export default class ParticleFlowRateModel extends PhetioObject {
private static readonly ParticleFlowRateModelIO = new IOType<ParticleFlowRateModel, ParticleFlowRateModelStateObject>( 'ParticleFlowRateModelIO', {
valueType: ParticleFlowRateModel,
stateSchema: STATE_SCHEMA,
documentation: 'PhET-iO Type that does sampling of the flow rate for one type of particle. ' +
'All fields in the State Schema are for internal use only.'
documentation: 'PhET-iO Type that supports sampling of the flow rate for one type of particle. ' +
'All fields in this type are for internal use only.'
// toStateObject: Use the default, which is derived from stateSchema.
// applyState: Use the default, which is derived from stateSchema.
} );
Expand Down
4 changes: 2 additions & 2 deletions js/energy/model/AverageSpeedModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ export default class AverageSpeedModel extends PhetioObject {
private static readonly AverageSpeedModelIO = new IOType<AverageSpeedModel, AverageSpeedModelStateObject>( 'AverageSpeedModelIO', {
valueType: AverageSpeedModel,
stateSchema: STATE_SCHEMA,
documentation: 'PhET-iO Type that does sampling of the Average Speed of the particle system. ' +
'All fields in the State Schema are for internal use only.'
documentation: 'PhET-iO Type that supports sampling of the Average Speed of the particle system. ' +
'All fields in this type are for internal use only.'
// toStateObject: Use the default, which is derived from stateSchema.
// applyState: Use the default, which is derived from stateSchema.
} );
Expand Down
4 changes: 2 additions & 2 deletions js/energy/model/HistogramsModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ export default class HistogramsModel extends PhetioObject {
private static readonly HistogramsModelIO = new IOType<HistogramsModel, HistogramsModelStateObject>( 'HistogramsModelIO', {
valueType: HistogramsModel,
stateSchema: STATE_SCHEMA,
documentation: 'PhET-iO Type that does sampling of the Speed and Kinetic Energy of the particle system. ' +
'All fields in the State Schema are for internal use only.'
documentation: 'PhET-iO Type that supports sampling of the Speed and Kinetic Energy of the particle system. ' +
'All fields this type are for internal use only.'
// toStateObject: Use the default, which is derived from stateSchema.
// applyState: Use the default, which is derived from stateSchema.
} );
Expand Down

0 comments on commit 364d8a8

Please sign in to comment.