@measured/puck-field-contentful 0.14.0-canary.674ac43 → 0.14.1-canary.041ca64
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -2
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
@@ -82,7 +82,7 @@ type ExternalField<Props extends {
|
|
82
82
|
}) => Promise<any[] | null>;
|
83
83
|
mapProp?: (value: any) => Props;
|
84
84
|
mapRow?: (value: any) => Record<string, string | number>;
|
85
|
-
getItemSummary
|
85
|
+
getItemSummary?: (item: Props, index?: number) => string;
|
86
86
|
showSearch?: boolean;
|
87
87
|
initialQuery?: string;
|
88
88
|
filterFields?: Record<string, Field>;
|
@@ -120,4 +120,4 @@ declare function createFieldContentful<T extends Entry = Entry>(contentType: str
|
|
120
120
|
initialFilters?: ExternalField["initialFilters"];
|
121
121
|
}): ExternalField<T>;
|
122
122
|
|
123
|
-
export {
|
123
|
+
export { Entry, createFieldContentful, createFieldContentful as default };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-field-contentful",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.1-canary.041ca64",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"dist"
|
19
19
|
],
|
20
20
|
"devDependencies": {
|
21
|
-
"@measured/puck": "^0.14.
|
21
|
+
"@measured/puck": "^0.14.1-canary.041ca64",
|
22
22
|
"@types/react": "^18.2.0",
|
23
23
|
"@types/react-dom": "^18.2.0",
|
24
24
|
"contentful": "^10.8.6",
|
@@ -29,7 +29,6 @@
|
|
29
29
|
"typescript": "^4.5.2"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"@measured/puck": "^0.13.0",
|
33
32
|
"contentful": "^10.0.0",
|
34
33
|
"react": "^17.0.0 || ^18.0.0"
|
35
34
|
}
|