@funhub/platform 0.2.1-beta.6 → 0.2.1

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.
Files changed (200) hide show
  1. package/dist/assets/icons/channel-list/channel-active-indicator.mjs +2 -0
  2. package/dist/assets/icons/common/header-menu.mjs +2 -0
  3. package/dist/assets/icons/common/header-search-icon.mjs +2 -0
  4. package/dist/assets/icons/common/right_arrow_thin.mjs +2 -0
  5. package/dist/assets/icons/eye-off-icon.mjs +1 -1
  6. package/dist/assets/icons/marquee-close.mjs +2 -0
  7. package/dist/assets/icons/marquee-speaker.mjs +2 -0
  8. package/dist/assets/images/shortcut-grid/shortcut-grid-card-bg-primary.mjs +2 -0
  9. package/dist/biz.d.mts +10 -3
  10. package/dist/biz.mjs +1 -1
  11. package/dist/common.d.mts +5 -2
  12. package/dist/common.mjs +1 -1
  13. package/dist/components/biz/business/advertisement/ad-match.mjs +1 -1
  14. package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -1
  15. package/dist/components/biz/business/advertisement/banner-ad/material.d.mts +1 -1
  16. package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -1
  17. package/dist/components/biz/business/advertisement/banner-ad/schema.d.mts +3 -3
  18. package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -1
  19. package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -1
  20. package/dist/components/biz/business/advertisement/floating-ad/material.mjs +1 -1
  21. package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -1
  22. package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -1
  23. package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -1
  24. package/dist/components/biz/business/advertisement/index.d.mts +1 -1
  25. package/dist/components/biz/business/advertisement/popup-ad/client.mjs +2 -2
  26. package/dist/components/biz/business/advertisement/popup-ad/index.d.mts +1 -1
  27. package/dist/components/biz/business/advertisement/popup-ad/material.d.mts +2 -2
  28. package/dist/components/biz/business/advertisement/popup-ad/material.mjs +1 -1
  29. package/dist/components/biz/business/advertisement/popup-ad/schema.d.mts +5 -14
  30. package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -1
  31. package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -1
  32. package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -1
  33. package/dist/components/biz/business/banner-carousel/client.mjs +1 -1
  34. package/dist/components/biz/business/channel-list/client.mjs +1 -1
  35. package/dist/components/biz/business/channel-list/default-props.mjs +1 -1
  36. package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -1
  37. package/dist/components/biz/business/detail/shared/registry.d.mts +36 -1
  38. package/dist/components/biz/business/detail/shared/registry.mjs +1 -1
  39. package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -1
  40. package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -1
  41. package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +1 -13
  42. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
  43. package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +2 -0
  44. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/client.d.mts +8 -0
  45. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/client.mjs +2 -0
  46. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/index.d.mts +5 -0
  47. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/material.d.mts +45 -0
  48. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/material.mjs +2 -0
  49. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/schema.d.mts +9 -0
  50. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/schema.mjs +2 -0
  51. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/server.d.mts +11 -0
  52. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/server.mjs +2 -0
  53. package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -1
  54. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +1 -1
  55. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -1
  56. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +4 -3
  57. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  58. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -1
  59. package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -1
  60. package/dist/components/biz/business/header-search/header-search/client.mjs +1 -1
  61. package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -1
  62. package/dist/components/biz/business/header-search/shared/header-action.mjs +2 -0
  63. package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +2 -0
  64. package/dist/components/biz/business/header-search/shared/header-shell.mjs +2 -0
  65. package/dist/components/biz/business/header-search/shared/logo.mjs +1 -1
  66. package/dist/components/biz/business/header-search/shared/search.mjs +1 -1
  67. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  68. package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -1
  69. package/dist/components/biz/business/hot-recommend/client.d.mts +17 -0
  70. package/dist/components/biz/business/hot-recommend/client.mjs +2 -0
  71. package/dist/components/biz/business/hot-recommend/index.d.mts +5 -0
  72. package/dist/components/biz/business/hot-recommend/material.d.mts +24 -0
  73. package/dist/components/biz/business/hot-recommend/material.mjs +2 -0
  74. package/dist/components/biz/business/hot-recommend/schema.d.mts +23 -0
  75. package/dist/components/biz/business/hot-recommend/schema.mjs +2 -0
  76. package/dist/components/biz/business/hot-recommend/server.d.mts +11 -0
  77. package/dist/components/biz/business/hot-recommend/server.mjs +2 -0
  78. package/dist/components/biz/business/index.d.mts +11 -2
  79. package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -1
  80. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
  81. package/dist/components/biz/business/marquee/client.mjs +1 -1
  82. package/dist/components/biz/business/marquee/marquee.module.mjs +2 -6
  83. package/dist/components/biz/business/profile/index.d.mts +1 -1
  84. package/dist/components/biz/business/profile/profile-header/client.d.mts +2 -1
  85. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  86. package/dist/components/biz/business/profile/profile-header/index.d.mts +1 -1
  87. package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -1
  88. package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -1
  89. package/dist/components/biz/business/profile/profile-main/client.mjs +1 -1
  90. package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -1
  91. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -1
  92. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +2 -0
  93. package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -1
  94. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +5 -1
  95. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -1
  96. package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -1
  97. package/dist/components/biz/business/ranking-recommend/client.d.mts +15 -0
  98. package/dist/components/biz/business/ranking-recommend/client.mjs +70 -0
  99. package/dist/components/biz/business/ranking-recommend/material.d.mts +23 -0
  100. package/dist/components/biz/business/ranking-recommend/material.mjs +2 -0
  101. package/dist/components/biz/business/ranking-recommend/schema.d.mts +23 -0
  102. package/dist/components/biz/business/ranking-recommend/schema.mjs +2 -0
  103. package/dist/components/biz/business/ranking-recommend/server.d.mts +11 -0
  104. package/dist/components/biz/business/ranking-recommend/server.mjs +2 -0
  105. package/dist/components/biz/business/ranking-recommend/shared.d.mts +15 -0
  106. package/dist/components/biz/business/ranking-recommend/shared.mjs +2 -0
  107. package/dist/components/biz/business/search-history/client.mjs +1 -1
  108. package/dist/components/biz/business/search-history/schema.mjs +1 -1
  109. package/dist/components/biz/business/search-input/client.mjs +1 -1
  110. package/dist/components/biz/business/search-waterfall-recommend/client.d.mts +9 -0
  111. package/dist/components/biz/business/search-waterfall-recommend/client.mjs +2 -0
  112. package/dist/components/biz/business/search-waterfall-recommend/index.d.mts +4 -0
  113. package/dist/components/biz/business/search-waterfall-recommend/material.d.mts +40 -0
  114. package/dist/components/biz/business/search-waterfall-recommend/material.mjs +2 -0
  115. package/dist/components/biz/business/search-waterfall-recommend/server.d.mts +8 -0
  116. package/dist/components/biz/business/search-waterfall-recommend/server.mjs +2 -0
  117. package/dist/components/biz/business/shortcut-grid/client.mjs +1 -1
  118. package/dist/components/biz/business/tab-bar/client.mjs +1 -1
  119. package/dist/components/common/collection-popup/create-collection-sheet.d.mts +41 -0
  120. package/dist/components/common/collection-popup/create-collection-sheet.mjs +2 -0
  121. package/dist/components/common/collection-popup/index.d.mts +1 -0
  122. package/dist/components/common/collection-popup/index.mjs +1 -1
  123. package/dist/components/common/icons/setting.mjs +1 -1
  124. package/dist/components/common/list/collection-list/collection-list-item.d.mts +6 -0
  125. package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -1
  126. package/dist/components/common/list/collection-list/collection-list.d.mts +6 -0
  127. package/dist/components/common/list/collection-list/collection-list.mjs +1 -1
  128. package/dist/components/common/list/collection-list/collection-select-icon.mjs +2 -0
  129. package/dist/components/common/list/waterfall-recommend/index.d.mts +2 -0
  130. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.d.mts +99 -0
  131. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +2 -0
  132. package/dist/components/common/series-episodes/index.d.mts +3 -1
  133. package/dist/components/common/series-episodes/index.mjs +1 -1
  134. package/dist/components/common/tab-bar/index.mjs +1 -1
  135. package/dist/components/pages/collection-detail/_components/collection-detail-video-card.mjs +2 -0
  136. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  137. package/dist/components/pages/edit/page.mjs +1 -1
  138. package/dist/components/pages/home/client.mjs +1 -1
  139. package/dist/components/pages/login/auth-page-styles.mjs +6 -0
  140. package/dist/components/pages/login/login-client.mjs +1 -1
  141. package/dist/components/pages/login/register.mjs +1 -1
  142. package/dist/components/pages/login/verify.mjs +1 -4
  143. package/dist/components/pages/search/page-client.mjs +1 -1
  144. package/dist/components/pages/search/search-result/index.mjs +1 -1
  145. package/dist/components/pages/search/search-result/search-all.mjs +1 -1
  146. package/dist/components/pages/search/search-result/search-user.mjs +1 -1
  147. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -1
  148. package/dist/components/pages/search/search-result/shared.mjs +2 -0
  149. package/dist/components/pages/search/top-header.mjs +1 -1
  150. package/dist/components/pages/search-result/page-client.mjs +1 -1
  151. package/dist/components/pages/search-result/search-all.mjs +1 -1
  152. package/dist/components/pages/search-result/search-empty.mjs +2 -0
  153. package/dist/components/pages/search-result/search-tab.mjs +1 -1
  154. package/dist/components/pages/search-result/search-user.mjs +1 -1
  155. package/dist/components/pages/search-result/search-video-info.mjs +2 -0
  156. package/dist/components/pages/search-result/shared.mjs +2 -0
  157. package/dist/components/pages/search-result/top-header.mjs +2 -0
  158. package/dist/components/pages/settings/_components/reset-password-drawer.mjs +3 -3
  159. package/dist/components/pages/settings/_components/settings.mjs +1 -1
  160. package/dist/components/pages/video-list/video-list-client.mjs +1 -1
  161. package/dist/components/pages/video-list/video-list-recommend-item.mjs +2 -0
  162. package/dist/components/pages/video-list/video-list-skeleton.d.mts +2 -3
  163. package/dist/components/pages/video-list/video-list-skeleton.mjs +1 -1
  164. package/dist/components/ui/badge.d.mts +1 -1
  165. package/dist/components/ui/box.d.mts +1 -1
  166. package/dist/components/ui/button.d.mts +2 -2
  167. package/dist/components/ui/empty.d.mts +1 -1
  168. package/dist/components/ui/image.d.mts +4 -4
  169. package/dist/components/ui/item.d.mts +1 -1
  170. package/dist/i18n/locales/en.mjs +2 -2
  171. package/dist/i18n/locales/zh-CN.mjs +2 -2
  172. package/dist/materials.d.mts +6 -1
  173. package/dist/materials.mjs +1 -1
  174. package/dist/service/generated/client.d.mts +30 -2
  175. package/dist/service/generated/client.mjs +1 -1
  176. package/dist/service/generated/tanstack.d.mts +37 -2
  177. package/dist/service/generated/tanstack.mjs +1 -1
  178. package/dist/service.d.mts +3 -3
  179. package/dist/service.mjs +1 -1
  180. package/dist/theme-tokens.d.mts +9 -0
  181. package/dist/theme-tokens.mjs +2 -0
  182. package/dist/types.d.mts +437 -7
  183. package/dist/utils/helper.d.mts +1 -1
  184. package/dist/utils/helper.mjs +1 -1
  185. package/package.json +7 -2
  186. package/theme.css +170 -59
  187. package/dist/assets/icons/detail/collect_nor.mjs +0 -2
  188. package/dist/assets/icons/detail/collect_sel.mjs +0 -2
  189. package/dist/assets/icons/detail/share.mjs +0 -2
  190. package/dist/assets/icons/marquee-enter.mjs +0 -2
  191. package/dist/assets/icons/right_arrow.mjs +0 -2
  192. package/dist/assets/icons/search/avatar.mjs +0 -2
  193. package/dist/assets/images/marquee.mjs +0 -2
  194. package/dist/components/biz/business/detail/shared/detail-introduction.mjs +0 -2
  195. package/dist/components/common/collection-popup/collection-create-modal.mjs +0 -2
  196. package/dist/components/common/skeleton/search-video-card-skeleton.mjs +0 -2
  197. package/dist/components/pages/search/search-utils.mjs +0 -2
  198. package/dist/components/pages/search-result/search-result-skeleton.mjs +0 -2
  199. package/dist/components/pages/search-result/search-video.mjs +0 -2
  200. package/dist/components/pages/video-list/video-list-item.mjs +0 -2
package/dist/types.d.mts CHANGED
@@ -1,5 +1,29 @@
1
1
 
2
2
  //#region types/generated/api-types.d.ts
3
+ /**
4
+ * google.protobuf.Any
5
+ */
6
+ type GoogleProtobufAny = {
7
+ type_url?: string;
8
+ value?: string;
9
+ };
10
+ /**
11
+ * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
12
+ */
13
+ type Status = {
14
+ /**
15
+ * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
16
+ */
17
+ code?: number;
18
+ /**
19
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
20
+ */
21
+ message?: string;
22
+ /**
23
+ * A list of messages that carry the error details. There is a common set of message types for APIs to use.
24
+ */
25
+ details?: GoogleProtobufAny[];
26
+ };
3
27
  /**
4
28
  * Api Response
5
29
  */
@@ -3127,6 +3151,18 @@ type UserGetUserInfoResponse = {
3127
3151
  * 用户状态
3128
3152
  */
3129
3153
  status?: number;
3154
+ /**
3155
+ * 用户类型
3156
+ */
3157
+ user_type?: number;
3158
+ /**
3159
+ * 是否会员
3160
+ */
3161
+ is_member?: number;
3162
+ /**
3163
+ * 是否官方
3164
+ */
3165
+ is_official?: number;
3130
3166
  };
3131
3167
  /**
3132
3168
  * 获取用户隐私设置信息响应
@@ -3777,6 +3813,213 @@ type UserRegisterByVerifyEmailCodeResponse = {
3777
3813
  */
3778
3814
  expire_time?: number;
3779
3815
  };
3816
+ type ContentGetSeoConfigResponse = {
3817
+ config?: ContentSeoConfig;
3818
+ common_config?: ContentSeoConfig;
3819
+ /**
3820
+ * 主配置来源:data、route、empty
3821
+ */
3822
+ source?: string;
3823
+ };
3824
+ /**
3825
+ * 发起支付响应
3826
+ */
3827
+ type CommerceCreatePaymentResponse = {
3828
+ /**
3829
+ * 支付平台订单号
3830
+ */
3831
+ oid?: string;
3832
+ /**
3833
+ * 支付链接或 SDK 参数或银行卡信息 JSON
3834
+ */
3835
+ pay_url?: string;
3836
+ /**
3837
+ * 返回模式:url/sdk/card
3838
+ */
3839
+ mode?: string;
3840
+ card_info?: CommercePaymentCardInfo;
3841
+ };
3842
+ /**
3843
+ * 获取支付方式响应
3844
+ */
3845
+ type CommerceGetPaymentMethodsResponse = {
3846
+ /**
3847
+ * 某个金额下可用的支付方式集合
3848
+ */
3849
+ methods?: CommercePaymentMethodGroup[];
3850
+ };
3851
+ /**
3852
+ * 订单结果
3853
+ */
3854
+ type CommerceOrderResult = {
3855
+ /**
3856
+ * 商户订单号
3857
+ */
3858
+ trade_no?: string;
3859
+ /**
3860
+ * 订单金额
3861
+ */
3862
+ money?: string;
3863
+ /**
3864
+ * 实际支付金额
3865
+ */
3866
+ pay_money?: string;
3867
+ /**
3868
+ * 支付时间
3869
+ */
3870
+ pay_time?: string;
3871
+ /**
3872
+ * 支付状态
3873
+ */
3874
+ pay_status?: string;
3875
+ /**
3876
+ * 回调状态
3877
+ */
3878
+ notify_status?: string;
3879
+ };
3880
+ /**
3881
+ * 银行卡收款信息
3882
+ */
3883
+ type CommercePaymentCardInfo = {
3884
+ /**
3885
+ * 收款金额
3886
+ */
3887
+ amount?: string;
3888
+ /**
3889
+ * 收款人
3890
+ */
3891
+ payee?: string;
3892
+ /**
3893
+ * 收款账号
3894
+ */
3895
+ account?: string;
3896
+ /**
3897
+ * 有效时间,单位:分钟
3898
+ */
3899
+ time?: number;
3900
+ };
3901
+ /**
3902
+ * 支付方式
3903
+ */
3904
+ type CommercePaymentMethod = {
3905
+ /**
3906
+ * 支付方式名称
3907
+ */
3908
+ name?: string;
3909
+ /**
3910
+ * 支付方式类型
3911
+ */
3912
+ type?: string;
3913
+ };
3914
+ /**
3915
+ * 某个金额下可用的支付方式集合
3916
+ */
3917
+ type CommercePaymentMethodGroup = {
3918
+ /**
3919
+ * 金额
3920
+ */
3921
+ money?: string;
3922
+ /**
3923
+ * 支付方式
3924
+ */
3925
+ types?: CommercePaymentMethod[];
3926
+ };
3927
+ /**
3928
+ * 玩家支付信息
3929
+ */
3930
+ type CommercePaymentPlayerInfo = {
3931
+ /**
3932
+ * 产品 APP 名称
3933
+ */
3934
+ app?: string;
3935
+ /**
3936
+ * 玩家 ID
3937
+ */
3938
+ player_id?: string;
3939
+ /**
3940
+ * 玩家 IP
3941
+ */
3942
+ player_ip?: string;
3943
+ /**
3944
+ * 玩家设备 ID
3945
+ */
3946
+ device_id?: string;
3947
+ /**
3948
+ * 玩家设备类型:ios/android/pc
3949
+ */
3950
+ device_type?: string;
3951
+ /**
3952
+ * 玩家姓名
3953
+ */
3954
+ name?: string;
3955
+ /**
3956
+ * 玩家手机号
3957
+ */
3958
+ tel?: string;
3959
+ /**
3960
+ * 玩家付款账号
3961
+ */
3962
+ pay_act?: string;
3963
+ };
3964
+ /**
3965
+ * 支付成功回调响应
3966
+ */
3967
+ type CommercePaymentSuccessCallbackResponse = {
3968
+ /**
3969
+ * 回调成功时返回 success
3970
+ */
3971
+ ack?: string;
3972
+ };
3973
+ /**
3974
+ * 查询订单结果响应
3975
+ */
3976
+ type CommerceQueryOrderResultResponse = {
3977
+ order?: CommerceOrderResult;
3978
+ };
3979
+ /**
3980
+ * 退款回调响应
3981
+ */
3982
+ type CommerceRefundCallbackResponse = {
3983
+ /**
3984
+ * 回调成功时返回 success
3985
+ */
3986
+ ack?: string;
3987
+ };
3988
+ type ContentSeoConfig = {
3989
+ /**
3990
+ * SEO标题
3991
+ */
3992
+ title?: string;
3993
+ /**
3994
+ * SEO描述
3995
+ */
3996
+ description?: string;
3997
+ /**
3998
+ * SEO关键词
3999
+ */
4000
+ keywords?: string;
4001
+ /**
4002
+ * 是否收录:1是 0否
4003
+ */
4004
+ is_indexed?: number;
4005
+ /**
4006
+ * 是否公共配置:1是 0否
4007
+ */
4008
+ is_common?: number;
4009
+ };
4010
+ /**
4011
+ * 批量删除收藏夹响应
4012
+ */
4013
+ type InteractionBatchDeleteFoldersResponse = {
4014
+ /**
4015
+ * 删除成功的收藏夹数量
4016
+ */
4017
+ deleted_count?: number;
4018
+ /**
4019
+ * 删除失败的收藏夹ID列表
4020
+ */
4021
+ failed_folder_ids?: string[];
4022
+ };
3780
4023
  type PostApiCommunityPublishContentReqBody = {
3781
4024
  /**
3782
4025
  * 正文内容
@@ -4497,9 +4740,9 @@ type PostApiContentGetNewstVideoListReqBody = {
4497
4740
  */
4498
4741
  tags?: string[];
4499
4742
  /**
4500
- * 分类ID筛选
4743
+ * 分类ID列表筛选(批量)
4501
4744
  */
4502
- cat_id?: string;
4745
+ cat_ids?: string[];
4503
4746
  };
4504
4747
  type PostApiContentGetNewstVideoListRes = {
4505
4748
  code?: ResultCode;
@@ -4523,9 +4766,9 @@ type PostApiContentGetPopularVideoListReqBody = {
4523
4766
  */
4524
4767
  tags?: string[];
4525
4768
  /**
4526
- * 分类ID筛选
4769
+ * 分类ID列表筛选(批量)
4527
4770
  */
4528
- cat_id?: string;
4771
+ cat_ids?: string[];
4529
4772
  };
4530
4773
  type PostApiContentGetPopularVideoListRes = {
4531
4774
  code?: ResultCode;
@@ -4575,9 +4818,9 @@ type GetApiContentGetGuessYouLikeVideosQuery = {
4575
4818
  */
4576
4819
  tags?: string[];
4577
4820
  /**
4578
- * 分类ID筛选
4821
+ * 分类ID列表筛选(批量)
4579
4822
  */
4580
- cat_id?: string;
4823
+ cat_ids?: string[];
4581
4824
  };
4582
4825
  type GetApiContentGetGuessYouLikeVideosRes = {
4583
4826
  code?: ResultCode;
@@ -4649,6 +4892,28 @@ type PostApiContentGetTopRatedVideoListRes = {
4649
4892
  message?: string;
4650
4893
  data: ContentGetTopRatedVideoListResponse;
4651
4894
  };
4895
+ type GetApiContentGetSeoConfigQuery = {
4896
+ /**
4897
+ * 数据ID
4898
+ */
4899
+ data_id?: string;
4900
+ /**
4901
+ * 数据类型
4902
+ */
4903
+ data_type?: number;
4904
+ /**
4905
+ * 页面URL
4906
+ */
4907
+ url?: string;
4908
+ };
4909
+ type GetApiContentGetSeoConfigRes = {
4910
+ code?: ResultCode;
4911
+ /**
4912
+ * 响应消息
4913
+ */
4914
+ message?: string;
4915
+ data: ContentGetSeoConfigResponse;
4916
+ };
4652
4917
  type GetApiContentProcessM3u8Query = {
4653
4918
  /**
4654
4919
  * m3u8地址
@@ -5808,6 +6073,32 @@ type PostApiInteractionTrackEventsBatchRes = {
5808
6073
  */
5809
6074
  data: Record<string, any>;
5810
6075
  };
6076
+ type PostApiInteractionBatchDeleteFoldersReqBody = {
6077
+ /**
6078
+ * 应用ID
6079
+ */
6080
+ app_id?: number;
6081
+ /**
6082
+ * 用户ID
6083
+ */
6084
+ user_id?: string;
6085
+ /**
6086
+ * 收藏夹ID列表
6087
+ */
6088
+ folder_ids?: string[];
6089
+ /**
6090
+ * 是否同时删除收藏夹内的内容
6091
+ */
6092
+ delete_content?: boolean;
6093
+ };
6094
+ type PostApiInteractionBatchDeleteFoldersRes = {
6095
+ code?: ResultCode;
6096
+ /**
6097
+ * 响应消息
6098
+ */
6099
+ message?: string;
6100
+ data: InteractionBatchDeleteFoldersResponse;
6101
+ };
5811
6102
  type GetApiUserGetGuestIdentityQuery = {
5812
6103
  /**
5813
6104
  * 游客唯一标识
@@ -6220,5 +6511,144 @@ type PostApiUserRegisterByVerifyEmailCodeRes = {
6220
6511
  message?: string;
6221
6512
  data: UserRegisterByVerifyEmailCodeResponse;
6222
6513
  };
6514
+ type PostApiCommerceCreatePaymentReqBody = {
6515
+ /**
6516
+ * 支付类型:alipay/wechat/union/usdt/dyhbPay/digitalRmb
6517
+ */
6518
+ type?: string;
6519
+ /**
6520
+ * 订单金额
6521
+ */
6522
+ money?: string;
6523
+ /**
6524
+ * 商户订单号
6525
+ */
6526
+ trade_no?: string;
6527
+ info?: CommercePaymentPlayerInfo;
6528
+ /**
6529
+ * 支付模式:url/sdk/card
6530
+ */
6531
+ mode?: string;
6532
+ /**
6533
+ * 扩展参数
6534
+ */
6535
+ payload?: string;
6536
+ };
6537
+ type PostApiCommerceCreatePaymentRes = {
6538
+ code?: ResultCode;
6539
+ /**
6540
+ * 响应消息
6541
+ */
6542
+ message?: string;
6543
+ data: CommerceCreatePaymentResponse;
6544
+ };
6545
+ type GetApiCommerceQueryOrderResultQuery = {
6546
+ /**
6547
+ * 商户订单号
6548
+ */
6549
+ trade_no?: string;
6550
+ };
6551
+ type GetApiCommerceQueryOrderResultRes = {
6552
+ code?: ResultCode;
6553
+ /**
6554
+ * 响应消息
6555
+ */
6556
+ message?: string;
6557
+ data: CommerceQueryOrderResultResponse;
6558
+ };
6559
+ type PostApiCommerceGetPaymentMethodsReqBody = {
6560
+ /**
6561
+ * 金额数组
6562
+ */
6563
+ money?: string[];
6564
+ /**
6565
+ * 支付模式:url/sdk
6566
+ */
6567
+ mode?: string;
6568
+ /**
6569
+ * 扩展参数
6570
+ */
6571
+ payload?: string;
6572
+ };
6573
+ type PostApiCommerceGetPaymentMethodsRes = {
6574
+ code?: ResultCode;
6575
+ /**
6576
+ * 响应消息
6577
+ */
6578
+ message?: string;
6579
+ data: CommerceGetPaymentMethodsResponse;
6580
+ };
6581
+ type PostApiCommercePaymentSuccessCallbackReqBody = {
6582
+ /**
6583
+ * 固定值:200
6584
+ */
6585
+ code?: number;
6586
+ /**
6587
+ * 商户编号
6588
+ */
6589
+ merc_id?: string;
6590
+ /**
6591
+ * 平台订单号
6592
+ */
6593
+ oid?: string;
6594
+ /**
6595
+ * 实际到账金额
6596
+ */
6597
+ pay_money?: string;
6598
+ /**
6599
+ * 支付时间
6600
+ */
6601
+ pay_time?: string;
6602
+ /**
6603
+ * 商户订单号
6604
+ */
6605
+ trade_no?: string;
6606
+ /**
6607
+ * 签名
6608
+ */
6609
+ sign?: string;
6610
+ /**
6611
+ * 支付备注参数
6612
+ */
6613
+ payload?: string;
6614
+ };
6615
+ type PostApiCommercePaymentSuccessCallbackRes = {
6616
+ code?: ResultCode;
6617
+ /**
6618
+ * 响应消息
6619
+ */
6620
+ message?: string;
6621
+ data: CommercePaymentSuccessCallbackResponse;
6622
+ };
6623
+ type PostApiCommerceRefundCallbackReqBody = {
6624
+ /**
6625
+ * 固定值:200
6626
+ */
6627
+ code?: number;
6628
+ /**
6629
+ * 商户编号
6630
+ */
6631
+ merc_id?: string;
6632
+ /**
6633
+ * 平台订单号
6634
+ */
6635
+ oid?: string;
6636
+ /**
6637
+ * 商户订单号
6638
+ */
6639
+ trade_no?: string;
6640
+ /**
6641
+ * 签名
6642
+ */
6643
+ sign?: string;
6644
+ };
6645
+ type PostApiCommerceRefundCallbackRes = {
6646
+ code?: ResultCode;
6647
+ /**
6648
+ * 响应消息
6649
+ */
6650
+ message?: string;
6651
+ data: CommerceRefundCallbackResponse;
6652
+ };
6223
6653
  //#endregion
6224
- export { CommunityAddContentToCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFloatingBallInfo, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, 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, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, 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, Result, ResultCode, ResultGrpc, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
6654
+ export { CommerceCreatePaymentResponse, CommerceGetPaymentMethodsResponse, CommerceOrderResult, CommercePaymentCardInfo, CommercePaymentMethod, CommercePaymentMethodGroup, CommercePaymentPlayerInfo, CommercePaymentSuccessCallbackResponse, CommerceQueryOrderResultResponse, CommerceRefundCallbackResponse, CommunityAddContentToCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFloatingBallInfo, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetSeoConfigResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentSeoConfig, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, GoogleProtobufAny, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchDeleteFoldersResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, 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, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes, Result, ResultCode, ResultGrpc, Status, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
@@ -1,7 +1,7 @@
1
1
 
2
2
  //#region utils/helper.d.ts
3
3
  /**
4
- * 将像素值转换为 vw(基于 430 宽设计稿)。
4
+ * 将像素值转换为 vw(基于 390 宽设计稿)。
5
5
  * @param px 像素值。
6
6
  * @returns 转换后的 vw 字符串。
7
7
  */
@@ -1,2 +1,2 @@
1
1
 
2
- function e(e){return`${(e/430*100).toFixed(3)}vw`}function t(e){if(e)return e.trim()||void 0}function n(){typeof document<`u`&&(document.body.style.overflow=`hidden`)}function r(){typeof document<`u`&&(document.body.style.overflow=``)}export{n as disablePageScroll,r as enablePageScroll,t as normalizeClassName,e as pxToVw};
2
+ function e(e){return`${(e/390*100).toFixed(3)}vw`}function t(e){if(e)return e.trim()||void 0}function n(){typeof document<`u`&&(document.body.style.overflow=`hidden`)}function r(){typeof document<`u`&&(document.body.style.overflow=``)}export{n as disablePageScroll,r as enablePageScroll,t as normalizeClassName,e as pxToVw};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.2.1-beta.6",
4
+ "version": "0.2.1",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -55,6 +55,10 @@
55
55
  "types": "./dist/i18n.d.mts",
56
56
  "import": "./dist/i18n.mjs"
57
57
  },
58
+ "./theme-tokens": {
59
+ "types": "./dist/theme-tokens.d.mts",
60
+ "import": "./dist/theme-tokens.mjs"
61
+ },
58
62
  "./config/tailwind": {
59
63
  "types": "./config/tailwind/index.d.ts",
60
64
  "import": "./config/tailwind/index.mjs",
@@ -132,7 +136,8 @@
132
136
  "scripts": {
133
137
  "dev:web": "next dev",
134
138
  "build:web": "next build",
135
- "prebuild": "pnpm i18n:build",
139
+ "gen:theme-tokens": "node scripts/generate-theme-tokens.mjs",
140
+ "prebuild": "pnpm gen:theme-tokens && pnpm i18n:build",
136
141
  "build": "cross-env TSDOWN_ENV=production tsdown",
137
142
  "predev": "pnpm i18n:build",
138
143
  "dev": "node scripts/dev-with-i18n-watch.mjs",