Closed EvanHahn closed 1 week ago
You can now import CREATOR_ROLE_ID, COORDINATOR_ROLE_ID, and MEMBER_ROLE_ID.
CREATOR_ROLE_ID
COORDINATOR_ROLE_ID
MEMBER_ROLE_ID
import { roles } from '@mapeo/core' myProject.$member.invite(deviceId, { roleId: roles.MEMBER_ROLE_ID })
CoMapeo Mobile currently hard-codes these values.
Note that "weirder" IDs, like LEFT_ROLE_ID, are deliberately not exported right now because they're easy to add later if needed.
LEFT_ROLE_ID
Closes #532.
You can now import
CREATOR_ROLE_ID
,COORDINATOR_ROLE_ID
, andMEMBER_ROLE_ID
.CoMapeo Mobile currently hard-codes these values.
Note that "weirder" IDs, like
LEFT_ROLE_ID
, are deliberately not exported right now because they're easy to add later if needed.Closes #532.