* chore: pages realtime * chore: empty binary response * chore: added a ypy package * feat: pages collaboration * chore: update fetching logic * chore: degrade ypy version * chore: replace useEffect fetch logic with useSWR * chore: move all the update logic to the page store * refactor: remove react-hook-form * chore: save description_html as well * chore: migrate old data logic * fix: added description_binary as field name * fix: code cleanup * refactor: create separate hook to handle page description * fix: build errors * chore: combine updates instead of using the whole document * chore: removed ypy package * chore: added conflict resolving logic to the client side * chore: add a save changes button * chore: add read-only validation * chore: remove saving state information * chore: added permission class * chore: removed the migration file * chore: corrected the model field * chore: rename pageStore to page * chore: update collaboration provider * chore: add try catch to handle error --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
226 lines
4.7 KiB
Python
226 lines
4.7 KiB
Python
from .project.base import (
|
|
ProjectViewSet,
|
|
ProjectIdentifierEndpoint,
|
|
ProjectUserViewsEndpoint,
|
|
ProjectFavoritesViewSet,
|
|
ProjectPublicCoverImagesEndpoint,
|
|
ProjectDeployBoardViewSet,
|
|
ProjectArchiveUnarchiveEndpoint,
|
|
)
|
|
|
|
from .project.invite import (
|
|
UserProjectInvitationsViewset,
|
|
ProjectInvitationsViewset,
|
|
ProjectJoinEndpoint,
|
|
)
|
|
|
|
from .project.member import (
|
|
ProjectMemberViewSet,
|
|
AddTeamToProjectEndpoint,
|
|
ProjectMemberUserEndpoint,
|
|
UserProjectRolesEndpoint,
|
|
)
|
|
|
|
from .user.base import (
|
|
UserEndpoint,
|
|
UpdateUserOnBoardedEndpoint,
|
|
UpdateUserTourCompletedEndpoint,
|
|
UserActivityEndpoint,
|
|
)
|
|
|
|
|
|
from .base import BaseAPIView, BaseViewSet
|
|
|
|
from .workspace.base import (
|
|
WorkSpaceViewSet,
|
|
UserWorkSpacesEndpoint,
|
|
WorkSpaceAvailabilityCheckEndpoint,
|
|
UserWorkspaceDashboardEndpoint,
|
|
WorkspaceThemeViewSet,
|
|
ExportWorkspaceUserActivityEndpoint,
|
|
)
|
|
|
|
from .workspace.member import (
|
|
WorkSpaceMemberViewSet,
|
|
TeamMemberViewSet,
|
|
WorkspaceMemberUserEndpoint,
|
|
WorkspaceProjectMemberEndpoint,
|
|
WorkspaceMemberUserViewsEndpoint,
|
|
)
|
|
from .workspace.invite import (
|
|
WorkspaceInvitationsViewset,
|
|
WorkspaceJoinEndpoint,
|
|
UserWorkspaceInvitationsViewSet,
|
|
)
|
|
from .workspace.label import (
|
|
WorkspaceLabelsEndpoint,
|
|
)
|
|
from .workspace.state import (
|
|
WorkspaceStatesEndpoint,
|
|
)
|
|
from .workspace.user import (
|
|
UserLastProjectWithWorkspaceEndpoint,
|
|
WorkspaceUserProfileIssuesEndpoint,
|
|
WorkspaceUserPropertiesEndpoint,
|
|
WorkspaceUserProfileEndpoint,
|
|
WorkspaceUserActivityEndpoint,
|
|
WorkspaceUserProfileStatsEndpoint,
|
|
UserActivityGraphEndpoint,
|
|
UserIssueCompletedGraphEndpoint,
|
|
)
|
|
from .workspace.estimate import (
|
|
WorkspaceEstimatesEndpoint,
|
|
)
|
|
from .workspace.module import (
|
|
WorkspaceModulesEndpoint,
|
|
)
|
|
from .workspace.cycle import (
|
|
WorkspaceCyclesEndpoint,
|
|
)
|
|
|
|
from .state.base import StateViewSet
|
|
from .view.base import (
|
|
GlobalViewViewSet,
|
|
GlobalViewIssuesViewSet,
|
|
IssueViewViewSet,
|
|
IssueViewFavoriteViewSet,
|
|
)
|
|
from .cycle.base import (
|
|
CycleViewSet,
|
|
CycleDateCheckEndpoint,
|
|
CycleFavoriteViewSet,
|
|
TransferCycleIssueEndpoint,
|
|
CycleUserPropertiesEndpoint,
|
|
CycleViewSet,
|
|
TransferCycleIssueEndpoint,
|
|
)
|
|
from .cycle.issue import (
|
|
CycleIssueViewSet,
|
|
)
|
|
from .cycle.archive import (
|
|
CycleArchiveUnarchiveEndpoint,
|
|
)
|
|
|
|
from .asset.base import FileAssetEndpoint, UserAssetsEndpoint, FileAssetViewSet
|
|
from .issue.base import (
|
|
IssueListEndpoint,
|
|
IssueViewSet,
|
|
IssueUserDisplayPropertyEndpoint,
|
|
BulkDeleteIssuesEndpoint,
|
|
)
|
|
|
|
from .issue.activity import (
|
|
IssueActivityEndpoint,
|
|
)
|
|
|
|
from .issue.archive import (
|
|
IssueArchiveViewSet,
|
|
)
|
|
|
|
from .issue.attachment import (
|
|
IssueAttachmentEndpoint,
|
|
)
|
|
|
|
from .issue.comment import (
|
|
IssueCommentViewSet,
|
|
CommentReactionViewSet,
|
|
)
|
|
|
|
from .issue.draft import IssueDraftViewSet
|
|
|
|
from .issue.label import (
|
|
LabelViewSet,
|
|
BulkCreateIssueLabelsEndpoint,
|
|
)
|
|
|
|
from .issue.link import (
|
|
IssueLinkViewSet,
|
|
)
|
|
|
|
from .issue.relation import (
|
|
IssueRelationViewSet,
|
|
)
|
|
|
|
from .issue.reaction import (
|
|
IssueReactionViewSet,
|
|
)
|
|
|
|
from .issue.sub_issue import (
|
|
SubIssuesEndpoint,
|
|
)
|
|
|
|
from .issue.subscriber import (
|
|
IssueSubscriberViewSet,
|
|
)
|
|
|
|
|
|
from .module.base import (
|
|
ModuleViewSet,
|
|
ModuleLinkViewSet,
|
|
ModuleFavoriteViewSet,
|
|
ModuleUserPropertiesEndpoint,
|
|
)
|
|
|
|
from .module.issue import (
|
|
ModuleIssueViewSet,
|
|
)
|
|
|
|
from .module.archive import (
|
|
ModuleArchiveUnarchiveEndpoint,
|
|
)
|
|
|
|
from .api import ApiTokenEndpoint
|
|
|
|
|
|
from .page.base import (
|
|
PageViewSet,
|
|
PageFavoriteViewSet,
|
|
PageLogEndpoint,
|
|
SubPagesEndpoint,
|
|
PagesDescriptionViewSet,
|
|
)
|
|
|
|
from .search import GlobalSearchEndpoint, IssueSearchEndpoint
|
|
|
|
|
|
from .external.base import (
|
|
GPTIntegrationEndpoint,
|
|
UnsplashEndpoint,
|
|
)
|
|
from .estimate.base import (
|
|
ProjectEstimatePointEndpoint,
|
|
BulkEstimatePointEndpoint,
|
|
)
|
|
|
|
from .inbox.base import InboxViewSet, InboxIssueViewSet
|
|
|
|
from .analytic.base import (
|
|
AnalyticsEndpoint,
|
|
AnalyticViewViewset,
|
|
SavedAnalyticEndpoint,
|
|
ExportAnalyticsEndpoint,
|
|
DefaultAnalyticsEndpoint,
|
|
)
|
|
|
|
from .notification.base import (
|
|
NotificationViewSet,
|
|
UnreadNotificationEndpoint,
|
|
UserNotificationPreferenceEndpoint,
|
|
)
|
|
|
|
from .exporter.base import ExportIssuesEndpoint
|
|
|
|
|
|
from .webhook.base import (
|
|
WebhookEndpoint,
|
|
WebhookLogsEndpoint,
|
|
WebhookSecretRegenerateEndpoint,
|
|
)
|
|
|
|
from .dashboard.base import DashboardEndpoint, WidgetsEndpoint
|
|
|
|
from .error_404 import custom_404_view
|
|
|
|
from .exporter.base import ExportIssuesEndpoint
|
|
from .notification.base import MarkAllReadNotificationViewSet
|
|
from .user.base import AccountEndpoint, ProfileEndpoint, UserSessionEndpoint
|