Repository URL to install this package:
|
Version:
8.0.13 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
/**
* @note - this contains HomePage + Catalog
* @example - User.graphql contains RegisterUser + GetProfile + ...
*/
exports.default = apollo_server_1.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
}
`;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3R1ZGlvLmdyYXBocWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ3JhcGhxbC1tb2R1bGVzL3N0dWRpby9zY2hlbWEvU3R1ZGlvLmdyYXBocWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxpREFBbUM7QUFFbkM7OztHQUdHO0FBQ0gsa0JBQWUsbUJBQUcsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBb0ZqQixDQUFBIn0=