Skip to content

Commit

Permalink
Export types & proper init of pump structure (#70)
Browse files Browse the repository at this point in the history
* export types

* updates to pump data structure init

* pass tests

* pass tests for real
  • Loading branch information
tagyoureit authored Mar 11, 2023
1 parent 2a7de36 commit 5e1499d
Show file tree
Hide file tree
Showing 7 changed files with 209 additions and 102 deletions.
12 changes: 12 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ import { SLScheduleData } from './messages/config/ScheduleMessage';
import { SLPumpStatusData } from './messages/state/PumpMessage';
import { Inbound, SLMessage, SLSimpleBoolData, SLSimpleNumberData } from './messages/SLMessage';
import { SLEquipmentStateData, SLSystemTimeData } from './messages/state/EquipmentState';
export * from './messages/config/ScheduleMessage';
export * from './messages/config/EquipmentConfig';
export * from './messages/config/CircuitMessage';
export * from './messages/config/HeaterMessage';
export * from './messages/state/ChemMessage';
export * from './messages/state/ChlorMessage';
export * from './messages/state/PumpMessage';
export * from './messages/state/EquipmentState';
export * from './messages/ConnectionMessage';
export * from './messages/OutgoingMessages';
export * from './messages/SLGatewayDataMessage';
export * from './messages/SLMessage';
export declare class FindUnits extends EventEmitter {
constructor();
private finder;
Expand Down
26 changes: 26 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

131 changes: 80 additions & 51 deletions dist/messages/config/EquipmentConfig.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/messages/config/EquipmentConfig.js.map

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ import { HeaterMessage } from './messages/config/HeaterMessage';
import { Inbound, SLMessage, SLSimpleBoolData, SLSimpleNumberData } from './messages/SLMessage';
import { EquipmentStateMessage, SLEquipmentStateData, SLSystemTimeData } from './messages/state/EquipmentState';
import { HLEncoder } from './utils/PasswordEncoder';

export * from './messages/config/ScheduleMessage';
export * from './messages/config/EquipmentConfig';
export * from './messages/config/CircuitMessage';
export * from './messages/config/HeaterMessage';
export * from './messages/state/ChemMessage';
export * from './messages/state/ChlorMessage';
export * from './messages/state/PumpMessage';
export * from './messages/state/EquipmentState';
export * from './messages/ConnectionMessage';
export * from './messages/OutgoingMessages';
export * from './messages/SLGatewayDataMessage';
export * from './messages/SLMessage';
const debugFind = debug('sl:find');
const debugRemote = debug('sl:remote');
const debugUnit = debug('sl:unit');
Expand Down
Loading

0 comments on commit 5e1499d

Please sign in to comment.