Skip to content

Variable: FLYZE_STORAGE_KEY_PREFIX

@flyze/lib-core-angular 1.0.0-alpha.34· latest

const FLYZE_STORAGE_KEY_PREFIX: "fyz.v1." = 'fyz.v1.'

Defined in: projects/lib-core-angular/src/lib/modules/storage/storage.model.ts:14

The prefix every persisted key carries, so entries belonging to this library are recognizable in DevTools and cannot collide with an app’s own storage.

The version is a tool, not decoration: a stored value always beats a default, so changing a default is invisible to everyone who already has an entry. Bump it only when a stored value would mask a deliberate change — adding a key or a field does not qualify, since an absent entry already falls back to the default.

Applied by the providers that persist (FlyzeLocalStorageProvider, FlyzeSessionStorageProvider, FlyzeIndexedDbProvider); the router passes keys through unchanged and never rewrites them.