mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1030 Collection | Enhancement | Order of objects (#3036)
* DROID-1030 objectOrders model, added to data view content * DROID-1030 grid order * DROID-1030 gallery order * DROID-1030 list order * DROID-1030 get object order by view id * DROID-1030 refactoring * DROID-1030 update old tests * DROID-1030 object order tests by view
This commit is contained in:
parent
b575ae9264
commit
326599d065
15 changed files with 626 additions and 108 deletions
|
@ -7,14 +7,16 @@ fun StubDataView(
|
|||
views: List<DVViewer> = emptyList(),
|
||||
relationLinks: List<RelationLink> = emptyList(),
|
||||
targetObjectId: Id = MockDataFactory.randomUuid(),
|
||||
isCollection: Boolean = false
|
||||
isCollection: Boolean = false,
|
||||
objectOrder: List<ObjectOrder> = emptyList()
|
||||
): Block = Block(
|
||||
id = id,
|
||||
content = DV(
|
||||
relationLinks = relationLinks,
|
||||
viewers = views,
|
||||
targetObjectId = targetObjectId,
|
||||
isCollection = isCollection
|
||||
isCollection = isCollection,
|
||||
objectOrders = objectOrder
|
||||
),
|
||||
children = emptyList(),
|
||||
fields = Block.Fields.empty()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue