createParentId
This content is for v1.2.1. Switch to the latest version for up-to-date documentation.
createParentId(
bookmarkTree,folderPath):string|undefined
Defined in: application/bookmarks/bookmark-organization-use-case-helpers.ts:133
Chrome mutationへ渡すparentIdを作成。
Parameters
Section titled “Parameters”bookmarkTree
Section titled “bookmarkTree”Bookmark Tree。
folderPath
Section titled “folderPath”string
folder path。
Returns
Section titled “Returns”string | undefined
parent ID。CLI rootではroot保存用container IDを返す。
Example
Section titled “Example”const result = createParentId(bookmarkTree, folderPath);