@veltdev/sdk 4.3.0-beta.3 → 4.3.0-beta.5
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/comment-actions.data.model.d.ts +3 -0
- package/app/models/data/comment-sidebar-config.model.d.ts +2 -0
- package/app/models/data/contact-utils.data.model.d.ts +9 -0
- package/app/models/data/organization-groups.data.model.d.ts +6 -0
- package/app/models/element/contact-element.model.d.ts +13 -1
- package/app/utils/enums.d.ts +2 -1
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -11,6 +11,8 @@ declare class FilterTypeConfig {
|
|
|
11
11
|
export declare class CommentSidebarFilterConfig {
|
|
12
12
|
location?: FilterTypeConfig;
|
|
13
13
|
people?: FilterTypeConfig;
|
|
14
|
+
assigned?: FilterTypeConfig;
|
|
15
|
+
tagged?: FilterTypeConfig;
|
|
14
16
|
priority?: FilterTypeConfig;
|
|
15
17
|
status?: FilterTypeConfig;
|
|
16
18
|
category?: FilterTypeConfig;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientOrganizationUserGroup } from "./organization-groups.data.model";
|
|
2
|
+
import { User } from "./user.data.model";
|
|
3
|
+
export interface GetContactListResponse {
|
|
4
|
+
organizationUsers?: User[];
|
|
5
|
+
folderUsers?: User[];
|
|
6
|
+
documentUsers?: User[];
|
|
7
|
+
userGroups?: ClientOrganizationUserGroup[];
|
|
8
|
+
updatedContactList?: User[];
|
|
9
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { User } from "./user.data.model";
|
|
1
2
|
export declare class OrganizationUserGroup {
|
|
2
3
|
metadata: {
|
|
3
4
|
groupId: string;
|
|
@@ -8,3 +9,8 @@ export declare class OrganizationUserGroup {
|
|
|
8
9
|
[userIdHash: string]: boolean;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
12
|
+
export declare class ClientOrganizationUserGroup {
|
|
13
|
+
groupId: string;
|
|
14
|
+
groupName: string;
|
|
15
|
+
users?: User[];
|
|
16
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
4
3
|
import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
|
|
4
|
+
import { GetContactListResponse } from "../data/contact-utils.data.model";
|
|
5
|
+
import { SelectedUserContact } from "../data/user-contact.data.model";
|
|
6
|
+
|
|
5
7
|
export declare class ContactElement {
|
|
6
8
|
/**
|
|
7
9
|
* Get if user is part of global contact or not.
|
|
@@ -45,6 +47,11 @@ export declare class ContactElement {
|
|
|
45
47
|
* @param config {merge: boolean}
|
|
46
48
|
*/
|
|
47
49
|
public updateContactList: (userContacts: UserContact[], config?: { merge: boolean }) => void;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Get contact list.
|
|
53
|
+
*/
|
|
54
|
+
public getContactList: () => Observable<GetContactListResponse | null>;
|
|
48
55
|
constructor();
|
|
49
56
|
/**
|
|
50
57
|
* Get if user is part of global contact or not.
|
|
@@ -88,4 +95,9 @@ export declare class ContactElement {
|
|
|
88
95
|
* @param config {merge: boolean}
|
|
89
96
|
*/
|
|
90
97
|
private _updateContactList;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Get contact list.
|
|
101
|
+
*/
|
|
102
|
+
private _getContactList;
|
|
91
103
|
}
|
package/app/utils/enums.d.ts
CHANGED
package/models.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './app/models/data/comment-events.data.model';
|
|
|
10
10
|
export * from './app/models/data/comment.data.model';
|
|
11
11
|
export * from './app/models/data/comment-actions.data.model';
|
|
12
12
|
export * from './app/models/data/comment-utils.data.model';
|
|
13
|
+
export * from './app/models/data/contact-utils.data.model';
|
|
13
14
|
export * from './app/models/data/config.data.model';
|
|
14
15
|
export * from './app/models/data/core-events.data.model';
|
|
15
16
|
export * from './app/models/data/cursor-position.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.3.0-beta.
|
|
3
|
+
"version": "4.3.0-beta.5",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|