Skip to main content

gitfox_client/models/
mod.rs

1//! Domain models owned by the client.
2//!
3//! These are deliberately *not* the raw GitFox API DTOs: keeping a translation
4//! layer means an upstream API change is absorbed by a serde attribute here
5//! instead of leaking into the CLI's stable JSON schema.
6
7mod activity;
8mod commit;
9mod content;
10mod gitspace;
11mod label;
12mod pipeline;
13mod principal;
14mod pull_request;
15mod repo_ref;
16mod repository;
17mod rule;
18mod space;
19mod user;
20
21pub use activity::{CodeComment, PullRequestActivity, PullRequestReviewer, ReviewDecision};
22pub use commit::{Commit, Identity, Signature};
23pub use content::{Content, ContentEntry, decode_base64, encode_base64};
24pub use gitspace::{CreateGitspace, Gitspace, GitspaceInstance};
25pub use label::{
26    LABEL_COLORS, Label, LabelAssignment, LabelInput, LabelValue, LabelValueInfo,
27    PullRequestLabels, label_color, label_color_hex,
28};
29pub use pipeline::{CiStatus, Execution, LogLine, Pipeline, Stage, Step};
30pub use principal::Principal;
31pub use pull_request::{
32    Check, CheckCountSummary, CreatePullRequest, FileDiff, MergeMethod, MergePullRequest,
33    MergeResult, PullRequest, PullRequestCheck, PullRequestChecks, PullRequestLabel,
34    PullRequestState, PullRequestStats, UpdatePullRequest,
35};
36pub use repo_ref::RepoRef;
37pub use repository::{CreateRepository, Repository};
38pub use rule::Rule;
39pub use space::{LicenseTemplate, Membership, PublicKey, Space, SpaceSecret, SystemConfig};
40pub use user::User;