@funhub/platform 0.1.153 → 0.1.154
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/banner/variants/basic-banner/inspector-schema.d.mts +5 -4
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/banner/variants/basic-banner/material.d.mts +3 -2
- package/dist/components/biz/business/banner-carousel/material.d.mts +3 -2
- package/dist/components/biz/business/banner-carousel/schema.d.mts +3 -2
- package/dist/components/biz/business/banner-carousel/schema.mjs +1 -1
- package/dist/components/biz/business/channel-list/material.d.mts +3 -2
- package/dist/components/biz/business/channel-list/schema.d.mts +3 -2
- package/dist/components/biz/business/channel-list/schema.mjs +1 -1
- package/dist/components/biz/business/detail/shared/registry.d.mts +17 -14
- package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -1
- package/dist/components/biz/business/detail/shared/use-video-detail-webview-bridge.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info/material.d.mts +3 -2
- package/dist/components/biz/business/detail/video-detail-info/schema.d.mts +3 -2
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info/server.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts +3 -2
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.mts +3 -2
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/client.d.mts +1 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/client.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +11 -10
- package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +11 -10
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/floating-ball/material.d.mts +3 -2
- package/dist/components/biz/business/floating-ball/schema.d.mts +5 -4
- package/dist/components/biz/business/floating-ball/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +3 -2
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +13 -12
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +13 -12
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +11 -10
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +11 -10
- package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/material.d.mts +15 -14
- package/dist/components/biz/business/image-text-recommend/schema.d.mts +15 -14
- package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
- package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
- package/dist/components/biz/business/marquee/material.d.mts +8 -7
- package/dist/components/biz/business/marquee/schema.d.mts +26 -24
- package/dist/components/biz/business/marquee/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +1 -1
- package/dist/components/biz/business/search-history/client.mjs +1 -1
- package/dist/components/biz/business/search-history/material.d.mts +3 -2
- package/dist/components/biz/business/search-history/schema.d.mts +3 -2
- package/dist/components/biz/business/search-history/schema.mjs +1 -1
- package/dist/components/biz/business/search-input/schema.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/material.d.mts +5 -4
- package/dist/components/biz/business/shortcut-grid/schema.d.mts +5 -4
- package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -1
- package/dist/components/biz/business/tab-bar/schema.mjs +1 -1
- package/dist/components/biz/business/text-recommend/material.d.mts +4 -3
- package/dist/components/biz/business/text-recommend/schema.d.mts +4 -3
- package/dist/components/biz/business/text-recommend/schema.mjs +1 -1
- package/dist/components/biz/example/button/material.d.mts +9 -8
- package/dist/components/biz/example/button/schema.d.mts +21 -19
- package/dist/components/biz/example/button/schema.mjs +1 -1
- package/dist/components/common/series-episodes/index.mjs +1 -1
- package/dist/components/common/video-player/process-m3u8-cache.mjs +1 -1
- package/dist/components/pages/collection-add/page.mjs +1 -1
- package/dist/components/pages/collection-create/form.mjs +1 -1
- package/dist/components/pages/collection-detail/detail.mjs +1 -1
- package/dist/components/pages/login/verify.mjs +1 -1
- package/dist/components/pages/video-detail/video-detail-client.mjs +1 -1
- package/dist/components/pages/video-list/video-list-client.mjs +1 -1
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/button.d.mts +1 -1
- package/dist/components/ui/dots-loading.d.mts +25 -0
- package/dist/components/ui/dots-loading.mjs +2 -0
- package/dist/components/ui/image.d.mts +4 -4
- package/dist/hooks/use-first-row-height.d.mts +69 -0
- package/dist/hooks/use-first-row-height.mjs +2 -0
- package/dist/hooks/use-min-duration-loading.d.mts +18 -0
- package/dist/hooks/use-min-duration-loading.mjs +2 -0
- package/dist/hooks.d.mts +3 -1
- package/dist/hooks.mjs +1 -1
- package/dist/service/generated/client.d.mts +12 -4
- package/dist/service/generated/client.mjs +1 -1
- package/dist/service/generated/tanstack.d.mts +14 -4
- package/dist/service/generated/tanstack.mjs +1 -1
- package/dist/service/register-by-verify-email-code.d.mts +2 -2
- package/dist/service/register-by-verify-email-code.mjs +1 -1
- package/dist/service.d.mts +4 -4
- package/dist/service.mjs +1 -1
- package/dist/types.d.mts +548 -57
- package/dist/ui.d.mts +2 -1
- package/dist/ui.mjs +1 -1
- package/dist/utils/device-id.d.mts +14 -0
- package/dist/utils/device-id.mjs +2 -0
- package/dist/utils/http.mjs +1 -1
- package/dist/utils/schema/index.d.mts +1 -1
- package/dist/utils/schema/inspector.d.mts +43 -71
- package/dist/utils/schema/schema.d.mts +59 -53
- package/dist/utils/schema/schema.mjs +1 -1
- package/dist/utils.d.mts +3 -2
- package/dist/utils.mjs +1 -1
- package/package.json +28 -28
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import{Button as e}from"../../ui/button.mjs";import{pContentGetNewstVideoList as t,
|
|
2
|
+
"use client";import{Button as e}from"../../ui/button.mjs";import{pContentGetNewstVideoList as t,pContentGetTopRatedVideoList as n}from"../../../service/generated/client.mjs";import{pContentGetNewstVideoListKey as r,pContentGetTopRatedVideoListKey as i}from"../../../service/generated/tanstack.mjs";import{useRouter as a}from"../../../utils/use-compatible-router.mjs";import{Box as o}from"../../ui/box.mjs";import{InfiniteScroll as s}from"../../ui/infinite-scroll.mjs";import{Text as c}from"../../ui/text.mjs";import{usePaginated as l}from"../../../hooks/query/use-query.mjs";import u from"../../../assets/icons/left_arrow.mjs";import{getNextVideoListPageParam as d,resolveNextCursor as f}from"./types.mjs";import{VideoListItemComponent as p}from"./video-list-item.mjs";import{useMemo as m,useState as h}from"react";import{jsx as g,jsxs as _}from"react/jsx-runtime";import v from"next/link";const y=[];function b({title:b=`列表页`,tags:x=y}){let S=a(),[C,w]=h(`hot`),T=m(()=>({page_size:10,tags:x.length?x:void 0}),[x]),{data:E,fetchNextPage:D,hasNextPage:O,isFetching:k,isFetchingNextPage:A}=l({key:m(()=>C===`hot`?i(T):r(T),[T,C]),queryFn:async e=>{let r={page_size:10,cursor:e||void 0,tags:x.length?x:void 0},i=(C===`hot`?await n(r):await t(r)).data;return{list:i?.videos??[],nextCursor:f(i)}},getNextPageParam:d,initialPageParam:``,options:{staleTime:0,refetchOnMount:`always`,refetchOnWindowFocus:!1,refetchOnReconnect:!1}}),j=m(()=>E?.pages?.flatMap(e=>e.list)??[],[E?.pages]);function M(){S.back()}let N=m(()=>j.map((e,t)=>{let n=e.id??e.mid??``;return g(v,{href:`/video/${n}/${e.name??``}`,children:g(p,{item:e})},n)}),[j]);return _(o,{as:`main`,className:`min-h-[100dvh] bg-bg1`,children:[_(o,{className:`fixed top-0 left-0 right-0 z-20 bg-bg1`,children:[_(o,{as:`header`,className:`flex items-center gap-2 px-4 py-3`,children:[g(u,{className:`w-[16px] h-[16px]`,onClick:M}),g(c,{as:`h1`,className:`flex-1 min-w-0 flex justify-center overflow-hidden text-[18px] pr-[16px]`,children:g(c,{className:`block max-w-full truncate`,children:b})})]}),_(o,{as:`nav`,className:`px-4 pb-2 flex gap-2`,children:[g(e,{type:`button`,onClick:()=>w(`hot`),className:`h-[30px] px-[12px] text-[14px] rounded-[50px] ${C===`hot`?`bg-theme5 text-text1`:`bg-transparent text-text2`}`,children:`最热`}),g(e,{type:`button`,onClick:()=>w(`latest`),className:`h-[30px] px-[12px] text-[14px] rounded-[50px] ${C===`latest`?`bg-theme5 text-text1`:`bg-transparent text-text2`}`,children:`最新`})]})]}),g(s,{loadMore:()=>D().then(()=>void 0),hasMore:O,threshold:300,className:`pt-[88px]`,children:g(o,{className:`grid grid-cols-2 gap-3 p-4`,children:N})})]})}export{b as default};
|
|
@@ -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" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
/** Badge 组件。 */
|
|
12
12
|
declare function Badge({
|
|
@@ -7,7 +7,7 @@ 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?: "
|
|
10
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
11
11
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
12
12
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
13
|
/** Button 组件属性。 */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/ui/dots-loading.d.ts
|
|
6
|
+
/** DotsLoading 组件属性。 */
|
|
7
|
+
interface DotsLoadingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
/**
|
|
9
|
+
* 点的大小(px)。
|
|
10
|
+
* @default 6
|
|
11
|
+
*/
|
|
12
|
+
dotSize?: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* DotsLoading
|
|
16
|
+
*
|
|
17
|
+
* 三个点的 loading 动画,用于列表底部轻量提示。
|
|
18
|
+
*/
|
|
19
|
+
declare function DotsLoading({
|
|
20
|
+
className,
|
|
21
|
+
dotSize,
|
|
22
|
+
...rest
|
|
23
|
+
}: DotsLoadingProps): react_jsx_runtime0.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DotsLoading };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
"use client";import{cn as e}from"../../utils/cn.mjs";import{jsx as t,jsxs as n}from"react/jsx-runtime";function r({className:r,dotSize:i=6,...a}){let o={width:i,height:i};return n(`div`,{className:e(`inline-flex items-center gap-2 text-text2`,r),role:`status`,"aria-label":`Loading`,...a,children:[t(`span`,{className:`inline-block rounded-full bg-current animate-bounce`,style:{...o,animationDelay:`0ms`}}),t(`span`,{className:`inline-block rounded-full bg-current animate-bounce`,style:{...o,animationDelay:`150ms`}}),t(`span`,{className:`inline-block rounded-full bg-current animate-bounce`,style:{...o,animationDelay:`300ms`}})]})}export{r as DotsLoading};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import
|
|
4
|
+
import Image from "next/image";
|
|
5
5
|
|
|
6
6
|
//#region components/ui/image.d.ts
|
|
7
7
|
/** BaseImageProps 属性定义。 */
|
|
8
|
-
type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof
|
|
8
|
+
type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof Image>, 'className' | 'src' | 'alt' | 'width' | 'height' | 'loading' | 'priority' | 'fill' | 'style'>;
|
|
9
9
|
type CommonImageProps = BaseImageProps & {
|
|
10
10
|
/** 图片地址,支持普通 URL、默认资源路径和加密地址。 */src: string; /** 图片替代文本。 */
|
|
11
11
|
alt?: string; /** 图片类名。 */
|
|
@@ -27,6 +27,6 @@ type ImagePropsWithSize = CommonImageProps & {
|
|
|
27
27
|
/** ImageProps 属性定义。 */
|
|
28
28
|
type ImageProps = ImagePropsWithFill | ImagePropsWithSize;
|
|
29
29
|
/** 图片组件:支持 bnc 解密、默认资源域名拼接与错误占位。 */
|
|
30
|
-
declare function Image(props: ImageProps): react_jsx_runtime0.JSX.Element;
|
|
30
|
+
declare function Image$1(props: ImageProps): react_jsx_runtime0.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { BaseImageProps, CommonImageProps, Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
|
|
32
|
+
export { BaseImageProps, CommonImageProps, Image$1 as Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
|
|
2
|
+
import { DependencyList, RefObject } from "react";
|
|
3
|
+
|
|
4
|
+
//#region hooks/use-first-row-height.d.ts
|
|
5
|
+
interface GridFirstRowHeightOptions {
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
containerRef: RefObject<HTMLElement | null>;
|
|
8
|
+
/** 第一行每个 item 的 wrapper ref(索引从 0 开始)。 */
|
|
9
|
+
firstRowItemRef: RefObject<Array<HTMLElement | null>>;
|
|
10
|
+
/** 列数(用于确定第一行 item 数量)。 */
|
|
11
|
+
columns: number;
|
|
12
|
+
/** 列表总数(用于避免 columns > itemsCount 时越界)。 */
|
|
13
|
+
itemsCount: number;
|
|
14
|
+
deps?: DependencyList;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* useGridFirstRowHeight
|
|
18
|
+
*
|
|
19
|
+
* 两列/多列宫格场景:计算“第 1 行”高度(取首行 item wrapper 的最大高度)。
|
|
20
|
+
*/
|
|
21
|
+
declare function useGridFirstRowHeight({
|
|
22
|
+
enabled,
|
|
23
|
+
containerRef,
|
|
24
|
+
firstRowItemRef,
|
|
25
|
+
columns,
|
|
26
|
+
itemsCount,
|
|
27
|
+
deps
|
|
28
|
+
}: GridFirstRowHeightOptions): number;
|
|
29
|
+
interface WaterfallFirstRowHeightOptions {
|
|
30
|
+
enabled?: boolean;
|
|
31
|
+
containerRef: RefObject<HTMLElement | null>;
|
|
32
|
+
/** 左右列首卡的 wrapper ref。 */
|
|
33
|
+
firstRowRef: RefObject<{
|
|
34
|
+
left: HTMLElement | null;
|
|
35
|
+
right: HTMLElement | null;
|
|
36
|
+
}>;
|
|
37
|
+
deps?: DependencyList;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* useWaterfallFirstRowHeight
|
|
41
|
+
*
|
|
42
|
+
* 瀑布流场景:计算“第 1 行”高度(取左右列首卡 wrapper 高度的最大值)。
|
|
43
|
+
*/
|
|
44
|
+
declare function useWaterfallFirstRowHeight({
|
|
45
|
+
enabled,
|
|
46
|
+
containerRef,
|
|
47
|
+
firstRowRef,
|
|
48
|
+
deps
|
|
49
|
+
}: WaterfallFirstRowHeightOptions): number;
|
|
50
|
+
interface SingleFirstRowHeightOptions {
|
|
51
|
+
enabled?: boolean;
|
|
52
|
+
containerRef: RefObject<HTMLElement | null>;
|
|
53
|
+
/** 单个首屏卡片 wrapper ref。 */
|
|
54
|
+
itemRef: RefObject<HTMLElement | null>;
|
|
55
|
+
deps?: DependencyList;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* useSingleFirstRowHeight
|
|
59
|
+
*
|
|
60
|
+
* 单卡场景:计算首卡高度(用于 overlay 定位)。
|
|
61
|
+
*/
|
|
62
|
+
declare function useSingleFirstRowHeight({
|
|
63
|
+
enabled,
|
|
64
|
+
containerRef,
|
|
65
|
+
itemRef,
|
|
66
|
+
deps
|
|
67
|
+
}: SingleFirstRowHeightOptions): number;
|
|
68
|
+
//#endregion
|
|
69
|
+
export { useGridFirstRowHeight, useSingleFirstRowHeight, useWaterfallFirstRowHeight };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
import{useEffect as e,useLayoutEffect as t,useRef as n,useState as r}from"react";function i({enabled:i=!0,containerRef:a,measure:o,deps:s=[]}){let[c,l]=r(0),u=n(null),d=()=>{if(!i){l(0);return}u.current!=null&&cancelAnimationFrame(u.current),u.current=requestAnimationFrame(()=>{u.current=null;let e=o();l(t=>t===e?t:e)})};return t(()=>{d()},[i,...s]),e(()=>{if(!i)return;let e=a.current;if(!e)return;let t=new ResizeObserver(()=>{d()});return t.observe(e),()=>{t.disconnect()}},[i]),e(()=>()=>{u.current!=null&&cancelAnimationFrame(u.current)},[]),c}function a({enabled:e=!0,containerRef:t,firstRowItemRef:n,columns:r,itemsCount:a,deps:o=[]}){return i({enabled:e,containerRef:t,measure:()=>{let e=Math.min(a,Math.max(0,r)),t=0;for(let r=0;r<e;r+=1){let e=n.current[r]?.getBoundingClientRect().height??0;e>t&&(t=e)}return t},deps:[r,a,...o]})}function o({enabled:e=!0,containerRef:t,firstRowRef:n,deps:r=[]}){return i({enabled:e,containerRef:t,measure:()=>{let e=n.current.left?.getBoundingClientRect().height??0,t=n.current.right?.getBoundingClientRect().height??0;return Math.max(e,t)},deps:r})}function s({enabled:e=!0,containerRef:t,itemRef:n,deps:r=[]}){return i({enabled:e,containerRef:t,measure:()=>n.current?.getBoundingClientRect().height??0,deps:r})}export{a as useGridFirstRowHeight,s as useSingleFirstRowHeight,o as useWaterfallFirstRowHeight};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
//#region hooks/use-min-duration-loading.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* useMinDurationLoading
|
|
5
|
+
*
|
|
6
|
+
* 用于控制 loading 的展示时长:当请求很快完成时,保证 loading 至少展示 `minDuration` 毫秒,
|
|
7
|
+
* 避免 UI 闪烁。
|
|
8
|
+
*
|
|
9
|
+
* @param minDuration - 最小展示时长(ms),默认 500
|
|
10
|
+
*/
|
|
11
|
+
declare function useMinDurationLoading(minDuration?: number): {
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
show: () => void;
|
|
14
|
+
hide: () => void;
|
|
15
|
+
cancel: () => void;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { useMinDurationLoading };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
import{useCallback as e,useEffect as t,useRef as n,useState as r}from"react";function i(i=500){let[a,o]=r(!1),s=n(!1),c=n(0),l=n(null),u=e(()=>{l.current&&=(clearTimeout(l.current),null),s.current=!1,o(!1)},[]),d=e(()=>{l.current&&=(clearTimeout(l.current),null),c.current=Date.now(),s.current=!0,o(!0)},[]),f=e(()=>{if(!s.current)return;let e=i-(Date.now()-(c.current||Date.now()));if(e<=0){s.current=!1,o(!1);return}l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{l.current=null,s.current=!1,o(!1)},e)},[i]);return t(()=>()=>{u()},[u]),{isLoading:a,show:d,hide:f,cancel:u}}export{i as useMinDurationLoading};
|
package/dist/hooks.d.mts
CHANGED
|
@@ -4,11 +4,13 @@ import { HydrationBoundary, PrefetchInfiniteItem, PrefetchItem, PrefetchQueryIte
|
|
|
4
4
|
import { useDeleteRequest, useMutation, usePaginated, usePrefetchQuery, useRefetchQuery, useRequest, useUpdateRequest } from "./hooks/query/use-query.mjs";
|
|
5
5
|
import { AuthFields, useAuth, useCloseLogin, useExpireTime, useIsLoggedIn, useLoginModalOpen, useLogout, useOpenLogin, useOpenLoginAsync, useOpenResetPassword, useRequireLogin, useSetAuthFields, useToken, useUserId, useUserInfo } from "./hooks/use-auth.mjs";
|
|
6
6
|
import { UseBrowseReportOptions, useBrowseReport } from "./hooks/use-browse-report.mjs";
|
|
7
|
+
import { useGridFirstRowHeight, useSingleFirstRowHeight, useWaterfallFirstRowHeight } from "./hooks/use-first-row-height.mjs";
|
|
7
8
|
import { useFollow } from "./hooks/use-follow.mjs";
|
|
8
9
|
import { useFullscreenGestures } from "./hooks/use-fullscreen-gestures.mjs";
|
|
9
10
|
import { useKeyboardOpen } from "./hooks/use-keyboard-open.mjs";
|
|
10
11
|
import { LikeableItem, useLikeDislike } from "./hooks/use-like-dislike.mjs";
|
|
12
|
+
import { useMinDurationLoading } from "./hooks/use-min-duration-loading.mjs";
|
|
11
13
|
import { useSearchHistory } from "./hooks/use-search-history.mjs";
|
|
12
14
|
import { useSticky } from "./hooks/use-sticky.mjs";
|
|
13
15
|
import { useKeepAliveEffect, useKeepAliveState } from "./components/common/keep-scroll-position/index.mjs";
|
|
14
|
-
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, useIsLoggedIn, useKeepAliveEffect, useKeepAliveState, useKeyboardOpen, useLikeDislike, useLoginModalOpen, useLogout, useMutation, useOpenLogin, useOpenLoginAsync, useOpenResetPassword, usePaginated, usePrefetchQuery, useRefetchQuery, useRequest, useRequireLogin, useSearchHistory, useSetAuthFields, useSticky, useToken, useUpdateRequest, useUserId, useUserInfo };
|
|
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 };
|
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{
|
|
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{useKeyboardOpen as F}from"./hooks/use-keyboard-open.mjs";import{useLikeDislike as I}from"./hooks/use-like-dislike.mjs";import{useMinDurationLoading as L}from"./hooks/use-min-duration-loading.mjs";import{useSearchHistory as R}from"./hooks/use-search-history.mjs";import{useSticky as z}from"./hooks/use-sticky.mjs";import{useKeepAliveEffect as B,useKeepAliveState as V}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,v as useIsLoggedIn,B as useKeepAliveEffect,V as useKeepAliveState,F as useKeyboardOpen,I as useLikeDislike,y as useLoginModalOpen,b as useLogout,L 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,R as useSearchHistory,T as useSetAuthFields,j as useSingleFirstRowHeight,z 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, 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, 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 { 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";
|
|
3
3
|
import { RequestConfig, ResponseData } from "../../utils/http.mjs";
|
|
4
4
|
|
|
5
5
|
//#region service/generated/client.d.ts
|
|
@@ -137,11 +137,11 @@ declare function gContentGetAppChannelBlock(query?: GetApiContentGetAppChannelBl
|
|
|
137
137
|
*/
|
|
138
138
|
declare function gContentGetAppChannelBlockData(query?: GetApiContentGetAppChannelBlockDataQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiContentGetAppChannelBlockDataRes>>;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* 最新视频列表接口(游标分页,支持按标签和分类过滤)
|
|
141
141
|
*/
|
|
142
142
|
declare function pContentGetNewstVideoList(data: PostApiContentGetNewstVideoListReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentGetNewstVideoListRes>>;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* 热门视频列表(随机召回+曝光去重)
|
|
145
145
|
*/
|
|
146
146
|
declare function pContentGetPopularVideoList(data: PostApiContentGetPopularVideoListReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentGetPopularVideoListRes>>;
|
|
147
147
|
/**
|
|
@@ -164,6 +164,10 @@ declare function gContentGetAppComponent(config?: ExtraRequestConfig): Promise<R
|
|
|
164
164
|
* 批量获取视频详情
|
|
165
165
|
*/
|
|
166
166
|
declare function pContentBatchGetVideoDetail(data: PostApiContentBatchGetVideoDetailReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentBatchGetVideoDetailRes>>;
|
|
167
|
+
/**
|
|
168
|
+
* 高分视频列表(按score排序,游标分页)
|
|
169
|
+
*/
|
|
170
|
+
declare function pContentGetTopRatedVideoList(data: PostApiContentGetTopRatedVideoListReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiContentGetTopRatedVideoListRes>>;
|
|
167
171
|
/**
|
|
168
172
|
* 处理 M3U8 文件。底层调用 gRPC ContentService.ProcessM3u8 方法。返回处理后的 M3U8 文件内容。
|
|
169
173
|
*/
|
|
@@ -416,5 +420,9 @@ declare function pUserUploadUserBgImage(data: PostApiUserUploadUserBgImageReqBod
|
|
|
416
420
|
* 浏览用户信息
|
|
417
421
|
*/
|
|
418
422
|
declare function gUserViewUserInfo(query?: GetApiUserViewUserInfoQuery, config?: ExtraRequestConfig): Promise<ResponseData<GetApiUserViewUserInfoRes>>;
|
|
423
|
+
/**
|
|
424
|
+
* 注册通过验证注册邮箱验证码
|
|
425
|
+
*/
|
|
426
|
+
declare function pUserRegisterByVerifyEmailCode(data: PostApiUserRegisterByVerifyEmailCodeReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiUserRegisterByVerifyEmailCodeRes>>;
|
|
419
427
|
//#endregion
|
|
420
|
-
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, 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, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode };
|
|
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 };
|
|
@@ -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/processM3u8`,method:`GET`,params:t})}async function B(t,n){return e.request({...n??{},url:`/api/interaction/like`,method:`POST`,data:t})}async function V(t,n){return e.request({...n??{},url:`/api/interaction/dislike`,method:`POST`,data:t})}async function H(t,n){return e.request({...n??{},url:`/api/interaction/cancelLike`,method:`POST`,data:t})}async function U(t,n){return e.request({...n??{},url:`/api/interaction/cancelDislike`,method:`POST`,data:t})}async function W(t,n){return e.request({...n??{},url:`/api/interaction/getLikeList`,method:`GET`,params:t})}async function G(t,n){return e.request({...n??{},url:`/api/interaction/getDislikeList`,method:`GET`,params:t})}async function K(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 J(t,n){return e.request({...n??{},url:`/api/interaction/unifiedBatchLikeDislike`,method:`POST`,data:t})}async function Y(t,n){return e.request({...n??{},url:`/api/interaction/likeComment`,method:`POST`,data:t})}async function X(t,n){return e.request({...n??{},url:`/api/interaction/dislikeComment`,method:`POST`,data:t})}async function Z(t,n){return e.request({...n??{},url:`/api/interaction/batchGetCommentLikeStatus`,method:`POST`,data:t})}async function Q(t,n){return e.request({...n??{},url:`/api/interaction/browse`,method:`POST`,data:t})}async function ne(t,n){return e.request({...n??{},url:`/api/interaction/getBrowseList`,method:`GET`,params:t})}async function $(t,n){return e.request({...n??{},url:`/api/interaction/deleteBrowseRecord`,method:`POST`,data:t})}async function re(t,n){return e.request({...n??{},url:`/api/interaction/clearBrowseHistory`,method:`POST`,data:t})}async function ie(t,n){return e.request({...n??{},url:`/api/interaction/batchClearBrowse`,method:`POST`,data:t})}async function ae(t,n){return e.request({...n??{},url:`/api/interaction/createFolder`,method:`POST`,data:t})}async function oe(t,n){return e.request({...n??{},url:`/api/interaction/updateFolder`,method:`POST`,data:t})}async function se(t,n){return e.request({...n??{},url:`/api/interaction/deleteFolder`,method:`POST`,data:t})}async function ce(t,n){return e.request({...n??{},url:`/api/interaction/listFolders`,method:`GET`,params:t})}async function le(t,n){return e.request({...n??{},url:`/api/interaction/getFolder`,method:`GET`,params:t})}async function ue(t,n){return e.request({...n??{},url:`/api/interaction/getFolderStats`,method:`GET`,params:t})}async function de(t,n){return e.request({...n??{},url:`/api/interaction/addCollect`,method:`POST`,data:t})}async function fe(t,n){return e.request({...n??{},url:`/api/interaction/removeCollect`,method:`POST`,data:t})}async function pe(t,n){return e.request({...n??{},url:`/api/interaction/listCollects`,method:`GET`,params:t})}async function me(t,n){return e.request({...n??{},url:`/api/interaction/moveCollects`,method:`POST`,data:t})}async function he(t,n){return e.request({...n??{},url:`/api/interaction/checkCollect`,method:`POST`,data:t})}async function ge(t,n){return e.request({...n??{},url:`/api/interaction/batchDeleteCollects`,method:`POST`,data:t})}async function _e(t,n){return e.request({...n??{},url:`/api/interaction/batchQueryContentInteractions`,method:`POST`,data:t})}async function ve(t,n){return e.request({...n??{},url:`/api/interaction/batchGetLikeStatus`,method:`POST`,data:t})}async function ye(t,n){return e.request({...n??{},url:`/api/interaction/follow`,method:`POST`,data:t})}async function be(t,n){return e.request({...n??{},url:`/api/interaction/unfollow`,method:`POST`,data:t})}async function xe(t,n){return e.request({...n??{},url:`/api/interaction/checkFollow`,method:`POST`,data:t})}async function Se(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingList`,method:`GET`,params:t})}async function Ce(t,n){return e.request({...n??{},url:`/api/interaction/getFollowerList`,method:`GET`,params:t})}async function we(t,n){return e.request({...n??{},url:`/api/interaction/getFollowStats`,method:`GET`,params:t})}async function Te(t,n){return e.request({...n??{},url:`/api/interaction/batchGetFollowStats`,method:`POST`,data:t})}async function Ee(t,n){return e.request({...n??{},url:`/api/interaction/checkMutualFollow`,method:`GET`,params:t})}async function De(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingUserUpdates`,method:`GET`,params:t})}async function Oe(t,n){return e.request({...n??{},url:`/api/interaction/updateFollowingContentUpdateTime`,method:`POST`,data:t})}async function ke(t,n){return e.request({...n??{},url:`/api/interaction/getFollowingContentList`,method:`GET`,params:t})}async function Ae(t,n){return e.request({...n??{},url:`/api/interaction/trackEventsBatch`,method:`POST`,data:t})}async function je(t,n){return e.request({...n??{},url:`/api/user/getGuestIdentity`,method:`GET`,params:t})}async function Me(t,n){return e.request({...n??{},url:`/api/user/login`,method:`POST`,data:t})}async function Ne(t,n){return e.request({...n??{},url:`/api/user/sendEmailCode`,method:`POST`,data:t})}async function Pe(t,n){return e.request({...n??{},url:`/api/user/verifyEmailCode`,method:`POST`,data:t})}async function Fe(t,n){return e.request({...n??{},url:`/api/user/register`,method:`POST`,data:t})}async function Ie(t,n){return e.request({...n??{},url:`/api/user/resetPassword`,method:`POST`,data:t})}async function Le(t,n){return e.request({...n??{},url:`/api/user/sendResetPasswordEmailCode`,method:`POST`,data:t})}async function Re(t,n){return e.request({...n??{},url:`/api/user/verifyResetPasswordEmailCode`,method:`POST`,data:t})}async function ze(t,n){return e.request({...n??{},url:`/api/user/resetForgetPassword`,method:`POST`,data:t})}async function Be(t,n){return e.request({...n??{},url:`/api/user/sendForgetEmailCode`,method:`POST`,data:t})}async function Ve(t,n){return e.request({...n??{},url:`/api/user/verifyForgetEmailCode`,method:`POST`,data:t})}async function He(t,n){return e.request({...n??{},url:`/api/user/getUserInfo`,method:`GET`,params:t})}async function Ue(t,n){return e.request({...n??{},url:`/api/user/getUserEditInfo`,method:`GET`,params:t})}async function We(t,n){return e.request({...n??{},url:`/api/user/editUserInfo`,method:`POST`,data:t})}async function Ge(t,n){return e.request({...n??{},url:`/api/user/userFeedback`,method:`POST`,data:t})}async function Ke(t,n){return e.request({...n??{},url:`/api/user/getUserPrivacySettings`,method:`GET`,params:t})}async function qe(t,n){return e.request({...n??{},url:`/api/user/userPrivacySettings`,method:`POST`,data:t})}async function Je(t,n){return e.request({...n??{},url:`/api/user/uploadUserBgImage`,method:`POST`,data:t})}async function Ye(t,n){return e.request({...n??{},url:`/api/user/viewUserInfo`,method:`GET`,params: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,z as gContentProcessM3u8,Ee as gInteractionCheckMutualFollow,ne as gInteractionGetBrowseList,q as gInteractionGetContentDislikeList,K as gInteractionGetContentLikeList,G as gInteractionGetDislikeList,le as gInteractionGetFolder,ue as gInteractionGetFolderStats,we as gInteractionGetFollowStats,Ce as gInteractionGetFollowerList,ke as gInteractionGetFollowingContentList,Se as gInteractionGetFollowingList,De as gInteractionGetFollowingUserUpdates,W as gInteractionGetLikeList,pe as gInteractionListCollects,ce as gInteractionListFolders,je as gUserGetGuestIdentity,Ue as gUserGetUserEditInfo,He as gUserGetUserInfo,Ke as gUserGetUserPrivacySettings,Ye 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,de as pInteractionAddCollect,ie as pInteractionBatchClearBrowse,ge as pInteractionBatchDeleteCollects,Z as pInteractionBatchGetCommentLikeStatus,Te as pInteractionBatchGetFollowStats,ve as pInteractionBatchGetLikeStatus,_e as pInteractionBatchQueryContentInteractions,Q as pInteractionBrowse,U as pInteractionCancelDislike,H as pInteractionCancelLike,he as pInteractionCheckCollect,xe as pInteractionCheckFollow,re as pInteractionClearBrowseHistory,ae as pInteractionCreateFolder,$ as pInteractionDeleteBrowseRecord,se as pInteractionDeleteFolder,V as pInteractionDislike,X as pInteractionDislikeComment,ye as pInteractionFollow,B as pInteractionLike,Y as pInteractionLikeComment,me as pInteractionMoveCollects,fe as pInteractionRemoveCollect,Ae as pInteractionTrackEventsBatch,be as pInteractionUnfollow,J as pInteractionUnifiedBatchLikeDislike,oe as pInteractionUpdateFolder,Oe as pInteractionUpdateFollowingContentUpdateTime,We as pUserEditUserInfo,Me as pUserLogin,Fe as pUserRegister,ze as pUserResetForgetPassword,Ie as pUserResetPassword,Ne as pUserSendEmailCode,Be as pUserSendForgetEmailCode,Le as pUserSendResetPasswordEmailCode,Je as pUserUploadUserBgImage,Ge as pUserUserFeedback,qe as pUserUserPrivacySettings,Pe as pUserVerifyEmailCode,Ve as pUserVerifyForgetEmailCode,Re 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/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};
|
|
@@ -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, 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, PostApiUserRegisterReqBody, PostApiUserResetForgetPasswordReqBody, PostApiUserResetPasswordReqBody, PostApiUserSendEmailCodeReqBody, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserUploadUserBgImageReqBody, PostApiUserUserFeedbackReqBody, PostApiUserUserPrivacySettingsReqBody, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeReqBody } from "../../types.mjs";
|
|
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";
|
|
3
3
|
import { RequestConfig } from "../../utils/http.mjs";
|
|
4
4
|
|
|
5
5
|
//#region service/generated/tanstack.d.ts
|
|
@@ -190,12 +190,12 @@ declare function gContentGetAppChannelBlockKey(query?: GetApiContentGetAppChanne
|
|
|
190
190
|
*/
|
|
191
191
|
declare function gContentGetAppChannelBlockDataKey(query?: GetApiContentGetAppChannelBlockDataQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiContentGetAppChannelBlockDataQuery, unknown>];
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* 最新视频列表接口(游标分页,支持按标签和分类过滤)
|
|
194
194
|
* @returns TanStack Query Key
|
|
195
195
|
*/
|
|
196
196
|
declare function pContentGetNewstVideoListKey(data: PostApiContentGetNewstVideoListReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentGetNewstVideoListReqBody>];
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* 热门视频列表(随机召回+曝光去重)
|
|
199
199
|
* @returns TanStack Query Key
|
|
200
200
|
*/
|
|
201
201
|
declare function pContentGetPopularVideoListKey(data: PostApiContentGetPopularVideoListReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentGetPopularVideoListReqBody>];
|
|
@@ -224,6 +224,11 @@ declare function gContentGetAppComponentKey(config?: ExtraRequestConfig): [Query
|
|
|
224
224
|
* @returns TanStack Query Key
|
|
225
225
|
*/
|
|
226
226
|
declare function pContentBatchGetVideoDetailKey(data: PostApiContentBatchGetVideoDetailReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentBatchGetVideoDetailReqBody>];
|
|
227
|
+
/**
|
|
228
|
+
* 高分视频列表(按score排序,游标分页)
|
|
229
|
+
* @returns TanStack Query Key
|
|
230
|
+
*/
|
|
231
|
+
declare function pContentGetTopRatedVideoListKey(data: PostApiContentGetTopRatedVideoListReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiContentGetTopRatedVideoListReqBody>];
|
|
227
232
|
/**
|
|
228
233
|
* 处理 M3U8 文件。底层调用 gRPC ContentService.ProcessM3u8 方法。返回处理后的 M3U8 文件内容。
|
|
229
234
|
* @returns TanStack Query Key
|
|
@@ -539,5 +544,10 @@ declare function pUserUploadUserBgImageKey(data: PostApiUserUploadUserBgImageReq
|
|
|
539
544
|
* @returns TanStack Query Key
|
|
540
545
|
*/
|
|
541
546
|
declare function gUserViewUserInfoKey(query?: GetApiUserViewUserInfoQuery, config?: ExtraRequestConfig): [QueryKeyItem<unknown, GetApiUserViewUserInfoQuery, unknown>];
|
|
547
|
+
/**
|
|
548
|
+
* 注册通过验证注册邮箱验证码
|
|
549
|
+
* @returns TanStack Query Key
|
|
550
|
+
*/
|
|
551
|
+
declare function pUserRegisterByVerifyEmailCodeKey(data: PostApiUserRegisterByVerifyEmailCodeReqBody, config?: ExtraRequestConfig): [QueryKeyItem<unknown, unknown, PostApiUserRegisterByVerifyEmailCodeReqBody>];
|
|
542
552
|
//#endregion
|
|
543
|
-
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, 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, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey };
|
|
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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
const e=(e,t,n,r)=>{let i={_id:e};return n&&(i._infinite=n),r&&(i.tags=r),t?.body!==void 0&&(i.body=t.body),t?.headers&&(i.headers=t.headers),t?.path!==void 0&&(i.path=t.path),t?.query!==void 0&&(i.query=t.query),[i]};function t(t,n){return e(`pCommunityPublishContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function n(t,n){return e(`gCommunityGetContentInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function r(t,n){return e(`gCommunityGetContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function i(t,n){return e(`pCommunityDeleteContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function ee(t,n){return e(`pCommunityUpdateContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function te(t,n){return e(`pCommunityCreateCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function a(t,n){return e(`gCommunityGetCollectionInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function o(t,n){return e(`gCommunityGetUserCollections`,{query:t,headers:n?.headers},void 0,n?.tags)}function s(t,n){return e(`pCommunityAddContentToCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function c(t,n){return e(`pCommunityDeleteCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function l(t,n){return e(`pCommunitySubscribeCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function u(t,n){return e(`gCommunityGetSubscribedCollections`,{query:t,headers:n?.headers},void 0,n?.tags)}function d(t,n){return e(`pCommunityUpdateCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function f(t,n){return e(`pCommunityRemoveContentFromCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function p(t,n){return e(`pCommunityMoveCollectionContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function m(t,n){return e(`pCommunityUploadMedia`,{body:t,headers:n?.headers},void 0,n?.tags)}function h(t,n){return e(`pCommunityGetUploadPresignedURL`,{body:t,headers:n?.headers},void 0,n?.tags)}function g(t,n){return e(`pCommunityCreateComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function _(t,n){return e(`gCommunityGetComments`,{query:t,headers:n?.headers},void 0,n?.tags)}function v(t,n){return e(`pCommunityDeleteComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function y(t,n){return e(`pCommunityLikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function b(t,n){return e(`pCommunityDislikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function x(t,n){return e(`pCommunityShareContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function S(t,n){return e(`pCommunitySearchCurAccountFollowingUsersInfo`,{body:t,headers:n?.headers},void 0,n?.tags)}function C(t,n){return e(`gCommunityGetHotContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function w(t,n){return e(`gContentGetVideoDetailByApi`,{query:t,headers:n?.headers},void 0,n?.tags)}function T(t,n){return e(`gContentGetVideoDetail`,{query:t,headers:n?.headers},void 0,n?.tags)}function E(t,n){return e(`gContentGetRecommendSearchList`,{query:t,headers:n?.headers},void 0,n?.tags)}function D(t,n){return e(`gContentGetHotVideoList`,{query:t,headers:n?.headers},void 0,n?.tags)}function O(t,n){return e(`gContentGetRecommendVideoList`,{query:t,headers:n?.headers},void 0,n?.tags)}function k(t,n){return e(`gContentGetAppChannels`,{query:t,headers:n?.headers},void 0,n?.tags)}function A(t,n){return e(`gContentGetAppChannelBlock`,{query:t,headers:n?.headers},void 0,n?.tags)}function j(t,n){return e(`gContentGetAppChannelBlockData`,{query:t,headers:n?.headers},void 0,n?.tags)}function M(t,n){return e(`pContentGetNewstVideoList`,{body:t,headers:n?.headers},void 0,n?.tags)}function N(t,n){return e(`pContentGetPopularVideoList`,{body:t,headers:n?.headers},void 0,n?.tags)}function P(t,n){return e(`gContentListVisibleFloatingBall`,{query:t,headers:n?.headers},void 0,n?.tags)}function F(t,n){return e(`gContentGetGuessYouLikeVideos`,{query:t,headers:n?.headers},void 0,n?.tags)}function I(t,n){return e(`gContentGetAdvertiseByCode`,{query:t,headers:n?.headers},void 0,n?.tags)}function L(t){return e(`gContentGetAppComponent`,{headers:t?.headers},void 0,t?.tags)}function R(t,n){return e(`pContentBatchGetVideoDetail`,{body:t,headers:n?.headers},void 0,n?.tags)}function z(t,n){return e(`gContentProcessM3u8`,{query:t,headers:n?.headers},void 0,n?.tags)}function B(t,n){return e(`pInteractionLike`,{body:t,headers:n?.headers},void 0,n?.tags)}function V(t,n){return e(`pInteractionDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function H(t,n){return e(`pInteractionCancelLike`,{body:t,headers:n?.headers},void 0,n?.tags)}function U(t,n){return e(`pInteractionCancelDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function W(t,n){return e(`gInteractionGetLikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function G(t,n){return e(`gInteractionGetDislikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function K(t,n){return e(`gInteractionGetContentLikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function q(t,n){return e(`gInteractionGetContentDislikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function J(t,n){return e(`pInteractionUnifiedBatchLikeDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function Y(t,n){return e(`pInteractionLikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function X(t,n){return e(`pInteractionDislikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function Z(t,n){return e(`pInteractionBatchGetCommentLikeStatus`,{body:t,headers:n?.headers},void 0,n?.tags)}function Q(t,n){return e(`pInteractionBrowse`,{body:t,headers:n?.headers},void 0,n?.tags)}function ne(t,n){return e(`gInteractionGetBrowseList`,{query:t,headers:n?.headers},void 0,n?.tags)}function re(t,n){return e(`pInteractionDeleteBrowseRecord`,{body:t,headers:n?.headers},void 0,n?.tags)}function ie(t,n){return e(`pInteractionClearBrowseHistory`,{body:t,headers:n?.headers},void 0,n?.tags)}function ae(t,n){return e(`pInteractionBatchClearBrowse`,{body:t,headers:n?.headers},void 0,n?.tags)}function oe(t,n){return e(`pInteractionCreateFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function se(t,n){return e(`pInteractionUpdateFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function ce(t,n){return e(`pInteractionDeleteFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function le(t,n){return e(`gInteractionListFolders`,{query:t,headers:n?.headers},void 0,n?.tags)}function ue(t,n){return e(`gInteractionGetFolder`,{query:t,headers:n?.headers},void 0,n?.tags)}function de(t,n){return e(`gInteractionGetFolderStats`,{query:t,headers:n?.headers},void 0,n?.tags)}function fe(t,n){return e(`pInteractionAddCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function pe(t,n){return e(`pInteractionRemoveCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function me(t,n){return e(`gInteractionListCollects`,{query:t,headers:n?.headers},void 0,n?.tags)}function he(t,n){return e(`pInteractionMoveCollects`,{body:t,headers:n?.headers},void 0,n?.tags)}function ge(t,n){return e(`pInteractionCheckCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function _e(t,n){return e(`pInteractionBatchDeleteCollects`,{body:t,headers:n?.headers},void 0,n?.tags)}function ve(t,n){return e(`pInteractionBatchQueryContentInteractions`,{body:t,headers:n?.headers},void 0,n?.tags)}function ye(t,n){return e(`pInteractionBatchGetLikeStatus`,{body:t,headers:n?.headers},void 0,n?.tags)}function be(t,n){return e(`pInteractionFollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function xe(t,n){return e(`pInteractionUnfollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function Se(t,n){return e(`pInteractionCheckFollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ce(t,n){return e(`gInteractionGetFollowingList`,{query:t,headers:n?.headers},void 0,n?.tags)}function we(t,n){return e(`gInteractionGetFollowerList`,{query:t,headers:n?.headers},void 0,n?.tags)}function Te(t,n){return e(`gInteractionGetFollowStats`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ee(t,n){return e(`pInteractionBatchGetFollowStats`,{body:t,headers:n?.headers},void 0,n?.tags)}function De(t,n){return e(`gInteractionCheckMutualFollow`,{query:t,headers:n?.headers},void 0,n?.tags)}function Oe(t,n){return e(`gInteractionGetFollowingUserUpdates`,{query:t,headers:n?.headers},void 0,n?.tags)}function ke(t,n){return e(`pInteractionUpdateFollowingContentUpdateTime`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ae(t,n){return e(`gInteractionGetFollowingContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function je(t,n){return e(`pInteractionTrackEventsBatch`,{body:t,headers:n?.headers},void 0,n?.tags)}function Me(t,n){return e(`gUserGetGuestIdentity`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ne(t,n){return e(`pUserLogin`,{body:t,headers:n?.headers},void 0,n?.tags)}function Pe(t,n){return e(`pUserSendEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Fe(t,n){return e(`pUserVerifyEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ie(t,n){return e(`pUserRegister`,{body:t,headers:n?.headers},void 0,n?.tags)}function Le(t,n){return e(`pUserResetPassword`,{body:t,headers:n?.headers},void 0,n?.tags)}function Re(t,n){return e(`pUserSendResetPasswordEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function ze(t,n){return e(`pUserVerifyResetPasswordEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Be(t,n){return e(`pUserResetForgetPassword`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ve(t,n){return e(`pUserSendForgetEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function $(t,n){return e(`pUserVerifyForgetEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function He(t,n){return e(`gUserGetUserInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ue(t,n){return e(`gUserGetUserEditInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function We(t,n){return e(`pUserEditUserInfo`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ge(t,n){return e(`pUserUserFeedback`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ke(t,n){return e(`gUserGetUserPrivacySettings`,{query:t,headers:n?.headers},void 0,n?.tags)}function qe(t,n){return e(`pUserUserPrivacySettings`,{body:t,headers:n?.headers},void 0,n?.tags)}function Je(t,n){return e(`pUserUploadUserBgImage`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ye(t,n){return e(`gUserViewUserInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}export{e as createQueryKey,a as gCommunityGetCollectionInfoKey,_ as gCommunityGetCommentsKey,n as gCommunityGetContentInfoKey,r as gCommunityGetContentListKey,C as gCommunityGetHotContentListKey,u as gCommunityGetSubscribedCollectionsKey,o as gCommunityGetUserCollectionsKey,I as gContentGetAdvertiseByCodeKey,j as gContentGetAppChannelBlockDataKey,A as gContentGetAppChannelBlockKey,k as gContentGetAppChannelsKey,L as gContentGetAppComponentKey,F as gContentGetGuessYouLikeVideosKey,D as gContentGetHotVideoListKey,E as gContentGetRecommendSearchListKey,O as gContentGetRecommendVideoListKey,w as gContentGetVideoDetailByApiKey,T as gContentGetVideoDetailKey,P as gContentListVisibleFloatingBallKey,z as gContentProcessM3u8Key,De as gInteractionCheckMutualFollowKey,ne as gInteractionGetBrowseListKey,q as gInteractionGetContentDislikeListKey,K as gInteractionGetContentLikeListKey,G as gInteractionGetDislikeListKey,ue as gInteractionGetFolderKey,de as gInteractionGetFolderStatsKey,Te as gInteractionGetFollowStatsKey,we as gInteractionGetFollowerListKey,Ae as gInteractionGetFollowingContentListKey,Ce as gInteractionGetFollowingListKey,Oe as gInteractionGetFollowingUserUpdatesKey,W as gInteractionGetLikeListKey,me as gInteractionListCollectsKey,le as gInteractionListFoldersKey,Me as gUserGetGuestIdentityKey,Ue as gUserGetUserEditInfoKey,He as gUserGetUserInfoKey,Ke as gUserGetUserPrivacySettingsKey,Ye as gUserViewUserInfoKey,s as pCommunityAddContentToCollectionKey,te as pCommunityCreateCollectionKey,g as pCommunityCreateCommentKey,c as pCommunityDeleteCollectionKey,v as pCommunityDeleteCommentKey,i as pCommunityDeleteContentKey,b as pCommunityDislikeCommentKey,h as pCommunityGetUploadPresignedURLKey,y as pCommunityLikeCommentKey,p as pCommunityMoveCollectionContentKey,t as pCommunityPublishContentKey,f as pCommunityRemoveContentFromCollectionKey,S as pCommunitySearchCurAccountFollowingUsersInfoKey,x as pCommunityShareContentKey,l as pCommunitySubscribeCollectionKey,d as pCommunityUpdateCollectionKey,ee as pCommunityUpdateContentKey,m as pCommunityUploadMediaKey,R as pContentBatchGetVideoDetailKey,M as pContentGetNewstVideoListKey,N as pContentGetPopularVideoListKey,fe as pInteractionAddCollectKey,ae as pInteractionBatchClearBrowseKey,_e as pInteractionBatchDeleteCollectsKey,Z as pInteractionBatchGetCommentLikeStatusKey,Ee as pInteractionBatchGetFollowStatsKey,ye as pInteractionBatchGetLikeStatusKey,ve as pInteractionBatchQueryContentInteractionsKey,Q as pInteractionBrowseKey,U as pInteractionCancelDislikeKey,H as pInteractionCancelLikeKey,ge as pInteractionCheckCollectKey,Se as pInteractionCheckFollowKey,ie as pInteractionClearBrowseHistoryKey,oe as pInteractionCreateFolderKey,re as pInteractionDeleteBrowseRecordKey,ce as pInteractionDeleteFolderKey,X as pInteractionDislikeCommentKey,V as pInteractionDislikeKey,be as pInteractionFollowKey,Y as pInteractionLikeCommentKey,B as pInteractionLikeKey,he as pInteractionMoveCollectsKey,pe as pInteractionRemoveCollectKey,je as pInteractionTrackEventsBatchKey,xe as pInteractionUnfollowKey,J as pInteractionUnifiedBatchLikeDislikeKey,se as pInteractionUpdateFolderKey,ke as pInteractionUpdateFollowingContentUpdateTimeKey,We as pUserEditUserInfoKey,Ne as pUserLoginKey,Ie as pUserRegisterKey,Be as pUserResetForgetPasswordKey,Le as pUserResetPasswordKey,Pe as pUserSendEmailCodeKey,Ve as pUserSendForgetEmailCodeKey,Re as pUserSendResetPasswordEmailCodeKey,Je as pUserUploadUserBgImageKey,Ge as pUserUserFeedbackKey,qe as pUserUserPrivacySettingsKey,Fe as pUserVerifyEmailCodeKey,$ as pUserVerifyForgetEmailCodeKey,ze as pUserVerifyResetPasswordEmailCodeKey};
|
|
2
|
+
const e=(e,t,n,r)=>{let i={_id:e};return n&&(i._infinite=n),r&&(i.tags=r),t?.body!==void 0&&(i.body=t.body),t?.headers&&(i.headers=t.headers),t?.path!==void 0&&(i.path=t.path),t?.query!==void 0&&(i.query=t.query),[i]};function t(t,n){return e(`pCommunityPublishContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function n(t,n){return e(`gCommunityGetContentInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function r(t,n){return e(`gCommunityGetContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function i(t,n){return e(`pCommunityDeleteContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function ee(t,n){return e(`pCommunityUpdateContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function te(t,n){return e(`pCommunityCreateCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function a(t,n){return e(`gCommunityGetCollectionInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function o(t,n){return e(`gCommunityGetUserCollections`,{query:t,headers:n?.headers},void 0,n?.tags)}function s(t,n){return e(`pCommunityAddContentToCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function c(t,n){return e(`pCommunityDeleteCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function l(t,n){return e(`pCommunitySubscribeCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function u(t,n){return e(`gCommunityGetSubscribedCollections`,{query:t,headers:n?.headers},void 0,n?.tags)}function d(t,n){return e(`pCommunityUpdateCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function f(t,n){return e(`pCommunityRemoveContentFromCollection`,{body:t,headers:n?.headers},void 0,n?.tags)}function p(t,n){return e(`pCommunityMoveCollectionContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function m(t,n){return e(`pCommunityUploadMedia`,{body:t,headers:n?.headers},void 0,n?.tags)}function h(t,n){return e(`pCommunityGetUploadPresignedURL`,{body:t,headers:n?.headers},void 0,n?.tags)}function g(t,n){return e(`pCommunityCreateComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function _(t,n){return e(`gCommunityGetComments`,{query:t,headers:n?.headers},void 0,n?.tags)}function v(t,n){return e(`pCommunityDeleteComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function y(t,n){return e(`pCommunityLikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function b(t,n){return e(`pCommunityDislikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function x(t,n){return e(`pCommunityShareContent`,{body:t,headers:n?.headers},void 0,n?.tags)}function S(t,n){return e(`pCommunitySearchCurAccountFollowingUsersInfo`,{body:t,headers:n?.headers},void 0,n?.tags)}function C(t,n){return e(`gCommunityGetHotContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function w(t,n){return e(`gContentGetVideoDetailByApi`,{query:t,headers:n?.headers},void 0,n?.tags)}function T(t,n){return e(`gContentGetVideoDetail`,{query:t,headers:n?.headers},void 0,n?.tags)}function E(t,n){return e(`gContentGetRecommendSearchList`,{query:t,headers:n?.headers},void 0,n?.tags)}function D(t,n){return e(`gContentGetHotVideoList`,{query:t,headers:n?.headers},void 0,n?.tags)}function O(t,n){return e(`gContentGetRecommendVideoList`,{query:t,headers:n?.headers},void 0,n?.tags)}function k(t,n){return e(`gContentGetAppChannels`,{query:t,headers:n?.headers},void 0,n?.tags)}function A(t,n){return e(`gContentGetAppChannelBlock`,{query:t,headers:n?.headers},void 0,n?.tags)}function j(t,n){return e(`gContentGetAppChannelBlockData`,{query:t,headers:n?.headers},void 0,n?.tags)}function M(t,n){return e(`pContentGetNewstVideoList`,{body:t,headers:n?.headers},void 0,n?.tags)}function N(t,n){return e(`pContentGetPopularVideoList`,{body:t,headers:n?.headers},void 0,n?.tags)}function P(t,n){return e(`gContentListVisibleFloatingBall`,{query:t,headers:n?.headers},void 0,n?.tags)}function F(t,n){return e(`gContentGetGuessYouLikeVideos`,{query:t,headers:n?.headers},void 0,n?.tags)}function I(t,n){return e(`gContentGetAdvertiseByCode`,{query:t,headers:n?.headers},void 0,n?.tags)}function L(t){return e(`gContentGetAppComponent`,{headers:t?.headers},void 0,t?.tags)}function R(t,n){return e(`pContentBatchGetVideoDetail`,{body:t,headers:n?.headers},void 0,n?.tags)}function z(t,n){return e(`pContentGetTopRatedVideoList`,{body:t,headers:n?.headers},void 0,n?.tags)}function B(t,n){return e(`gContentProcessM3u8`,{query:t,headers:n?.headers},void 0,n?.tags)}function V(t,n){return e(`pInteractionLike`,{body:t,headers:n?.headers},void 0,n?.tags)}function H(t,n){return e(`pInteractionDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function U(t,n){return e(`pInteractionCancelLike`,{body:t,headers:n?.headers},void 0,n?.tags)}function W(t,n){return e(`pInteractionCancelDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function G(t,n){return e(`gInteractionGetLikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function K(t,n){return e(`gInteractionGetDislikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function q(t,n){return e(`gInteractionGetContentLikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function J(t,n){return e(`gInteractionGetContentDislikeList`,{query:t,headers:n?.headers},void 0,n?.tags)}function Y(t,n){return e(`pInteractionUnifiedBatchLikeDislike`,{body:t,headers:n?.headers},void 0,n?.tags)}function X(t,n){return e(`pInteractionLikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function Z(t,n){return e(`pInteractionDislikeComment`,{body:t,headers:n?.headers},void 0,n?.tags)}function Q(t,n){return e(`pInteractionBatchGetCommentLikeStatus`,{body:t,headers:n?.headers},void 0,n?.tags)}function ne(t,n){return e(`pInteractionBrowse`,{body:t,headers:n?.headers},void 0,n?.tags)}function re(t,n){return e(`gInteractionGetBrowseList`,{query:t,headers:n?.headers},void 0,n?.tags)}function ie(t,n){return e(`pInteractionDeleteBrowseRecord`,{body:t,headers:n?.headers},void 0,n?.tags)}function ae(t,n){return e(`pInteractionClearBrowseHistory`,{body:t,headers:n?.headers},void 0,n?.tags)}function oe(t,n){return e(`pInteractionBatchClearBrowse`,{body:t,headers:n?.headers},void 0,n?.tags)}function se(t,n){return e(`pInteractionCreateFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function ce(t,n){return e(`pInteractionUpdateFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function le(t,n){return e(`pInteractionDeleteFolder`,{body:t,headers:n?.headers},void 0,n?.tags)}function ue(t,n){return e(`gInteractionListFolders`,{query:t,headers:n?.headers},void 0,n?.tags)}function de(t,n){return e(`gInteractionGetFolder`,{query:t,headers:n?.headers},void 0,n?.tags)}function fe(t,n){return e(`gInteractionGetFolderStats`,{query:t,headers:n?.headers},void 0,n?.tags)}function pe(t,n){return e(`pInteractionAddCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function me(t,n){return e(`pInteractionRemoveCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function he(t,n){return e(`gInteractionListCollects`,{query:t,headers:n?.headers},void 0,n?.tags)}function ge(t,n){return e(`pInteractionMoveCollects`,{body:t,headers:n?.headers},void 0,n?.tags)}function _e(t,n){return e(`pInteractionCheckCollect`,{body:t,headers:n?.headers},void 0,n?.tags)}function ve(t,n){return e(`pInteractionBatchDeleteCollects`,{body:t,headers:n?.headers},void 0,n?.tags)}function ye(t,n){return e(`pInteractionBatchQueryContentInteractions`,{body:t,headers:n?.headers},void 0,n?.tags)}function be(t,n){return e(`pInteractionBatchGetLikeStatus`,{body:t,headers:n?.headers},void 0,n?.tags)}function xe(t,n){return e(`pInteractionFollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function Se(t,n){return e(`pInteractionUnfollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ce(t,n){return e(`pInteractionCheckFollow`,{body:t,headers:n?.headers},void 0,n?.tags)}function we(t,n){return e(`gInteractionGetFollowingList`,{query:t,headers:n?.headers},void 0,n?.tags)}function Te(t,n){return e(`gInteractionGetFollowerList`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ee(t,n){return e(`gInteractionGetFollowStats`,{query:t,headers:n?.headers},void 0,n?.tags)}function De(t,n){return e(`pInteractionBatchGetFollowStats`,{body:t,headers:n?.headers},void 0,n?.tags)}function Oe(t,n){return e(`gInteractionCheckMutualFollow`,{query:t,headers:n?.headers},void 0,n?.tags)}function ke(t,n){return e(`gInteractionGetFollowingUserUpdates`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ae(t,n){return e(`pInteractionUpdateFollowingContentUpdateTime`,{body:t,headers:n?.headers},void 0,n?.tags)}function je(t,n){return e(`gInteractionGetFollowingContentList`,{query:t,headers:n?.headers},void 0,n?.tags)}function Me(t,n){return e(`pInteractionTrackEventsBatch`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ne(t,n){return e(`gUserGetGuestIdentity`,{query:t,headers:n?.headers},void 0,n?.tags)}function Pe(t,n){return e(`pUserLogin`,{body:t,headers:n?.headers},void 0,n?.tags)}function Fe(t,n){return e(`pUserSendEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ie(t,n){return e(`pUserVerifyEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Le(t,n){return e(`pUserRegister`,{body:t,headers:n?.headers},void 0,n?.tags)}function Re(t,n){return e(`pUserResetPassword`,{body:t,headers:n?.headers},void 0,n?.tags)}function ze(t,n){return e(`pUserSendResetPasswordEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Be(t,n){return e(`pUserVerifyResetPasswordEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ve(t,n){return e(`pUserResetForgetPassword`,{body:t,headers:n?.headers},void 0,n?.tags)}function $(t,n){return e(`pUserSendForgetEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function He(t,n){return e(`pUserVerifyForgetEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ue(t,n){return e(`gUserGetUserInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function We(t,n){return e(`gUserGetUserEditInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ge(t,n){return e(`pUserEditUserInfo`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ke(t,n){return e(`pUserUserFeedback`,{body:t,headers:n?.headers},void 0,n?.tags)}function qe(t,n){return e(`gUserGetUserPrivacySettings`,{query:t,headers:n?.headers},void 0,n?.tags)}function Je(t,n){return e(`pUserUserPrivacySettings`,{body:t,headers:n?.headers},void 0,n?.tags)}function Ye(t,n){return e(`pUserUploadUserBgImage`,{body:t,headers:n?.headers},void 0,n?.tags)}function Xe(t,n){return e(`gUserViewUserInfo`,{query:t,headers:n?.headers},void 0,n?.tags)}function Ze(t,n){return e(`pUserRegisterByVerifyEmailCode`,{body:t,headers:n?.headers},void 0,n?.tags)}export{e as createQueryKey,a as gCommunityGetCollectionInfoKey,_ as gCommunityGetCommentsKey,n as gCommunityGetContentInfoKey,r as gCommunityGetContentListKey,C as gCommunityGetHotContentListKey,u as gCommunityGetSubscribedCollectionsKey,o as gCommunityGetUserCollectionsKey,I as gContentGetAdvertiseByCodeKey,j as gContentGetAppChannelBlockDataKey,A as gContentGetAppChannelBlockKey,k as gContentGetAppChannelsKey,L as gContentGetAppComponentKey,F as gContentGetGuessYouLikeVideosKey,D as gContentGetHotVideoListKey,E as gContentGetRecommendSearchListKey,O as gContentGetRecommendVideoListKey,w as gContentGetVideoDetailByApiKey,T as gContentGetVideoDetailKey,P as gContentListVisibleFloatingBallKey,B as gContentProcessM3u8Key,Oe as gInteractionCheckMutualFollowKey,re as gInteractionGetBrowseListKey,J as gInteractionGetContentDislikeListKey,q as gInteractionGetContentLikeListKey,K as gInteractionGetDislikeListKey,de as gInteractionGetFolderKey,fe as gInteractionGetFolderStatsKey,Ee as gInteractionGetFollowStatsKey,Te as gInteractionGetFollowerListKey,je as gInteractionGetFollowingContentListKey,we as gInteractionGetFollowingListKey,ke as gInteractionGetFollowingUserUpdatesKey,G as gInteractionGetLikeListKey,he as gInteractionListCollectsKey,ue as gInteractionListFoldersKey,Ne as gUserGetGuestIdentityKey,We as gUserGetUserEditInfoKey,Ue as gUserGetUserInfoKey,qe as gUserGetUserPrivacySettingsKey,Xe as gUserViewUserInfoKey,s as pCommunityAddContentToCollectionKey,te as pCommunityCreateCollectionKey,g as pCommunityCreateCommentKey,c as pCommunityDeleteCollectionKey,v as pCommunityDeleteCommentKey,i as pCommunityDeleteContentKey,b as pCommunityDislikeCommentKey,h as pCommunityGetUploadPresignedURLKey,y as pCommunityLikeCommentKey,p as pCommunityMoveCollectionContentKey,t as pCommunityPublishContentKey,f as pCommunityRemoveContentFromCollectionKey,S as pCommunitySearchCurAccountFollowingUsersInfoKey,x as pCommunityShareContentKey,l as pCommunitySubscribeCollectionKey,d as pCommunityUpdateCollectionKey,ee as pCommunityUpdateContentKey,m as pCommunityUploadMediaKey,R as pContentBatchGetVideoDetailKey,M as pContentGetNewstVideoListKey,N as pContentGetPopularVideoListKey,z as pContentGetTopRatedVideoListKey,pe as pInteractionAddCollectKey,oe as pInteractionBatchClearBrowseKey,ve as pInteractionBatchDeleteCollectsKey,Q as pInteractionBatchGetCommentLikeStatusKey,De as pInteractionBatchGetFollowStatsKey,be as pInteractionBatchGetLikeStatusKey,ye as pInteractionBatchQueryContentInteractionsKey,ne as pInteractionBrowseKey,W as pInteractionCancelDislikeKey,U as pInteractionCancelLikeKey,_e as pInteractionCheckCollectKey,Ce as pInteractionCheckFollowKey,ae as pInteractionClearBrowseHistoryKey,se as pInteractionCreateFolderKey,ie as pInteractionDeleteBrowseRecordKey,le as pInteractionDeleteFolderKey,Z as pInteractionDislikeCommentKey,H as pInteractionDislikeKey,xe as pInteractionFollowKey,X as pInteractionLikeCommentKey,V as pInteractionLikeKey,ge as pInteractionMoveCollectsKey,me as pInteractionRemoveCollectKey,Me as pInteractionTrackEventsBatchKey,Se as pInteractionUnfollowKey,Y as pInteractionUnifiedBatchLikeDislikeKey,ce as pInteractionUpdateFolderKey,Ae as pInteractionUpdateFollowingContentUpdateTimeKey,Ge as pUserEditUserInfoKey,Pe as pUserLoginKey,Ze as pUserRegisterByVerifyEmailCodeKey,Le as pUserRegisterKey,Ve as pUserResetForgetPasswordKey,Re as pUserResetPasswordKey,Fe as pUserSendEmailCodeKey,$ as pUserSendForgetEmailCodeKey,ze as pUserSendResetPasswordEmailCodeKey,Ye as pUserUploadUserBgImageKey,Ke as pUserUserFeedbackKey,Je as pUserUserPrivacySettingsKey,Ie as pUserVerifyEmailCodeKey,He as pUserVerifyForgetEmailCodeKey,Be as pUserVerifyResetPasswordEmailCodeKey};
|
|
@@ -10,6 +10,6 @@ type RegisterByVerifyEmailCodeReqBody = PostApiUserVerifyEmailCodeReqBody & {
|
|
|
10
10
|
/**
|
|
11
11
|
* 注册验证码校验并进入下一步。
|
|
12
12
|
*/
|
|
13
|
-
declare function
|
|
13
|
+
declare function pUserRegisterByVerifyEmailCodeCompat(data: RegisterByVerifyEmailCodeReqBody, config?: ExtraRequestConfig): Promise<ResponseData<PostApiUserVerifyEmailCodeRes>>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export {
|
|
15
|
+
export { pUserRegisterByVerifyEmailCodeCompat };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import e from"../utils/http.mjs";async function t(t,n){return e.request({...n??{},url:`/api/user/registerByVerifyEmailCode`,method:`POST`,data:t})}export{t as
|
|
2
|
+
import e from"../utils/http.mjs";async function t(t,n){return e.request({...n??{},url:`/api/user/registerByVerifyEmailCode`,method:`POST`,data:t})}export{t as pUserRegisterByVerifyEmailCodeCompat};
|