Skip to content

Commit

Permalink
chore: update schema exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Nov 10, 2023
1 parent 971c4e0 commit 7d43358
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d43358

Please sign in to comment.