LiquidPartialInputType
Attributes of a partial, the same ones that can be set in a views/partials/*.liquid file
type LiquidPartialInputType {
body: String
format: PageFormat
manually_managed: Boolean
metadata: HashObject
path: String!
physical_file_path: String
}
Fields
body (String)
Liquid code of the partial. Defaults to an empty string
format (PageFormat)
Format the partial is used for. Defaults to html
manually_managed (Boolean)
When true, pos-cli deploy and sync never overwrite or delete it and pos-cli
pull skips it. When omitted, defaults to the track_manually_managed setting of
the instance (false unless enabled in app/config.yml)
metadata (HashObject)
Arbitrary JSON data stored with the partial
path (String)
Name the partial is rendered by, for example shared/header for {% render 'shared/header' %}; for a module partial the modules/<module_name>/ prefix
is added automatically
physical_file_path (String)
Path of the file the partial is stored as, used by pos-cli pull and deploy.
Must be under views/partials/, optionally prefixed with
modules/<module_name>/public/ or modules/<module_name>/private/, for
example views/partials/shared/header.liquid. Required