@veltdev/types 6.0.25 → 6.0.27
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.
|
@@ -1522,12 +1522,15 @@ export declare class CommentElement {
|
|
|
1522
1522
|
public disableScreenshot: () => void;
|
|
1523
1523
|
|
|
1524
1524
|
/**
|
|
1525
|
-
* To enable paginated contact list
|
|
1525
|
+
* To enable paginated contact list.
|
|
1526
|
+
* On by default: each contact list loads 10 users (plus the signed-in user), and an @mention search that matches
|
|
1527
|
+
* fewer than 3 loaded contacts fetches more from the database.
|
|
1526
1528
|
*/
|
|
1527
1529
|
public enablePaginatedContactList: () => void;
|
|
1528
1530
|
|
|
1529
1531
|
/**
|
|
1530
|
-
* To disable paginated contact list
|
|
1532
|
+
* To disable paginated contact list (it is on by default), so the full contact list loads up front.
|
|
1533
|
+
* Also available as `<velt-comments paginated-contact-list="false">`.
|
|
1531
1534
|
*/
|
|
1532
1535
|
public disablePaginatedContactList: () => void;
|
|
1533
1536
|
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -9,6 +9,14 @@ export declare class Constants {
|
|
|
9
9
|
static NO_ORGANIZATION_ID: string;
|
|
10
10
|
static DEFAULT_QUERY_HASH: string;
|
|
11
11
|
static LISTENER_BATCH_SIZE: number;
|
|
12
|
+
/**
|
|
13
|
+
* The paginated contact list is ON unless the customer turns it off (`disablePaginatedContactList()`,
|
|
14
|
+
* `<velt-comments paginated-contact-list="false">`). With it on, each contact listener loads 10 users (plus the
|
|
15
|
+
* signed-in user), and an @mention search that matches fewer than 3 loaded contacts asks the database for more.
|
|
16
|
+
* The ONE default every reader starts from: `CommentService` owns the live flag; the contact listeners and the
|
|
17
|
+
* autocomplete use this until that lazily loaded service has answered.
|
|
18
|
+
*/
|
|
19
|
+
static readonly PAGINATED_CONTACT_LIST_DEFAULT = true;
|
|
12
20
|
static LISTENER_CONTEXT_BATCH_SIZE: number;
|
|
13
21
|
/**
|
|
14
22
|
* Firestore rejects queries whose disjunctive normal form exceeds 30 disjunctions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.27",
|
|
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": [
|