<reponame>sparcs-kaist/new-ara-api
from rest_framework import routers

from apps.core.views import viewsets

router = routers.DefaultRouter()

# BoardViewSet
router.register(
    prefix=r'boards',
    viewset=viewsets.BoardViewSet,
)

# ArticleViewSet
router.register(
    prefix=r'articles',
    viewset=viewsets.ArticleViewSet,
)

# CommentViewSet
router.register(
    prefix=r'comments',
    viewset=viewsets.CommentViewSet,
)

# ReportViewSet
router.register(
    prefix=r'reports',
    viewset=viewsets.ReportViewSet,
)

# BlockViewSet
router.register(
    prefix=r'blocks',
    viewset=viewsets.BlockViewSet,
)

# AttachmentViewSet
router.register(
    prefix=r'attachments',
    viewset=viewsets.AttachmentViewSet,
)

# ScrapViewSet
router.register(
    prefix=r'scraps',
    viewset=viewsets.ScrapViewSet,
)

# NotificationViewSet
router.register(
    prefix=r'notifications',
    viewset=viewsets.NotificationViewSet,
)


# FAQViewSet
router.register(
    prefix=r'faqs',
    viewset=viewsets.FAQViewSet,
)


# BestSearchViewSet
router.register(
    prefix=f'best_searches',
    viewset=viewsets.BestSearchViewSet,
)

from rest_framework import routers

from apps.core.views import viewsets

router = routers.DefaultRouter()

# BoardViewSet
router.register(
    prefix=r'boards',
    viewset=viewsets.BoardViewSet,
)

# ArticleViewSet
router.register(
    prefix=r'articles',
    viewset=viewsets.ArticleViewSet,
)

# CommentViewSet
router.register(
    prefix=r'comments',
    viewset=viewsets.CommentViewSet,
)

# ReportViewSet
router.register(
    prefix=r'reports',
    viewset=viewsets.ReportViewSet,
)

# BlockViewSet
router.register(
    prefix=r'blocks',
    viewset=viewsets.BlockViewSet,
)

# AttachmentViewSet
router.register(
    prefix=r'attachments',
    viewset=viewsets.AttachmentViewSet,
)

# ScrapViewSet
router.register(
    prefix=r'scraps',
    viewset=viewsets.ScrapViewSet,
)

# NotificationViewSet
router.register(
    prefix=r'notifications',
    viewset=viewsets.NotificationViewSet,
)


# FAQViewSet
router.register(
    prefix=r'faqs',
    viewset=viewsets.FAQViewSet,
)


# BestSearchViewSet
router.register(
    prefix=f'best_searches',
    viewset=viewsets.BestSearchViewSet,
)
# BoardViewSet # ArticleViewSet # CommentViewSet # ReportViewSet # BlockViewSet # AttachmentViewSet # ScrapViewSet # NotificationViewSet # FAQViewSet # BestSearchViewSet