@vendure/common
Advanced tools
Comparing version 0.1.2-beta.10 to 0.1.2-beta.11
@@ -37,7 +37,2 @@ export declare type Maybe<T> = T | null; | ||
}; | ||
export declare type AdjustmentOperations = { | ||
__typename?: 'AdjustmentOperations'; | ||
conditions: Array<ConfigurableOperation>; | ||
actions: Array<ConfigurableOperation>; | ||
}; | ||
export declare enum AdjustmentType { | ||
@@ -188,20 +183,18 @@ TAX = "TAX", | ||
name: Scalars['String']; | ||
type: ConfigArgType; | ||
value?: Maybe<Scalars['String']>; | ||
type: Scalars['String']; | ||
value: Scalars['String']; | ||
}; | ||
export declare type ConfigArgDefinition = { | ||
__typename?: 'ConfigArgDefinition'; | ||
name: Scalars['String']; | ||
type: Scalars['String']; | ||
label?: Maybe<Scalars['String']>; | ||
description?: Maybe<Scalars['String']>; | ||
config?: Maybe<Scalars['JSON']>; | ||
}; | ||
export declare type ConfigArgInput = { | ||
name: Scalars['String']; | ||
type: ConfigArgType; | ||
value?: Maybe<Scalars['String']>; | ||
type: Scalars['String']; | ||
value: Scalars['String']; | ||
}; | ||
export declare enum ConfigArgType { | ||
PERCENTAGE = "PERCENTAGE", | ||
MONEY = "MONEY", | ||
INT = "INT", | ||
STRING = "STRING", | ||
DATETIME = "DATETIME", | ||
BOOLEAN = "BOOLEAN", | ||
FACET_VALUE_IDS = "FACET_VALUE_IDS", | ||
STRING_OPERATOR = "STRING_OPERATOR" | ||
} | ||
export declare type ConfigurableOperation = { | ||
@@ -211,2 +204,7 @@ __typename?: 'ConfigurableOperation'; | ||
args: Array<ConfigArg>; | ||
}; | ||
export declare type ConfigurableOperationDefinition = { | ||
__typename?: 'ConfigurableOperationDefinition'; | ||
code: Scalars['String']; | ||
args: Array<ConfigArgDefinition>; | ||
description: Scalars['String']; | ||
@@ -213,0 +211,0 @@ }; |
@@ -19,13 +19,2 @@ "use strict"; | ||
})(AssetType = exports.AssetType || (exports.AssetType = {})); | ||
var ConfigArgType; | ||
(function (ConfigArgType) { | ||
ConfigArgType["PERCENTAGE"] = "PERCENTAGE"; | ||
ConfigArgType["MONEY"] = "MONEY"; | ||
ConfigArgType["INT"] = "INT"; | ||
ConfigArgType["STRING"] = "STRING"; | ||
ConfigArgType["DATETIME"] = "DATETIME"; | ||
ConfigArgType["BOOLEAN"] = "BOOLEAN"; | ||
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS"; | ||
ConfigArgType["STRING_OPERATOR"] = "STRING_OPERATOR"; | ||
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {})); | ||
var CurrencyCode; | ||
@@ -32,0 +21,0 @@ (function (CurrencyCode) { |
@@ -19,13 +19,2 @@ "use strict"; | ||
})(AssetType = exports.AssetType || (exports.AssetType = {})); | ||
var ConfigArgType; | ||
(function (ConfigArgType) { | ||
ConfigArgType["PERCENTAGE"] = "PERCENTAGE"; | ||
ConfigArgType["MONEY"] = "MONEY"; | ||
ConfigArgType["INT"] = "INT"; | ||
ConfigArgType["STRING"] = "STRING"; | ||
ConfigArgType["DATETIME"] = "DATETIME"; | ||
ConfigArgType["BOOLEAN"] = "BOOLEAN"; | ||
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS"; | ||
ConfigArgType["STRING_OPERATOR"] = "STRING_OPERATOR"; | ||
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {})); | ||
var CurrencyCode; | ||
@@ -32,0 +21,0 @@ (function (CurrencyCode) { |
@@ -13,2 +13,4 @@ export declare type DeepPartial<T> = { | ||
export declare type CustomFieldType = 'string' | 'localeString' | 'int' | 'float' | 'boolean' | 'datetime'; | ||
export declare type ConfigArgType = 'string' | 'int' | 'float' | 'boolean' | 'datetime' | 'facetValueIds'; | ||
export declare type ConfigArgSubset<T extends ConfigArgType> = T; | ||
export declare type CustomFieldsObject = { | ||
@@ -15,0 +17,0 @@ [key: string]: any; |
{ | ||
"name": "@vendure/common", | ||
"version": "0.1.2-beta.10", | ||
"version": "0.1.2-beta.11", | ||
"main": "index.js", | ||
@@ -21,3 +21,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "d15cf9da0ecbf0fc153b945ba8ec60df5bde33b3" | ||
"gitHead": "236882c3469436a5ce41ee43cc3f12e1a3ba0816" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5126
178942