@streamscloud/embeddable 7.0.2-1759149696160 → 7.0.2-1759150121372

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.
@@ -1,7 +1,7 @@
1
1
  import type { Locale } from '../core/locale';
2
2
  import type { MediaCenterData } from '../media-center/model/types';
3
- import type { IPostSocialInteractionsHandler } from '../posts';
4
3
  import type { PostViewerModel } from '../posts/post-viewer';
4
+ import type { IPostSocialInteractionsHandler } from '../posts/social-interactions';
5
5
  import type { IPlayerBuffer } from '../ui/player-slider';
6
6
  import type { PlayerSliderCallbacks } from '../ui/player-slider/types';
7
7
  import { ContentPlayerUIManager } from './ui-manager.svelte';
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">import { slideHorizontally } from '../core/transitions';
2
- import { PostControls } from '../posts';
3
2
  import { PostAttachments } from '../posts/attachments';
3
+ import { PostControls } from '../posts/controls';
4
4
  import { Icon } from '../ui/icon';
5
5
  import { ContentPlayerConfig } from './content-player-config.svelte';
6
6
  import IconChevronDown from '@fluentui/svg-icons/icons/chevron_down_28_regular.svg?raw';
@@ -1,4 +1,4 @@
1
- import type { IPostSocialInteractionsHandler } from '../../posts';
1
+ import type { IPostSocialInteractionsHandler } from '../../posts/social-interactions';
2
2
  import type { IShortVideoAnalyticsHandler, ShortVideoPlayerModel } from '../../short-videos/short-videos-player/types';
3
3
  import type { IStreamPlayerDataProvider, IStreamAnalyticsHandler } from '../../streams/stream-player/types';
4
4
  export interface IMediaCenterConfig {
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../core/locale';
2
- import type { PostAttachmentsContainer } from '..';
2
+ import type { PostAttachmentsContainer } from '../model';
3
3
  type Props = {
4
4
  container: PostAttachmentsContainer;
5
5
  locale?: Locale;
@@ -1,4 +1,5 @@
1
- import type { IPostSocialInteractionsHandler, PostContainer } from '..';
1
+ import type { PostContainer } from '../model';
2
+ import type { IPostSocialInteractionsHandler } from '../social-interactions';
2
3
  type Props = {
3
4
  model: PostContainer;
4
5
  socialInteractionsHandler?: IPostSocialInteractionsHandler;
@@ -1,4 +1 @@
1
- export type { PostContainer, PostAttachmentsContainer } from './model/types';
2
- export { PostAttachments } from './attachments';
3
- export { PostControls } from './controls';
4
- export type { IPostSocialInteractionsHandler } from './social-interactions';
1
+ export {};
@@ -1,2 +1,2 @@
1
- export { PostAttachments } from './attachments';
2
- export { PostControls } from './controls';
1
+ export {};
2
+ //export type { IPostSocialInteractionsHandler } from './social-interactions';
@@ -0,0 +1 @@
1
+ export type { PostContainer, PostAttachmentsContainer } from './types';
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- <script lang="ts">import { PostControls } from '..';
1
+ <script lang="ts">import { PostControls } from '../controls';
2
2
  import { LineClamp } from '../../ui/line-clamp';
3
3
  import { default as AttachmentsHorizontal } from './attachments-horizontal.svelte';
4
4
  import { default as Heading } from './heading.svelte';
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../core/locale';
2
- import { type IPostSocialInteractionsHandler } from '..';
2
+ import type { IPostSocialInteractionsHandler } from '../social-interactions';
3
3
  import type { PostViewerModel } from './types';
4
4
  type Props = {
5
5
  model: PostViewerModel;
@@ -1,6 +1,6 @@
1
1
  import type { Locale } from '../../core/locale';
2
2
  import { type IMediaCenterConfig } from '../../media-center/config/types';
3
- import type { IPostSocialInteractionsHandler } from '../../posts';
3
+ import type { IPostSocialInteractionsHandler } from '../../posts/social-interactions';
4
4
  import type { IPlayerItemsProvider } from '../../ui/player-slider';
5
5
  import { default as ShortVideosPlayer } from './cmp.short-videos-player.svelte';
6
6
  import { mapToShortVideoPlayerModel } from './mapper';
@@ -1,6 +1,6 @@
1
1
  import type { Locale } from '../../core/locale';
2
- import type { IPostSocialInteractionsHandler } from '../../posts';
3
2
  import type { PostViewerModel } from '../../posts/post-viewer';
3
+ import type { IPostSocialInteractionsHandler } from '../../posts/social-interactions';
4
4
  import type { IPlayerItemsProvider } from '../../ui/player-slider';
5
5
  export interface IShortVideoAnalyticsHandler {
6
6
  setOrganizationId: (organizationId: string) => void;
@@ -1,6 +1,6 @@
1
1
  import type { Locale } from '../../core/locale';
2
2
  import { type IMediaCenterConfig } from '../../media-center/config/types';
3
- import type { IPostSocialInteractionsHandler } from '../../posts';
3
+ import type { IPostSocialInteractionsHandler } from '../../posts/social-interactions';
4
4
  import type { StreamPageViewerModel } from '../stream-page-viewer/types';
5
5
  import { mapToStreamPlayerModel } from './mapper';
6
6
  import type { IStreamAnalyticsHandler, IStreamPlayerDataProvider, StreamPlayerModel } from './types';
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../core/locale';
2
- import type { IPostSocialInteractionsHandler } from '../../posts';
2
+ import type { IPostSocialInteractionsHandler } from '../../posts/social-interactions';
3
3
  import type { StreamPageViewerModel } from '../stream-page-viewer';
4
4
  export type StreamPlayerModel = {
5
5
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/embeddable",
3
- "version": "7.0.2-1759149696160",
3
+ "version": "7.0.2-1759150121372",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,6 +37,10 @@
37
37
  "types": "./dist/media-center/index.d.ts",
38
38
  "svelte": "./dist/media-center/index.js"
39
39
  },
40
+ "./posts": {
41
+ "types": "./dist/posts/index.d.ts",
42
+ "svelte": "./dist/posts/index.js"
43
+ },
40
44
  "./stream-player": {
41
45
  "types": "./dist/streams/stream-player/index.d.ts",
42
46
  "svelte": "./dist/streams/stream-player/index.js"