UpdateLiquidPartialInputType
Attributes of a partial to change. Omitted attributes keep their current value, except format, which falls back to html
type UpdateLiquidPartialInputType {
body: String
format: PageFormat
manually_managed: Boolean
metadata: HashObject
path: String
physical_file_path: String
}
Fields
body (String)
Liquid code of the partial
format (PageFormat)
Format the partial is used for. Defaults to html, so omitting it resets an existing format
manually_managed (Boolean)
When true, pos-cli deploy and sync never overwrite or delete it and pos-cli pull skips it
metadata (HashObject)
Arbitrary JSON data stored with the partial; replaces the existing metadata
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)
New 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/