From 0778681181e65a9de985e14167b4c9766318791f Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister Date: Thu, 10 Jun 2021 16:05:56 +0200 Subject: [PATCH] Update datastore interface for model locked error --- docs/interfaces/datastore-service.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/interfaces/datastore-service.txt b/docs/interfaces/datastore-service.txt index 1da9b3ba3..89f954ba7 100644 --- a/docs/interfaces/datastore-service.txt +++ b/docs/interfaces/datastore-service.txt @@ -10,7 +10,7 @@ Enum EventType { Exception ModelDoesNotExist(model: Fqid); Exception ModelExist(model: Fqid); Exception ModelNotDeleted(model: Fqid); -Exception ModelLocked(key: Fqid | Fqfield | CollectionField); +Exception ModelLocked(key: (Fqid | Fqfield | CollectionField)[]); Exception InvalidFormat(msg: string); Exception InvalidRequest(msg: string); @@ -45,7 +45,7 @@ Interface ModelNotDeletedData { } Interface ModelLockedData { type: 6; - key: string; + keys: string[]; } ## Writer