__init__.py 954 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. BuildVersionInfo,
  13. RemoteInfo,
  14. BuildProgress,
  15. BuildRequest,
  16. BuildSubmitResponse,
  17. BuildOut,
  18. )
  19. # Vehicle schemas
  20. from .vehicles import (
  21. VehicleBase,
  22. VersionBase,
  23. VersionOut,
  24. BoardBase,
  25. BoardOut,
  26. CategoryBase,
  27. FeatureDefault,
  28. FeatureBase,
  29. FeatureOut,
  30. )
  31. __all__ = [
  32. # Admin
  33. "RefreshRemotesResponse",
  34. # Builds
  35. "BuildVersionInfo",
  36. "RemoteInfo",
  37. "BuildProgress",
  38. "BuildRequest",
  39. "BuildSubmitResponse",
  40. "BuildOut",
  41. # Vehicles
  42. "VehicleBase",
  43. "VersionBase",
  44. "VersionOut",
  45. "BoardBase",
  46. "BoardOut",
  47. "CategoryBase",
  48. "FeatureDefault",
  49. "FeatureBase",
  50. "FeatureOut",
  51. ]