Member
Object interface for db.members table.
export interface Member {
id: string; // Auto-generated universal primary key
realmId: string;
userId?: string; // User identity. Set by the system when user accepts invite.
email?: string; // The email of the requested user (for invites).
name?: string; // The name of the requested user (for invites).
invite?: boolean;
invited?: Date;
accepted?: Date;
rejected?: Date;
roles?: string[]; // Array of role names for this user.
permissions?: {
add?: string[] | "*"; // array of tables or "*" (all).
update?: {
[tableName: string]: string[] | "*"; // array of properties or "*" (all).
};
manage?: string[] | "*"; // array of tables or "*" (all).
};
}
Dexie Cloud Docs
- Access Control in Dexie Cloud
- Add demo users
- Add public data
- Authentication in Dexie Cloud
- Consistency in Dexie Cloud
- DBPermissionSet
- Dexie Cloud API
- Dexie Cloud CLI
- Dexie Cloud Docs
- Dexie Cloud REST API
- DexieCloudOptions
- Invite
- Limits
- Member
- PersistedSyncState
- Purchase Subscription
- Realm
- Role
- Run Dexie Cloud on Own Servers
- Sharding and Scalability
- SyncState
- UserLogin
- db.cloud.configure()
- db.cloud.currentUser
- db.cloud.currentUserId
- db.cloud.events.syncComplete
- db.cloud.invites
- db.cloud.login()
- db.cloud.logout()
- db.cloud.options
- db.cloud.permissions()
- db.cloud.persistedSyncState
- db.cloud.roles
- db.cloud.schema
- db.cloud.sync()
- db.cloud.syncState
- db.cloud.userInteraction
- db.cloud.usingServiceWorker
- db.cloud.version
- db.cloud.webSocketStatus
- db.members
- db.realms
- db.roles
- dexie-cloud-addon