1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! What a watch of a workspace follows besides its own [session state](super::ActionProvider::session_state)
//! and its runs: the records of the workspace, whose [feed](super::ChangeFeed) reports every change
//! and whose `history` verbs list them, and who is in it, which its
//! [roster](super::ActionProvider::here) names.
//!
//! A provider tells a waiting watch that one of them may have moved
//! ([`super::ActionProvider::changed`]), and a caller asks that of another device with
//! [`super::RemoteActionMessage::ChangedRequest`].
/// One member of a workspace present now: a person, or an agent acting in it.
/// The resource who is in a workspace is, read as every resource is (its record `""`, the
/// workspace's own): `{"here": [Here]}`, read once or followed, and never stored.
pub const PRESENCE: &str = "tilo.presence";
/// The keys a workspace admitted, each read as a resource of its own (its record the grant's id,
/// `grant-<hex>`): the grant as the workspace's governance keeps it, published and never stored.
/// A listing of the app names the grants the caller may read: a key its own and the ones it
/// minted, a person's device its person's, and whoever may revoke the workspace's grants every one.
pub const KEY_GRANTS: &str = "tilo.grants";
/// The window a member works in, as their presence names it to everyone in the workspace.
/// What a watch of a workspace follows besides its own
/// [session state](ActionProvider::session_state) and its runs: the two sources a provider reports
/// changes of ([`ActionProvider::changed`]).
/// What a provider that cannot tell when what a watch follows changed answers
/// ([`ActionProvider::changed`]).
pub const CHANGED_UNAVAILABLE: &str =
"this provider cannot tell when the workspace's records or its people changed";