Merge pull request #6115 from jsangmeister/model-locked-error-interface
Update datastore interface for model locked error
This commit is contained in:
commit
41b5ee0340
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user