Skip to content

Instantly share code, notes, and snippets.

@rbro112
Created June 28, 2021 04:35
Show Gist options
  • Save rbro112/dc777d5a23e88fa2efaa2dd67a75ccf2 to your computer and use it in GitHub Desktop.
Save rbro112/dc777d5a23e88fa2efaa2dd67a75ccf2 to your computer and use it in GitHub Desktop.
A sample of the GP screens schema.
type ScreenContainer {
id: String
# Properties such as how to launch this screen (popup, sheet, etc.)
screenProperties: ScreenProperties
layout: LayoutsPerFormFactor
}
# Specifies the ILayout type depending on rotation, client screen density, etc.
type LayoutsPerFormFactor {
# Compact is usually used for portrait breakpoints (i.e. mobile phones)
compact: ILayout
# Wide is usually used for landscape breakpoints (i.e. web browsers, tablets)
wide: ILayout
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment