Add keywords and product types
This commit is contained in:
@@ -14,6 +14,7 @@ import { Api1DataSource } from './datasources/api1-datasource';
|
||||
|
||||
import { verifyToken } from './cognito/cognito-client';
|
||||
import { CategoryAPI } from './datasources/category-api';
|
||||
import { KeywordAPI } from './datasources/keyword-api';
|
||||
|
||||
console.log(`dbConfig`, dbConfig);
|
||||
|
||||
@@ -26,6 +27,7 @@ const api2 = new Api2DataSource();
|
||||
const orderApi = new OrderAPI(knexConfig);
|
||||
const productApi = new ProductAPI(knexConfig);
|
||||
const categoryApi = new CategoryAPI(knexConfig);
|
||||
const keywordApi = new KeywordAPI(knexConfig);
|
||||
const designerApi = new DesignerAPI(knexConfig);
|
||||
|
||||
const dataSources = () => ({
|
||||
@@ -33,6 +35,7 @@ const dataSources = () => ({
|
||||
api2,
|
||||
categoryApi,
|
||||
designerApi,
|
||||
keywordApi,
|
||||
orderApi,
|
||||
productApi,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user