@temboplus/afloat 0.2.0-beta.6 → 0.2.0-beta.8
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.
|
@@ -8,6 +8,10 @@ export interface ActiveFilter {
|
|
|
8
8
|
label: string;
|
|
9
9
|
value: string;
|
|
10
10
|
}
|
|
11
|
+
export interface DescribeFiltersOptions {
|
|
12
|
+
/** Custom date formatter function */
|
|
13
|
+
formatDate?: (date: string) => string;
|
|
14
|
+
}
|
|
11
15
|
/**
|
|
12
16
|
* Payout-specific query builder that extends the base QueryBuilder
|
|
13
17
|
* and handles all possible input conversions (DTOs, URL params, etc.)
|
|
@@ -116,9 +120,10 @@ export declare class PayoutQuery extends QueryBuilder {
|
|
|
116
120
|
hasFilters(): boolean;
|
|
117
121
|
/**
|
|
118
122
|
* Get active filters as structured objects for programmatic use
|
|
123
|
+
* @param options - Formatting options
|
|
119
124
|
* @returns Array of ActiveFilter objects with label and value
|
|
120
125
|
*/
|
|
121
|
-
describeFilters(): ActiveFilter[];
|
|
126
|
+
describeFilters(options?: DescribeFiltersOptions): ActiveFilter[];
|
|
122
127
|
/**
|
|
123
128
|
* Get active filters as human-readable strings for display
|
|
124
129
|
* @returns Array of formatted filter strings
|