mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
feat(store): add darkhero motherboard to asus and microcenter (#1336)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
| `MAX_PRICE_SERIES_3080` | Maximum price allowed for a match, applies 3080 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_3090` | Maximum price allowed for a match, applies 3090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_CORSAIR_SF` | Maximum price allowed for a match, applies to Corsair PSUs | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PSUs above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_DARKHERO` | Maximum price allowed for a match, applies to ASUS Dark Hero motherboards | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PSUs above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_RYZEN5600` | Maximum price allowed for a match, applies AMD 5600 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_RYZEN5800` | Maximum price allowed for a match, applies AMD 5800 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||
| `MAX_PRICE_SERIES_RYZEN5900` | Maximum price allowed for a match, applies AMD 5900 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||
@@ -172,6 +173,7 @@ Used with the `SHOW_ONLY_SERIES` variable.
|
||||
| `Nvidia RTX 3080` | `3080` |
|
||||
| `Nvidia RTX 3090` | `3090` |
|
||||
| `Corsair SFX PSU` | `sf` |
|
||||
| `Crosshair VIII` | `darkhero` |
|
||||
| `Sony PS5` | `sonyps5c` |
|
||||
| `Sony PS5 Digital Edition` | `sonyps5de` |
|
||||
| `Xbox Series S` | `xboxss` |
|
||||
|
||||
@@ -26,6 +26,7 @@ You can test your notification configuration by running `npm run test:notificati
|
||||
| `DISCORD_NOTIFY_GROUP_RYZEN5800` | Discord group to notify on 5800X stock |
|
||||
| `DISCORD_NOTIFY_GROUP_RYZEN5900` | Discord group to notify on 5900X stock |
|
||||
| `DISCORD_NOTIFY_GROUP_RYZEN5950` | Discord group to notify on 5950X stock |
|
||||
| `DISCORD_NOTIFY_GROUP_DARKHERO` | Discord group to notify on Dark Hero stock |
|
||||
| `DISCORD_NOTIFY_GROUP_CORSAIR_SF` | Discord group to notify on Corsair SF stock |
|
||||
| `DISCORD_NOTIFY_GROUP_SONYPS5C` | Discord group to notify on Sony PS5 stock |
|
||||
| `DISCORD_NOTIFY_GROUP_SONYPS5DE` | Discord group to notify on Sony PS5 Digital stock |
|
||||
|
||||
@@ -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),
|
||||
@@ -332,6 +333,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),
|
||||
|
||||
@@ -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: 'crosshair viii',
|
||||
series: 'darkhero',
|
||||
url: 'https://store.asus.com/us/item/202011AM200000003'
|
||||
}
|
||||
],
|
||||
name: 'asus',
|
||||
|
||||
@@ -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: 'crosshair viii',
|
||||
series: 'darkhero',
|
||||
url: `https://www.microcenter.com/product/631349/asus-x570-rog-crosshair-viii-dark-hero-amd-am4-atx-motherboard/?storeid=${storeId}`
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -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: 'crosshair viii',
|
||||
series: 'darkhero',
|
||||
url:
|
||||
'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16813119362'
|
||||
}
|
||||
],
|
||||
name: 'newegg',
|
||||
|
||||
@@ -38,6 +38,7 @@ export type Series =
|
||||
| '3070'
|
||||
| '3080'
|
||||
| '3090'
|
||||
| 'darkhero'
|
||||
| 'rx6800'
|
||||
| 'rx6800xt'
|
||||
| 'rx6900xt'
|
||||
@@ -67,6 +68,7 @@ export type Model =
|
||||
| 'aorus xtreme waterforce'
|
||||
| 'aorus'
|
||||
| 'challenger'
|
||||
| 'crosshair viii'
|
||||
| 'dual fan'
|
||||
| 'dual oc'
|
||||
| 'dual'
|
||||
|
||||
Reference in New Issue
Block a user