@veltdev/types-dev 4.0.16 → 4.0.18

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.
@@ -26,6 +26,7 @@ import { DocumentMetadata } from "../models/data/document-metadata.model";
26
26
  import { ReactionElement } from "../models/element/reaction-element.model";
27
27
  import { VeltEventMetadata } from "../models/data/event-metadata.data.model";
28
28
  import { CoreEventTypesMap } from "../models/data/core-events.data.model";
29
+ import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
29
30
  export declare class Snippyly {
30
31
  constructor();
31
32
  initConfig: (apiKey: string, config?: Config) => void;
@@ -48,6 +49,10 @@ export declare class Snippyly {
48
49
  * @param id unique document ID
49
50
  */
50
51
  setDocumentId: (id: string) => void;
52
+ /**
53
+ * To set multiple documents
54
+ */
55
+ setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
51
56
  /**
52
57
  * To unset the document id
53
58
  */
@@ -12,6 +12,7 @@ export declare class CommentSidebarFilterConfig {
12
12
  location?: FilterTypeConfig;
13
13
  people?: FilterTypeConfig;
14
14
  priority?: FilterTypeConfig;
15
+ status?: FilterTypeConfig;
15
16
  category?: FilterTypeConfig;
16
17
  commentType?: FilterTypeConfig;
17
18
  version?: FilterTypeConfig;
@@ -0,0 +1,8 @@
1
+ import { DocumentMetadata } from "./document-metadata.model";
2
+ export interface Document {
3
+ id: string;
4
+ metadata?: DocumentMetadata;
5
+ }
6
+ export interface SetDocumentsRequestOptions {
7
+ organizationId?: string;
8
+ }
package/models.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './app/models/data/cursor-user.data.model';
16
16
  export * from './app/models/data/custom-css.data.model';
17
17
  export * from './app/models/data/custom-chip-dropdown.data.model';
18
18
  export * from './app/models/data/device-info.model';
19
+ export * from './app/models/data/document.data.model';
19
20
  export * from './app/models/data/document-iam.data.model';
20
21
  export * from './app/models/data/document-metadata.model';
21
22
  export * from './app/models/data/document-paths.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.0.16",
3
+ "version": "4.0.18",
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": [