@speakableio/core 1.0.38 → 1.0.39

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.
@@ -88,7 +88,7 @@ interface PageActivityWithId extends PageActivity {
88
88
  id: string;
89
89
  }
90
90
  interface MediaPageActivity {
91
- type: 'image' | 'video' | 'link' | 'audio';
91
+ type: 'image' | 'video' | 'link' | 'audio' | 'embed' | 'document';
92
92
  url: string;
93
93
  transcript?: string | null;
94
94
  }
@@ -633,7 +633,7 @@ declare function getPageMediaData(page: PageActivityWithId): {
633
633
  mode: "single" | "media_area" | "none" | null;
634
634
  singleMedia: {
635
635
  rawObject: MediaPageActivity;
636
- type: "image" | "video" | "link" | "audio";
636
+ type: "document" | "image" | "video" | "link" | "audio" | "embed";
637
637
  content: string;
638
638
  } | undefined;
639
639
  isMediaPage: boolean;
@@ -643,7 +643,7 @@ declare function getPageMediaData(page: PageActivityWithId): {
643
643
  };
644
644
  declare function getSingleMediaPageData(page: PageActivityWithId): {
645
645
  rawObject: MediaPageActivity;
646
- type: "image" | "video" | "link" | "audio";
646
+ type: "document" | "image" | "video" | "link" | "audio" | "embed";
647
647
  content: string;
648
648
  } | undefined;
649
649
 
@@ -88,7 +88,7 @@ interface PageActivityWithId extends PageActivity {
88
88
  id: string;
89
89
  }
90
90
  interface MediaPageActivity {
91
- type: 'image' | 'video' | 'link' | 'audio';
91
+ type: 'image' | 'video' | 'link' | 'audio' | 'embed' | 'document';
92
92
  url: string;
93
93
  transcript?: string | null;
94
94
  }
@@ -633,7 +633,7 @@ declare function getPageMediaData(page: PageActivityWithId): {
633
633
  mode: "single" | "media_area" | "none" | null;
634
634
  singleMedia: {
635
635
  rawObject: MediaPageActivity;
636
- type: "image" | "video" | "link" | "audio";
636
+ type: "document" | "image" | "video" | "link" | "audio" | "embed";
637
637
  content: string;
638
638
  } | undefined;
639
639
  isMediaPage: boolean;
@@ -643,7 +643,7 @@ declare function getPageMediaData(page: PageActivityWithId): {
643
643
  };
644
644
  declare function getSingleMediaPageData(page: PageActivityWithId): {
645
645
  rawObject: MediaPageActivity;
646
- type: "image" | "video" | "link" | "audio";
646
+ type: "document" | "image" | "video" | "link" | "audio" | "embed";
647
647
  content: string;
648
648
  } | undefined;
649
649