@vendure/common 2.0.0-next.4 → 2.0.0-next.5
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/shared-types.d.ts +6 -1
- package/package.json +2 -2
package/lib/shared-types.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare type ConfigArgType = 'string' | 'int' | 'float' | 'boolean' | 'da
|
|
|
93
93
|
*
|
|
94
94
|
* @docsCategory ConfigurableOperationDef
|
|
95
95
|
*/
|
|
96
|
-
export declare type DefaultFormComponentId = 'boolean-form-input' | 'currency-form-input' | 'customer-group-form-input' | 'date-form-input' | 'facet-value-form-input' | 'json-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';
|
|
96
|
+
export declare type DefaultFormComponentId = 'boolean-form-input' | 'currency-form-input' | 'customer-group-form-input' | 'date-form-input' | 'facet-value-form-input' | 'json-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' | 'asset-form-input' | 'product-multi-form-input' | 'combination-mode-form-input';
|
|
97
97
|
/**
|
|
98
98
|
* @description
|
|
99
99
|
* Used to define the expected arguments for a given default form input component.
|
|
@@ -137,6 +137,11 @@ declare type DefaultFormConfigHash = {
|
|
|
137
137
|
'textarea-form-input': {
|
|
138
138
|
spellcheck?: boolean;
|
|
139
139
|
};
|
|
140
|
+
'asset-form-input': {};
|
|
141
|
+
'product-multi-form-input': {
|
|
142
|
+
selectionMode?: 'product' | 'variant';
|
|
143
|
+
};
|
|
144
|
+
'combination-mode-form-input': {};
|
|
140
145
|
};
|
|
141
146
|
export declare type DefaultFormComponentUiConfig<T extends DefaultFormComponentId | string> = T extends DefaultFormComponentId ? DefaultFormConfigHash[T] : any;
|
|
142
147
|
export declare type DefaultFormComponentConfig<T extends DefaultFormComponentId | string> = DefaultFormComponentUiConfig<T> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/common",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.5",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"rimraf": "^3.0.2",
|
|
23
23
|
"typescript": "4.5.5"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "0e4db8b73f2004e52c50bed3bd3b068acf4f7105"
|
|
26
26
|
}
|