UNPKG
@startpage/bookmarks
Version:
latest (0.2.6)
0.2.6
0.2.4
0.2.3
0.2.2
0.2.0
0.1.2
0.1.1
0.1.0-alpha.14
0.1.0-alpha.13
0.1.0-alpha.12
0.1.0-alpha.10
0.1.0-alpha.9
0.1.0-alpha.8
0.1.0-alpha.2
0.1.0-alpha.1
Bookmark management for your startpage
prettycoffee.github.io/startpage
PrettyCoffee/startpage
@startpage/bookmarks
/
lib
/
utils
/
getGroupActions.d.ts
7 lines
(6 loc)
•
305 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
BookmarkGroup
}
from
".."
;
export
declare
const
getGroupActions
:
(
bookmarkGroups
:
BookmarkGroup
[],
setBookmarkGroups
: (value: BookmarkGroup[]) =>
void
) =>
{
addGroup
:
(
label
:
string
) =>
void
;
editGroup
:
(
id
:
string
,
label
:
string
) =>
void
;
removeGroup
:
(
id
:
string
) =>
void
; };