@veltdev/types-dev 4.5.0-beta.179 → 4.5.0-beta.180
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.
|
@@ -45,6 +45,10 @@ export interface AddCommentAnnotationRequest {
|
|
|
45
45
|
annotation: CommentAnnotation;
|
|
46
46
|
options?: RequestOptions;
|
|
47
47
|
}
|
|
48
|
+
export interface PublishCommentAnnotationRequest {
|
|
49
|
+
annotationId: string;
|
|
50
|
+
options?: RequestOptions;
|
|
51
|
+
}
|
|
48
52
|
export interface ApproveCommentAnnotationRequest {
|
|
49
53
|
annotationId: string;
|
|
50
54
|
options?: RequestOptions;
|
|
@@ -102,6 +102,11 @@ export interface AddCommentAnnotationEvent {
|
|
|
102
102
|
xpath: string;
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
+
export interface PublishCommentAnnotationEvent {
|
|
106
|
+
annotationId: string;
|
|
107
|
+
commentAnnotation: CommentAnnotation;
|
|
108
|
+
metadata: VeltEventMetadata;
|
|
109
|
+
}
|
|
105
110
|
export interface ApproveCommentAnnotationEvent {
|
|
106
111
|
annotationId: string;
|
|
107
112
|
commentAnnotation: CommentAnnotation;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
4
|
-
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, FetchCommentAnnotationsResponse } from "../data/comment-events.data.model";
|
|
4
|
+
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, FetchCommentAnnotationsResponse, PublishCommentAnnotationEvent } from "../data/comment-events.data.model";
|
|
5
5
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
6
6
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
7
7
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
8
8
|
import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
9
9
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
10
|
-
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest, FetchCommentAnnotationsRequest } from "../data/comment-actions.data.model";
|
|
10
|
+
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest, FetchCommentAnnotationsRequest, PublishCommentAnnotationRequest } from "../data/comment-actions.data.model";
|
|
11
11
|
import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
|
|
12
12
|
import { CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
13
13
|
|
|
@@ -953,6 +953,11 @@ export declare class CommentElement {
|
|
|
953
953
|
*/
|
|
954
954
|
public addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
955
955
|
|
|
956
|
+
/**
|
|
957
|
+
* To publish comment annotation
|
|
958
|
+
*/
|
|
959
|
+
public publishCommentAnnotation: (request: PublishCommentAnnotationRequest) => Promise<PublishCommentAnnotationEvent | null>;
|
|
960
|
+
|
|
956
961
|
/**
|
|
957
962
|
* To approve comment annotation
|
|
958
963
|
*/
|
|
@@ -2136,6 +2141,11 @@ export declare class CommentElement {
|
|
|
2136
2141
|
*/
|
|
2137
2142
|
private _addCommentAnnotation;
|
|
2138
2143
|
|
|
2144
|
+
/**
|
|
2145
|
+
* To publish comment annotation
|
|
2146
|
+
*/
|
|
2147
|
+
private _publishCommentAnnotation;
|
|
2148
|
+
|
|
2139
2149
|
/**
|
|
2140
2150
|
* To approve comment annotation
|
|
2141
2151
|
*/
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export declare enum CommentStatus {
|
|
|
14
14
|
REACTION_ADDED = "reactionAdded",
|
|
15
15
|
REACTION_DELETED = "reactionDeleted",
|
|
16
16
|
SUBSCRIBED = "subscribed",
|
|
17
|
-
UNSUBSCRIBED = "unsubscribed"
|
|
17
|
+
UNSUBSCRIBED = "unsubscribed",
|
|
18
|
+
PUBLISHED = "published"
|
|
18
19
|
}
|
|
19
20
|
export declare enum ResolverActions {
|
|
20
21
|
COMMENT_ANNOTATION_ADD = "comment_annotation.add",
|
|
@@ -29,6 +30,7 @@ export declare enum ResolverActions {
|
|
|
29
30
|
}
|
|
30
31
|
export declare const CommentEventTypes: {
|
|
31
32
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
33
|
+
readonly PUBLISH_COMMENT_ANNOTATION: "publishCommentAnnotation";
|
|
32
34
|
readonly DELETE_COMMENT_ANNOTATION: "deleteCommentAnnotation";
|
|
33
35
|
readonly APPROVE_COMMENT_ANNOTATION: "approveCommentAnnotation";
|
|
34
36
|
readonly ACCEPT_COMMENT_ANNOTATION: "acceptCommentAnnotation";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.180",
|
|
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": [
|