Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init/persist to disk #9

Merged
merged 4 commits into from
Nov 23, 2021
Merged

Init/persist to disk #9

merged 4 commits into from
Nov 23, 2021

Conversation

jtcooper10
Copy link
Owner

No description provided.

- Added PouchDB constructor as parameter to `VaultService` constructor
  - Added calls to this constructor where applicable
- Added disk path prefix to PouchDB options
- Configured `createVault` to attempt to load the database from disk
- Added new `AdminService` class
- Added `AdminDB` sub-instance of PouchDB
- Added method to `VaultService` to configure admin vault
- Added admin record creation on vault creation
- Added `AdminService#getAllVaultRecords` to fetch vault record list from disk
- Modified `VaultService#useAdminService` to initialize all found vault records at startup time
@jtcooper10 jtcooper10 merged commit 59c7d7a into develop Nov 23, 2021
@jtcooper10 jtcooper10 deleted the init/persist-to-disk branch December 19, 2021 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant