1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00

GO-3453 Merge branch 'main' of github.com:anyproto/anytype-heart into go-3453-progress-bars-protocol

# Conflicts:
#	clientlibrary/service/service.pb.go
#	core/block/import/csv/converter_test.go
#	pb/commands.pb.go
#	pb/service/service.pb.go
This commit is contained in:
AnastasiaShemyakinskaya 2024-10-22 11:24:19 +02:00
commit db1891d1b4
No known key found for this signature in database
GPG key ID: CCD60ED83B103281
355 changed files with 27313 additions and 15414 deletions

View file

@ -102,11 +102,7 @@ var (
{model.BlockContentWidget_CompactList, widget.DefaultWidgetRecent, "", false},
},
pb.RpcObjectImportUseCaseRequest_GET_STARTED: {
{model.BlockContentWidget_Tree, "bafyreib54qrvlara5ickx4sk7mtdmeuwnyrmsdwrrrmvw7rhluwd3mwkg4", "", true},
{model.BlockContentWidget_List, "bafyreifvmvqmlmrzzdd4db5gau4fcdhxbii4pkanjdvcjbofmmywhg3zni", "f984ddde-eb13-497e-809a-2b9a96fd3503", true},
{model.BlockContentWidget_List, widget.DefaultWidgetFavorite, "", false},
{model.BlockContentWidget_CompactList, widget.DefaultWidgetSet, "", false},
{model.BlockContentWidget_CompactList, widget.DefaultWidgetRecent, "", false},
{model.BlockContentWidget_Tree, "bafyreia4uol63iev5ywhiqdqf4trh44ep2j27rlrvmypd65adg4ntnihn4", "", true},
},
pb.RpcObjectImportUseCaseRequest_PERSONAL_PROJECTS: {
{model.BlockContentWidget_CompactList, widget.DefaultWidgetFavorite, "", false},
@ -458,7 +454,7 @@ func (b *builtinObjects) createWidgets(ctx session.Context, spaceId string, useC
func (b *builtinObjects) getNewObjectID(spaceID string, oldID string) (id string, err error) {
var ids []string
if ids, _, err = b.store.QueryObjectIDs(database.Query{
if ids, _, err = b.store.SpaceIndex(spaceID).QueryObjectIds(database.Query{
Filters: []*model.BlockContentDataviewFilter{
{
Condition: model.BlockContentDataviewFilter_Equal,