@measured/puck-field-contentful 0.14.0-canary.674ac43 → 0.14.0-canary.83be956

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +2 -2
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: (item: Props, index?: number) => string;
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 { type Entry, createFieldContentful, createFieldContentful as default };
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.0-canary.674ac43",
3
+ "version": "0.14.0-canary.83be956",
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.0-canary.674ac43",
21
+ "@measured/puck": "^0.14.0-canary.83be956",
22
22
  "@types/react": "^18.2.0",
23
23
  "@types/react-dom": "^18.2.0",
24
24
  "contentful": "^10.8.6",