Skip to main content

Class: RemNamespace

Hierarchy

  • NamespaceBase

    RemNamespace

Methods

createLinkRem

createLinkRem(url, addTitle?): Promise<undefined | Rem>

Parameters

NameTypeDefault value
urlstringundefined
addTitlebooleantrue

Returns

Promise<undefined | Rem>


createPortal

createPortal(): Promise<undefined | Rem>

Returns

Promise<undefined | Rem>


createRem

createRem(): Promise<undefined | Rem>

Returns

Promise<undefined | Rem>


createSingleRemWithMarkdown

createSingleRemWithMarkdown(markdown, parentId?): Promise<undefined | Rem>

Parameters

NameType
markdownstring
parentId?string

Returns

Promise<undefined | Rem>


createTable

createTable(existingTag?): Promise<undefined | Rem>

Parameters

NameType
existingTag?string | Rem

Returns

Promise<undefined | Rem>


createTreeWithMarkdown

createTreeWithMarkdown(markdown, parentId?): Promise<Rem[]>

Parameters

NameType
markdownstring
parentId?string

Returns

Promise<Rem[]>


findByName

findByName(name, parentId): Promise<undefined | Rem>

Parameters

NameType
nameRichTextInterface
parentIdnull | string

Returns

Promise<undefined | Rem>


findMany

findMany(rs): Promise<undefined | Rem[]>

Parameters

NameType
rsstring[] | Rem[]

Returns

Promise<undefined | Rem[]>


findOne

findOne(remId): Promise<undefined | Rem>

Parameters

NameType
remIdundefined | string

Returns

Promise<undefined | Rem>


getAll

getAll(): Promise<Rem[]>

Returns

Promise<Rem[]>


moveRems

moveRems(rems, newParent, positionAmongstSiblings, portal?): Promise<void>

Parameters

NameType
remsstring[] | Rem[]
newParentstring | Rem
positionAmongstSiblingsnumber
portal?string | Rem

Returns

Promise<void>