Update datastore interface for model locked error

This commit is contained in:
Joshua Sangmeister 2021-06-10 16:05:56 +02:00
parent a3b2784cc7
commit 0778681181

View File

@ -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