From 4e77c67641e85b353c1157e36cbd7c2657dbc01d Mon Sep 17 00:00:00 2001 From: Richard Dubois <45883038+richie256@users.noreply.github.com> Date: Wed, 8 Sep 2021 10:52:03 -0400 Subject: [PATCH] chore(store): EBGames renamed to Gamestop (in Canada) (#2734) --- docs/reference/filter.md | 2 +- src/store/model/{ebgames.ts => gamestop-ca.ts} | 14 +++++++------- src/store/model/index.ts | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) rename src/store/model/{ebgames.ts => gamestop-ca.ts} (64%) diff --git a/docs/reference/filter.md b/docs/reference/filter.md index f7fea726a7..00059067aa 100644 --- a/docs/reference/filter.md +++ b/docs/reference/filter.md @@ -98,7 +98,6 @@ Used with the `STORES` variable. | DComp | AU | `dcomp`| | Drako | IT | `drako` | | DustinHome | NO | `dustinhome-no` | -| EBGames | CA | `ebgames`| | eBuyer | UK | `ebuyer`| | El Corte Inglés | ES | `elcorteingles`| | Eletronicamente | ES | `eletronicamente`| @@ -117,6 +116,7 @@ Used with the `STORES` variable. | Game | ES | `game-es`| | Game | UK | `game`| | Gamestop | US | `gamestop`| +| Gamestop | CA | `gamestop-ca`| | Gamestop | DE | `gamestop-de`| | Gamestop | IE | `gamestop-ie`| | Gamestop | IT | `gamestop-it`| diff --git a/src/store/model/ebgames.ts b/src/store/model/gamestop-ca.ts similarity index 64% rename from src/store/model/ebgames.ts rename to src/store/model/gamestop-ca.ts index 5e57a83ccd..5e241833c6 100644 --- a/src/store/model/ebgames.ts +++ b/src/store/model/gamestop-ca.ts @@ -1,6 +1,6 @@ import {Store} from './store'; -export const EbGames: Store = { +export const GamestopCA: Store = { currency: '$', labels: { maxPrice: { @@ -16,32 +16,32 @@ export const EbGames: Store = { brand: 'test:brand', model: 'test:model', series: 'test:series', - url: 'https://www.ebgames.ca/Switch/Games/727918/mario-kart-8-deluxe', + url: 'https://www.gamestop.ca/Switch/Games/727918/mario-kart-8-deluxe', }, { brand: 'sony', model: 'ps5 console', series: 'sonyps5c', - url: 'https://www.ebgames.ca/PS5/Games/877522', + url: 'https://www.gamestop.ca/PS5/Games/877522', }, { brand: 'sony', model: 'ps5 digital', series: 'sonyps5de', - url: 'https://www.ebgames.ca/PS5/Games/877523', + url: 'https://www.gamestop.ca/PS5/Games/877523', }, { brand: 'microsoft', model: 'xbox series x', series: 'xboxsx', - url: 'https://www.ebgames.ca/Xbox%20Series%20X/Games/877779/xbox-series-x', + url: 'https://www.gamestop.ca/Xbox%20Series%20X/Games/877779/xbox-series-x', }, { brand: 'microsoft', model: 'xbox series s', series: 'xboxss', - url: 'https://www.ebgames.ca/Xbox%20Series%20X/Games/877780/xbox-series-s', + url: 'https://www.gamestop.ca/Xbox%20Series%20X/Games/877780/xbox-series-s', }, ], - name: 'ebgames', + name: 'gamestop-ca', }; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index d758476658..813d7d899f 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -63,7 +63,6 @@ import {CyberportAt} from './cyberport-at'; import {Dcomp} from './dcomp'; import {Drako} from './drako'; import {DustinHomeNO} from './dustinhome-no'; -import {EbGames} from './ebgames'; import {Ebuyer} from './ebuyer'; import {Elcorteingles} from './elcorteingles'; import {Eletronicamente} from './eletronicamente'; @@ -81,6 +80,7 @@ import {Galaxus} from './galaxus'; import {Game} from './game'; import {GameES} from './game-es'; import {Gamestop} from './gamestop'; +import {GamestopCA} from './gamestop-ca'; import {GamestopDE} from './gamestop-de'; import {GamestopIE} from './gamestop-ie'; import {GamestopIT} from './gamestop-it'; @@ -230,7 +230,6 @@ export const storeList = new Map([ [Dcomp.name, Dcomp], [Drako.name, Drako], [DustinHomeNO.name, DustinHomeNO], - [EbGames.name, EbGames], [Ebuyer.name, Ebuyer], [Elcorteingles.name, Elcorteingles], [Eletronicamente.name, Eletronicamente], @@ -248,6 +247,7 @@ export const storeList = new Map([ [Game.name, Game], [GameES.name, GameES], [Gamestop.name, Gamestop], + [GamestopCA.name, GamestopCA], [GamestopDE.name, GamestopDE], [GamestopIE.name, GamestopIE], [GamestopIT.name, GamestopIT],