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,2 @@
|
||||
export const CHARACTER_INIT = "sheet.CHARACTER_INIT";
|
||||
export const CHARACTER_RECEIVE_FAIL = "sheet.CHARACTER_RECEIVE_FAIL";
|
||||
@@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as actionTypes from "./actionTypes";
|
||||
import * as actions from "./actions";
|
||||
import * as typings from "./typings";
|
||||
|
||||
export const sheetActionTypes = actionTypes;
|
||||
export const sheetActions = actions;
|
||||
export const sheetTypings = typings;
|
||||
|
||||
export * from "./typings";
|
||||
Reference in New Issue
Block a user