@veltdev/types-dev 1.0.568 → 1.0.569

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,10 +1,11 @@
1
+ import { OrganizationGroup } from "./organization-groups.data.model";
1
2
  export declare class AutocompleteDataMap {
2
3
  [hotkey: string]: AutocompleteData;
3
4
  }
4
5
  export declare class AutocompleteData {
5
6
  hotkey: string;
6
7
  description?: string;
7
- type: 'custom' | 'contact';
8
+ type: 'custom' | 'contact' | 'group';
8
9
  list: AutocompleteItem[];
9
10
  }
10
11
  export declare class AutocompleteItem {
@@ -21,6 +22,11 @@ export declare class AutocompleteReplaceData {
21
22
  text: string;
22
23
  custom: AutocompleteItem;
23
24
  }
25
+ export declare class AutocompleteGroupReplaceData {
26
+ text: string;
27
+ groupId: string;
28
+ group?: OrganizationGroup;
29
+ }
24
30
  export declare class AutocompleteChipData extends AutocompleteItem {
25
31
  type: 'contact' | 'custom';
26
32
  }
@@ -1,5 +1,5 @@
1
1
  import { Attachment } from "./attachment.model";
2
- import { AutocompleteReplaceData } from "./autocomplete.data.model";
2
+ import { AutocompleteGroupReplaceData, AutocompleteReplaceData } from "./autocomplete.data.model";
3
3
  import { RecordedData } from "./recorder.model";
4
4
  import { User } from "./user.data.model";
5
5
  export declare class Comment {
@@ -65,4 +65,5 @@ export declare class Comment {
65
65
  recorders: RecordedData[];
66
66
  reactionAnnotationIds: string[];
67
67
  customList: AutocompleteReplaceData[];
68
+ groupList: AutocompleteGroupReplaceData[];
68
69
  }
@@ -43,6 +43,10 @@ export declare class DocumentPaths {
43
43
  * Organization metadata path.
44
44
  */
45
45
  organizationMetadata?: string;
46
+ /**
47
+ * Organization groups path.
48
+ */
49
+ organizationGroups?: string;
46
50
  /**
47
51
  * Group contacts path.
48
52
  */
@@ -0,0 +1,10 @@
1
+ export declare class OrganizationGroup {
2
+ metadata: {
3
+ id: string;
4
+ groupId: string;
5
+ name: string;
6
+ };
7
+ users: {
8
+ [emailIdHash: string]: boolean;
9
+ };
10
+ }
@@ -27,7 +27,7 @@ export declare class UserContact {
27
27
  source?: string;
28
28
  visibility: 'group' | 'private';
29
29
  }
30
- export declare class UserContactSelectedPayload {
30
+ export declare class SelectedUserContact {
31
31
  /**
32
32
  * Selected user contact details.
33
33
  */
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { UserContactSelectedPayload } from "../data/user-contact.data.model";
3
+ import { SelectedUserContact } from "../data/user-contact.data.model";
4
4
  export declare class ContactElement {
5
5
  /**
6
6
  * Get if user is part of global contact or not.
@@ -10,7 +10,7 @@ export declare class ContactElement {
10
10
  /**
11
11
  * Get selected contact details.
12
12
  */
13
- public onContactSelected: () => Observable<UserContactSelectedPayload | null>;
13
+ public onContactSelected: () => Observable<SelectedUserContact | null>;
14
14
  constructor();
15
15
  /**
16
16
  * Get if user is part of global contact or not.
@@ -23,6 +23,7 @@ export declare class Constants {
23
23
  static FIREBASE_PARTIAL_PATH_LOGINS: string;
24
24
  static FIREBASE_PARTIAL_PATH_METADATA: string;
25
25
  static FIREBASE_PARTIAL_PATH_ORGANIZATION_METADATA: string;
26
+ static FIREBASE_PARTIAL_PATH_ORGANIZATION_GROUPS: string;
26
27
  static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
27
28
  static FIREBASE_PARTIAL_PATH_RECORDER: string;
28
29
  static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
package/models.d.ts CHANGED
@@ -50,3 +50,4 @@ export * from './app/models/data/views.data.model';
50
50
  export * from './app/models/data/autocomplete.data.model';
51
51
  export * from './app/models/data/reaction-annotation.data.model';
52
52
  export * from './app/models/data/reaction.data.model';
53
+ export * from './app/models/data/organization-groups.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "1.0.568",
3
+ "version": "1.0.569",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",