@veltdev/types-dev 4.5.0-beta.158 → 4.5.0-beta.16

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.
Files changed (36) hide show
  1. package/app/client/snippyly.model.d.ts +6 -44
  2. package/app/models/data/button.data.model.d.ts +0 -2
  3. package/app/models/data/comment-annotation.data.model.d.ts +0 -7
  4. package/app/models/data/comment-resolver.data.model.d.ts +0 -14
  5. package/app/models/data/comment-sidebar-config.model.d.ts +0 -26
  6. package/app/models/data/comment.data.model.d.ts +0 -1
  7. package/app/models/data/config.data.model.d.ts +0 -4
  8. package/app/models/data/core-events.data.model.d.ts +0 -9
  9. package/app/models/data/custom-filter.data.model.d.ts +0 -8
  10. package/app/models/data/document-paths.data.model.d.ts +0 -12
  11. package/app/models/data/document.data.model.d.ts +0 -2
  12. package/app/models/data/location.model.d.ts +0 -10
  13. package/app/models/data/media-preview-config.data.model.d.ts +0 -2
  14. package/app/models/data/multi-thread.data.model.d.ts +0 -2
  15. package/app/models/data/notification.model.d.ts +1 -23
  16. package/app/models/data/presence-events.data.model.d.ts +0 -8
  17. package/app/models/data/reaction-resolver.data.model.d.ts +2 -4
  18. package/app/models/data/recorder-annotation.data.model.d.ts +0 -3
  19. package/app/models/data/recorder-events.data.model.d.ts +0 -10
  20. package/app/models/data/recorder.model.d.ts +8 -6
  21. package/app/models/data/resolver.data.model.d.ts +0 -6
  22. package/app/models/data/user-iam.data.model.d.ts +0 -6
  23. package/app/models/data/user-resolver.data.model.d.ts +0 -2
  24. package/app/models/element/comment-element.model.d.ts +11 -116
  25. package/app/models/element/notification-element.model.d.ts +3 -103
  26. package/app/models/element/presence-element.model.d.ts +1 -15
  27. package/app/models/element/recorder-element.model.d.ts +158 -228
  28. package/app/utils/constants.d.ts +0 -44
  29. package/app/utils/enums.d.ts +1 -18
  30. package/models.d.ts +0 -3
  31. package/package.json +1 -1
  32. package/types.d.ts +0 -1
  33. package/app/models/data/crdt.data.model.d.ts +0 -52
  34. package/app/models/data/notifications-events.data.model.d.ts +0 -9
  35. package/app/models/data/presence-actions.data.model.d.ts +0 -5
  36. package/app/models/element/crdt-element.model.d.ts +0 -156
@@ -1,156 +0,0 @@
1
- // @ts-nocheck
2
- import { CrdtGetDataQuery, CrdtGetVersionQuery, CrdtOnDataChangeQuery, CrdtOnPresenceChangeQuery, CrdtOnStateChangeQuery, CrdtRegisterSyncUserQuery, CrdtSetPresenceQuery, CrdtStoreVersionQuery, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
3
-
4
- export declare class CrdtElement {
5
- /**
6
- * Update data for a specific CRDT document
7
- * @param id Document ID
8
- * @param state State data as Uint8Array or number array
9
- */
10
- updateData: (updateDataQuery: CrdtUpdateDataQuery) => Promise<any>;
11
-
12
- /**
13
- * Subscribe to data changes for a specific CRDT document
14
- * @param id Document ID
15
- * @param callback Callback function to handle data changes
16
- * @returns Unsubscribe function
17
- */
18
- onDataChange: (onDataChangeQuery: CrdtOnDataChangeQuery) => () => void;
19
-
20
- /**
21
- * Get data for a specific CRDT document
22
- * @param id Document ID
23
- */
24
- getData: (getDataQuery: CrdtGetDataQuery) => Promise<any>;
25
-
26
- /**
27
- * Subscribe to state changes for a specific CRDT document
28
- * @param id Document ID
29
- * @param callback Callback function to handle state changes
30
- * @returns Unsubscribe function
31
- */
32
- onStateChange: (onStateChangeQuery: CrdtOnStateChangeQuery) => () => void;
33
-
34
- /**
35
- * Update state for a specific CRDT document
36
- * @param id Document ID
37
- * @param state State data as Uint8Array or number array
38
- */
39
- updateState: (updateStateQuery: CrdtUpdateStateQuery) => Promise<any>;
40
-
41
- /**
42
- * Register a user for synchronization on a specific CRDT document
43
- * @param id Document ID
44
- */
45
- registerSyncUser: (registerSyncUserQuery: CrdtRegisterSyncUserQuery) => Promise<void>;
46
-
47
- /**
48
- * Set presence for a specific CRDT document
49
- * @param id Document ID
50
- */
51
- setPresence: (setPresenceQuery: CrdtSetPresenceQuery) => Promise<void>;
52
-
53
- /**
54
- * Subscribe to presence changes for a specific CRDT document
55
- * @param id Document ID
56
- * @param callback Callback function to handle presence changes
57
- * @returns Unsubscribe function
58
- */
59
- onPresenceChange: (onPresenceChangeQuery: CrdtOnPresenceChangeQuery) => () => void;
60
-
61
- /**
62
- * Store a version of a specific CRDT document
63
- * @param id Document ID
64
- * @param versionId Version ID
65
- * @param versionName Version name
66
- * @param state State data as Uint8Array or number array
67
- */
68
- storeVersion: (storeVersionQuery: CrdtStoreVersionQuery) => Promise<any>;
69
-
70
- /**
71
- * Get a version of a specific CRDT document
72
- * @param id Document ID
73
- * @param versionId Version ID
74
- */
75
- getVersion: (getVersionQuery: CrdtGetVersionQuery) => Promise<any>;
76
-
77
- constructor();
78
-
79
- /**
80
- * Update data for a specific CRDT document
81
- * @param id Document ID
82
- * @param state State data as Uint8Array or number array
83
- */
84
- private _updateData;
85
-
86
- /**
87
- * Subscribe to data changes for a specific CRDT document
88
- * @param id Document ID
89
- * @param callback Callback function to handle data changes
90
- * @returns Unsubscribe function
91
- */
92
- private _onDataChange;
93
-
94
- /**
95
- * Get data for a specific CRDT document
96
- * @param id Document ID
97
- */
98
- private _getData;
99
-
100
- /**
101
- * Subscribe to state changes for a specific CRDT document
102
- * @param id Document ID
103
- * @param callback Callback function to handle state changes
104
- * @returns Unsubscribe function
105
- */
106
- private _onStateChange;
107
-
108
- /**
109
- * Update state for a specific CRDT document
110
- * @param id Document ID
111
- * @param state State data as Uint8Array or number array
112
- */
113
- private _updateState;
114
-
115
- /**
116
- * Register a user for synchronization on a specific CRDT document
117
- * @param id Document ID
118
- */
119
- private _registerSyncUser;
120
-
121
- /**
122
- * Set presence for a specific CRDT document
123
- * @param id Document ID
124
- */
125
- private _setPresence;
126
-
127
- /**
128
- * Subscribe to presence changes for a specific CRDT document
129
- * @param id Document ID
130
- * @param callback Callback function to handle presence changes
131
- * @returns Unsubscribe function
132
- */
133
- private _onPresenceChange;
134
-
135
- /**
136
- * Store a version of a specific CRDT document
137
- * @param id Document ID
138
- * @param versionId Version ID
139
- * @param versionName Version name
140
- * @param state State data as Uint8Array or number array
141
- */
142
- private _storeVersion;
143
-
144
- /**
145
- * Get a version of a specific CRDT document
146
- * @param id Document ID
147
- * @param versionId Version ID
148
- */
149
- private _getVersion;
150
-
151
- /**
152
- * Get all versions of a specific CRDT document
153
- * @param id Document ID
154
- */
155
- private _getVersions;
156
- }