@veltdev/sdk-dev 6.0.24 → 6.0.31
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.
- package/app/models/data/attachment.model.d.ts +23 -0
- package/app/models/element/comment-element.model.d.ts +5 -2
- package/app/utils/constants.d.ts +8 -0
- package/chunk-236SFUAE.js +1 -0
- package/chunk-2N6IVASP.js +193 -0
- package/chunk-2NVH5IBP.js +1 -0
- package/{chunk-TDVYFBCW.js → chunk-2UDHTZ7I.js} +1 -1
- package/chunk-3USXTX4J.js +1 -0
- package/chunk-57CSU5DC.js +1 -0
- package/{chunk-EC25EQB5.js → chunk-5CW77J5Q.js} +1 -1
- package/chunk-6523UY3T.js +6 -0
- package/{chunk-RCOPSCV6.js → chunk-CWOXLQZU.js} +1 -1
- package/{chunk-D2UJGDHP.js → chunk-EE34V75I.js} +1 -1
- package/{chunk-ZEWGJF7N.js → chunk-GHSXSFU2.js} +1 -1
- package/{chunk-TVANUSZU.js → chunk-HPU4UBHP.js} +1 -1
- package/{chunk-J2NS4TI4.js → chunk-ITYTF2SL.js} +1 -1
- package/{chunk-3M5GZFCG.js → chunk-IUBZL4NG.js} +1 -1
- package/chunk-JSNW4KJR.js +1 -0
- package/{chunk-UFGQLAOK.js → chunk-KPMPWJO2.js} +1 -1
- package/{chunk-6F7MEOHL.js → chunk-L4QKHWLN.js} +1 -1
- package/{chunk-2O25XLDR.js → chunk-LVRP7I7T.js} +1 -1
- package/{chunk-MGORC6ST.js → chunk-LVZXMVSZ.js} +1 -1
- package/{chunk-CQZ7DKJB.js → chunk-MVJ64HCC.js} +1 -1
- package/{chunk-M5AN4E5A.js → chunk-MXLUFRWN.js} +1 -1
- package/chunk-PFSZGR4S.js +1 -0
- package/{chunk-F2Z7K4AL.js → chunk-PG3VFQFE.js} +1 -1
- package/{chunk-C3DWGOTZ.js → chunk-Q3Q6C4XD.js} +1 -1
- package/{chunk-ZURN7SUE.js → chunk-QGIVJBFE.js} +1 -1
- package/{chunk-XAZILV5B.js → chunk-QIE3YPUF.js} +1 -1
- package/{chunk-V53LQO22.js → chunk-QODZKWYU.js} +26 -26
- package/{chunk-UWH2AIKJ.js → chunk-R4WTWAYW.js} +1 -1
- package/chunk-SMMTSVUW.js +1 -0
- package/{chunk-MU6RYO5X.js → chunk-SOTQ7U7M.js} +1 -1
- package/{chunk-F2XJIYNI.js → chunk-ULI5MSKK.js} +1 -1
- package/chunk-UPGYOOF4.js +1 -0
- package/{chunk-O4J2GUCR.js → chunk-UQSCE43I.js} +1 -1
- package/{chunk-6BCXLMAY.js → chunk-VGUVBBKC.js} +1 -1
- package/{chunk-N2ZDAA6T.js → chunk-WP33C2VM.js} +2 -2
- package/{chunk-3PSEC6OK.js → chunk-YWKSDMLE.js} +1 -1
- package/package.json +1 -1
- package/velt-activity-log.js +1 -1
- package/velt-area.js +1 -1
- package/velt-arrow.js +1 -1
- package/velt-comment.js +7 -7
- package/velt-crdt.js +1 -1
- package/velt-cursor.js +2 -2
- package/velt-huddle.js +1 -1
- package/velt-live-state-sync.js +1 -1
- package/velt-notification.js +1 -1
- package/velt-portable.js +1 -1
- package/velt-presence.js +1 -1
- package/velt-reaction.js +1 -1
- package/velt-recorder.js +1 -1
- package/velt-rewriter.js +2 -2
- package/velt-selection.js +1 -1
- package/velt-tag.js +1 -1
- package/velt-user-invite.js +1 -1
- package/velt-user-request.js +1 -1
- package/velt-video-player.js +1 -1
- package/velt-views.js +3 -3
- package/velt.js +2 -2
- package/chunk-5GFU7BU6.js +0 -1
- package/chunk-CJVRXVE5.js +0 -1
- package/chunk-COMT5MGY.js +0 -1
- package/chunk-EIDOVJ3L.js +0 -6
- package/chunk-GUBXZVJ3.js +0 -1
- package/chunk-KE64O5B7.js +0 -1
- package/chunk-KXEU5HGR.js +0 -1
- package/chunk-TM2JOAC4.js +0 -1
- package/chunk-VFYLOVTK.js +0 -193
|
@@ -47,6 +47,27 @@ export declare class Attachment {
|
|
|
47
47
|
* Preview images of an attachment
|
|
48
48
|
*/
|
|
49
49
|
previewImages?: string[];
|
|
50
|
+
/**
|
|
51
|
+
* Self-hosted (portable backend) only: the organization, in CLIENT form, of the document the file is stored under.
|
|
52
|
+
* Set by the SDK when it uploads the file; reading and deleting the file use it. Not set on Velt-hosted storage.
|
|
53
|
+
*/
|
|
54
|
+
clientOrganizationId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Self-hosted (portable backend) only: the document, in CLIENT form, the file is stored under. On a page with
|
|
57
|
+
* several documents this can differ from the document the comment is saved in. Set by the SDK when it uploads the
|
|
58
|
+
* file; reading and deleting the file use it. Not set on Velt-hosted storage.
|
|
59
|
+
*/
|
|
60
|
+
clientDocumentId?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The document a comment attachment belongs to, in CLIENT ids (the comment's own `metadata.clientOrganizationId` /
|
|
64
|
+
* `clientDocumentId`, else the current document's). Passed only by the comment attachment callers, and read only on a
|
|
65
|
+
* portable (Tier B) session, where the gateway's attachment ops are document-scoped (specs/self-hosting-tier2
|
|
66
|
+
* iteration-32). Hosted ignores it.
|
|
67
|
+
*/
|
|
68
|
+
export interface PortableAttachmentScope {
|
|
69
|
+
organizationId?: string | null;
|
|
70
|
+
documentId?: string | null;
|
|
50
71
|
}
|
|
51
72
|
export interface UploadFileOptions {
|
|
52
73
|
path: string;
|
|
@@ -54,6 +75,8 @@ export interface UploadFileOptions {
|
|
|
54
75
|
useAttachmentResolver?: boolean;
|
|
55
76
|
metadata?: any;
|
|
56
77
|
attachmentScope?: string;
|
|
78
|
+
/** See {@link PortableAttachmentScope}. Absent ⇒ hosted's path on every tier (the recorder and tag callers). */
|
|
79
|
+
portableScope?: PortableAttachmentScope;
|
|
57
80
|
}
|
|
58
81
|
export interface UploadFileData {
|
|
59
82
|
files: File[];
|
|
@@ -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.
|