@kentico/xperience-admin-base 29.0.3 → 29.1.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/dist/entry.d.ts
CHANGED
|
@@ -938,13 +938,13 @@ export declare type UseCommandConfig<TCommandResult, TCommandData> = {
|
|
|
938
938
|
* @param dependencies If present, command will only activate if the values in the list change.
|
|
939
939
|
* @returns Invocation callback to be executed manually.
|
|
940
940
|
*/
|
|
941
|
-
export declare const useFormComponentCommand: <TCommandResult, TCommandData = void>(fieldInfo: FieldInfo, commandName: string, config?: UseCommandConfig<TCommandResult, TCommandData
|
|
941
|
+
export declare const useFormComponentCommand: <TCommandResult, TCommandData = void>(fieldInfo: FieldInfo, commandName: string, config?: UseCommandConfig<TCommandResult, TCommandData>, dependencies?: React_2.DependencyList) => Command<TCommandData>;
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
944
|
* Returns the form command provider for the current page.
|
|
945
945
|
*/
|
|
946
946
|
export declare const useFormComponentCommandProvider: () => {
|
|
947
|
-
executeCommand: <TCommandResult = void, TData = void>(fieldInfo: FieldInfo, name: string, data?: TData
|
|
947
|
+
executeCommand: <TCommandResult = void, TData = void>(fieldInfo: FieldInfo, name: string, data?: TData, files?: FileList, abortController?: AbortController) => Promise<TCommandResult | undefined>;
|
|
948
948
|
};
|
|
949
949
|
|
|
950
950
|
/**
|