diff --git a/docs/interfaces/datastore-service.txt b/docs/interfaces/datastore-service.txt index 0bb43c7ef..1da9b3ba3 100644 --- a/docs/interfaces/datastore-service.txt +++ b/docs/interfaces/datastore-service.txt @@ -75,7 +75,7 @@ Interface WriteRequest { locked_fields: { : Position; : Position; - : Position | CollectionFieldLock[]; + : Position | CollectionFieldLock | CollectionFieldLock[]; } } @@ -135,9 +135,10 @@ Interface DeleteEvent { // first, e.g. when selecting all models from a specific meeting. WARNING: the filter // should always contain an equals check with the meeting_id, since this will be // indexed. Other filters can lead to long query times. +// If no filter is given, it has the same meaning as just giving the position. Interface CollectionFieldLock { position: Position; - filter: Filter; + filter: Filter | null; } // Note: The modified fqfields include: