Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gatsby): Convert jobs-manager to typescript #22189

Merged
merged 9 commits into from
Aug 11, 2020
8 changes: 4 additions & 4 deletions packages/gatsby/src/redux/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GraphQLFieldExtensionDefinition } from "../schema/extensions"
import { DocumentNode, GraphQLSchema } from "graphql"
import { SchemaComposer } from "graphql-compose"
import { IGatsbyCLIState } from "gatsby-cli/src/reporter/redux/types"
import { InternalJobInterface, JobResultInterface } from "../utils/jobs-manager"
import { InternalJob, JobResultInterface } from "../utils/jobs-manager"
import { ITypeMetadata } from "../schema/infer/inference-metadata"

type SystemPath = string
Expand Down Expand Up @@ -101,18 +101,18 @@ export interface IGatsbyStaticQueryComponents {
type GatsbyNodes = Map<string, IGatsbyNode>

export interface IGatsbyIncompleteJobV2 {
job: InternalJobInterface
job: InternalJob
plugin: IGatsbyPlugin
}

export interface IGatsbyIncompleteJob {
job: InternalJobInterface
job: InternalJob
plugin: IGatsbyPlugin
}

export interface IGatsbyCompleteJobV2 {
result: JobResultInterface
inputPaths: InternalJobInterface["inputPaths"]
inputPaths: InternalJob["inputPaths"]
}

export interface IPlugin {
Expand Down
Loading