@cbm-common/cbm-types 0.0.137 → 0.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
1
  import { Subject } from "rxjs";
2
2
  import { CbmAuthReactiveModel } from "../models/auth-reactive.domain.model";
3
3
  import { CbmAuthService } from "./auth/auth.service";
4
+ type TLocalStorageKey = CbmAuthReactiveModel.TLocalStorageKey;
4
5
  export declare class CbmAuthReactiveService {
5
6
  private readonly authService;
6
7
  constructor(authService: CbmAuthService);
7
8
  setToken: Subject<[CbmAuthReactiveModel.TLocalStorageKey, string | null]>;
8
- authenticationMode: import("@angular/core").WritableSignal<CbmAuthReactiveModel.TAccessMode>;
9
9
  private userTokenData;
10
10
  private globalTokenData;
11
11
  private consoleTokenData;
12
- private tokens;
12
+ tokens: Record<TLocalStorageKey, () => string | null>;
13
13
  userData: import("@angular/core").Signal<CbmAuthReactiveModel.UserTokenData | null>;
14
14
  globalData: import("@angular/core").Signal<CbmAuthReactiveModel.GlobalTokenData | null>;
15
15
  consoleData: import("@angular/core").Signal<CbmAuthReactiveModel.ConsoleTokenData | null>;
@@ -20,3 +20,4 @@ export declare class CbmAuthReactiveService {
20
20
  private loadTokensFromStorage;
21
21
  private decodeToken;
22
22
  }
23
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.137",
3
+ "version": "0.0.138",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {