Skip to content

Commit

Permalink
feat(store): add cyberport-at (#2463)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoMuchForSubtlety authored May 4, 2021
1 parent eb76f0d commit 5a744b1
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
124 changes: 124 additions & 0 deletions src/store/model/cyberport-at.ts
Original file line number Diff line number Diff line change
@@ -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',
};
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 5a744b1

Please sign in to comment.