@veltdev/types-dev 4.0.0-beta.96 → 4.0.0-beta.97
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 +20 -0
- package/app/models/data/document-metadata.model.d.ts +8 -0
- package/app/models/data/document.data.model.d.ts +3 -0
- package/app/utils/constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -128,6 +130,12 @@ export interface GetRecordingRequest {
|
|
|
128
130
|
commentId: number;
|
|
129
131
|
options?: RequestOptions;
|
|
130
132
|
}
|
|
133
|
+
export interface GetDocumentsRequest {
|
|
134
|
+
options?: RequestOptions;
|
|
135
|
+
}
|
|
136
|
+
export interface GetFoldersRequest {
|
|
137
|
+
options?: RequestOptions;
|
|
138
|
+
}
|
|
131
139
|
export interface DeleteRecordingRequest {
|
|
132
140
|
annotationId: string;
|
|
133
141
|
commentId: number;
|
|
@@ -161,3 +169,15 @@ export interface ToggleReactionRequest {
|
|
|
161
169
|
};
|
|
162
170
|
options?: RequestOptions;
|
|
163
171
|
}
|
|
172
|
+
export interface GetCommentAnnotationsRequest {
|
|
173
|
+
createdAfter?: number;
|
|
174
|
+
createdBefore?: number;
|
|
175
|
+
updatedAfter?: number;
|
|
176
|
+
updatedBefore?: number;
|
|
177
|
+
statusIds?: string[];
|
|
178
|
+
order?: 'asc' | 'desc';
|
|
179
|
+
pageToken?: string;
|
|
180
|
+
groupByDocumentId?: boolean;
|
|
181
|
+
pageSize?: number;
|
|
182
|
+
options?: RequestOptions;
|
|
183
|
+
}
|
|
@@ -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
|
*/
|
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/types-dev",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.97",
|
|
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": [
|