/**
 * WordPress dependencies
 */
import { registerBlockType } from '@wordpress/blocks';
import { audio as icon } from '@wordpress/icons';

/**
 * Internal dependencies
 */
import Edit from './edit';
import metadata from './block.json';
import { getEpisodesAttributes } from '../utils';

/**
 * Register the block.
 */
registerBlockType( metadata, {
	attributes: getEpisodesAttributes(),
	icon,
	edit: Edit
} );
