19 lines
748 B
JavaScript
19 lines
748 B
JavaScript
const path = require('path');
|
|
|
|
const config = {
|
|
baseUrl: 'https://koillection.nelson-household.com/api',
|
|
apiEndpoint: '/api/collections' , // Replace with your API endpoint
|
|
imageDownloadDirectory: path.join(__dirname, 'master-set-images/perfect-order'), // Local directory for downloaded images
|
|
maxConcurrentDownloads: 5, // Limit concurrent downloads
|
|
dataValidationRules: {
|
|
collectionName: /^[a-zA-Z0-9_]+$/, // Regular expression for collection name
|
|
itemName: /^[a-zA-Z0-9_ ]+$/ // Regular expression for item name
|
|
},
|
|
collectionsMapping: {
|
|
'Perfect Order': './csv/ME03PerfectOrderProductsAndPrices.csv',
|
|
}
|
|
// Add more configuration settings here (e.g., image server URL, etc.)
|
|
};
|
|
|
|
export default config;
|