-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes class. Amends default export
- Loading branch information
1 parent
0d39433
commit d79756b
Showing
3 changed files
with
79 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import debug from 'debug' | ||
|
||
const log = debug('shinkansen-pantograph/pantograph') | ||
|
||
log('`shinkansen` is awake') | ||
|
||
export const ALPHA = { | ||
ERROR: 'ALPHA_ERROR', | ||
ROUTE: 'ALPHA_ROUTE', | ||
MOUNT: 'ALPHA_MOUNT', | ||
FETCH: 'ALPHA_FETCH', | ||
STORE: 'ALPHA_STORE', | ||
QUERY: 'ALPHA_QUERY', | ||
CHANGE: 'ALPHA_CHANGE', | ||
SUBMIT: 'ALPHA_SUBMIT' | ||
} | ||
|
||
export const OMEGA = { | ||
ERROR: 'OMEGA_ERROR', | ||
ROUTE: 'OMEGA_ROUTE', | ||
MOUNT: 'OMEGA_MOUNT', | ||
FETCH: 'OMEGA_FETCH', | ||
STORE: 'OMEGA_STORE', | ||
QUERY: 'OMEGA_QUERY', | ||
CHANGE: 'OMEGA_CHANGE', | ||
SUBMIT: 'OMEGA_SUBMIT' | ||
} | ||
|
||
export const EMBARK = { | ||
ERROR: 'EMBARK_ERROR', | ||
ROUTE: 'EMBARK_ROUTE', | ||
MOUNT: 'EMBARK_MOUNT', | ||
FETCH: 'EMBARK_FETCH', | ||
STORE: 'EMBARK_STORE', | ||
CHANGE: 'EMBARK_CHANGE', | ||
SUBMIT: 'EMBARK_SUBMIT' | ||
} | ||
|
||
export const DEBARK = { | ||
ERROR: 'DEBARK_ERROR', | ||
ROUTE: 'DEBARK_ROUTE', | ||
MOUNT: 'DEBARK_MOUNT', | ||
FETCH: 'DEBARK_FETCH', | ||
STORE: 'DEBARK_STORE', | ||
CHANGE: 'DEBARK_CHANGE', | ||
SUBMIT: 'DEBARK_SUBMIT' | ||
} | ||
|
||
export const CONFIRM = { | ||
ERROR: 'CONFIRM_ERROR', | ||
ROUTE: 'CONFIRM_ROUTE', | ||
MOUNT: 'CONFIRM_MOUNT', | ||
FETCH: 'CONFIRM_FETCH', | ||
STORE: 'CONFIRM_STORE', | ||
CHANGE: 'CONFIRM_CHANGE', | ||
SUBMIT: 'CONFIRM_SUBMIT' | ||
} | ||
|
||
export default { | ||
ALPHA, | ||
OMEGA, | ||
EMBARK, | ||
DEBARK, | ||
CONFIRM | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters