Make change non-breaking

This commit is contained in:
Joshua Sangmeister 2021-04-22 12:23:16 +02:00
parent 6ca37f8067
commit 595a3fea90
1 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,7 @@ Interface WriteRequest {
locked_fields: {
<fqid>: Position;
<fqfield>: Position;
<CollectionField>: Position | CollectionFieldLock[];
<CollectionField>: 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: