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:
parent
d60a10f115
commit
ad47b0159a
11 changed files with 76 additions and 18 deletions
|
@ -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
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue