Skip to content

Commit

Permalink
init index export
Browse files Browse the repository at this point in the history
  • Loading branch information
albertleigh committed Mar 12, 2019
1 parent f46d562 commit d1f2150
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 21 deletions.
8 changes: 8 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
export { default as solace } from 'solclientjs/lib-browser/solclient';
export { default as Session } from './session';
export { default as PublishSubscribe } from './publishSubscribe';
export { default as Queue } from './queue';
export { default as Request } from './request';
export { default as Event } from './event';


export { default as createSolaceMiddleware } from './middleware';
19 changes: 12 additions & 7 deletions src/publishSubscribe/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import * as actionTypes from './types'
import * as actions from './actions'
import * as asyncs from './async';
import * as actionsCreators from './actions'
import * as asyncsRefs from './async';


export const actions = {
...actionTypes,
...actionsCreators,
};

export const asyncs = asyncsRefs;

export default {
actions:{
...actionTypes,
...actions,
},
asyncs
actions,
asyncs,
}
16 changes: 16 additions & 0 deletions src/queue/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import * as actionTypes from './types'
import * as actionsCreators from './actions'
import * as asyncsRefs from './async';


export const actions = {
...actionTypes,
...actionsCreators,
};

export const asyncs = asyncsRefs;

export default {
actions,
asyncs,
}
19 changes: 12 additions & 7 deletions src/request/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import * as actionTypes from './types'
import * as actions from './actions'
import * as asyncs from './async';
import * as actionsCreators from './actions'
import * as asyncsRefs from './async';


export const actions = {
...actionTypes,
...actionsCreators,
};

export const asyncs = asyncsRefs;

export default {
actions:{
...actionTypes,
...actions,
},
asyncs
actions,
asyncs,
}
19 changes: 12 additions & 7 deletions src/session/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import * as actionTypes from './types'
import * as actions from './actions'
import * as asyncs from './async';
import * as actionsCreators from './actions'
import * as asyncsRefs from './async';


export const actions = {
...actionTypes,
...actionsCreators,
};

export const asyncs = asyncsRefs;

export default {
actions:{
...actionTypes,
...actions,
},
asyncs
actions,
asyncs,
}

0 comments on commit d1f2150

Please sign in to comment.