Variable: FLYZE_STORAGE_ROUTES
@flyze/lib-core-angular 1.0.0-alpha.34· latest
constFLYZE_STORAGE_ROUTES:InjectionToken<FlyzeStorageRoute[]>
Defined in: projects/lib-core-angular/src/lib/modules/storage/storage.service.ts:46
The routes FlyzeStorageService resolves keys against.
A multi token: each registration contributes exactly one FlyzeStorageRoute and
Angular merges them into the array the service injects — the shape HTTP_INTERCEPTORS uses.
{ provide: FLYZE_STORAGE_ROUTES, multi: true, useFactory: () => ({ prefix: 'draft', provider: inject(FlyzeSessionStorageProvider) })}The provider does not have to be one of the built-in ones — implementing FlyzeStorageProvider is how an app adds a location this library knows nothing about, such as one scoped to the signed-in user or backed by an API.
Registering nothing is valid: every key then falls to localStorage.