From 8cfa7d0a514a3fe4f676483b73f2879f30622e78 Mon Sep 17 00:00:00 2001 From: Finn Stutzenstein Date: Wed, 11 Nov 2020 08:33:59 +0100 Subject: [PATCH] Result->Response, actions->action --- docs/interfaces/{actions-service.txt => action-service.txt} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename docs/interfaces/{actions-service.txt => action-service.txt} (93%) diff --git a/docs/interfaces/actions-service.txt b/docs/interfaces/action-service.txt similarity index 93% rename from docs/interfaces/actions-service.txt rename to docs/interfaces/action-service.txt index 0b3c43083..173e4892e 100644 --- a/docs/interfaces/actions-service.txt +++ b/docs/interfaces/action-service.txt @@ -23,14 +23,14 @@ Exception ActionException(message: string); * * @throws ActionException */ -handle_request (payload: Action[], user_id: Id): ActionsResult | ActionError +handle_request (payload: Action[], user_id: Id): ActionsResponse | ActionError interface Action { action: string; data: object[]; # An array of action specific data. } -interace ActionsResult { +interace ActionsResponse { success: true; message: string;