Format
This commit is contained in:
+4
-11
@@ -1,5 +1,4 @@
|
||||
title = "CMS"
|
||||
==
|
||||
title = "CMS" ==
|
||||
<?php
|
||||
use Cms\Classes\Theme;
|
||||
use Cms\Classes\Content;
|
||||
@@ -12,12 +11,6 @@ function resolveCmsContent($root, $args) {
|
||||
return Content::loadCached($theme, $args['name']);
|
||||
}
|
||||
?>
|
||||
==
|
||||
# Content
|
||||
extend type Query { cmsContent(name: String!): CmsContent! }
|
||||
type CmsContent { fileName: String! content: String markup: String parsedMarkup: String }
|
||||
# CMS-wide types
|
||||
# Backend\Models\User
|
||||
type BackendUser { id: ID! }
|
||||
#System\Models\File
|
||||
type SystemFile { id: ID path: String title: String description: String }
|
||||
== # Content extend type Query { cmsContent(name: String!): CmsContent! } type CmsContent { fileName: String! content:
|
||||
String markup: String parsedMarkup: String } # CMS-wide types # Backend\Models\User type BackendUser { id: ID! }
|
||||
#System\Models\File type SystemFile { id: ID path: String title: String description: String }
|
||||
|
||||
Reference in New Issue
Block a user