Open olavea opened 2 years ago
G. GraphQL type Tobbie
I. Inside what actions.create.... Tobbie?
actions.create....
M. Must I add....face( to Tobbie?
add....face(
name: `....TobbieThumbnail`,
Tobbie is a GraphQL object type of heroine
interfaces: [`Node`, `RemoteFile`],
name: `....TobbieThumbnail`, fields: { // π },
schema
.buildObjectType({
exports....
exports.createSchemaCustomization = ({ actions, schema }) => {
exports.onCreateNode = ({ gatsbyUtils }) => {
actions.createTypes([
actions.createNode(
exports.createSchemaCustomization = (gatsbyUtils) => { addPollyPiratyParrotInterface( actions.createTypes([
exports.createSchemaCustomization = (gatsbyUtils) => { addRemoteFilePolyfillInterface( actions.createTypes([
gatsby-plugin-β¦.
const { addRemoteFilePolyfillInterface, } = require( "gatsby-plugin-tools/polyfill-remote-file" );
const { addRemoteFilePolyfillInterface, } = require( "gatsby-plugin-utils/polyfill-remote-file" );
A. Alice assetNode
G. is for GraphiQL where we find π fields
O. is for onCreateDev....?
const ....Node = { height: 630 , width: 1200, }
const .... = { height: 630 , width: 1200, }
exports.onCreateNode = ({ actions }) => {
actions.create....(
{ height: 630, url: allCrowdcastWebinar.node.url, mimeType: "image/jpeg", parent: node.id, width: 1200, id: youTubeThumbnailNodeId, filename: node.youTubeId + ".jpg", internal: { type: YOUTUBE_THUMBNAIL_TYPE, contentDigest: node.internal.contentDigest, }, youTubeId: node.youTubeId, }
exports.onCreateDevS....r = ({ app }) => {};
poly....ImageServiceDevRoutes(app);
C. createNodeId(
D. blind date for Tobbie and Alice
N. Now you can celbrate!
const youTubeThumbnailNodeId = createNodeId( `${YOUTUBE_THUMBNAIL_TYPE} >>> ${....}` );
How can we tell the Crowdcast node to go on a blind date with the CrowdcastThumbnail node?
const createYouTubeTypes = (gatsbyUtils) => { const { actions, schema } = gatsbyUtils; actions.createTypes([ ` type YouTube implements Node { thumbnail: YouTubeThumbnail @link( from: "...." by: "...." ) } `,
G. GraphQL type Tobbie
I. Inside what
actions.create....
Tobbie?M. Must I
add....face(
to Tobbie?G. GraphQL type Tobbie
Give our heroine a fitting name
Tobbie is a GraphQL object type of heroine
Guess the right order of this code
I. Inside what
actions.create....
Tobbie?Inside what
exports....
will Tobbie live?Inside what
actions.create....
Tobbie?M. Must I
add....face(
to Tobbie?Must I
add....face(
to Tobbie?Must require
gatsby-plugin-β¦.
You've done these 3 sub-tasks:
G. GraphQL type Tobbie
I. Inside what
actions.create....
Tobbie?M. Must I
add....face(
to Tobbie?You DID it! 1/3 of the treasure hunt πͺ πΊ π΄ββ οΈ
A. Alice assetNode
G. is for GraphiQL where we find π fields
O. is for onCreateDev....?
Alice assetNode is a
const ....Node = { height: 630 , width: 1200, }
Alice assetNode goes inside which
exports....
?Alice uniDonkey is created with
actions.create....
?G. is for GraphiQL where we find π fields
O. is for onCreateDev....?
Inside goes
poly....ImageServiceDevRoutes(app);
?You've done these 3 sub-tasks:
A. Alice assetNode
G. is for GraphiQL where we find π fields
O. is for onCreateDev....?
You DID it! 2/3 of the treasure hunt πͺ πΊ π΄ββ οΈ
C. createNodeId(
D. blind date for Tobbie and Alice
N. Now you can celbrate!
C. createNodeId(
C. copy :
C. ${....}`
D. blind date for nodes
How can we tell the Crowdcast node to go on a blind date with the CrowdcastThumbnail node?
D. Copy:
D. from: "...." by: "...."
N. is for Now you can celbrate!
C. createNodeId(
D. blind date for Tobbie and Alice
N. Now you can celbrate!
You DID it! The whole treasure hunt πͺ πΊ π΄ββ οΈ