@portabletext/editor 1.54.2 → 1.54.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portabletext/editor",
3
- "version": "1.54.2",
3
+ "version": "1.54.3",
4
4
  "description": "Portable Text Editor made in React",
5
5
  "keywords": [
6
6
  "sanity",
@@ -13,6 +13,9 @@ export type BaseDefinition = {
13
13
  title?: string
14
14
  }
15
15
 
16
+ /**
17
+ * @public
18
+ */
16
19
  export type FieldDefinition = {
17
20
  name: string
18
21
  type: 'string' | 'number' | 'boolean' | 'array' | 'object'
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@ export {
17
17
  export {
18
18
  defineSchema,
19
19
  type BaseDefinition,
20
+ type FieldDefinition,
20
21
  type SchemaDefinition,
21
22
  } from './editor/editor-schema'
22
23
  export type {EditorSchema} from './editor/editor-schema'