@vendure/common
Advanced tools
Comparing version 3.1.0-next.3 to 3.1.0-next.4
@@ -365,2 +365,3 @@ "use strict"; | ||
ErrorCode["NO_ACTIVE_ORDER_ERROR"] = "NO_ACTIVE_ORDER_ERROR"; | ||
ErrorCode["ORDER_INTERCEPTOR_ERROR"] = "ORDER_INTERCEPTOR_ERROR"; | ||
ErrorCode["ORDER_LIMIT_ERROR"] = "ORDER_LIMIT_ERROR"; | ||
@@ -367,0 +368,0 @@ ErrorCode["ORDER_MODIFICATION_ERROR"] = "ORDER_MODIFICATION_ERROR"; |
@@ -378,2 +378,3 @@ "use strict"; | ||
ErrorCode["NO_CHANGES_SPECIFIED_ERROR"] = "NO_CHANGES_SPECIFIED_ERROR"; | ||
ErrorCode["ORDER_INTERCEPTOR_ERROR"] = "ORDER_INTERCEPTOR_ERROR"; | ||
ErrorCode["ORDER_LIMIT_ERROR"] = "ORDER_LIMIT_ERROR"; | ||
@@ -380,0 +381,0 @@ ErrorCode["ORDER_MODIFICATION_ERROR"] = "ORDER_MODIFICATION_ERROR"; |
@@ -64,3 +64,3 @@ import { LanguageCode, LocalizedString } from './generated-types'; | ||
* text | longtext(m), text(p,s) | String | ||
* localeText | longtext(m), text(p,s) | String | ||
* localeText | longtext(m), text(p,s) | String | ||
* int | int | Int | ||
@@ -70,2 +70,3 @@ * float | double precision | Float | ||
* datetime | datetime (m,s), timestamp (p) | DateTime | ||
* struct | json (m), jsonb (p), text (s) | JSON | ||
* relation | many-to-one / many-to-many relation | As specified in config | ||
@@ -78,3 +79,4 @@ * | ||
*/ | ||
export type CustomFieldType = 'string' | 'localeString' | 'int' | 'float' | 'boolean' | 'datetime' | 'relation' | 'text' | 'localeText'; | ||
export type CustomFieldType = 'string' | 'localeString' | 'int' | 'float' | 'boolean' | 'datetime' | 'relation' | 'text' | 'localeText' | 'struct'; | ||
export type StructFieldType = 'string' | 'int' | 'float' | 'boolean' | 'datetime' | 'text'; | ||
/** | ||
@@ -100,3 +102,3 @@ * @description | ||
*/ | ||
export type DefaultFormComponentId = 'boolean-form-input' | 'currency-form-input' | 'customer-group-form-input' | 'date-form-input' | 'facet-value-form-input' | 'json-editor-form-input' | 'html-editor-form-input' | 'number-form-input' | 'password-form-input' | 'product-selector-form-input' | 'relation-form-input' | 'rich-text-form-input' | 'select-form-input' | 'text-form-input' | 'textarea-form-input' | 'product-multi-form-input' | 'combination-mode-form-input'; | ||
export type DefaultFormComponentId = 'boolean-form-input' | 'currency-form-input' | 'customer-group-form-input' | 'date-form-input' | 'facet-value-form-input' | 'json-editor-form-input' | 'html-editor-form-input' | 'number-form-input' | 'password-form-input' | 'product-selector-form-input' | 'relation-form-input' | 'rich-text-form-input' | 'select-form-input' | 'text-form-input' | 'textarea-form-input' | 'product-multi-form-input' | 'combination-mode-form-input' | 'struct-form-input'; | ||
/** | ||
@@ -152,2 +154,3 @@ * @description | ||
'combination-mode-form-input': Record<string, never>; | ||
'struct-form-input': Record<string, never>; | ||
}; | ||
@@ -154,0 +157,0 @@ export type DefaultFormComponentUiConfig<T extends DefaultFormComponentId | string> = T extends DefaultFormComponentId ? DefaultFormConfigHash[T] : any; |
{ | ||
"name": "@vendure/common", | ||
"version": "3.1.0-next.3", | ||
"version": "3.1.0-next.4", | ||
"main": "index.js", | ||
@@ -25,3 +25,3 @@ "license": "GPL-3.0-or-later", | ||
}, | ||
"gitHead": "928df0bde4599d2afba02ad4798907271eb28c62" | ||
"gitHead": "02913c0b949bb7bb8d620b608459cc23ec972dbc" | ||
} |
Sorry, the diff of this file is too big to display
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
482147
11916