Files
Tom Moor 14c9f94e31 chore: Split shared/types into domain files (#14014)
* chore: Move shared/types.ts to shared/types/index.ts

* chore: Split shared/types into domain files

shared/types/index.ts re-exports every file, so imports from
@shared/types do not change. No definitions are changed.

* docs: Add JSDoc to all exports in shared/types
2026-10-10 13:24:09 -04:00

20 lines
434 B
TypeScript

/** Access levels that can be granted on a collection. */
export enum CollectionPermission {
Read = "read",
ReadWrite = "read_write",
Admin = "admin",
}
/** Access levels that can be granted on a document. */
export enum DocumentPermission {
Read = "read",
ReadWrite = "read_write",
Admin = "admin",
}
/** Roles that a user can have in a group. */
export enum GroupPermission {
Member = "member",
Admin = "admin",
}