87 lines
1.7 KiB
Python
87 lines
1.7 KiB
Python
"""asf-domain: shared Pydantic models for Azurian Software Factory.
|
|
|
|
Every Python service in ASF imports its domain models from this package.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
from asf_domain.base import (
|
|
ASFBaseModel,
|
|
TenantScopedModel,
|
|
generate_id,
|
|
UTCDatetime,
|
|
ArtifactType,
|
|
RelationshipType,
|
|
JobStatus,
|
|
JobPriority,
|
|
JobType,
|
|
AuditAction,
|
|
)
|
|
from asf_domain.identity import (
|
|
Organization,
|
|
OrganizationCreate,
|
|
OrganizationUpdate,
|
|
Project,
|
|
ProjectCreate,
|
|
ProjectUpdate,
|
|
Team,
|
|
User,
|
|
)
|
|
from asf_domain.artifact import (
|
|
Artifact,
|
|
ArtifactCreate,
|
|
ArtifactUpdate,
|
|
ArtifactRelationship,
|
|
ArtifactRelationshipCreate,
|
|
RelationshipDirection,
|
|
)
|
|
from asf_domain.job import (
|
|
Job,
|
|
JobCreate,
|
|
JobUpdate,
|
|
JobUsage,
|
|
)
|
|
from asf_domain.ai_execution import (
|
|
AIExecution,
|
|
AIExecutionCreate,
|
|
)
|
|
from asf_domain.integration import Integration, IntegrationCreate
|
|
from asf_domain.audit import AuditEvent, AuditEventCreate
|
|
|
|
__all__ = [
|
|
"ASFBaseModel",
|
|
"TenantScopedModel",
|
|
"generate_id",
|
|
"UTCDatetime",
|
|
"ArtifactType",
|
|
"RelationshipType",
|
|
"JobStatus",
|
|
"JobPriority",
|
|
"JobType",
|
|
"AuditAction",
|
|
"Organization",
|
|
"OrganizationCreate",
|
|
"OrganizationUpdate",
|
|
"Project",
|
|
"ProjectCreate",
|
|
"ProjectUpdate",
|
|
"Team",
|
|
"User",
|
|
"Artifact",
|
|
"ArtifactCreate",
|
|
"ArtifactUpdate",
|
|
"ArtifactRelationship",
|
|
"ArtifactRelationshipCreate",
|
|
"RelationshipDirection",
|
|
"Job",
|
|
"JobCreate",
|
|
"JobUpdate",
|
|
"JobUsage",
|
|
"AIExecution",
|
|
"AIExecutionCreate",
|
|
"Integration",
|
|
"IntegrationCreate",
|
|
"AuditEvent",
|
|
"AuditEventCreate",
|
|
]
|