Module graphql/query_getProjectId/getProjectIdGenerated

Source

Type Aliases§

Source§

type GetProjectIdResult = Data

Type alias for the successful result data from the get project ID query.

remarks

This represents the data payload when the query executes successfully.

Variables§

Source§

const getProjectIdQuery: string...

GraphQL query for retrieving a project ID from a GitHub organization.

remarks

This query fetches the ID of a GitHub Project V2 by its organization login and project number.

example
query getProjectId($organizationLogin: String!, $projectNumber: Int!) {
organization(login: $organizationLogin) {
projectV2(number: $projectNumber) {
id
}
}
}

Classes§

Convert

Utility class for converting between JSON strings and typed objects.

Interfaces§

Data

Data payload interface for the get project ID query.

Error

Error interface for GraphQL query errors.

GetProjectIDRawResult

Raw result interface for the get project ID query response.

Organization

Organization interface representing a GitHub organization.

ProjectV2

Project V2 interface representing a GitHub Project (version 2).