@veltdev/types-dev 5.0.3-beta.1 → 5.0.3
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.
|
@@ -77,10 +77,6 @@ export interface AddCommentAnnotationRequest {
|
|
|
77
77
|
/** Optional visibility configuration for the comment */
|
|
78
78
|
visibility?: CommentVisibilityConfig;
|
|
79
79
|
}
|
|
80
|
-
export interface PublishCommentAnnotationRequest {
|
|
81
|
-
annotationId: string;
|
|
82
|
-
options?: RequestOptions;
|
|
83
|
-
}
|
|
84
80
|
export interface ApproveCommentAnnotationRequest {
|
|
85
81
|
annotationId: string;
|
|
86
82
|
options?: RequestOptions;
|
|
@@ -122,11 +122,6 @@ export interface AddCommentAnnotationEvent {
|
|
|
122
122
|
xpath: string;
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
export interface PublishCommentAnnotationEvent {
|
|
126
|
-
annotationId: string;
|
|
127
|
-
commentAnnotation: CommentAnnotation;
|
|
128
|
-
metadata: VeltEventMetadata;
|
|
129
|
-
}
|
|
130
125
|
export interface ApproveCommentAnnotationEvent {
|
|
131
126
|
annotationId: string;
|
|
132
127
|
commentAnnotation: CommentAnnotation;
|
|
@@ -3,14 +3,14 @@ import { Observable } from "rxjs";
|
|
|
3
3
|
import { AssignToType, CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
|
|
4
4
|
import { UploadFileData } from "../data/attachment.model";
|
|
5
5
|
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
6
|
-
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest,
|
|
6
|
+
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest, CommentRequestQuery, CommentVisibilityConfig, ClearComposerRequest, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, PrivateModeConfig, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
|
|
7
7
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
8
|
-
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, PageModeComposerConfig,
|
|
8
|
+
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, PageModeComposerConfig, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
|
|
9
9
|
import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
|
|
10
10
|
import { CommentContextProvider, FormatConfig, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
|
|
11
11
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
12
12
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
13
|
-
export { ReactionMap
|
|
13
|
+
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
14
14
|
|
|
15
15
|
export declare class CommentElement {
|
|
16
16
|
/**
|
|
@@ -1042,11 +1042,6 @@ export declare class CommentElement {
|
|
|
1042
1042
|
*/
|
|
1043
1043
|
public addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
1044
1044
|
|
|
1045
|
-
/**
|
|
1046
|
-
* To publish comment annotation
|
|
1047
|
-
*/
|
|
1048
|
-
public publishCommentAnnotation: (request: PublishCommentAnnotationRequest) => Promise<PublishCommentAnnotationEvent | null>;
|
|
1049
|
-
|
|
1050
1045
|
/**
|
|
1051
1046
|
* To approve comment annotation
|
|
1052
1047
|
*/
|
|
@@ -2401,11 +2396,6 @@ export declare class CommentElement {
|
|
|
2401
2396
|
*/
|
|
2402
2397
|
private _addCommentAnnotation;
|
|
2403
2398
|
|
|
2404
|
-
/**
|
|
2405
|
-
* To publish comment annotation
|
|
2406
|
-
*/
|
|
2407
|
-
private _publishCommentAnnotation;
|
|
2408
|
-
|
|
2409
2399
|
/**
|
|
2410
2400
|
* To approve comment annotation
|
|
2411
2401
|
*/
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare enum CommentStatus {
|
|
|
15
15
|
REACTION_DELETED = "reactionDeleted",
|
|
16
16
|
SUBSCRIBED = "subscribed",
|
|
17
17
|
UNSUBSCRIBED = "unsubscribed",
|
|
18
|
-
PUBLISHED = "published",
|
|
19
18
|
SUGGESTION_ACCEPTED = "suggestionAccepted",
|
|
20
19
|
SUGGESTION_REJECTED = "suggestionRejected"
|
|
21
20
|
}
|
|
@@ -37,7 +36,6 @@ export declare enum ResolverActions {
|
|
|
37
36
|
export declare const CommentEventTypes: {
|
|
38
37
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
39
38
|
readonly ADD_COMMENT_ANNOTATION_DRAFT: "addCommentAnnotationDraft";
|
|
40
|
-
readonly PUBLISH_COMMENT_ANNOTATION: "publishCommentAnnotation";
|
|
41
39
|
readonly DELETE_COMMENT_ANNOTATION: "deleteCommentAnnotation";
|
|
42
40
|
readonly APPROVE_COMMENT_ANNOTATION: "approveCommentAnnotation";
|
|
43
41
|
readonly ACCEPT_COMMENT_ANNOTATION: "acceptCommentAnnotation";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "5.0.3
|
|
3
|
+
"version": "5.0.3",
|
|
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": [
|