@measured/puck 0.14.0-canary.55740c4 → 0.14.0-canary.b365418
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/{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;
|