``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
29 lines
459 B
TypeScript
29 lines
459 B
TypeScript
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,
|
|
},
|
|
};
|
|
}
|