@measured/puck-field-contentful 0.15.1-canary.9b20506 → 0.16.0-canary.04fd6c5

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 +3 -3
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ type ObjectField<Props extends {
49
49
  [key: string]: any;
50
50
  }> = BaseField & {
51
51
  type: "object";
52
- objectFields: {
52
+ objectFields: Props extends any[] ? never : {
53
53
  [SubPropName in keyof Props]: Field<Props[SubPropName]>;
54
54
  };
55
55
  };
@@ -121,4 +121,4 @@ declare function createFieldContentful<T extends Entry = Entry>(contentType: str
121
121
  initialFilters?: ExternalField["initialFilters"];
122
122
  }): ExternalField<T>;
123
123
 
124
- export { Entry, createFieldContentful, createFieldContentful as default };
124
+ export { type 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.15.1-canary.9b20506",
3
+ "version": "0.16.0-canary.04fd6c5",
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.15.1-canary.9b20506",
21
+ "@measured/puck": "^0.16.0-canary.04fd6c5",
22
22
  "@types/react": "^18.2.0",
23
23
  "@types/react-dom": "^18.2.0",
24
24
  "contentful": "^10.8.6",
@@ -26,7 +26,7 @@
26
26
  "eslint-config-custom": "*",
27
27
  "tsconfig": "*",
28
28
  "tsup-config": "*",
29
- "typescript": "^4.5.2"
29
+ "typescript": "^5.5.4"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "contentful": "^10.0.0",