@amityco/react-native-social-uikit 4.0.0-4221f0d.0 → 4.0.0-7db12756.0
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/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/commonjs/components/MediaSection/index.js +3 -3
- package/lib/commonjs/components/MediaSection/index.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js +14 -5
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/style.js +1 -2
- package/lib/commonjs/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/commonjs/components/Social/PostList/index.js +1 -3
- package/lib/commonjs/components/Social/PostList/index.js.map +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js +16 -16
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/commonjs/screens/LivestreamPlayer/index.js +3 -6
- package/lib/commonjs/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/commonjs/svg/svg-xml-list.js +1 -1
- package/lib/commonjs/util/postTypeChecker.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +28 -25
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +206 -68
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +50 -0
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +150 -124
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/commonjs/v4/component/LivestreamContent/index.js +12 -12
- package/lib/commonjs/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/PostContent/index.js +4 -4
- package/lib/commonjs/v4/component/PostContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/PostMenu/index.js +2 -2
- package/lib/commonjs/v4/component/PostMenu/index.js.map +1 -1
- package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js +3 -3
- package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js.map +1 -1
- package/lib/commonjs/v4/component/PreviewLink/utils.js +9 -73
- package/lib/commonjs/v4/component/PreviewLink/utils.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/index.js +4 -4
- package/lib/commonjs/v4/component/Toast/index.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/styles.js +2 -2
- package/lib/commonjs/v4/component/Toast/styles.js.map +1 -1
- package/lib/commonjs/v4/enum/roomStatus.js +14 -0
- package/lib/commonjs/v4/enum/roomStatus.js.map +1 -0
- package/lib/commonjs/v4/hook/index.js +22 -0
- package/lib/commonjs/v4/hook/index.js.map +1 -1
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js +1 -3
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/commonjs/v4/hook/usePostSubscription.js +38 -0
- package/lib/commonjs/v4/hook/usePostSubscription.js.map +1 -0
- package/lib/commonjs/v4/hook/useRoomSubscription.js +22 -0
- package/lib/commonjs/v4/hook/useRoomSubscription.js.map +1 -0
- package/lib/commonjs/v4/index.js +7 -0
- package/lib/commonjs/v4/index.js.map +1 -1
- package/lib/commonjs/v4/stores/slices/toast.js +4 -1
- package/lib/commonjs/v4/stores/slices/toast.js.map +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/module/components/MediaSection/index.js +3 -3
- package/lib/module/components/MediaSection/index.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js +15 -8
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/style.js +1 -2
- package/lib/module/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/module/components/Social/PostList/index.js +1 -3
- package/lib/module/components/Social/PostList/index.js.map +1 -1
- package/lib/module/index.js +2 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/screens/CreateLivestream/CreateLivestream.js +17 -17
- package/lib/module/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/module/screens/LivestreamPlayer/index.js +4 -8
- package/lib/module/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/module/svg/svg-xml-list.js +1 -1
- package/lib/module/util/postTypeChecker.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +29 -26
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +211 -72
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +42 -0
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +152 -126
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/module/v4/component/LivestreamContent/index.js +13 -13
- package/lib/module/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/module/v4/component/PostContent/index.js +4 -4
- package/lib/module/v4/component/PostContent/index.js.map +1 -1
- package/lib/module/v4/component/PostMenu/index.js +2 -2
- package/lib/module/v4/component/PostMenu/index.js.map +1 -1
- package/lib/module/v4/component/PreviewLink/LinkPreview.js +3 -3
- package/lib/module/v4/component/PreviewLink/LinkPreview.js.map +1 -1
- package/lib/module/v4/component/PreviewLink/utils.js +9 -73
- package/lib/module/v4/component/PreviewLink/utils.js.map +1 -1
- package/lib/module/v4/component/Toast/index.js +4 -4
- package/lib/module/v4/component/Toast/index.js.map +1 -1
- package/lib/module/v4/component/Toast/styles.js +2 -2
- package/lib/module/v4/component/Toast/styles.js.map +1 -1
- package/lib/module/v4/enum/roomStatus.js +8 -0
- package/lib/module/v4/enum/roomStatus.js.map +1 -0
- package/lib/module/v4/hook/index.js +2 -0
- package/lib/module/v4/hook/index.js.map +1 -1
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js +1 -3
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/module/v4/hook/usePostSubscription.js +31 -0
- package/lib/module/v4/hook/usePostSubscription.js.map +1 -0
- package/lib/module/v4/hook/useRoomSubscription.js +15 -0
- package/lib/module/v4/hook/useRoomSubscription.js.map +1 -0
- package/lib/module/v4/index.js +1 -1
- package/lib/module/v4/index.js.map +1 -1
- package/lib/module/v4/stores/slices/toast.js +4 -1
- package/lib/module/v4/stores/slices/toast.js.map +1 -1
- package/lib/typescript/src/components/MediaSection/index.d.ts.map +1 -1
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts +1 -2
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts.map +1 -1
- package/lib/typescript/src/components/Social/PostList/index.d.ts +1 -3
- package/lib/typescript/src/components/Social/PostList/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/LivestreamPlayer/index.d.ts.map +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts +1 -3
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts +1 -0
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.d.ts +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts +8 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts.map +1 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts +70 -2
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts +1 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/PostContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts +6 -1
- package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/enum/roomStatus.d.ts +8 -0
- package/lib/typescript/src/v4/enum/roomStatus.d.ts.map +1 -0
- package/lib/typescript/src/v4/hook/index.d.ts +2 -0
- package/lib/typescript/src/v4/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts +3 -0
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts +4 -0
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts.map +1 -0
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts +4 -0
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts.map +1 -0
- package/lib/typescript/src/v4/index.d.ts +1 -0
- package/lib/typescript/src/v4/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts.map +1 -1
- package/lib/typescript/src/v4/stores/slices/toast.d.ts +1 -0
- package/lib/typescript/src/v4/stores/slices/toast.d.ts.map +1 -1
- package/package.json +6 -3
- package/src/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.tsx +1 -1
- package/src/components/MediaSection/index.tsx +4 -6
- package/src/components/PostTypeChoiceModal/PostTypeChoiceModal.tsx +15 -15
- package/src/components/PostTypeChoiceModal/style.ts +1 -2
- package/src/components/Social/PostList/index.tsx +1 -4
- package/src/index.tsx +2 -2
- package/src/screens/CreateLivestream/CreateLivestream.tsx +17 -17
- package/src/screens/LivestreamPlayer/index.tsx +9 -15
- package/src/svg/svg-xml-list.ts +1 -1
- package/src/util/postTypeChecker.ts +1 -1
- package/src/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.tsx +10 -10
- package/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx +1 -1
- package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.tsx +1 -1
- package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.tsx +1 -1
- package/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts +3 -2
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx +24 -25
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.ts +2 -2
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx +241 -89
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx +48 -0
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts +72 -3
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx +200 -154
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts +2 -0
- package/src/v4/component/LivestreamContent/index.tsx +21 -22
- package/src/v4/component/PostContent/index.tsx +6 -8
- package/src/v4/component/PostMenu/index.tsx +2 -2
- package/src/v4/component/PreviewLink/LinkPreview.tsx +3 -3
- package/src/v4/component/PreviewLink/utils.ts +9 -108
- package/src/v4/component/Toast/index.tsx +1 -1
- package/src/v4/component/Toast/styles.ts +2 -2
- package/src/v4/enum/roomStatus.ts +7 -0
- package/src/v4/hook/index.ts +2 -0
- package/src/v4/hook/useCustomRankingGlobalFeed.ts +1 -1
- package/src/v4/hook/usePostSubscription.ts +34 -0
- package/src/v4/hook/useRoomSubscription.ts +19 -0
- package/src/v4/index.tsx +1 -1
- package/src/v4/routes/RouteParamList.tsx +1 -1
- package/src/v4/stores/slices/toast.ts +5 -0
- package/uikit.config.json +1 -1
- package/lib/commonjs/v4/enum/livestreamStatus.js +0 -13
- package/lib/commonjs/v4/enum/livestreamStatus.js.map +0 -1
- package/lib/module/v4/enum/livestreamStatus.js +0 -7
- package/lib/module/v4/enum/livestreamStatus.js.map +0 -1
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts +0 -7
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts.map +0 -1
- package/src/v4/enum/livestreamStatus.ts +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FeedRepository","PostRepository","useCallback","useEffect","useRef","useState","globalFeedSlice","globalFeedPageLimit","useUIKitDispatch","useUIKitSelector","usePaginatorApi","useAuth","isAmityAd","item","adId","undefined","useCustomRankingGlobalFeed","isConnected","dispatch","unsubscribeRef","onNextPageRef","setNewGlobalFeed","actions","fetching","setFetching","error","setError","postList","state","globalFeed","itemWithAds","items","isLoading","placement","pageSize","getItemId","postId","toString","processPosts","posts","results","Promise","all","map","post","children","length","resolve","unsubscribe","getPost","$error","loading","data","dataType","filter","result","fetchCustomRanking","getCustomRankingGlobalFeed","limit","onNextPage","then","current","_unsubscribeRef$curre","call","refresh","_unsubscribeRef$curre2"],"sourceRoot":"../../../../src","sources":["v4/hook/useCust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AS,EAAGtB,IAAI,IAAMA,IAAI,CAAgBuB,MAAM,CAACC,QAAQ,CAAC;EAC5D,CAAC,CAAC;EAEF,MAAMC,YAAY,GAAG,MAAOC,KAAmB,IAAK;IAClD,MAAMC,OAAO,GAAG,MAAMC,OAAO,CAACC,GAAG,CAC/BH,KAAK,CAACI,GAAG,CAAEC,IAAI,IAAK;MAClB,IAAI,CAAAA,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEC,QAAQ,CAACC,MAAM,IAAG,CAAC,EAAE;QAC7B,OAAO,IAAIL,OAAO,CAAEM,OAAO,IAAK;UAC9B,MAAMC,WAAW,GAAG/C,cAAc,CAACgD,OAAO,CACxCL,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEC,QAAQ,CAAC,CAAC,CAAC,EACjB,CAAC;YAAEpB,KAAK,EAAEyB,MAAM;YAAEC,OAAO;YAAEC;UAAK,CAAC,KAAK;YACpC,IAAI,CAACF,MAAM,IAAI,CAACC,OAAO,EAAE;cACvB,IACE,CAAAC,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEC,QAAQ,MAAK,OAAO,IAC1B,CAAAD,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEC,QAAQ,MAAK,OAAO
|
|
1
|
+
{"version":3,"names":["FeedRepository","PostRepository","useCallback","useEffect","useRef","useState","globalFeedSlice","globalFeedPageLimit","useUIKitDispatch","useUIKitSelector","usePaginatorApi","useAuth","isAmityAd","item","adId","undefined","useCustomRankingGlobalFeed","isConnected","dispatch","unsubscribeRef","onNextPageRef","setNewGlobalFeed","actions","fetching","setFetching","error","setError","postList","state","globalFeed","itemWithAds","items","isLoading","placement","pageSize","getItemId","postId","toString","processPosts","posts","results","Promise","all","map","post","children","length","resolve","unsubscribe","getPost","$error","loading","data","dataType","filter","result","fetchCustomRanking","getCustomRankingGlobalFeed","limit","onNextPage","then","current","_unsubscribeRef$curre","call","refresh","_unsubscribeRef$curre2"],"sourceRoot":"../../../../src","sources":["v4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Aa,CAACyC,OAAO,GAAG,IAAI;IAE5B1C,cAAc,CAAC0C,OAAO,GAAGL,kBAAkB,CAAC,CAAC;EAC/C,CAAC,EAAE,CAACA,kBAAkB,CAAC,CAAC;EAExB,OAAO;IACLL,OAAO,EAAE5B,QAAQ;IACjByC,OAAO;IACPlC,WAAW;IACX6B,UAAU,EAAEvC,aAAa,CAACyC,OAAO;IACjCpC;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
import { getPostTopic, PostRepository, subscribeTopic } from '@amityco/ts-sdk-react-native';
|
|
3
|
+
export const usePostSubscription = postId => {
|
|
4
|
+
const [subscribedPost, setSubscribedPost] = useState(null);
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
let unsubscribe;
|
|
7
|
+
if (postId) {
|
|
8
|
+
unsubscribe = PostRepository.getPost(postId, ({
|
|
9
|
+
data
|
|
10
|
+
}) => {
|
|
11
|
+
setSubscribedPost(data);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return () => {
|
|
15
|
+
unsubscribe && unsubscribe();
|
|
16
|
+
};
|
|
17
|
+
}, [postId]);
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
let unsubscribe;
|
|
20
|
+
if (subscribedPost) {
|
|
21
|
+
unsubscribe = subscribeTopic(getPostTopic(subscribedPost));
|
|
22
|
+
}
|
|
23
|
+
return () => {
|
|
24
|
+
unsubscribe && unsubscribe();
|
|
25
|
+
};
|
|
26
|
+
}, [subscribedPost]);
|
|
27
|
+
return {
|
|
28
|
+
subscribedPost
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=usePostSubscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useState","getPostTopic","PostRepository","subscribeTopic","usePostSubscription","postId","subscribedPost","setSubscribedPost","unsubscribe","getPost","data"],"sourceRoot":"../../../../src","sources":["v4/hook/usePostSubscription.ts"],"mappings":"AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SACEC,YAAY,EACZC,cAAc,EACdC,cAAc,QACT,8BAA8B;AAErC,OAAO,MAAMC,mBAAmB,GAAIC,MAAc,IAAK;EACrD,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGP,QAAQ,CAAa,IAAI,CAAC;EAEtED,SAAS,CAAC,MAAM;IACd,IAAIS,WAAuB;IAC3B,IAAIH,MAAM,EAAE;MACVG,WAAW,GAAGN,cAAc,CAACO,OAAO,CAACJ,MAAM,EAAE,CAAC;QAAEK;MAAK,CAAC,KAAK;QACzDH,iBAAiB,CAACG,IAAI,CAAC;MACzB,CAAC,CAAC;IACJ;IACA,OAAO,MAAM;MACXF,WAAW,IAAIA,WAAW,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,EAAE,CAACH,MAAM,CAAC,CAAC;EAEZN,SAAS,CAAC,MAAM;IACd,IAAIS,WAAuB;IAC3B,IAAIF,cAAc,EAAE;MAClBE,WAAW,GAAGL,cAAc,CAACF,YAAY,CAACK,cAAc,CAAC,CAAC;IAC5D;IACA,OAAO,MAAM;MACXE,WAAW,IAAIA,WAAW,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,EAAE,CAACF,cAAc,CAAC,CAAC;EAEpB,OAAO;IAAEA;EAAe,CAAC;AAC3B,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getRoomWatcherTopic, subscribeTopic } from '@amityco/ts-sdk-react-native';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
export const useRoomSubscription = ({
|
|
4
|
+
room
|
|
5
|
+
}) => {
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
const unsubscriber = [];
|
|
8
|
+
if (room !== null && room !== void 0 && room.roomId && (room === null || room === void 0 ? void 0 : room.status) !== 'recorded') {
|
|
9
|
+
unsubscriber.push(subscribeTopic(getRoomWatcherTopic(room)));
|
|
10
|
+
}
|
|
11
|
+
return () => unsubscriber.forEach(fn => fn());
|
|
12
|
+
}, [room, room === null || room === void 0 ? void 0 : room.roomId]);
|
|
13
|
+
return null;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=useRoomSubscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getRoomWatcherTopic","subscribeTopic","useEffect","useRoomSubscription","room","unsubscriber","roomId","status","push","forEach","fn"],"sourceRoot":"../../../../src","sources":["v4/hook/useRoomSubscription.ts"],"mappings":"AAAA,SACEA,mBAAmB,EACnBC,cAAc,QACT,8BAA8B;AACrC,SAASC,SAAS,QAAQ,OAAO;AAEjC,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC;AAAmC,CAAC,KAAK;EAC7EF,SAAS,CAAC,MAAM;IACd,MAAMG,YAAkC,GAAG,EAAE;IAE7C,IAAID,IAAI,aAAJA,IAAI,eAAJA,IAAI,CAAEE,MAAM,IAAI,CAAAF,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEG,MAAM,MAAK,UAAU,EAAE;MAC/CF,YAAY,CAACG,IAAI,CAACP,cAAc,CAACD,mBAAmB,CAACI,IAAI,CAAC,CAAC,CAAC;IAC9D;IAEA,OAAO,MAAMC,YAAY,CAACI,OAAO,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC;EACjD,CAAC,EAAE,CAACN,IAAI,EAAEA,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEE,MAAM,CAAC,CAAC;EAExB,OAAO,IAAI;AACb,CAAC","ignoreList":[]}
|
package/lib/module/v4/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export { default as AmityMyCommunitiesSearchPage } from './PublicApi/Pages/Amity
|
|
|
11
11
|
export { default as AmityAllCategoriesPage } from './PublicApi/Pages/AmityAllCategoriesPage/AmityAllCategoriesPage';
|
|
12
12
|
export { default as AmityCommunitiesByCategoryPage } from './PublicApi/Pages/AmityCommunitiesByCategoryPage/AmityCommunitiesByCategoryPage';
|
|
13
13
|
export { default as AmityCommunityProfilePage } from './PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage';
|
|
14
|
-
|
|
14
|
+
export { default as AmityCreateLivestreamPage } from './PublicApi/Pages/AmityCreateLivestreamPage';
|
|
15
15
|
export { default as AmityLivestreamPostTargetSelectionPage } from './PublicApi/Pages/AmityLivestreamPostTargetSelectionPage';
|
|
16
16
|
export { default as AmityLivestreamTerminatedPage } from './PublicApi/Pages/AmityLivestreamTerminatedPage';
|
|
17
17
|
export { default as AmityLivestreamPlayerPage } from './PublicApi/Pages/AmityLivestreamPlayerPage';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","AmityCreateStoryPage","AmityDraftStoryPage","AmityViewStoryPage","AmitySocialHomePage","AmitySocialGlobalSearchPage","AmityPostDetailPage","AmityPostTargetSelectionPage","AmityStoryTargetSelectionPage","AmityPostComposerPage","AmityMyCommunitiesSearchPage","AmityAllCategoriesPage","AmityCommunitiesByCategoryPage","AmityCommunityProfilePage","AmityLivestreamPostTargetSelectionPage","AmityLivestreamTerminatedPage","AmityLivestreamPlayerPage","AmityPollTargetSelectionPage","AmityPollPostComposerPage","AmityUserProfilePage","AmityCommunitySetupPage","AmityCommunityAddCategoryPage","AmityCommunityAddMemberPage","AmityCommunityPendingRequestPage","AmityCommunitySettingPage","AmityCommunityMembershipPage","AmityCommunityPostPermissionPage","AmityCommunityStorySettingPage","AmityCommunityNotificationSettingPage","AmityCommunityPostsNotificationSettingPage","AmityCommunityCommentsNotificationSettingPage","AmityCommunityStoriesNotificationSettingPage","AmityCommunityLivestreamsNotificationSettingPage","AmityStoryTabComponent","AmitySocialHomeTopNavigationComponent","AmityCommunitySearchResultComponent","AmityTopSearchBarComponent","AmityEmptyNewsFeedComponent","AmityGlobalFeedComponent","AmityMyCommunitiesComponent","AmityNewsFeedComponent","AmityPostContentComponent","AmityCreatePostMenuComponent","AmityMediaAttachmentComponent","AmityDetailedMediaAttachmentComponent","AmityPostCommentComponent","AmityPostEngagementActionsComponent","AmityUserSearchResultComponent","AmityReactionListComponent","AmityCommunityFeedComponent","AmityCommunityHeaderComponent","AmityCommunityImageFeedComponent","AmityCommunityVideoFeedComponent","AmityThumbnailActionComponent","AmityExploreComponent","AmityCommunityPinnedPostComponent","AmityPendingPostListComponent","AmityPostTargetSelectionPageType","PostTargetType","AmityPostTargetType","AmityPostEngagementContentComponent"],"sourceRoot":"../../../src","sources":["v4/index.tsx"],"mappings":"AAAA,SAASA,OAAO,IAAIC,oBAAoB,QAAQ,6DAA6D;AAC7G,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASF,OAAO,IAAIG,kBAAkB,QAAQ,yDAAyD;AACvG,SAASH,OAAO,IAAII,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASJ,OAAO,IAAIK,2BAA2B,QAAQ,2EAA2E;AAClI,SAASL,OAAO,IAAIM,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASN,OAAO,IAAIO,4BAA4B,QAAQ,6EAA6E;AACrI,SAASP,OAAO,IAAIQ,6BAA6B,QAAQ,+EAA+E;AACxI,SAASR,OAAO,IAAIS,qBAAqB,QAAQ,+DAA+D;AAChH,SAAST,OAAO,IAAIU,4BAA4B,QAAQ,6EAA6E;AACrI,SAASV,OAAO,IAAIW,sBAAsB,QAAQ,iEAAiE;AACnH,SAASX,OAAO,IAAIY,8BAA8B,QAAQ,iFAAiF;AAC3I,SAASZ,OAAO,IAAIa,yBAAyB,QAAQ,uEAAuE;AAC5H
|
|
1
|
+
{"version":3,"names":["default","AmityCreateStoryPage","AmityDraftStoryPage","AmityViewStoryPage","AmitySocialHomePage","AmitySocialGlobalSearchPage","AmityPostDetailPage","AmityPostTargetSelectionPage","AmityStoryTargetSelectionPage","AmityPostComposerPage","AmityMyCommunitiesSearchPage","AmityAllCategoriesPage","AmityCommunitiesByCategoryPage","AmityCommunityProfilePage","AmityCreateLivestreamPage","AmityLivestreamPostTargetSelectionPage","AmityLivestreamTerminatedPage","AmityLivestreamPlayerPage","AmityPollTargetSelectionPage","AmityPollPostComposerPage","AmityUserProfilePage","AmityCommunitySetupPage","AmityCommunityAddCategoryPage","AmityCommunityAddMemberPage","AmityCommunityPendingRequestPage","AmityCommunitySettingPage","AmityCommunityMembershipPage","AmityCommunityPostPermissionPage","AmityCommunityStorySettingPage","AmityCommunityNotificationSettingPage","AmityCommunityPostsNotificationSettingPage","AmityCommunityCommentsNotificationSettingPage","AmityCommunityStoriesNotificationSettingPage","AmityCommunityLivestreamsNotificationSettingPage","AmityStoryTabComponent","AmitySocialHomeTopNavigationComponent","AmityCommunitySearchResultComponent","AmityTopSearchBarComponent","AmityEmptyNewsFeedComponent","AmityGlobalFeedComponent","AmityMyCommunitiesComponent","AmityNewsFeedComponent","AmityPostContentComponent","AmityCreatePostMenuComponent","AmityMediaAttachmentComponent","AmityDetailedMediaAttachmentComponent","AmityPostCommentComponent","AmityPostEngagementActionsComponent","AmityUserSearchResultComponent","AmityReactionListComponent","AmityCommunityFeedComponent","AmityCommunityHeaderComponent","AmityCommunityImageFeedComponent","AmityCommunityVideoFeedComponent","AmityThumbnailActionComponent","AmityExploreComponent","AmityCommunityPinnedPostComponent","AmityPendingPostListComponent","AmityPostTargetSelectionPageType","PostTargetType","AmityPostTargetType","AmityPostEngagementContentComponent"],"sourceRoot":"../../../src","sources":["v4/index.tsx"],"mappings":"AAAA,SAASA,OAAO,IAAIC,oBAAoB,QAAQ,6DAA6D;AAC7G,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASF,OAAO,IAAIG,kBAAkB,QAAQ,yDAAyD;AACvG,SAASH,OAAO,IAAII,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASJ,OAAO,IAAIK,2BAA2B,QAAQ,2EAA2E;AAClI,SAASL,OAAO,IAAIM,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASN,OAAO,IA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EpG,SAAStD,OAAO,IAAIuD,qBAAqB,QAAQ,oEAAoE;AACrH,SAASvD,OAAO,IAAIwD,iCAAiC,QAAQ,0DAA0D;AACvH,SAASxD,OAAO,IAAIyD,6BAA6B,QAAQ,sDAAsD;AAE/G,SACEC,gCAAgC,EAChCC,cAAc,IAAIC,mBAAmB,QAChC,QAAQ;AAEf,SAAS5D,OAAO,IAAI6D,mCAAmC,QAAQ,4DAA4D","ignoreList":[]}
|
|
@@ -5,7 +5,8 @@ const initialState = {
|
|
|
5
5
|
visible: false,
|
|
6
6
|
message: '',
|
|
7
7
|
type: 'loading',
|
|
8
|
-
duration: 2500
|
|
8
|
+
duration: 2500,
|
|
9
|
+
bottomPosition: 16
|
|
9
10
|
};
|
|
10
11
|
const toastSlice = createSlice({
|
|
11
12
|
name: 'toast',
|
|
@@ -16,12 +17,14 @@ const toastSlice = createSlice({
|
|
|
16
17
|
state.message = action.payload.message;
|
|
17
18
|
state.type = action.payload.type;
|
|
18
19
|
state.duration = action.payload.duration ?? initialState.duration;
|
|
20
|
+
state.bottomPosition = action.payload.bottomPosition ?? initialState.bottomPosition;
|
|
19
21
|
},
|
|
20
22
|
hideToast: state => {
|
|
21
23
|
state.visible = false;
|
|
22
24
|
state.message = '';
|
|
23
25
|
state.type = 'loading';
|
|
24
26
|
state.duration = 2500;
|
|
27
|
+
state.bottomPosition = 16;
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createSlice","useUIKitDispatch","useUIKitSelector","getCommentErrorMessage","initialState","visible","message","type","duration","toastSlice","name","reducers","showToast","state","action","payload","hideToast","useToast","dispatch","toast","$showToast","$hideToast","actions","showCommentErrorToast","error","errorMessage"],"sourceRoot":"../../../../../src","sources":["v4/stores/slices/toast.ts"],"mappings":"AAAA,SAAwBA,WAAW,QAAQ,kBAAkB;AAC7D,SAEEC,gBAAgB,EAChBC,gBAAgB,QACX,sBAAsB;AAC7B,SAASC,sBAAsB,QAAQ,0BAA0B;
|
|
1
|
+
{"version":3,"names":["createSlice","useUIKitDispatch","useUIKitSelector","getCommentErrorMessage","initialState","visible","message","type","duration","bottomPosition","toastSlice","name","reducers","showToast","state","action","payload","hideToast","useToast","dispatch","toast","$showToast","$hideToast","actions","showCommentErrorToast","error","errorMessage"],"sourceRoot":"../../../../../src","sources":["v4/stores/slices/toast.ts"],"mappings":"AAAA,SAAwBA,WAAW,QAAQ,kBAAkB;AAC7D,SAEEC,gBAAgB,EAChBC,gBAAgB,QACX,sBAAsB;AAC7B,SAASC,sBAAsB,QAAQ,0BAA0B;AAQjE,MAAMC,YAAwB,GAAG;EAC/BC,OAAO,EAAE,KAAK;EACdC,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,IAAI;EACdC,cAAc,EAAE;AAClB,CAAC;AAED,MAAMC,UAAU,GAAGV,WAAW,CAAC;EAC7BW,IAAI,EAAE,OAAO;EACbP,YAAY;EACZQ,QAAQ,EAAE;IACRC,SAAS,EAAEA,CAACC,KAAK,EAAEC,MAAiC,KAAK;MACvDD,KAAK,CAACT,OAAO,GAAG,IAAI;MACpBS,KAAK,CAACR,OAAO,GAAGS,MAAM,CAACC,OAAO,CAACV,OAAO;MACtCQ,KAAK,CAACP,IAAI,GAAGQ,MAAM,CAACC,OAAO,CAACT,IAAI;MAChCO,KAAK,CAACN,QAAQ,GAAGO,MAAM,CAACC,OAAO,CAACR,QAAQ,IAAIJ,YAAY,CAACI,QAAQ;MACjEM,KAAK,CAACL,cAAc,GAClBM,MAAM,CAACC,OAAO,CAACP,cAAc,IAAIL,YAAY,CAACK,cAAc;IAChE,CAAC;IACDQ,SAAS,EAAGH,KAAK,IAAK;MACpBA,KAAK,CAACT,OAAO,GAAG,KAAK;MACrBS,KAAK,CAACR,OAAO,GAAG,EAAE;MAClBQ,KAAK,CAACP,IAAI,GAAG,SAAS;MACtBO,KAAK,CAACN,QAAQ,GAAG,IAAI;MACrBM,KAAK,CAACL,cAAc,GAAG,EAAE;IAC3B;EACF;AACF,CAAC,CAAC;AAEF,eAAeC,UAAU;AAEzB,OAAO,MAAMQ,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,QAAQ,GAAGlB,gBAAgB,CAAC,CAAC;EACnC,MAAMmB,KAAK,GAAGlB,gBAAgB,CAAyBY,KAAK,IAAKA,KAAK,CAACM,KAAK,CAAC;EAC7E,MAAM;IAAEP,SAAS,EAAEQ,UAAU;IAAEJ,SAAS,EAAEK;EAAW,CAAC,GAAGZ,UAAU,CAACa,OAAO;EAE3E,MAAMN,SAAS,GAAGA,CAAA,KAAME,QAAQ,CAACG,UAAU,CAAC,CAAC,CAAC;EAE9C,MAAMT,SAAS,GAAIG,OAAmB,IAAKG,QAAQ,CAACE,UAAU,CAACL,OAAO,CAAC,CAAC;EAExE,MAAMQ,qBAAqB,GAAIC,KAAY,IAAK;IAC9C,MAAMC,YAAY,GAAGvB,sBAAsB,CAACsB,KAAK,CAAC;IAClDZ,SAAS,CAAC;MAAEP,OAAO,EAAEoB,YAAY;MAAEnB,IAAI,EAAE;IAAc,CAAC,CAAC;EAC3D,CAAC;EAED,OAAO;IACLa,KAAK;IACLH,SAAS;IACTJ,SAAS;IACTW;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAmBhE,UAAU,aAAa;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAmBhE,UAAU,aAAa;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;;AA8RD,wBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/PostTypeChoiceModal/style.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/PostTypeChoiceModal/style.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DrB,CAAC"}
|
|
@@ -24,9 +24,7 @@ export interface IPost {
|
|
|
24
24
|
export interface IPostList {
|
|
25
25
|
onDelete?: (postId: string) => void;
|
|
26
26
|
onChange?: (postDetail: Amity.Post<any>) => void;
|
|
27
|
-
postDetail: Amity.Post<any
|
|
28
|
-
structureType?: string;
|
|
29
|
-
};
|
|
27
|
+
postDetail: Amity.Post<any>;
|
|
30
28
|
postIndex?: number;
|
|
31
29
|
isGlobalfeed?: boolean;
|
|
32
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Social/PostList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAsBxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAgBnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;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AG,SAAS,CAAC;IAChC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;CACpC;AACD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IACjD,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AACD,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AACD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,SAAS,EACT,QAAQ,EACR,YAAY,GACb,EAAE,SAAS,qBAwdX"}
|
|
@@ -4,9 +4,9 @@ import AmityPageRenderer from './v4/routes/AmityPageRenderer';
|
|
|
4
4
|
import PostDetail from './v4/screen/PostDetail';
|
|
5
5
|
import CommunityHome from './v4/screen/CommunityHome';
|
|
6
6
|
import UserProfile from './v4/screen/UserProfile';
|
|
7
|
-
import { AmityStoryTabComponent, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityExploreComponent, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, AmityCommunityProfilePage as CommunityProfilePage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent } from './v4';
|
|
7
|
+
import { AmityStoryTabComponent, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityExploreComponent, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, AmityCommunityProfilePage as CommunityProfilePage, AmityCreateLivestreamPage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent } from './v4';
|
|
8
8
|
import { AmityStoryTabComponentEnum, AmityPostComposerMode, mediaAttachment } from './v4/PublicApi/types';
|
|
9
9
|
import { AmityGlobalStoryTabWrapper } from './v4/component/MyStories';
|
|
10
10
|
export declare function multiply(a: number, b: number): Promise<number>;
|
|
11
|
-
export { AmityUiKitProvider, AmityUiKitSocial, AmityStoryTabComponent, AmityStoryTabComponentEnum, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityPostComposerMode, mediaAttachment, AmityExploreComponent, AmityPageRenderer, PostDetail, CommunityHome, UserProfile, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, CommunityProfilePage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent, AmityGlobalStoryTabWrapper, };
|
|
11
|
+
export { AmityUiKitProvider, AmityUiKitSocial, AmityStoryTabComponent, AmityStoryTabComponentEnum, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityPostComposerMode, mediaAttachment, AmityExploreComponent, AmityPageRenderer, PostDetail, CommunityHome, UserProfile, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, CommunityProfilePage, AmityCreateLivestreamPage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent, AmityGlobalStoryTabWrapper, };
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AA2BA,OAAO,kBAAkB,MAAM,mCAAm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zB,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,qCAAqC,EACrC,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,mCAAmC,EACnC,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,yBAAyB,EACzB,sCAAsC,EACtC,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,6BAA6B,EAC7B,oBAAoB,EACpB,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,yBAAyB,EACzB,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,qCAAqC,EACrC,0CAA0C,EAC1C,6CAA6C,EAC7C,4CAA4C,EAC5C,gDAAgD,EAChD,iCAAiC,EACjC,6BAA6B,EAC7B,0BAA0B,GAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/LivestreamPlayer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/LivestreamPlayer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAe3D,QAAA,MAAM,gBAAgB,GAAI;;;CAAqB,sBAwI9C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const isTextPost: (post?: Amity.Post | null) => post is Amity.Post<"text">;
|
|
2
|
-
export declare const isStreamPost: (post?: Amity.Post | null) => post is Amity.Post<"
|
|
2
|
+
export declare const isStreamPost: (post?: Amity.Post | null) => post is Amity.Post<"room">;
|
|
3
3
|
export declare const isFilePost: (post?: Amity.Post | null) => post is Amity.Post<"file">;
|
|
4
4
|
export declare const isImagePost: (post?: Amity.Post | null) => post is Amity.Post<"image">;
|
|
5
5
|
export declare const isVideoPost: (post?: Amity.Post | null) => post is Amity.Post<"video">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postTypeChecker.d.ts","sourceRoot":"","sources":["../../../../src/util/postTypeChecker.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAI3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"postTypeChecker.d.ts","sourceRoot":"","sources":["../../../../src/util/postTypeChecker.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAI3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC"}
|
|
@@ -2,9 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PageID } from '../../../enum';
|
|
3
3
|
import { AmityPostCategory, AmityPostContentComponentStyleEnum } from '../../../enum/AmityPostContentComponentStyle';
|
|
4
4
|
type AmityPostContentComponentProps = {
|
|
5
|
-
post: Amity.Post
|
|
6
|
-
structureType?: string;
|
|
7
|
-
};
|
|
5
|
+
post: Amity.Post;
|
|
8
6
|
pageId?: PageID;
|
|
9
7
|
AmityPostContentComponentStyle?: AmityPostContentComponentStyleEnum;
|
|
10
8
|
isCommunityNameShown?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmityPostContentComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAkB7D,OAAO,EAA0B,MAAM,EAAE,MAAM,eAAe,CAAC;AAK/D,OAAO,EACL,iBAAiB,EACjB,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAStD,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,KAAK,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"AmityPostContentComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAkB7D,OAAO,EAA0B,MAAM,EAAE,MAAM,eAAe,CAAC;AAK/D,OAAO,EACL,iBAAiB,EACjB,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAStD,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B,CAAC,EAAE,kCAAkC,CAAC;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AACF,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;;AA0OD,wBAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,eAAO,MAAM,QAAQ,GAAI,YAAY,UAAU
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,eAAO,MAAM,QAAQ,GAAI,YAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;CAyB9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmityCommunityProfilePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx"],"names":[],"mappings":"AAWA,OAAO,KAON,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AmityCommunityProfilePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx"],"names":[],"mappings":"AAWA,OAAO,KAON,MAAM,OAAO,CAAC;AA0Bf,KAAK,qBAAqB,GAAG;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;;AAkNF,wBAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmityCreateLivestreamPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"AmityCreateLivestreamPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAiExE,iBAAS,yBAAyB,sBAupBjC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoomView.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,UAAU,aAAa;IACrB,uBAAuB,CAAC,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoC5C,CAAC"}
|
|
@@ -16,7 +16,6 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
|
|
|
16
16
|
};
|
|
17
17
|
overlay: {
|
|
18
18
|
flex: number;
|
|
19
|
-
height: "100%";
|
|
20
19
|
top: number;
|
|
21
20
|
bottom: number;
|
|
22
21
|
left: number;
|
|
@@ -154,12 +153,18 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
|
|
|
154
153
|
text: {
|
|
155
154
|
color: string;
|
|
156
155
|
};
|
|
157
|
-
|
|
156
|
+
closeButton: {
|
|
158
157
|
left: number;
|
|
159
158
|
zIndex: number;
|
|
160
159
|
position: "absolute";
|
|
161
160
|
top: number;
|
|
162
161
|
};
|
|
162
|
+
timer: {
|
|
163
|
+
right: number;
|
|
164
|
+
zIndex: number;
|
|
165
|
+
position: "absolute";
|
|
166
|
+
top: number;
|
|
167
|
+
};
|
|
163
168
|
permission: {
|
|
164
169
|
flex: number;
|
|
165
170
|
top: number;
|
|
@@ -187,5 +192,68 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
|
|
|
187
192
|
color: string;
|
|
188
193
|
textAlign: "center";
|
|
189
194
|
};
|
|
195
|
+
containerRoom: {
|
|
196
|
+
flex: number;
|
|
197
|
+
alignItems: "stretch";
|
|
198
|
+
justifyContent: "center";
|
|
199
|
+
padding: number;
|
|
200
|
+
};
|
|
201
|
+
participantView: {
|
|
202
|
+
flex: number;
|
|
203
|
+
margin: number;
|
|
204
|
+
height: number;
|
|
205
|
+
backgroundColor: string;
|
|
206
|
+
};
|
|
207
|
+
roomContainer: {
|
|
208
|
+
flex: number;
|
|
209
|
+
width: "100%";
|
|
210
|
+
height: "100%";
|
|
211
|
+
};
|
|
212
|
+
videoTrack: {
|
|
213
|
+
width: "100%";
|
|
214
|
+
height: "100%";
|
|
215
|
+
};
|
|
216
|
+
countdownOverlay: {
|
|
217
|
+
position: "absolute";
|
|
218
|
+
top: number;
|
|
219
|
+
left: number;
|
|
220
|
+
right: number;
|
|
221
|
+
bottom: number;
|
|
222
|
+
justifyContent: "center";
|
|
223
|
+
alignItems: "center";
|
|
224
|
+
backgroundColor: string;
|
|
225
|
+
zIndex: number;
|
|
226
|
+
};
|
|
227
|
+
countdownContainer: {
|
|
228
|
+
alignItems: "center";
|
|
229
|
+
gap: number;
|
|
230
|
+
};
|
|
231
|
+
countdownCircle: {
|
|
232
|
+
position: "relative";
|
|
233
|
+
alignItems: "center";
|
|
234
|
+
justifyContent: "center";
|
|
235
|
+
width: number;
|
|
236
|
+
height: number;
|
|
237
|
+
};
|
|
238
|
+
countdownNumberContainer: {
|
|
239
|
+
position: "absolute";
|
|
240
|
+
top: number;
|
|
241
|
+
left: number;
|
|
242
|
+
right: number;
|
|
243
|
+
bottom: number;
|
|
244
|
+
alignItems: "center";
|
|
245
|
+
justifyContent: "center";
|
|
246
|
+
};
|
|
247
|
+
countdownNumber: {
|
|
248
|
+
fontSize: number;
|
|
249
|
+
fontWeight: "700";
|
|
250
|
+
color: string;
|
|
251
|
+
};
|
|
252
|
+
countdownText: {
|
|
253
|
+
fontSize: number;
|
|
254
|
+
fontWeight: "500";
|
|
255
|
+
color: string;
|
|
256
|
+
textAlign: "center";
|
|
257
|
+
};
|
|
190
258
|
}>;
|
|
191
259
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAKtD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAKtD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoQrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmityLivestreamPlayerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AmityLivestreamPlayerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAuB3D,iBAAS,yBAAyB,sBA8PjC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAGzE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAGzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/LivestreamContent/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,UAAU,kBAAkB;IAC1B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/LivestreamContent/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;CAClB;;AAmKD,wBAA6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PostContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAoB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACzC;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PostContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAoB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACzC;;AA+UD,wBAAuC"}
|
|
@@ -3,7 +3,12 @@ export declare const getActualImageUrl: (baseUrl: string, imageUrl?: string) =>
|
|
|
3
3
|
export declare const getHtmlEntitiesDecodedText: (text?: string) => string;
|
|
4
4
|
export declare const getContent: (left: string, right: string, type: string) => string;
|
|
5
5
|
export declare const getImageSize: (url: string) => Promise<Size>;
|
|
6
|
-
export declare const getPreviewData: (text: string
|
|
6
|
+
export declare const getPreviewData: (text: string) => Promise<PreviewData | {
|
|
7
|
+
description: any;
|
|
8
|
+
image: any;
|
|
9
|
+
link: string;
|
|
10
|
+
title: any;
|
|
11
|
+
}>;
|
|
7
12
|
export declare const getPreviewDataImage: (url?: string) => Promise<PreviewDataImage>;
|
|
8
13
|
export declare const oneOf: <T extends (...args: A) => any, U, A extends any[]>(truthy: T | undefined, falsy: U) => (...args: Parameters<T>) => ReturnType<T> | U;
|
|
9
14
|
export declare const REGEX_EMAIL: RegExp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PreviewLink/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PreviewLink/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG9D,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,EAAE,WAAW,MAAM,WAkBnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,OAAO,MAAM,WAKvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,EAAE,MAAM,MAAM,WAOnE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,kBAWvC,CAAC;AAIF,eAAO,MAAM,cAAc,GAAU,MAAM,MAAM;;;;;EAkChD,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAU,MAAM,MAAM,8BAgBrD,CAAC;AAEF,eAAO,MAAM,KAAK,GACf,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,EAAE,EAChD,QAAQ,CAAC,GAAG,SAAS,EACrB,OAAO,CAAC,MAET,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,KAAG,UAAU,CAAC,CAAC,CAAC,GAAG,CAEzC,CAAC;AAEJ,eAAO,MAAM,WAAW,QAC+B,CAAC;AACxD,eAAO,MAAM,wBAAwB,QAAc,CAAC;AAEpD,eAAO,MAAM,eAAe,QAAsC,CAAC;AACnE,eAAO,MAAM,UAAU,QACsE,CAAC;AAE9F,eAAO,MAAM,UAAU,QAC+C,CAAC;AACvE,eAAO,MAAM,WAAW,QAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/Toast/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAG3E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/Toast/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAG3E,eAAO,MAAM,SAAS,GAAI,iBAAgB,MAAW;;;;;;;;;;;;;;;;;;;;;;CA6BpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roomStatus.d.ts","sourceRoot":"","sources":["../../../../../src/v4/enum/roomStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;UACL,KAAK,CAAC,UAAU;UAChB,KAAK,CAAC,UAAU;cACR,KAAK,CAAC,UAAU;WACtB,KAAK,CAAC,UAAU;uBACQ,KAAK,CAAC,UAAU;CAC3D,CAAC"}
|
|
@@ -30,4 +30,6 @@ export * from './usePendingPostQuery';
|
|
|
30
30
|
export * from './useMembersQuery';
|
|
31
31
|
export * from './useRolesQuery';
|
|
32
32
|
export * from './useFlagUserQuery';
|
|
33
|
+
export * from './usePostSubscription';
|
|
34
|
+
export * from './useRoomSubscription';
|
|
33
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uDAAuD,CAAC;AACtE,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uDAAuD,CAAC;AACtE,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -31,6 +31,9 @@ export declare const usePendingPostQuery: () => {
|
|
|
31
31
|
reactions: Record<string, number>;
|
|
32
32
|
myReactions?: string[];
|
|
33
33
|
hashtags?: string[];
|
|
34
|
+
structureType: Amity.PostStructureType;
|
|
35
|
+
eventId?: string;
|
|
36
|
+
links?: Amity.Link[];
|
|
34
37
|
} & Amity.Content<any> & Amity.Mentionable<"user"> & {
|
|
35
38
|
feedType?: "reviewing" | "published";
|
|
36
39
|
} & Amity.PostLinkObject, Error, string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePendingPostQuery.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/usePendingPostQuery.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"usePendingPostQuery.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/usePendingPostQuery.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePostSubscription.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/usePostSubscription.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM;;CA0BjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRoomSubscription.d.ts","sourceRoot":"","sources":["../../../../../src/v4/hook/useRoomSubscription.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB,GAAI,UAAU;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,IAAI,CAAA;CAAE,QAYzE,CAAC"}
|