CMS Models

Page

{
    id: ID!
    pageId: String!
    title: String!
    handle: String!
    description: String
    status: String!
    sections: [Section]
    seo: SEO!
    user: User
    storeId: String!
    publishedAt: DateTime
    firstPublishedAt: DateTime
    firstPublishedAtTimezone: String
    createdAt: DateTime
}

Blog

{
    id: ID!
    blogId: String!
    title: String!
    handle: String!
    description: String
    status: String!
    sections: [Section]
    seo: SEO!
    user: User
    publishedAt: DateTime
    firstPublishedAt: DateTime
    firstPublishedAtTimezone: String
    storeId: String!
    createdAt: DateTime
}

Article

    id: ID!
    articleId: String!
    title: String!
    handle: String!
    description: String
    author: String
    category: String
    tags: [String]
    excerpt: String
    bodyHtml: String
    status: String!
    sections: [Section]
    seo: SEO!
    publishedAt: DateTime
    firstPublishedAt: DateTime
    firstPublishedAtTimezone: String
    blog: Blog
    user: User
    storeId: String!
    createdAt: DateTime

Product Page

{
    id: ID!
    productId: String!
    title: String!
    handle: String!
    description: String
    status: String!
    sections: [Section]
    seo: SEO!
    user: User
    publishedAt: DateTime
    firstPublishedAt: DateTime
    firstPublishedAtTimezone: String
    storeId: String!
    createdAt: DateTime
}

Collection

{   
    id: ID!
    collectionId: String!
    title: String!
    handle: String!
    description: String
    status: String!
    sections: [Section]
    seo: SEO!
    publishedAt: DateTime
    firstPublishedAt: DateTime
    firstPublishedAtTimezone: String
    user: User
    storeId: String!
    createdAt: DateTime\
    }

Section

{
    id: ID!
    sectionId: ID!
    title: String!
    status: String!
    data: JSON
    dataSource: JSON
    user: User
    publishedAt: DateTime
    createdAt: DateTime
}

Template

{
    id: ID!
    templateId: String!
    title: String!
    type: String!
    isDefault: Boolean!
    status: String!
    sections: [Section]
    publishedAt: DateTime
    createdAt: DateTime
}

Site Settings

{
    id: ID!
    siteSettingId: ID!
    settings: JSON
    seo: SEO!
    status: String!
    publishedAt: DateTime
    user: User
    storeId: String!
    createdAt: DateTime!
}

Schedule

{
    id: ID!
    title: String!
    description: String
    executeAt: DateTime
    timezone: String
    state: ScheduleState!
    totalContentCount: Int!
    content: [Content!]
    createdAt: DateTime
    updatedAt: DateTime
}

Content Environment

{
    id: ID!
    name: String!
    handle: String!
    storeId: String!
    createdAt: DateTime!
}

Was this page helpful?