Publication Extension Structure

A publication extension must be a zip file that adheres to the following structure:

publication/
  escenic/
    content-type/
      content-types
recipe/
  datasources/
    data-sources
  queries/
    graphql-queries 
  extensions/
    recipe-extensions
templates/
  _annotations
  -data
  _layouts
  _meta
  _patterns/
  _twig-components
  placeholders
  theme
setup/
  defaults/
     setup-defaults
service/
  waiter/
    waiter-extensions/
      Extensions/
        waiter-extensions

where:

content-types

Are one or more modular content type resource files containing definitions of content types you want to add to a publication. For information about modular content type files, see The content-type Resource.

data-sources

Are one or more GraphQL files containing data source definitions you want to add to a publication. See Using Data Sources for more information about data sources.

graphql-queries

Are one or more GraphQL files containing GraphQL queries you want to add to a publication. See Working with GraphQL for more information about GraphQL.

recipe-extensions

Are one or more Javascript files containing recipe extensions you want to add to a publication. See Working with the Recipe for more information about recipe extensions.

setup-defaults

Is a YAML file containing setup defaults you want to add to a publication. Any settings in this file will override the publication's existing settings. See Overriding Setup Defaults for more information about setup defaults.

waiter-extensions

Are one or more PHP files containing waiter extensions you want to add to a publication. See Writing Waiter Extensions.

The templates folder must be a standard publication template folder containing the template patterns, layouts, CSS, Javascript and so on that you want to add to a publication.