When the Subgraph Check Extension is triggered, your registered endpoint receives a request with a JSON payload
containing information about the check. You can use this information to decide whether to discard the check or perform
any additional linting on your subgraphs.
If no option is enabled in the namespace configuration, no file
is generated and the url field will be undefined or not present in the request payload.
SubgraphCheckExtensionPayload
You can access the URL provided in the url field for 5 minutes after the request arrives.
LabelInfo
Provides information about the labels used to trigger the check.
OrganizationContext
Provides information about the organization that triggered the check.
NamespaceContext
Provides information about the associated namespace.
VCSContext
Provides details about the Version Control System (VCS) that triggered the check. This field is only included when the check is initiated from a VCS.
AffectedGraphInfo
Provides information about the graphs affected by the check.
SubgraphContext
Provides information about the subgraphs that triggered the check. This field is only included when the check is for an existing subgraph.
TypeScript definition