import { defineBlockSchema } from '@blockeditor/store';
export const ParagraphBlockSchema = defineBlockSchema({
    flavour: 'affine:paragraph',
    props: internal => ({
        type: 'text',
        text: internal.Text(),
    }),
    metadata: {
        version: 1,
        role: 'content',
        parent: [
            'affine:note',
            'affine:database',
            'affine:paragraph',
            'affine:list',
        ],
    },
});
//# sourceMappingURL=paragraph-model.js.map