docs: update indexeddb document (#4084)

This commit is contained in:
Alex Yang
2023-08-31 17:16:27 -05:00
committed by GitHub
parent b18596fc57
commit 06d5ecd597
5 changed files with 10 additions and 6 deletions

View File

@@ -129,10 +129,6 @@ export const getMilestones = async (
return milestone.milestone;
};
/**
* We use `doc.guid` as the unique key, please make sure it not changes.
*/
export * from './provider';
export * from './shared';
export * from './utils';

View File

@@ -105,6 +105,9 @@ export const createIndexedDBDatasource = ({
};
};
/**
* We use `doc.guid` as the unique key, please make sure it not changes.
*/
export const createIndexedDBProvider = (
doc: Doc,
dbName: string = DEFAULT_DB_NAME