From 8ffe070d3cd8a2c3f6fa66eeb31a20aa59a54702 Mon Sep 17 00:00:00 2001 From: Tony Gaskell Date: Wed, 13 Nov 2024 15:10:05 -1000 Subject: [PATCH 1/2] Update offline-storage.md Fix typo in import. --- .../building-your-application/patterns/offline-storage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-documentation/building-your-application/patterns/offline-storage.md b/docs/developer-documentation/building-your-application/patterns/offline-storage.md index 8ffdef5..ca82ed6 100644 --- a/docs/developer-documentation/building-your-application/patterns/offline-storage.md +++ b/docs/developer-documentation/building-your-application/patterns/offline-storage.md @@ -29,9 +29,9 @@ new LocalStorageMethod( When using IndexedDB, we additionally need to provide a schema version and model structures. These are used to manage future data migrations. ```js -import { IndexedDBStorageMethod } from '@nmfs-radfish/radfish'; +import { IndexedDBMethod } from '@nmfs-radfish/radfish'; -new IndexedDBStorageMethod( +new IndexedDBMethod( "survey-app-storage", "1.0.0", { From 42b972fc705a1ed05fa01e646e0089ccb3b8ecd4 Mon Sep 17 00:00:00 2001 From: Jay Giang Date: Thu, 14 Nov 2024 13:17:43 -0800 Subject: [PATCH 2/2] Fix IndexedDBMethod typo in description text --- .../building-your-application/patterns/offline-storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-documentation/building-your-application/patterns/offline-storage.md b/docs/developer-documentation/building-your-application/patterns/offline-storage.md index ca82ed6..8af6d3d 100644 --- a/docs/developer-documentation/building-your-application/patterns/offline-storage.md +++ b/docs/developer-documentation/building-your-application/patterns/offline-storage.md @@ -10,7 +10,7 @@ RADFish application users can be out at sea for an extended period of time and m ## Storage Models -The `@nmfs-radfish/radfish`package provides two storage methods available `LocalStorageMethod` and `IndexedDBStorageMethod`. +The `@nmfs-radfish/radfish`package provides two storage methods available `LocalStorageMethod` and `IndexedDBMethod`. ### LocalStorage