auth-profile.service.d.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import Parse from "parse";
  2. import { Router } from '@angular/router';
  3. import * as i0 from "@angular/core";
  4. export declare class AuthProfileService {
  5. router: Router;
  6. profile: Parse.Object;
  7. _profileId: string;
  8. _companyId: string;
  9. isLeader: boolean;
  10. isManager: boolean;
  11. get profileId(): string;
  12. set profileId(v: string);
  13. get profilePointer(): {
  14. __type: string;
  15. className: string;
  16. objectId: string;
  17. };
  18. get companyId(): string;
  19. set companyId(v: string);
  20. get companyPointer(): {
  21. __type: string;
  22. className: string;
  23. objectId: string;
  24. };
  25. redirectUrl: string;
  26. _user: Parse.User;
  27. get user(): Parse.User<Parse.Attributes>;
  28. set user(v: Parse.User<Parse.Attributes>);
  29. constructor(router: Router);
  30. getProfile(): Promise<Parse.Object<Parse.Attributes>>;
  31. bindProfile(profile: Parse.Object): Promise<void>;
  32. checkProfile(url: string): Promise<boolean>;
  33. setCurrentProfileLocalStorage(profile: Parse.Object): Promise<void>;
  34. static ɵfac: i0.ɵɵFactoryDeclaration<AuthProfileService, never>;
  35. static ɵprov: i0.ɵɵInjectableDeclaration<AuthProfileService>;
  36. }