mage-remote-run 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/import.js +11 -11
- package/package.json +1 -1
package/lib/commands/import.js
CHANGED
|
@@ -11,14 +11,14 @@ async function getImportBehaviorAndEntity(options) {
|
|
|
11
11
|
let entityType = options.entityType;
|
|
12
12
|
if (!entityType) {
|
|
13
13
|
const ENTITY_TYPES = [
|
|
14
|
-
{ name: 'Advanced Pricing', value: 'advanced_pricing' },
|
|
15
|
-
{ name: 'Products', value: 'catalog_product' },
|
|
16
|
-
{ name: 'Customers and Addresses (single file)', value: 'customer_composite' },
|
|
17
|
-
{ name: 'Customers Main File', value: 'customer' },
|
|
18
|
-
{ name: 'Customer Addresses', value: 'customer_address' },
|
|
19
|
-
{ name: 'Customer Finances', value: 'customer_finance' },
|
|
20
|
-
{ name: 'Stock Sources', value: 'stock_sources' },
|
|
21
|
-
{ name: 'Custom...', value: 'custom' }
|
|
14
|
+
{ name: '🏷️ Advanced Pricing', value: 'advanced_pricing' },
|
|
15
|
+
{ name: '📦 Products', value: 'catalog_product' },
|
|
16
|
+
{ name: '👥 Customers and Addresses (single file)', value: 'customer_composite' },
|
|
17
|
+
{ name: '👤 Customers Main File', value: 'customer' },
|
|
18
|
+
{ name: '📍 Customer Addresses', value: 'customer_address' },
|
|
19
|
+
{ name: '💰 Customer Finances', value: 'customer_finance' },
|
|
20
|
+
{ name: '🏭 Stock Sources', value: 'stock_sources' },
|
|
21
|
+
{ name: '✏️ Custom...', value: 'custom' }
|
|
22
22
|
];
|
|
23
23
|
|
|
24
24
|
entityType = await search({
|
|
@@ -47,9 +47,9 @@ async function getImportBehaviorAndEntity(options) {
|
|
|
47
47
|
behavior = await select({
|
|
48
48
|
message: 'Import Behavior:',
|
|
49
49
|
choices: [
|
|
50
|
-
{ name: 'Append/Update', value: 'append' },
|
|
51
|
-
{ name: 'Replace', value: 'replace' },
|
|
52
|
-
{ name: 'Delete', value: 'delete_entity' }
|
|
50
|
+
{ name: '➕ Append/Update', value: 'append' },
|
|
51
|
+
{ name: '🔄 Replace', value: 'replace' },
|
|
52
|
+
{ name: '❌ Delete', value: 'delete_entity' }
|
|
53
53
|
],
|
|
54
54
|
default: 'append'
|
|
55
55
|
});
|