@isoftdata/svelte-user-configuration 1.3.2 → 1.3.3
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.
|
@@ -3,7 +3,7 @@ declare const __propDef: {
|
|
|
3
3
|
props: {
|
|
4
4
|
sendPasswordRecoveryToken?: ((email: string | null) => void | Promise<void>) | undefined;
|
|
5
5
|
doSendPasswordRecoveryToken: boolean;
|
|
6
|
-
open?: (passwordRecoveryEmail: string | null, lastResetDate: Date | undefined) => void;
|
|
6
|
+
open?: (passwordRecoveryEmail: string | null, lastResetDate: Date | null | undefined) => void;
|
|
7
7
|
};
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
@@ -16,6 +16,6 @@ export type PasswordRecoveryModalProps = typeof __propDef.props;
|
|
|
16
16
|
export type PasswordRecoveryModalEvents = typeof __propDef.events;
|
|
17
17
|
export type PasswordRecoveryModalSlots = typeof __propDef.slots;
|
|
18
18
|
export default class PasswordRecoveryModal extends SvelteComponent<PasswordRecoveryModalProps, PasswordRecoveryModalEvents, PasswordRecoveryModalSlots> {
|
|
19
|
-
get open(): (passwordRecoveryEmail: string | null, lastResetDate: Date | undefined) => void;
|
|
19
|
+
get open(): (passwordRecoveryEmail: string | null, lastResetDate: Date | null | undefined) => void;
|
|
20
20
|
}
|
|
21
21
|
export {};
|
package/dist/util.d.ts
CHANGED
|
@@ -18,8 +18,7 @@ export interface UserAccount {
|
|
|
18
18
|
status: 'ACTIVE' | 'DEACTIVATED' | 'LOCKED' | 'PENDING_ACTIVATION';
|
|
19
19
|
newPassword?: string;
|
|
20
20
|
currentPassword?: string;
|
|
21
|
-
lastPasswordResetDate?: Date;
|
|
22
|
-
lastAccessDate?: Date;
|
|
21
|
+
lastPasswordResetDate?: Date | null;
|
|
23
22
|
userActivationData?: {
|
|
24
23
|
activationPIN: string | null;
|
|
25
24
|
activationPINExpiration: Date | null;
|