graphql_compose-1.0.0-beta20/config/schema/graphql_compose.schema.yml

config/schema/graphql_compose.schema.yml
graphql_compose.settings.*:
  type: config_object
  label: "GraphQL Compose Server"
  mapping:
    entity_config:
      type: sequence
      label: "Entity config types"
      sequence:
        type: "graphql_compose.entity.[%key]"
    field_config:
      type: sequence
      label: "Field config types"
      sequence:
        type: "graphql_compose.field.[%key]"
    settings:
      type: mapping
      label: "Settings"
      mapping:
        exclude_unpublished:
          type: boolean
          label: "Exclude unpublished content"
        expose_entity_ids:
          type: boolean
          label: "Expose entity IDs to the schema"
        field_required_override:
          type: boolean
          label: "Required field override"
        schema_description:
          type: string
          label: "Schema description"
          nullable: true
        schema_version:
          type: string
          label: "Schema version"
          nullable: true
        simple_queries:
          type: boolean
          label: "Simple entity queries"
        simple_unions:
          type: boolean
          label: "Simple entity unions"
        site_name:
          type: boolean
          label: "Expose site name"
        site_slogan:
          type: boolean
          label: "Expose site slogan"
        site_front:
          type: boolean
          label: "Expose site front"
        svg_image:
          type: boolean
          label: "Expose SVG image"
        svg_filesize:
          type: integer
          label: "Expose SVG filesize"
        inflector_langcode:
          type: string
          label: "Inflector language code"
        inflector_singularize:
          type: boolean
          label: "Inflector singularize"
        custom:
          type: sequence
          label: "Custom settings"
          sequence:
            type: graphql_compose.setting.custom.*

graphql_compose.setting.custom.*:
  type: mapping
  label: "Custom setting"
  mapping:
    name:
      type: string
      label: "Name"
    description:
      type: string
      label: "Description"
      nullable: true
    value:
      type: string
      label: "Value"
    type:
      type: string
      label: "Type"
    weight:
      type: integer
      label: "Weight"

graphql_compose.entity.*:
  type: sequence
  label: "Entity type"
  sequence:
    type: "graphql_compose.entity.[%parent.%key].[%key]"

graphql_compose.entity.*.*:
  label: "Entity bundle"
  type: mapping
  mapping:
    enabled:
      type: boolean
      label: "Enable GraphQL"
    query_load_enabled:
      type: boolean
      label: "Enable single query"
    type_sdl:
      type: string
      label: "Schema type name"
      nullable: true
    description:
      type: string
      label: "Description"
      nullable: true

graphql_compose.field.*:
  type: sequence
  label: "Field type"
  sequence:
    type: "graphql_compose.field.[%parent.%key].[%key]"

graphql_compose.field.*.*:
  type: sequence
  label: "Field bundle"
  sequence:
    type: "graphql_compose.field.[%parent.%parent.%key].[%parent.%key].[%key]"

graphql_compose.field.*.*.*:
  label: "Field"
  type: mapping
  mapping:
    enabled:
      type: boolean
      label: "Enabled"
    required:
      type: boolean
      label: "Required"
    name_sdl:
      type: string
      label: "Schema name"
      nullable: true

graphql.schema.graphql_compose:
  type: mapping
  label: 'GraphQL Compose schema'
  mapping:
    graphql_compose:
      type: mapping
      label: 'GraphQL Compose'
      mapping:
        providers:
          label: Enabled module providers
          type: sequence
          sequence:
            type: string

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc