New source found from dndbeyond.com
This commit is contained in:
@@ -269,6 +269,9 @@ const initialItemState = {
|
||||
id: -1,
|
||||
isAttuned: null,
|
||||
limitedUse: null,
|
||||
originEntityId: null,
|
||||
originEntityTypeId: null,
|
||||
originDefinitionKey: null,
|
||||
quantity: -1,
|
||||
};
|
||||
export function itemReducer(state = initialItemState, action) {
|
||||
|
||||
@@ -134,7 +134,7 @@ const initialPartyInfoState = {
|
||||
name: null,
|
||||
publicNotes: null,
|
||||
partyInventory: [],
|
||||
sharingState: 0,
|
||||
partyRestrictions: [],
|
||||
modifiers: null,
|
||||
spells: null,
|
||||
};
|
||||
@@ -187,6 +187,7 @@ export const initialState = {
|
||||
},
|
||||
partyInfo: null,
|
||||
campaignSettings: [],
|
||||
longRestText: null,
|
||||
};
|
||||
function serviceData(state = initialState, action) {
|
||||
var _a;
|
||||
@@ -309,6 +310,9 @@ function serviceData(state = initialState, action) {
|
||||
case actionTypes.CAMPAIGN_SETTINGS_SET_COMMIT: {
|
||||
return Object.assign(Object.assign({}, state), { campaignSettings: action.payload });
|
||||
}
|
||||
case actionTypes.LONG_REST_TEXT_SET: {
|
||||
return Object.assign(Object.assign({}, state), { longRestText: action.payload });
|
||||
}
|
||||
default:
|
||||
// not implemented
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user