mirror of
https://github.com/balzack/databag.git
synced 2025-04-24 02:25:26 +00:00
Update README.md
This commit is contained in:
parent
404d88564a
commit
1b8dc1bd45
@ -17,11 +17,11 @@ The crypto and log params are provided by implementing the [Crypto](https://gith
|
||||
<details>
|
||||
<summary>Persistent storage can then be provided to the SDK</summary><br>
|
||||
|
||||
Mobile apps typically use the SqlStore interface allowing for offline use cases where most of the relational data is stored. The sql param for the offline store is provided by implementing the [SqlStore]([Crypto](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||
Mobile apps typically use the SqlStore interface allowing for offline use cases where most of the relational data is stored. The sql param for the offline store is provided by implementing the [SqlStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||
|
||||
```initOfflineStore(sql: SqlStore): Promise<Session | null>```
|
||||
|
||||
Browser apps typically use the WebStore interface where minimal session data is stored. The web param for the minimal online store is provided by implementing the [WebStore]([Crypto](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||
Browser apps typically use the WebStore interface where minimal session data is stored. The web param for the minimal online store is provided by implementing the [WebStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||
|
||||
```initOnlineStore(web: WebStore): Promise<Session | null>```
|
||||
</details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user