# Generated by Django 3.2.13 on 2022-10-05 12:18

import wagtail.blocks
import wagtail.fields
from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
        ("media_library", "0001_initial"),
    ]

    operations = [
        migrations.AlterField(
            model_name="mediacategorypage",
            name="body",
            field=wagtail.fields.StreamField(
                [
                    (
                        "content_collection",
                        wagtail.blocks.StructBlock(
                            [
                                ("title", wagtail.blocks.TextBlock()),
                                (
                                    "description",
                                    wagtail.blocks.TextBlock(
                                        default="", required=False
                                    ),
                                ),
                                (
                                    "contents",
                                    wagtail.blocks.StreamBlock(
                                        [
                                            (
                                                "learn_media",
                                                wagtail.blocks.StructBlock(
                                                    [
                                                        (
                                                            "title",
                                                            wagtail.blocks.TextBlock(),
                                                        ),
                                                        (
                                                            "description",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "icon_url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "link_display_text",
                                                            wagtail.blocks.CharBlock(
                                                                default="Link öffnen",
                                                                max_length=255,
                                                            ),
                                                        ),
                                                        (
                                                            "url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "open_window",
                                                            wagtail.blocks.BooleanBlock(
                                                                default=False
                                                            ),
                                                        ),
                                                        (
                                                            "page",
                                                            wagtail.blocks.PageChooserBlock(
                                                                page_type=[
                                                                    "learnpath.LearningContent"
                                                                ],
                                                                required=False,
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "external_link",
                                                wagtail.blocks.StructBlock(
                                                    [
                                                        (
                                                            "title",
                                                            wagtail.blocks.TextBlock(),
                                                        ),
                                                        (
                                                            "description",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "icon_url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "link_display_text",
                                                            wagtail.blocks.CharBlock(
                                                                default="Link öffnen",
                                                                max_length=255,
                                                            ),
                                                        ),
                                                        (
                                                            "url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "open_window",
                                                            wagtail.blocks.BooleanBlock(
                                                                default=False
                                                            ),
                                                        ),
                                                        (
                                                            "page",
                                                            wagtail.blocks.PageChooserBlock(
                                                                page_type=[
                                                                    "learnpath.LearningContent"
                                                                ],
                                                                required=False,
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "internal_link",
                                                wagtail.blocks.StructBlock(
                                                    [
                                                        (
                                                            "title",
                                                            wagtail.blocks.TextBlock(),
                                                        ),
                                                        (
                                                            "description",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "icon_url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "link_display_text",
                                                            wagtail.blocks.CharBlock(
                                                                default="Link öffnen",
                                                                max_length=255,
                                                            ),
                                                        ),
                                                        (
                                                            "url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "open_window",
                                                            wagtail.blocks.BooleanBlock(
                                                                default=False
                                                            ),
                                                        ),
                                                        (
                                                            "page",
                                                            wagtail.blocks.PageChooserBlock(
                                                                page_type=[
                                                                    "learnpath.LearningContent"
                                                                ],
                                                                required=False,
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                            (
                                                "relative_link",
                                                wagtail.blocks.StructBlock(
                                                    [
                                                        (
                                                            "title",
                                                            wagtail.blocks.TextBlock(),
                                                        ),
                                                        (
                                                            "description",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "icon_url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "link_display_text",
                                                            wagtail.blocks.CharBlock(
                                                                default="Link öffnen",
                                                                max_length=255,
                                                            ),
                                                        ),
                                                        (
                                                            "url",
                                                            wagtail.blocks.TextBlock(
                                                                default="",
                                                                required=False,
                                                            ),
                                                        ),
                                                        (
                                                            "open_window",
                                                            wagtail.blocks.BooleanBlock(
                                                                default=False
                                                            ),
                                                        ),
                                                        (
                                                            "page",
                                                            wagtail.blocks.PageChooserBlock(
                                                                page_type=[
                                                                    "learnpath.LearningContent"
                                                                ],
                                                                required=False,
                                                            ),
                                                        ),
                                                    ]
                                                ),
                                            ),
                                        ]
                                    ),
                                ),
                            ]
                        ),
                    )
                ],
                null=True,
                use_json_field=True,
            ),
        ),
    ]
