LiquidPartial
Partial (app/views/partials or app/lib): reusable Liquid included with the render, include and function tags
type LiquidPartial implements AdminSharedAttributesInterface {
body: String
created_at: JSONDate!
format: PageFormat
id: ID!
manually_managed: Boolean
metadata: HashObject
path: String!
physical_file_path: String
updated_at: JSONDate!
}
Fields
body (String)
Liquid source of the partial
created_at (JSONDate)
Timestamp of when the object was created, set automatically by the system
format (PageFormat)
Format the partial is used for, html by default
id (ID)
Unique identifier of the object
manually_managed (Boolean)
When true, the resource is managed outside of files: pos-cli deploy and sync never overwrite or delete it
metadata (HashObject)
Free-form data attached to the resource with the metadata key of its file (or the metadata argument of an admin mutation)
path (String)
Name used to include the partial: its file path below the partials directory
without the extension, for example shared/header; module partials are prefixed
with modules/<module name>/
physical_file_path (String)
Path of the file the resource comes from, relative to the app directory, for
example views/pages/index.liquid or
modules/my_module/public/views/partials/header.liquid. Identifies the resource
in deploy, sync and admin mutations
updated_at (JSONDate)
Timestamp of when the object was last updated, set automatically by the system
Interfaces
AdminSharedAttributesInterface
Attributes shared by resources that can be deployed from files with pos-cli
(pages, partials, layouts, notifications, authorization policies, schemas, assets etc.)