mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
feat: add alternate.nl support (#552)
This commit is contained in:
@@ -157,6 +157,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
|
|||||||
|:---:|:---:|
|
|:---:|:---:|
|
||||||
| Adorama | `adorama`|
|
| Adorama | `adorama`|
|
||||||
| Alternate (DE) | `alternate`|
|
| Alternate (DE) | `alternate`|
|
||||||
|
| Alternate (NL) | `alternate-nl`|
|
||||||
| Amazon | `amazon`|
|
| Amazon | `amazon`|
|
||||||
| Amazon (CA) | `amazon-ca`|
|
| Amazon (CA) | `amazon-ca`|
|
||||||
| Amazon (DE) | `amazon-de`|
|
| Amazon (DE) | `amazon-de`|
|
||||||
|
|||||||
@@ -0,0 +1,168 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AlternateNL: Store = {
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.stockStatus',
|
||||||
|
text: ['Direct leverbaar']
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.stockStatus',
|
||||||
|
text: ['Levertermijn onbekend', 'pre-order']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.alternate.nl/product/1516616'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672756'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672345'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672251'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672753'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672343'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672634'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'rog strix oc gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672867'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673512'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672612'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1674164'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'rog strix gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1672868'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'palit',
|
||||||
|
model: 'gaming pro oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673431'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1677989'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1681134'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673520'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gainward',
|
||||||
|
model: 'phoenix gs',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673442'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'ichill x3',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673136'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673524'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1680168'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 gaming',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673517'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'amp holo',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1677985'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'amp extreme holo',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1677982'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'twin x2 oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673137'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'ichill x4',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.alternate.nl/product/1673134'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'alternate-nl'
|
||||||
|
};
|
||||||
|
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
import {Adorama} from './adorama';
|
import {Adorama} from './adorama';
|
||||||
import {Alternate} from './alternate';
|
import {Alternate} from './alternate';
|
||||||
|
import {AlternateNL} from './alternate-nl';
|
||||||
import {Amazon} from './amazon';
|
import {Amazon} from './amazon';
|
||||||
import {AmazonCa} from './amazon-ca';
|
import {AmazonCa} from './amazon-ca';
|
||||||
import {AmazonDe} from './amazon-de';
|
import {AmazonDe} from './amazon-de';
|
||||||
@@ -43,6 +44,7 @@ import {logger} from '../../logger';
|
|||||||
const masterList = new Map([
|
const masterList = new Map([
|
||||||
[Adorama.name, Adorama],
|
[Adorama.name, Adorama],
|
||||||
[Alternate.name, Alternate],
|
[Alternate.name, Alternate],
|
||||||
|
[AlternateNL.name, AlternateNL],
|
||||||
[Amazon.name, Amazon],
|
[Amazon.name, Amazon],
|
||||||
[AmazonCa.name, AmazonCa],
|
[AmazonCa.name, AmazonCa],
|
||||||
[AmazonDe.name, AmazonDe],
|
[AmazonDe.name, AmazonDe],
|
||||||
|
|||||||
Reference in New Issue
Block a user