mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2341 Multiplayer | Tech | Propagate spaceId as required parameter for components (#1034)
This commit is contained in:
parent
91503a5eae
commit
120efe64e5
97 changed files with 1738 additions and 533 deletions
|
@ -34,11 +34,13 @@ fun StubRelationObject(
|
|||
|
||||
fun StubRelationOptionObject(
|
||||
id: String = MockDataFactory.randomUuid(),
|
||||
space: Id = MockDataFactory.randomUuid(),
|
||||
text: String = MockDataFactory.randomString(),
|
||||
color: String = MockDataFactory.randomString()
|
||||
): ObjectWrapper.Option = ObjectWrapper.Option(
|
||||
mapOf(
|
||||
Relations.ID to id,
|
||||
Relations.SPACE_ID to space,
|
||||
Relations.NAME to text,
|
||||
Relations.RELATION_OPTION_COLOR to color,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue