Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Manifest

Index

Constructors

constructor

  • new Manifest(site: string, ref: string, branch: string, commit: Commit, googleCloudProject: string): Manifest

Properties

branch

branch: string

commit

commit: Commit

files

files: ManifestFile[]

googleCloudProject

googleCloudProject: string

headers

headers: Record<string, Record<string, string>>

localizationPathFormat

localizationPathFormat: string

redirectTrailingSlashes

redirectTrailingSlashes: boolean

redirects

redirects: Redirect[]

ref

ref: string

shortSha

shortSha: string

site

site: string

Accessors

links

Methods

addFile

  • addFile(path: string, dir: string): Promise<void>
  • Parameters

    • path: string
    • dir: string

    Returns Promise<void>

addRedirect

  • addRedirect(from: string, to: string, permanent: boolean): Promise<void>
  • Parameters

    • from: string
    • to: string
    • permanent: boolean

    Returns Promise<void>

createFromDirectory

  • createFromDirectory(path: string): Promise<void>

createHash

  • createHash(path: string): any

pathsToJSON

  • pathsToJSON(): any

setHeaders

  • setHeaders(headers: Record<string, Record<string, string>>): void
  • Parameters

    • headers: Record<string, Record<string, string>>

    Returns void

setRedirects

  • setRedirects(redirects: Redirect[]): void

toOutputJSON

Generated using TypeDoc