* dev: remove len for empty comparison * dev: using in instead of multiple ors * dev: assign expression to empty variables * dev: use f-string * dev: remove list comprehension and use generators * dev: remove assert from paginator * dev: use is for identity comparison with singleton * dev: remove unnecessary else statements * dev: fix does not exists error for both project and workspace * dev: remove reimports * dev: iterate a dictionary * dev: remove unused commented code * dev: remove redefinition * dev: remove unused imports * dev: remove unused imports * dev: remove unnecessary f strings * dev: remove unused variables * dev: use literal structure to create the data structure * dev: add empty lines at the end of the file * dev: remove user middleware * dev: remove unnecessary default None
169 lines
4.3 KiB
Python
169 lines
4.3 KiB
Python
from .project import (
|
|
ProjectViewSet,
|
|
ProjectMemberViewSet,
|
|
UserProjectInvitationsViewset,
|
|
InviteProjectEndpoint,
|
|
AddTeamToProjectEndpoint,
|
|
ProjectMemberInvitationsViewset,
|
|
ProjectMemberInviteDetailViewSet,
|
|
ProjectIdentifierEndpoint,
|
|
ProjectJoinEndpoint,
|
|
ProjectUserViewsEndpoint,
|
|
ProjectMemberUserEndpoint,
|
|
ProjectFavoritesViewSet,
|
|
ProjectDeployBoardViewSet,
|
|
ProjectDeployBoardPublicSettingsEndpoint,
|
|
WorkspaceProjectDeployBoardEndpoint,
|
|
LeaveProjectEndpoint,
|
|
ProjectPublicCoverImagesEndpoint,
|
|
)
|
|
from .user import (
|
|
UserEndpoint,
|
|
UpdateUserOnBoardedEndpoint,
|
|
UpdateUserTourCompletedEndpoint,
|
|
UserActivityEndpoint,
|
|
)
|
|
|
|
from .oauth import OauthEndpoint
|
|
|
|
from .base import BaseAPIView, BaseViewSet
|
|
|
|
from .workspace import (
|
|
WorkSpaceViewSet,
|
|
UserWorkSpacesEndpoint,
|
|
WorkSpaceAvailabilityCheckEndpoint,
|
|
InviteWorkspaceEndpoint,
|
|
JoinWorkspaceEndpoint,
|
|
WorkSpaceMemberViewSet,
|
|
TeamMemberViewSet,
|
|
WorkspaceInvitationsViewset,
|
|
UserWorkspaceInvitationsEndpoint,
|
|
UserWorkspaceInvitationEndpoint,
|
|
UserLastProjectWithWorkspaceEndpoint,
|
|
WorkspaceMemberUserEndpoint,
|
|
WorkspaceMemberUserViewsEndpoint,
|
|
UserActivityGraphEndpoint,
|
|
UserIssueCompletedGraphEndpoint,
|
|
UserWorkspaceDashboardEndpoint,
|
|
WorkspaceThemeViewSet,
|
|
WorkspaceUserProfileStatsEndpoint,
|
|
WorkspaceUserActivityEndpoint,
|
|
WorkspaceUserProfileEndpoint,
|
|
WorkspaceUserProfileIssuesEndpoint,
|
|
WorkspaceLabelsEndpoint,
|
|
LeaveWorkspaceEndpoint,
|
|
)
|
|
from .state import StateViewSet
|
|
from .view import GlobalViewViewSet, GlobalViewIssuesViewSet, IssueViewViewSet, IssueViewFavoriteViewSet
|
|
from .cycle import (
|
|
CycleViewSet,
|
|
CycleIssueViewSet,
|
|
CycleDateCheckEndpoint,
|
|
CycleFavoriteViewSet,
|
|
TransferCycleIssueEndpoint,
|
|
)
|
|
from .asset import FileAssetEndpoint, UserAssetsEndpoint
|
|
from .issue import (
|
|
IssueViewSet,
|
|
WorkSpaceIssuesEndpoint,
|
|
IssueActivityEndpoint,
|
|
IssueCommentViewSet,
|
|
IssueUserDisplayPropertyEndpoint,
|
|
LabelViewSet,
|
|
BulkDeleteIssuesEndpoint,
|
|
UserWorkSpaceIssues,
|
|
SubIssuesEndpoint,
|
|
IssueLinkViewSet,
|
|
BulkCreateIssueLabelsEndpoint,
|
|
IssueAttachmentEndpoint,
|
|
IssueArchiveViewSet,
|
|
IssueSubscriberViewSet,
|
|
IssueCommentPublicViewSet,
|
|
CommentReactionViewSet,
|
|
IssueReactionViewSet,
|
|
IssueReactionPublicViewSet,
|
|
CommentReactionPublicViewSet,
|
|
IssueVotePublicViewSet,
|
|
IssueRelationViewSet,
|
|
IssueRetrievePublicEndpoint,
|
|
ProjectIssuesPublicEndpoint,
|
|
IssueDraftViewSet,
|
|
)
|
|
|
|
from .auth_extended import (
|
|
VerifyEmailEndpoint,
|
|
RequestEmailVerificationEndpoint,
|
|
ForgotPasswordEndpoint,
|
|
ResetPasswordEndpoint,
|
|
ChangePasswordEndpoint,
|
|
)
|
|
|
|
|
|
from .authentication import (
|
|
SignUpEndpoint,
|
|
SignInEndpoint,
|
|
SignOutEndpoint,
|
|
MagicSignInEndpoint,
|
|
MagicSignInGenerateEndpoint,
|
|
)
|
|
|
|
from .module import (
|
|
ModuleViewSet,
|
|
ModuleIssueViewSet,
|
|
ModuleLinkViewSet,
|
|
ModuleFavoriteViewSet,
|
|
)
|
|
|
|
from .api_token import ApiTokenEndpoint
|
|
|
|
from .integration import (
|
|
WorkspaceIntegrationViewSet,
|
|
IntegrationViewSet,
|
|
GithubIssueSyncViewSet,
|
|
GithubRepositorySyncViewSet,
|
|
GithubCommentSyncViewSet,
|
|
GithubRepositoriesEndpoint,
|
|
BulkCreateGithubIssueSyncEndpoint,
|
|
SlackProjectSyncViewSet,
|
|
)
|
|
|
|
from .importer import (
|
|
ServiceIssueImportSummaryEndpoint,
|
|
ImportServiceEndpoint,
|
|
UpdateServiceImportStatusEndpoint,
|
|
BulkImportIssuesEndpoint,
|
|
BulkImportModulesEndpoint,
|
|
)
|
|
|
|
from .page import (
|
|
PageViewSet,
|
|
PageBlockViewSet,
|
|
PageFavoriteViewSet,
|
|
CreateIssueFromPageBlockEndpoint,
|
|
)
|
|
|
|
from .search import GlobalSearchEndpoint, IssueSearchEndpoint
|
|
|
|
|
|
from .external import GPTIntegrationEndpoint, ReleaseNotesEndpoint, UnsplashEndpoint
|
|
|
|
from .estimate import (
|
|
ProjectEstimatePointEndpoint,
|
|
BulkEstimatePointEndpoint,
|
|
)
|
|
|
|
from .inbox import InboxViewSet, InboxIssueViewSet, InboxIssuePublicViewSet
|
|
|
|
from .analytic import (
|
|
AnalyticsEndpoint,
|
|
AnalyticViewViewset,
|
|
SavedAnalyticEndpoint,
|
|
ExportAnalyticsEndpoint,
|
|
DefaultAnalyticsEndpoint,
|
|
)
|
|
|
|
from .notification import NotificationViewSet, UnreadNotificationEndpoint, MarkAllReadNotificationViewSet
|
|
|
|
from .exporter import ExportIssuesEndpoint
|
|
|
|
from .config import ConfigurationEndpoint
|