Tanatloc documentation
Preparing search index...
API.Project
default
Variable default
Const
default
:
{
add
:
(
workspace
:
{
id
:
string
}
,
project
:
{
description
?:
string
;
title
:
string
}
,
)
=>
Promise
<
IFrontNewProject
>
;
archive
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
;
copy
:
(
workspace
:
{
id
:
string
}
,
project
:
{
id
:
string
}
,
)
=>
Promise
<
IFrontNewProject
>
;
del
:
(
workspace
:
{
id
:
string
}
,
project
:
{
id
:
string
}
)
=>
Promise
<
void
>
;
deleteArchiveFile
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
;
unarchiveFromFile
:
(
project
:
{
id
:
string
}
,
archive
:
Buffer
,
)
=>
Promise
<
ICallResponse
>
;
unarchiveFromServer
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
;
update
:
(
project
:
{
id
:
string
}
,
data
:
any
[]
)
=>
Promise
<
void
>
;
useProject
:
(
id
?:
string
,
)
=>
[
DefaultData
|
IFrontProject
,
{
errorProject
:
Error
;
loadingProject
:
boolean
;
mutateProject
:
(
project
:
IFrontMutateProject
)
=>
Promise
<
void
>
;
}
,
]
;
useProjects
:
(
ids
?:
string
[]
,
)
=>
[
IFrontProjects
,
{
addOneProject
:
(
project
:
IFrontNewProject
)
=>
Promise
<
void
>
;
delOneProject
:
(
project
:
IFrontMutateProjectsItem
)
=>
Promise
<
void
>
;
errorProjects
:
Error
;
loadingProjects
:
boolean
;
mutateOneProject
:
(
project
:
IFrontMutateProjectsItem
)
=>
Promise
<
void
>
;
}
,
]
;
}
= ...
Type declaration
add
:
(
workspace
:
{
id
:
string
}
,
project
:
{
description
?:
string
;
title
:
string
}
,
)
=>
Promise
<
IFrontNewProject
>
archive
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
copy
:
(
workspace
:
{
id
:
string
}
,
project
:
{
id
:
string
}
,
)
=>
Promise
<
IFrontNewProject
>
del
:
(
workspace
:
{
id
:
string
}
,
project
:
{
id
:
string
}
)
=>
Promise
<
void
>
deleteArchiveFile
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
unarchiveFromFile
:
(
project
:
{
id
:
string
}
,
archive
:
Buffer
)
=>
Promise
<
ICallResponse
>
unarchiveFromServer
:
(
project
:
{
id
:
string
}
)
=>
Promise
<
ICallResponse
>
update
:
(
project
:
{
id
:
string
}
,
data
:
any
[]
)
=>
Promise
<
void
>
useProject
:
(
id
?:
string
,
)
=>
[
DefaultData
|
IFrontProject
,
{
errorProject
:
Error
;
loadingProject
:
boolean
;
mutateProject
:
(
project
:
IFrontMutateProject
)
=>
Promise
<
void
>
;
}
,
]
useProjects
:
(
ids
?:
string
[]
,
)
=>
[
IFrontProjects
,
{
addOneProject
:
(
project
:
IFrontNewProject
)
=>
Promise
<
void
>
;
delOneProject
:
(
project
:
IFrontMutateProjectsItem
)
=>
Promise
<
void
>
;
errorProjects
:
Error
;
loadingProjects
:
boolean
;
mutateOneProject
:
(
project
:
IFrontMutateProjectsItem
)
=>
Promise
<
void
>
;
}
,
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Tanatloc documentation
Loading...