Skip to content

Commit

Permalink
Merge pull request #2 from hippware/persist
Browse files Browse the repository at this point in the history
improvements
  • Loading branch information
aksonov authored Jan 17, 2018
2 parents 3339876 + a5ed932 commit 07e4333
Show file tree
Hide file tree
Showing 42 changed files with 734 additions and 1,354 deletions.
11 changes: 6 additions & 5 deletions lib/connect.d.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import { IModelType } from "mobx-state-tree";
import { IModelType } from 'mobx-state-tree';
declare const _default: IModelType<{
connected?: any;
username?: any;
password?: any;
resource?: any;
host?: any;
}, {
connected: boolean;
username: string | null;
password: string | null;
resource: string;
host: string;
} & {
onConnect: () => true;
onDisconnect: () => false;
connected: boolean;
connecting: boolean;
} & {
onConnect: () => void;
onDisconnect: () => void;
} & {
afterCreate: () => void;
login: () => Promise<{}>;
Expand Down
29 changes: 24 additions & 5 deletions lib/connect.js

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

2 changes: 1 addition & 1 deletion lib/connect.js.map

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

1 change: 1 addition & 0 deletions lib/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 lib/index.js.map

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

13 changes: 7 additions & 6 deletions lib/iq.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
import { IModelType } from 'mobx-state-tree';
declare const _default: IModelType<{
connected?: any;
declare const iqStore: IModelType<{
username?: any;
password?: any;
resource?: any;
host?: any;
} & {
iq?: any;
}, {
connected: boolean;
username: string | null;
password: string | null;
resource: string;
host: string;
} & {
onConnect: () => true;
onDisconnect: () => false;
connected: boolean;
connecting: boolean;
} & {
onConnect: () => void;
onDisconnect: () => void;
} & {
afterCreate: () => void;
login: () => Promise<{}>;
Expand All @@ -29,4 +30,4 @@ declare const _default: IModelType<{
afterCreate: () => void;
sendIQ: (a1: any) => Promise<any>;
}>;
export default _default;
export default iqStore;
5 changes: 4 additions & 1 deletion lib/iq.js

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

2 changes: 1 addition & 1 deletion lib/iq.js.map

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

9 changes: 5 additions & 4 deletions lib/message.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { IModelType } from 'mobx-state-tree';
declare const _default: IModelType<{
connected?: any;
username?: any;
password?: any;
resource?: any;
Expand All @@ -10,14 +9,16 @@ declare const _default: IModelType<{
} & {
message?: any;
}, {
connected: boolean;
username: string | null;
password: string | null;
resource: string;
host: string;
} & {
onConnect: () => true;
onDisconnect: () => false;
connected: boolean;
connecting: boolean;
} & {
onConnect: () => void;
onDisconnect: () => void;
} & {
afterCreate: () => void;
login: () => Promise<{}>;
Expand Down
2 changes: 2 additions & 0 deletions lib/message.js

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

2 changes: 1 addition & 1 deletion lib/message.js.map

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

Loading

0 comments on commit 07e4333

Please sign in to comment.