Gun-Vue docs / project/useProject / useNewProject
Function: useNewProject()
useNewProject(
title
):object
Defined in: src/project/useProject.js:7
Parameters
title
any
Returns
object
addProject()
addProject: (
cb
) =>Promise
<void
>
Parameters
cb
any
Returns
Promise
<void
>
newProject
newProject:
object
newProject.author
author:
any
newProject.funding
funding:
boolean
=false
newProject.id
id:
any
newProject.public
public:
boolean
=true
newProject.room
room:
any
newProject.status
status:
string
="new"
newProject.title
title:
any
newProject.type
type:
string
="project"