This template is modified from the original one, to handle multiple status-code handling of response. Don't ask me how they work, I don't quite understand them in depth...
5 lines
No EOL
302 B
Text
5 lines
No EOL
302 B
Text
export let getApiEntitiesState: (state: any) => any = (state: any) => state.app.apiEntities;
|
|
|
|
export function setApiEntitiesStateGetter(getter: (state: any) => any) { // Use this to customize the location where you have placed your ApiEntitiesRecord in your project.
|
|
getApiEntitiesState = getter;
|
|
} |