aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci-github-service-data.hxx')
-rw-r--r--mod/mod-ci-github-service-data.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/mod-ci-github-service-data.hxx b/mod/mod-ci-github-service-data.hxx
index 5d36696..9aa512a 100644
--- a/mod/mod-ci-github-service-data.hxx
+++ b/mod/mod-ci-github-service-data.hxx
@@ -55,6 +55,8 @@ namespace brep
}
};
+ using check_runs = vector<check_run>;
+
// We have two kinds of service data that correspond to the following two
// typical scenarios (until/unless we add support for merge queues):
//
@@ -96,8 +98,8 @@ namespace brep
//
gh_installation_access_token installation_access;
- string app_id;
- string installation_id;
+ uint64_t app_id;
+ string installation_id; // @@ TMP Also actually an integer
string repository_node_id; // GitHub-internal opaque repository id.
@@ -123,7 +125,7 @@ namespace brep
//
string report_sha;
- vector<check_run> check_runs;
+ brep::check_runs check_runs;
// Flag indicating that all the elements in check_runs are built and this
// check suite is completed.
@@ -159,7 +161,7 @@ namespace brep
service_data (bool warning_success,
string iat_token,
timestamp iat_expires_at,
- string app_id,
+ uint64_t app_id,
string installation_id,
string repository_node_id,
string repository_clone_url,
@@ -174,7 +176,7 @@ namespace brep
service_data (bool warning_success,
string iat_token,
timestamp iat_expires_at,
- string app_id,
+ uint64_t app_id,
string installation_id,
string repository_node_id,
string repository_clone_url,