@veltdev/types-dev 4.0.0-beta.39 → 4.0.0-beta.40
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.
|
@@ -27,6 +27,7 @@ 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
29
|
import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
|
|
30
|
+
import { UserDataProvider } from "../models/data/user-resolver.data.model";
|
|
30
31
|
export declare class Snippyly {
|
|
31
32
|
constructor();
|
|
32
33
|
initConfig: (apiKey: string, config?: Config) => void;
|
|
@@ -57,6 +58,10 @@ export declare class Snippyly {
|
|
|
57
58
|
* To unset the document id
|
|
58
59
|
*/
|
|
59
60
|
unsetDocumentId: () => void;
|
|
61
|
+
/**
|
|
62
|
+
* To set the user data provider.
|
|
63
|
+
*/
|
|
64
|
+
setUserDataProvider: (userDataProvider: UserDataProvider) => void;
|
|
60
65
|
/**
|
|
61
66
|
* Get Document ID
|
|
62
67
|
*/
|
|
@@ -88,6 +88,11 @@ export declare class NotificationRawData {
|
|
|
88
88
|
[key: string]: any;
|
|
89
89
|
};
|
|
90
90
|
displayBodyMessage?: string;
|
|
91
|
+
displayBodyMessageTemplate?: string;
|
|
92
|
+
displayBodyMessageTemplateData?: {
|
|
93
|
+
users?: User[];
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
};
|
|
91
96
|
customData?: any;
|
|
92
97
|
notifyUsers?: {
|
|
93
98
|
[email: string]: boolean;
|
|
@@ -127,6 +132,17 @@ export declare class Notification {
|
|
|
127
132
|
* Notification body message
|
|
128
133
|
*/
|
|
129
134
|
displayBodyMessage?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Display body message template
|
|
137
|
+
*/
|
|
138
|
+
displayBodyMessageTemplate?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Display body message template data
|
|
141
|
+
*/
|
|
142
|
+
displayBodyMessageTemplateData?: {
|
|
143
|
+
users?: User[];
|
|
144
|
+
[key: string]: any;
|
|
145
|
+
};
|
|
130
146
|
/**
|
|
131
147
|
* Display message template
|
|
132
148
|
*/
|
package/models.d.ts
CHANGED
|
@@ -65,3 +65,4 @@ export * from './app/models/data/organization-groups.data.model';
|
|
|
65
65
|
export * from './app/models/data/organization-metadata.model';
|
|
66
66
|
export * from './app/models/data/user-organization.data.model';
|
|
67
67
|
export * from './app/models/data/event-metadata.data.model';
|
|
68
|
+
export * from './app/models/data/user-resolver.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.40",
|
|
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": [
|