diff --git a/apps/silverback-drupal/generated/silverback_gatsby.composed.graphqls b/apps/silverback-drupal/generated/silverback_gatsby.composed.graphqls index 9f83cfb28..0ee8c12d3 100644 --- a/apps/silverback-drupal/generated/silverback_gatsby.composed.graphqls +++ b/apps/silverback-drupal/generated/silverback_gatsby.composed.graphqls @@ -590,6 +590,32 @@ Implemented in "Drupal\silverback_cloudinary\Plugin\GraphQL\Directive\Responsive """ directive @responsiveImage(width: String, height: String, sizes: String, transform: String) repeatable on FIELD_DEFINITION | SCALAR | UNION | ENUM | INTERFACE | OBJECT +""" +Associate a type with a Drupal entity type. +""" +directive @entity(type: String!, bundle: String, access: Boolean) on OBJECT + +""" +Directive for the "MenuFeed" plugin. +menu_id: The internal menu id. +menu_ids: Internal menu id's. The first one the current user has access to will be picked. +item_type: GraphQL type for menu items. + **DEPRECATED**: Explicitly define Menu item types with `resolveMenu*` + directives instead. +max_level: The maximum level to be fetched. + This can be used to optimizing caching. Most of the time only one or two + levels of menus are immediately visible on the page. By declaring multiple + types, we can generate different cache buckets, so a new menu item on a low + level does not require a full rebuild of every page. +""" +directive @menu(menu_id: String, menu_ids: [String!], item_type: String, max_level: Int) on OBJECT + +directive @isPath on FIELD_DEFINITION + +directive @isTemplate on FIELD_DEFINITION + +directive @stringTranslation(contextPrefix: String) on OBJECT + """ Fetch an entity or entity revision based on id, rid or route diff --git a/apps/silverback-drupal/generated/silverback_gatsby_preview.composed.graphqls b/apps/silverback-drupal/generated/silverback_gatsby_preview.composed.graphqls index 9f83cfb28..0ee8c12d3 100644 --- a/apps/silverback-drupal/generated/silverback_gatsby_preview.composed.graphqls +++ b/apps/silverback-drupal/generated/silverback_gatsby_preview.composed.graphqls @@ -590,6 +590,32 @@ Implemented in "Drupal\silverback_cloudinary\Plugin\GraphQL\Directive\Responsive """ directive @responsiveImage(width: String, height: String, sizes: String, transform: String) repeatable on FIELD_DEFINITION | SCALAR | UNION | ENUM | INTERFACE | OBJECT +""" +Associate a type with a Drupal entity type. +""" +directive @entity(type: String!, bundle: String, access: Boolean) on OBJECT + +""" +Directive for the "MenuFeed" plugin. +menu_id: The internal menu id. +menu_ids: Internal menu id's. The first one the current user has access to will be picked. +item_type: GraphQL type for menu items. + **DEPRECATED**: Explicitly define Menu item types with `resolveMenu*` + directives instead. +max_level: The maximum level to be fetched. + This can be used to optimizing caching. Most of the time only one or two + levels of menus are immediately visible on the page. By declaring multiple + types, we can generate different cache buckets, so a new menu item on a low + level does not require a full rebuild of every page. +""" +directive @menu(menu_id: String, menu_ids: [String!], item_type: String, max_level: Int) on OBJECT + +directive @isPath on FIELD_DEFINITION + +directive @isTemplate on FIELD_DEFINITION + +directive @stringTranslation(contextPrefix: String) on OBJECT + """ Fetch an entity or entity revision based on id, rid or route