feat(store): add pny (#295)

This commit is contained in:
Joshua Higgins
2020-09-25 19:37:43 -04:00
committed by GitHub
parent 9636572c7d
commit f6760d3c65
3 changed files with 64 additions and 5 deletions
+2
View File
@@ -17,6 +17,7 @@ import {NeweggCa} from './newegg-ca';
import {Nvidia} from './nvidia';
import {NvidiaApi} from './nvidia-api';
import {OfficeDepot} from './officedepot';
import {Pny} from './pny';
import {Store} from './store';
import {Zotac} from './zotac';
@@ -38,6 +39,7 @@ const masterList = new Map([
[Nvidia.name, Nvidia],
[NvidiaApi.name, NvidiaApi],
[OfficeDepot.name, OfficeDepot],
[Pny.name, Pny],
[Zotac.name, Zotac]
]);
+56
View File
@@ -0,0 +1,56 @@
import {Store} from './store';
export const Pny: Store = {
labels: {
inStock: {
container: '#ctl01_lbtnAddToCart',
text: ['add to cart']
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.pny.com/pny-geforce-gtx-1660-super-gaming-oc-sf'
},
{
brand: 'pny',
model: 'dual fan',
series: '3070',
url: 'https://www.pny.com/pny-geforce-rtx-3070-8gb-df'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3070',
url: 'https://www.pny.com/geforce-rtx-3070-xlr8-gaming-epic-x-rgb-triple-fan'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3080',
url: 'https://www.pny.com/geforce-rtx-3080-xlr8-gaming-epic-x-rgb-triple-fan-m'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3080',
url: 'https://www.pny.com/geforce-rtx-3080-xlr8-gaming-epic-x-rgb-triple-fan-p'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3090',
url: 'https://www.pny.com/geforce-rtx-3090-xlr8-gaming-epic-x-rgb-triple-fan-m'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3090',
url: 'https://www.pny.com/geforce-rtx-3090-xlr8-gaming-epic-x-rgb-triple-fan-p'
}
],
name: 'pny'
};