@processpuzzle/auth 0.0.5 → 0.1.0

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,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AuthButtonComponent {
3
- private readonly authService;
4
- isAuthenticated: import("@angular/core").Signal<boolean>;
5
- readonly routes: import("@angular/router").Route[];
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthButtonComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthButtonComponent, "pp-auth-button", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,2 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- export declare const authRoutes: Routes;
@@ -1,12 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { User } from '@angular/fire/auth';
3
- import * as i0 from "@angular/core";
4
- export declare class AuthService {
5
- private readonly auth;
6
- readonly user: Signal<User | null>;
7
- isAuthenticated: Signal<boolean>;
8
- signOut(): Promise<void>;
9
- getCurrentUser(): User | null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
12
- }
@@ -1,19 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { MatSnackBar } from '@angular/material/snack-bar';
3
- import * as i0 from "@angular/core";
4
- export declare class LoginComponent {
5
- private readonly snackBar;
6
- private readonly auth;
7
- private readonly fb;
8
- private readonly router;
9
- loginForm: FormGroup;
10
- isLoading: import("@angular/core").WritableSignal<boolean>;
11
- errorMessage: import("@angular/core").WritableSignal<string>;
12
- hidePassword: boolean;
13
- constructor(snackBar: MatSnackBar);
14
- onSubmit(): Promise<void>;
15
- signInWithGoogle(): Promise<void>;
16
- private getErrorMessage;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "pp-login", never, {}, {}, never, never, true, never>;
19
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LogoutComponent {
3
- private readonly authService;
4
- private readonly navigateBackService;
5
- protected isLoading: import("@angular/core").WritableSignal<boolean>;
6
- onCancel(): void;
7
- onLogout(): Promise<void>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LogoutComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<LogoutComponent, "pp-logout", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MyProfileComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<MyProfileComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<MyProfileComponent, "pp-my-profile", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,20 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { MatSnackBar } from '@angular/material/snack-bar';
3
- import * as i0 from "@angular/core";
4
- export declare class RegistrationComponent {
5
- private readonly snackBar;
6
- private readonly auth;
7
- private readonly fb;
8
- private readonly navigateBack;
9
- protected registerForm: FormGroup;
10
- protected isLoading: import("@angular/core").WritableSignal<boolean>;
11
- protected errorMessage: import("@angular/core").WritableSignal<string>;
12
- protected hidePassword: boolean;
13
- protected hideConfirmPassword: boolean;
14
- constructor(snackBar: MatSnackBar);
15
- private passwordMatchValidator;
16
- onSubmit(): Promise<void>;
17
- private getErrorMessage;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<RegistrationComponent, "pp-registration", never, {}, {}, never, never, true, never>;
20
- }
package/public-api.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './lib/auth.routes';
2
- export { AuthButtonComponent } from './lib/auth-button/auth-button.component';