Skip to content

Commit 5dd9fcc

Browse files
committed
ability & attribute support
pre-release addition
1 parent e2d1bfb commit 5dd9fcc

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Fetch/2.2.0/Fetch.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,17 @@ const Fetch = (() => { //eslint-disable-line no-unused-vars
10241024
};
10251025

10261026
// ===== PROP CONTAINERS ============================
1027+
const abilityProps = {
1028+
nicks: {
1029+
},
1030+
compProps: {}
1031+
}
1032+
const attributeProps = {
1033+
nicks: {
1034+
istokenaction: ['tokenaction']
1035+
},
1036+
compProps: {}
1037+
}
10271038
const campaignProps = { // @(campaign.<prop>)
10281039
nicks: {
10291040
id: ['campaign_id'],
@@ -1363,6 +1374,8 @@ const Fetch = (() => { //eslint-disable-line no-unused-vars
13631374
}
13641375

13651376
const customPropsByType = {
1377+
ability: abilityProps,
1378+
attribute: attributeProps,
13661379
campaign: campaignProps,
13671380
card: cardProps,
13681381
character: charProps,

Fetch/Fetch.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,17 @@ const Fetch = (() => { //eslint-disable-line no-unused-vars
10241024
};
10251025

10261026
// ===== PROP CONTAINERS ============================
1027+
const abilityProps = {
1028+
nicks: {
1029+
},
1030+
compProps: {}
1031+
}
1032+
const attributeProps = {
1033+
nicks: {
1034+
istokenaction: ['tokenaction']
1035+
},
1036+
compProps: {}
1037+
}
10271038
const campaignProps = { // @(campaign.<prop>)
10281039
nicks: {
10291040
id: ['campaign_id'],
@@ -1363,6 +1374,8 @@ const Fetch = (() => { //eslint-disable-line no-unused-vars
13631374
}
13641375

13651376
const customPropsByType = {
1377+
ability: abilityProps,
1378+
attribute: attributeProps,
13661379
campaign: campaignProps,
13671380
card: cardProps,
13681381
character: charProps,

0 commit comments

Comments
 (0)