@select-org/select-post-builder 1.1.51 → 1.1.52
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/dist/index.d.ts +17 -15
- package/dist/post-builder.cjs.js +11 -11
- package/dist/post-builder.js +326 -321
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,8 @@ declare type BaseProps = {
|
|
|
76
76
|
*/
|
|
77
77
|
onQuickGif?: (params: {
|
|
78
78
|
text: string;
|
|
79
|
+
sendCrossMention: boolean;
|
|
80
|
+
onSent: () => void;
|
|
79
81
|
}) => void;
|
|
80
82
|
onGroupSelect?: (groupId: string) => void;
|
|
81
83
|
onDirtyStateChange?: (isDirty: boolean) => void;
|
|
@@ -492,21 +494,6 @@ declare module '@tiptap/core' {
|
|
|
492
494
|
}
|
|
493
495
|
|
|
494
496
|
|
|
495
|
-
declare module '@tiptap/core' {
|
|
496
|
-
interface Commands<ReturnType> {
|
|
497
|
-
smartMediaUpload: {
|
|
498
|
-
insertMediaWithUpload: (params: {
|
|
499
|
-
source: File | Blob | string;
|
|
500
|
-
type: MediaNodeTypes;
|
|
501
|
-
mediaType?: MediaItemType;
|
|
502
|
-
caption?: string;
|
|
503
|
-
searchFrom?: ImageSearchFrom;
|
|
504
|
-
}) => ReturnType;
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
|
|
510
497
|
declare module '@tiptap/core' {
|
|
511
498
|
interface Commands<ReturnType> {
|
|
512
499
|
linkPreview: {
|
|
@@ -534,3 +521,18 @@ declare module '@tiptap/core' {
|
|
|
534
521
|
};
|
|
535
522
|
}
|
|
536
523
|
}
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
declare module '@tiptap/core' {
|
|
527
|
+
interface Commands<ReturnType> {
|
|
528
|
+
smartMediaUpload: {
|
|
529
|
+
insertMediaWithUpload: (params: {
|
|
530
|
+
source: File | Blob | string;
|
|
531
|
+
type: MediaNodeTypes;
|
|
532
|
+
mediaType?: MediaItemType;
|
|
533
|
+
caption?: string;
|
|
534
|
+
searchFrom?: ImageSearchFrom;
|
|
535
|
+
}) => ReturnType;
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
}
|