@veltdev/types-dev 1.0.567 → 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.
- package/app/models/data/autocomplete.data.model.d.ts +7 -1
- package/app/models/data/comment.data.model.d.ts +2 -1
- package/app/models/data/document-paths.data.model.d.ts +4 -0
- package/app/models/data/organization-groups.data.model.d.ts +10 -0
- package/app/models/data/user-contact.data.model.d.ts +18 -0
- package/app/models/element/contact-element.model.d.ts +11 -0
- package/app/utils/constants.d.ts +1 -0
- package/models.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -27,3 +27,21 @@ export declare class UserContact {
|
|
|
27
27
|
source?: string;
|
|
28
28
|
visibility: 'group' | 'private';
|
|
29
29
|
}
|
|
30
|
+
export declare class SelectedUserContact {
|
|
31
|
+
/**
|
|
32
|
+
* Selected user contact details.
|
|
33
|
+
*/
|
|
34
|
+
contact: UserContact;
|
|
35
|
+
/**
|
|
36
|
+
* Is user part of organization contact.
|
|
37
|
+
*/
|
|
38
|
+
isOrganizationContact: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Is user part of document contact.
|
|
41
|
+
*/
|
|
42
|
+
isDocumentContact: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Document access type.
|
|
45
|
+
*/
|
|
46
|
+
documentAccessType: string;
|
|
47
|
+
}
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
+
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
3
4
|
export declare class ContactElement {
|
|
4
5
|
/**
|
|
5
6
|
* Get if user is part of global contact or not.
|
|
6
7
|
*/
|
|
7
8
|
public isUserGlobalContact: () => Observable<boolean>;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Get selected contact details.
|
|
12
|
+
*/
|
|
13
|
+
public onContactSelected: () => Observable<SelectedUserContact | null>;
|
|
8
14
|
constructor();
|
|
9
15
|
/**
|
|
10
16
|
* Get if user is part of global contact or not.
|
|
11
17
|
*/
|
|
12
18
|
private _isUserGlobalContact;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get selected contact details.
|
|
22
|
+
*/
|
|
23
|
+
private _onContactSelected;
|
|
13
24
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -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';
|