Skip to content
Open
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
1 change: 1 addition & 0 deletions dotenv-example
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ MAX_PRICE_SERIES_UDM_US=
MAX_PRICE_SERIES_UDR_US=
MAX_PRICE_SERIES_UNVR=
MAX_PRICE_SERIES_UNVR_PRO=
MAX_PRICE_SERIES_LEGIONGO2=
MICROCENTER_LOCATION=
MQTT_BROKER_ADDRESS=
MQTT_BROKER_PORT=
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ const store = {
'unvr-pro': envOrNumber(process.env.MAX_PRICE_SERIES_UNVR_PRO),
xboxss: envOrNumber(process.env.MAX_PRICE_SERIES_XBOXSS),
xboxsx: envOrNumber(process.env.MAX_PRICE_SERIES_XBOXSX),
legiongo2: envOrNumber(process.env.MAX_PRICE_SERIES_LEGIONGO2),
},
},
microCenterLocation: envOrArray(process.env.MICROCENTER_LOCATION, ['web']),
Expand Down
8 changes: 8 additions & 0 deletions src/store/model/amazon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,14 @@ export const Amazon: Store = {
series: '5090',
url: 'https://www.amazon.com/dp/B0DS2Z8854',
},
{
brand: 'lenovo',
cartUrl:
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0FYR2V7ZB&Quantity.1=1',
model: 'legion go 2 2tb',
series: 'legiongo2',
url: 'https://www.amazon.com/dp/B0FYR2V7ZB',
},
],
name: 'amazon',
country: 'US',
Expand Down
6 changes: 6 additions & 0 deletions src/store/model/bandh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,12 @@ export const BAndH: Store = {
series: '5090',
url: 'https://www.bhphotovideo.com/c/product/1875717-REG/gigabyte_gv_n5090aorus_m_32gd_geforce_rtx_5090_master.html',
},
{
brand: 'lenovo',
model: 'legion go 2 2tb',
series: 'legiongo2',
url: 'https://www.bhphotovideo.com/c/product/1920305-REG/lenovo_83n0000aus_legion_go_2_handheld.html',
},
],
name: 'bandh',
country: '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 @@ -968,6 +968,20 @@ export const BestBuy: Store = {
series: 'switch2',
url: 'https://api.bestbuy.com/click/-/6614325/pdp',
},
{
brand: 'lenovo',
cartUrl: 'https://api.bestbuy.com/click/-/6643145/cart',
model: 'legion go 2 1tb',
series: 'legiongo2',
url: 'https://api.bestbuy.com/click/-/6643145/pdp',
},
{
brand: 'lenovo',
cartUrl: 'https://api.bestbuy.com/click/-/6666376/cart',
model: 'legion go 2 2tb',
series: 'legiongo2',
url: 'https://api.bestbuy.com/click/-/6666376/pdp',
},
],
name: 'bestbuy',
country: 'US',
Expand Down
10 changes: 7 additions & 3 deletions src/store/model/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export type Brand =
| 'sparkle'
| 'ubiquiti'
| 'xfx'
| 'zotac';
| 'zotac'
| 'lenovo';

export type Series =
| 'test:series'
Expand Down Expand Up @@ -96,7 +97,8 @@ export type Series =
| 'unvr-pro'
| 'unvr'
| 'xboxss'
| 'xboxsx';
| 'xboxsx'
| 'legiongo2';

export type Model =
| 'test:model'
Expand Down Expand Up @@ -336,7 +338,9 @@ export type Model =
| 'xlr8 verto oc'
| 'xlr8 verto'
| 'xlr8'
| 'xtreme';
| 'xtreme'
| 'legion go 2 1tb'
| 'legion go 2 2tb';

export type Link = {
brand: Brand;
Expand Down