Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Note

Hierarchy

  • Note

Index

Constructors

constructor

  • new Note(object?: any): Note

Properties

body

body: string

creationDate

creationDate: Date

id

id: string

modificationDate

modificationDate: Date

name

name: string

Methods

create

  • create(folderId: string): Promise<Note>
  • Create a new Note in a folder

    Parameters

    • folderId: string

      The Folder Id

    Returns Promise<Note>

    The new Note

delete

  • delete(): Promise<any>
  • Delete a note

    Returns Promise<any>

update

  • update(): Promise<Note>
  • Update a note

    Returns Promise<Note>

    Updated Note

Static findByName

  • findByName(name: string, folderId: string): Promise<Note>
  • Parameters

    • name: string
    • folderId: string

    Returns Promise<Note>

Generated using TypeDoc