Package-level declarations
Types
Makes a shared view personal to the caller, in place: sent as the owner (shared) (Wow-Scope), it moves the view to the operator who sent it. The audience changes at once, the owner right after. A view a shared dashboard shows stays shared.
Saves a new view under the caller's owner, which is its audience: a user's, (shared) or, under the tenant (platform), (system). The server generates its id unless the route names one, and takes its application from the request's authenticated application, the request fact app_id (the app of the request's CoSec scope). The config is the view engine's ViewConfig, whole: the server checks only its shape and size.
Renames a view.
History only: never produced, only evolved. The 9.x view's move to another audience (its ViewAudienceChanged, a 9.x owner transfer), kept so the 9.x history migrate-data imports still loads: a view moves to audience as ViewShared or ViewClaimed moves it. No command produces it (the view store's tests check it); a view shared or claimed in 10.x records ViewShared or ViewClaimed. toOwnerId is the owner 9.x moved the view to, which the import records as the stream's owner (its map's owner field).
Revision 2 records the kind; a 9.x record (revision 1) has none, and is read with its config's kind.