Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: file structuring #2797

Merged
merged 4 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions apiserver/plane/api/apps.py

This file was deleted.

151 changes: 0 additions & 151 deletions apiserver/plane/api/urls/public_board.py

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions apiserver/plane/app/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class AppConfig(AppConfig):
name = "plane.app"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .base import BaseSerializer

from plane.db.models import Estimate, EstimatePoint
from plane.api.serializers import WorkspaceLiteSerializer, ProjectLiteSerializer
from plane.app.serializers import WorkspaceLiteSerializer, ProjectLiteSerializer


class EstimateSerializer(BaseSerializer):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import Integration, WorkspaceIntegration


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import (
GithubIssueSync,
GithubRepository,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import SlackProjectSync


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# Module imports
from .base import BaseSerializer, DynamicBaseSerializer
from plane.api.serializers.workspace import WorkSpaceSerializer, WorkspaceLiteSerializer
from plane.api.serializers.user import UserLiteSerializer, UserAdminLiteSerializer
from plane.app.serializers.workspace import WorkspaceLiteSerializer
from plane.app.serializers.user import UserLiteSerializer, UserAdminLiteSerializer
from plane.db.models import (
Project,
ProjectMember,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Module imports
from .base import BaseSerializer
from .workspace import WorkspaceLiteSerializer
from .project import ProjectLiteSerializer


from plane.db.models import State

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from .notification import urlpatterns as notification_urls
from .page import urlpatterns as page_urls
from .project import urlpatterns as project_urls
from .public_board import urlpatterns as public_board_urls
from .search import urlpatterns as search_urls
from .state import urlpatterns as state_urls
from .user import urlpatterns as user_urls
Expand Down Expand Up @@ -43,7 +42,6 @@
*notification_urls,
*page_urls,
*project_urls,
*public_board_urls,
*search_urls,
*state_urls,
*user_urls,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
AnalyticsEndpoint,
AnalyticViewViewset,
SavedAnalyticEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.urls import path
from plane.api.views import ApiTokenEndpoint
from plane.app.views import ApiTokenEndpoint

urlpatterns = [
# API Tokens
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
FileAssetEndpoint,
UserAssetsEndpoint,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from rest_framework_simplejwt.views import TokenRefreshView


from plane.api.views import (
from plane.app.views import (
# Authentication
SignUpEndpoint,
SignInEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import ConfigurationEndpoint
from plane.app.views import ConfigurationEndpoint

urlpatterns = [
path(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
CycleViewSet,
CycleIssueViewSet,
CycleDateCheckEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ProjectEstimatePointEndpoint,
BulkEstimatePointEndpoint,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from django.urls import path


from plane.api.views import UnsplashEndpoint
from plane.api.views import ReleaseNotesEndpoint
from plane.api.views import GPTIntegrationEndpoint
from plane.app.views import UnsplashEndpoint
from plane.app.views import ReleaseNotesEndpoint
from plane.app.views import GPTIntegrationEndpoint


urlpatterns = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ServiceIssueImportSummaryEndpoint,
ImportServiceEndpoint,
UpdateServiceImportStatusEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
InboxViewSet,
InboxIssueViewSet,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
IntegrationViewSet,
WorkspaceIntegrationViewSet,
GithubRepositoriesEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
IssueViewSet,
IssueListEndpoint,
IssueListGroupedEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ModuleViewSet,
ModuleIssueViewSet,
ModuleLinkViewSet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
NotificationViewSet,
UnreadNotificationEndpoint,
MarkAllReadNotificationViewSet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
PageViewSet,
PageFavoriteViewSet,
PageLogEndpoint,
Expand Down
Loading
Loading