@veltdev/sdk 5.0.2-beta.4 → 5.0.2-beta.5

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.
@@ -22,17 +22,17 @@ export declare class AutocompleteItem {
22
22
  groupId?: string;
23
23
  }
24
24
  export declare class AutocompleteReplaceData {
25
- text: string;
25
+ text?: string;
26
26
  custom: AutocompleteItem;
27
27
  }
28
28
  export declare class AutocompleteGroupReplaceData {
29
- text: string;
29
+ text?: string;
30
30
  groupId: string;
31
31
  clientGroupId: string;
32
32
  group?: OrganizationUserGroup;
33
33
  }
34
34
  export declare class AutocompleteUserContactReplaceData {
35
- text: string;
35
+ text?: string;
36
36
  userId: string;
37
37
  contact?: UserContact;
38
38
  }
@@ -5,12 +5,18 @@ export interface AccessRequestEvent {
5
5
  editor?: User;
6
6
  timestamp?: number;
7
7
  status?: string;
8
+ totalUsers?: number;
9
+ presenceSnippylyUserIds?: string[];
10
+ presenceClientUserIds?: string[];
8
11
  }
9
12
  export interface SEMEvent {
10
13
  viewer?: User;
11
14
  editor?: User;
12
15
  timestamp?: number;
13
16
  role?: string;
17
+ totalUsers?: number;
18
+ presenceSnippylyUserIds?: string[];
19
+ presenceClientUserIds?: string[];
14
20
  }
15
21
  export type LiveStateEventTypesMap = {
16
22
  [LiveStateSyncEventTypes.ACCESS_REQUESTED]: AccessRequestEvent;
@@ -244,7 +244,21 @@ export declare class Constants {
244
244
  VELT_NOTIFICATIONS_HISTORY_PANEL: string;
245
245
  VELT_WIREFRAME: string;
246
246
  VELT_AUTOCOMPLETE: string;
247
+ VELT_AUTOCOMPLETE_PANEL: string;
248
+ VELT_AUTOCOMPLETE_OPTION: string;
249
+ VELT_AUTOCOMPLETE_OPTION_ICON: string;
250
+ VELT_AUTOCOMPLETE_OPTION_NAME: string;
251
+ VELT_AUTOCOMPLETE_OPTION_DESCRIPTION: string;
252
+ VELT_AUTOCOMPLETE_OPTION_ERROR_ICON: string;
253
+ VELT_AUTOCOMPLETE_GROUP_OPTION: string;
254
+ VELT_AUTOCOMPLETE_TOOL: string;
255
+ VELT_AUTOCOMPLETE_EMPTY: string;
247
256
  VELT_AUTOCOMPLETE_CHIP: string;
257
+ VELT_AUTOCOMPLETE_CHIP_TOOLTIP: string;
258
+ VELT_AUTOCOMPLETE_CHIP_TOOLTIP_ICON: string;
259
+ VELT_AUTOCOMPLETE_CHIP_TOOLTIP_NAME: string;
260
+ VELT_AUTOCOMPLETE_CHIP_TOOLTIP_DESCRIPTION: string;
261
+ VELT_AUTOCOMPLETE_CONTEXT_WRAPPER: string;
248
262
  VELT_COMMENT_COMPOSER: string;
249
263
  VELT_SKELETON_LOADER: string;
250
264
  VELT_SHADOW_DOM_INTERNAL: string;
@@ -314,6 +314,12 @@ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
314
314
  */
315
315
  export type NotificationSettingsLayout = 'accordion' | 'dropdown';
316
316
  /**
317
- * Type for comment visibility options in the visibility banner dropdown
317
+ * Enum for comment visibility options in the visibility banner dropdown
318
318
  */
319
- export type CommentVisibilityOptionType = 'personal' | 'selected-people' | 'org-users' | 'public';
319
+ export declare enum CommentVisibilityOption {
320
+ RESTRICTED_SELF = "restrictedSelf",
321
+ RESTRICTED_SELECTED_PEOPLE = "restrictedSelectedPeople",
322
+ ORGANIZATION_PRIVATE = "organizationPrivate",
323
+ PUBLIC = "public"
324
+ }
325
+ export type CommentVisibilityOptionType = `${CommentVisibilityOption}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "5.0.2-beta.4",
3
+ "version": "5.0.2-beta.5",
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": [