Merge pull request #6115 from jsangmeister/model-locked-error-interface

Update datastore interface for model locked error
This commit is contained in:
jsangmeister 2021-06-14 09:16:17 +02:00 committed by GitHub
commit 41b5ee0340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ Enum EventType {
Exception ModelDoesNotExist(model: Fqid); Exception ModelDoesNotExist(model: Fqid);
Exception ModelExist(model: Fqid); Exception ModelExist(model: Fqid);
Exception ModelNotDeleted(model: Fqid); Exception ModelNotDeleted(model: Fqid);
Exception ModelLocked(key: Fqid | Fqfield | CollectionField); Exception ModelLocked(key: (Fqid | Fqfield | CollectionField)[]);
Exception InvalidFormat(msg: string); Exception InvalidFormat(msg: string);
Exception InvalidRequest(msg: string); Exception InvalidRequest(msg: string);
@ -45,7 +45,7 @@ Interface ModelNotDeletedData {
} }
Interface ModelLockedData { Interface ModelLockedData {
type: 6; type: 6;
key: string; keys: string[];
} }
## Writer ## Writer