UNPKG
smc-hub
Version:
basepath (1.8.0)
latest (1.10.1)
1.10.1
1.10.0
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
CoCalc: Backend webserver component
github.com/sagemathinc/cocalc
sagemathinc/cocalc
smc-hub
/
dist
/
postgres
/
collab.d.ts
4 lines
(3 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
import
{
PostgreSQL
}
from
"./types"
;
export
declare
function
add_collaborators_to_projects
(
db
:
PostgreSQL
,
account_id
:
string
,
accounts
:
string
[],
projects
:
string
[],
// can be empty strings if tokens specified (since they determine project_id)
tokens
?:
string
[]
):
Promise
<
void
>;