OBJECT

SiteThemeOrion

Site's Theme

link GraphQL Schema definition

  • type SiteThemeOrion {
  • # Id
  • id: Int!
  • # Theme version
  • themeVersion: ThemeVersion!
  • # Previous theme version (available for rollback)
  • previousThemeVersion: ThemeVersion
  • # Date of installation
  • installedAt: DateTime!
  • # Published theme this installation copies to prepare its update
  • # (prepareSiteThemeUpdate), until the copy is published.
  • preparedFrom: SiteThemeOrion
  • # Last change of preparedFrom when it was changed after the preparation:
  • # publishing the copy would drop this change. Null otherwise.
  • preparedFromChangedAt: DateTime
  • # Site-specific layout overrides.
  • layouts: [ThemeLayout]
  • # True when site-specific layouts have been saved (editing has started)
  • hasLayouts: Boolean!
  • # Section library of the theme version with the content edited by the site
  • # (saveOrionSectionModelContent). The site renders its layouts with this library.
  • sectionModels: [LayoutBuilderSection!]!
  • # Section models used by the layouts of the site, directly or inside another used
  • # model, with the names of these layouts. A model of the library missing here is
  • # used nowhere on the site.
  • sectionModelUsages: [SectionModelUsage!]!
  • # Site-specific variable overrides. Object keyed by variable id, value is the
  • # overridden defaultValue (same structure as ThemeVariable.defaultValue).
  • variableOverrides: Json!
  • # :root block declaring the theme CSS variables, site overrides resolved. Inject
  • # it before the theme stylesheet.
  • cssVariables: String!
  • # CSS added by the site, loaded after the CSS of its theme version.
  • css: String
  • # JS added by the site, loaded after the JS of its theme version.
  • js: String
  • # True when the site adds CSS to its theme version.
  • hasCustomCss: Boolean!
  • # True when the site adds JS to its theme version.
  • hasCustomJs: Boolean!
  • # Scenes of the theme customized by the site, each compared with the code of its
  • # theme version.
  • animationOverrides: [SiteThemeAnimationOverride!]!
  • # Number of scenes customized by the site that the installed version changed or
  • # removed since the customization.
  • animationsToReview: Int!
  • # Date of creation
  • createdAt: DateTime!
  • # Date of last update
  • updatedAt: DateTime!
  • }