@veltdev/sdk-staging 4.0.0-beta.94 → 4.0.0-beta.96
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/base-metadata.data.model.d.ts +2 -0
- package/app/models/data/comment-actions.data.model.d.ts +18 -0
- package/app/models/data/document-metadata.model.d.ts +8 -0
- package/app/models/data/document.data.model.d.ts +16 -0
- package/app/utils/constants.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -9,8 +9,10 @@ import { User } from "./user.data.model";
|
|
|
9
9
|
export interface RequestOptions {
|
|
10
10
|
organizationId?: string;
|
|
11
11
|
documentId?: string;
|
|
12
|
+
folderId?: string;
|
|
12
13
|
filters?: any;
|
|
13
14
|
documentIds?: string[];
|
|
15
|
+
allDocuments?: boolean;
|
|
14
16
|
}
|
|
15
17
|
export interface UpdatePriorityRequest {
|
|
16
18
|
annotationId: string;
|
|
@@ -63,6 +65,9 @@ export interface CommentRequestQuery {
|
|
|
63
65
|
documentIds?: string[];
|
|
64
66
|
locationIds?: string[];
|
|
65
67
|
statusIds?: string[];
|
|
68
|
+
folderId?: string;
|
|
69
|
+
allDocuments?: boolean;
|
|
70
|
+
locationId?: string;
|
|
66
71
|
}
|
|
67
72
|
export interface SubscribeCommentAnnotationRequest {
|
|
68
73
|
annotationId: string;
|
|
@@ -161,3 +166,16 @@ export interface ToggleReactionRequest {
|
|
|
161
166
|
};
|
|
162
167
|
options?: RequestOptions;
|
|
163
168
|
}
|
|
169
|
+
export interface GetCommentAnnotationsRequest {
|
|
170
|
+
createdAfter?: number;
|
|
171
|
+
createdBefore?: number;
|
|
172
|
+
updatedAfter?: number;
|
|
173
|
+
updatedBefore?: number;
|
|
174
|
+
statusIds?: string[];
|
|
175
|
+
order?: 'asc' | 'desc';
|
|
176
|
+
pageToken?: string;
|
|
177
|
+
groupByDocumentId?: boolean;
|
|
178
|
+
allDocuments?: boolean;
|
|
179
|
+
pageSize?: number;
|
|
180
|
+
options?: RequestOptions;
|
|
181
|
+
}
|
|
@@ -6,6 +6,14 @@ export declare class DocumentMetadata {
|
|
|
6
6
|
* Unique document id generated from client document id
|
|
7
7
|
*/
|
|
8
8
|
documentId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Folders
|
|
11
|
+
*/
|
|
12
|
+
folderId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Velt folder id
|
|
15
|
+
*/
|
|
16
|
+
veltFolderId?: string;
|
|
9
17
|
/**
|
|
10
18
|
* API key
|
|
11
19
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RequestOptions } from "./comment-actions.data.model";
|
|
1
2
|
import { DocumentMetadata } from "./document-metadata.model";
|
|
2
3
|
export interface Document {
|
|
3
4
|
id: string;
|
|
@@ -5,4 +6,19 @@ export interface Document {
|
|
|
5
6
|
}
|
|
6
7
|
export interface SetDocumentsRequestOptions {
|
|
7
8
|
organizationId?: string;
|
|
9
|
+
folderId?: string;
|
|
10
|
+
allDocuments?: boolean;
|
|
11
|
+
locationId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetDocumentsRequest {
|
|
14
|
+
options?: RequestOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface GetFoldersRequest {
|
|
17
|
+
options?: RequestOptions;
|
|
18
|
+
}
|
|
19
|
+
export interface FolderConfig {
|
|
20
|
+
folderId?: string;
|
|
21
|
+
allDocuments?: boolean;
|
|
22
|
+
locationId?: string;
|
|
23
|
+
veltFolderId?: string;
|
|
8
24
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare class Constants {
|
|
|
10
10
|
static DEFAULT_QUERY_HASH: string;
|
|
11
11
|
static LISTENER_BATCH_SIZE: number;
|
|
12
12
|
static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
|
|
13
|
+
static FIREBASE_PARTIAL_PATH_FOLDERS: string;
|
|
13
14
|
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
|
14
15
|
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
15
16
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.96",
|
|
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": [
|