LinkDesk/backend/models/__init__.py

39 lines
1.3 KiB
Python

# Models package
from .user import User, UserRole, DepartmentRole
from .project import Project, ProjectMember, ProjectStatus
from .episode import Episode, EpisodeStatus
from .asset import Asset, AssetCategory, AssetStatus
from .shot import Shot, ShotStatus
from .task import (
Task, Submission, Review, ProductionNote, TaskAttachment,
TaskType, TaskStatus, ReviewDecision, AttachmentType
)
from .api_key import APIKey, APIKeyScope
from .api_key_usage import APIKeyUsage
from .global_settings import GlobalSettings
from .notification import Notification, UserNotificationPreference, NotificationType
from .activity import Activity, ActivityType
__all__ = [
# User models
"User", "UserRole", "DepartmentRole",
# Project models
"Project", "ProjectMember", "ProjectStatus",
# Episode models
"Episode", "EpisodeStatus",
# Asset models
"Asset", "AssetCategory", "AssetStatus",
# Shot models
"Shot", "ShotStatus",
# Task models
"Task", "Submission", "Review", "ProductionNote", "TaskAttachment",
"TaskType", "TaskStatus", "ReviewDecision", "AttachmentType",
# API Key models
"APIKey", "APIKeyScope", "APIKeyUsage",
# Global Settings models
"GlobalSettings",
# Notification models
"Notification", "UserNotificationPreference", "NotificationType",
# Activity models
"Activity", "ActivityType"
]