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