@veltdev/types-dev 4.5.0-beta.99 → 4.5.1
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/client/snippyly.model.d.ts +23 -2
- package/app/models/data/comment-actions.data.model.d.ts +7 -0
- package/app/models/data/comment-annotation.data.model.d.ts +3 -0
- package/app/models/data/comment-events.data.model.d.ts +5 -0
- package/app/models/data/comment-resolver.data.model.d.ts +19 -0
- package/app/models/data/comment-sidebar-config.model.d.ts +6 -0
- package/app/models/data/comment.data.model.d.ts +1 -0
- package/app/models/data/core-events.data.model.d.ts +2 -0
- package/app/models/data/crdt.data.model.d.ts +59 -0
- package/app/models/data/document-paths.data.model.d.ts +5 -0
- package/app/models/data/encryption-provider.data.model.d.ts +12 -0
- package/app/models/data/media-preview-config.data.model.d.ts +2 -0
- package/app/models/data/notification.model.d.ts +3 -0
- package/app/models/data/reaction-resolver.data.model.d.ts +4 -2
- package/app/models/data/recorder-events.data.model.d.ts +19 -0
- package/app/models/data/recorder.model.d.ts +4 -0
- package/app/models/data/resolver.data.model.d.ts +1 -0
- package/app/models/data/user-iam.data.model.d.ts +6 -0
- package/app/models/data/user.data.model.d.ts +10 -0
- package/app/models/element/comment-element.model.d.ts +83 -13
- package/app/models/element/crdt-element.model.d.ts +166 -0
- package/app/models/element/notification-element.model.d.ts +43 -3
- package/app/models/element/recorder-element.model.d.ts +239 -169
- package/app/utils/constants.d.ts +44 -1
- package/app/utils/enums.d.ts +10 -2
- package/models.d.ts +2 -0
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/app/utils/constants.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class Constants {
|
|
|
15
15
|
static FIREBASE_PARTIAL_PATH_DOCUMENT_CONFIGURATIONS: string;
|
|
16
16
|
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
17
17
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
|
|
18
|
+
static FIREBASE_PARTIAL_PATH_CENTRAL_USERS: string;
|
|
18
19
|
static FIREBASE_PARTIAL_PATH_FOLDER_USERS: string;
|
|
19
20
|
static FIREBASE_PARTIAL_PATH_DOCUMENT_USERS: string;
|
|
20
21
|
static FIREBASE_PARTIAL_PATH_CURSOR: string;
|
|
@@ -45,8 +46,8 @@ export declare class Constants {
|
|
|
45
46
|
static FIREBASE_PARTIAL_PATH_LIVE_STATE: string;
|
|
46
47
|
static FIREBASE_PARTIAL_PATH_IAM: string;
|
|
47
48
|
static FIREBASE_PARTIAL_PATH_REACTION: string;
|
|
49
|
+
static FIREBASE_PARTIAL_PATH_CRDT: string;
|
|
48
50
|
static FIREBASE_PARTIAL_PATH_VIEWS: string;
|
|
49
|
-
static FIREBASE_PARTIAL_PATH_COMMENT_VIEWS: string;
|
|
50
51
|
static FIREBASE_PARTIAL_PATH_NOTIFICATION_VIEWS: string;
|
|
51
52
|
static FIREBASE_PARTIAL_PATH_DOCUMENT_VIEWS: string;
|
|
52
53
|
static FIREBASE_PARTIAL_PATH_LOCATION_VIEWS: string;
|
|
@@ -54,6 +55,7 @@ export declare class Constants {
|
|
|
54
55
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_NOTIFICATIONS: string;
|
|
55
56
|
static FIREBASE_PARTIAL_PATH_LAST_NOTIFICATION_TIMESTAMP: string;
|
|
56
57
|
static FIREBASE_PARTIAL_PATH_USERS: string;
|
|
58
|
+
static FIREBASE_PARTIAL_PATH_PERMISSIONS_USERS: string;
|
|
57
59
|
static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
|
|
58
60
|
static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
|
|
59
61
|
static FIREBASE_PARTIAL_PATH_BUGS: string;
|
|
@@ -194,6 +196,7 @@ export declare class Constants {
|
|
|
194
196
|
VELT_RECORDER_CONTROL_PANEL: string;
|
|
195
197
|
VELT_RECORDER_CONTROL_PANEL_INTERNAL: string;
|
|
196
198
|
VELT_RECORDER_PLAYER: string;
|
|
199
|
+
VELT_VIDEO_EDITOR: string;
|
|
197
200
|
VELT_TEXT_HIGHLIGHT: string;
|
|
198
201
|
VELT_COMMENT_TEXT_PORTAL: string;
|
|
199
202
|
VELT_COMMENTS_SIDEBAR: string;
|
|
@@ -458,4 +461,44 @@ export declare class Constants {
|
|
|
458
461
|
overlayX: any;
|
|
459
462
|
overlayY: any;
|
|
460
463
|
}[];
|
|
464
|
+
static VIDEO_EDITOR: {
|
|
465
|
+
ZOOM_IN_DURATION: number;
|
|
466
|
+
ZOOM_OUT_DURATION: number;
|
|
467
|
+
DEFAULT_ZOOM_FACTOR: number;
|
|
468
|
+
MAX_ZOOM_FACTOR: number;
|
|
469
|
+
ZOOM_FACTOR_OPTIONS: {
|
|
470
|
+
value: number;
|
|
471
|
+
label: string;
|
|
472
|
+
}[];
|
|
473
|
+
MIN_DRAG_AREA_MULTIPLIER: number;
|
|
474
|
+
PREFERRED_SECTION_DURATION_MULTIPLIER: number;
|
|
475
|
+
SELECTION_MIN_DRAG_DISTANCE: number;
|
|
476
|
+
MIN_DURATION_THRESHOLD: number;
|
|
477
|
+
TIME_BUFFER: number;
|
|
478
|
+
SHORT_VIDEO_THRESHOLD: number;
|
|
479
|
+
SMALL_VIDEO_THRESHOLD: number;
|
|
480
|
+
MILLISECOND_PRECISION_MULTIPLIER: number;
|
|
481
|
+
TENTH_SECOND_PRECISION_MULTIPLIER: number;
|
|
482
|
+
DEBOUNCE_DELAY: number;
|
|
483
|
+
DECIMAL_PRECISION: number;
|
|
484
|
+
MAX_MARKER_COUNT: number;
|
|
485
|
+
MARKER_INTERVAL: number;
|
|
486
|
+
FAST_TIMEOUT: number;
|
|
487
|
+
STANDARD_TIMEOUT: number;
|
|
488
|
+
RECTANGLE_POSITIONING: {
|
|
489
|
+
FULL_PERCENT: number;
|
|
490
|
+
HALF_PERCENT: number;
|
|
491
|
+
QUARTER_PERCENT: number;
|
|
492
|
+
};
|
|
493
|
+
EASING: {
|
|
494
|
+
QUAD_IN_OUT_MULTIPLIER: number;
|
|
495
|
+
QUAD_IN_OUT_POWER: number;
|
|
496
|
+
HALF_THRESHOLD: number;
|
|
497
|
+
};
|
|
498
|
+
PERCENTAGE: {
|
|
499
|
+
HALF: number;
|
|
500
|
+
FULL: number;
|
|
501
|
+
};
|
|
502
|
+
MILLISECONDS_TO_SECONDS: number;
|
|
503
|
+
};
|
|
461
504
|
}
|
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";
|
|
@@ -62,6 +64,11 @@ export declare const RecorderEventTypes: {
|
|
|
62
64
|
readonly DELETE_RECORDING: "deleteRecording";
|
|
63
65
|
readonly ERROR: "error";
|
|
64
66
|
readonly RECORDING_SAVE_INITIATED: "recordingSaveInitiated";
|
|
67
|
+
readonly RECORDING_STARTED: "recordingStarted";
|
|
68
|
+
readonly RECORDING_PAUSED: "recordingPaused";
|
|
69
|
+
readonly RECORDING_RESUMED: "recordingResumed";
|
|
70
|
+
readonly RECORDING_CANCELLED: "recordingCancelled";
|
|
71
|
+
readonly RECORDING_STOPPED: "recordingStopped";
|
|
65
72
|
};
|
|
66
73
|
export declare const CoreEventTypes: {
|
|
67
74
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
@@ -261,10 +268,11 @@ export type ReactionPinType = 'timeline' | 'comment';
|
|
|
261
268
|
export type SidebarPosition = 'left' | 'right';
|
|
262
269
|
export type SidebarSortingCriteria = 'date' | 'unread' | null;
|
|
263
270
|
export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved';
|
|
264
|
-
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
|
|
271
|
+
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'involved' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions' | string;
|
|
265
272
|
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
266
273
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
267
274
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
275
|
+
export type SidebarButtonCountType = 'default' | 'filter';
|
|
268
276
|
export declare enum CommentSidebarSystemFiltersOperator {
|
|
269
277
|
AND = "and",
|
|
270
278
|
OR = "or"
|
package/models.d.ts
CHANGED
|
@@ -77,3 +77,5 @@ export * from './app/models/data/event-metadata.data.model';
|
|
|
77
77
|
export * from './app/models/data/user-resolver.data.model';
|
|
78
78
|
export * from './app/models/data/provider.data.model';
|
|
79
79
|
export * from './app/models/data/resolver.data.model';
|
|
80
|
+
export * from './app/models/data/crdt.data.model';
|
|
81
|
+
export * from './app/models/data/encryption-provider.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
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": [
|
package/types.d.ts
CHANGED
|
@@ -16,4 +16,5 @@ export * from './app/models/element/views-element.model';
|
|
|
16
16
|
export * from './app/models/element/notification-element.model';
|
|
17
17
|
export * from './app/models/element/autocomplete-element.model';
|
|
18
18
|
export * from './app/models/element/reaction-element.model';
|
|
19
|
+
export * from './app/models/element/crdt-element.model';
|
|
19
20
|
export * from './models';
|