/** * Copyright (c) 2020 The Nuinalp Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ import { Model } from '@nuinalp/api-core/browser'; import User from './user'; export default class Pages extends Model { protected static adapter: any; id: string; label: string; cover?: string; revision_number: number; slug?: string; is_template?: boolean; is_locked?: boolean; is_draft?: boolean; enable_comments?: boolean; id_chapter?: string; background_color?: string; show_in_gallery?: string; is_deleted?: boolean; created_at: string; updated_at: string; user: User; tags?: string[]; }