diff --git a/src/schema/caseSchema.js b/src/schema/caseSchema.js index d165fdc5..170c855b 100644 --- a/src/schema/caseSchema.js +++ b/src/schema/caseSchema.js @@ -260,6 +260,10 @@ type StrapiCase implements Node { width: Int height: Int } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { diff --git a/src/schema/generalSchema.js b/src/schema/generalSchema.js index 107bed9b..d2dd8447 100644 --- a/src/schema/generalSchema.js +++ b/src/schema/generalSchema.js @@ -27,6 +27,10 @@ type LocalFile { ): Date formats: StrapiBlogCategoryArticleAuthorImageFormats } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { diff --git a/src/schema/globalSeoSchema.js b/src/schema/globalSeoSchema.js index 074c4805..7e0b8328 100644 --- a/src/schema/globalSeoSchema.js +++ b/src/schema/globalSeoSchema.js @@ -70,6 +70,10 @@ type StrapiGlobalConfig implements Node { enable: Boolean src: String } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { value: globalSeoSchema, diff --git a/src/schema/homeSchema.js b/src/schema/homeSchema.js index 639f9557..d0086883 100644 --- a/src/schema/homeSchema.js +++ b/src/schema/homeSchema.js @@ -35,6 +35,10 @@ type StrapiHome implements Node { pageKeywords: String } + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } + ` module.exports = { value: homeSchema, diff --git a/src/schema/iconSchema.js b/src/schema/iconSchema.js index 8c8f66d1..bcc2b5e1 100644 --- a/src/schema/iconSchema.js +++ b/src/schema/iconSchema.js @@ -61,6 +61,10 @@ type StrapiIcon implements Node { ): Date localFile: File } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { value: iconScheme, diff --git a/src/schema/landingSchema.js b/src/schema/landingSchema.js index e472e4f3..8c3ee3ed 100644 --- a/src/schema/landingSchema.js +++ b/src/schema/landingSchema.js @@ -35,6 +35,10 @@ type StrapiLandingPage implements Node { pageDescription: String pageKeywords: String } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { value: landingSchema, diff --git a/src/schema/layoutSchema.js b/src/schema/layoutSchema.js index 9e82bfae..6d9965e0 100644 --- a/src/schema/layoutSchema.js +++ b/src/schema/layoutSchema.js @@ -352,6 +352,10 @@ type StrapiLayoutFooter { navbar: StrapiLayoutNavbar strapiId: Int } + + type LocalFile { + localFile: File @link(from: "localFile___NODE") + } ` module.exports = { value: layoutSchema,