Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Document

Hierarchy

  • Document

Implements

Index

Constructors

constructor

  • new Document(id: string, type: string, href: string, tags: string[], slug: string, slugs: string[], alternateLanguages: string[], firstPublicationDate: string | null, lastPublicationDate: string | null, data: any, uid?: undefined | string, lang?: undefined | string): Document
  • Parameters

    • id: string
    • type: string
    • href: string
    • tags: string[]
    • slug: string
    • slugs: string[]
    • alternateLanguages: string[]
    • firstPublicationDate: string | null
    • lastPublicationDate: string | null
    • data: any
    • Optional uid: undefined | string
    • Optional lang: undefined | string

    Returns Document

Properties

alternateLanguages

alternateLanguages: string[]

data

data: any

firstPublicationDate

firstPublicationDate: Date | null

href

href: string

id

id: string

Optional lang

lang: undefined | string

lastPublicationDate

lastPublicationDate: Date | null

slug

slug: string

slugs

slugs: string[]

tags

tags: string[]

type

type: string

Optional uid

uid: undefined | string

Generated using TypeDoc