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

DROID-3032 Protocol | Integrate 0.37.0-alpha01 (#1767)

This commit is contained in:
Konstantin Ivanov 2024-11-05 11:52:36 +01:00 committed by GitHub
parent d60a10f115
commit ad47b0159a
Signed by: github
GPG key ID: B5690EEEBB952194
11 changed files with 76 additions and 18 deletions

View file

@ -13,10 +13,7 @@ fun StubAccountSetup(
)
fun StubAccount(
id : Id = MockDataFactory.randomUuid(),
name: String = MockDataFactory.randomString(),
avatar: Url? = null,
color: String? = null
id : Id = MockDataFactory.randomUuid()
) : Account = Account(
id = id
)
@ -31,7 +28,8 @@ fun StubConfig(
device: Id = MockDataFactory.randomUuid(),
space: Id = MockDataFactory.randomUuid(),
techSpace: Id = MockDataFactory.randomUuid(),
network: Id = MockDataFactory.randomUuid()
network: Id = MockDataFactory.randomUuid(),
workspaceObjectId: Id = MockDataFactory.randomUuid()
) : Config = Config(
home = home,
profile = profile,
@ -42,5 +40,6 @@ fun StubConfig(
widgets = widgets,
analytics = analytics,
device = device,
network = network
network = network,
workspaceObjectId = workspaceObjectId
)