@kuzntsv/uikit 1.0.61 → 1.0.62
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/package.json
CHANGED
|
@@ -380,8 +380,8 @@ export type SortDirection = 'asc' | 'desc' | '';
|
|
|
380
380
|
export type fnGetDataType<T> = () => Observable<T[]>;
|
|
381
381
|
/** @deprecated */
|
|
382
382
|
export type fnGetCountType<T> = () => Observable<number>;
|
|
383
|
-
export type fnGetDataByStateAndFilterType<T, F extends SafeFilterState = any> = (state: TableState, filters
|
|
384
|
-
export type fnGetCountByFilterType<F extends SafeFilterState = any> = (filters
|
|
383
|
+
export type fnGetDataByStateAndFilterType<T, F extends SafeFilterState = any> = (state: TableState, filters?: F) => HttpResourceRef<T[]>;
|
|
384
|
+
export type fnGetCountByFilterType<F extends SafeFilterState = any> = (filters?: F) => HttpResourceRef<number>;
|
|
385
385
|
export type fnMapEntityType<T> = () => (item: T) => T;
|
|
386
386
|
export declare const SortDirectionSchema: z.ZodCustom<SortDirection, SortDirection>;
|
|
387
387
|
export declare const SortStateSchema: z.ZodObject<{
|