graphql enabled and configured with existing content architecture

This commit is contained in:
2022-09-21 11:28:14 +02:00
parent a03688efa4
commit 787494bfc8
23 changed files with 1403 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ dependencies:
- field.field.node.entite.body
- field.field.node.entite.field_documents
- field.field.node.entite.field_images
- field.field.node.entite.field_liens
- field.field.node.entite.field_videos
- image.style.thumbnail
- node.type.entite
@@ -13,6 +14,7 @@ dependencies:
- field_group
- file
- image
- link
- text
- video_embed_field
third_party_settings:
@@ -21,6 +23,8 @@ third_party_settings:
children:
- group_texte
- group_media
- group_documents
- group_liens
label: Tabs
region: content
parent_name: ''
@@ -36,7 +40,6 @@ third_party_settings:
children:
- field_images
- field_videos
- field_documents
label: Media
region: content
parent_name: group_tabs
@@ -83,6 +86,36 @@ third_party_settings:
description: ''
required_fields: true
weight: -100
group_documents:
children:
- field_documents
label: Documents
region: content
parent_name: group_tabs
weight: 17
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_liens:
children:
- field_liens
label: Liens
region: content
parent_name: group_tabs
weight: 18
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.entite.default
targetEntityType: node
bundle: entite
@@ -119,6 +152,14 @@ content:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_liens:
type: link_default
weight: 26
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_videos:
type: video_embed_field_textfield
weight: 12

View File

@@ -3,13 +3,22 @@ langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.entite_concernement.field_angle
- field.field.paragraph.entite_concernement.field_entite
- field.field.paragraph.entite_concernement.field_rayon
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.default
targetEntityType: paragraph
bundle: entite_concernement
mode: default
content:
field_angle:
type: number
weight: 2
region: content
settings:
placeholder: ''
third_party_settings: { }
field_entite:
type: entity_reference_autocomplete
weight: 0
@@ -20,6 +29,13 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_rayon:
type: number
weight: 1
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true

View File

@@ -6,11 +6,13 @@ dependencies:
- field.field.node.entite.body
- field.field.node.entite.field_documents
- field.field.node.entite.field_images
- field.field.node.entite.field_liens
- field.field.node.entite.field_videos
- node.type.entite
module:
- file
- image
- link
- text
- user
- video_embed_field
@@ -45,6 +47,18 @@ content:
third_party_settings: { }
weight: 102
region: content
field_liens:
type: link
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 105
region: content
field_videos:
type: video_embed_field_video
label: above

View File

@@ -7,6 +7,7 @@ dependencies:
- field.field.node.entite.body
- field.field.node.entite.field_documents
- field.field.node.entite.field_images
- field.field.node.entite.field_liens
- field.field.node.entite.field_videos
- node.type.entite
module:
@@ -33,6 +34,7 @@ content:
hidden:
field_documents: true
field_images: true
field_liens: true
field_videos: true
langcode: true
search_api_excerpt: true

View File

@@ -3,13 +3,26 @@ langcode: fr
status: true
dependencies:
config:
- field.field.paragraph.entite_concernement.field_angle
- field.field.paragraph.entite_concernement.field_entite
- field.field.paragraph.entite_concernement.field_rayon
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.default
targetEntityType: paragraph
bundle: entite_concernement
mode: default
content:
field_angle:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 2
region: content
field_entite:
type: entity_reference_label
label: above
@@ -18,5 +31,16 @@ content:
third_party_settings: { }
weight: 0
region: content
field_rayon:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true

View File

@@ -53,6 +53,7 @@ module:
filter: 0
filter_perms: 0
formatter_suite: 0
graphql: 0
help: 0
honeypot: 0
image: 0
@@ -77,6 +78,7 @@ module:
mysql: 0
node: 0
options: 0
ouatt_graphql: 0
page_cache: 0
pagerer: 0
path: 0
@@ -99,6 +101,7 @@ module:
token: 0
toolbar: 0
translation_views: 0
typed_data: 0
update: 0
url_to_video_filter: 0
user: 0

View File

@@ -12,7 +12,7 @@ id: node.concernement.field_entite
field_name: field_entite
entity_type: node
bundle: concernement
label: Entité
label: Entités
description: ''
required: false
translatable: false

View File

@@ -0,0 +1,23 @@
uuid: bfb6a38e-4497-490d-8bb0-ce895c2e95b5
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_liens
- node.type.entite
module:
- link
id: node.entite.field_liens
field_name: field_liens
entity_type: node
bundle: entite
label: Liens
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 16
field_type: link

View File

@@ -0,0 +1,23 @@
uuid: 3d803a88-cde3-43d3-a266-712210d37188
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_angle
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.field_angle
field_name: field_angle
entity_type: paragraph
bundle: entite_concernement
label: Angle
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: !!float 0
max: !!float 360
prefix: ''
suffix: ''
field_type: decimal

View File

@@ -0,0 +1,23 @@
uuid: 108ef2b1-7685-4ffc-a9b3-a6b0d7c88101
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_rayon
- paragraphs.paragraphs_type.entite_concernement
id: paragraph.entite_concernement.field_rayon
field_name: field_rayon
entity_type: paragraph
bundle: entite_concernement
label: rayon
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: !!float 0
max: !!float 100
prefix: ''
suffix: ''
field_type: decimal

View File

@@ -0,0 +1,19 @@
uuid: 9c3df3fe-a34f-41a6-a9d3-d12c116ca711
langcode: fr
status: true
dependencies:
module:
- link
- node
id: node.field_liens
field_name: field_liens
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,20 @@
uuid: 745fa859-a99d-4ebf-94d5-eaad168db650
langcode: fr
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_angle
field_name: field_angle
entity_type: paragraph
type: decimal
settings:
precision: 10
scale: 2
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,20 @@
uuid: 0dcd010f-36ff-4d18-b29e-7a3615d1fd4f
langcode: fr
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_rayon
field_name: field_rayon
entity_type: paragraph
type: decimal
settings:
precision: 10
scale: 2
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: b3116921-3275-4e06-ba9d-e2d186fda048
langcode: fr
status: true
dependencies: { }
name: ouatterrir
label: ouatterrir
endpoint: /gql
debug_flag: 1
schema: composable
caching: true
batching: true
disable_introspection: false
query_depth: null
query_complexity: null
schema_configuration:
composable:
extensions:
ouatt_extension: ouatt_extension
persisted_queries_settings: { }

View File

@@ -17,4 +17,5 @@ negotiation:
language-url-fallback: 1
language_interface:
enabled:
language-graphql-operation: -999
language-url: 0