Coverage for src / ezqt_app / domain / __init__.py: 100.00%
6 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-26 07:07 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-26 07:07 +0000
1# ///////////////////////////////////////////////////////////////
2# DOMAIN - Domain layer aggregator
3# Project: ezqt_app
4# ///////////////////////////////////////////////////////////////
6"""Domain layer — pure contracts and models, no infrastructure dependencies."""
8from __future__ import annotations
10# ///////////////////////////////////////////////////////////////
11# PUBLIC API
12# ///////////////////////////////////////////////////////////////
13from .errors import (
14 BootstrapError,
15 DomainError,
16 EzQtError,
17 InitAlreadyInitializedError,
18 InitStepError,
19 InvalidOverwritePolicyError,
20 MissingPackageResourceError,
21 ResourceCompilationError,
22 ResourceError,
23)
24from .models import (
25 FONT_SPECS,
26 SIZE_POLICY_SPECS,
27 FontSpec,
28 RuntimeStateModel,
29 SizePolicySpec,
30)
31from .ports import (
32 ConfigServiceProtocol,
33 RuntimeStateServiceProtocol,
34 SettingsServiceProtocol,
35 TranslationServiceProtocol,
36 UiComponentFactoryProtocol,
37)
38from .results import BaseResult, InitResult, InitStepResult, ResultError
40# ///////////////////////////////////////////////////////////////
41# PUBLIC API
42# ///////////////////////////////////////////////////////////////
43__all__ = [
44 # Models
45 "RuntimeStateModel",
46 "FontSpec",
47 "SizePolicySpec",
48 "FONT_SPECS",
49 "SIZE_POLICY_SPECS",
50 # Errors
51 "EzQtError",
52 "DomainError",
53 "BootstrapError",
54 "InitAlreadyInitializedError",
55 "InitStepError",
56 "ResourceError",
57 "MissingPackageResourceError",
58 "ResourceCompilationError",
59 "InvalidOverwritePolicyError",
60 # Ports
61 "ConfigServiceProtocol",
62 "RuntimeStateServiceProtocol",
63 "SettingsServiceProtocol",
64 "TranslationServiceProtocol",
65 "UiComponentFactoryProtocol",
66 # Results
67 "BaseResult",
68 "InitResult",
69 "InitStepResult",
70 "ResultError",
71]