From 5a744b1add24dd4d3c250f41382a034212d9c5b0 Mon Sep 17 00:00:00 2001 From: Jakob Date: Tue, 4 May 2021 03:54:19 +0200 Subject: [PATCH] feat(store): add cyberport-at (#2463) --- docs/reference/filter.md | 1 + src/store/model/cyberport-at.ts | 124 ++++++++++++++++++++++++++++++++ src/store/model/index.ts | 2 + 3 files changed, 127 insertions(+) create mode 100644 src/store/model/cyberport-at.ts diff --git a/docs/reference/filter.md b/docs/reference/filter.md index 1e66494da0..1ccf619d94 100644 --- a/docs/reference/filter.md +++ b/docs/reference/filter.md @@ -91,6 +91,7 @@ Used with the `STORES` variable. | CPL | AU | `cpl`| | Currys | UK | `currys`| | Cyberport | DE | `cyberport` | +| Cyberport | AT | `cyberport-at` | | DComp | AU | `dcomp`| | Drako | IT | `drako` | | DustinHome | NO | `dustinhome-no` | diff --git a/src/store/model/cyberport-at.ts b/src/store/model/cyberport-at.ts new file mode 100644 index 0000000000..3b6a52b698 --- /dev/null +++ b/src/store/model/cyberport-at.ts @@ -0,0 +1,124 @@ +import {Store} from './store'; + +export const CyberportAt: Store = { + currency: '€', + labels: { + inStock: { + container: '.tooltipAvailabilityParent', + text: ['sofort verfügbar'], + }, + maxPrice: { + container: '#productDetailOverview .price', + euroFormat: true, + }, + outOfStock: { + container: '.tooltipAvailabilityParent', + text: ['noch nicht verfügbar'], + }, + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: 'https://www.cyberport.at?DEEP=2E12-3KL', + }, + { + brand: 'asus', + model: 'strix', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E07-51S', + }, + { + brand: 'asus', + model: 'strix oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E07-51T', + }, + { + brand: 'asus', + model: 'tuf', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E07-51L', + }, + { + brand: 'asus', + model: 'tuf oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E07-51N', + }, + { + brand: 'gigabyte', + model: 'aorus master', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E21-537', + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E21-52Y', + }, + { + brand: 'gigabyte', + model: 'aorus master', + series: '3090', + url: 'https://www.cyberport.at?DEEP=2e21-532', + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E21-52Z', + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E12-3L6', + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E12-3L7c', + }, + { + brand: 'zotac', + model: 'trinity', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E13-1H4', + }, + { + brand: 'zotac', + model: 'trinity oc', + series: '3080', + url: 'https://www.cyberport.at?DEEP=2E13-1H7', + }, + { + brand: 'amd', + model: '5600x', + series: 'ryzen5600', + url: 'https://www.cyberport.at?DEEP=2001-71p', + }, + { + brand: 'amd', + model: '5800x', + series: 'ryzen5800', + url: 'https://www.cyberport.at/?DEEP=2001-71n', + }, + { + brand: 'amd', + model: '5900x', + series: 'ryzen5900', + url: 'https://www.cyberport.at?DEEP=2001-71m', + }, + { + brand: 'amd', + model: '5950x', + series: 'ryzen5950', + url: 'https://www.cyberport.at?DEEP=2001-71l', + }, + ], + name: 'cyberport-at', +}; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index ad2f46ef99..5d94e6eba1 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -55,6 +55,7 @@ import {CorsairUK} from './corsair-uk'; import {Cpl} from './cpl'; import {Currys} from './currys'; import {Cyberport} from './cyberport'; +import {CyberportAt} from './cyberport-at'; import {Dcomp} from './dcomp'; import {Drako} from './drako'; import {DustinHomeNO} from './dustinhome-no'; @@ -211,6 +212,7 @@ export const storeList = new Map([ [Cpl.name, Cpl], [Currys.name, Currys], [Cyberport.name, Cyberport], + [CyberportAt.name, CyberportAt], [Dcomp.name, Dcomp], [Drako.name, Drako], [DustinHomeNO.name, DustinHomeNO],