__init__.py 908 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. """
  2. API schemas for the CustomBuild application.
  3. This module exports all Pydantic models used for request/response validation
  4. across the API endpoints.
  5. """
  6. # Admin schemas
  7. from .admin import (
  8. RefreshRemotesResponse,
  9. )
  10. # Build schemas
  11. from .builds import (
  12. RemoteInfo,
  13. BuildProgress,
  14. BuildRequest,
  15. BuildSubmitResponse,
  16. BuildOut,
  17. )
  18. # Vehicle schemas
  19. from .vehicles import (
  20. VehicleBase,
  21. VersionBase,
  22. VersionOut,
  23. BoardBase,
  24. BoardOut,
  25. CategoryBase,
  26. FeatureDefault,
  27. FeatureBase,
  28. FeatureOut,
  29. )
  30. __all__ = [
  31. # Admin
  32. "RefreshRemotesResponse",
  33. # Builds
  34. "RemoteInfo",
  35. "BuildProgress",
  36. "BuildRequest",
  37. "BuildSubmitResponse",
  38. "BuildOut",
  39. # Vehicles
  40. "VehicleBase",
  41. "VersionBase",
  42. "VersionOut",
  43. "BoardBase",
  44. "BoardOut",
  45. "CategoryBase",
  46. "FeatureDefault",
  47. "FeatureBase",
  48. "FeatureOut",
  49. ]