@commercelayer/cli-core
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -12,2 +12,5 @@ declare type ApiConfig = { | ||
}; | ||
declare type ApplicationConfig = { | ||
kinds: string[]; | ||
}; | ||
declare type ImportsConfig = { | ||
@@ -17,8 +20,14 @@ max_size: number; | ||
types: string[]; | ||
max_queue_length: number; | ||
}; | ||
declare type WebhooksConfig = { | ||
retry_number: number; | ||
}; | ||
declare type Config = { | ||
api: ApiConfig; | ||
application: ApplicationConfig; | ||
imports: ImportsConfig; | ||
webhooks: WebhooksConfig; | ||
}; | ||
declare const config: Config; | ||
export default config; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const IMPORTS_RESOURCE_TYPES=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],IMPORTS_STATUSES=["in_progress","pending","completed","interrupted"],config={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},imports:{max_size:2e3,statuses:IMPORTS_STATUSES,types:IMPORTS_RESOURCE_TYPES}};exports.default=config; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const APPLICATION_KINDS=["integration","sales_channel","webapp"],IMPORTS_RESOURCE_TYPES=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],IMPORTS_STATUSES=["in_progress","pending","completed","interrupted"],config={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},application:{kinds:APPLICATION_KINDS},imports:{max_size:2e3,statuses:IMPORTS_STATUSES,types:IMPORTS_RESOURCE_TYPES,max_queue_length:10},webhooks:{retry_number:5}};exports.default=config; |
@@ -12,2 +12,5 @@ declare type ApiConfig = { | ||
}; | ||
declare type ApplicationConfig = { | ||
kinds: string[]; | ||
}; | ||
declare type ImportsConfig = { | ||
@@ -17,8 +20,14 @@ max_size: number; | ||
types: string[]; | ||
max_queue_length: number; | ||
}; | ||
declare type WebhooksConfig = { | ||
retry_number: number; | ||
}; | ||
declare type Config = { | ||
api: ApiConfig; | ||
application: ApplicationConfig; | ||
imports: ImportsConfig; | ||
webhooks: WebhooksConfig; | ||
}; | ||
declare const config: Config; | ||
export default config; |
@@ -1,1 +0,1 @@ | ||
const s=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],e=["in_progress","pending","completed","interrupted"],t={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},imports:{max_size:2e3,statuses:e,types:s}};export default t; | ||
const s=["integration","sales_channel","webapp"],e=["orders","coupons","skus","sku_lists","sku_list_items","prices","stock_items","gift_cards","customers","customer_subscriptions","tax_categories"],t=["in_progress","pending","completed","interrupted"],_={api:{default_domain:"commercelayer.io",token_expiration_mins:60*2,token_encoding_algorithm:"HS512",requests_max_num_burst:50,requests_max_secs_burst:10,requests_max_num_avg:600,requests_max_secs_avg:5*60,page_max_size:25,page_default_size:10},application:{kinds:s},imports:{max_size:2e3,statuses:t,types:e,max_queue_length:10},webhooks:{retry_number:5}};export default _; |
{ | ||
"name": "@commercelayer/cli-core", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "lib/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "lib/cjs/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92059
345
101