@funhub/platform 0.2.5 → 0.2.6
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/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -1
- package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -1
- package/dist/components/common/video-player/index.d.mts +2 -1
- package/dist/components/common/video-player/video-blind-ad-overlay.mjs +2 -0
- package/dist/components/common/video-player/video-player-ref-context.mjs +2 -0
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/components/ui/input-group.d.mts +1 -1
- package/dist/components/ui/item.d.mts +1 -1
- package/dist/hooks/use-is-client.d.mts +10 -0
- package/dist/hooks/use-is-client.mjs +2 -0
- package/dist/hooks.d.mts +2 -1
- package/dist/hooks.mjs +1 -1
- package/dist/service/generated/client.d.mts +46 -2
- package/dist/service/generated/client.mjs +1 -1
- package/dist/service/generated/tanstack.d.mts +57 -2
- package/dist/service/generated/tanstack.mjs +1 -1
- package/dist/service.d.mts +3 -3
- package/dist/service.mjs +1 -1
- package/dist/store/modules/blind-spot-ad-store.d.mts +116 -0
- package/dist/store/modules/blind-spot-ad-store.mjs +2 -0
- package/dist/store/modules/video-player-ref-store.d.mts +21 -0
- package/dist/store/modules/video-player-ref-store.mjs +2 -0
- package/dist/store.d.mts +3 -1
- package/dist/store.mjs +1 -1
- package/dist/types.d.mts +800 -9
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import{gContentGetVideoDetail as e}from"../../../../../service/generated/client.mjs";import{useRouter as t}from"../../../../../utils/use-compatible-router.mjs";import{buildVideoPlayerSrc as n}from"../../../../common/video-player/process-m3u8-cache.mjs";import{notifyBridgeEpisodeChanged as r}from"../../../../../utils/login-modal-bridge.mjs";import{useRequest as i}from"../../../../../hooks/query/use-query.mjs";import{useKeepAliveState as a}from"../../../../common/keep-scroll-position/index.mjs";import{createContext as o,use as s,useCallback as c,useEffect as l,useMemo as u}from"react";import{jsx as d}from"react/jsx-runtime";import{useParams as f}from"next/navigation";const p=o(void 0),m=`funhub:video-detail-episode-sync`;function h(e,t){let n=String(e||``).split(`/`).filter(Boolean),r=n.findIndex(e=>e===`video`||e===`webview`);return r<0?!1:n[r+1]===t}function g(e){let t=Math.floor(Number(e)||1);return t>0?t:1}function _(e){typeof window>`u`||window.dispatchEvent(new CustomEvent(m,{detail:e}))}function v(e){return e.type===m&&e instanceof CustomEvent}function y(e,t){if(!(!e&&!t))return{information:e?.information??t?.information,currentSeriesNum:e?.currentSeriesNum??t?.currentSeriesNum,onEpisodeChange:e?.onEpisodeChange??t?.onEpisodeChange,onUpdateInformation:e?.onUpdateInformation??t?.onUpdateInformation,detailId:e?.detailId??t?.detailId,episodeIndex:e?.episodeIndex??t?.episodeIndex,resumeProgressSeconds:e?.resumeProgressSeconds??t?.resumeProgressSeconds,isShow:e?.isShow??t?.isShow,isWebView:e?.isWebView??t?.isWebView,isInformationLoading:e?.isInformationLoading??t?.isInformationLoading,isInformationResolved:e?.isInformationResolved??t?.isInformationResolved}}function b({value:e,children:t}){let n=s(p);return d(p,{value:u(()=>y(n,e)??e,[n,e]),children:t})}function x(){let e=s(p),t=e!==void 0&&e.onEpisodeChange===void 0,n=S({enabled:e===void 0||e.onEpisodeChange===void 0||e.detailId===void 0||e.currentSeriesNum===void 0||e.episodeIndex===void 0||e.isInformationLoading===void 0||e.isInformationResolved===void 0,shouldRequestInformation:t||!e?.information});return u(()=>{let r=y(e,n);return r&&(e&&n&&t?{...r,information:n.information??r.information,currentSeriesNum:n.currentSeriesNum??r.currentSeriesNum,episodeIndex:n.episodeIndex??r.episodeIndex,onEpisodeChange:n.onEpisodeChange??r.onEpisodeChange,isInformationLoading:n.isInformationLoading??r.isInformationLoading,isInformationResolved:n.isInformationResolved??r.isInformationResolved}:r)},[e,n,t])}function S(o){let{enabled:s,shouldRequestInformation:d}=o,p=f(),y=t(),b=p.level,x=Array.isArray(b)?b:typeof b==`string`?[b]:[],S=x[0]||``,C=x.findIndex(e=>e===`episode`),w=C>=0?x[C+1]:x[2],T=Math.max(1,Number(w)||1),[E,D]=a(`video-detail-material-series-num-${S}`,T);l(()=>{D(T)},[T,D]),l(()=>{if(!S||typeof window>`u`)return;let e=e=>{if(!v(e))return;let t=e.detail;if(!t||t.detailId!==S)return;let n=g(t.seriesNum);D(e=>e===n?e:n)};return window.addEventListener(m,e),()=>{window.removeEventListener(m,e)}},[S,D]);let O=c(e=>{if(!S)return;let t=g(e);D(t),_({detailId:S,seriesNum:t})},[S,D]),k=Math.max(1,Number(E)||1),A=Math.max(0,k-1),j=x[1]||``,M=typeof window<`u`&&window.isWebView===!0,{data:N,isPending:P,isFetching:F,isError:I,isSuccess:L}=i([`video-detail`,S],async()=>S?await e({id:S}):null,{enabled:s&&d&&!!S}),R=u(()=>{let e=N?.data?.video;if(!(!e||typeof e!=`object`))return{...e,content_type:1,episode_cnt:e.links?.length||0}},[N?.data?.video]),z=c(e=>{let t=Math.max(1,Math.floor(Number(e)||1));if(!S||typeof window>`u`)return;let i=`/${M?`webview`:`video`}/${S}/${encodeURIComponent(j)}/episode/${t}`,{search:a,hash:o,pathname:s}=window.location,c=`${s}${a}${o}`,l=`${i}${a}${o}`,u=h(s,S);if(c!==l){if(M){let e=R?.links?.[Math.max(0,t-1)],i=n(String(e?.m3u8_url||e?.preview_m3u8_url||``).trim());r({poster:String(R?.img_y||R?.img_x||R?.preview_images?.[0]||``).trim(),src:i,title:String(R?.title||R?.name||``).trim(),contentId:S,episode:t}),k!==t&&O(t);return}u&&typeof window.history?.replaceState==`function`?(window.history.replaceState(window.history.state,``,l),O(t)):y.replace(l,{scroll:!1});return}k!==t&&O(t)},[k,S,R?.img_x,R?.img_y,R?.links,R?.name,R?.preview_images,R?.title,M,j,y,O]);if(l(()=>{let e=Array.isArray(R?.links)?R.links.length:0;e<=0||k<=e||z(1)},[k,R?.links,z]),s)return{information:R,currentSeriesNum:k,onEpisodeChange:z,detailId:S,episodeIndex:A,resumeProgressSeconds:0,isShow:!0,isWebView:M,isInformationLoading:d?!!S&&!R&&(P||F):!1,isInformationResolved:!S||!!R||!d||I||L}}export{b as VideoDetailMaterialRuntimeProvider,x as useVideoDetailMaterialRuntimeContext};
|
|
2
|
+
"use client";import{gContentGetVideoDetail as e}from"../../../../../service/generated/client.mjs";import{useRouter as t}from"../../../../../utils/use-compatible-router.mjs";import{buildVideoPlayerSrc as n}from"../../../../common/video-player/process-m3u8-cache.mjs";import{notifyBridgeEpisodeChanged as r}from"../../../../../utils/login-modal-bridge.mjs";import{useRequest as i}from"../../../../../hooks/query/use-query.mjs";import{useKeepAliveState as a}from"../../../../common/keep-scroll-position/index.mjs";import{createContext as o,use as s,useCallback as c,useEffect as l,useMemo as u}from"react";import{jsx as d}from"react/jsx-runtime";import{useParams as f}from"next/navigation";const p=o(void 0),m=`funhub:video-detail-episode-sync`;function h(e,t){let n=String(e||``).split(`/`).filter(Boolean),r=n.findIndex(e=>e===`video`||e===`webview`);return r<0?!1:n[r+1]===t}function g(e){let t=Math.floor(Number(e)||1);return t>0?t:1}function _(e){typeof window>`u`||window.dispatchEvent(new CustomEvent(m,{detail:e}))}function v(e){return e.type===m&&e instanceof CustomEvent}function y(e,t){if(!(!e&&!t))return{information:e?.information??t?.information,currentSeriesNum:e?.currentSeriesNum??t?.currentSeriesNum,onEpisodeChange:e?.onEpisodeChange??t?.onEpisodeChange,onUpdateInformation:e?.onUpdateInformation??t?.onUpdateInformation,detailId:e?.detailId??t?.detailId,episodeIndex:e?.episodeIndex??t?.episodeIndex,resumeProgressSeconds:e?.resumeProgressSeconds??t?.resumeProgressSeconds,isShow:e?.isShow??t?.isShow,isWebView:e?.isWebView??t?.isWebView,isInformationLoading:e?.isInformationLoading??t?.isInformationLoading,isInformationResolved:e?.isInformationResolved??t?.isInformationResolved,playerRef:e?.playerRef??t?.playerRef}}function b({value:e,children:t}){let n=s(p);return d(p,{value:u(()=>y(n,e)??e,[n,e]),children:t})}function x(){let e=s(p),t=e!==void 0&&e.onEpisodeChange===void 0,n=S({enabled:e===void 0||e.onEpisodeChange===void 0||e.detailId===void 0||e.currentSeriesNum===void 0||e.episodeIndex===void 0||e.isInformationLoading===void 0||e.isInformationResolved===void 0,shouldRequestInformation:t||!e?.information});return u(()=>{let r=y(e,n);return r&&(e&&n&&t?{...r,information:n.information??r.information,currentSeriesNum:n.currentSeriesNum??r.currentSeriesNum,episodeIndex:n.episodeIndex??r.episodeIndex,onEpisodeChange:n.onEpisodeChange??r.onEpisodeChange,isInformationLoading:n.isInformationLoading??r.isInformationLoading,isInformationResolved:n.isInformationResolved??r.isInformationResolved}:r)},[e,n,t])}function S(o){let{enabled:s,shouldRequestInformation:d}=o,p=f(),y=t(),b=p.level,x=Array.isArray(b)?b:typeof b==`string`?[b]:[],S=x[0]||``,C=x.findIndex(e=>e===`episode`),w=C>=0?x[C+1]:x[2],T=Math.max(1,Number(w)||1),[E,D]=a(`video-detail-material-series-num-${S}`,T);l(()=>{D(T)},[T,D]),l(()=>{if(!S||typeof window>`u`)return;let e=e=>{if(!v(e))return;let t=e.detail;if(!t||t.detailId!==S)return;let n=g(t.seriesNum);D(e=>e===n?e:n)};return window.addEventListener(m,e),()=>{window.removeEventListener(m,e)}},[S,D]);let O=c(e=>{if(!S)return;let t=g(e);D(t),_({detailId:S,seriesNum:t})},[S,D]),k=Math.max(1,Number(E)||1),A=Math.max(0,k-1),j=x[1]||``,M=typeof window<`u`&&window.isWebView===!0,{data:N,isPending:P,isFetching:F,isError:I,isSuccess:L}=i([`video-detail`,S],async()=>S?await e({id:S}):null,{enabled:s&&d&&!!S}),R=u(()=>{let e=N?.data?.video;if(!(!e||typeof e!=`object`))return{...e,content_type:1,episode_cnt:e.links?.length||0}},[N?.data?.video]),z=c(e=>{let t=Math.max(1,Math.floor(Number(e)||1));if(!S||typeof window>`u`)return;let i=`/${M?`webview`:`video`}/${S}/${encodeURIComponent(j)}/episode/${t}`,{search:a,hash:o,pathname:s}=window.location,c=`${s}${a}${o}`,l=`${i}${a}${o}`,u=h(s,S);if(c!==l){if(M){let e=R?.links?.[Math.max(0,t-1)],i=n(String(e?.m3u8_url||e?.preview_m3u8_url||``).trim());r({poster:String(R?.img_y||R?.img_x||R?.preview_images?.[0]||``).trim(),src:i,title:String(R?.title||R?.name||``).trim(),contentId:S,episode:t}),k!==t&&O(t);return}u&&typeof window.history?.replaceState==`function`?(window.history.replaceState(window.history.state,``,l),O(t)):y.replace(l,{scroll:!1});return}k!==t&&O(t)},[k,S,R?.img_x,R?.img_y,R?.links,R?.name,R?.preview_images,R?.title,M,j,y,O]);if(l(()=>{let e=Array.isArray(R?.links)?R.links.length:0;e<=0||k<=e||z(1)},[k,R?.links,z]),s)return{information:R,currentSeriesNum:k,onEpisodeChange:z,detailId:S,episodeIndex:A,resumeProgressSeconds:0,isShow:!0,isWebView:M,isInformationLoading:d?!!S&&!R&&(P||F):!1,isInformationResolved:!S||!!R||!d||I||L}}export{b as VideoDetailMaterialRuntimeProvider,x as useVideoDetailMaterialRuntimeContext};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import{cn as e}from"../../../../../utils/cn.mjs";import{pxToVw as t}from"../../../../../utils/helper.mjs";import{Image as n}from"../../../../ui/image.mjs";import{Box as r}from"../../../../ui/box.mjs";import{Text as i}from"../../../../ui/text.mjs";import{useBrowseReport as a}from"../../../../../hooks/use-browse-report.mjs";import{MediaPreview as o,useMediaPreview as s}from"../../../../common/media-preview/index.mjs";import c from"../../../../common/video-player/index.mjs";import{UserActivityMediaGrid as l}from"../../../../common/list/user-activity-list/user-activity-list-item.mjs";import{memo as
|
|
2
|
+
"use client";import{cn as e}from"../../../../../utils/cn.mjs";import{pxToVw as t}from"../../../../../utils/helper.mjs";import{Image as n}from"../../../../ui/image.mjs";import{Box as r}from"../../../../ui/box.mjs";import{Text as i}from"../../../../ui/text.mjs";import{useBrowseReport as a}from"../../../../../hooks/use-browse-report.mjs";import{MediaPreview as o,useMediaPreview as s}from"../../../../common/media-preview/index.mjs";import c from"../../../../common/video-player/index.mjs";import{UserActivityMediaGrid as l}from"../../../../common/list/user-activity-list/user-activity-list-item.mjs";import{VideoPlayerRefContext as u}from"../../../../common/video-player/video-player-ref-context.mjs";import{VideoBlindAdOverlay as d}from"../../../../common/video-player/video-blind-ad-overlay.mjs";import{memo as f,useCallback as p,useEffect as m,useMemo as h,useRef as g}from"react";import{jsx as _,jsxs as v}from"react/jsx-runtime";import{useTranslations as y}from"next-intl";const b=f(({mode:t=`renderer`,information:n,isVideo:a,episodeIndex:c=0,resumeProgressSeconds:u=0,className:d=``})=>{let f=t===`editor`,m=h(()=>({id:n.id,name:n.name,preview_images:n.preview_images,img_y:n.img_y,img_x:n.img_x}),[n.id,n.name,n.preview_images,n.img_y,n.img_x]),g=h(()=>{let e=n?.medias,t=Array.isArray(e)?e.filter(Boolean):[];return t.length>0?t:(m.preview_images?.length?m.preview_images:[m.img_y||m.img_x||``].filter(Boolean)).filter(Boolean).map(e=>({media_url:e,is_video:!1,cover_image:``}))},[m.img_x,m.img_y,m.preview_images,n]),y=s(),b=h(()=>g.filter(Boolean).map(e=>{let t=e?.is_video?`video`:`image`,r=String(e?.media_url||``),i=e?.cover_image||n.img_y||n.img_x;return{src:r,type:t,...i?{cover:String(i)}:{}}}).filter(e=>!!e.src),[n.img_x,n.img_y,g]),S=p(e=>{f||!b.length||y.open(b,e)},[f,y,b]);return f?_(`img`,{src:`/static/components-thumb/video_player.png`,alt:`video-preview`,className:`w-full block`}):a?_(x,{information:n,episodeIndex:c,resumeProgressSeconds:u,isEditor:f}):v(`div`,{className:e(`w-full`,d),children:[v(r,{className:`mt-3 px-[12px] space-y-1`,children:[_(i,{as:`p`,className:`break-all`,dangerouslySetInnerHTML:{__html:n.description}}),_(l,{medias:g,onItemClick:S})]}),_(o,{})]})});b.displayName=`DetailHero`;const x=f(({information:e,episodeIndex:t,resumeProgressSeconds:n,isEditor:r})=>{let i=h(()=>({id:e.id,mid:e.mid,img_width:e.img_width,img_height:e.img_height,img_y:e.img_y,img_x:e.img_x,preview_images:e.preview_images}),[e.id,e.mid,e.img_width,e.img_height,e.img_y,e.img_x,e.preview_images]);return _(S,{information:{...e,...i},episodeIndex:t,resumeProgressSeconds:n,isEditor:r})},(e,t)=>{let n=e.information,r=t.information;return n.id===r.id&&n.mid===r.mid&&n.img_width===r.img_width&&n.img_height===r.img_height&&n.img_y===r.img_y&&n.img_x===r.img_x&&e.resumeProgressSeconds===t.resumeProgressSeconds&&e.episodeIndex===t.episodeIndex&&e.isEditor===t.isEditor});x.displayName=`StableDetailPlayerBox`;function S({information:e,episodeIndex:i,resumeProgressSeconds:o,isEditor:s}){let l=g(null);console.log(`[video-hero] 创建 playerRef:`,{ref:l,current:l.current,infoId:e.id});let f=y(`components.biz.business.detail`),b=g(0),x=g(0),S=Math.max(0,Number(i)||0),E=S+1,D=h(()=>e?.id,[e?.id]),O=h(()=>({id:e.id,mid:e.mid,img_width:e.img_width,img_height:e.img_height,img_y:e.img_y,img_x:e.img_x,preview_images:e.preview_images,links:e.links}),[e.id,e.mid,e.img_width,e.img_height,e.img_y,e.img_x,e.preview_images,e.links]),k=h(()=>O.mid||O.id,[O.id,O.mid]),A=h(()=>{let e=O.links?.[S]?.id;return e?String(e):`ep-${S+1}`},[S,O.links]),j=h(()=>`__reportData_detail_page__${O.id}:${A}`,[A,O.id]),M=h(()=>{if(s||typeof window>`u`)return 0;try{let e=sessionStorage.getItem(j);if(!e)return 0;let t=JSON.parse(e),n=Number(t.currentTime||0),r=Number(t.duration||0);if(!Number.isFinite(n)||!Number.isFinite(r))return 0;if(n>0&&r>0)return n}catch(e){console.error(`读取 sessionStorage 数据失败:`,e)}return 0},[s,j]),N=h(()=>{let e=Number(o||0);return Number.isFinite(e)&&e>0?e:0},[o]),P=h(()=>N>0?N:M,[N,M]),F=h(()=>{let t=T(e),n=t[t.length?Math.max(0,Math.min(S,t.length-1)):0]?.url||``,r=!!t.length;if(!r)return{hasVideo:!1,hlsList:[],videoUrl:``,width:1,height:1,resolution:`0x0`,aspectRatio:1,poster:``};let i=Number(O.img_width||0)||1,a=Number(O.img_height||0)||1;return{hasVideo:r,hlsList:t,videoUrl:n,width:i,height:a,resolution:C(i,a),aspectRatio:(i||1)/(a||1),poster:O.img_y||O.img_x||O.preview_images?.[0]||``}},[e.id,e.links,S,O.img_width,O.img_height,O.img_y,O.img_x,O.preview_images]),I=p((e,t)=>{b.current=e,x.current=t},[]),L=h(()=>F.videoUrl.endsWith(`m3u8`)?{startTimeSeconds:P,preload:`none`}:{startTimeSeconds:P},[P,F.videoUrl]);m(()=>{b.current=0,x.current=0},[D,S]);let R=a({contentId:D,browseEpisode:E,contentType:1,enabled:!s&&!!D,intervalMs:60*1e3,getCurrentTimeSeconds:()=>b.current,getDurationSeconds:()=>x.current});if(m(()=>{if(s)return;let e=()=>{if(!(typeof window>`u`)&&!(b.current<=0||x.current<=0))try{sessionStorage.setItem(j,JSON.stringify({episodeId:A,currentTime:b.current,duration:x.current}))}catch(e){console.error(`写入 sessionStorage 失败:`,e)}},t=()=>{e()},n=()=>{document.visibilityState===`hidden`&&e()},r=()=>{e()};return window.addEventListener(`beforeunload`,t),document.addEventListener(`visibilitychange`,n),window.addEventListener(`popstate`,r),()=>{window.removeEventListener(`beforeunload`,t),document.removeEventListener(`visibilitychange`,n),window.removeEventListener(`popstate`,r),e()}},[A,s,j]),!F.hasVideo)return _(`div`,{className:`mt-3 rounded-xl bg-bg1 px-3 py-10 text-center text-text3`,children:f(`videoHero.noVideos`)});let z=w(430,F.aspectRatio,242),B=z.height>0?t(z.height):`auto`,V=z.height>0?`calc(${B} + 0px)`:`auto`,H=t(242);return v(u,{value:l,children:[_(r,{suppressHydrationWarning:!0,className:`w-full`,style:{height:V,maxWidth:`100%`,maxHeight:`calc(${H} + 0px)`}}),v(r,{className:`w-full relative bg-bg2 !fixed !top-[44px] !left-0 z-[10]`,children:[F.poster&&v(`div`,{className:`w-full h-full bg-bg2 absolute top-0 left-0 z-[1] overflow-hidden`,style:{height:B},children:[_(n,{src:F.poster,alt:f(`videoHero.coverAlt`),fill:!0,className:`object-cover`,priority:!0}),_(`div`,{className:`w-full h-full absolute top-0 left-0 z-[1] bg-[rgba(255,255,255,0.2)] backdrop-blur-[4px]`})]}),v(r,{suppressHydrationWarning:!0,"data-aspect-ratio":F.resolution,className:`w-full overflow-hidden flex justify-center relative z-[2]`,style:{height:B,maxWidth:`100%`,maxHeight:H,backdropFilter:`blur(0)`,WebkitBackdropFilter:`blur(0)`},children:[_(c,{ref:l,plyerId:`detail-player-${O.id}-${S}`,parentId:k,resolution:F.resolution||`0x0`,videoUrl:F.videoUrl,poster:F.poster,mergeConfig:L,onProgressUpdate:s?void 0:I,onPlay:s?void 0:R.handlePlay,onPause:s?void 0:R.handlePause,onEnded:s?void 0:R.handleEnded},`stable-player-${O.id}-${S}`),_(d,{videoId:O.id})]})]})]})}function C(e,t){return!e||!t?``:`${e}x${t}`}function w(e,t,n){let r=e/t;return r<=n?{width:e,height:r}:{width:n*t,height:n}}function T(e){let t=e.links||[];return t.length>0?t.map((e,t)=>({text:e.name||String(t+1),url:e.m3u8_url||e.preview_m3u8_url||``,definition:``,isDefault:t===0})).filter(e=>e.url):[]}export{b as DetailHero};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { Ref } from "react";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { SimplePlayer } from "xgplayer";
|
|
4
5
|
|
|
5
6
|
//#region components/common/video-player/index.d.ts
|
|
6
7
|
interface CommonPlayerProps {
|
|
@@ -37,7 +38,7 @@ interface CommonPlayerRef {
|
|
|
37
38
|
enterFullscreen: () => void;
|
|
38
39
|
isFullscreen: () => boolean;
|
|
39
40
|
isPlayerReady: () => boolean;
|
|
40
|
-
getPlayer: () =>
|
|
41
|
+
getPlayer: () => SimplePlayer;
|
|
41
42
|
}
|
|
42
43
|
declare function CommonPlayer({
|
|
43
44
|
className,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
"use client";import{useUserStore as e}from"../../../store/modules/user-store.mjs";import{pContentMatchAds as t}from"../../../service/generated/client.mjs";import{pContentMatchAdsKey as n}from"../../../service/generated/tanstack.mjs";import{useRequest as r}from"../../../hooks/query/use-query.mjs";import{useVideoPlayerRef as i}from"./video-player-ref-context.mjs";import{useIsClient as a}from"foxact/use-is-client";import{useEffect as o,useRef as s,useState as c}from"react";import{jsx as l}from"react/jsx-runtime";import{create as u}from"zustand";import{createJSONStorage as d,persist as f}from"zustand/middleware";import{createPortal as p}from"react-dom";const m=u()(f((e,t)=>({shownVideoIds:new Set,hasShown:e=>t().shownVideoIds.has(e),markAsShown:n=>{let r=t().shownVideoIds;if(!r.has(n)){let t=new Set(r);t.add(n),e({shownVideoIds:t})}}}),{name:`video-blind-ad-storage`,storage:typeof window<`u`?d(()=>sessionStorage):void 0,partialize:e=>({shownVideoIds:Array.from(e.shownVideoIds)}),merge:(e,t)=>({...t,shownVideoIds:new Set(e.shownVideoIds||[])})}));function h({videoId:u}){let d=i(),f=a(),h=e(e=>e.userId),{hasShown:g,markAsShown:_}=m(),v=s(0),y=s(null),[b,x]=c(!1),S=s(!1),C={user_id:h,ad_type:`blind`},{data:w,isLoading:T}=r(n(C),()=>t(C)),E=g(u);o(()=>{let e=d?.current?.getPlayer();if(!e||!w||E)return;let t=w.data?.settings?.trigger_video_progress_min??0;function n(r){if(S.current){e?.off(`timeupdate`,n);return}let i=r?.currentTime;if(y.current!==null){let e=i-y.current;e>0&&e<2&&(v.current+=e,!S.current&&v.current/60>=t&&(S.current=!0,x(!0)))}y.current=i}return e.on(`timeupdate`,n),()=>{e.off(`timeupdate`,n)}},[d,w,E]);let D=!E&&b;o(()=>{if(D)return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=``}},[D]);function O(){E||(_(u),window.open(w?.data.materials?.[0].advertise_url))}return!f||typeof document>`u`||T||w?.data?.hit===!1||E||!b?null:p(l(`div`,{className:`blind-ad-overlay fixed inset-0 h-screen w-screen z-[99999]`,onClick:O}),document.body)}export{h as VideoBlindAdOverlay};
|
|
@@ -6,7 +6,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
|
|
|
6
6
|
//#region components/ui/badge.d.ts
|
|
7
7
|
/** badgeVariants 工具定义。 */
|
|
8
8
|
declare const badgeVariants: (props?: ({
|
|
9
|
-
variant?: "
|
|
9
|
+
variant?: "default" | "link" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
/** Badge 组件。 */
|
|
12
12
|
declare function Badge({
|
|
@@ -7,8 +7,8 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
|
|
|
7
7
|
//#region components/ui/button.d.ts
|
|
8
8
|
/** buttonVariants 工具定义。 */
|
|
9
9
|
declare const buttonVariants: (props?: ({
|
|
10
|
-
variant?: "
|
|
11
|
-
size?: "default" | "icon" | "
|
|
10
|
+
variant?: "default" | "link" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
11
|
+
size?: "default" | "icon" | "sm" | "xs" | "icon-xs" | "icon-sm" | "lg" | "icon-lg" | null | undefined;
|
|
12
12
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
13
|
/** Button 组件属性。 */
|
|
14
14
|
type ButtonProps = Button.Props & VariantProps<typeof buttonVariants> & {
|
|
@@ -58,7 +58,7 @@ declare function InputGroupAddon({
|
|
|
58
58
|
}: InputGroupAddonProps): react_jsx_runtime0.JSX.Element;
|
|
59
59
|
/** inputGroupButtonVariants 工具定义。 */
|
|
60
60
|
declare const inputGroupButtonVariants: (props?: ({
|
|
61
|
-
size?: "
|
|
61
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
62
62
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
63
63
|
/** InputGroupButton 组件。 */
|
|
64
64
|
declare function InputGroupButton({
|
|
@@ -70,7 +70,7 @@ declare function ItemSeparator({
|
|
|
70
70
|
/** itemVariants 工具定义。 */
|
|
71
71
|
declare const itemVariants: (props?: ({
|
|
72
72
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
73
|
-
size?: "default" | "
|
|
73
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
74
74
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
75
75
|
/** Item 组件。 */
|
|
76
76
|
declare function Item({
|
package/dist/hooks.d.mts
CHANGED
|
@@ -7,10 +7,11 @@ import { UseBrowseReportOptions, useBrowseReport } from "./hooks/use-browse-repo
|
|
|
7
7
|
import { useGridFirstRowHeight, useSingleFirstRowHeight, useWaterfallFirstRowHeight } from "./hooks/use-first-row-height.mjs";
|
|
8
8
|
import { useFollow } from "./hooks/use-follow.mjs";
|
|
9
9
|
import { useFullscreenGestures } from "./hooks/use-fullscreen-gestures.mjs";
|
|
10
|
+
import { useIsClient } from "./hooks/use-is-client.mjs";
|
|
10
11
|
import { useKeyboardOpen } from "./hooks/use-keyboard-open.mjs";
|
|
11
12
|
import { LikeableItem, useLikeDislike } from "./hooks/use-like-dislike.mjs";
|
|
12
13
|
import { useMinDurationLoading } from "./hooks/use-min-duration-loading.mjs";
|
|
13
14
|
import { useSearchHistory } from "./hooks/use-search-history.mjs";
|
|
14
15
|
import { useSticky } from "./hooks/use-sticky.mjs";
|
|
15
16
|
import { useKeepAliveEffect, useKeepAliveState } from "./components/common/keep-scroll-position/index.mjs";
|
|
16
|
-
export { AuthFields, HydrationBoundary, IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE, ImageTextRecommendAnyVideo, LikeableItem, PrefetchInfiniteItem, PrefetchItem, PrefetchQueryItem, UseBrowseReportOptions, buildImageTextRecommendChosenTags, buildImageTextRecommendRemoteMap, buildImageTextRecommendSmartPicked, getImageTextRecommendFixedIds, getImageTextRecommendLayoutTags, resolveImageTextRecommendVideoId, useAuth, useBrowseReport, useCloseLogin, useDeleteRequest, useExpireTime, useFollow, useFullscreenGestures, useGridFirstRowHeight, useIsLoggedIn, useKeepAliveEffect, useKeepAliveState, useKeyboardOpen, useLikeDislike, useLoginModalOpen, useLogout, useMinDurationLoading, useMutation, useOpenLogin, useOpenLoginAsync, useOpenResetPassword, usePaginated, usePrefetchQuery, useRefetchQuery, useRequest, useRequireLogin, useSearchHistory, useSetAuthFields, useSingleFirstRowHeight, useSticky, useToken, useUpdateRequest, useUserId, useUserInfo, useWaterfallFirstRowHeight };
|
|
17
|
+
export { AuthFields, HydrationBoundary, IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE, ImageTextRecommendAnyVideo, LikeableItem, PrefetchInfiniteItem, PrefetchItem, PrefetchQueryItem, UseBrowseReportOptions, buildImageTextRecommendChosenTags, buildImageTextRecommendRemoteMap, buildImageTextRecommendSmartPicked, getImageTextRecommendFixedIds, getImageTextRecommendLayoutTags, resolveImageTextRecommendVideoId, useAuth, useBrowseReport, useCloseLogin, useDeleteRequest, useExpireTime, useFollow, useFullscreenGestures, useGridFirstRowHeight, useIsClient, useIsLoggedIn, useKeepAliveEffect, useKeepAliveState, useKeyboardOpen, useLikeDislike, useLoginModalOpen, useLogout, useMinDurationLoading, useMutation, useOpenLogin, useOpenLoginAsync, useOpenResetPassword, usePaginated, usePrefetchQuery, useRefetchQuery, useRequest, useRequireLogin, useSearchHistory, useSetAuthFields, useSingleFirstRowHeight, useSticky, useToken, useUpdateRequest, useUserId, useUserInfo, useWaterfallFirstRowHeight };
|
package/dist/hooks.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE as e,buildImageTextRecommendChosenTags as t,buildImageTextRecommendRemoteMap as n,buildImageTextRecommendSmartPicked as r,getImageTextRecommendFixedIds as i,getImageTextRecommendLayoutTags as a,resolveImageTextRecommendVideoId as o}from"./hooks/image-text-recommend.mjs";import{HydrationBoundary as s}from"./hooks/query/hydration-boundary.mjs";import{useDeleteRequest as c,useMutation as l,usePaginated as u,usePrefetchQuery as d,useRefetchQuery as f,useRequest as p,useUpdateRequest as m}from"./hooks/query/use-query.mjs";import{useAuth as h,useCloseLogin as g,useExpireTime as _,useIsLoggedIn as v,useLoginModalOpen as y,useLogout as b,useOpenLogin as x,useOpenLoginAsync as S,useOpenResetPassword as C,useRequireLogin as w,useSetAuthFields as T,useToken as E,useUserId as D,useUserInfo as O}from"./hooks/use-auth.mjs";import{useBrowseReport as k}from"./hooks/use-browse-report.mjs";import{useGridFirstRowHeight as A,useSingleFirstRowHeight as j,useWaterfallFirstRowHeight as M}from"./hooks/use-first-row-height.mjs";import{useFollow as N}from"./hooks/use-follow.mjs";import{useFullscreenGestures as P}from"./hooks/use-fullscreen-gestures.mjs";import{
|
|
2
|
+
import{IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE as e,buildImageTextRecommendChosenTags as t,buildImageTextRecommendRemoteMap as n,buildImageTextRecommendSmartPicked as r,getImageTextRecommendFixedIds as i,getImageTextRecommendLayoutTags as a,resolveImageTextRecommendVideoId as o}from"./hooks/image-text-recommend.mjs";import{HydrationBoundary as s}from"./hooks/query/hydration-boundary.mjs";import{useDeleteRequest as c,useMutation as l,usePaginated as u,usePrefetchQuery as d,useRefetchQuery as f,useRequest as p,useUpdateRequest as m}from"./hooks/query/use-query.mjs";import{useAuth as h,useCloseLogin as g,useExpireTime as _,useIsLoggedIn as v,useLoginModalOpen as y,useLogout as b,useOpenLogin as x,useOpenLoginAsync as S,useOpenResetPassword as C,useRequireLogin as w,useSetAuthFields as T,useToken as E,useUserId as D,useUserInfo as O}from"./hooks/use-auth.mjs";import{useBrowseReport as k}from"./hooks/use-browse-report.mjs";import{useGridFirstRowHeight as A,useSingleFirstRowHeight as j,useWaterfallFirstRowHeight as M}from"./hooks/use-first-row-height.mjs";import{useFollow as N}from"./hooks/use-follow.mjs";import{useFullscreenGestures as P}from"./hooks/use-fullscreen-gestures.mjs";import{useIsClient as F}from"./hooks/use-is-client.mjs";import{useKeyboardOpen as I}from"./hooks/use-keyboard-open.mjs";import{useLikeDislike as L}from"./hooks/use-like-dislike.mjs";import{useMinDurationLoading as R}from"./hooks/use-min-duration-loading.mjs";import{useSearchHistory as z}from"./hooks/use-search-history.mjs";import{useSticky as B}from"./hooks/use-sticky.mjs";import{useKeepAliveEffect as V,useKeepAliveState as H}from"./components/common/keep-scroll-position/index.mjs";export{s as HydrationBoundary,e as IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE,t as buildImageTextRecommendChosenTags,n as buildImageTextRecommendRemoteMap,r as buildImageTextRecommendSmartPicked,i as getImageTextRecommendFixedIds,a as getImageTextRecommendLayoutTags,o as resolveImageTextRecommendVideoId,h as useAuth,k as useBrowseReport,g as useCloseLogin,c as useDeleteRequest,_ as useExpireTime,N as useFollow,P as useFullscreenGestures,A as useGridFirstRowHeight,F as useIsClient,v as useIsLoggedIn,V as useKeepAliveEffect,H as useKeepAliveState,I as useKeyboardOpen,L as useLikeDislike,y as useLoginModalOpen,b as useLogout,R as useMinDurationLoading,l as useMutation,x as useOpenLogin,S as useOpenLoginAsync,C as useOpenResetPassword,u as usePaginated,d as usePrefetchQuery,f as useRefetchQuery,p as useRequest,w as useRequireLogin,z as useSearchHistory,T as useSetAuthFields,j as useSingleFirstRowHeight,B as useSticky,E as useToken,m as useUpdateRequest,D as useUserId,O as useUserInfo,M as useWaterfallFirstRowHeight};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes } from "../../types.mjs";
|
|
2
|
+
import { GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserGetVisitorPermissionConfigQuery, GetApiUserGetVisitorPermissionConfigRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityBatchDeleteCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetMostPlayedVideoListReqBody, PostApiContentGetMostPlayedVideoListRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiContentMatchAdsReqBody, PostApiContentMatchAdsRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes } from "../../types.mjs";
|
|
3
3
|
import { RequestConfig, ResponseData } from "../../utils/http.mjs";
|
|
4
4
|
|
|
5
5
|
//#region service/generated/client.d.ts
|
|
@@ -104,6 +104,10 @@ declare function pCommunitySearchCurAccountFollowingUsersInfo(data: PostApiCommu
|
|
|
104
104
|
* GetHotContentLis
|
|
105
105
|
*/
|
|
106
106
|
declare function gCommunityGetHotContentList(query?: GetApiCommunityGetHotContentListQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiCommunityGetHotContentListRes>>;
|
|
107
|
+
/**
|
|
108
|
+
* 批量删除合集(不允许删除默认合集)
|
|
109
|
+
*/
|
|
110
|
+
declare function pCommunityBatchDeleteCollection(data: PostApiCommunityBatchDeleteCollectionReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiCommunityBatchDeleteCollectionRes>>;
|
|
107
111
|
/**
|
|
108
112
|
* 通过api搜索
|
|
109
113
|
*/
|
|
@@ -168,6 +172,18 @@ declare function pContentBatchGetVideoDetail(data: PostApiContentBatchGetVideoDe
|
|
|
168
172
|
* 高分视频列表(按score排序,游标分页)
|
|
169
173
|
*/
|
|
170
174
|
declare function pContentGetTopRatedVideoList(data: PostApiContentGetTopRatedVideoListReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentGetTopRatedVideoListRes>>;
|
|
175
|
+
/**
|
|
176
|
+
* 查询SEO配置
|
|
177
|
+
*/
|
|
178
|
+
declare function gContentGetSeoConfig(query?: GetApiContentGetSeoConfigQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiContentGetSeoConfigRes>>;
|
|
179
|
+
/**
|
|
180
|
+
* 广告匹配(不包含信息流广告)
|
|
181
|
+
*/
|
|
182
|
+
declare function pContentMatchAds(data: PostApiContentMatchAdsReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentMatchAdsRes>>;
|
|
183
|
+
/**
|
|
184
|
+
* 最热视频列表(按play_count排序,游标分页)
|
|
185
|
+
*/
|
|
186
|
+
declare function pContentGetMostPlayedVideoList(data: PostApiContentGetMostPlayedVideoListReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentGetMostPlayedVideoListRes>>;
|
|
171
187
|
/**
|
|
172
188
|
* 处理 M3U8 文件。底层调用 gRPC ContentService.ProcessM3u8 方法。返回处理后的 M3U8 文件内容。
|
|
173
189
|
*/
|
|
@@ -344,6 +360,10 @@ declare function gInteractionGetFollowingContentList(query?: GetApiInteractionGe
|
|
|
344
360
|
* 批量埋点上报(异步写入 Kafka)
|
|
345
361
|
*/
|
|
346
362
|
declare function pInteractionTrackEventsBatch(data: PostApiInteractionTrackEventsBatchReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiInteractionTrackEventsBatchRes>>;
|
|
363
|
+
/**
|
|
364
|
+
* 批量删除收藏夹
|
|
365
|
+
*/
|
|
366
|
+
declare function pInteractionBatchDeleteFolders(data: PostApiInteractionBatchDeleteFoldersReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiInteractionBatchDeleteFoldersRes>>;
|
|
347
367
|
/**
|
|
348
368
|
* 获取游客身份
|
|
349
369
|
*/
|
|
@@ -424,5 +444,29 @@ declare function gUserViewUserInfo(query?: GetApiUserViewUserInfoQuery, config?:
|
|
|
424
444
|
* 注册通过验证注册邮箱验证码
|
|
425
445
|
*/
|
|
426
446
|
declare function pUserRegisterByVerifyEmailCode(data: PostApiUserRegisterByVerifyEmailCodeReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiUserRegisterByVerifyEmailCodeRes>>;
|
|
447
|
+
/**
|
|
448
|
+
* 获取访客权限配置
|
|
449
|
+
*/
|
|
450
|
+
declare function gUserGetVisitorPermissionConfig(query?: GetApiUserGetVisitorPermissionConfigQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiUserGetVisitorPermissionConfigRes>>;
|
|
451
|
+
/**
|
|
452
|
+
* 发起支付
|
|
453
|
+
*/
|
|
454
|
+
declare function pCommerceCreatePayment(data: PostApiCommerceCreatePaymentReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiCommerceCreatePaymentRes>>;
|
|
455
|
+
/**
|
|
456
|
+
* 查询订单结果
|
|
457
|
+
*/
|
|
458
|
+
declare function gCommerceQueryOrderResult(query?: GetApiCommerceQueryOrderResultQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiCommerceQueryOrderResultRes>>;
|
|
459
|
+
/**
|
|
460
|
+
* 获取支付方式
|
|
461
|
+
*/
|
|
462
|
+
declare function pCommerceGetPaymentMethods(data: PostApiCommerceGetPaymentMethodsReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiCommerceGetPaymentMethodsRes>>;
|
|
463
|
+
/**
|
|
464
|
+
* 支付成功回调
|
|
465
|
+
*/
|
|
466
|
+
declare function pCommercePaymentSuccessCallback(data: PostApiCommercePaymentSuccessCallbackReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiCommercePaymentSuccessCallbackRes>>;
|
|
467
|
+
/**
|
|
468
|
+
* 退款回调
|
|
469
|
+
*/
|
|
470
|
+
declare function pCommerceRefundCallback(data: PostApiCommerceRefundCallbackReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiCommerceRefundCallbackRes>>;
|
|
427
471
|
//#endregion
|
|
428
|
-
export { gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserViewUserInfo, pCommunityAddContentToCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetNewstVideoList, pContentGetPopularVideoList, pContentGetTopRatedVideoList, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetFollowStats, pInteractionBatchGetLikeStatus, pInteractionBatchQueryContentInteractions, pInteractionBrowse, pInteractionCancelDislike, pInteractionCancelLike, pInteractionCheckCollect, pInteractionCheckFollow, pInteractionClearBrowseHistory, pInteractionCreateFolder, pInteractionDeleteBrowseRecord, pInteractionDeleteFolder, pInteractionDislike, pInteractionDislikeComment, pInteractionFollow, pInteractionLike, pInteractionLikeComment, pInteractionMoveCollects, pInteractionRemoveCollect, pInteractionTrackEventsBatch, pInteractionUnfollow, pInteractionUnifiedBatchLikeDislike, pInteractionUpdateFolder, pInteractionUpdateFollowingContentUpdateTime, pUserEditUserInfo, pUserLogin, pUserRegister, pUserRegisterByVerifyEmailCode, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode };
|
|
472
|
+
export { gCommerceQueryOrderResult, gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetSeoConfig, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserGetVisitorPermissionConfig, gUserViewUserInfo, pCommerceCreatePayment, pCommerceGetPaymentMethods, pCommercePaymentSuccessCallback, pCommerceRefundCallback, pCommunityAddContentToCollection, pCommunityBatchDeleteCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetMostPlayedVideoList, pContentGetNewstVideoList, pContentGetPopularVideoList, pContentGetTopRatedVideoList, pContentMatchAds, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchDeleteFolders, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetFollowStats, pInteractionBatchGetLikeStatus, pInteractionBatchQueryContentInteractions, pInteractionBrowse, pInteractionCancelDislike, pInteractionCancelLike, pInteractionCheckCollect, pInteractionCheckFollow, pInteractionClearBrowseHistory, pInteractionCreateFolder, pInteractionDeleteBrowseRecord, pInteractionDeleteFolder, pInteractionDislike, pInteractionDislikeComment, pInteractionFollow, pInteractionLike, pInteractionLikeComment, pInteractionMoveCollects, pInteractionRemoveCollect, pInteractionTrackEventsBatch, pInteractionUnfollow, pInteractionUnifiedBatchLikeDislike, pInteractionUpdateFolder, pInteractionUpdateFollowingContentUpdateTime, pUserEditUserInfo, pUserLogin, pUserRegister, pUserRegisterByVerifyEmailCode, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import e from"../../utils/http.mjs";async function t(t,n){return e.request({...n??{},url:`/api/community/publishContent`,method:`POST`,data:t})}async function n(t,n){return e.request({...n??{},url:`/api/community/getContentInfo`,method:`GET`,params:t})}async function ee(t,n){return e.request({...n??{},url:`/api/community/getContentList`,method:`GET`,params:t})}async function te(t,n){return e.request({...n??{},url:`/api/community/deleteContent`,method:`POST`,data:t})}async function r(t,n){return e.request({...n??{},url:`/api/community/updateContent`,method:`POST`,data:t})}async function i(t,n){return e.request({...n??{},url:`/api/community/createCollection`,method:`POST`,data:t})}async function a(t,n){return e.request({...n??{},url:`/api/community/getCollectionInfo`,method:`GET`,params:t})}async function o(t,n){return e.request({...n??{},url:`/api/community/getUserCollections`,method:`GET`,params:t})}async function s(t,n){return e.request({...n??{},url:`/api/community/addContentToCollection`,method:`POST`,data:t})}async function c(t,n){return e.request({...n??{},url:`/api/community/deleteCollection`,method:`POST`,data:t})}async function l(t,n){return e.request({...n??{},url:`/api/community/subscribeCollection`,method:`POST`,data:t})}async function u(t,n){return e.request({...n??{},url:`/api/community/getSubscribedCollections`,method:`GET`,params:t})}async function d(t,n){return e.request({...n??{},url:`/api/community/updateCollection`,method:`POST`,data:t})}async function f(t,n){return e.request({...n??{},url:`/api/community/removeContentFromCollection`,method:`POST`,data:t})}async function p(t,n){return e.request({...n??{},url:`/api/community/moveCollectionContent`,method:`POST`,data:t})}async function m(t,n){return e.request({...n??{},url:`/api/community/uploadMedia`,method:`POST`,data:t})}async function h(t,n){return e.request({...n??{},url:`/api/community/getUploadPresignedURL`,method:`POST`,data:t})}async function g(t,n){return e.request({...n??{},url:`/api/community/createComment`,method:`POST`,data:t})}async function _(t,n){return e.request({...n??{},url:`/api/community/getComments`,method:`GET`,params:t})}async function v(t,n){return e.request({...n??{},url:`/api/community/deleteComment`,method:`POST`,data:t})}async function y(t,n){return e.request({...n??{},url:`/api/community/likeComment`,method:`POST`,data:t})}async function b(t,n){return e.request({...n??{},url:`/api/community/dislikeComment`,method:`POST`,data:t})}async function x(t,n){return e.request({...n??{},url:`/api/community/shareContent`,method:`POST`,data:t})}async function S(t,n){return e.request({...n??{},url:`/api/community/searchCurAccountFollowingUsersInfo`,method:`POST`,data:t})}async function C(t,n){return e.request({...n??{},url:`/api/community/getHotContentList`,method:`GET`,params:t})}async function w(t,n){return e.request({...n??{},url:`/api/content/getVideoDetailByApi`,method:`GET`,params:t})}async function T(t,n){return e.request({...n??{},url:`/api/content/getVideoDetail`,method:`GET`,params:t})}async function E(t,n){return e.request({...n??{},url:`/api/content/getRecommendSearchList`,method:`GET`,params:t})}async function D(t,n){return e.request({...n??{},url:`/api/content/getHotVideoList`,method:`GET`,params:t})}async function O(t,n){return e.request({...n??{},url:`/api/content/getRecommendVideoList`,method:`GET`,params:t})}async function k(t,n){return e.request({...n??{},url:`/api/content/getAppChannels`,method:`GET`,params:t})}async function A(t,n){return e.request({...n??{},url:`/api/content/getAppChannelBlock`,method:`GET`,params:t})}async function j(t,n){return e.request({...n??{},url:`/api/content/getAppChannelBlockData`,method:`GET`,params:t})}async function M(t,n){return e.request({...n??{},url:`/api/content/getNewstVideoList`,method:`POST`,data:t})}async function N(t,n){return e.request({...n??{},url:`/api/content/getPopularVideoList`,method:`POST`,data:t})}async function P(t,n){return e.request({...n??{},url:`/api/content/listVisibleFloatingBall`,method:`GET`,params:t})}async function F(t,n){return e.request({...n??{},url:`/api/content/getGuessYouLikeVideos`,method:`GET`,params:t})}async function I(t,n){return e.request({...n??{},url:`/api/content/getAdvertiseByCode`,method:`GET`,params:t})}async function L(t){return e.request({...t??{},url:`/api/content/getAppComponent`,method:`GET`})}async function R(t,n){return e.request({...n??{},url:`/api/content/batchGetVideoDetail`,method:`POST`,data:t})}async function z(t,n){return e.request({...n??{},url:`/api/content/getTopRatedVideoList`,method:`POST`,data:t})}async function B(t,n){return e.request({...n??{},url:`/api/content/processM3u8`,method:`GET`,params:t})}async function V(t,n){return e.request({...n??{},url:`/api/interaction/like`,method:`POST`,data:t})}async function H(t,n){return e.request({...n??{},url:`/api/interaction/dislike`,method:`POST`,data:t})}async function U(t,n){return e.request({...n??{},url:`/api/interaction/cancelLike`,method:`POST`,data:t})}async function W(t,n){return e.request({...n??{},url:`/api/interaction/cancelDislike`,method:`POST`,data:t})}async function G(t,n){return e.request({...n??{},url:`/api/interaction/getLikeList`,method:`GET`,params:t})}async function K(t,n){return e.request({...n??{},url:`/api/interaction/getDislikeList`,method:`GET`,params:t})}async function q(t,n){return e.request({...n??{},url:`/api/interaction/getContentLikeList`,method:`GET`,params:t})}async function J(t,n){return e.request({...n??{},url:`/api/interaction/getContentDislikeList`,method:`GET`,params:t})}async function Y(t,n){return e.request({...n??{},url:`/api/interaction/unifiedBatchLikeDislike`,method:`POST`,data:t})}async function X(t,n){return e.request({...n??{},url:`/api/interaction/likeComment`,method:`POST`,data:t})}async function Z(t,n){return e.request({...n??{},url:`/api/interaction/dislikeComment`,method:`POST`,data:t})}async function Q(t,n){return e.request({...n??{},url:`/api/interaction/batchGetCommentLikeStatus`,method:`POST`,data:t})}async function ne(t,n){return e.request({...n??{},url:`/api/interaction/browse`,method:`POST`,data:t})}async function $(t,n){return e.request({...n??{},url:`/api/interaction/getBrowseList`,method:`GET`,params:t})}async function re(t,n){return e.request({...n??{},url:`/api/interaction/deleteBrowseRecord`,method:`POST`,data:t})}async function ie(t,n){return e.request({...n??{},url:`/api/interaction/clearBrowseHistory`,method:`POST`,data:t})}async function ae(t,n){return e.request({...n??{},url:`/api/interaction/batchClearBrowse`,method:`POST`,data:t})}async function oe(t,n){return e.request({...n??{},url:`/api/interaction/createFolder`,method:`POST`,data:t})}async function se(t,n){return e.request({...n??{},url:`/api/interaction/updateFolder`,method:`POST`,data:t})}async function ce(t,n){return e.request({...n??{},url:`/api/interaction/deleteFolder`,method:`POST`,data:t})}async function le(t,n){return e.request({...n??{},url:`/api/interaction/listFolders`,method:`GET`,params:t})}async function ue(t,n){return e.request({...n??{},url:`/api/interaction/getFolder`,method:`GET`,params:t})}async function de(t,n){return e.request({...n??{},url:`/api/interaction/getFolderStats`,method:`GET`,params:t})}async function fe(t,n){return e.request({...n??{},url:`/api/interaction/addCollect`,method:`POST`,data:t})}async function pe(t,n){return e.request({...n??{},url:`/api/interaction/removeCollect`,method:`POST`,data:t})}async function me(t,n){return e.request({...n??{},url:`/api/interaction/listCollects`,method:`GET`,params:t})}async function he(t,n){return e.request({...n??{},url:`/api/interaction/moveCollects`,method:`POST`,data:t})}async function ge(t,n){return e.request({...n??{},url:`/api/interaction/checkCollect`,method:`POST`,data:t})}async function _e(t,n){return e.request({...n??{},url:`/api/interaction/batchDeleteCollects`,method:`POST`,data:t})}async function ve(t,n){return e.request({...n??{},url:`/api/interaction/batchQueryContentInteractions`,method:`POST`,data:t})}async function ye(t,n){return e.request({...n??{},url:`/api/interaction/batchGetLikeStatus`,method:`POST`,data:t})}async function be(t,n){return e.request({...n??{},url:`/api/interaction/follow`,method:`POST`,data:t})}async function xe(t,n){return e.request({...n??{},url:`/api/interaction/unfollow`,method:`POST`,data:t})}async function Se(t,n){return e.request({...n??{},url:`/api/interaction/checkFollow`,method:`POST`,data:t})}async function Ce(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingList`,method:`GET`,params:t})}async function we(t,n){return e.request({...n??{},url:`/api/interaction/getFollowerList`,method:`GET`,params:t})}async function Te(t,n){return e.request({...n??{},url:`/api/interaction/getFollowStats`,method:`GET`,params:t})}async function Ee(t,n){return e.request({...n??{},url:`/api/interaction/batchGetFollowStats`,method:`POST`,data:t})}async function De(t,n){return e.request({...n??{},url:`/api/interaction/checkMutualFollow`,method:`GET`,params:t})}async function Oe(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingUserUpdates`,method:`GET`,params:t})}async function ke(t,n){return e.request({...n??{},url:`/api/interaction/updateFollowingContentUpdateTime`,method:`POST`,data:t})}async function Ae(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingContentList`,method:`GET`,params:t})}async function je(t,n){return e.request({...n??{},url:`/api/interaction/trackEventsBatch`,method:`POST`,data:t})}async function Me(t,n){return e.request({...n??{},url:`/api/user/getGuestIdentity`,method:`GET`,params:t})}async function Ne(t,n){return e.request({...n??{},url:`/api/user/login`,method:`POST`,data:t})}async function Pe(t,n){return e.request({...n??{},url:`/api/user/sendEmailCode`,method:`POST`,data:t})}async function Fe(t,n){return e.request({...n??{},url:`/api/user/verifyEmailCode`,method:`POST`,data:t})}async function Ie(t,n){return e.request({...n??{},url:`/api/user/register`,method:`POST`,data:t})}async function Le(t,n){return e.request({...n??{},url:`/api/user/resetPassword`,method:`POST`,data:t})}async function Re(t,n){return e.request({...n??{},url:`/api/user/sendResetPasswordEmailCode`,method:`POST`,data:t})}async function ze(t,n){return e.request({...n??{},url:`/api/user/verifyResetPasswordEmailCode`,method:`POST`,data:t})}async function Be(t,n){return e.request({...n??{},url:`/api/user/resetForgetPassword`,method:`POST`,data:t})}async function Ve(t,n){return e.request({...n??{},url:`/api/user/sendForgetEmailCode`,method:`POST`,data:t})}async function He(t,n){return e.request({...n??{},url:`/api/user/verifyForgetEmailCode`,method:`POST`,data:t})}async function Ue(t,n){return e.request({...n??{},url:`/api/user/getUserInfo`,method:`GET`,params:t})}async function We(t,n){return e.request({...n??{},url:`/api/user/getUserEditInfo`,method:`GET`,params:t})}async function Ge(t,n){return e.request({...n??{},url:`/api/user/editUserInfo`,method:`POST`,data:t})}async function Ke(t,n){return e.request({...n??{},url:`/api/user/userFeedback`,method:`POST`,data:t})}async function qe(t,n){return e.request({...n??{},url:`/api/user/getUserPrivacySettings`,method:`GET`,params:t})}async function Je(t,n){return e.request({...n??{},url:`/api/user/userPrivacySettings`,method:`POST`,data:t})}async function Ye(t,n){return e.request({...n??{},url:`/api/user/uploadUserBgImage`,method:`POST`,data:t})}async function Xe(t,n){return e.request({...n??{},url:`/api/user/viewUserInfo`,method:`GET`,params:t})}async function Ze(t,n){return e.request({...n??{},url:`/api/user/registerByVerifyEmailCode`,method:`POST`,data:t})}export{a as gCommunityGetCollectionInfo,_ as gCommunityGetComments,n as gCommunityGetContentInfo,ee as gCommunityGetContentList,C as gCommunityGetHotContentList,u as gCommunityGetSubscribedCollections,o as gCommunityGetUserCollections,I as gContentGetAdvertiseByCode,A as gContentGetAppChannelBlock,j as gContentGetAppChannelBlockData,k as gContentGetAppChannels,L as gContentGetAppComponent,F as gContentGetGuessYouLikeVideos,D as gContentGetHotVideoList,E as gContentGetRecommendSearchList,O as gContentGetRecommendVideoList,T as gContentGetVideoDetail,w as gContentGetVideoDetailByApi,P as gContentListVisibleFloatingBall,B as gContentProcessM3u8,De as gInteractionCheckMutualFollow,$ as gInteractionGetBrowseList,J as gInteractionGetContentDislikeList,q as gInteractionGetContentLikeList,K as gInteractionGetDislikeList,ue as gInteractionGetFolder,de as gInteractionGetFolderStats,Te as gInteractionGetFollowStats,we as gInteractionGetFollowerList,Ae as gInteractionGetFollowingContentList,Ce as gInteractionGetFollowingList,Oe as gInteractionGetFollowingUserUpdates,G as gInteractionGetLikeList,me as gInteractionListCollects,le as gInteractionListFolders,Me as gUserGetGuestIdentity,We as gUserGetUserEditInfo,Ue as gUserGetUserInfo,qe as gUserGetUserPrivacySettings,Xe as gUserViewUserInfo,s as pCommunityAddContentToCollection,i as pCommunityCreateCollection,g as pCommunityCreateComment,c as pCommunityDeleteCollection,v as pCommunityDeleteComment,te as pCommunityDeleteContent,b as pCommunityDislikeComment,h as pCommunityGetUploadPresignedURL,y as pCommunityLikeComment,p as pCommunityMoveCollectionContent,t as pCommunityPublishContent,f as pCommunityRemoveContentFromCollection,S as pCommunitySearchCurAccountFollowingUsersInfo,x as pCommunityShareContent,l as pCommunitySubscribeCollection,d as pCommunityUpdateCollection,r as pCommunityUpdateContent,m as pCommunityUploadMedia,R as pContentBatchGetVideoDetail,M as pContentGetNewstVideoList,N as pContentGetPopularVideoList,z as pContentGetTopRatedVideoList,fe as pInteractionAddCollect,ae as pInteractionBatchClearBrowse,_e as pInteractionBatchDeleteCollects,Q as pInteractionBatchGetCommentLikeStatus,Ee as pInteractionBatchGetFollowStats,ye as pInteractionBatchGetLikeStatus,ve as pInteractionBatchQueryContentInteractions,ne as pInteractionBrowse,W as pInteractionCancelDislike,U as pInteractionCancelLike,ge as pInteractionCheckCollect,Se as pInteractionCheckFollow,ie as pInteractionClearBrowseHistory,oe as pInteractionCreateFolder,re as pInteractionDeleteBrowseRecord,ce as pInteractionDeleteFolder,H as pInteractionDislike,Z as pInteractionDislikeComment,be as pInteractionFollow,V as pInteractionLike,X as pInteractionLikeComment,he as pInteractionMoveCollects,pe as pInteractionRemoveCollect,je as pInteractionTrackEventsBatch,xe as pInteractionUnfollow,Y as pInteractionUnifiedBatchLikeDislike,se as pInteractionUpdateFolder,ke as pInteractionUpdateFollowingContentUpdateTime,Ge as pUserEditUserInfo,Ne as pUserLogin,Ie as pUserRegister,Ze as pUserRegisterByVerifyEmailCode,Be as pUserResetForgetPassword,Le as pUserResetPassword,Pe as pUserSendEmailCode,Ve as pUserSendForgetEmailCode,Re as pUserSendResetPasswordEmailCode,Ye as pUserUploadUserBgImage,Ke as pUserUserFeedback,Je as pUserUserPrivacySettings,Fe as pUserVerifyEmailCode,He as pUserVerifyForgetEmailCode,ze as pUserVerifyResetPasswordEmailCode};
|
|
2
|
+
import e from"../../utils/http.mjs";async function t(t,n){return e.request({...n??{},url:`/api/community/publishContent`,method:`POST`,data:t})}async function n(t,n){return e.request({...n??{},url:`/api/community/getContentInfo`,method:`GET`,params:t})}async function ee(t,n){return e.request({...n??{},url:`/api/community/getContentList`,method:`GET`,params:t})}async function te(t,n){return e.request({...n??{},url:`/api/community/deleteContent`,method:`POST`,data:t})}async function r(t,n){return e.request({...n??{},url:`/api/community/updateContent`,method:`POST`,data:t})}async function i(t,n){return e.request({...n??{},url:`/api/community/createCollection`,method:`POST`,data:t})}async function a(t,n){return e.request({...n??{},url:`/api/community/getCollectionInfo`,method:`GET`,params:t})}async function o(t,n){return e.request({...n??{},url:`/api/community/getUserCollections`,method:`GET`,params:t})}async function s(t,n){return e.request({...n??{},url:`/api/community/addContentToCollection`,method:`POST`,data:t})}async function c(t,n){return e.request({...n??{},url:`/api/community/deleteCollection`,method:`POST`,data:t})}async function l(t,n){return e.request({...n??{},url:`/api/community/subscribeCollection`,method:`POST`,data:t})}async function u(t,n){return e.request({...n??{},url:`/api/community/getSubscribedCollections`,method:`GET`,params:t})}async function d(t,n){return e.request({...n??{},url:`/api/community/updateCollection`,method:`POST`,data:t})}async function f(t,n){return e.request({...n??{},url:`/api/community/removeContentFromCollection`,method:`POST`,data:t})}async function p(t,n){return e.request({...n??{},url:`/api/community/moveCollectionContent`,method:`POST`,data:t})}async function m(t,n){return e.request({...n??{},url:`/api/community/uploadMedia`,method:`POST`,data:t})}async function h(t,n){return e.request({...n??{},url:`/api/community/getUploadPresignedURL`,method:`POST`,data:t})}async function g(t,n){return e.request({...n??{},url:`/api/community/createComment`,method:`POST`,data:t})}async function _(t,n){return e.request({...n??{},url:`/api/community/getComments`,method:`GET`,params:t})}async function v(t,n){return e.request({...n??{},url:`/api/community/deleteComment`,method:`POST`,data:t})}async function y(t,n){return e.request({...n??{},url:`/api/community/likeComment`,method:`POST`,data:t})}async function b(t,n){return e.request({...n??{},url:`/api/community/dislikeComment`,method:`POST`,data:t})}async function x(t,n){return e.request({...n??{},url:`/api/community/shareContent`,method:`POST`,data:t})}async function S(t,n){return e.request({...n??{},url:`/api/community/searchCurAccountFollowingUsersInfo`,method:`POST`,data:t})}async function C(t,n){return e.request({...n??{},url:`/api/community/getHotContentList`,method:`GET`,params:t})}async function w(t,n){return e.request({...n??{},url:`/api/community/batchDeleteCollection`,method:`POST`,data:t})}async function T(t,n){return e.request({...n??{},url:`/api/content/getVideoDetailByApi`,method:`GET`,params:t})}async function E(t,n){return e.request({...n??{},url:`/api/content/getVideoDetail`,method:`GET`,params:t})}async function D(t,n){return e.request({...n??{},url:`/api/content/getRecommendSearchList`,method:`GET`,params:t})}async function O(t,n){return e.request({...n??{},url:`/api/content/getHotVideoList`,method:`GET`,params:t})}async function k(t,n){return e.request({...n??{},url:`/api/content/getRecommendVideoList`,method:`GET`,params:t})}async function A(t,n){return e.request({...n??{},url:`/api/content/getAppChannels`,method:`GET`,params:t})}async function j(t,n){return e.request({...n??{},url:`/api/content/getAppChannelBlock`,method:`GET`,params:t})}async function M(t,n){return e.request({...n??{},url:`/api/content/getAppChannelBlockData`,method:`GET`,params:t})}async function N(t,n){return e.request({...n??{},url:`/api/content/getNewstVideoList`,method:`POST`,data:t})}async function P(t,n){return e.request({...n??{},url:`/api/content/getPopularVideoList`,method:`POST`,data:t})}async function F(t,n){return e.request({...n??{},url:`/api/content/listVisibleFloatingBall`,method:`GET`,params:t})}async function I(t,n){return e.request({...n??{},url:`/api/content/getGuessYouLikeVideos`,method:`GET`,params:t})}async function L(t,n){return e.request({...n??{},url:`/api/content/getAdvertiseByCode`,method:`GET`,params:t})}async function R(t){return e.request({...t??{},url:`/api/content/getAppComponent`,method:`GET`})}async function z(t,n){return e.request({...n??{},url:`/api/content/batchGetVideoDetail`,method:`POST`,data:t})}async function B(t,n){return e.request({...n??{},url:`/api/content/getTopRatedVideoList`,method:`POST`,data:t})}async function V(t,n){return e.request({...n??{},url:`/api/content/getSeoConfig`,method:`GET`,params:t})}async function H(t,n){return e.request({...n??{},url:`/api/content/matchAds`,method:`POST`,data:t})}async function U(t,n){return e.request({...n??{},url:`/api/content/getMostPlayedVideoList`,method:`POST`,data:t})}async function W(t,n){return e.request({...n??{},url:`/api/content/processM3u8`,method:`GET`,params:t})}async function G(t,n){return e.request({...n??{},url:`/api/interaction/like`,method:`POST`,data:t})}async function K(t,n){return e.request({...n??{},url:`/api/interaction/dislike`,method:`POST`,data:t})}async function q(t,n){return e.request({...n??{},url:`/api/interaction/cancelLike`,method:`POST`,data:t})}async function J(t,n){return e.request({...n??{},url:`/api/interaction/cancelDislike`,method:`POST`,data:t})}async function Y(t,n){return e.request({...n??{},url:`/api/interaction/getLikeList`,method:`GET`,params:t})}async function X(t,n){return e.request({...n??{},url:`/api/interaction/getDislikeList`,method:`GET`,params:t})}async function Z(t,n){return e.request({...n??{},url:`/api/interaction/getContentLikeList`,method:`GET`,params:t})}async function Q(t,n){return e.request({...n??{},url:`/api/interaction/getContentDislikeList`,method:`GET`,params:t})}async function ne(t,n){return e.request({...n??{},url:`/api/interaction/unifiedBatchLikeDislike`,method:`POST`,data:t})}async function re(t,n){return e.request({...n??{},url:`/api/interaction/likeComment`,method:`POST`,data:t})}async function ie(t,n){return e.request({...n??{},url:`/api/interaction/dislikeComment`,method:`POST`,data:t})}async function ae(t,n){return e.request({...n??{},url:`/api/interaction/batchGetCommentLikeStatus`,method:`POST`,data:t})}async function oe(t,n){return e.request({...n??{},url:`/api/interaction/browse`,method:`POST`,data:t})}async function $(t,n){return e.request({...n??{},url:`/api/interaction/getBrowseList`,method:`GET`,params:t})}async function se(t,n){return e.request({...n??{},url:`/api/interaction/deleteBrowseRecord`,method:`POST`,data:t})}async function ce(t,n){return e.request({...n??{},url:`/api/interaction/clearBrowseHistory`,method:`POST`,data:t})}async function le(t,n){return e.request({...n??{},url:`/api/interaction/batchClearBrowse`,method:`POST`,data:t})}async function ue(t,n){return e.request({...n??{},url:`/api/interaction/createFolder`,method:`POST`,data:t})}async function de(t,n){return e.request({...n??{},url:`/api/interaction/updateFolder`,method:`POST`,data:t})}async function fe(t,n){return e.request({...n??{},url:`/api/interaction/deleteFolder`,method:`POST`,data:t})}async function pe(t,n){return e.request({...n??{},url:`/api/interaction/listFolders`,method:`GET`,params:t})}async function me(t,n){return e.request({...n??{},url:`/api/interaction/getFolder`,method:`GET`,params:t})}async function he(t,n){return e.request({...n??{},url:`/api/interaction/getFolderStats`,method:`GET`,params:t})}async function ge(t,n){return e.request({...n??{},url:`/api/interaction/addCollect`,method:`POST`,data:t})}async function _e(t,n){return e.request({...n??{},url:`/api/interaction/removeCollect`,method:`POST`,data:t})}async function ve(t,n){return e.request({...n??{},url:`/api/interaction/listCollects`,method:`GET`,params:t})}async function ye(t,n){return e.request({...n??{},url:`/api/interaction/moveCollects`,method:`POST`,data:t})}async function be(t,n){return e.request({...n??{},url:`/api/interaction/checkCollect`,method:`POST`,data:t})}async function xe(t,n){return e.request({...n??{},url:`/api/interaction/batchDeleteCollects`,method:`POST`,data:t})}async function Se(t,n){return e.request({...n??{},url:`/api/interaction/batchQueryContentInteractions`,method:`POST`,data:t})}async function Ce(t,n){return e.request({...n??{},url:`/api/interaction/batchGetLikeStatus`,method:`POST`,data:t})}async function we(t,n){return e.request({...n??{},url:`/api/interaction/follow`,method:`POST`,data:t})}async function Te(t,n){return e.request({...n??{},url:`/api/interaction/unfollow`,method:`POST`,data:t})}async function Ee(t,n){return e.request({...n??{},url:`/api/interaction/checkFollow`,method:`POST`,data:t})}async function De(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingList`,method:`GET`,params:t})}async function Oe(t,n){return e.request({...n??{},url:`/api/interaction/getFollowerList`,method:`GET`,params:t})}async function ke(t,n){return e.request({...n??{},url:`/api/interaction/getFollowStats`,method:`GET`,params:t})}async function Ae(t,n){return e.request({...n??{},url:`/api/interaction/batchGetFollowStats`,method:`POST`,data:t})}async function je(t,n){return e.request({...n??{},url:`/api/interaction/checkMutualFollow`,method:`GET`,params:t})}async function Me(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingUserUpdates`,method:`GET`,params:t})}async function Ne(t,n){return e.request({...n??{},url:`/api/interaction/updateFollowingContentUpdateTime`,method:`POST`,data:t})}async function Pe(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingContentList`,method:`GET`,params:t})}async function Fe(t,n){return e.request({...n??{},url:`/api/interaction/trackEventsBatch`,method:`POST`,data:t})}async function Ie(t,n){return e.request({...n??{},url:`/api/interaction/batchDeleteFolders`,method:`POST`,data:t})}async function Le(t,n){return e.request({...n??{},url:`/api/user/getGuestIdentity`,method:`GET`,params:t})}async function Re(t,n){return e.request({...n??{},url:`/api/user/login`,method:`POST`,data:t})}async function ze(t,n){return e.request({...n??{},url:`/api/user/sendEmailCode`,method:`POST`,data:t})}async function Be(t,n){return e.request({...n??{},url:`/api/user/verifyEmailCode`,method:`POST`,data:t})}async function Ve(t,n){return e.request({...n??{},url:`/api/user/register`,method:`POST`,data:t})}async function He(t,n){return e.request({...n??{},url:`/api/user/resetPassword`,method:`POST`,data:t})}async function Ue(t,n){return e.request({...n??{},url:`/api/user/sendResetPasswordEmailCode`,method:`POST`,data:t})}async function We(t,n){return e.request({...n??{},url:`/api/user/verifyResetPasswordEmailCode`,method:`POST`,data:t})}async function Ge(t,n){return e.request({...n??{},url:`/api/user/resetForgetPassword`,method:`POST`,data:t})}async function Ke(t,n){return e.request({...n??{},url:`/api/user/sendForgetEmailCode`,method:`POST`,data:t})}async function qe(t,n){return e.request({...n??{},url:`/api/user/verifyForgetEmailCode`,method:`POST`,data:t})}async function Je(t,n){return e.request({...n??{},url:`/api/user/getUserInfo`,method:`GET`,params:t})}async function Ye(t,n){return e.request({...n??{},url:`/api/user/getUserEditInfo`,method:`GET`,params:t})}async function Xe(t,n){return e.request({...n??{},url:`/api/user/editUserInfo`,method:`POST`,data:t})}async function Ze(t,n){return e.request({...n??{},url:`/api/user/userFeedback`,method:`POST`,data:t})}async function Qe(t,n){return e.request({...n??{},url:`/api/user/getUserPrivacySettings`,method:`GET`,params:t})}async function $e(t,n){return e.request({...n??{},url:`/api/user/userPrivacySettings`,method:`POST`,data:t})}async function et(t,n){return e.request({...n??{},url:`/api/user/uploadUserBgImage`,method:`POST`,data:t})}async function tt(t,n){return e.request({...n??{},url:`/api/user/viewUserInfo`,method:`GET`,params:t})}async function nt(t,n){return e.request({...n??{},url:`/api/user/registerByVerifyEmailCode`,method:`POST`,data:t})}async function rt(t,n){return e.request({...n??{},url:`/api/user/getVisitorPermissionConfig`,method:`GET`,params:t})}async function it(t,n){return e.request({...n??{},url:`/api/commerce/createPayment`,method:`POST`,data:t})}async function at(t,n){return e.request({...n??{},url:`/api/commerce/queryOrderResult`,method:`GET`,params:t})}async function ot(t,n){return e.request({...n??{},url:`/api/commerce/getPaymentMethods`,method:`POST`,data:t})}async function st(t,n){return e.request({...n??{},url:`/api/commerce/paymentSuccessCallback`,method:`POST`,data:t})}async function ct(t,n){return e.request({...n??{},url:`/api/commerce/refundCallback`,method:`POST`,data:t})}export{at as gCommerceQueryOrderResult,a as gCommunityGetCollectionInfo,_ as gCommunityGetComments,n as gCommunityGetContentInfo,ee as gCommunityGetContentList,C as gCommunityGetHotContentList,u as gCommunityGetSubscribedCollections,o as gCommunityGetUserCollections,L as gContentGetAdvertiseByCode,j as gContentGetAppChannelBlock,M as gContentGetAppChannelBlockData,A as gContentGetAppChannels,R as gContentGetAppComponent,I as gContentGetGuessYouLikeVideos,O as gContentGetHotVideoList,D as gContentGetRecommendSearchList,k as gContentGetRecommendVideoList,V as gContentGetSeoConfig,E as gContentGetVideoDetail,T as gContentGetVideoDetailByApi,F as gContentListVisibleFloatingBall,W as gContentProcessM3u8,je as gInteractionCheckMutualFollow,$ as gInteractionGetBrowseList,Q as gInteractionGetContentDislikeList,Z as gInteractionGetContentLikeList,X as gInteractionGetDislikeList,me as gInteractionGetFolder,he as gInteractionGetFolderStats,ke as gInteractionGetFollowStats,Oe as gInteractionGetFollowerList,Pe as gInteractionGetFollowingContentList,De as gInteractionGetFollowingList,Me as gInteractionGetFollowingUserUpdates,Y as gInteractionGetLikeList,ve as gInteractionListCollects,pe as gInteractionListFolders,Le as gUserGetGuestIdentity,Ye as gUserGetUserEditInfo,Je as gUserGetUserInfo,Qe as gUserGetUserPrivacySettings,rt as gUserGetVisitorPermissionConfig,tt as gUserViewUserInfo,it as pCommerceCreatePayment,ot as pCommerceGetPaymentMethods,st as pCommercePaymentSuccessCallback,ct as pCommerceRefundCallback,s as pCommunityAddContentToCollection,w as pCommunityBatchDeleteCollection,i as pCommunityCreateCollection,g as pCommunityCreateComment,c as pCommunityDeleteCollection,v as pCommunityDeleteComment,te as pCommunityDeleteContent,b as pCommunityDislikeComment,h as pCommunityGetUploadPresignedURL,y as pCommunityLikeComment,p as pCommunityMoveCollectionContent,t as pCommunityPublishContent,f as pCommunityRemoveContentFromCollection,S as pCommunitySearchCurAccountFollowingUsersInfo,x as pCommunityShareContent,l as pCommunitySubscribeCollection,d as pCommunityUpdateCollection,r as pCommunityUpdateContent,m as pCommunityUploadMedia,z as pContentBatchGetVideoDetail,U as pContentGetMostPlayedVideoList,N as pContentGetNewstVideoList,P as pContentGetPopularVideoList,B as pContentGetTopRatedVideoList,H as pContentMatchAds,ge as pInteractionAddCollect,le as pInteractionBatchClearBrowse,xe as pInteractionBatchDeleteCollects,Ie as pInteractionBatchDeleteFolders,ae as pInteractionBatchGetCommentLikeStatus,Ae as pInteractionBatchGetFollowStats,Ce as pInteractionBatchGetLikeStatus,Se as pInteractionBatchQueryContentInteractions,oe as pInteractionBrowse,J as pInteractionCancelDislike,q as pInteractionCancelLike,be as pInteractionCheckCollect,Ee as pInteractionCheckFollow,ce as pInteractionClearBrowseHistory,ue as pInteractionCreateFolder,se as pInteractionDeleteBrowseRecord,fe as pInteractionDeleteFolder,K as pInteractionDislike,ie as pInteractionDislikeComment,we as pInteractionFollow,G as pInteractionLike,re as pInteractionLikeComment,ye as pInteractionMoveCollects,_e as pInteractionRemoveCollect,Fe as pInteractionTrackEventsBatch,Te as pInteractionUnfollow,ne as pInteractionUnifiedBatchLikeDislike,de as pInteractionUpdateFolder,Ne as pInteractionUpdateFollowingContentUpdateTime,Xe as pUserEditUserInfo,Re as pUserLogin,Ve as pUserRegister,nt as pUserRegisterByVerifyEmailCode,Ge as pUserResetForgetPassword,He as pUserResetPassword,ze as pUserSendEmailCode,Ke as pUserSendForgetEmailCode,Ue as pUserSendResetPasswordEmailCode,et as pUserUploadUserBgImage,Ze as pUserUserFeedback,$e as pUserUserPrivacySettings,Be as pUserVerifyEmailCode,qe as pUserVerifyForgetEmailCode,We as pUserVerifyResetPasswordEmailCode};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCommentsQuery, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentListQuery, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetUserCollectionsQuery, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelsQuery, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetHotVideoListQuery, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendVideoListQuery, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailQuery, GetApiContentListVisibleFloatingBallQuery, GetApiContentProcessM3u8Query, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetLikeListQuery, GetApiInteractionListCollectsQuery, GetApiInteractionListFoldersQuery, GetApiUserGetGuestIdentityQuery, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserInfoQuery, GetApiUserGetUserPrivacySettingsQuery, GetApiUserViewUserInfoQuery, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCommentReqBody, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteContentReqBody, PostApiCommunityDislikeCommentReqBody, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityLikeCommentReqBody, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityPublishContentReqBody, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunityShareContentReqBody, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateContentReqBody, PostApiCommunityUploadMediaReqBody, PostApiContentBatchGetVideoDetailReqBody, PostApiContentGetNewstVideoListReqBody, PostApiContentGetPopularVideoListReqBody, PostApiContentGetTopRatedVideoListReqBody, PostApiInteractionAddCollectReqBody, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBrowseReqBody, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelLikeReqBody, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckFollowReqBody, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionCreateFolderReqBody, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeReqBody, PostApiInteractionFollowReqBody, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeReqBody, PostApiInteractionMoveCollectsReqBody, PostApiInteractionRemoveCollectReqBody, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionUnfollowReqBody, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiUserEditUserInfoReqBody, PostApiUserLoginReqBody, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterReqBody, PostApiUserResetForgetPasswordReqBody, PostApiUserResetPasswordReqBody, PostApiUserSendEmailCodeReqBody, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserUploadUserBgImageReqBody, PostApiUserUserFeedbackReqBody, PostApiUserUserPrivacySettingsReqBody, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeReqBody } from "../../types.mjs";
|
|
2
|
+
import { GetApiCommerceQueryOrderResultQuery, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCommentsQuery, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentListQuery, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetUserCollectionsQuery, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelsQuery, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetHotVideoListQuery, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendVideoListQuery, GetApiContentGetSeoConfigQuery, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailQuery, GetApiContentListVisibleFloatingBallQuery, GetApiContentProcessM3u8Query, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetLikeListQuery, GetApiInteractionListCollectsQuery, GetApiInteractionListFoldersQuery, GetApiUserGetGuestIdentityQuery, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserInfoQuery, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetVisitorPermissionConfigQuery, GetApiUserViewUserInfoQuery, PostApiCommerceCreatePaymentReqBody, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommerceRefundCallbackReqBody, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCommentReqBody, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteContentReqBody, PostApiCommunityDislikeCommentReqBody, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityLikeCommentReqBody, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityPublishContentReqBody, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunityShareContentReqBody, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateContentReqBody, PostApiCommunityUploadMediaReqBody, PostApiContentBatchGetVideoDetailReqBody, PostApiContentGetMostPlayedVideoListReqBody, PostApiContentGetNewstVideoListReqBody, PostApiContentGetPopularVideoListReqBody, PostApiContentGetTopRatedVideoListReqBody, PostApiContentMatchAdsReqBody, PostApiInteractionAddCollectReqBody, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBrowseReqBody, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelLikeReqBody, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckFollowReqBody, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionCreateFolderReqBody, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeReqBody, PostApiInteractionFollowReqBody, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeReqBody, PostApiInteractionMoveCollectsReqBody, PostApiInteractionRemoveCollectReqBody, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionUnfollowReqBody, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiUserEditUserInfoReqBody, PostApiUserLoginReqBody, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterReqBody, PostApiUserResetForgetPasswordReqBody, PostApiUserResetPasswordReqBody, PostApiUserSendEmailCodeReqBody, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserUploadUserBgImageReqBody, PostApiUserUserFeedbackReqBody, PostApiUserUserPrivacySettingsReqBody, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeReqBody } from "../../types.mjs";
|
|
3
3
|
import { RequestConfig } from "../../utils/http.mjs";
|
|
4
4
|
|
|
5
5
|
//#region service/generated/tanstack.d.ts
|
|
@@ -149,6 +149,11 @@ declare function pCommunitySearchCurAccountFollowingUsersInfoKey(data: PostApiCo
|
|
|
149
149
|
* @returns TanStack Query Key
|
|
150
150
|
*/
|
|
151
151
|
declare function gCommunityGetHotContentListKey(query?: GetApiCommunityGetHotContentListQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiCommunityGetHotContentListQuery, unknown>];
|
|
152
|
+
/**
|
|
153
|
+
* 批量删除合集(不允许删除默认合集)
|
|
154
|
+
* @returns TanStack Query Key
|
|
155
|
+
*/
|
|
156
|
+
declare function pCommunityBatchDeleteCollectionKey(data: PostApiCommunityBatchDeleteCollectionReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiCommunityBatchDeleteCollectionReqBody>];
|
|
152
157
|
/**
|
|
153
158
|
* 通过api搜索
|
|
154
159
|
* @returns TanStack Query Key
|
|
@@ -229,6 +234,21 @@ declare function pContentBatchGetVideoDetailKey(data: PostApiContentBatchGetVide
|
|
|
229
234
|
* @returns TanStack Query Key
|
|
230
235
|
*/
|
|
231
236
|
declare function pContentGetTopRatedVideoListKey(data: PostApiContentGetTopRatedVideoListReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentGetTopRatedVideoListReqBody>];
|
|
237
|
+
/**
|
|
238
|
+
* 查询SEO配置
|
|
239
|
+
* @returns TanStack Query Key
|
|
240
|
+
*/
|
|
241
|
+
declare function gContentGetSeoConfigKey(query?: GetApiContentGetSeoConfigQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiContentGetSeoConfigQuery, unknown>];
|
|
242
|
+
/**
|
|
243
|
+
* 广告匹配(不包含信息流广告)
|
|
244
|
+
* @returns TanStack Query Key
|
|
245
|
+
*/
|
|
246
|
+
declare function pContentMatchAdsKey(data: PostApiContentMatchAdsReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentMatchAdsReqBody>];
|
|
247
|
+
/**
|
|
248
|
+
* 最热视频列表(按play_count排序,游标分页)
|
|
249
|
+
* @returns TanStack Query Key
|
|
250
|
+
*/
|
|
251
|
+
declare function pContentGetMostPlayedVideoListKey(data: PostApiContentGetMostPlayedVideoListReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentGetMostPlayedVideoListReqBody>];
|
|
232
252
|
/**
|
|
233
253
|
* 处理 M3U8 文件。底层调用 gRPC ContentService.ProcessM3u8 方法。返回处理后的 M3U8 文件内容。
|
|
234
254
|
* @returns TanStack Query Key
|
|
@@ -449,6 +469,11 @@ declare function gInteractionGetFollowingContentListKey(query?: GetApiInteractio
|
|
|
449
469
|
* @returns TanStack Query Key
|
|
450
470
|
*/
|
|
451
471
|
declare function pInteractionTrackEventsBatchKey(data: PostApiInteractionTrackEventsBatchReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiInteractionTrackEventsBatchReqBody>];
|
|
472
|
+
/**
|
|
473
|
+
* 批量删除收藏夹
|
|
474
|
+
* @returns TanStack Query Key
|
|
475
|
+
*/
|
|
476
|
+
declare function pInteractionBatchDeleteFoldersKey(data: PostApiInteractionBatchDeleteFoldersReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiInteractionBatchDeleteFoldersReqBody>];
|
|
452
477
|
/**
|
|
453
478
|
* 获取游客身份
|
|
454
479
|
* @returns TanStack Query Key
|
|
@@ -549,5 +574,35 @@ declare function gUserViewUserInfoKey(query?: GetApiUserViewUserInfoQuery, confi
|
|
|
549
574
|
* @returns TanStack Query Key
|
|
550
575
|
*/
|
|
551
576
|
declare function pUserRegisterByVerifyEmailCodeKey(data: PostApiUserRegisterByVerifyEmailCodeReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiUserRegisterByVerifyEmailCodeReqBody>];
|
|
577
|
+
/**
|
|
578
|
+
* 获取访客权限配置
|
|
579
|
+
* @returns TanStack Query Key
|
|
580
|
+
*/
|
|
581
|
+
declare function gUserGetVisitorPermissionConfigKey(query?: GetApiUserGetVisitorPermissionConfigQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiUserGetVisitorPermissionConfigQuery, unknown>];
|
|
582
|
+
/**
|
|
583
|
+
* 发起支付
|
|
584
|
+
* @returns TanStack Query Key
|
|
585
|
+
*/
|
|
586
|
+
declare function pCommerceCreatePaymentKey(data: PostApiCommerceCreatePaymentReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiCommerceCreatePaymentReqBody>];
|
|
587
|
+
/**
|
|
588
|
+
* 查询订单结果
|
|
589
|
+
* @returns TanStack Query Key
|
|
590
|
+
*/
|
|
591
|
+
declare function gCommerceQueryOrderResultKey(query?: GetApiCommerceQueryOrderResultQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiCommerceQueryOrderResultQuery, unknown>];
|
|
592
|
+
/**
|
|
593
|
+
* 获取支付方式
|
|
594
|
+
* @returns TanStack Query Key
|
|
595
|
+
*/
|
|
596
|
+
declare function pCommerceGetPaymentMethodsKey(data: PostApiCommerceGetPaymentMethodsReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiCommerceGetPaymentMethodsReqBody>];
|
|
597
|
+
/**
|
|
598
|
+
* 支付成功回调
|
|
599
|
+
* @returns TanStack Query Key
|
|
600
|
+
*/
|
|
601
|
+
declare function pCommercePaymentSuccessCallbackKey(data: PostApiCommercePaymentSuccessCallbackReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiCommercePaymentSuccessCallbackReqBody>];
|
|
602
|
+
/**
|
|
603
|
+
* 退款回调
|
|
604
|
+
* @returns TanStack Query Key
|
|
605
|
+
*/
|
|
606
|
+
declare function pCommerceRefundCallbackKey(data: PostApiCommerceRefundCallbackReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiCommerceRefundCallbackReqBody>];
|
|
552
607
|
//#endregion
|
|
553
|
-
export { createQueryKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserViewUserInfoKey, pCommunityAddContentToCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pContentGetTopRatedVideoListKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowseKey, pInteractionCancelDislikeKey, pInteractionCancelLikeKey, pInteractionCheckCollectKey, pInteractionCheckFollowKey, pInteractionClearBrowseHistoryKey, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolderKey, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollowKey, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollectsKey, pInteractionRemoveCollectKey, pInteractionTrackEventsBatchKey, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfoKey, pUserLoginKey, pUserRegisterByVerifyEmailCodeKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey };
|
|
608
|
+
export { createQueryKey, gCommerceQueryOrderResultKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetSeoConfigKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserGetVisitorPermissionConfigKey, gUserViewUserInfoKey, pCommerceCreatePaymentKey, pCommerceGetPaymentMethodsKey, pCommercePaymentSuccessCallbackKey, pCommerceRefundCallbackKey, pCommunityAddContentToCollectionKey, pCommunityBatchDeleteCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetMostPlayedVideoListKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pContentGetTopRatedVideoListKey, pContentMatchAdsKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchDeleteFoldersKey, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowseKey, pInteractionCancelDislikeKey, pInteractionCancelLikeKey, pInteractionCheckCollectKey, pInteractionCheckFollowKey, pInteractionClearBrowseHistoryKey, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolderKey, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollowKey, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollectsKey, pInteractionRemoveCollectKey, pInteractionTrackEventsBatchKey, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfoKey, pUserLoginKey, pUserRegisterByVerifyEmailCodeKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey };
|