-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `johnlewis` store * feat: add `shopto` store * chore: linting * chore: linting Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
- Loading branch information
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import {Store} from './store'; | ||
|
||
export const JohnLewis: Store = { | ||
currency: '£', | ||
labels: { | ||
inStock: { | ||
container: '#button--add-to-basket', | ||
text: ['Add to your basket'] | ||
} | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: | ||
'https://www.johnlewis.com/sony-playstation-5-dualsense-wireless-controller-white/p5192093' | ||
}, | ||
{ | ||
brand: 'sony', | ||
model: 'ps5 console', | ||
series: 'sonyps5c', | ||
url: | ||
'https://www.johnlewis.com/sony-playstation-5-console-with-dualsense-controller/white/p5115192' | ||
} | ||
], | ||
name: 'johnlewis' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import {Store} from './store'; | ||
|
||
export const ShopTo: Store = { | ||
currency: '£', | ||
labels: { | ||
inStock: { | ||
container: '.orderbox_inventory', | ||
text: ['In Stock'] | ||
} | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: | ||
'https://www.shopto.net/en/ps5du00-dualsense-controller-playstation-5-p195100/' | ||
}, | ||
{ | ||
brand: 'sony', | ||
model: 'ps5 console', | ||
series: 'sonyps5c', | ||
url: | ||
'https://www.shopto.net/en/ps5hw01-playstation-5-console-p191472/' | ||
}, | ||
{ | ||
brand: 'sony', | ||
model: 'ps5 digital', | ||
series: 'sonyps5de', | ||
url: | ||
'https://www.shopto.net/en/ps5hw02-playstation-5-digital-console-p195341/' | ||
} | ||
], | ||
name: 'shopto' | ||
}; |