Skip to content

Instantly share code, notes, and snippets.

@chillu
Created December 14, 2016 02:27
Show Gist options
  • Save chillu/d0069fb0123d0480761e6ba5659bd2e7 to your computer and use it in GitHub Desktop.
Save chillu/d0069fb0123d0480761e6ba5659bd2e7 to your computer and use it in GitHub Desktop.
interface SiteTreeInterface {
id
created
title
content
}
interface PageInterface {
id
created
title
content
myField
}
interface RediectorPageInterface {
id
created
title
content
myField
redirectionType
externalUrl
}
type SiteTree implements SiteTreeInterface {
id
created
title
content
}
type Page implements SiteTreeInterface, PageInterface {
id
created
title
content
myField
}
type RedirectorPage implements RedirectorPageInterface, SiteTreeInterface, PageInterface {
id
created
title
content
myField
redirectionType
externalUrl
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment