@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/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +4 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/editor/editor-schema.ts +3 -0
- package/src/index.ts +1 -0
package/lib/index.d.cts
CHANGED
|
@@ -3243,7 +3243,10 @@ declare type ExternalEditorEvent =
|
|
|
3243
3243
|
declare type ExtractNamespace<TType extends string> =
|
|
3244
3244
|
TType extends `${infer Namespace}.${string}` ? Namespace : TType
|
|
3245
3245
|
|
|
3246
|
-
|
|
3246
|
+
/**
|
|
3247
|
+
* @public
|
|
3248
|
+
*/
|
|
3249
|
+
export declare type FieldDefinition = {
|
|
3247
3250
|
name: string
|
|
3248
3251
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object'
|
|
3249
3252
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -3243,7 +3243,10 @@ declare type ExternalEditorEvent =
|
|
|
3243
3243
|
declare type ExtractNamespace<TType extends string> =
|
|
3244
3244
|
TType extends `${infer Namespace}.${string}` ? Namespace : TType
|
|
3245
3245
|
|
|
3246
|
-
|
|
3246
|
+
/**
|
|
3247
|
+
* @public
|
|
3248
|
+
*/
|
|
3249
|
+
export declare type FieldDefinition = {
|
|
3247
3250
|
name: string
|
|
3248
3251
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object'
|
|
3249
3252
|
}
|