Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions docs/reference/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
| `MAX_PRICE_SERIES_RYZEN9950X` | Maximum price allowed for a match, applies AMD RX 9950X |
| `MAX_PRICE_SERIES_SONYPS5C` | Maximum price allowed for a match, applies PS5 console |
| `MAX_PRICE_SERIES_SONYPS5DE` | Maximum price allowed for a match, applies PS5 digital edition |
| `MAX_PRICE_SERIES_SWITCH2` | Maximum price allowed for a match, applies to Nintendo Switch 2 |
| `MAX_PRICE_SERIES_XBOXSS` | Maximum price allowed for a match, applies Xbox Series S |
| `MAX_PRICE_SERIES_XBOXSX` | Maximum price allowed for a match, applies Xbox Series X |
| `MAX_PRICE_SERIES_TEST` | Maximum price allowed for a match, applies `test:series` |
Expand Down Expand Up @@ -265,6 +266,7 @@ Used with the `SHOW_ONLY_BRANDS` and `SHOW_ONLY_MODELS` variables.
| `lianli` | `a3 matx wd` |
| `microsoft` | `xbox series s`, `xbox series x` |
| `msi` | `amd reference`, `dual`, `expert`, `gaming`, `gaming trio`, `gaming trio oc`, `gaming trio oc white`, `gaming x`, `gaming x slim`, `gaming x trio`, `gaming z trio`, `inspire 3x`, `inspire 3x oc`, `lp oc`, `mech 2x`, `mech 2x oc`, `shadow 3x`, `shadow 3x oc`, `strix`, `suprim`, `suprim liquid soc`, `suprim liquid x`, `suprim oc`, `suprim soc`, `suprim x`, `vanguard`, `vanguard soc`, `vanguard soc launch edition`, `ventus 2X (LHR)`, `ventus 2x`, `ventus 2x oc`, `ventus 2x white oc`, `ventus 3x`, `ventus 3x e1 oc`, `ventus 3x oc`, `ventus 3x oc plus`, `ventus 3x oc white`, `x trio` |
| `nintendo` | `switch 2`, `switch 2 bundle` |
| `nvidia` | `founders edition` |
| `palit` | `dual`, `dual oc`, `gamerock`, `gamerock oc`, `gaming oc pro`, `gaming pro`, `gaming pro oc`, `jetstream`, `jetstream oc`, `stormx oc`, `trinity oc` |
| `pny` | `aorus xtreme waterforce`, `dual`, `dual fan`, `epic x`, `epic x oc`, `gaming`, `gaming verto epic-x`, `single fan`, `suprim liquid soc`, `triple fan`, `triple fan oc`, `uprising`, `vetro`, `xlr8`, `xlr8 epic x`, `xlr8 gaming`, `xlr8 gaming uprising epic x`, `xlr8 revel`, `xlr8 revel epic x`, `xlr8 uprising`, `xlr8 verto`, `xlr8 verto epic x`, `xlr8 verto epic x oc`, `xlr8 verto oc` |
Expand Down Expand Up @@ -304,6 +306,7 @@ Used with the `SHOW_ONLY_SERIES` variable.
| Crosshair VIII | `darkhero` |
| Intel Arc B580 | `arc` |
| Lian Li A3-mATX | `a3-matx` |
| Nintendo Switch 2 | `switch2` |
| Nvidia RTX 3050 | `3050` |
| Nvidia RTX 3060 | `3060` |
| Nvidia RTX 3060 Ti | `3060ti` |
Expand Down
1 change: 1 addition & 0 deletions docs/reference/notification.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Refer to https://github.com/node-apn/node-apn for config options.
| `DISCORD_NOTIFY_GROUP_RYZEN9950X` | Discord group to notify on Ryzen 9950X 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 |
| `DISCORD_NOTIFY_GROUP_SWITCH2` | Discord group to notify on Nintendo Switch 2 stock |
| `DISCORD_NOTIFY_GROUP_XBOXSS` | Discord group to notify on Xbox Series S stock |
| `DISCORD_NOTIFY_GROUP_XBOXSX` | Discord group to notify on Xbox Series X stock |
| `DISCORD_NOTIFY_GROUP_TEST` | Discord group to notify on test stock |
Expand Down
2 changes: 2 additions & 0 deletions dotenv-example
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ DISCORD_NOTIFY_GROUP_RYZEN9700X=
DISCORD_NOTIFY_GROUP_RYZEN9600X=
DISCORD_NOTIFY_GROUP_SONYPS5C=
DISCORD_NOTIFY_GROUP_SONYPS5DE=
DISCORD_NOTIFY_GROUP_SWITCH2=
DISCORD_NOTIFY_GROUP_XBOXSX=
DISCORD_NOTIFY_GROUP_XBOXSS=
DISCORD_NOTIFY_GROUP_TEST=
Expand Down Expand Up @@ -107,6 +108,7 @@ MAX_PRICE_SERIES_RYZEN9700X=
MAX_PRICE_SERIES_RYZEN9600X=
MAX_PRICE_SERIES_SONYPS5C=
MAX_PRICE_SERIES_SONYPS5DE=
MAX_PRICE_SERIES_SWITCH2=
MAX_PRICE_SERIES_XBOXSS=
MAX_PRICE_SERIES_XBOXSX=
MAX_PRICE_SERIES_TEST=
Expand Down
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ const notifications = {
sf: envOrArray(process.env.DISCORD_NOTIFY_GROUP_CORSAIR_SF),
sonyps5c: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5C),
sonyps5de: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5DE),
switch2: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SWITCH2),
'test:series': envOrArray(process.env.DISCORD_NOTIFY_GROUP_TEST),
xboxss: envOrArray(process.env.DISCORD_NOTIFY_GROUP_XBOXSS),
xboxsx: envOrArray(process.env.DISCORD_NOTIFY_GROUP_XBOXSX),
Expand Down Expand Up @@ -492,6 +493,7 @@ const store = {
sf: envOrNumber(process.env.MAX_PRICE_SERIES_CORSAIR_SF),
sonyps5c: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5C),
sonyps5de: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5DE),
switch2: envOrNumber(process.env.MAX_PRICE_SERIES_SWITCH2),
'test:series': envOrNumber(process.env.MAX_PRICE_SERIES_TEST),
'udm-pro': envOrNumber(process.env.MAX_PRICE_SERIES_UDM_PRO),
'udm-us': envOrNumber(process.env.MAX_PRICE_SERIES_UDM_US),
Expand Down
14 changes: 14 additions & 0 deletions src/store/model/bestbuy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,20 @@ export const BestBuy: Store = {
series: '5090',
url: 'https://api.bestbuy.com/click/-/6615929/pdp',
},
{
brand: 'nintendo',
cartUrl: 'https://api.bestbuy.com/click/-/6614313/cart',
model: 'switch 2',
series: 'switch2',
url: 'https://api.bestbuy.com/click/-/6614313/pdp',
},
{
brand: 'nintendo',
cartUrl: 'https://api.bestbuy.com/click/-/6614325/cart',
model: 'switch 2 bundle',
series: 'switch2',
url: 'https://api.bestbuy.com/click/-/6614325/pdp',
},
],
name: 'bestbuy',
country: 'US',
Expand Down
12 changes: 12 additions & 0 deletions src/store/model/gamestop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,18 @@ export const Gamestop: Store = {
series: 'xboxss',
url: 'https://www.gamestop.com/video-games/xbox-series-x/consoles/products/xbox-series-s-digital-edition/B224746K.html',
},
{
brand: 'nintendo',
model: 'switch 2',
series: 'switch2',
url: 'https://www.gamestop.com/consoles-hardware/nintendo-switch/consoles/products/nintendo-switch-2/424543.html',
},
{
brand: 'nintendo',
model: 'switch 2 bundle',
series: 'switch2',
url: 'https://www.gamestop.com/consoles-hardware/nintendo-switch-2/products/nintendo-switch-2-console-and-mario-kart-world-bundle/424542.html',
},
],
name: 'gamestop',
country: 'US',
Expand Down
4 changes: 4 additions & 0 deletions src/store/model/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export type Brand =
| 'lianli'
| 'microsoft'
| 'msi'
| 'nintendo'
| 'nvidia'
| 'palit'
| 'pny'
Expand Down Expand Up @@ -86,6 +87,7 @@ export type Series =
| 'sf'
| 'sonyps5c'
| 'sonyps5de'
| 'switch2'
| 'udm-pro'
| 'udm-us'
| 'udr-us'
Expand Down Expand Up @@ -269,6 +271,8 @@ export type Model =
| 'suprim x'
| 'suprim'
| 'swft'
| 'switch 2'
| 'switch 2 bundle'
| 'taichi x oc'
| 'taichi'
| 'trinity oc lhr'
Expand Down
12 changes: 12 additions & 0 deletions src/store/model/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ export const Target: Store = {
series: 'xboxss',
url: 'https://www.target.com/p/xbox-series-s-console/-/A-80790842',
},
{
brand: 'nintendo',
model: 'switch 2',
series: 'switch2',
url: 'https://www.target.com/p/nintendo-switch-2-console/-/A-94693225',
},
{
brand: 'nintendo',
model: 'switch 2 bundle',
series: 'switch2',
url: 'https://www.target.com/p/nintendo-switch-2-console-mario-kart-world-bundle/-/A-94693226',
},
],
name: 'target',
country: 'US',
Expand Down
12 changes: 12 additions & 0 deletions src/store/model/walmart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ export const Walmart: Store = {
series: '3070',
url: 'https://www.walmart.com/ip/804934537',
},
{
brand: 'nintendo',
model: 'switch 2',
series: 'switch2',
url: 'https://www.walmart.com/ip/15949610846',
},
{
brand: 'nintendo',
model: 'switch 2 bundle',
series: 'switch2',
url: 'https://www.walmart.com/ip/15928868255',
},
],
name: 'walmart',
country: 'US',
Expand Down