move atomic parameter

This commit is contained in:
Finn Stutzenstein 2020-11-25 12:17:01 +01:00
parent a0d0a4ac0b
commit 62f40d1447
No known key found for this signature in database
GPG Key ID: 9042F605C6324654

View File

@ -17,12 +17,11 @@
*
* @throws ActionException
*/
handle_request(payload: Action[], user_id: Id): ActionsResponse
handle_request(payload: Action[], user_id: Id, atomic?: boolean): ActionsResponse
interface Action {
action: string;
data: object[];
atomic?: boolean;
}
interace ActionsResponse {