cleanup
This commit is contained in:
@@ -6,13 +6,12 @@ export interface EnumOption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface FieldOverride {
|
export interface FieldOverride {
|
||||||
displayField?: string | string[];
|
displayFormat?: string;
|
||||||
display?: boolean;
|
display?: boolean;
|
||||||
formatter?: (value: any) => string;
|
formatter?: (value: any) => string;
|
||||||
filterType?: "autocomplete" | "multiselect" | "number-range" | "date-range";
|
filterType?: "autocomplete" | "multiselect" | "number-range" | "date-range";
|
||||||
enumLabels?: Record<string, string>;
|
enumLabels?: Record<string, string>;
|
||||||
// New optional properties to support custom config extensions
|
// New optional properties to support custom config extensions
|
||||||
displayFormat?: string;
|
|
||||||
path?: string;
|
path?: string;
|
||||||
refers?: string;
|
refers?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ResourceOverride } from "../react-openapi/types/overrides";
|
import { ResourceOverride } from "../react-openapi";
|
||||||
|
|
||||||
export const configuration: Record<string, ResourceOverride> = {
|
export const configuration: Record<string, ResourceOverride> = {
|
||||||
expenses: {
|
expenses: {
|
||||||
|
|||||||
Reference in New Issue
Block a user