Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store): add darkhero motherboard to asus and microcenter #1336

Merged
merged 3 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ const notifications = {
3070: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3070),
3080: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3080),
3090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3090),
darkhero: envOrArray(process.env.DISCORD_NOTIFY_GROUP_DARKHERO),
rx6800: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6800),
rx6800xt: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6800XT),
rx6900xt: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6900XT),
Expand Down Expand Up @@ -335,6 +336,7 @@ const store = {
3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070),
3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080),
3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090),
darkhero: envOrNumber(process.env.MAX_PRICE_SERIES_DARKHERO),
rx6800: envOrNumber(process.env.MAX_PRICE_SERIES_RX6800),
rx6800xt: envOrNumber(process.env.MAX_PRICE_SERIES_RX6800XT),
rx6900xt: envOrNumber(process.env.MAX_PRICE_SERIES_RX6900XT),
Expand Down
7 changes: 7 additions & 0 deletions src/store/model/asus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ export const Asus: Store = {
model: 'strix oc',
series: '3080',
url: 'https://store.asus.com/us/item/202009AM290000002'
},
{
brand: 'asus',
itemNumber: '202011AM200000003',
model: 'dark hero',
series: 'darkhero',
url: 'https://store.asus.com/us/item/202011AM200000003'
}
],
name: 'asus',
Expand Down
6 changes: 6 additions & 0 deletions src/store/model/microcenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ for (const microCenterLocation of microCenterLocations) {
model: 'amd reference',
series: 'rx6900xt',
url: `https://www.microcenter.com/product/632048/asrock-amd-radeon-rx-6900-xt-triple-fan-16gb-gddr6-pcie-40-graphics-card/?storeid=${storeId}`
},
{
brand: 'asus',
model: 'dark hero',
series: 'darkhero',
url: `https://www.microcenter.com/product/631349/asus-x570-rog-crosshair-viii-dark-hero-amd-am4-atx-motherboard/?storeid=${storeId}`
}
]);
}
Expand Down
9 changes: 9 additions & 0 deletions src/store/model/newegg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,15 @@ export const Newegg: Store = {
series: 'rx6800',
url:
'https://www.newegg.com/powercolor-radeon-rx-6800-axrx-6800-16gbd6-3dhr-oc/p/N82E16814131773'
},
{
brand: 'asus',
cartUrl:
'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16813119362',
model: 'dark hero',
series: 'darkhero',
url:
'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16813119362'
}
],
name: 'newegg',
Expand Down
2 changes: 2 additions & 0 deletions src/store/model/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export type Series =
| '3070'
| '3080'
| '3090'
| 'darkhero'
| 'rx6800'
| 'rx6800xt'
| 'rx6900xt'
Expand Down Expand Up @@ -67,6 +68,7 @@ export type Model =
| 'aorus xtreme waterforce'
| 'aorus'
| 'challenger'
| 'dark hero'
| 'dual fan'
| 'dual oc'
| 'dual'
Expand Down