/** * 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 Bookshelve from './bookshelves'; import User from './user'; export default class Books extends Model { protected static adapter: any; id: string; label: string; description: string; cover?: string; background_color: string; icon?: string; slug: string; visibility: 'public' | 'private' | 'closed'; is_template?: boolean; is_deleted?: boolean; show_in_gallery?: boolean; id_user_created?: string; bookshelve?: Bookshelve; created_at: string; updated_at: string; expire_at: string; user: User; tags?: string[]; }