Skip to main content

ephemeris_forge_github/
operation.rs

1/// The access operations.
2pub mod access;
3/// The actions operations.
4pub mod actions;
5/// The autolinks operations.
6pub mod autolinks;
7/// The custom properties operations.
8pub mod custom_properties;
9/// The environments operations.
10pub mod environments;
11/// The labels operations.
12pub mod labels;
13/// The pages operations.
14pub mod pages;
15/// The repository operations.
16pub mod repository;
17/// The rulesets operations.
18pub mod rulesets;
19/// The security operations.
20pub mod security;
21/// The variables operations.
22pub mod variables;
23/// The webhooks operations.
24pub mod webhooks;
25
26ephemeris_forge::operation_enum! {
27    /// One write against GitHub.
28    pub enum Operation {
29        /// A write to the repository's own settings.
30        Repository(repository::Operation),
31        /// A write to a ruleset.
32        Rulesets(rulesets::Operation),
33        /// A write to the repository's team grants.
34        Access(access::Operation),
35        /// A write to the repository's security settings.
36        Security(security::Operation),
37        /// A write to the repository's Pages site.
38        Pages(pages::Operation),
39        /// A write to the repository's deployment environments.
40        Environments(environments::Operation),
41        /// A write to a GitHub Actions settings group.
42        Actions(actions::Group),
43        /// A write to the repository's autolink references.
44        Autolinks(autolinks::Operation),
45        /// A write to the repository's Actions variables.
46        Variables(variables::Operation),
47        /// A write to the repository's labels.
48        Labels(labels::Operation),
49        /// A write to the repository's custom property values.
50        CustomProperties(custom_properties::Operation),
51        /// A write to the repository's webhooks.
52        Webhooks(webhooks::Operation),
53    }
54}