defy.tools

Class Note

Hierarchy (view full)

Constructors

Properties

content: NotePayload
dkxParent: HDKIndex
docIndex: number
error?: ContentError
nostrEvent: Event<number>
ownerPubKey: string
verified: boolean = false
version: number = 1

Accessors

  • get payload(): any[]
  • Returns any[]

Methods

  • Parameters

    Returns {
        [key: string | symbol]: number;
    }

    • [key: string | symbol]: number
  • Parameters

    • text: string
    • kind: number
    • Optional created_at: number

    Returns Observable<Note>