legacy services dropped

This commit is contained in:
NikolaBorislavovHristov 2019-01-17 10:22:50 +02:00
parent 5c909f8342
commit dff5529d3e
6 changed files with 0 additions and 47 deletions

View file

@ -1,6 +0,0 @@
import StremioAPI from 'stremio-api-client';
import storage from './storage';
// const API = new StremioAPI({ storage });
export default {};

View file

@ -1,3 +0,0 @@
import API from './API';
export default API;

View file

@ -1,21 +0,0 @@
const storage = {
getUser: function() {
try {
return JSON.parse(localStorage.getItem('user'));
} catch (e) {
return null;
}
},
setUser: function(user) {
try {
if (user === null) {
localStorage.removeItem('user');
} else {
localStorage.setItem('user', JSON.stringify(user));
}
} catch (e) {
}
}
};
export default storage;

View file

@ -1,7 +0,0 @@
import { AddonCollection } from 'stremio-addon-client';
import officialAddons from 'stremio-official-addons';
// const addons = new AddonCollection();
// addons.load(officialAddons);
export default {};

View file

@ -1,3 +0,0 @@
import addons from './addons';
export default addons;

View file

@ -1,7 +0,0 @@
import addons from './addons';
import API from './API';
export {
addons,
API
};