Skip to main content

pipedash_core/domain/
mod.rs

1pub mod credential;
2pub mod device_alert;
3pub mod error;
4pub mod health;
5pub mod metrics;
6pub mod pairing;
7pub mod pipeline;
8pub mod pipeline_view;
9pub mod provider;
10pub mod push;
11pub mod refresh;
12pub mod run_logs;
13pub mod validation;
14
15pub use credential::{
16    SignInCredential,
17    SignInRef,
18    SignInStart,
19    SignInStatus,
20    SIGN_IN_CONFIG_KEY,
21    SIGN_IN_EXPIRED,
22};
23pub use device_alert::{
24    new_alert_id,
25    AlertKind,
26    DeviceAlert,
27    DevicePush,
28    NewDeviceAlert,
29};
30pub use error::{
31    DomainError,
32    DomainResult,
33    FailureKind,
34};
35pub use health::{
36    ComponentHealth,
37    EvidenceView,
38    HealthLevel,
39    HealthSignal,
40    Incident,
41    Maintenance,
42    ProviderHealth,
43    SignalKind,
44    StatusPageRef,
45};
46pub use metrics::{
47    AggregatedMetric,
48    AggregatedMetrics,
49    AggregationPeriod,
50    AggregationType,
51    GlobalMetricsConfig,
52    MetricEntry,
53    MetricMetadata,
54    MetricType,
55    MetricsConfig,
56    MetricsConfigExport,
57    MetricsQuery,
58    MetricsStats,
59    PipelineMetricsStats,
60};
61pub use pairing::{
62    PairedDevice,
63    ServerUrl,
64};
65pub use pipeline::{
66    PaginatedAvailablePipelines,
67    PaginatedRunHistory,
68    PaginationParams,
69    Pipeline,
70    PipelineRun,
71    PipelineStatus,
72    ResourceState,
73    TriggerParams,
74};
75pub use pipeline_view::{
76    CreateViewInput,
77    DateRange,
78    LegacyImportResult,
79    LegacyMarks,
80    MembershipSource,
81    PinKind,
82    PinnedBlock,
83    PinnedItem,
84    PipelineView,
85    PipelineViewPage,
86    PipelineViewQuery,
87    RuleMatcher,
88    SectionKind,
89    SectionMode,
90    SortDirection,
91    SortKey,
92    ViewCapabilities,
93    ViewDisplay,
94    ViewFacets,
95    ViewKind,
96    ViewLayout,
97    ViewMember,
98    ViewMembership,
99    ViewPatch,
100    ViewPipeline,
101    ViewRef,
102    ViewRules,
103    ViewSection,
104};
105pub use provider::{
106    FetchStatus,
107    FreshnessState,
108    Provider,
109    ProviderConfig,
110    ProviderFreshness,
111    ProviderImportResult,
112    ProviderRecovery,
113    ProviderSummary,
114};
115pub use push::PushSubscription;
116pub use refresh::{
117    RefreshResult,
118    RefreshState,
119};
120pub use run_logs::{
121    AnsiColor,
122    LineKind,
123    LineMarker,
124    LogAvailability,
125    LogCacheStats,
126    LogCursor,
127    LogDialect,
128    LogDocumentMeta,
129    LogLine,
130    LogLinesPage,
131    LogNode,
132    LogNodeKind,
133    LogRead,
134    LogReadMode,
135    LogSearchQuery,
136    LogSearchResult,
137    LogSection,
138    LogSectionKind,
139    LogSink,
140    LogStyle,
141    ParsedLine,
142    PlainDialect,
143    RunLogDocument,
144    RunLogNode,
145    RunLogTree,
146};
147pub use validation::{
148    validate_config,
149    validate_pagination,
150    validate_pipeline_id,
151    validate_provider_name,
152    validate_provider_type,
153    validate_trigger_params,
154};