New source found from dndbeyond.com
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const ITEM_PLAN_INVENTORY_MAPPING_CREATE = 'character.ITEM_PLAN_INVENTORY_MAPPING_CREATE';
|
||||
@@ -7,7 +7,7 @@ import * as actionTypes from '../actionTypes';
|
||||
* @param choiceId
|
||||
* @param optionValue
|
||||
*/
|
||||
export function classFeatureChoiceSetRequest(classId, classFeatureId, choiceType, choiceId, optionValue, parentChoiceId) {
|
||||
export function classFeatureChoiceSetRequest(classId, classFeatureId, choiceType, choiceId, optionValue, parentChoiceId, accept, reject) {
|
||||
return {
|
||||
type: actionTypes.CLASS_FEATURE_CHOICE_SET_REQUEST,
|
||||
payload: {
|
||||
@@ -18,6 +18,9 @@ export function classFeatureChoiceSetRequest(classId, classFeatureId, choiceType
|
||||
optionValue,
|
||||
parentChoiceId,
|
||||
},
|
||||
meta: {},
|
||||
meta: {
|
||||
accept,
|
||||
reject,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ export function itemAdd(item) {
|
||||
* @param id
|
||||
* @param removeContainerContents
|
||||
*/
|
||||
export function itemRemove(id, removeContainerContents) {
|
||||
export function itemRemove(id, removeContainerContents = false) {
|
||||
return {
|
||||
type: actionTypes.ITEM_REMOVE,
|
||||
payload: {
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import * as actionTypes from '../actionTypes';
|
||||
/**
|
||||
*
|
||||
* @param item
|
||||
* @param quantity
|
||||
* @param accept
|
||||
* @param reject
|
||||
* @param containerDefinitionKey
|
||||
*/
|
||||
export function itemPlanInventoryMappingCreate(itemDefinitionKey, quantity, itemPlanOriginDefinitionKey, containerDefinitionKey, accept, reject) {
|
||||
return {
|
||||
type: actionTypes.ITEM_PLAN_INVENTORY_MAPPING_CREATE,
|
||||
payload: {
|
||||
itemDefinitionKey,
|
||||
quantity,
|
||||
itemPlanOriginDefinitionKey,
|
||||
containerDefinitionKey,
|
||||
},
|
||||
meta: {
|
||||
accept,
|
||||
reject,
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export const LONG_REST_TEXT_SET = 'serviceData.LONG_REST_TEXT_SET';
|
||||
@@ -30,14 +30,17 @@ export function infusionMappingAdd(infusionMapping) {
|
||||
* @param infusionId
|
||||
* @param inventoryMappingId
|
||||
*/
|
||||
export function infusionMappingDestroy(infusionId, inventoryMappingId) {
|
||||
export function infusionMappingDestroy(infusionId, inventoryMappingId, accept, reject) {
|
||||
return {
|
||||
type: actionTypes.INFUSION_MAPPING_DESTROY,
|
||||
payload: {
|
||||
infusionId,
|
||||
inventoryMappingId,
|
||||
},
|
||||
meta: {},
|
||||
meta: {
|
||||
accept,
|
||||
reject,
|
||||
},
|
||||
};
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import * as actionTypes from '../actionTypes';
|
||||
export function longRestTextSet(longRestText) {
|
||||
return {
|
||||
type: actionTypes.LONG_REST_TEXT_SET,
|
||||
payload: longRestText,
|
||||
meta: {},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user