mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
finalize dev-storage
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
6a34c5a8a0
commit
57c17692eb
@ -14,7 +14,4 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export const x = 42
|
||||
export { createStorage } from './storage'
|
||||
|
@ -71,7 +71,12 @@ class DevStorage implements Storage {
|
||||
}
|
||||
}
|
||||
|
||||
export async function connect (handler: (tx: Tx) => void): Promise<Storage> {
|
||||
/**
|
||||
* @public
|
||||
* @param handler -
|
||||
* @returns
|
||||
*/
|
||||
export async function createStorage (handler: (tx: Tx) => void): Promise<Storage> {
|
||||
const txes = await getModel()
|
||||
|
||||
const hierarchy = new Hierarchy()
|
||||
|
Loading…
Reference in New Issue
Block a user