@measured/puck 0.14.0-canary.55740c4 → 0.14.0-canary.b365418
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-1444273f.d.ts → Config-ab049d49.d.ts} +4 -0
- package/dist/index.css +791 -539
- package/dist/index.d.ts +2 -2
- package/dist/index.js +168 -105
- package/dist/rsc.d.ts +1 -1
- package/package.json +1 -1
@@ -91,11 +91,15 @@ type ExternalField<Props extends {
|
|
91
91
|
placeholder?: string;
|
92
92
|
fetchList: (params: {
|
93
93
|
query: string;
|
94
|
+
filters: Record<string, any>;
|
94
95
|
}) => Promise<any[] | null>;
|
95
96
|
mapProp?: (value: any) => Props;
|
97
|
+
mapRow?: (value: any) => Record<string, string | number>;
|
96
98
|
getItemSummary: (item: Props, index?: number) => string;
|
97
99
|
showSearch?: boolean;
|
98
100
|
initialQuery?: string;
|
101
|
+
filterFields?: Record<string, Field>;
|
102
|
+
initialFilters?: Record<string, any>;
|
99
103
|
};
|
100
104
|
type CustomField<Props extends {
|
101
105
|
[key: string]: any;
|