@veltdev/sdk-staging 4.5.0-beta.78 → 4.5.0-beta.8
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 +7 -46
- package/app/models/data/button.data.model.d.ts +0 -2
- package/app/models/data/comment-annotation.data.model.d.ts +0 -7
- package/app/models/data/comment-resolver.data.model.d.ts +0 -14
- package/app/models/data/comment-sidebar-config.model.d.ts +0 -26
- package/app/models/data/comment.data.model.d.ts +0 -1
- package/app/models/data/core-events.data.model.d.ts +0 -9
- package/app/models/data/custom-filter.data.model.d.ts +0 -8
- package/app/models/data/document-paths.data.model.d.ts +0 -12
- package/app/models/data/document.data.model.d.ts +0 -2
- package/app/models/data/location.model.d.ts +0 -10
- package/app/models/data/media-preview-config.data.model.d.ts +0 -2
- package/app/models/data/multi-thread.data.model.d.ts +0 -2
- package/app/models/data/notification.model.d.ts +1 -23
- package/app/models/data/presence-events.data.model.d.ts +0 -8
- package/app/models/data/reaction-resolver.data.model.d.ts +2 -4
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -3
- package/app/models/data/recorder-events.data.model.d.ts +0 -28
- package/app/models/data/recorder.model.d.ts +8 -6
- package/app/models/data/resolver.data.model.d.ts +0 -6
- package/app/models/data/user-iam.data.model.d.ts +0 -6
- package/app/models/data/user-resolver.data.model.d.ts +0 -2
- package/app/models/data/user.data.model.d.ts +0 -9
- package/app/models/element/comment-element.model.d.ts +11 -116
- package/app/models/element/notification-element.model.d.ts +3 -103
- package/app/models/element/presence-element.model.d.ts +1 -15
- package/app/models/element/recorder-element.model.d.ts +157 -228
- package/app/utils/constants.d.ts +0 -44
- package/app/utils/enums.d.ts +1 -23
- package/models.d.ts +0 -2
- package/package.json +1 -1
- package/types.d.ts +0 -1
- package/velt.js +106 -117
- package/app/models/data/notifications-events.data.model.d.ts +0 -9
- package/app/models/data/presence-actions.data.model.d.ts +0 -5
- package/app/models/element/crdt-element.model.d.ts +0 -116
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NotificationSettingsConfig } from "./notification.model";
|
|
2
|
-
import { NotificationEventTypes } from "../../utils/enums";
|
|
3
|
-
export interface SettingsUpdatedEvent {
|
|
4
|
-
settings: NotificationSettingsConfig;
|
|
5
|
-
isMutedAll: boolean;
|
|
6
|
-
}
|
|
7
|
-
export type NotificationEventTypesMap = {
|
|
8
|
-
[NotificationEventTypes.SETTINGS_UPDATED]: SettingsUpdatedEvent;
|
|
9
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class CrdtElement {
|
|
3
|
-
/**
|
|
4
|
-
* Update data for a specific CRDT document
|
|
5
|
-
* @param id Document ID
|
|
6
|
-
* @param state State data as Uint8Array or number array
|
|
7
|
-
*/
|
|
8
|
-
updateData: ({ id, state }: { id: string, state: Uint8Array | number[] }) => Promise<any>;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Subscribe to data changes for a specific CRDT document
|
|
12
|
-
* @param id Document ID
|
|
13
|
-
* @param callback Callback function to handle data changes
|
|
14
|
-
* @returns Unsubscribe function
|
|
15
|
-
*/
|
|
16
|
-
onDataChange: ({ id, callback }: { id: string, callback: (data: any) => void }) => () => void;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Get data for a specific CRDT document
|
|
20
|
-
* @param id Document ID
|
|
21
|
-
*/
|
|
22
|
-
getData: ({ id }: { id: string }) => Promise<any>;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Subscribe to state changes for a specific CRDT document
|
|
26
|
-
* @param id Document ID
|
|
27
|
-
* @param callback Callback function to handle state changes
|
|
28
|
-
* @returns Unsubscribe function
|
|
29
|
-
*/
|
|
30
|
-
onStateChange: ({ id, callback }: { id: string, callback: (data: any) => void }) => () => void;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Update state for a specific CRDT document
|
|
34
|
-
* @param id Document ID
|
|
35
|
-
* @param state State data as Uint8Array or number array
|
|
36
|
-
*/
|
|
37
|
-
updateState: ({ id, state }: { id: string, state: Uint8Array | number[] }) => Promise<any>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Register a user for synchronization on a specific CRDT document
|
|
41
|
-
* @param id Document ID
|
|
42
|
-
*/
|
|
43
|
-
registerSyncUser: ({ id }: { id: string }) => Promise<void>;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Set presence for a specific CRDT document
|
|
47
|
-
* @param id Document ID
|
|
48
|
-
*/
|
|
49
|
-
setPresence: ({ id }: { id: string }) => Promise<void>;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Subscribe to presence changes for a specific CRDT document
|
|
53
|
-
* @param id Document ID
|
|
54
|
-
* @param callback Callback function to handle presence changes
|
|
55
|
-
* @returns Unsubscribe function
|
|
56
|
-
*/
|
|
57
|
-
onPresenceChange: ({ id, callback }: { id: string, callback: (data: any) => void }) => () => void;
|
|
58
|
-
|
|
59
|
-
constructor();
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Update data for a specific CRDT document
|
|
63
|
-
* @param id Document ID
|
|
64
|
-
* @param state State data as Uint8Array or number array
|
|
65
|
-
*/
|
|
66
|
-
private _updateData;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Subscribe to data changes for a specific CRDT document
|
|
70
|
-
* @param id Document ID
|
|
71
|
-
* @param callback Callback function to handle data changes
|
|
72
|
-
* @returns Unsubscribe function
|
|
73
|
-
*/
|
|
74
|
-
private _onDataChange;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Get data for a specific CRDT document
|
|
78
|
-
* @param id Document ID
|
|
79
|
-
*/
|
|
80
|
-
private _getData;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Subscribe to state changes for a specific CRDT document
|
|
84
|
-
* @param id Document ID
|
|
85
|
-
* @param callback Callback function to handle state changes
|
|
86
|
-
* @returns Unsubscribe function
|
|
87
|
-
*/
|
|
88
|
-
private _onStateChange;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Update state for a specific CRDT document
|
|
92
|
-
* @param id Document ID
|
|
93
|
-
* @param state State data as Uint8Array or number array
|
|
94
|
-
*/
|
|
95
|
-
private _updateState;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Register a user for synchronization on a specific CRDT document
|
|
99
|
-
* @param id Document ID
|
|
100
|
-
*/
|
|
101
|
-
private _registerSyncUser;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Set presence for a specific CRDT document
|
|
105
|
-
* @param id Document ID
|
|
106
|
-
*/
|
|
107
|
-
private _setPresence;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Subscribe to presence changes for a specific CRDT document
|
|
111
|
-
* @param id Document ID
|
|
112
|
-
* @param callback Callback function to handle presence changes
|
|
113
|
-
* @returns Unsubscribe function
|
|
114
|
-
*/
|
|
115
|
-
private _onPresenceChange;
|
|
116
|
-
}
|