diff --git a/src/index.ts b/src/index.ts index ccccb60..76a1a02 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,21 +1,4 @@ -import { Product } from 'ssn'; -import getManifest from './exports/getManifest'; -import productList from './exports/productList'; -import init from './init'; -import IDatabaseSettings from './interfaces/IDatabaseSettings'; -import IProductData from './interfaces/IProductData'; - -interface IEndpoints { - getManifest: (product: Product) => {}; - init: (dbSettings: IDatabaseSettings) => Promise<{ [key in Product]?: IProductData }>; - productList: ReadonlyArray; -} - -const out: Readonly = Object.freeze({ - getManifest, - init, - productList, -}); - //Exports various functions as endpoints -export default out; +export { default as getManifest } from './exports/getManifest'; +export { default as productList } from './exports/productList'; +export { default as init } from './init';