Remove fake SDK files

This commit is contained in:
Kimmo Puputti 2017-03-15 16:00:55 +02:00
parent cfab06d813
commit e56034348d
2 changed files with 0 additions and 74 deletions

View file

@ -1,35 +0,0 @@
/* eslint-disable import/prefer-default-export, no-unused-vars */
const fakeListings = [
{
id: 123,
title: 'Banyan Studios',
price: '55\u20AC / day',
description: 'Organic Music Production in a Sustainable, Ethical and Professional Studio.',
location: 'New York, NY \u2022 40mi away',
review: { count: '8 reviews', rating: '4' },
author: {
name: 'The Stardust Collective',
avatar: 'http://placehold.it/44x44',
review: { rating: '4' },
},
},
{
id: 1234,
title: 'Pienix Studio',
price: '80\u20AC / day',
description: 'Pienix Studio specializes in music mixing and mastering production.',
location: 'New York, NY \u2022 6mi away',
review: { count: '7 reviews', rating: '4' },
author: { name: 'Juhan', avatar: 'http://placehold.it/44x44', review: { rating: '4' } },
},
];
/* eslint-enable import/prefer-default-export */
exports.fetchListings = () => {
const randomTime = Math.random() * 2000;
const fakeResponseTime = 1000 + randomTime;
return new Promise((resolve, reject) => {
setTimeout(() => resolve(fakeListings), fakeResponseTime);
});
};

View file

@ -1,39 +0,0 @@
/* eslint-disable import/prefer-default-export, no-unused-vars */
export const fakeListings = [
{
id: 123,
title: 'Banyan Studios',
price: '55\u20AC / day',
description: 'Organic Music Production in a Sustainable, Ethical and Professional Studio.',
location: 'New York, NY \u2022 40mi away',
review: { count: '8 reviews', rating: '4' },
author: {
name: 'The Stardust Collective',
avatar: 'http://placehold.it/44x44',
review: { rating: '4' },
},
},
{
id: 1234,
title: 'Pienix Studio',
price: '80\u20AC / day',
description: 'Pienix Studio specializes in music mixing and mastering production.',
location: 'New York, NY \u2022 6mi away',
review: { count: '7 reviews', rating: '4' },
author: { name: 'Juhan', avatar: 'http://placehold.it/44x44', review: { rating: '4' } },
},
];
/* eslint-enable import/prefer-default-export */
const fakeSDK = {
fetchListings: () => {
const randomTime = Math.random() * 2000;
const fakeResponseTime = 1000 + randomTime;
return new Promise((resolve, reject) => {
setTimeout(() => resolve(fakeListings), fakeResponseTime);
});
},
};
export default fakeSDK;