@ssb-graphql/tribes

4.0.0 • Public • Published

@ssb-graphql/group

Types

Group

  • id: Cloaked group identifier.
  • root: Group creation message.

TODO

  • authors: Authors in group.
  • key: Group key. Add this when we have "better GraphQL security".

API

exact names TBD, but something like:

Mutation: createGroup()

Create new group.

Returns group.

Query: listGroups

Return array of groups that you are a member of.

getGroup(id)

Return group identified by id.

inviteToGroup(groupId, [author])

Add array of members to group.

Note that SSB-Tribes only allows 15 members to be added per message.

Package Sidebar

Install

npm i @ssb-graphql/tribes

Weekly Downloads

6

Version

4.0.0

License

AGPL-3.0

Unpacked Size

48.4 kB

Total Files

18

Last publish

Collaborators

  • luandro
  • mixmix
  • staltz
  • chereseeriepa
  • christianbundy
  • ben-tai