123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- # ===============================================
- # SITE
- # ===============================================
- extend type Query {
- site: SiteQuery
- }
- extend type Mutation {
- site: SiteMutation
- }
- # -----------------------------------------------
- # QUERIES
- # -----------------------------------------------
- type SiteQuery {
- config: SiteConfig @auth(requires: ["manage:system"])
- }
- # -----------------------------------------------
- # MUTATIONS
- # -----------------------------------------------
- type SiteMutation {
- updateConfig(
- host: String!
- title: String!
- description: String!
- robots: [String]!
- analyticsService: String!
- analyticsId: String!
- company: String!
- contentLicense: String!
- logoUrl: String!
- featurePageRatings: Boolean!
- featurePageComments: Boolean!
- featurePersonalWikis: Boolean!
- securityIframe: Boolean!
- securityReferrerPolicy: Boolean!
- securityTrustProxy: Boolean!
- securitySRI: Boolean!
- securityHSTS: Boolean!
- securityHSTSDuration: Int!
- securityCSP: Boolean!
- securityCSPDirectives: String!
- ): DefaultResponse @auth(requires: ["manage:system"])
- }
- # -----------------------------------------------
- # TYPES
- # -----------------------------------------------
- type SiteConfig {
- host: String!
- title: String!
- description: String!
- robots: [String]!
- analyticsService: String!
- analyticsId: String!
- company: String!
- contentLicense: String!
- logoUrl: String!
- featurePageRatings: Boolean!
- featurePageComments: Boolean!
- featurePersonalWikis: Boolean!
- securityIframe: Boolean!
- securityReferrerPolicy: Boolean!
- securityTrustProxy: Boolean!
- securitySRI: Boolean!
- securityHSTS: Boolean!
- securityHSTSDuration: Int!
- securityCSP: Boolean!
- securityCSPDirectives: String!
- }
|