@sorrel340/gatsby-theme-portfolio-minimal
Version:
#### A modern one-page portfolio with a clean yet expressive design.
33 lines (28 loc) • 712 B
TypeScript
import { Reporter, Actions, Node } from 'gatsby';
import { IGatsbyImageData } from 'gatsby-plugin-image';
interface AllSettingsQueryResult<T> {
allSettingsJson: {
settings: T[];
};
}
interface ImageObject {
alt: string | null;
src: {
childImageSharp: {
gatsbyImageData: IGatsbyImageData;
};
} | null;
}
interface PageSection {
sectionId: string;
heading?: string;
}
interface GatsbyNodeHelpers {
actions: Actions;
createContentDigest: (input: unknown) => string;
createNodeId: (input: string) => string;
createResolvers: (resolvers: unknown) => void;
getNode: (id: string) => Node;
node: Node;
reporter: Reporter;
}