trundler/
queries.rs

1use graphql_client::GraphQLQuery;
2
3pub type DateTime = chrono::DateTime<chrono::Utc>;
4
5// Has to match the generated type's name
6#[allow(clippy::upper_case_acronyms)]
7pub type URL = String;
8
9#[derive(GraphQLQuery)]
10#[graphql(
11	schema_path = "graphql/schemas/2023-04.json",
12	query_path = "graphql/queries/webhooks/subscriptions.graphql",
13	response_derives = "Debug"
14)]
15pub struct WebhookSubscriptions;
16
17#[derive(GraphQLQuery)]
18#[graphql(
19	schema_path = "graphql/schemas/2023-04.json",
20	query_path = "graphql/queries/webhooks/get.graphql",
21	response_derives = "Debug"
22)]
23pub struct WebhookSubscription;