@veltdev/types-dev 4.4.1-beta.12 → 4.4.1-beta.2
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/presence-user.data.model.d.ts +0 -2
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -2
- package/app/models/data/recorder-events.data.model.d.ts +0 -3
- package/app/models/element/live-state-sync-element.model.d.ts +0 -11
- package/app/models/element/presence-element.model.d.ts +0 -11
- package/app/utils/enums.d.ts +0 -15
- package/models.d.ts +0 -2
- package/package.json +1 -1
- package/app/models/data/live-state-events.data.model.d.ts +0 -23
- package/app/models/data/presence-events.data.model.d.ts +0 -6
|
@@ -201,7 +201,6 @@ declare class RecorderDataTranscription {
|
|
|
201
201
|
contentSummary?: string;
|
|
202
202
|
}
|
|
203
203
|
declare class RecorderDataAsset {
|
|
204
|
-
version?: number;
|
|
205
204
|
url: string;
|
|
206
205
|
mimeType?: string;
|
|
207
206
|
fileName?: string;
|
|
@@ -219,7 +218,6 @@ export declare class RecorderData {
|
|
|
219
218
|
from?: User | null;
|
|
220
219
|
metadata?: RecorderMetadata;
|
|
221
220
|
assets: RecorderDataAsset[];
|
|
222
|
-
assetsAllVersions: RecorderDataAsset[];
|
|
223
221
|
transcription: RecorderDataTranscription;
|
|
224
222
|
}
|
|
225
223
|
export interface RecorderRequestQuery {
|
|
@@ -6,11 +6,8 @@ export interface RecordingDoneEvent extends RecorderData {
|
|
|
6
6
|
}
|
|
7
7
|
export interface RecordingDeleteEvent extends RecorderData {
|
|
8
8
|
}
|
|
9
|
-
export interface RecordingEditDoneEvent extends RecorderData {
|
|
10
|
-
}
|
|
11
9
|
export type RecorderEventTypesMap = {
|
|
12
10
|
[RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
|
|
13
11
|
[RecorderEventTypes.RECORDING_DONE]: RecordingDoneEvent;
|
|
14
|
-
[RecorderEventTypes.RECORDING_EDIT_DONE]: RecordingEditDoneEvent;
|
|
15
12
|
[RecorderEventTypes.DELETE_RECORDING]: RecordingDeleteEvent;
|
|
16
13
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { SingleEditorConfig, UserEditorAccess, EditorAccessTimer, LiveStateDataConfig, SetLiveStateDataConfig } from '../data/live-state-data.data.model';
|
|
3
3
|
import { User } from '../data/user.data.model';
|
|
4
4
|
import { ServerConnectionState } from '../../utils/enums';
|
|
5
|
-
import { LiveStateEventTypesMap } from '../data/live-state-events.data.model';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Represents the synchronization element for live state.
|
|
@@ -142,11 +141,6 @@ export declare class LiveStateSyncElement {
|
|
|
142
141
|
*/
|
|
143
142
|
onServerConnectionStateChange: () => Observable<ServerConnectionState>;
|
|
144
143
|
|
|
145
|
-
/**
|
|
146
|
-
* Subscribe to live state events
|
|
147
|
-
*/
|
|
148
|
-
on: <T extends keyof LiveStateEventTypesMap>(action: T) => Observable<LiveStateEventTypesMap[T]>;
|
|
149
|
-
|
|
150
144
|
/**
|
|
151
145
|
* Constructor for LiveStateSyncElement.
|
|
152
146
|
*/
|
|
@@ -284,9 +278,4 @@ export declare class LiveStateSyncElement {
|
|
|
284
278
|
* To get server connection state
|
|
285
279
|
*/
|
|
286
280
|
private _onServerConnectionStateChange;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Subscribe to live state events
|
|
290
|
-
*/
|
|
291
|
-
private _on;
|
|
292
281
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
|
-
import { PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
5
4
|
export declare class PresenceElement {
|
|
6
5
|
|
|
7
6
|
/**
|
|
@@ -37,11 +36,6 @@ export declare class PresenceElement {
|
|
|
37
36
|
* To disable adding self to the presence list
|
|
38
37
|
*/
|
|
39
38
|
disableSelf: () => void;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Subscribe to presence events
|
|
43
|
-
*/
|
|
44
|
-
on: <T extends keyof PresenceEventTypesMap>(action: T) => Observable<PresenceEventTypesMap[T]>;
|
|
45
39
|
constructor();
|
|
46
40
|
/**
|
|
47
41
|
* Subscribe to a list of all online users who are either active or inactive on the current document.
|
|
@@ -76,9 +70,4 @@ export declare class PresenceElement {
|
|
|
76
70
|
* To disable adding self to the presence list
|
|
77
71
|
*/
|
|
78
72
|
private _disableSelf;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Subscribe to presence events
|
|
82
|
-
*/
|
|
83
|
-
private _on;
|
|
84
73
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ export declare const CommentEventTypes: {
|
|
|
58
58
|
export declare const RecorderEventTypes: {
|
|
59
59
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
|
60
60
|
readonly RECORDING_DONE: "recordingDone";
|
|
61
|
-
readonly RECORDING_EDIT_DONE: "recordingEditDone";
|
|
62
61
|
readonly DELETE_RECORDING: "deleteRecording";
|
|
63
62
|
};
|
|
64
63
|
export declare const CoreEventTypes: {
|
|
@@ -67,23 +66,9 @@ export declare const CoreEventTypes: {
|
|
|
67
66
|
readonly DOCUMENT_INIT: "documentInit";
|
|
68
67
|
readonly ERROR: "error";
|
|
69
68
|
};
|
|
70
|
-
export declare const LiveStateSyncEventTypes: {
|
|
71
|
-
readonly ACCESS_REQUESTED: "accessRequested";
|
|
72
|
-
readonly ACCESS_REQUEST_CANCELED: "accessRequestCanceled";
|
|
73
|
-
readonly ACCESS_ACCEPTED: "accessAccepted";
|
|
74
|
-
readonly ACCESS_REJECTED: "accessRejected";
|
|
75
|
-
readonly EDITOR_ASSIGNED: "editorAssigned";
|
|
76
|
-
readonly VIEWER_ASSIGNED: "viewerAssigned";
|
|
77
|
-
readonly EDITOR_ON_DIFFERENT_TAB_DETECTED: "editorOnDifferentTabDetected";
|
|
78
|
-
};
|
|
79
|
-
export declare const PresenceEventTypes: {
|
|
80
|
-
readonly MULTIPLE_USERS_ONLINE: "multipleUsersOnline";
|
|
81
|
-
};
|
|
82
69
|
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
83
70
|
export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
|
|
84
71
|
export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
|
85
|
-
export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
|
|
86
|
-
export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
|
|
87
72
|
export declare enum TagStatus {
|
|
88
73
|
ADDED = "added",
|
|
89
74
|
UPDATED = "updated",
|
package/models.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ export * from './app/models/data/document-user.data.model';
|
|
|
28
28
|
export * from './app/models/data/huddle.model';
|
|
29
29
|
export * from './app/models/data/live-state-data-map.data.model';
|
|
30
30
|
export * from './app/models/data/live-state-data.data.model';
|
|
31
|
-
export * from './app/models/data/live-state-events.data.model';
|
|
32
31
|
export * from './app/models/data/localstorage.data.model';
|
|
33
32
|
export * from './app/models/data/location-metadata.model';
|
|
34
33
|
export * from './app/models/data/location.model';
|
|
@@ -38,7 +37,6 @@ export * from './app/models/data/notification.model';
|
|
|
38
37
|
export * from './app/models/data/page-info.model';
|
|
39
38
|
export * from './app/models/data/permission.data.model';
|
|
40
39
|
export * from './app/models/data/presence-user.data.model';
|
|
41
|
-
export * from './app/models/data/presence-events.data.model';
|
|
42
40
|
export * from './app/models/data/recorder.model';
|
|
43
41
|
export * from './app/models/data/recorder-annotation.data.model';
|
|
44
42
|
export * from './app/models/data/recorder-events.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.4.1-beta.
|
|
3
|
+
"version": "4.4.1-beta.2",
|
|
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": [
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LiveStateSyncEventTypes } from "../../utils/enums";
|
|
2
|
-
import { User } from "./user.data.model";
|
|
3
|
-
export interface AccessRequestEvent {
|
|
4
|
-
viewer?: User;
|
|
5
|
-
editor?: User;
|
|
6
|
-
timestamp?: number;
|
|
7
|
-
status?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface SEMEvent {
|
|
10
|
-
viewer?: User;
|
|
11
|
-
editor?: User;
|
|
12
|
-
timestamp?: number;
|
|
13
|
-
role?: string;
|
|
14
|
-
}
|
|
15
|
-
export type LiveStateEventTypesMap = {
|
|
16
|
-
[LiveStateSyncEventTypes.ACCESS_REQUESTED]: AccessRequestEvent;
|
|
17
|
-
[LiveStateSyncEventTypes.ACCESS_REQUEST_CANCELED]: AccessRequestEvent;
|
|
18
|
-
[LiveStateSyncEventTypes.ACCESS_ACCEPTED]: AccessRequestEvent;
|
|
19
|
-
[LiveStateSyncEventTypes.ACCESS_REJECTED]: AccessRequestEvent;
|
|
20
|
-
[LiveStateSyncEventTypes.EDITOR_ASSIGNED]: SEMEvent;
|
|
21
|
-
[LiveStateSyncEventTypes.VIEWER_ASSIGNED]: SEMEvent;
|
|
22
|
-
[LiveStateSyncEventTypes.EDITOR_ON_DIFFERENT_TAB_DETECTED]: SEMEvent;
|
|
23
|
-
};
|