From c38bebb49dbe8243d0e3f1205150a33f9ce745aa Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 12 Nov 2020 08:50:31 -0500 Subject: [PATCH] feat(store): add topachat (#776) Co-authored-by: Oguzhan YAGCI --- README.md | 3 + src/store/model/index.ts | 4 +- src/store/model/store.ts | 1 + src/store/model/topachat.ts | 293 ++++++++++++++++++++++++++++++++++++ 4 files changed, 300 insertions(+), 1 deletion(-) create mode 100644 src/store/model/topachat.ts diff --git a/README.md b/README.md index cafe213e59..0c74df989a 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ environment variables are **optional**._ | Very (UK) | `very`| | Walmart | `walmart`| | Zotac | `zotac`| +| TopAchat | `topachat`|
Micro Center stores @@ -254,6 +255,8 @@ environment variables are **optional**._ | `pny` | `dual fan`, `xlr8 revel`, `xlr8 uprising` | | `sony` | `ps5 console`, `ps5 digital` | | `zotac` | `amp holo`, `amp extreme holo`, `trinity`, `trinity oc`, `twin edge`, `twin edge oc` | +| kfa2 | sg | +| gainward | phoenix, phoenix gs |
diff --git a/src/store/model/index.ts b/src/store/model/index.ts index ccd89a94f7..87e508d0f5 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -55,6 +55,7 @@ import {Saturn} from './saturn'; import {Scan} from './scan'; import {Store} from './store'; import {Target} from './target'; +import {TopAchat} from './topachat'; import {Very} from './very'; import {Walmart} from './walmart'; import {Zotac} from './zotac'; @@ -118,7 +119,8 @@ export const storeList = new Map([ [Target.name, Target], [Very.name, Very], [Walmart.name, Walmart], - [Zotac.name, Zotac] + [Zotac.name, Zotac], + [TopAchat.name, TopAchat] ]); const brands = new Set(); diff --git a/src/store/model/store.ts b/src/store/model/store.ts index 9204f218db..3e6ca02e08 100644 --- a/src/store/model/store.ts +++ b/src/store/model/store.ts @@ -76,6 +76,7 @@ export type Model = | 'phoenix' | 'phoenix gs' | 'phoenix gs oc' + | 'sg' | 'sg oc' | 'strix' | 'strix oc' diff --git a/src/store/model/topachat.ts b/src/store/model/topachat.ts new file mode 100644 index 0000000000..5aee2f9114 --- /dev/null +++ b/src/store/model/topachat.ts @@ -0,0 +1,293 @@ +import {Store} from './store'; + +export const TopAchat: Store = { + labels: { + inStock: { + container: '.cart.button', + text: [''] + } + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in11019393.html' + }, + { + brand: 'zotac', + model: 'trinity', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005183.html' + }, + { + brand: 'zotac', + model: 'trinity oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005509.html' + }, + { + brand: 'zotac', + model: 'trinity', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005184.html' + }, + { + brand: 'asus', + model: 'strix oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005320.html' + }, + { + brand: 'asus', + model: 'tuf', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005070.html' + }, + { + brand: 'asus', + model: 'tuf oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005289.html' + }, + { + brand: 'asus', + model: 'strix oc', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005319.html' + }, + { + brand: 'asus', + model: 'tuf', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005071.html' + }, + { + brand: 'asus', + model: 'tuf oc', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005199.html' + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005262.html' + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005263.html' + }, + { + brand: 'pny', + model: 'xlr8 revel', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005223.html' + }, + { + brand: 'pny', + model: 'xlr8 revel', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005222.html' + }, + { + brand: 'pny', + model: 'xlr8 revel', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005225.html' + }, + { + brand: 'pny', + model: 'xlr8 revel', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005224.html' + }, + { + brand: 'evga', + model: 'ftw3', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005291.html' + }, + { + brand: 'evga', + model: 'ftw3 ultra', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005292.html' + }, + { + brand: 'evga', + model: 'xc3 black', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005289.html' + }, + { + brand: 'evga', + model: 'xc3', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005290.html' + }, + { + brand: 'evga', + model: 'xc3 ultra', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005334.html' + }, + { + brand: 'evga', + model: 'ftw3', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005296.html' + }, + { + brand: 'evga', + model: 'ftw3 ultra', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005297.html' + }, + { + brand: 'evga', + model: 'xc3', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005293.html' + }, + { + brand: 'evga', + model: 'xc3', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005294.html' + }, + { + brand: 'evga', + model: 'xc3 ultra', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005295.html' + }, + { + brand: 'gainward', + model: 'phoenix', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005267.html' + }, + { + brand: 'gainward', + model: 'phoenix gs', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005268.html' + }, + { + brand: 'gainward', + model: 'phoenix', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005269.html' + }, + { + brand: 'gainward', + model: 'phoenix gs', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005270.html' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005228.html' + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005227.html' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005226.html' + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005229.html' + }, + { + brand: 'palit', + model: 'gaming pro', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005271.html' + }, + { + brand: 'palit', + model: 'gaming pro oc', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005272.html' + }, + { + brand: 'palit', + model: 'gaming pro', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005273.html' + }, + { + brand: 'palit', + model: 'gaming pro oc', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005266.html' + }, + { + brand: 'kfa2', + model: 'sg', + series: '3080', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005256.html' + }, + { + brand: 'kfa2', + model: 'sg', + series: '3090', + url: + 'https://www.topachat.com/pages/detail2_cat_est_micro_puis_rubrique_est_wgfx_pcie_puis_ref_est_in20005257.html' + } + ], + name: 'topachat' +};