Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / graphql-modules / studio / schema / Studio.graphql.ts
Size: Mime:
import { gql } from 'apollo-server'

/**
 * @note - this contains HomePage + Catalog
 * @example - User.graphql contains RegisterUser + GetProfile + ...
 */
export default gql`
  type MarketingPage {
    index: Int
    pageId: String
    pageName: String
    layoutType: String
    dimensions: Dimension
    views: [PageViews]
    gridLayout: GridLayout
  }
  type PageViews {
    cellId: String
    widget: Widget
  }
  type Dimension {
    width: Int
    height: Int
  }
  type GridLayout {
    properties: Properties
    cells: [Cells]
  }
  type Properties {
    columns: Int
    gutterSize: Int
    margin: Int
    padding: Int
  }
  type Cells {
    index: Int
    cellId: String
    cellNumber: Int
    properties: GridCellProperties
  }
  type GridCellProperties {
    columns: Int
    hidden: Boolean
  }
  type Widget {
    widgetId: String
    pageId: String
    componentName: String
    properties: [WidgetProperties]
    items: [FacetItem]
  }

  type FacetItem {
    facets: [LabelValue]
  }

  # String, Boolean, Int
  scalar Primitive

  type WidgetProperties {
    label: String
    value: String
  }
  type HomePage {
    index: Int
    pageId: String
    pageName: String
    layoutType: String
    dimensions: Dimension
    views: [PageViews]
    gridLayout: GridLayout
  }
  type Pages {
    id: Int
    name: String
    url: String
  }
  type CatalogViews {
    viewId: Int
    viewName: String
    width: String
    height: String
    defaultView: Boolean
  }

  #HasStudioPage typings
  type HasStudioPage {
    hasPage: Boolean
    pageId: String
  }
`