mirror of
https://github.com/balzack/databag.git
synced 2025-04-25 02:55:21 +00:00
Update README.md
This commit is contained in:
parent
6925b6ba42
commit
553e1338a9
@ -15,7 +15,10 @@ The crypto and log params are provided by implementing the [Crypto](https://gith
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Persistent storage can then be provided to the SDK for user communication</summary><br>
|
||||
<summary>User communcation is provided through the Session interface</summary><br>
|
||||
|
||||
<details>
|
||||
<summary>Storage can then be provided to the SDK to persist sessions</summary><br>
|
||||
|
||||
Mobile apps typically use the offline store where most of the relational data is saved. The sql param is provided by implementing the [SqlStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||
|
||||
@ -26,9 +29,6 @@ Browser apps typically the online store where minimal session data is saved. The
|
||||
```initOnlineStore(web: WebStore): Promise<Session | null>```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>User communcation is provided through the Session interface</summary><br>
|
||||
|
||||
Login provides a Session through an account login
|
||||
|
||||
```login(handle: string, password: string, node: string, secure: boolean, mfaCode: string | null, params: SessionParams): Promise<Session>```
|
||||
|
Loading…
x
Reference in New Issue
Block a user