Grabbed dndbeyond's source code
``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import {
|
||||
CharacterInitAction,
|
||||
CharacterReceiveFailAction,
|
||||
sheetActionTypes,
|
||||
} from "../sheet";
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export function characterInit(): CharacterInitAction {
|
||||
return {
|
||||
type: sheetActionTypes.CHARACTER_INIT,
|
||||
payload: {},
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param error
|
||||
*/
|
||||
export function characterReceiveFail(error: Error): CharacterReceiveFailAction {
|
||||
return {
|
||||
type: sheetActionTypes.CHARACTER_RECEIVE_FAIL,
|
||||
payload: {
|
||||
error,
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user