@portabletext/schema
Version:
Portable Text Schema
23 lines (22 loc) • 501 B
text/typescript
export {compileSchema} from './compile-schema'
export {
defineSchema,
type AnnotationDefinition,
type BlockObjectDefinition,
type DecoratorDefinition,
type InlineObjectDefinition,
type ListDefinition,
type SchemaDefinition,
type StyleDefinition,
} from './define-schema'
export type {
AnnotationSchemaType,
BaseDefinition,
BlockObjectSchemaType,
DecoratorSchemaType,
FieldDefinition,
InlineObjectSchemaType,
ListSchemaType,
Schema,
StyleSchemaType,
} from './schema'