@aristid/leav-types 1.5.0-01ca96c4 → 1.5.0-ea3f88ed

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.
@@ -17,5 +17,13 @@ interface IMailpitMsgFull extends IMailpitMsgLight {
17
17
  HTML: string;
18
18
  Text: string;
19
19
  }
20
+ interface IMailpitSearchResult {
21
+ messages: IMailpitMsgLight[];
22
+ total: number;
23
+ unread: number;
24
+ }
20
25
  export declare function waitMailpitMessage(acceptMessage: (msg: IMailpitMsgLight) => boolean): Promise<IMailpitMsgFull>;
26
+ export declare function deleteMailpitMessagesBySearch(search: string): Promise<void>;
27
+ export declare function searchMailpitMessages(search: string): Promise<IMailpitSearchResult>;
28
+ export declare function waitForMailpitSearchMessage(search: string, timeoutMs?: number, intervalMs?: number): Promise<IMailpitMsgLight[]>;
21
29
  export {};
@@ -106,6 +106,7 @@ export interface IValuesOptions {
106
106
  version?: IValueVersion;
107
107
  forceArray?: boolean;
108
108
  forceGetAllValues?: boolean;
109
+ skipActions?: boolean;
109
110
  [optionName: string]: any;
110
111
  }
111
112
  export interface IFindValueTree {
@@ -1,2 +1,3 @@
1
1
  import { type IActionsListFunction } from '../../_types/actionsList';
2
+ export declare const MASKED_VALUE = "\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF";
2
3
  export default function (): IActionsListFunction;
@@ -20,6 +20,7 @@ export interface IUserDomain {
20
20
  saveUserData(params: ISaveUserDataParams): Promise<IUserData>;
21
21
  getUserData(keys: string[], global: boolean, ctx: IQueryInfos): Promise<IUserData>;
22
22
  sendResetPasswordEmail(email: string, token: string, login: string, browser: string, os: string, lang: 'fr' | 'en', ctx: IQueryInfos): Promise<void>;
23
+ verifyPassword(userId: string, password: string, ctx: IQueryInfos): Promise<boolean>;
23
24
  }
24
25
  export interface IUserDomainDeps {
25
26
  config: Config.IConfig;
@@ -0,0 +1,7 @@
1
+ import { type IAttributeRepo } from 'infra/attribute/attributeRepo';
2
+ import { type IMigration } from '../../../_types/migration';
3
+ interface IDeps {
4
+ 'core.infra.attribute'?: IAttributeRepo;
5
+ }
6
+ export default function ({ 'core.infra.attribute': attributeRepo }: IDeps): IMigration;
7
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.5.0-01ca96c4",
3
+ "version": "1.5.0-ea3f88ed",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",