Persists device and app stores across sessions (#860)
* Persistence for device and app data * esphemeral -> ephemeral Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * devices -> app Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Additional waypoint methods, update mock, update tests --------- Co-authored-by: philon- <philon-@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
philon-
parent
fc1e327b74
commit
cdad811295
@@ -7,5 +7,7 @@ if (isDev) {
|
||||
featureFlags.setOverrides({
|
||||
persistNodeDB: true,
|
||||
persistMessages: true,
|
||||
persistDevices: true,
|
||||
persistApp: true,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ import { z } from "zod";
|
||||
export const FLAG_ENV = {
|
||||
persistNodeDB: "VITE_PERSIST_NODE_DB",
|
||||
persistMessages: "VITE_PERSIST_MESSAGES",
|
||||
persistDevices: "VITE_PERSIST_DEVICES",
|
||||
persistApp: "VITE_PERSIST_APP",
|
||||
} as const;
|
||||
|
||||
export type FlagKey = keyof typeof FLAG_ENV;
|
||||
|
||||
Reference in New Issue
Block a user