1
0
Fork 0
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:
Evgenii Kozlov 2024-03-27 15:26:39 +01:00 committed by GitHub
parent 91503a5eae
commit 120efe64e5
Signed by: github
GPG key ID: B5690EEEBB952194
97 changed files with 1738 additions and 533 deletions

View file

@ -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,
)