Options
All
  • Public
  • Public/Protected
  • All
Menu

Parameters needed to reconstruct the editing state on the profile editor.

Hierarchy

  • ProfilePage

Implements

  • IDbStorable

Index

Constructors

constructor

Properties

accounts

accounts: ThirdPartyAccount[] = ...

colorScheme

createdAt

createdAt: Date = ...

customPath

customPath: null | string = null

hasPassword

hasPassword: boolean = false

id

id: string

lastEditedAt

lastEditedAt: Date = ...

layoutType

layoutType: string = 'grid'

matomoSiteId

matomoSiteId: null | string = null

published

published: boolean = false

rev

rev: string = ''

title

title: string

Static cache

cache: DbCache<ProfilePage> = ...

Static Private idForDefaultName

idForDefaultName: number = 0

Accessors

hasCustomPath

  • get hasCustomPath(): boolean

pages

  • get pages(): {}

Methods

remove

  • remove(): Promise<void>
  • Remove the profile page.

    Returns Promise<void>

removeAccount

  • removeAccount(id: string): void
  • Remove an account from the profile page. Does not call save().

    Parameters

    • id: string

    Returns void

save

  • save(): Promise<Response>
  • Save/update this search definition in the database.

    Don't call this unless you've made changes! Each call will create a revision and take up space.

    Returns Promise<Response>

serialize

  • serialize(): ProfilePageSchema

Static deserialize

Static loadAll

  • Load all ProfilePages from the database into the searchDefinitions map.

    Returns an array of the requested definitions. All loaded definitions (including ones not loaded by this request) can be accessed via searchDefinitions.

    Parameters

    • Optional idPrefix: string

    Returns Promise<ProfilePage[]>

Generated using TypeDoc