@select-org/select-post-builder 1.1.52 → 1.1.54

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 CHANGED
@@ -411,6 +411,18 @@ declare type WithoutModalProps = BaseProps & {
411
411
  export { }
412
412
 
413
413
 
414
+ declare module 'axios' {
415
+ interface AxiosRequestConfig {
416
+ /**
417
+ * When true, the response interceptor won't show an error toast for this
418
+ * request. Use when the caller has its own fallback/handling and a failure
419
+ * here is not (yet) user-facing.
420
+ */
421
+ suppressErrorToast?: boolean;
422
+ }
423
+ }
424
+
425
+
414
426
  declare module '@tiptap/core' {
415
427
  interface Commands<ReturnType> {
416
428
  media: {
@@ -478,6 +490,21 @@ declare module '@tiptap/core' {
478
490
  }
479
491
 
480
492
 
493
+ declare module '@tiptap/core' {
494
+ interface Commands<ReturnType> {
495
+ smartMediaUpload: {
496
+ insertMediaWithUpload: (params: {
497
+ source: File | Blob | string;
498
+ type: MediaNodeTypes;
499
+ mediaType?: MediaItemType;
500
+ caption?: string;
501
+ searchFrom?: ImageSearchFrom;
502
+ }) => ReturnType;
503
+ };
504
+ }
505
+ }
506
+
507
+
481
508
  declare module '@tiptap/core' {
482
509
  interface Commands<ReturnType> {
483
510
  iframe: {
@@ -521,18 +548,3 @@ declare module '@tiptap/core' {
521
548
  };
522
549
  }
523
550
  }
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
- }