mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2314 App | Tech | Propagate spaceId as required field for components — Part 1 (#1020)
This commit is contained in:
parent
d17d18470a
commit
3eaf3a961f
144 changed files with 1693 additions and 919 deletions
|
@ -6,6 +6,7 @@ import com.anytypeio.anytype.test_utils.MockDataFactory
|
|||
|
||||
fun StubObject(
|
||||
id: String = MockDataFactory.randomUuid(),
|
||||
space: Id = MockDataFactory.randomUuid(),
|
||||
uniqueKey: String? = MockDataFactory.randomUuid(),
|
||||
name: String = MockDataFactory.randomString(),
|
||||
objectType: String = MockDataFactory.randomString(),
|
||||
|
@ -22,6 +23,7 @@ fun StubObject(
|
|||
): ObjectWrapper.Basic = ObjectWrapper.Basic(
|
||||
map = mapOf(
|
||||
Relations.ID to id,
|
||||
Relations.SPACE_ID to space,
|
||||
Relations.NAME to name,
|
||||
Relations.TYPE to objectType,
|
||||
Relations.LAYOUT to layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue