Skip to main content

Module workspace

Module workspace 

Expand description

Records a workspace holds that every app of that workspace opens beside its own ([collab_types::WORKSPACE_RECORDS]): one per kind and workspace, kept by one app, read and changed from any app’s window.

The workspace’s emoji are one: any view draws :name: from them, in Notes as in Chat. A window holds such a record the way it holds one of the person’s (super::person): opened beside its own record, in the store its owner keeps in the workspace, edited with attribution and undo and synced on the owner’s route. The workspace’s grants on the owner’s resource decide each change, wherever it is made.

Structs§

WorkspaceRecords
Where a window opens the records every app of its workspace opens. Cloning shares them.

Functions§

record_id
The id of the workspace’s record of kind ([collab_types::workspace_record_id]): the same in every workspace, which scopes it.