/* tslint:disable */
/* eslint-disable */
/**
 * Halo Next API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

// May contain unused imports in some cases
// @ts-ignore
import { Excerpt } from "./excerpt";

/**
 *
 * @export
 * @interface SinglePageSpec
 */
export interface SinglePageSpec {
  /**
   *
   * @type {boolean}
   * @memberof SinglePageSpec
   */
  allowComment: boolean;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  baseSnapshot?: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  cover?: string;
  /**
   *
   * @type {boolean}
   * @memberof SinglePageSpec
   */
  deleted: boolean;
  /**
   *
   * @type {Excerpt}
   * @memberof SinglePageSpec
   */
  excerpt: Excerpt;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  headSnapshot?: string;
  /**
   *
   * @type {Array<{ [key: string]: string; }>}
   * @memberof SinglePageSpec
   */
  htmlMetas?: Array<{ [key: string]: string }>;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  owner?: string;
  /**
   *
   * @type {boolean}
   * @memberof SinglePageSpec
   */
  pinned: boolean;
  /**
   *
   * @type {number}
   * @memberof SinglePageSpec
   */
  priority: number;
  /**
   *
   * @type {boolean}
   * @memberof SinglePageSpec
   */
  publish: boolean;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  publishTime?: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  releaseSnapshot?: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  slug: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  template?: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  title: string;
  /**
   *
   * @type {string}
   * @memberof SinglePageSpec
   */
  visible: SinglePageSpecVisibleEnum;
}

export const SinglePageSpecVisibleEnum = {
  Public: "PUBLIC",
  Internal: "INTERNAL",
  Private: "PRIVATE",
} as const;

export type SinglePageSpecVisibleEnum =
  (typeof SinglePageSpecVisibleEnum)[keyof typeof SinglePageSpecVisibleEnum];
