1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 01:51:07 +09:00

GO-4147: Remove IgnoreWorkspace parameter

This commit is contained in:
Sergey 2024-10-01 10:47:59 +02:00
parent f0f7c7f0d7
commit c17820202b
No known key found for this signature in database
GPG key ID: 3B6BEF79160221C6
5 changed files with 1167 additions and 1277 deletions

View file

@ -337,7 +337,6 @@ func (mw *Middleware) ObjectSearchSubscribe(cctx context.Context, req *pb.RpcObj
AfterId: req.AfterId,
BeforeId: req.BeforeId,
Source: req.Source,
IgnoreWorkspace: req.IgnoreWorkspace,
NoDepSubscription: req.NoDepSubscription,
CollectionId: req.CollectionId,
})

View file

@ -55,9 +55,8 @@ type SubscribeRequest struct {
// (optional) pagination: middleware will return results after given id
AfterId string
// (optional) pagination: middleware will return results before given id
BeforeId string
Source []string
IgnoreWorkspace string
BeforeId string
Source []string
// disable dependent subscription
NoDepSubscription bool
CollectionId string

View file

@ -15669,7 +15669,6 @@ DEPRECATED, GO-1926 |
| afterId | [string](#string) | | (optional) pagination: middleware will return results after given id |
| beforeId | [string](#string) | | (optional) pagination: middleware will return results before given id |
| source | [string](#string) | repeated | |
| ignoreWorkspace | [string](#string) | | |
| noDepSubscription | [bool](#bool) | | disable dependent subscription |
| collectionId | [string](#string) | | |
@ -16441,7 +16440,6 @@ DEPRECATED, GO-1926 |
| subId | [string](#string) | | (optional) subscription identifier client can provide some string or middleware will generate it automatically if subId is already registered on middleware, the new query will replace previous subscription |
| ids | [string](#string) | repeated | ids for subscribe |
| keys | [string](#string) | repeated | sorts (required) needed keys in details for return, for object fields mw will return (and subscribe) objects as dependent |
| ignoreWorkspace | [string](#string) | | |
| noDepSubscription | [bool](#bool) | | disable dependent subscription |

File diff suppressed because it is too large Load diff

View file

@ -1899,7 +1899,6 @@ message Rpc {
repeated string source = 10;
string ignoreWorkspace = 12;
// disable dependent subscription
bool noDepSubscription = 13;
string collectionId = 14;
@ -1972,7 +1971,6 @@ message Rpc {
// (required) needed keys in details for return, for object fields mw will return (and subscribe) objects as dependent
repeated string keys = 3;
string ignoreWorkspace = 11;
// disable dependent subscription
bool noDepSubscription = 12;
}