taxtank-core 0.17.13 → 0.17.16

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,6 +3,7 @@ import { User } from '../user/user';
3
3
  export declare class Chat extends ChatBase {
4
4
  employee: User;
5
5
  client: User;
6
+ updatedAt: Date;
6
7
  /**
7
8
  * Check if chat is active
8
9
  */
@@ -23,6 +23,10 @@ export declare class ChatService extends RestService<ChatBase, Chat> {
23
23
  * Listen chats events
24
24
  */
25
25
  listenChats(): void;
26
+ /**
27
+ * Update chat's 'updatedAt' field with the last chat's message date for chat list sorting
28
+ */
29
+ private listenMessages;
26
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatService, never>;
27
31
  static ɵprov: i0.ɵɵInjectableDeclaration<ChatService>;
28
32
  }
@@ -1,2 +1,8 @@
1
1
  import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * Regular expressions that are used to check password strength and valid values
4
+ */
5
+ export declare const PASSWORD_REGEXPS: {
6
+ [key: string]: RegExp;
7
+ };
2
8
  export declare function passwordValidator(): ValidatorFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.17.13",
3
+ "version": "0.17.16",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",