-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to project without side effects (#2464)
* Add option to project without side effects * Fix black * Rename option, add test * Fix test
- Loading branch information
1 parent
b1d707e
commit 18945c5
Showing
3 changed files
with
111 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## Payload | ||
``` | ||
{ | ||
// Required | ||
content_object_id: Fqid; | ||
meeting_id: Id; | ||
ids: Id[] | ||
// Optional | ||
options: Object | ||
stable: boolean | ||
type: string | ||
keep_active_projections: boolean | ||
} | ||
``` | ||
|
||
## Action | ||
Creates a new projection projection. | ||
|
||
## Parameters | ||
*ids*: The projectors where the projection will be displayed. | ||
|
||
*type*: Defines the type of the projection. | ||
|
||
*stable*: If set to a non true value all current non stable projections of the selected | ||
projectors are moved to history. | ||
|
||
*keep_active_projections*: If set to true projections with the same type will not be removed | ||
from projectors not specified in `ids`. | ||
|
||
*options*: Can contain arbitrary data that will be added to the projection data. | ||
|
||
## Permissions | ||
The user needs `projector.can_manage`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters