@ccw-api/api 1.0.3 → 1.0.4
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/bfs.d.cts +1 -1
- package/dist/bfs.d.ts +1 -1
- package/dist/community-web-3zMKf8Ic.js +1 -0
- package/dist/community-web-DROBnJOT.cjs +1 -0
- package/dist/communityWeb.cjs +1 -1
- package/dist/communityWeb.d.cts +1 -1
- package/dist/communityWeb.d.ts +1 -1
- package/dist/communityWeb.js +1 -1
- package/dist/{extensions-D1JeVkuw.d.ts → extensions-DAv_-abd.d.ts} +4 -3
- package/dist/{extensions-BhEKLZ5I.d.cts → extensions-DdV3oh16.d.cts} +4 -3
- package/dist/{index-CDuyecw5.d.ts → index-0a1W6K_R.d.ts} +1 -1
- package/dist/{index-IcG5LsGk.d.cts → index-CGc-IRl1.d.cts} +1 -1
- package/dist/{index-CV03H74N.d.cts → index-D3txjDPB.d.cts} +2 -15
- package/dist/{index-CobjrinB.d.ts → index-DFVqKOcp.d.ts} +2 -15
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.iife.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/community-web-B7SGi5-y.cjs +0 -1
- package/dist/community-web-Dzl0mbbh.js +0 -1
package/dist/bfs.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bfsWeb } from "./index-
|
|
1
|
+
import { t as bfsWeb } from "./index-CGc-IRl1.cjs";
|
|
2
2
|
export { bfsWeb };
|
package/dist/bfs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bfsWeb } from "./index-
|
|
1
|
+
import { t as bfsWeb } from "./index-0a1W6K_R.js";
|
|
2
2
|
export { bfsWeb };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./request-CzgJtv9u.js";import{n as t,t as n}from"./queryPages-Cj4eQL4Q.js";async function r(t,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:t,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await e.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function i(t){let n={objectId:t,objectType:`STUDENT`};return await e.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function a(){return e.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function o(t){return await e.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:t}).then(e=>e.data.body)}async function s(){return await e.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function c(){return await e.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function l(){return await e.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}const u={...n,sortField:`createdAt`};async function ee(n,r=`/`,i={}){let a=t(`https://community-web.ccw.site/cloud_asset/search`,{...u,...i}),o={creatorOid:n,path:r};return await e.post(a,o).then(e=>e.data.body)}async function te(r,i,a=[`PUBLISHED`,`FOLDED`],o={sortField:`createdAt`}){let s=t(`https://community-web.ccw.site/comment/page`,{...n,...o}),c={topicId:r,parentId:i,statuses:a};return await e.post(s,c).then(e=>e.data.body)}const d={...n,sortField:`createdAt`};async function f(n,r,i,a={sortField:`createdAt`}){let o=t(`https://community-web.ccw.site/comment/page_by_topic`,{...d,...a}),s={subjectOid:n,subjectType:r,sectionType:i};return await e.post(o,s).then(e=>e.data.body)}async function p(t){let n={key:t};return await e.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function m(r,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,a),s={page:a.page,perPage:a.perPage,sortType:a.sortType,productCategory:r,source:`CCW_OFFICIAL`};return await e.post(o,s).then(e=>e.data.body)}async function h(t,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:t,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await e.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function g(t,n,r=``){let i={oid:t,accessKey:n,mode:r};return await e.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function _(t){let n={num:t};return await e.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function v(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function y(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function b(){return await e.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}const x={...n,sortField:`createdAt`};async function S(n,r={}){let i=t(`https://community-web.ccw.site/creation/page`,{...x,...r}),a={remixCreationOids:n};return await e.post(i,a).then(e=>e.data.body)}const C={...n,sortField:`createdAt`};async function w(n,r={}){let i=t(`https://community-web.ccw.site/creation/page_by_student`,{...C,...r}),a={studentOids:n};return await e.post(i,a).then(e=>e.data.body)}async function T(t){let n={num:t};return await e.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}const E={...n,sortField:`createdAt`};async function D(n,r={}){let i=t(`https://community-web.ccw.site/creation/recommend`,{...E,...r}),a={num:n,subjectType:`POTENTIAL`};return await e.post(i,a).then(e=>e.data.body)}async function O(t=4,n=8){let r={excellentCount:t,potentialCount:n};return await e.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}const k={...n,sortField:`createdAt`};async function A(n,r={}){let i=t(`https://community-web.ccw.site/creation/search/page`,{...k,...r});return await e.post(i,n).then(e=>e.data.body)}async function j(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function M(){return await e.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function N(t){let n={originUrl:t};return await e.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function P(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}const F={...n,sortField:`lastPassedAt`};async function I(n,r,i={}){let a={...F,...i},o=t(`https://community-web.ccw.site/hash_tag_creation/mine`,a),s={...a,excludeHashTag:n,statuses:r};return await e.post(o,s).then(e=>e.data.body)}async function L(t){let n={identifier:t};return await e.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}const R={...n,sortField:`createdAt`};async function z(n,r=[],i={}){let a={...R,...i},o=t(`https://community-web.ccw.site/hash_tag/managed/list`,a),s={...a,studentOid:n,excludeHashTagIds:r};return await e.post(o,s).then(e=>e.data.body)}async function B(t){let n={hashTagId:t};return await e.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function V(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/creation_donated_record/ranking_list`,{...n,...i}),o={creationOid:r};return await e.post(a,o).then(e=>e.data.body)}async function H(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function U(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function W(r,i={}){let a=t(`https://community-web.ccw.site/creation_screenshot/page`,{...n,...i}),o={subjectOid:r};return await e.post(a,o).then(e=>e.data.body)}async function G(t,n=``){let r={oid:t,inviteCode:n};return await e.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function K(){return await e.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function q(t){let n={slug:t};return await e.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function J(t){let n={length:t};return await e.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function Y(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function X(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/student/block_record/list`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function Z(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function Q(){return await e.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function ne(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function re(t){let n={studentOids:t};return await e.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function ie(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/students/list_sessions`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function ae(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function oe(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/students/reputation_score_log/page`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function se(t,n,r){let i={needGrade:t,needExtraInfo:n,fields:r};return await e.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function ce(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function le(t){let n=t;return await e.post(`https://community-web.ccw.site/students/update`,n).then(e=>e.data.body)}async function ue(){return await e.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function de(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function fe(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/subject_area/page`,{...n,...i}),o={scene:r};return await e.post(a,o).then(e=>e.data.body)}async function pe(r,i={sortField:`campaignResourceId`}){let a=t(`https://community-web.ccw.site/subject_area/page_by_channel`,{...n,...i}),o={channel:r,scene:`CUSTOM_PAGE`};return await e.post(a,o).then(e=>e.data.body)}async function me(t){let n={taskOid:t};return await e.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function he(){return await e.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function ge(t){let n={oid:t};return await e.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function _e(){return await e.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function ve(){return await e.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function ye(){return await e.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function be(){return await e.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function xe(r=`ENABLED`,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/emoji/page`,a),s={page:a.page,perPage:a.perPage,status:r};return await e.post(o,s).then(e=>e.data.body)}async function Se(t){let n={actionId:t};return await e.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function Ce(){return await e.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function we(t){let n={advertisementId:t};return await e.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Te(t){let n={accountOid:t};return await e.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function Ee(t){let n={studentNumber:t};return await e.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function De(r=`COMMENT_TO_ME`,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/notification/page`,a),s={notifyGroup:r,page:a.page};return await e.post(o,s).then(e=>e.data.body)}async function Oe(t=!0){let n={countAll:t};return await e.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function ke(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/typical_project/page`,{...n,...i}),o={studentOid:r,templateType:`APPLICATION`};return await e.post(a,o).then(e=>e.data.body)}async function Ae(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function je(r={sortField:`updatedAt`},i=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],a=!1){let o=t(`https://community-web.ccw.site/creation/own/page`,{...n,...r}),s={statuses:i,ignoreTypicalProject:a};return await e.post(o,s).then(e=>e.data.body)}async function Me(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function Ne(t,n=`MEMBER`){let r={creationOid:t,authority:n};return await e.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Pe(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function Fe(t,n){let r={creationOid:t,authorities:n};return await e.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function Ie(r,i,a={sortField:`createdAt`}){let o=t(`https://community-web.ccw.site/creation/teamwork_log/page`,{...n,...a}),s={creationId:r,operateTargets:i},c=await e.post(o,s).then(e=>e.data.body),{data:l}=c,u=l.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...c,data:u}}async function Le(t,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:t,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await e.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function Re(t){return await e.post(`https://community-web.ccw.site/creation/submit`,t).then(e=>e.data.body)}async function ze(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function Be(t,n,r=`86`){let i={phone:t,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await e.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function Ve(t,n){let r={newPassword:t,code:n};return await e.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function He(t=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:t,ruleCode:r};return await e.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function Ue(t,n){let r={creationOid:t,memberSplitDetails:n};return await e.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function We(t){let n={creationOid:t},r=await e.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function Ge(t){let n={creationOid:t,type:`DAY`};return await e.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function Ke(r,i={sortField:`submittedAt`}){let a=t(`https://community-web.ccw.site/creation_release/page`,{...n,...i}),o={creationOid:r};return await e.post(a,o).then(e=>e.data.body)}async function qe(t,n){let r={creationOid:t,creationReleaseOid:n};return await e.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function Je(r,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/historical_team_member/page`,a),s={creationOid:r,page:a.page,perPage:a.perPage};return await e.post(o,s).then(e=>e.data.body)}async function Ye(t){let n={shortUrlCode:t};return await e.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function Xe(){return await e.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function Ze(){return await e.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function Qe(t,n){let r={projectId:t,variables:n};return await e.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function $e(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function et(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function tt(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function $(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function nt(t,n,r){n.outline??=`foo`;let i={content:t,topic:n,sectionType:r};return await e.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function rt(t){let n={commentId:t};return await e.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function it(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/student/following/page`,{...n,...i}),o={studentOid:r};return await e.post(a,o).then(e=>e.data.body)}async function at(t,n,r=`CREATION`){let i={bucks:t,objectId:n,objectType:r};return await e.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function ot(r=5,i={}){let a={...n,...i},o=t(`https://community-web.ccw.site/user_package/user_product`,a),s={page:a.page,perPage:a.perPage,sortType:a.sortType,productCategory:r};return await e.post(o,s).then(e=>e.data.body)}async function st(t,n){let r={status:n,id:t};return await e.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function ct(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function lt(t,n,r,i,a=`CREATION`){let o={bizId:t,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await e.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function ut(t){let n={id:t};return await e.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function dt(t){let n={id:t};return await e.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function ft(t,n=`CREATION`){let r={bizId:t,bizType:n};return await e.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function pt(t,n){let r={playingCreationOid:t,userOid:n};return await e.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function mt(t,n){let r={playingCreationOid:t,creationOid:n};return await e.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function ht(t){let n={followingOid:t};return await e.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function gt(t){let n={followingOid:t};return await e.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}const _t={acceptAward:me,bindStudentPhone:Be,changeStudentPassword:Ve,createCreation:h,donateTrade:at,encodeShortCode:r,executeSmartContract:lt,fetchMemberInviteToken:Ne,fetchObserverInviteToken:Me,createCloudVariable:Qe,createComment:nt,createShortUrl:N,createSmsCaptchaBySession:He,createSplitRule:Ue,decompressShortUrl:Ye,deleteComment:$,foldComment:et,followCreator:ht,unfollowCreator:gt,getApprovalTags:i,getCampaignResources:o,getCcwMainStatus:Ze,getCheckInRecords:s,getCodeProfilingDetail:qe,getCommentReplies:te,getCommentsByTopic:f,getConfigDetail:p,getCreationActivityStatsList:Ge,getCreationAttributeDetail:We,getCreationDetail:g,getCreationFavoriteDetail:H,getCreationIntroduction:v,getConnectCommunityCreationLikeStatus:mt,getCreationRecommendPositionList:U,getCreationReleasePage:Ke,getCreationScreenshotPage:W,getCreationStudentDetail:j,getCreationTags:M,getCreatorScore:Q,getDonatedRecordRanking:V,getExcellentCreations:_,getConnectCommunityFollowingStatus:pt,getEmojiCategoryList:be,getEmojiPage:xe,getAllEmojis:ye,getHashTagDetail:L,getHashTagFavoriteDetail:B,getHistoricalTeamMemberPage:Je,getManagedHashTags:z,getHealthCheck:Ce,getLeafletsItemList:we,getLikeDetail:y,getLoadingTips:b,getLockedUserDetail:Te,getMutedUserDetail:Ee,getMyHashTagCreations:I,getMyTasks:he,getNotifyDeleteReasons:K,getNotificationPage:De,getNotificationStats:Oe,getOwnCreationPage:je,getPersonalCurrencyAccount:ve,getPlanetsOfCreation:P,getPostDetail:q,getPotentialCreations:T,getRecommendCreations:D,getRecommendCreators:O,getRecommendHashTags:Xe,getRemixedCreationPage:S,getReputationScoreLogPage:oe,getSearchHotWords:J,getSmartContractAccount:ut,getSmartContractDetail:dt,getSmartContractList:ft,getSplitRuleDetail:ze,getSpreadFeedUnreadCount:de,getStudentBlockRecordDetail:Y,getStudentBlockRecordList:X,getStudentBlockStatus:Z,getStudentFollowingPage:it,getStudentLastActiveAt:ne,getStudentProfile:ae,getStudentSelfDetail:se,getStudentSessions:ie,getStudentsList:re,getStudentStats:ce,getStudyCommunityMemberDetail:ue,getSubjectAreaPage:fe,getSubjectAreaPageByChannel:pe,getTeamMemberList:Fe,getTeamworkLogPage:Ie,getTime:a,getTypicalProjectPage:ke,getTypicalProjectUnreadCount:Ae,getUserAssetStorageSize:l,getUserCardDetail:ge,getUserLabelList:_e,getUserProductsPage:ot,queryMallProducts:m,getCreationsByStudent:w,insertCheckInRecord:c,likeComment:rt,produceTeamMemberTicket:Pe,resetCommentWeight:tt,searchCloudAssets:ee,searchCreationsByTag:A,sendEvent:Se,setUserProductStatus:st,submitCreation:Re,topComment:$e,updateCreation:Le,updateGreatCreation:ct,updateStudent:le,viewCreationStats:G};export{_t as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./request-CIq4GGVU.cjs"),t=require("./queryPages-CfywLB4S.cjs");async function n(t,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:t,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await e.t.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function r(t){let n={objectId:t,objectType:`STUDENT`};return await e.t.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function i(){return e.t.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function a(t){return await e.t.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:t}).then(e=>e.data.body)}async function o(){return await e.t.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function s(){return await e.t.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function c(){return await e.t.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}const l={...t.t,sortField:`createdAt`};async function u(n,r=`/`,i={}){let a={...l,...i},o=t.n(`https://community-web.ccw.site/cloud_asset/search`,a),s={creatorOid:n,path:r};return await e.t.post(o,s).then(e=>e.data.body)}async function d(n,r,i=[`PUBLISHED`,`FOLDED`],a={sortField:`createdAt`}){let o={...t.t,...a},s=t.n(`https://community-web.ccw.site/comment/page`,o),c={topicId:n,parentId:r,statuses:i};return await e.t.post(s,c).then(e=>e.data.body)}const f={...t.t,sortField:`createdAt`};async function p(n,r,i,a={sortField:`createdAt`}){let o={...f,...a},s=t.n(`https://community-web.ccw.site/comment/page_by_topic`,o),c={subjectOid:n,subjectType:r,sectionType:i};return await e.t.post(s,c).then(e=>e.data.body)}async function m(t){let n={key:t};return await e.t.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function h(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,i),o={page:i.page,perPage:i.perPage,sortType:i.sortType,productCategory:n,source:`CCW_OFFICIAL`};return await e.t.post(a,o).then(e=>e.data.body)}async function g(t,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:t,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await e.t.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function _(t,n,r=``){let i={oid:t,accessKey:n,mode:r};return await e.t.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function v(t){let n={num:t};return await e.t.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function y(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function b(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function x(){return await e.t.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}const S={...t.t,sortField:`createdAt`};async function C(n,r={}){let i={...S,...r},a=t.n(`https://community-web.ccw.site/creation/page`,i),o={remixCreationOids:n};return await e.t.post(a,o).then(e=>e.data.body)}const w={...t.t,sortField:`createdAt`};async function T(n,r={}){let i={...w,...r},a=t.n(`https://community-web.ccw.site/creation/page_by_student`,i),o={studentOids:n};return await e.t.post(a,o).then(e=>e.data.body)}async function E(t){let n={num:t};return await e.t.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}const D={...t.t,sortField:`createdAt`};async function O(n,r={}){let i={...D,...r},a=t.n(`https://community-web.ccw.site/creation/recommend`,i),o={num:n,subjectType:`POTENTIAL`};return await e.t.post(a,o).then(e=>e.data.body)}async function k(t=4,n=8){let r={excellentCount:t,potentialCount:n};return await e.t.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}const A={...t.t,sortField:`createdAt`};async function j(n,r={}){let i={...A,...r},a=t.n(`https://community-web.ccw.site/creation/search/page`,i);return await e.t.post(a,n).then(e=>e.data.body)}async function M(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function N(){return await e.t.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function P(t){let n={originUrl:t};return await e.t.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function F(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}const I={...t.t,sortField:`lastPassedAt`};async function L(n,r,i={}){let a={...I,...i},o=t.n(`https://community-web.ccw.site/hash_tag_creation/mine`,a),s={...a,excludeHashTag:n,statuses:r};return await e.t.post(o,s).then(e=>e.data.body)}async function R(t){let n={identifier:t};return await e.t.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}const z={...t.t,sortField:`createdAt`};async function B(n,r=[],i={}){let a={...z,...i},o=t.n(`https://community-web.ccw.site/hash_tag/managed/list`,a),s={...a,studentOid:n,excludeHashTagIds:r};return await e.t.post(o,s).then(e=>e.data.body)}async function V(t){let n={hashTagId:t};return await e.t.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function H(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_donated_record/ranking_list`,i),o={creationOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function U(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function W(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function G(n,r={}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_screenshot/page`,i),o={subjectOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function K(t,n=``){let r={oid:t,inviteCode:n};return await e.t.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function q(){return await e.t.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function J(t){let n={slug:t};return await e.t.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function Y(t){let n={length:t};return await e.t.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function X(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function Z(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/student/block_record/list`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function Q(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function $(){return await e.t.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function ee(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function te(t){let n={studentOids:t};return await e.t.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function ne(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/students/list_sessions`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function re(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function ie(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/students/reputation_score_log/page`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function ae(t,n,r){let i={needGrade:t,needExtraInfo:n,fields:r};return await e.t.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function oe(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function se(t){let n=t;return await e.t.post(`https://community-web.ccw.site/students/update`,n).then(e=>e.data.body)}async function ce(){return await e.t.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function le(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function ue(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/subject_area/page`,i),o={scene:n};return await e.t.post(a,o).then(e=>e.data.body)}async function de(n,r={sortField:`campaignResourceId`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/subject_area/page_by_channel`,i),o={channel:n,scene:`CUSTOM_PAGE`};return await e.t.post(a,o).then(e=>e.data.body)}async function fe(t){let n={taskOid:t};return await e.t.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function pe(){return await e.t.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function me(t){let n={oid:t};return await e.t.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function he(){return await e.t.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function ge(){return await e.t.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function _e(){return await e.t.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function ve(){return await e.t.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function ye(n=`ENABLED`,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/emoji/page`,i),o={page:i.page,perPage:i.perPage,status:n};return await e.t.post(a,o).then(e=>e.data.body)}async function be(t){let n={actionId:t};return await e.t.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function xe(){return await e.t.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function Se(t){let n={advertisementId:t};return await e.t.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Ce(t){let n={accountOid:t};return await e.t.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function we(t){let n={studentNumber:t};return await e.t.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function Te(n=`COMMENT_TO_ME`,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/notification/page`,i),o={notifyGroup:n,page:i.page};return await e.t.post(a,o).then(e=>e.data.body)}async function Ee(t=!0){let n={countAll:t};return await e.t.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function De(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/typical_project/page`,i),o={studentOid:n,templateType:`APPLICATION`};return await e.t.post(a,o).then(e=>e.data.body)}async function Oe(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function ke(n={sortField:`updatedAt`},r=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],i=!1){let a={...t.t,...n},o=t.n(`https://community-web.ccw.site/creation/own/page`,a),s={statuses:r,ignoreTypicalProject:i};return await e.t.post(o,s).then(e=>e.data.body)}async function Ae(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function je(t,n=`MEMBER`){let r={creationOid:t,authority:n};return await e.t.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Me(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function Ne(t,n){let r={creationOid:t,authorities:n};return await e.t.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function Pe(n,r,i={sortField:`createdAt`}){let a={...t.t,...i},o=t.n(`https://community-web.ccw.site/creation/teamwork_log/page`,a),s={creationId:n,operateTargets:r},c=await e.t.post(o,s).then(e=>e.data.body),{data:l}=c,u=l.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...c,data:u}}async function Fe(t,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:t,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await e.t.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function Ie(t){return await e.t.post(`https://community-web.ccw.site/creation/submit`,t).then(e=>e.data.body)}async function Le(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function Re(t,n,r=`86`){let i={phone:t,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await e.t.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function ze(t,n){let r={newPassword:t,code:n};return await e.t.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function Be(t=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:t,ruleCode:r};return await e.t.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function Ve(t,n){let r={creationOid:t,memberSplitDetails:n};return await e.t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function He(t){let n={creationOid:t},r=await e.t.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function Ue(t){let n={creationOid:t,type:`DAY`};return await e.t.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function We(n,r={sortField:`submittedAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_release/page`,i),o={creationOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function Ge(t,n){let r={creationOid:t,creationReleaseOid:n};return await e.t.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function Ke(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/historical_team_member/page`,i),o={creationOid:n,page:i.page,perPage:i.perPage};return await e.t.post(a,o).then(e=>e.data.body)}async function qe(t){let n={shortUrlCode:t};return await e.t.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function Je(){return await e.t.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function Ye(){return await e.t.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function Xe(t,n){let r={projectId:t,variables:n};return await e.t.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function Ze(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function Qe(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function $e(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function et(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function tt(t,n,r){n.outline??=`foo`;let i={content:t,topic:n,sectionType:r};return await e.t.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function nt(t){let n={commentId:t};return await e.t.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function rt(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/student/following/page`,i),o={studentOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function it(t,n,r=`CREATION`){let i={bucks:t,objectId:n,objectType:r};return await e.t.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function at(n=5,r={}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/user_package/user_product`,i),o={page:i.page,perPage:i.perPage,sortType:i.sortType,productCategory:n};return await e.t.post(a,o).then(e=>e.data.body)}async function ot(t,n){let r={status:n,id:t};return await e.t.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function st(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function ct(t,n,r,i,a=`CREATION`){let o={bizId:t,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await e.t.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function lt(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function ut(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function dt(t,n=`CREATION`){let r={bizId:t,bizType:n};return await e.t.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function ft(t,n){let r={playingCreationOid:t,userOid:n};return await e.t.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function pt(t,n){let r={playingCreationOid:t,creationOid:n};return await e.t.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function mt(t){let n={followingOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function ht(t){let n={followingOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}const gt={acceptAward:fe,bindStudentPhone:Re,changeStudentPassword:ze,createCreation:g,donateTrade:it,encodeShortCode:n,executeSmartContract:ct,fetchMemberInviteToken:je,fetchObserverInviteToken:Ae,createCloudVariable:Xe,createComment:tt,createShortUrl:P,createSmsCaptchaBySession:Be,createSplitRule:Ve,decompressShortUrl:qe,deleteComment:et,foldComment:Qe,followCreator:mt,unfollowCreator:ht,getApprovalTags:r,getCampaignResources:a,getCcwMainStatus:Ye,getCheckInRecords:o,getCodeProfilingDetail:Ge,getCommentReplies:d,getCommentsByTopic:p,getConfigDetail:m,getCreationActivityStatsList:Ue,getCreationAttributeDetail:He,getCreationDetail:_,getCreationFavoriteDetail:U,getCreationIntroduction:y,getConnectCommunityCreationLikeStatus:pt,getCreationRecommendPositionList:W,getCreationReleasePage:We,getCreationScreenshotPage:G,getCreationStudentDetail:M,getCreationTags:N,getCreatorScore:$,getDonatedRecordRanking:H,getExcellentCreations:v,getConnectCommunityFollowingStatus:ft,getEmojiCategoryList:ve,getEmojiPage:ye,getAllEmojis:_e,getHashTagDetail:R,getHashTagFavoriteDetail:V,getHistoricalTeamMemberPage:Ke,getManagedHashTags:B,getHealthCheck:xe,getLeafletsItemList:Se,getLikeDetail:b,getLoadingTips:x,getLockedUserDetail:Ce,getMutedUserDetail:we,getMyHashTagCreations:L,getMyTasks:pe,getNotifyDeleteReasons:q,getNotificationPage:Te,getNotificationStats:Ee,getOwnCreationPage:ke,getPersonalCurrencyAccount:ge,getPlanetsOfCreation:F,getPostDetail:J,getPotentialCreations:E,getRecommendCreations:O,getRecommendCreators:k,getRecommendHashTags:Je,getRemixedCreationPage:C,getReputationScoreLogPage:ie,getSearchHotWords:Y,getSmartContractAccount:lt,getSmartContractDetail:ut,getSmartContractList:dt,getSplitRuleDetail:Le,getSpreadFeedUnreadCount:le,getStudentBlockRecordDetail:X,getStudentBlockRecordList:Z,getStudentBlockStatus:Q,getStudentFollowingPage:rt,getStudentLastActiveAt:ee,getStudentProfile:re,getStudentSelfDetail:ae,getStudentSessions:ne,getStudentsList:te,getStudentStats:oe,getStudyCommunityMemberDetail:ce,getSubjectAreaPage:ue,getSubjectAreaPageByChannel:de,getTeamMemberList:Ne,getTeamworkLogPage:Pe,getTime:i,getTypicalProjectPage:De,getTypicalProjectUnreadCount:Oe,getUserAssetStorageSize:c,getUserCardDetail:me,getUserLabelList:he,getUserProductsPage:at,queryMallProducts:h,getCreationsByStudent:T,insertCheckInRecord:s,likeComment:nt,produceTeamMemberTicket:Me,resetCommentWeight:$e,searchCloudAssets:u,searchCreationsByTag:j,sendEvent:be,setUserProductStatus:ot,submitCreation:Ie,topComment:Ze,updateCreation:Fe,updateGreatCreation:st,updateStudent:se,viewCreationStats:K};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return gt}});
|
package/dist/communityWeb.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./community-web-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./community-web-DROBnJOT.cjs");exports.communityWeb=e.t;
|
package/dist/communityWeb.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as communityWeb } from "./index-
|
|
1
|
+
import { t as communityWeb } from "./index-D3txjDPB.cjs";
|
|
2
2
|
export { communityWeb };
|
package/dist/communityWeb.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as communityWeb } from "./index-
|
|
1
|
+
import { t as communityWeb } from "./index-DFVqKOcp.js";
|
|
2
2
|
export { communityWeb };
|
package/dist/communityWeb.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./community-web-
|
|
1
|
+
import{t as e}from"./community-web-3zMKf8Ic.js";export{e as communityWeb};
|
|
@@ -372,7 +372,8 @@ interface StudentFollowerStats {
|
|
|
372
372
|
followerCount: number;
|
|
373
373
|
followingCount: number;
|
|
374
374
|
}
|
|
375
|
-
|
|
375
|
+
type StudentUpdateReq = Partial<{
|
|
376
|
+
avatar: string;
|
|
376
377
|
birthday: number;
|
|
377
378
|
fullName: string;
|
|
378
379
|
gender: string;
|
|
@@ -382,7 +383,7 @@ interface StudentUpdateReq {
|
|
|
382
383
|
programmingCapability: string;
|
|
383
384
|
qq: string;
|
|
384
385
|
school: string;
|
|
385
|
-
}
|
|
386
|
+
}>;
|
|
386
387
|
declare namespace creation_d_exports {
|
|
387
388
|
export { Creation, CreationMinimal, CreationRelease, CreationScreenMode, CreationScreenshot, CreationSimple, CreationStatus, CreationTag, DonatedRecord, FavoriteDetail, KBDLayout, LikeActions, LoadingTip, ReleaseTag, SourceOpenLevel, TeamMemberResp, TeamworkStatus, UserLikeDetail };
|
|
388
389
|
}
|
|
@@ -614,4 +615,4 @@ interface ExtensionVersion {
|
|
|
614
615
|
}
|
|
615
616
|
type ExtensionApproveStatus = "PENDING" | "APPROVED" | "REJECTED";
|
|
616
617
|
//#endregion
|
|
617
|
-
export {
|
|
618
|
+
export { userData_d_exports as A, StudentListItem as C, StudentSimple as D, StudentSelfDetailFields as E, approval_d_exports as M, StudentUpdateReq as O, StudentFollowerStats as S, StudentSelfDetail as T, creation_d_exports as _, CreationScreenMode as a, ReputationScoreLog as b, CreationStatus as c, FavoriteDetail as d, KBDLayout as f, UserLikeDetail as g, SourceOpenLevel as h, CreationRelease as i, ApprovalTag as j, UserLabels as k, CreationTag as l, ReleaseTag as m, Creation as n, CreationScreenshot as o, LoadingTip as p, CreationMinimal as r, CreationSimple as s, Extension as t, DonatedRecord as u, CreatorScore as v, StudentProfile as w, Student as x, OtherUser as y };
|
|
@@ -372,7 +372,8 @@ interface StudentFollowerStats {
|
|
|
372
372
|
followerCount: number;
|
|
373
373
|
followingCount: number;
|
|
374
374
|
}
|
|
375
|
-
|
|
375
|
+
type StudentUpdateReq = Partial<{
|
|
376
|
+
avatar: string;
|
|
376
377
|
birthday: number;
|
|
377
378
|
fullName: string;
|
|
378
379
|
gender: string;
|
|
@@ -382,7 +383,7 @@ interface StudentUpdateReq {
|
|
|
382
383
|
programmingCapability: string;
|
|
383
384
|
qq: string;
|
|
384
385
|
school: string;
|
|
385
|
-
}
|
|
386
|
+
}>;
|
|
386
387
|
declare namespace creation_d_exports {
|
|
387
388
|
export { Creation, CreationMinimal, CreationRelease, CreationScreenMode, CreationScreenshot, CreationSimple, CreationStatus, CreationTag, DonatedRecord, FavoriteDetail, KBDLayout, LikeActions, LoadingTip, ReleaseTag, SourceOpenLevel, TeamMemberResp, TeamworkStatus, UserLikeDetail };
|
|
388
389
|
}
|
|
@@ -614,4 +615,4 @@ interface ExtensionVersion {
|
|
|
614
615
|
}
|
|
615
616
|
type ExtensionApproveStatus = "PENDING" | "APPROVED" | "REJECTED";
|
|
616
617
|
//#endregion
|
|
617
|
-
export {
|
|
618
|
+
export { userData_d_exports as A, StudentListItem as C, StudentSimple as D, StudentSelfDetailFields as E, approval_d_exports as M, StudentUpdateReq as O, StudentFollowerStats as S, StudentSelfDetail as T, creation_d_exports as _, CreationScreenMode as a, ReputationScoreLog as b, CreationStatus as c, FavoriteDetail as d, KBDLayout as f, UserLikeDetail as g, SourceOpenLevel as h, CreationRelease as i, ApprovalTag as j, UserLabels as k, CreationTag as l, ReleaseTag as m, Creation as n, CreationScreenshot as o, LoadingTip as p, CreationMinimal as r, CreationSimple as s, Extension as t, DonatedRecord as u, CreatorScore as v, StudentProfile as w, Student as x, OtherUser as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as MongoDBId } from "./api-DK7ohLa7.js";
|
|
2
|
-
import { t as Extension } from "./extensions-
|
|
2
|
+
import { t as Extension } from "./extensions-DAv_-abd.js";
|
|
3
3
|
import { n as PagesRes, t as PageArgs } from "./pages-K5jlky49.js";
|
|
4
4
|
//#region src/bfs-web/users/{oid}/extensions.d.ts
|
|
5
5
|
type Res$1 = PagesRes<Extension>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as MongoDBId } from "./api-DK7ohLa7.cjs";
|
|
2
|
-
import { t as Extension } from "./extensions-
|
|
2
|
+
import { t as Extension } from "./extensions-DdV3oh16.cjs";
|
|
3
3
|
import { n as PagesRes, t as PageArgs } from "./pages-K5jlky49.cjs";
|
|
4
4
|
//#region src/bfs-web/users/{oid}/extensions.d.ts
|
|
5
5
|
type Res$1 = PagesRes<Extension>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UUID, n as MongoDBId, o as __exportAll, r as OriginOssUrl, t as CNameOssUrl } from "./api-DK7ohLa7.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as StudentListItem, D as StudentSimple, E as StudentSelfDetailFields, O as StudentUpdateReq, S as StudentFollowerStats, T as StudentSelfDetail, a as CreationScreenMode, b as ReputationScoreLog, c as CreationStatus, d as FavoriteDetail, f as KBDLayout, g as UserLikeDetail, h as SourceOpenLevel, i as CreationRelease, j as ApprovalTag, k as UserLabels, l as CreationTag, m as ReleaseTag, n as Creation, o as CreationScreenshot, p as LoadingTip, r as CreationMinimal, s as CreationSimple, u as DonatedRecord, v as CreatorScore, w as StudentProfile, x as Student, y as OtherUser } from "./extensions-DdV3oh16.cjs";
|
|
3
3
|
import { t as AccountTypes } from "./account-_e06LVHE.cjs";
|
|
4
4
|
import { n as PagesRes, t as PageArgs } from "./pages-K5jlky49.cjs";
|
|
5
5
|
import { n as StudentSession } from "./session-D8sffvmq.cjs";
|
|
@@ -885,20 +885,7 @@ declare function getStudentStats(studentOid: MongoDBId): Promise<Res$63>;
|
|
|
885
885
|
//#endregion
|
|
886
886
|
//#region src/community-web/students/update.d.ts
|
|
887
887
|
type Res$62 = boolean;
|
|
888
|
-
|
|
889
|
-
* 更新学生个人信息
|
|
890
|
-
* @param {string} gender 性别
|
|
891
|
-
* @param {boolean} hideGender 是否隐藏性别
|
|
892
|
-
* @param {string} fullName 全名
|
|
893
|
-
* @param {number} birthday 生日时间戳
|
|
894
|
-
* @param {string} programmingCapability 编程能力
|
|
895
|
-
* @param {string} school 学校
|
|
896
|
-
* @param {string} qq QQ号
|
|
897
|
-
* @param {string} hobbies 爱好
|
|
898
|
-
* @param {string} learnedProgrammingLanguages 学过的编程语言
|
|
899
|
-
* @returns {Promise<boolean>} 是否更新成功
|
|
900
|
-
*/
|
|
901
|
-
declare function updateStudent(gender: string, hideGender: boolean, fullName: string, birthday: number, programmingCapability: string, school: string, qq: string, hobbies: string, learnedProgrammingLanguages: string): Promise<Res$62>;
|
|
888
|
+
declare function updateStudent(profile: StudentUpdateReq): Promise<Res$62>;
|
|
902
889
|
//#endregion
|
|
903
890
|
//#region src/community-web/study-community/member/detail.d.ts
|
|
904
891
|
type Res$61 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UUID, n as MongoDBId, o as __exportAll, r as OriginOssUrl, t as CNameOssUrl } from "./api-DK7ohLa7.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as StudentListItem, D as StudentSimple, E as StudentSelfDetailFields, O as StudentUpdateReq, S as StudentFollowerStats, T as StudentSelfDetail, a as CreationScreenMode, b as ReputationScoreLog, c as CreationStatus, d as FavoriteDetail, f as KBDLayout, g as UserLikeDetail, h as SourceOpenLevel, i as CreationRelease, j as ApprovalTag, k as UserLabels, l as CreationTag, m as ReleaseTag, n as Creation, o as CreationScreenshot, p as LoadingTip, r as CreationMinimal, s as CreationSimple, u as DonatedRecord, v as CreatorScore, w as StudentProfile, x as Student, y as OtherUser } from "./extensions-DAv_-abd.js";
|
|
3
3
|
import { t as AccountTypes } from "./account-_e06LVHE.js";
|
|
4
4
|
import { n as PagesRes, t as PageArgs } from "./pages-K5jlky49.js";
|
|
5
5
|
import { n as StudentSession } from "./session-Cw37kR-m.js";
|
|
@@ -885,20 +885,7 @@ declare function getStudentStats(studentOid: MongoDBId): Promise<Res$63>;
|
|
|
885
885
|
//#endregion
|
|
886
886
|
//#region src/community-web/students/update.d.ts
|
|
887
887
|
type Res$62 = boolean;
|
|
888
|
-
|
|
889
|
-
* 更新学生个人信息
|
|
890
|
-
* @param {string} gender 性别
|
|
891
|
-
* @param {boolean} hideGender 是否隐藏性别
|
|
892
|
-
* @param {string} fullName 全名
|
|
893
|
-
* @param {number} birthday 生日时间戳
|
|
894
|
-
* @param {string} programmingCapability 编程能力
|
|
895
|
-
* @param {string} school 学校
|
|
896
|
-
* @param {string} qq QQ号
|
|
897
|
-
* @param {string} hobbies 爱好
|
|
898
|
-
* @param {string} learnedProgrammingLanguages 学过的编程语言
|
|
899
|
-
* @returns {Promise<boolean>} 是否更新成功
|
|
900
|
-
*/
|
|
901
|
-
declare function updateStudent(gender: string, hideGender: boolean, fullName: string, birthday: number, programmingCapability: string, school: string, qq: string, hobbies: string, learnedProgrammingLanguages: string): Promise<Res$62>;
|
|
888
|
+
declare function updateStudent(profile: StudentUpdateReq): Promise<Res$62>;
|
|
902
889
|
//#endregion
|
|
903
890
|
//#region src/community-web/study-community/member/detail.d.ts
|
|
904
891
|
type Res$61 = {
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./request-CIq4GGVU.cjs"),t=require("./sso-CLU8Ir_K.cjs"),n=require("./community-web-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./request-CIq4GGVU.cjs"),t=require("./sso-CLU8Ir_K.cjs"),n=require("./community-web-DROBnJOT.cjs"),r=require("./gandi-main-CVC31Jom.cjs"),i=require("./bfs-web-BtWTiGvL.cjs"),a=require("./community-web-cloud-database-BkH9wp1u.cjs"),o=require("./op-parent-api-BZbZzfJ6.cjs");var s={sso:t.t,communityWeb:n.t,gandiMain:r.t,bfsWeb:i.t,communityWebCloudDatabase:a.t,opParentApi:o.t};exports.bfsWeb=i.t,exports.communityWeb=n.t,exports.communityWebCloudDatabase=a.t,exports.default=s,exports.gandiMain=r.t,exports.opParentApi=o.t,exports.setRequestUtils=e.n,exports.sso=t.t;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as api_d_exports } from "./api-DK7ohLa7.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { A as userData_d_exports, M as approval_d_exports, _ as creation_d_exports } from "./extensions-DdV3oh16.cjs";
|
|
3
3
|
import { n as account_d_exports } from "./account-_e06LVHE.cjs";
|
|
4
4
|
import { i as pages_d_exports } from "./pages-K5jlky49.cjs";
|
|
5
|
-
import { n as donateExtension, r as getUserExtensions, t as bfsWeb } from "./index-
|
|
5
|
+
import { n as donateExtension, r as getUserExtensions, t as bfsWeb } from "./index-CGc-IRl1.cjs";
|
|
6
6
|
import { i as saveUserCloudVariable, n as getCloudVariableDetailV2, r as saveProjectCloudVariable, t as communityWebCloudDatabase } from "./index-sOyHrix1.cjs";
|
|
7
|
-
import { $ as sendEvent, $t as queryMallProducts, A as createSplitRule, At as getCreationFavoriteDetail, B as fetchMemberInviteToken, Bt as getCreationStudentDetail, C as getRecommendHashTags, Ct as getStudentBlockRecordDetail, D as getCreationReleasePage, Dt as viewCreationStats, E as getCodeProfilingDetail, Et as getNotifyDeleteReasons, F as submitCreation, Ft as getMyHashTagCreations, G as getNotificationStats, Gt as getCreationsByStudent, H as getOwnCreationPage, Ht as getRecommendCreators, I as updateCreation, It as getPlanetsOfCreation, J as notificationContent_d_exports, Jt as getLikeDetail, K as getNotificationPage, Kt as getRemixedCreationPage, L as getTeamworkLogPage, Lt as hashTag_d_exports, M as changeStudentPassword, Mt as getHashTagFavoriteDetail, N as bindStudentPhone, Nt as getManagedHashTags, O as getCreationActivityStatsList, Ot as getCreationScreenshotPage, P as getSplitRuleDetail, Pt as getHashTagDetail, Q as getHealthCheck, Qt as createCreation, R as getTeamMemberList, Rt as createShortUrl, S as getCCWMainStatus, St as getStudentBlockRecordList, T as getHistoricalTeamMemberPage, Tt as getPostDetail, U as getTypicalProjectUnreadCount, Ut as getRecommendCreations, V as fetchObserverInviteToken, Vt as searchCreationsByTag, W as getTypicalProjectPage, Wt as getPotentialCreations, X as getLockedUserDetail, Xt as getExcellentCreations, Y as getMutedUserDetail, Yt as getCreationIntroduction, Z as getLeafletsItemList, Zt as getCreationDetail, _ as deleteComment, _t as getStudentSessions, a as getConnectCommunityFollowingStatus, an as searchCloudAssets, at as getUserCardDetail, b as topComment, bt as getCreatorScore, c as executeSmartContract, cn as getCheckInRecords, ct as getSubjectAreaPageByChannel, d as setUserProductStatus, dn as getApprovalTags, dt as getStudyCommunityMemberDetail, en as mall_d_exports, et as getEmojiPage, f as getUserProductsPage, fn as encodeShortCode, ft as updateStudent, g as createComment, gt as getStudentProfile, h as likeComment, ht as getReputationScoreLog, i as getConnectCommunityCreationLikeStatus, in as comment_d_exports, it as getUserLabelList, j as createSmsCaptchaBySession, jt as getDonatedRecordRanking, k as getCreationAttributeDetail, kt as getCreationRecommendPositionList, l as getSmartContractList, ln as getCampaignResources, lt as getSubjectAreaPage, m as getStudentFollowingPage, mt as getStudentSelfDetail, n as unfollowCreator, nn as getCommentsByTopic, nt as getAllEmojis, o as getSmartContractDetail, on as getUserAssetStorageSize, ot as getMyTasks, p as donateTrade, pt as getStudentStats, q as notification_d_exports, qt as getLoadingTips, r as followCreator, rn as getCommentReplies, rt as getPersonalCurrencyAccount, s as getSmartContractAccount, sn as insertCheckInRecord, st as acceptAward, t as communityWeb, tn as getConfigDetail, tt as getEmojiCategoryList, u as updateGreatCreation, un as getTime, ut as getSpreadFeedUnreadCount, v as resetCommentWeight, vt as getStudentsList, w as decompressShortUrl, wt as getSearchHotWords, x as createCloudVariable, xt as getStudentBlockStatus, y as foldComment, yt as getStudentLastActiveAt, z as produceTeamMemberTicket, zt as getCreationTags } from "./index-
|
|
7
|
+
import { $ as sendEvent, $t as queryMallProducts, A as createSplitRule, At as getCreationFavoriteDetail, B as fetchMemberInviteToken, Bt as getCreationStudentDetail, C as getRecommendHashTags, Ct as getStudentBlockRecordDetail, D as getCreationReleasePage, Dt as viewCreationStats, E as getCodeProfilingDetail, Et as getNotifyDeleteReasons, F as submitCreation, Ft as getMyHashTagCreations, G as getNotificationStats, Gt as getCreationsByStudent, H as getOwnCreationPage, Ht as getRecommendCreators, I as updateCreation, It as getPlanetsOfCreation, J as notificationContent_d_exports, Jt as getLikeDetail, K as getNotificationPage, Kt as getRemixedCreationPage, L as getTeamworkLogPage, Lt as hashTag_d_exports, M as changeStudentPassword, Mt as getHashTagFavoriteDetail, N as bindStudentPhone, Nt as getManagedHashTags, O as getCreationActivityStatsList, Ot as getCreationScreenshotPage, P as getSplitRuleDetail, Pt as getHashTagDetail, Q as getHealthCheck, Qt as createCreation, R as getTeamMemberList, Rt as createShortUrl, S as getCCWMainStatus, St as getStudentBlockRecordList, T as getHistoricalTeamMemberPage, Tt as getPostDetail, U as getTypicalProjectUnreadCount, Ut as getRecommendCreations, V as fetchObserverInviteToken, Vt as searchCreationsByTag, W as getTypicalProjectPage, Wt as getPotentialCreations, X as getLockedUserDetail, Xt as getExcellentCreations, Y as getMutedUserDetail, Yt as getCreationIntroduction, Z as getLeafletsItemList, Zt as getCreationDetail, _ as deleteComment, _t as getStudentSessions, a as getConnectCommunityFollowingStatus, an as searchCloudAssets, at as getUserCardDetail, b as topComment, bt as getCreatorScore, c as executeSmartContract, cn as getCheckInRecords, ct as getSubjectAreaPageByChannel, d as setUserProductStatus, dn as getApprovalTags, dt as getStudyCommunityMemberDetail, en as mall_d_exports, et as getEmojiPage, f as getUserProductsPage, fn as encodeShortCode, ft as updateStudent, g as createComment, gt as getStudentProfile, h as likeComment, ht as getReputationScoreLog, i as getConnectCommunityCreationLikeStatus, in as comment_d_exports, it as getUserLabelList, j as createSmsCaptchaBySession, jt as getDonatedRecordRanking, k as getCreationAttributeDetail, kt as getCreationRecommendPositionList, l as getSmartContractList, ln as getCampaignResources, lt as getSubjectAreaPage, m as getStudentFollowingPage, mt as getStudentSelfDetail, n as unfollowCreator, nn as getCommentsByTopic, nt as getAllEmojis, o as getSmartContractDetail, on as getUserAssetStorageSize, ot as getMyTasks, p as donateTrade, pt as getStudentStats, q as notification_d_exports, qt as getLoadingTips, r as followCreator, rn as getCommentReplies, rt as getPersonalCurrencyAccount, s as getSmartContractAccount, sn as insertCheckInRecord, st as acceptAward, t as communityWeb, tn as getConfigDetail, tt as getEmojiCategoryList, u as updateGreatCreation, un as getTime, ut as getSpreadFeedUnreadCount, v as resetCommentWeight, vt as getStudentsList, w as decompressShortUrl, wt as getSearchHotWords, x as createCloudVariable, xt as getStudentBlockStatus, y as foldComment, yt as getStudentLastActiveAt, z as produceTeamMemberTicket, zt as getCreationTags } from "./index-D3txjDPB.cjs";
|
|
8
8
|
import { r as session_d_exports } from "./session-D8sffvmq.cjs";
|
|
9
9
|
import { a as getBulletinsPage, i as getBulletinDetail, n as getLeaderboardRecords, o as getCurrentTimestamp, r as submitLeaderboardRecord, t as gandiMain } from "./index-CwWMFbgH.cjs";
|
|
10
10
|
import { a as createSmsCaptcha, c as loginByPassword, i as loginByPhone, n as getOauthToken, o as logoutBySession, r as oauthAuthorize, s as logout, t as sso } from "./index-et5F1JeT.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as api_d_exports } from "./api-DK7ohLa7.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as userData_d_exports, M as approval_d_exports, _ as creation_d_exports } from "./extensions-DAv_-abd.js";
|
|
3
3
|
import { n as account_d_exports } from "./account-_e06LVHE.js";
|
|
4
4
|
import { i as pages_d_exports } from "./pages-K5jlky49.js";
|
|
5
|
-
import { n as donateExtension, r as getUserExtensions, t as bfsWeb } from "./index-
|
|
5
|
+
import { n as donateExtension, r as getUserExtensions, t as bfsWeb } from "./index-0a1W6K_R.js";
|
|
6
6
|
import { i as saveUserCloudVariable, n as getCloudVariableDetailV2, r as saveProjectCloudVariable, t as communityWebCloudDatabase } from "./index-BVdJi7l7.js";
|
|
7
|
-
import { $ as sendEvent, $t as queryMallProducts, A as createSplitRule, At as getCreationFavoriteDetail, B as fetchMemberInviteToken, Bt as getCreationStudentDetail, C as getRecommendHashTags, Ct as getStudentBlockRecordDetail, D as getCreationReleasePage, Dt as viewCreationStats, E as getCodeProfilingDetail, Et as getNotifyDeleteReasons, F as submitCreation, Ft as getMyHashTagCreations, G as getNotificationStats, Gt as getCreationsByStudent, H as getOwnCreationPage, Ht as getRecommendCreators, I as updateCreation, It as getPlanetsOfCreation, J as notificationContent_d_exports, Jt as getLikeDetail, K as getNotificationPage, Kt as getRemixedCreationPage, L as getTeamworkLogPage, Lt as hashTag_d_exports, M as changeStudentPassword, Mt as getHashTagFavoriteDetail, N as bindStudentPhone, Nt as getManagedHashTags, O as getCreationActivityStatsList, Ot as getCreationScreenshotPage, P as getSplitRuleDetail, Pt as getHashTagDetail, Q as getHealthCheck, Qt as createCreation, R as getTeamMemberList, Rt as createShortUrl, S as getCCWMainStatus, St as getStudentBlockRecordList, T as getHistoricalTeamMemberPage, Tt as getPostDetail, U as getTypicalProjectUnreadCount, Ut as getRecommendCreations, V as fetchObserverInviteToken, Vt as searchCreationsByTag, W as getTypicalProjectPage, Wt as getPotentialCreations, X as getLockedUserDetail, Xt as getExcellentCreations, Y as getMutedUserDetail, Yt as getCreationIntroduction, Z as getLeafletsItemList, Zt as getCreationDetail, _ as deleteComment, _t as getStudentSessions, a as getConnectCommunityFollowingStatus, an as searchCloudAssets, at as getUserCardDetail, b as topComment, bt as getCreatorScore, c as executeSmartContract, cn as getCheckInRecords, ct as getSubjectAreaPageByChannel, d as setUserProductStatus, dn as getApprovalTags, dt as getStudyCommunityMemberDetail, en as mall_d_exports, et as getEmojiPage, f as getUserProductsPage, fn as encodeShortCode, ft as updateStudent, g as createComment, gt as getStudentProfile, h as likeComment, ht as getReputationScoreLog, i as getConnectCommunityCreationLikeStatus, in as comment_d_exports, it as getUserLabelList, j as createSmsCaptchaBySession, jt as getDonatedRecordRanking, k as getCreationAttributeDetail, kt as getCreationRecommendPositionList, l as getSmartContractList, ln as getCampaignResources, lt as getSubjectAreaPage, m as getStudentFollowingPage, mt as getStudentSelfDetail, n as unfollowCreator, nn as getCommentsByTopic, nt as getAllEmojis, o as getSmartContractDetail, on as getUserAssetStorageSize, ot as getMyTasks, p as donateTrade, pt as getStudentStats, q as notification_d_exports, qt as getLoadingTips, r as followCreator, rn as getCommentReplies, rt as getPersonalCurrencyAccount, s as getSmartContractAccount, sn as insertCheckInRecord, st as acceptAward, t as communityWeb, tn as getConfigDetail, tt as getEmojiCategoryList, u as updateGreatCreation, un as getTime, ut as getSpreadFeedUnreadCount, v as resetCommentWeight, vt as getStudentsList, w as decompressShortUrl, wt as getSearchHotWords, x as createCloudVariable, xt as getStudentBlockStatus, y as foldComment, yt as getStudentLastActiveAt, z as produceTeamMemberTicket, zt as getCreationTags } from "./index-
|
|
7
|
+
import { $ as sendEvent, $t as queryMallProducts, A as createSplitRule, At as getCreationFavoriteDetail, B as fetchMemberInviteToken, Bt as getCreationStudentDetail, C as getRecommendHashTags, Ct as getStudentBlockRecordDetail, D as getCreationReleasePage, Dt as viewCreationStats, E as getCodeProfilingDetail, Et as getNotifyDeleteReasons, F as submitCreation, Ft as getMyHashTagCreations, G as getNotificationStats, Gt as getCreationsByStudent, H as getOwnCreationPage, Ht as getRecommendCreators, I as updateCreation, It as getPlanetsOfCreation, J as notificationContent_d_exports, Jt as getLikeDetail, K as getNotificationPage, Kt as getRemixedCreationPage, L as getTeamworkLogPage, Lt as hashTag_d_exports, M as changeStudentPassword, Mt as getHashTagFavoriteDetail, N as bindStudentPhone, Nt as getManagedHashTags, O as getCreationActivityStatsList, Ot as getCreationScreenshotPage, P as getSplitRuleDetail, Pt as getHashTagDetail, Q as getHealthCheck, Qt as createCreation, R as getTeamMemberList, Rt as createShortUrl, S as getCCWMainStatus, St as getStudentBlockRecordList, T as getHistoricalTeamMemberPage, Tt as getPostDetail, U as getTypicalProjectUnreadCount, Ut as getRecommendCreations, V as fetchObserverInviteToken, Vt as searchCreationsByTag, W as getTypicalProjectPage, Wt as getPotentialCreations, X as getLockedUserDetail, Xt as getExcellentCreations, Y as getMutedUserDetail, Yt as getCreationIntroduction, Z as getLeafletsItemList, Zt as getCreationDetail, _ as deleteComment, _t as getStudentSessions, a as getConnectCommunityFollowingStatus, an as searchCloudAssets, at as getUserCardDetail, b as topComment, bt as getCreatorScore, c as executeSmartContract, cn as getCheckInRecords, ct as getSubjectAreaPageByChannel, d as setUserProductStatus, dn as getApprovalTags, dt as getStudyCommunityMemberDetail, en as mall_d_exports, et as getEmojiPage, f as getUserProductsPage, fn as encodeShortCode, ft as updateStudent, g as createComment, gt as getStudentProfile, h as likeComment, ht as getReputationScoreLog, i as getConnectCommunityCreationLikeStatus, in as comment_d_exports, it as getUserLabelList, j as createSmsCaptchaBySession, jt as getDonatedRecordRanking, k as getCreationAttributeDetail, kt as getCreationRecommendPositionList, l as getSmartContractList, ln as getCampaignResources, lt as getSubjectAreaPage, m as getStudentFollowingPage, mt as getStudentSelfDetail, n as unfollowCreator, nn as getCommentsByTopic, nt as getAllEmojis, o as getSmartContractDetail, on as getUserAssetStorageSize, ot as getMyTasks, p as donateTrade, pt as getStudentStats, q as notification_d_exports, qt as getLoadingTips, r as followCreator, rn as getCommentReplies, rt as getPersonalCurrencyAccount, s as getSmartContractAccount, sn as insertCheckInRecord, st as acceptAward, t as communityWeb, tn as getConfigDetail, tt as getEmojiCategoryList, u as updateGreatCreation, un as getTime, ut as getSpreadFeedUnreadCount, v as resetCommentWeight, vt as getStudentsList, w as decompressShortUrl, wt as getSearchHotWords, x as createCloudVariable, xt as getStudentBlockStatus, y as foldComment, yt as getStudentLastActiveAt, z as produceTeamMemberTicket, zt as getCreationTags } from "./index-DFVqKOcp.js";
|
|
8
8
|
import { r as session_d_exports } from "./session-Cw37kR-m.js";
|
|
9
9
|
import { a as getBulletinsPage, i as getBulletinDetail, n as getLeaderboardRecords, o as getCurrentTimestamp, r as submitLeaderboardRecord, t as gandiMain } from "./index-B8SvUvok.js";
|
|
10
10
|
import { a as createSmsCaptcha, c as loginByPassword, i as loginByPhone, n as getOauthToken, o as logoutBySession, r as oauthAuthorize, s as logout, t as sso } from "./index-B4S_NZQT.js";
|
package/dist/index.iife.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ccwApi=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});let t={post(e,t=null){return n.post(e,t)},get(e){return n.get(e)}},n={async post(e,t=null){throw Error(`requestUtils for @ccw-api/api is not initialized`)},async get(e){throw Error(`requestUtils for @ccw-api/api is not initialized`)}};function r(e){n=e}async function i(e,n,r={device:`Node`,browser:`Node.js`}){let i={loginKey:e,password:n,clientCode:`STUDY_COMMUNITY`,extra:JSON.stringify({...r,scene:null})},{extra:a,...o}=await t.post(`https://sso.ccw.site/web/auth/login-by-password`,i).then(e=>e.data.body),s=JSON.parse(a);return{...o,extra:s}}async function a(){return await t.post(`https://sso.ccw.site/web/auth/logout`,{}).then(e=>e.data.body)}async function o(e){return await t.post(`https://sso.ccw.site/web/auth/logout_by_session`,{id:e}).then(e=>e.data.body)}async function s(e,n=`loginbyPhone`,r=`86`,i=`ccw_sms`,a){let o={recipient:e,countryCode:r,scene:n,ruleCode:i,captcha:a};return await t.post(`https://sso.ccw.site/web/auth/assistant/captcha/v2/create`,o).then(e=>e.data.body)}async function c(e,n,r={device:`Node`,browser:`Node.js`},i=`86`,a=`ccw_sms`,o=`loginbyPhone`){let{extra:s,...c}=await t.post(`https://sso.ccw.site/web/auth/v3/login/by_phone`,{phone:e,code:n,countryCode:i,ruleCode:a,scene:o,clientCode:`STUDY_COMMUNITY`,extra:JSON.stringify({...r,scene:null})}).then(e=>e.data.body),l=JSON.parse(s);return{...c,extra:l}}async function l(e){let n=new URL(`https://sso.ccw.site/oauth/authorize`);return n.searchParams.set(`state`,e),await t.get(n.toString()).then(e=>e.data.body)}async function u(e){let{extra:n,...r}=await t.post(`https://sso.ccw.site/oauth/token`,{code:e}).then(e=>e.data.body);return{extra:JSON.parse(n),...r}}let d={loginByPassword:i,logout:a,logoutBySession:o,createSmsCaptcha:s,loginByPhone:c,oauthAuthorize:l,getOauthToken:u};async function ee(e,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:e,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await t.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function te(e){let n={objectId:e,objectType:`STUDENT`};return await t.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function ne(){return t.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function re(e){return await t.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:e}).then(e=>e.data.body)}async function ie(){return await t.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function ae(){return await t.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function oe(){return await t.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}function f(e,t){let n=new URL(e);return Object.entries(t).forEach(([e,t])=>{t!=null&&n.searchParams.set(e,t)}),n.toString()}let p={page:1,perPage:20,sortType:`DESC`,sortField:``},se={...p,sortField:`createdAt`};async function ce(e,n=`/`,r={}){let i=f(`https://community-web.ccw.site/cloud_asset/search`,{...se,...r}),a={creatorOid:e,path:n};return await t.post(i,a).then(e=>e.data.body)}async function m(e,n,r=[`PUBLISHED`,`FOLDED`],i={sortField:`createdAt`}){let a=f(`https://community-web.ccw.site/comment/page`,{...p,...i}),o={topicId:e,parentId:n,statuses:r};return await t.post(a,o).then(e=>e.data.body)}let h={...p,sortField:`createdAt`};async function g(e,n,r,i={sortField:`createdAt`}){let a=f(`https://community-web.ccw.site/comment/page_by_topic`,{...h,...i}),o={subjectOid:e,subjectType:n,sectionType:r};return await t.post(a,o).then(e=>e.data.body)}async function _(e){let n={key:e};return await t.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function v(e,n={sortField:`createdAt`}){let r={...p,...n},i=f(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,r),a={page:r.page,perPage:r.perPage,sortType:r.sortType,productCategory:e,source:`CCW_OFFICIAL`};return await t.post(i,a).then(e=>e.data.body)}async function y(e,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:e,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await t.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function b(e,n,r=``){let i={oid:e,accessKey:n,mode:r};return await t.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function x(e){let n={num:e};return await t.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function S(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function C(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function w(){return await t.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}let T={...p,sortField:`createdAt`};async function E(e,n={}){let r=f(`https://community-web.ccw.site/creation/page`,{...T,...n}),i={remixCreationOids:e};return await t.post(r,i).then(e=>e.data.body)}let D={...p,sortField:`createdAt`};async function O(e,n={}){let r=f(`https://community-web.ccw.site/creation/page_by_student`,{...D,...n}),i={studentOids:e};return await t.post(r,i).then(e=>e.data.body)}async function k(e){let n={num:e};return await t.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}let A={...p,sortField:`createdAt`};async function j(e,n={}){let r=f(`https://community-web.ccw.site/creation/recommend`,{...A,...n}),i={num:e,subjectType:`POTENTIAL`};return await t.post(r,i).then(e=>e.data.body)}async function M(e=4,n=8){let r={excellentCount:e,potentialCount:n};return await t.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}let N={...p,sortField:`createdAt`};async function P(e,n={}){let r=f(`https://community-web.ccw.site/creation/search/page`,{...N,...n});return await t.post(r,e).then(e=>e.data.body)}async function F(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function I(){return await t.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function L(e){let n={originUrl:e};return await t.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function R(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}let z={...p,sortField:`lastPassedAt`};async function B(e,n,r={}){let i={...z,...r},a=f(`https://community-web.ccw.site/hash_tag_creation/mine`,i),o={...i,excludeHashTag:e,statuses:n};return await t.post(a,o).then(e=>e.data.body)}async function V(e){let n={identifier:e};return await t.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}let H={...p,sortField:`createdAt`};async function U(e,n=[],r={}){let i={...H,...r},a=f(`https://community-web.ccw.site/hash_tag/managed/list`,i),o={...i,studentOid:e,excludeHashTagIds:n};return await t.post(a,o).then(e=>e.data.body)}async function W(e){let n={hashTagId:e};return await t.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function G(e,n={sortField:`createdAt`}){let r=f(`https://community-web.ccw.site/creation_donated_record/ranking_list`,{...p,...n}),i={creationOid:e};return await t.post(r,i).then(e=>e.data.body)}async function le(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function ue(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function de(e,n={}){let r=f(`https://community-web.ccw.site/creation_screenshot/page`,{...p,...n}),i={subjectOid:e};return await t.post(r,i).then(e=>e.data.body)}async function fe(e,n=``){let r={oid:e,inviteCode:n};return await t.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function pe(){return await t.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function me(e){let n={slug:e};return await t.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function he(e){let n={length:e};return await t.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function ge(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function _e(e={sortField:`createdAt`}){let n=f(`https://community-web.ccw.site/student/block_record/list`,{...p,...e});return await t.post(n,{}).then(e=>e.data.body)}async function ve(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function ye(){return await t.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function be(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function xe(e){let n={studentOids:e};return await t.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function Se(e={sortField:`createdAt`}){let n=f(`https://community-web.ccw.site/students/list_sessions`,{...p,...e});return await t.post(n,{}).then(e=>e.data.body)}async function Ce(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function we(e={sortField:`createdAt`}){let n=f(`https://community-web.ccw.site/students/reputation_score_log/page`,{...p,...e});return await t.post(n,{}).then(e=>e.data.body)}async function Te(e,n,r){let i={needGrade:e,needExtraInfo:n,fields:r};return await t.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function Ee(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function De(e,n,r,i,a,o,s,c,l){let u={gender:e,hideGender:n,fullName:r,birthday:i,programmingCapability:a,school:o,qq:s,hobbies:c,learnedProgrammingLanguages:l};return await t.post(`https://community-web.ccw.site/students/update`,u).then(e=>e.data.body)}async function Oe(){return await t.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function ke(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function Ae(e,n={sortField:`createdAt`}){let r=f(`https://community-web.ccw.site/subject_area/page`,{...p,...n}),i={scene:e};return await t.post(r,i).then(e=>e.data.body)}async function je(e,n={sortField:`campaignResourceId`}){let r=f(`https://community-web.ccw.site/subject_area/page_by_channel`,{...p,...n}),i={channel:e,scene:`CUSTOM_PAGE`};return await t.post(r,i).then(e=>e.data.body)}async function Me(e){let n={taskOid:e};return await t.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function Ne(){return await t.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function Pe(e){let n={oid:e};return await t.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function Fe(){return await t.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function Ie(){return await t.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function Le(){return await t.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function Re(){return await t.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function ze(e=`ENABLED`,n={sortField:`createdAt`}){let r={...p,...n},i=f(`https://community-web.ccw.site/emoji/page`,r),a={page:r.page,perPage:r.perPage,status:e};return await t.post(i,a).then(e=>e.data.body)}async function Be(e){let n={actionId:e};return await t.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function Ve(){return await t.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function He(e){let n={advertisementId:e};return await t.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Ue(e){let n={accountOid:e};return await t.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function We(e){let n={studentNumber:e};return await t.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function Ge(e=`COMMENT_TO_ME`,n={sortField:`createdAt`}){let r={...p,...n},i=f(`https://community-web.ccw.site/notification/page`,r),a={notifyGroup:e,page:r.page};return await t.post(i,a).then(e=>e.data.body)}async function Ke(e=!0){let n={countAll:e};return await t.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function qe(e,n={sortField:`createdAt`}){let r=f(`https://community-web.ccw.site/typical_project/page`,{...p,...n}),i={studentOid:e,templateType:`APPLICATION`};return await t.post(r,i).then(e=>e.data.body)}async function Je(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function Ye(e={sortField:`updatedAt`},n=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],r=!1){let i=f(`https://community-web.ccw.site/creation/own/page`,{...p,...e}),a={statuses:n,ignoreTypicalProject:r};return await t.post(i,a).then(e=>e.data.body)}async function Xe(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function Ze(e,n=`MEMBER`){let r={creationOid:e,authority:n};return await t.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Qe(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function $e(e,n){let r={creationOid:e,authorities:n};return await t.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function et(e,n,r={sortField:`createdAt`}){let i=f(`https://community-web.ccw.site/creation/teamwork_log/page`,{...p,...r}),a={creationId:e,operateTargets:n},o=await t.post(i,a).then(e=>e.data.body),{data:s}=o,c=s.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...o,data:c}}async function tt(e,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:e,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await t.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function nt(e){return await t.post(`https://community-web.ccw.site/creation/submit`,e).then(e=>e.data.body)}async function rt(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function it(e,n,r=`86`){let i={phone:e,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await t.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function at(e,n){let r={newPassword:e,code:n};return await t.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function ot(e=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:e,ruleCode:r};return await t.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function st(e,n){let r={creationOid:e,memberSplitDetails:n};return await t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function ct(e){let n={creationOid:e},r=await t.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function lt(e){let n={creationOid:e,type:`DAY`};return await t.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function ut(e,n={sortField:`submittedAt`}){let r=f(`https://community-web.ccw.site/creation_release/page`,{...p,...n}),i={creationOid:e};return await t.post(r,i).then(e=>e.data.body)}async function dt(e,n){let r={creationOid:e,creationReleaseOid:n};return await t.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function ft(e,n={sortField:`createdAt`}){let r={...p,...n},i=f(`https://community-web.ccw.site/historical_team_member/page`,r),a={creationOid:e,page:r.page,perPage:r.perPage};return await t.post(i,a).then(e=>e.data.body)}async function pt(e){let n={shortUrlCode:e};return await t.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function mt(){return await t.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function ht(){return await t.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function gt(e,n){let r={projectId:e,variables:n};return await t.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function _t(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function vt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function yt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function bt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function xt(e,n,r){n.outline??=`foo`;let i={content:e,topic:n,sectionType:r};return await t.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function St(e){let n={commentId:e};return await t.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function Ct(e,n={sortField:`createdAt`}){let r=f(`https://community-web.ccw.site/student/following/page`,{...p,...n}),i={studentOid:e};return await t.post(r,i).then(e=>e.data.body)}async function wt(e,n,r=`CREATION`){let i={bucks:e,objectId:n,objectType:r};return await t.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function Tt(e=5,n={}){let r={...p,...n},i=f(`https://community-web.ccw.site/user_package/user_product`,r),a={page:r.page,perPage:r.perPage,sortType:r.sortType,productCategory:e};return await t.post(i,a).then(e=>e.data.body)}async function Et(e,n){let r={status:n,id:e};return await t.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function Dt(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function Ot(e,n,r,i,a=`CREATION`){let o={bizId:e,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await t.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function kt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function At(e){let n={id:e};return await t.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function jt(e,n=`CREATION`){let r={bizId:e,bizType:n};return await t.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function Mt(e,n){let r={playingCreationOid:e,userOid:n};return await t.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function Nt(e,n){let r={playingCreationOid:e,creationOid:n};return await t.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function Pt(e){let n={followingOid:e};return await t.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function Ft(e){let n={followingOid:e};return await t.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}let K={acceptAward:Me,bindStudentPhone:it,changeStudentPassword:at,createCreation:y,donateTrade:wt,encodeShortCode:ee,executeSmartContract:Ot,fetchMemberInviteToken:Ze,fetchObserverInviteToken:Xe,createCloudVariable:gt,createComment:xt,createShortUrl:L,createSmsCaptchaBySession:ot,createSplitRule:st,decompressShortUrl:pt,deleteComment:bt,foldComment:vt,followCreator:Pt,unfollowCreator:Ft,getApprovalTags:te,getCampaignResources:re,getCcwMainStatus:ht,getCheckInRecords:ie,getCodeProfilingDetail:dt,getCommentReplies:m,getCommentsByTopic:g,getConfigDetail:_,getCreationActivityStatsList:lt,getCreationAttributeDetail:ct,getCreationDetail:b,getCreationFavoriteDetail:le,getCreationIntroduction:S,getConnectCommunityCreationLikeStatus:Nt,getCreationRecommendPositionList:ue,getCreationReleasePage:ut,getCreationScreenshotPage:de,getCreationStudentDetail:F,getCreationTags:I,getCreatorScore:ye,getDonatedRecordRanking:G,getExcellentCreations:x,getConnectCommunityFollowingStatus:Mt,getEmojiCategoryList:Re,getEmojiPage:ze,getAllEmojis:Le,getHashTagDetail:V,getHashTagFavoriteDetail:W,getHistoricalTeamMemberPage:ft,getManagedHashTags:U,getHealthCheck:Ve,getLeafletsItemList:He,getLikeDetail:C,getLoadingTips:w,getLockedUserDetail:Ue,getMutedUserDetail:We,getMyHashTagCreations:B,getMyTasks:Ne,getNotifyDeleteReasons:pe,getNotificationPage:Ge,getNotificationStats:Ke,getOwnCreationPage:Ye,getPersonalCurrencyAccount:Ie,getPlanetsOfCreation:R,getPostDetail:me,getPotentialCreations:k,getRecommendCreations:j,getRecommendCreators:M,getRecommendHashTags:mt,getRemixedCreationPage:E,getReputationScoreLogPage:we,getSearchHotWords:he,getSmartContractAccount:kt,getSmartContractDetail:At,getSmartContractList:jt,getSplitRuleDetail:rt,getSpreadFeedUnreadCount:ke,getStudentBlockRecordDetail:ge,getStudentBlockRecordList:_e,getStudentBlockStatus:ve,getStudentFollowingPage:Ct,getStudentLastActiveAt:be,getStudentProfile:Ce,getStudentSelfDetail:Te,getStudentSessions:Se,getStudentsList:xe,getStudentStats:Ee,getStudyCommunityMemberDetail:Oe,getSubjectAreaPage:Ae,getSubjectAreaPageByChannel:je,getTeamMemberList:$e,getTeamworkLogPage:et,getTime:ne,getTypicalProjectPage:qe,getTypicalProjectUnreadCount:Je,getUserAssetStorageSize:oe,getUserCardDetail:Pe,getUserLabelList:Fe,getUserProductsPage:Tt,queryMallProducts:v,getCreationsByStudent:O,insertCheckInRecord:ae,likeComment:St,produceTeamMemberTicket:Qe,resetCommentWeight:yt,searchCloudAssets:ce,searchCreationsByTag:P,sendEvent:Be,setUserProductStatus:Et,submitCreation:nt,topComment:_t,updateCreation:tt,updateGreatCreation:Dt,updateStudent:De,viewCreationStats:fe};async function It(){return await t.get(`https://gandi-main.ccw.site/timestamp/current`).then(e=>e.data.body)}async function Lt(e=`PUBLISHED`,n={sortField:`publishedAt`}){let r=f(`https://gandi-main.ccw.site/bulletins`,{...p,...n,status:e});return await t.get(r).then(e=>e.data.body)}async function Rt(e){return await t.get(`https://gandi-main.ccw.site/bulletins/${e}`).then(e=>e.data.body)}let q=`https://gandi-main.ccw.site/creation/leaderboards`;async function J(e,n,r,i=``){let a={score:n,oid:r,ext:i},o=`${q}/${e}/records`;return await t.post(o,a).then(e=>e.data.body)}async function zt(e){let n=`${q}/${e}/records`;return await t.get(n).then(e=>e.data.body)}let Y={getCurrentTimestamp:It,getBulletinsPage:Lt,getBulletinDetail:Rt,submitLeaderboardRecord:J,getLeaderboardRecords:zt};async function Bt(e,n={sortField:`updatedAt`}){let r={...p,...n},i=f(`https://bfs-web.ccw.site/users/${e}/extensions`,r);return await t.get(i).then(e=>e.data.body)}async function Vt(e,n){let r={eid:e,bucks:n};return await t.post(`https://bfs-web.ccw.site/extensions/${e}/donate`,r).then(e=>e.data.body)}let X={donateExtension:Vt,getUserExtensions:Bt};async function Z(e,n,r){let i={primaryKey:e,secondaryKey:n,value:r};return await t.post(`https://community-web-cloud-database.ccw.site/cloud_variable/save`,i).then(e=>e.data.body)}async function Ht(e,t,n){return await Z(e,t,{v:n})}async function Ut(e,t,n){return await Z(`${e}-u`,`${t}`,n)}async function Wt(e,n,r,i){let a={accessKey:e,primaryKey:n,secondaryKey:r,filterKeys:i};return await t.post(`https://community-web-cloud-database.ccw.site/cloud_variable/detail/v2`,a).then(e=>e.data.body)}let Q={saveProjectCloudVariable:Ht,saveUserCloudVariable:Ut,getCloudVariableDetailV2:Wt};async function Gt(e=`BLOCK_PUZZLE`){let n={type:e};return await t.post(`https://op-parent-api.xiguacity.cn/captcha/create`,n).then(e=>e.data.body)}async function Kt(e,n,r=5){let i={data:{x:n,y:r},token:e};return await t.post(`https://op-parent-api.xiguacity.cn/captcha/check`,i).then(e=>e.data.body)}let $={createCaptcha:Gt,checkCaptcha:Kt};var qt={sso:d,communityWeb:K,gandiMain:Y,bfsWeb:X,communityWebCloudDatabase:Q,opParentApi:$};return e.bfsWeb=X,e.communityWeb=K,e.communityWebCloudDatabase=Q,e.default=qt,e.gandiMain=Y,e.opParentApi=$,e.setRequestUtils=r,e.sso=d,e})({});
|
|
1
|
+
var ccwApi=(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});let t={post(e,t=null){return n.post(e,t)},get(e){return n.get(e)}},n={async post(e,t=null){throw Error(`requestUtils for @ccw-api/api is not initialized`)},async get(e){throw Error(`requestUtils for @ccw-api/api is not initialized`)}};function r(e){n=e}async function i(e,n,r={device:`Node`,browser:`Node.js`}){let i={loginKey:e,password:n,clientCode:`STUDY_COMMUNITY`,extra:JSON.stringify({...r,scene:null})},{extra:a,...o}=await t.post(`https://sso.ccw.site/web/auth/login-by-password`,i).then(e=>e.data.body),s=JSON.parse(a);return{...o,extra:s}}async function a(){return await t.post(`https://sso.ccw.site/web/auth/logout`,{}).then(e=>e.data.body)}async function o(e){return await t.post(`https://sso.ccw.site/web/auth/logout_by_session`,{id:e}).then(e=>e.data.body)}async function s(e,n=`loginbyPhone`,r=`86`,i=`ccw_sms`,a){let o={recipient:e,countryCode:r,scene:n,ruleCode:i,captcha:a};return await t.post(`https://sso.ccw.site/web/auth/assistant/captcha/v2/create`,o).then(e=>e.data.body)}async function c(e,n,r={device:`Node`,browser:`Node.js`},i=`86`,a=`ccw_sms`,o=`loginbyPhone`){let{extra:s,...c}=await t.post(`https://sso.ccw.site/web/auth/v3/login/by_phone`,{phone:e,code:n,countryCode:i,ruleCode:a,scene:o,clientCode:`STUDY_COMMUNITY`,extra:JSON.stringify({...r,scene:null})}).then(e=>e.data.body),l=JSON.parse(s);return{...c,extra:l}}async function l(e){let n=new URL(`https://sso.ccw.site/oauth/authorize`);return n.searchParams.set(`state`,e),await t.get(n.toString()).then(e=>e.data.body)}async function ee(e){let{extra:n,...r}=await t.post(`https://sso.ccw.site/oauth/token`,{code:e}).then(e=>e.data.body);return{extra:JSON.parse(n),...r}}let u={loginByPassword:i,logout:a,logoutBySession:o,createSmsCaptcha:s,loginByPhone:c,oauthAuthorize:l,getOauthToken:ee};async function te(e,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:e,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await t.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function ne(e){let n={objectId:e,objectType:`STUDENT`};return await t.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function re(){return t.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function ie(e){return await t.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:e}).then(e=>e.data.body)}async function ae(){return await t.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function oe(){return await t.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function se(){return await t.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}function d(e,t){let n=new URL(e);return Object.entries(t).forEach(([e,t])=>{t!=null&&n.searchParams.set(e,t)}),n.toString()}let f={page:1,perPage:20,sortType:`DESC`,sortField:``},ce={...f,sortField:`createdAt`};async function p(e,n=`/`,r={}){let i=d(`https://community-web.ccw.site/cloud_asset/search`,{...ce,...r}),a={creatorOid:e,path:n};return await t.post(i,a).then(e=>e.data.body)}async function m(e,n,r=[`PUBLISHED`,`FOLDED`],i={sortField:`createdAt`}){let a=d(`https://community-web.ccw.site/comment/page`,{...f,...i}),o={topicId:e,parentId:n,statuses:r};return await t.post(a,o).then(e=>e.data.body)}let h={...f,sortField:`createdAt`};async function g(e,n,r,i={sortField:`createdAt`}){let a=d(`https://community-web.ccw.site/comment/page_by_topic`,{...h,...i}),o={subjectOid:e,subjectType:n,sectionType:r};return await t.post(a,o).then(e=>e.data.body)}async function _(e){let n={key:e};return await t.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function v(e,n={sortField:`createdAt`}){let r={...f,...n},i=d(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,r),a={page:r.page,perPage:r.perPage,sortType:r.sortType,productCategory:e,source:`CCW_OFFICIAL`};return await t.post(i,a).then(e=>e.data.body)}async function y(e,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:e,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await t.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function b(e,n,r=``){let i={oid:e,accessKey:n,mode:r};return await t.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function x(e){let n={num:e};return await t.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function S(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function C(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function w(){return await t.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}let T={...f,sortField:`createdAt`};async function E(e,n={}){let r=d(`https://community-web.ccw.site/creation/page`,{...T,...n}),i={remixCreationOids:e};return await t.post(r,i).then(e=>e.data.body)}let D={...f,sortField:`createdAt`};async function O(e,n={}){let r=d(`https://community-web.ccw.site/creation/page_by_student`,{...D,...n}),i={studentOids:e};return await t.post(r,i).then(e=>e.data.body)}async function k(e){let n={num:e};return await t.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}let A={...f,sortField:`createdAt`};async function j(e,n={}){let r=d(`https://community-web.ccw.site/creation/recommend`,{...A,...n}),i={num:e,subjectType:`POTENTIAL`};return await t.post(r,i).then(e=>e.data.body)}async function M(e=4,n=8){let r={excellentCount:e,potentialCount:n};return await t.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}let N={...f,sortField:`createdAt`};async function P(e,n={}){let r=d(`https://community-web.ccw.site/creation/search/page`,{...N,...n});return await t.post(r,e).then(e=>e.data.body)}async function F(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function I(){return await t.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function L(e){let n={originUrl:e};return await t.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function R(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}let z={...f,sortField:`lastPassedAt`};async function B(e,n,r={}){let i={...z,...r},a=d(`https://community-web.ccw.site/hash_tag_creation/mine`,i),o={...i,excludeHashTag:e,statuses:n};return await t.post(a,o).then(e=>e.data.body)}async function V(e){let n={identifier:e};return await t.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}let H={...f,sortField:`createdAt`};async function U(e,n=[],r={}){let i={...H,...r},a=d(`https://community-web.ccw.site/hash_tag/managed/list`,i),o={...i,studentOid:e,excludeHashTagIds:n};return await t.post(a,o).then(e=>e.data.body)}async function W(e){let n={hashTagId:e};return await t.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function G(e,n={sortField:`createdAt`}){let r=d(`https://community-web.ccw.site/creation_donated_record/ranking_list`,{...f,...n}),i={creationOid:e};return await t.post(r,i).then(e=>e.data.body)}async function le(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function ue(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function de(e,n={}){let r=d(`https://community-web.ccw.site/creation_screenshot/page`,{...f,...n}),i={subjectOid:e};return await t.post(r,i).then(e=>e.data.body)}async function fe(e,n=``){let r={oid:e,inviteCode:n};return await t.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function pe(){return await t.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function me(e){let n={slug:e};return await t.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function he(e){let n={length:e};return await t.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function ge(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function _e(e={sortField:`createdAt`}){let n=d(`https://community-web.ccw.site/student/block_record/list`,{...f,...e});return await t.post(n,{}).then(e=>e.data.body)}async function ve(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function ye(){return await t.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function be(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function xe(e){let n={studentOids:e};return await t.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function Se(e={sortField:`createdAt`}){let n=d(`https://community-web.ccw.site/students/list_sessions`,{...f,...e});return await t.post(n,{}).then(e=>e.data.body)}async function Ce(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function we(e={sortField:`createdAt`}){let n=d(`https://community-web.ccw.site/students/reputation_score_log/page`,{...f,...e});return await t.post(n,{}).then(e=>e.data.body)}async function Te(e,n,r){let i={needGrade:e,needExtraInfo:n,fields:r};return await t.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function Ee(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function De(e){let n=e;return await t.post(`https://community-web.ccw.site/students/update`,n).then(e=>e.data.body)}async function Oe(){return await t.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function ke(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function Ae(e,n={sortField:`createdAt`}){let r=d(`https://community-web.ccw.site/subject_area/page`,{...f,...n}),i={scene:e};return await t.post(r,i).then(e=>e.data.body)}async function je(e,n={sortField:`campaignResourceId`}){let r=d(`https://community-web.ccw.site/subject_area/page_by_channel`,{...f,...n}),i={channel:e,scene:`CUSTOM_PAGE`};return await t.post(r,i).then(e=>e.data.body)}async function Me(e){let n={taskOid:e};return await t.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function Ne(){return await t.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function Pe(e){let n={oid:e};return await t.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function Fe(){return await t.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function Ie(){return await t.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function Le(){return await t.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function Re(){return await t.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function ze(e=`ENABLED`,n={sortField:`createdAt`}){let r={...f,...n},i=d(`https://community-web.ccw.site/emoji/page`,r),a={page:r.page,perPage:r.perPage,status:e};return await t.post(i,a).then(e=>e.data.body)}async function Be(e){let n={actionId:e};return await t.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function Ve(){return await t.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function He(e){let n={advertisementId:e};return await t.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Ue(e){let n={accountOid:e};return await t.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function We(e){let n={studentNumber:e};return await t.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function Ge(e=`COMMENT_TO_ME`,n={sortField:`createdAt`}){let r={...f,...n},i=d(`https://community-web.ccw.site/notification/page`,r),a={notifyGroup:e,page:r.page};return await t.post(i,a).then(e=>e.data.body)}async function Ke(e=!0){let n={countAll:e};return await t.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function qe(e,n={sortField:`createdAt`}){let r=d(`https://community-web.ccw.site/typical_project/page`,{...f,...n}),i={studentOid:e,templateType:`APPLICATION`};return await t.post(r,i).then(e=>e.data.body)}async function Je(e){let n={studentOid:e};return await t.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function Ye(e={sortField:`updatedAt`},n=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],r=!1){let i=d(`https://community-web.ccw.site/creation/own/page`,{...f,...e}),a={statuses:n,ignoreTypicalProject:r};return await t.post(i,a).then(e=>e.data.body)}async function Xe(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function Ze(e,n=`MEMBER`){let r={creationOid:e,authority:n};return await t.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Qe(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function $e(e,n){let r={creationOid:e,authorities:n};return await t.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function et(e,n,r={sortField:`createdAt`}){let i=d(`https://community-web.ccw.site/creation/teamwork_log/page`,{...f,...r}),a={creationId:e,operateTargets:n},o=await t.post(i,a).then(e=>e.data.body),{data:s}=o,c=s.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...o,data:c}}async function tt(e,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:e,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await t.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function nt(e){return await t.post(`https://community-web.ccw.site/creation/submit`,e).then(e=>e.data.body)}async function rt(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function it(e,n,r=`86`){let i={phone:e,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await t.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function at(e,n){let r={newPassword:e,code:n};return await t.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function ot(e=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:e,ruleCode:r};return await t.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function st(e,n){let r={creationOid:e,memberSplitDetails:n};return await t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function ct(e){let n={creationOid:e},r=await t.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function lt(e){let n={creationOid:e,type:`DAY`};return await t.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function ut(e,n={sortField:`submittedAt`}){let r=d(`https://community-web.ccw.site/creation_release/page`,{...f,...n}),i={creationOid:e};return await t.post(r,i).then(e=>e.data.body)}async function dt(e,n){let r={creationOid:e,creationReleaseOid:n};return await t.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function ft(e,n={sortField:`createdAt`}){let r={...f,...n},i=d(`https://community-web.ccw.site/historical_team_member/page`,r),a={creationOid:e,page:r.page,perPage:r.perPage};return await t.post(i,a).then(e=>e.data.body)}async function pt(e){let n={shortUrlCode:e};return await t.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function mt(){return await t.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function ht(){return await t.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function gt(e,n){let r={projectId:e,variables:n};return await t.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function _t(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function vt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function yt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function bt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function xt(e,n,r){n.outline??=`foo`;let i={content:e,topic:n,sectionType:r};return await t.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function St(e){let n={commentId:e};return await t.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function Ct(e,n={sortField:`createdAt`}){let r=d(`https://community-web.ccw.site/student/following/page`,{...f,...n}),i={studentOid:e};return await t.post(r,i).then(e=>e.data.body)}async function wt(e,n,r=`CREATION`){let i={bucks:e,objectId:n,objectType:r};return await t.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function Tt(e=5,n={}){let r={...f,...n},i=d(`https://community-web.ccw.site/user_package/user_product`,r),a={page:r.page,perPage:r.perPage,sortType:r.sortType,productCategory:e};return await t.post(i,a).then(e=>e.data.body)}async function Et(e,n){let r={status:n,id:e};return await t.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function Dt(e){let n={creationOid:e};return await t.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function Ot(e,n,r,i,a=`CREATION`){let o={bizId:e,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await t.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function kt(e){let n={id:e};return await t.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function At(e){let n={id:e};return await t.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function jt(e,n=`CREATION`){let r={bizId:e,bizType:n};return await t.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function Mt(e,n){let r={playingCreationOid:e,userOid:n};return await t.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function Nt(e,n){let r={playingCreationOid:e,creationOid:n};return await t.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function Pt(e){let n={followingOid:e};return await t.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function Ft(e){let n={followingOid:e};return await t.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}let K={acceptAward:Me,bindStudentPhone:it,changeStudentPassword:at,createCreation:y,donateTrade:wt,encodeShortCode:te,executeSmartContract:Ot,fetchMemberInviteToken:Ze,fetchObserverInviteToken:Xe,createCloudVariable:gt,createComment:xt,createShortUrl:L,createSmsCaptchaBySession:ot,createSplitRule:st,decompressShortUrl:pt,deleteComment:bt,foldComment:vt,followCreator:Pt,unfollowCreator:Ft,getApprovalTags:ne,getCampaignResources:ie,getCcwMainStatus:ht,getCheckInRecords:ae,getCodeProfilingDetail:dt,getCommentReplies:m,getCommentsByTopic:g,getConfigDetail:_,getCreationActivityStatsList:lt,getCreationAttributeDetail:ct,getCreationDetail:b,getCreationFavoriteDetail:le,getCreationIntroduction:S,getConnectCommunityCreationLikeStatus:Nt,getCreationRecommendPositionList:ue,getCreationReleasePage:ut,getCreationScreenshotPage:de,getCreationStudentDetail:F,getCreationTags:I,getCreatorScore:ye,getDonatedRecordRanking:G,getExcellentCreations:x,getConnectCommunityFollowingStatus:Mt,getEmojiCategoryList:Re,getEmojiPage:ze,getAllEmojis:Le,getHashTagDetail:V,getHashTagFavoriteDetail:W,getHistoricalTeamMemberPage:ft,getManagedHashTags:U,getHealthCheck:Ve,getLeafletsItemList:He,getLikeDetail:C,getLoadingTips:w,getLockedUserDetail:Ue,getMutedUserDetail:We,getMyHashTagCreations:B,getMyTasks:Ne,getNotifyDeleteReasons:pe,getNotificationPage:Ge,getNotificationStats:Ke,getOwnCreationPage:Ye,getPersonalCurrencyAccount:Ie,getPlanetsOfCreation:R,getPostDetail:me,getPotentialCreations:k,getRecommendCreations:j,getRecommendCreators:M,getRecommendHashTags:mt,getRemixedCreationPage:E,getReputationScoreLogPage:we,getSearchHotWords:he,getSmartContractAccount:kt,getSmartContractDetail:At,getSmartContractList:jt,getSplitRuleDetail:rt,getSpreadFeedUnreadCount:ke,getStudentBlockRecordDetail:ge,getStudentBlockRecordList:_e,getStudentBlockStatus:ve,getStudentFollowingPage:Ct,getStudentLastActiveAt:be,getStudentProfile:Ce,getStudentSelfDetail:Te,getStudentSessions:Se,getStudentsList:xe,getStudentStats:Ee,getStudyCommunityMemberDetail:Oe,getSubjectAreaPage:Ae,getSubjectAreaPageByChannel:je,getTeamMemberList:$e,getTeamworkLogPage:et,getTime:re,getTypicalProjectPage:qe,getTypicalProjectUnreadCount:Je,getUserAssetStorageSize:se,getUserCardDetail:Pe,getUserLabelList:Fe,getUserProductsPage:Tt,queryMallProducts:v,getCreationsByStudent:O,insertCheckInRecord:oe,likeComment:St,produceTeamMemberTicket:Qe,resetCommentWeight:yt,searchCloudAssets:p,searchCreationsByTag:P,sendEvent:Be,setUserProductStatus:Et,submitCreation:nt,topComment:_t,updateCreation:tt,updateGreatCreation:Dt,updateStudent:De,viewCreationStats:fe};async function It(){return await t.get(`https://gandi-main.ccw.site/timestamp/current`).then(e=>e.data.body)}async function Lt(e=`PUBLISHED`,n={sortField:`publishedAt`}){let r=d(`https://gandi-main.ccw.site/bulletins`,{...f,...n,status:e});return await t.get(r).then(e=>e.data.body)}async function Rt(e){return await t.get(`https://gandi-main.ccw.site/bulletins/${e}`).then(e=>e.data.body)}let q=`https://gandi-main.ccw.site/creation/leaderboards`;async function J(e,n,r,i=``){let a={score:n,oid:r,ext:i},o=`${q}/${e}/records`;return await t.post(o,a).then(e=>e.data.body)}async function zt(e){let n=`${q}/${e}/records`;return await t.get(n).then(e=>e.data.body)}let Y={getCurrentTimestamp:It,getBulletinsPage:Lt,getBulletinDetail:Rt,submitLeaderboardRecord:J,getLeaderboardRecords:zt};async function Bt(e,n={sortField:`updatedAt`}){let r={...f,...n},i=d(`https://bfs-web.ccw.site/users/${e}/extensions`,r);return await t.get(i).then(e=>e.data.body)}async function Vt(e,n){let r={eid:e,bucks:n};return await t.post(`https://bfs-web.ccw.site/extensions/${e}/donate`,r).then(e=>e.data.body)}let X={donateExtension:Vt,getUserExtensions:Bt};async function Z(e,n,r){let i={primaryKey:e,secondaryKey:n,value:r};return await t.post(`https://community-web-cloud-database.ccw.site/cloud_variable/save`,i).then(e=>e.data.body)}async function Ht(e,t,n){return await Z(e,t,{v:n})}async function Ut(e,t,n){return await Z(`${e}-u`,`${t}`,n)}async function Wt(e,n,r,i){let a={accessKey:e,primaryKey:n,secondaryKey:r,filterKeys:i};return await t.post(`https://community-web-cloud-database.ccw.site/cloud_variable/detail/v2`,a).then(e=>e.data.body)}let Q={saveProjectCloudVariable:Ht,saveUserCloudVariable:Ut,getCloudVariableDetailV2:Wt};async function Gt(e=`BLOCK_PUZZLE`){let n={type:e};return await t.post(`https://op-parent-api.xiguacity.cn/captcha/create`,n).then(e=>e.data.body)}async function Kt(e,n,r=5){let i={data:{x:n,y:r},token:e};return await t.post(`https://op-parent-api.xiguacity.cn/captcha/check`,i).then(e=>e.data.body)}let $={createCaptcha:Gt,checkCaptcha:Kt};var qt={sso:u,communityWeb:K,gandiMain:Y,bfsWeb:X,communityWebCloudDatabase:Q,opParentApi:$};return e.bfsWeb=X,e.communityWeb=K,e.communityWebCloudDatabase=Q,e.default=qt,e.gandiMain=Y,e.opParentApi=$,e.setRequestUtils=r,e.sso=u,e})({});
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./request-CzgJtv9u.js";import{t}from"./sso-CKzH4aGn.js";import{t as n}from"./community-web-
|
|
1
|
+
import{n as e}from"./request-CzgJtv9u.js";import{t}from"./sso-CKzH4aGn.js";import{t as n}from"./community-web-3zMKf8Ic.js";import{t as r}from"./gandi-main-Bdq3vj-l.js";import{t as i}from"./bfs-web-xFSpR-s6.js";import{t as a}from"./community-web-cloud-database-D9IZZIjN.js";import{t as o}from"./op-parent-api-BC6-0rS8.js";var s={sso:t,communityWeb:n,gandiMain:r,bfsWeb:i,communityWebCloudDatabase:a,opParentApi:o};export{i as bfsWeb,n as communityWeb,a as communityWebCloudDatabase,s as default,r as gandiMain,o as opParentApi,e as setRequestUtils,t as sso};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./request-CIq4GGVU.cjs"),t=require("./queryPages-CfywLB4S.cjs");async function n(t,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:t,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await e.t.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function r(t){let n={objectId:t,objectType:`STUDENT`};return await e.t.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function i(){return e.t.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function a(t){return await e.t.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:t}).then(e=>e.data.body)}async function o(){return await e.t.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function s(){return await e.t.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function c(){return await e.t.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}const l={...t.t,sortField:`createdAt`};async function u(n,r=`/`,i={}){let a={...l,...i},o=t.n(`https://community-web.ccw.site/cloud_asset/search`,a),s={creatorOid:n,path:r};return await e.t.post(o,s).then(e=>e.data.body)}async function d(n,r,i=[`PUBLISHED`,`FOLDED`],a={sortField:`createdAt`}){let o={...t.t,...a},s=t.n(`https://community-web.ccw.site/comment/page`,o),c={topicId:n,parentId:r,statuses:i};return await e.t.post(s,c).then(e=>e.data.body)}const f={...t.t,sortField:`createdAt`};async function p(n,r,i,a={sortField:`createdAt`}){let o={...f,...a},s=t.n(`https://community-web.ccw.site/comment/page_by_topic`,o),c={subjectOid:n,subjectType:r,sectionType:i};return await e.t.post(s,c).then(e=>e.data.body)}async function m(t){let n={key:t};return await e.t.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function h(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,i),o={page:i.page,perPage:i.perPage,sortType:i.sortType,productCategory:n,source:`CCW_OFFICIAL`};return await e.t.post(a,o).then(e=>e.data.body)}async function g(t,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:t,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await e.t.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function _(t,n,r=``){let i={oid:t,accessKey:n,mode:r};return await e.t.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function v(t){let n={num:t};return await e.t.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function y(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function b(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function x(){return await e.t.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}const S={...t.t,sortField:`createdAt`};async function C(n,r={}){let i={...S,...r},a=t.n(`https://community-web.ccw.site/creation/page`,i),o={remixCreationOids:n};return await e.t.post(a,o).then(e=>e.data.body)}const w={...t.t,sortField:`createdAt`};async function T(n,r={}){let i={...w,...r},a=t.n(`https://community-web.ccw.site/creation/page_by_student`,i),o={studentOids:n};return await e.t.post(a,o).then(e=>e.data.body)}async function E(t){let n={num:t};return await e.t.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}const D={...t.t,sortField:`createdAt`};async function O(n,r={}){let i={...D,...r},a=t.n(`https://community-web.ccw.site/creation/recommend`,i),o={num:n,subjectType:`POTENTIAL`};return await e.t.post(a,o).then(e=>e.data.body)}async function k(t=4,n=8){let r={excellentCount:t,potentialCount:n};return await e.t.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}const A={...t.t,sortField:`createdAt`};async function j(n,r={}){let i={...A,...r},a=t.n(`https://community-web.ccw.site/creation/search/page`,i);return await e.t.post(a,n).then(e=>e.data.body)}async function M(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function N(){return await e.t.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function P(t){let n={originUrl:t};return await e.t.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function F(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}const I={...t.t,sortField:`lastPassedAt`};async function L(n,r,i={}){let a={...I,...i},o=t.n(`https://community-web.ccw.site/hash_tag_creation/mine`,a),s={...a,excludeHashTag:n,statuses:r};return await e.t.post(o,s).then(e=>e.data.body)}async function R(t){let n={identifier:t};return await e.t.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}const z={...t.t,sortField:`createdAt`};async function B(n,r=[],i={}){let a={...z,...i},o=t.n(`https://community-web.ccw.site/hash_tag/managed/list`,a),s={...a,studentOid:n,excludeHashTagIds:r};return await e.t.post(o,s).then(e=>e.data.body)}async function V(t){let n={hashTagId:t};return await e.t.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function H(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_donated_record/ranking_list`,i),o={creationOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function U(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function W(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function G(n,r={}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_screenshot/page`,i),o={subjectOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function K(t,n=``){let r={oid:t,inviteCode:n};return await e.t.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function q(){return await e.t.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function J(t){let n={slug:t};return await e.t.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function Y(t){let n={length:t};return await e.t.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function X(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function Z(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/student/block_record/list`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function Q(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function $(){return await e.t.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function ee(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function te(t){let n={studentOids:t};return await e.t.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function ne(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/students/list_sessions`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function re(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function ie(n={sortField:`createdAt`}){let r={...t.t,...n},i=t.n(`https://community-web.ccw.site/students/reputation_score_log/page`,r);return await e.t.post(i,{}).then(e=>e.data.body)}async function ae(t,n,r){let i={needGrade:t,needExtraInfo:n,fields:r};return await e.t.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function oe(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function se(t,n,r,i,a,o,s,c,l){let u={gender:t,hideGender:n,fullName:r,birthday:i,programmingCapability:a,school:o,qq:s,hobbies:c,learnedProgrammingLanguages:l};return await e.t.post(`https://community-web.ccw.site/students/update`,u).then(e=>e.data.body)}async function ce(){return await e.t.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function le(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function ue(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/subject_area/page`,i),o={scene:n};return await e.t.post(a,o).then(e=>e.data.body)}async function de(n,r={sortField:`campaignResourceId`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/subject_area/page_by_channel`,i),o={channel:n,scene:`CUSTOM_PAGE`};return await e.t.post(a,o).then(e=>e.data.body)}async function fe(t){let n={taskOid:t};return await e.t.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function pe(){return await e.t.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function me(t){let n={oid:t};return await e.t.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function he(){return await e.t.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function ge(){return await e.t.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function _e(){return await e.t.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function ve(){return await e.t.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function ye(n=`ENABLED`,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/emoji/page`,i),o={page:i.page,perPage:i.perPage,status:n};return await e.t.post(a,o).then(e=>e.data.body)}async function be(t){let n={actionId:t};return await e.t.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function xe(){return await e.t.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function Se(t){let n={advertisementId:t};return await e.t.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Ce(t){let n={accountOid:t};return await e.t.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function we(t){let n={studentNumber:t};return await e.t.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function Te(n=`COMMENT_TO_ME`,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/notification/page`,i),o={notifyGroup:n,page:i.page};return await e.t.post(a,o).then(e=>e.data.body)}async function Ee(t=!0){let n={countAll:t};return await e.t.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function De(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/typical_project/page`,i),o={studentOid:n,templateType:`APPLICATION`};return await e.t.post(a,o).then(e=>e.data.body)}async function Oe(t){let n={studentOid:t};return await e.t.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function ke(n={sortField:`updatedAt`},r=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],i=!1){let a={...t.t,...n},o=t.n(`https://community-web.ccw.site/creation/own/page`,a),s={statuses:r,ignoreTypicalProject:i};return await e.t.post(o,s).then(e=>e.data.body)}async function Ae(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function je(t,n=`MEMBER`){let r={creationOid:t,authority:n};return await e.t.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Me(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function Ne(t,n){let r={creationOid:t,authorities:n};return await e.t.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function Pe(n,r,i={sortField:`createdAt`}){let a={...t.t,...i},o=t.n(`https://community-web.ccw.site/creation/teamwork_log/page`,a),s={creationId:n,operateTargets:r},c=await e.t.post(o,s).then(e=>e.data.body),{data:l}=c,u=l.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...c,data:u}}async function Fe(t,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:t,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await e.t.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function Ie(t){return await e.t.post(`https://community-web.ccw.site/creation/submit`,t).then(e=>e.data.body)}async function Le(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function Re(t,n,r=`86`){let i={phone:t,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await e.t.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function ze(t,n){let r={newPassword:t,code:n};return await e.t.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function Be(t=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:t,ruleCode:r};return await e.t.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function Ve(t,n){let r={creationOid:t,memberSplitDetails:n};return await e.t.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function He(t){let n={creationOid:t},r=await e.t.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function Ue(t){let n={creationOid:t,type:`DAY`};return await e.t.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function We(n,r={sortField:`submittedAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/creation_release/page`,i),o={creationOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function Ge(t,n){let r={creationOid:t,creationReleaseOid:n};return await e.t.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function Ke(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/historical_team_member/page`,i),o={creationOid:n,page:i.page,perPage:i.perPage};return await e.t.post(a,o).then(e=>e.data.body)}async function qe(t){let n={shortUrlCode:t};return await e.t.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function Je(){return await e.t.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function Ye(){return await e.t.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function Xe(t,n){let r={projectId:t,variables:n};return await e.t.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function Ze(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function Qe(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function $e(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function et(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function tt(t,n,r){n.outline??=`foo`;let i={content:t,topic:n,sectionType:r};return await e.t.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function nt(t){let n={commentId:t};return await e.t.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function rt(n,r={sortField:`createdAt`}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/student/following/page`,i),o={studentOid:n};return await e.t.post(a,o).then(e=>e.data.body)}async function it(t,n,r=`CREATION`){let i={bucks:t,objectId:n,objectType:r};return await e.t.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function at(n=5,r={}){let i={...t.t,...r},a=t.n(`https://community-web.ccw.site/user_package/user_product`,i),o={page:i.page,perPage:i.perPage,sortType:i.sortType,productCategory:n};return await e.t.post(a,o).then(e=>e.data.body)}async function ot(t,n){let r={status:n,id:t};return await e.t.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function st(t){let n={creationOid:t};return await e.t.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function ct(t,n,r,i,a=`CREATION`){let o={bizId:t,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await e.t.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function lt(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function ut(t){let n={id:t};return await e.t.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function dt(t,n=`CREATION`){let r={bizId:t,bizType:n};return await e.t.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function ft(t,n){let r={playingCreationOid:t,userOid:n};return await e.t.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function pt(t,n){let r={playingCreationOid:t,creationOid:n};return await e.t.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function mt(t){let n={followingOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function ht(t){let n={followingOid:t};return await e.t.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}const gt={acceptAward:fe,bindStudentPhone:Re,changeStudentPassword:ze,createCreation:g,donateTrade:it,encodeShortCode:n,executeSmartContract:ct,fetchMemberInviteToken:je,fetchObserverInviteToken:Ae,createCloudVariable:Xe,createComment:tt,createShortUrl:P,createSmsCaptchaBySession:Be,createSplitRule:Ve,decompressShortUrl:qe,deleteComment:et,foldComment:Qe,followCreator:mt,unfollowCreator:ht,getApprovalTags:r,getCampaignResources:a,getCcwMainStatus:Ye,getCheckInRecords:o,getCodeProfilingDetail:Ge,getCommentReplies:d,getCommentsByTopic:p,getConfigDetail:m,getCreationActivityStatsList:Ue,getCreationAttributeDetail:He,getCreationDetail:_,getCreationFavoriteDetail:U,getCreationIntroduction:y,getConnectCommunityCreationLikeStatus:pt,getCreationRecommendPositionList:W,getCreationReleasePage:We,getCreationScreenshotPage:G,getCreationStudentDetail:M,getCreationTags:N,getCreatorScore:$,getDonatedRecordRanking:H,getExcellentCreations:v,getConnectCommunityFollowingStatus:ft,getEmojiCategoryList:ve,getEmojiPage:ye,getAllEmojis:_e,getHashTagDetail:R,getHashTagFavoriteDetail:V,getHistoricalTeamMemberPage:Ke,getManagedHashTags:B,getHealthCheck:xe,getLeafletsItemList:Se,getLikeDetail:b,getLoadingTips:x,getLockedUserDetail:Ce,getMutedUserDetail:we,getMyHashTagCreations:L,getMyTasks:pe,getNotifyDeleteReasons:q,getNotificationPage:Te,getNotificationStats:Ee,getOwnCreationPage:ke,getPersonalCurrencyAccount:ge,getPlanetsOfCreation:F,getPostDetail:J,getPotentialCreations:E,getRecommendCreations:O,getRecommendCreators:k,getRecommendHashTags:Je,getRemixedCreationPage:C,getReputationScoreLogPage:ie,getSearchHotWords:Y,getSmartContractAccount:lt,getSmartContractDetail:ut,getSmartContractList:dt,getSplitRuleDetail:Le,getSpreadFeedUnreadCount:le,getStudentBlockRecordDetail:X,getStudentBlockRecordList:Z,getStudentBlockStatus:Q,getStudentFollowingPage:rt,getStudentLastActiveAt:ee,getStudentProfile:re,getStudentSelfDetail:ae,getStudentSessions:ne,getStudentsList:te,getStudentStats:oe,getStudyCommunityMemberDetail:ce,getSubjectAreaPage:ue,getSubjectAreaPageByChannel:de,getTeamMemberList:Ne,getTeamworkLogPage:Pe,getTime:i,getTypicalProjectPage:De,getTypicalProjectUnreadCount:Oe,getUserAssetStorageSize:c,getUserCardDetail:me,getUserLabelList:he,getUserProductsPage:at,queryMallProducts:h,getCreationsByStudent:T,insertCheckInRecord:s,likeComment:nt,produceTeamMemberTicket:Me,resetCommentWeight:$e,searchCloudAssets:u,searchCreationsByTag:j,sendEvent:be,setUserProductStatus:ot,submitCreation:Ie,topComment:Ze,updateCreation:Fe,updateGreatCreation:st,updateStudent:se,viewCreationStats:K};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return gt}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./request-CzgJtv9u.js";import{n as t,t as n}from"./queryPages-Cj4eQL4Q.js";async function r(t,n,r,i){let a={origin:{inviterAvatar:n,inviterName:r,inviterId:t,inviterType:`STUDENT`,entrance:`create_detail`,creationOid:i}};return await e.post(`https://community-web.ccw.site/api/v1/short_code/encode`,a).then(e=>e.data.body)}async function i(t){let n={objectId:t,objectType:`STUDENT`};return await e.post(`https://community-web.ccw.site/approval/list`,n).then(e=>e.data.body)}async function a(){return e.post(`https://community-web.ccw.site/base/dateTime`,void 0).then(e=>e.data.body)}async function o(t){return await e.post(`https://community-web.ccw.site/campaign_resource/detail`,{keyword:t}).then(e=>e.data.body)}async function s(){return await e.post(`https://community-web.ccw.site/check_in_record/detail`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function c(){return await e.post(`https://community-web.ccw.site/check_in_record/insert`,{scene:`HOMEPAGE`}).then(e=>e.data.body)}async function l(){return await e.post(`https://community-web.ccw.site/cloud_asset/user/privacy`,{}).then(e=>e.data.body)}const u={...n,sortField:`createdAt`};async function ee(n,r=`/`,i={}){let a=t(`https://community-web.ccw.site/cloud_asset/search`,{...u,...i}),o={creatorOid:n,path:r};return await e.post(a,o).then(e=>e.data.body)}async function te(r,i,a=[`PUBLISHED`,`FOLDED`],o={sortField:`createdAt`}){let s=t(`https://community-web.ccw.site/comment/page`,{...n,...o}),c={topicId:r,parentId:i,statuses:a};return await e.post(s,c).then(e=>e.data.body)}const d={...n,sortField:`createdAt`};async function f(n,r,i,a={sortField:`createdAt`}){let o=t(`https://community-web.ccw.site/comment/page_by_topic`,{...d,...a}),s={subjectOid:n,subjectType:r,sectionType:i};return await e.post(o,s).then(e=>e.data.body)}async function p(t){let n={key:t};return await e.post(`https://community-web.ccw.site/config/detail`,n).then(e=>e.data.body)}async function m(r,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/ccw-mall/ccw/product/fe/query`,a),s={page:a.page,perPage:a.perPage,sortType:a.sortType,productCategory:r,source:`CCW_OFFICIAL`};return await e.post(o,s).then(e=>e.data.body)}async function h(t,n,r,i=`ORIGINAL`,a=`LANDSCAPE`,o=`PRIVATE`){let s={type:i,title:t,latestProjectLink:n,screenMode:a,artifactType:`STANDARD`,sourceOpenLevel:o,latestCoverLink:r};return await e.post(`https://community-web.ccw.site/creation/create`,s).then(e=>e.data.body)}async function g(t,n,r=``){let i={oid:t,accessKey:n,mode:r};return await e.post(`https://community-web.ccw.site/creation/detail`,i).then(e=>e.data.body)}async function _(t){let n={num:t};return await e.post(`https://community-web.ccw.site/creation/excellent/list`,n).then(e=>e.data.body)}async function v(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/creation/introduction/detail`,n).then(e=>e.data.body)}async function y(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/like/detail`,n).then(e=>e.data.body)}async function b(){return await e.post(`https://community-web.ccw.site/creation/loading/tips`,{}).then(e=>e.data.body)}const x={...n,sortField:`createdAt`};async function S(n,r={}){let i=t(`https://community-web.ccw.site/creation/page`,{...x,...r}),a={remixCreationOids:n};return await e.post(i,a).then(e=>e.data.body)}const C={...n,sortField:`createdAt`};async function w(n,r={}){let i=t(`https://community-web.ccw.site/creation/page_by_student`,{...C,...r}),a={studentOids:n};return await e.post(i,a).then(e=>e.data.body)}async function T(t){let n={num:t};return await e.post(`https://community-web.ccw.site/creation/potential/list`,n).then(e=>e.data.body)}const E={...n,sortField:`createdAt`};async function D(n,r={}){let i=t(`https://community-web.ccw.site/creation/recommend`,{...E,...r}),a={num:n,subjectType:`POTENTIAL`};return await e.post(i,a).then(e=>e.data.body)}async function O(t=4,n=8){let r={excellentCount:t,potentialCount:n};return await e.post(`https://community-web.ccw.site/recommend_creator/list`,r).then(e=>e.data.body)}const k={...n,sortField:`createdAt`};async function A(n,r={}){let i=t(`https://community-web.ccw.site/creation/search/page`,{...k,...r});return await e.post(i,n).then(e=>e.data.body)}async function j(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/creation/student/detail`,n).then(e=>e.data.body)}async function M(){return await e.post(`https://community-web.ccw.site/creation/tag/list`,{visibility:`PUBLIC`}).then(e=>e.data.body)}async function N(t){let n={originUrl:t};return await e.post(`https://community-web.ccw.site/short_url/create`,n).then(e=>e.data.body)}async function P(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/hash_tag_creation/list_relation`,n).then(e=>e.data.body)}const F={...n,sortField:`lastPassedAt`};async function I(n,r,i={}){let a={...F,...i},o=t(`https://community-web.ccw.site/hash_tag_creation/mine`,a),s={...a,excludeHashTag:n,statuses:r};return await e.post(o,s).then(e=>e.data.body)}async function L(t){let n={identifier:t};return await e.post(`https://community-web.ccw.site/hash_tag/detail`,n).then(e=>e.data.body)}const R={...n,sortField:`createdAt`};async function z(n,r=[],i={}){let a={...R,...i},o=t(`https://community-web.ccw.site/hash_tag/managed/list`,a),s={...a,studentOid:n,excludeHashTagIds:r};return await e.post(o,s).then(e=>e.data.body)}async function B(t){let n={hashTagId:t};return await e.post(`https://community-web.ccw.site/hash_tag_favorite/detail`,n).then(e=>e.data.body)}async function V(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/creation_donated_record/ranking_list`,{...n,...i}),o={creationOid:r};return await e.post(a,o).then(e=>e.data.body)}async function H(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation_favorite/detail`,n).then(e=>e.data.body)}async function U(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation_recommend_position/list`,n).then(e=>e.data.body)}async function W(r,i={}){let a=t(`https://community-web.ccw.site/creation_screenshot/page`,{...n,...i}),o={subjectOid:r};return await e.post(a,o).then(e=>e.data.body)}async function G(t,n=``){let r={oid:t,inviteCode:n};return await e.post(`https://community-web.ccw.site/creation_stats/view`,r).then(e=>e.data.body)}async function K(){return await e.post(`https://community-web.ccw.site/notify_message/show`,{type:`COMMENT_AUDIT`}).then(e=>e.data.body)}async function q(t){let n={slug:t};return await e.post(`https://community-web.ccw.site/post/detail`,n).then(e=>e.data.body)}async function J(t){let n={length:t};return await e.post(`https://community-web.ccw.site/search/hot_words`,n).then(e=>e.data.body)}async function Y(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/student/block_record/detail`,n).then(e=>e.data.body)}async function X(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/student/block_record/list`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function Z(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/student/block_record/status`,n).then(e=>e.data.body)}async function Q(){return await e.post(`https://community-web.ccw.site/students/creator_score`,void 0).then(e=>e.data.body)}async function ne(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/last_active_at`,n).then(e=>e.data.body)}async function re(t){let n={studentOids:t};return await e.post(`https://community-web.ccw.site/students/list`,n).then(e=>e.data.body)}async function ie(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/students/list_sessions`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function ae(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/profile`,n).then(e=>e.data.body)}async function oe(r={sortField:`createdAt`}){let i=t(`https://community-web.ccw.site/students/reputation_score_log/page`,{...n,...r});return await e.post(i,{}).then(e=>e.data.body)}async function se(t,n,r){let i={needGrade:t,needExtraInfo:n,fields:r};return await e.post(`https://community-web.ccw.site/students/self/detail`,i).then(e=>e.data.body)}async function ce(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/students/stats`,n).then(e=>e.data.body)}async function le(t,n,r,i,a,o,s,c,l){let u={gender:t,hideGender:n,fullName:r,birthday:i,programmingCapability:a,school:o,qq:s,hobbies:c,learnedProgrammingLanguages:l};return await e.post(`https://community-web.ccw.site/students/update`,u).then(e=>e.data.body)}async function ue(){return await e.post(`https://community-web.ccw.site/study-community/member/detail`,{}).then(e=>e.data.body)}async function de(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/study-community/spread_feed/unread/count`,n).then(e=>e.data.body)}async function fe(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/subject_area/page`,{...n,...i}),o={scene:r};return await e.post(a,o).then(e=>e.data.body)}async function pe(r,i={sortField:`campaignResourceId`}){let a=t(`https://community-web.ccw.site/subject_area/page_by_channel`,{...n,...i}),o={channel:r,scene:`CUSTOM_PAGE`};return await e.post(a,o).then(e=>e.data.body)}async function me(t){let n={taskOid:t};return await e.post(`https://community-web.ccw.site/task/award`,n).then(e=>e.data.body)}async function he(){return await e.post(`https://community-web.ccw.site/task/mine`,{scene:`checkIn`}).then(e=>e.data.body)}async function ge(t){let n={oid:t};return await e.post(`https://community-web.ccw.site/user-card/detail`,n).then(e=>e.data.body)}async function _e(){return await e.post(`https://community-web.ccw.site/user_label/list`,{}).then(e=>e.data.body)}async function ve(){return await e.post(`https://community-web.ccw.site/currency/account/personal`).then(e=>e.data.body)}async function ye(){return await e.post(`https://community-web.ccw.site/emoji/all`,{}).then(e=>e.data.body)}async function be(){return await e.post(`https://community-web.ccw.site/emoji/category/list`,{}).then(e=>e.data.body)}async function xe(r=`ENABLED`,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/emoji/page`,a),s={page:a.page,perPage:a.perPage,status:r};return await e.post(o,s).then(e=>e.data.body)}async function Se(t){let n={actionId:t};return await e.post(`https://community-web.ccw.site/event`,n).then(e=>e.data.body)}async function Ce(){return await e.post(`https://community-web.ccw.site/health/check`).then(e=>e.data.body)}async function we(t){let n={advertisementId:t};return await e.post(`https://community-web.ccw.site/leaflets/item/list`,n).then(e=>e.data.body)}async function Te(t){let n={accountOid:t};return await e.post(`https://community-web.ccw.site/locked_user/detail`,n).then(e=>e.data.body)}async function Ee(t){let n={studentNumber:t};return await e.post(`https://community-web.ccw.site/muted_user/detail`,n).then(e=>e.data.body)}async function De(r=`COMMENT_TO_ME`,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/notification/page`,a),s={notifyGroup:r,page:a.page};return await e.post(o,s).then(e=>e.data.body)}async function Oe(t=!0){let n={countAll:t};return await e.post(`https://community-web.ccw.site/notification/stats/v2`,n).then(e=>e.data.body)}async function ke(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/typical_project/page`,{...n,...i}),o={studentOid:r,templateType:`APPLICATION`};return await e.post(a,o).then(e=>e.data.body)}async function Ae(t){let n={studentOid:t};return await e.post(`https://community-web.ccw.site/typical_project/student/unread_count`,n).then(e=>e.data.body)}async function je(r={sortField:`updatedAt`},i=[`BANNED`,`PUBLISHED`,`REJECTED`,`SUBMITTED`],a=!1){let o=t(`https://community-web.ccw.site/creation/own/page`,{...n,...r}),s={statuses:i,ignoreTypicalProject:a};return await e.post(o,s).then(e=>e.data.body)}async function Me(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch`,n).then(e=>e.data.body)}async function Ne(t,n=`MEMBER`){let r={creationOid:t,authority:n};return await e.post(`https://community-web.ccw.site/creation/team_member/invite_token/fetch`,r).then(e=>e.data.body)}async function Pe(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/team_member/produce_ticket`,n).then(e=>e.data.body)}async function Fe(t,n){let r={creationOid:t,authorities:n};return await e.post(`https://community-web.ccw.site/creation/team_member/list`,r).then(e=>e.data.body)}async function Ie(r,i,a={sortField:`createdAt`}){let o=t(`https://community-web.ccw.site/creation/teamwork_log/page`,{...n,...a}),s={creationId:r,operateTargets:i},c=await e.post(o,s).then(e=>e.data.body),{data:l}=c,u=l.map(e=>{let{content:t}=e;return{...e,content:JSON.parse(t)}});return{...c,data:u}}async function Le(t,n,r=`LANDSCAPE`,i){if(!n.includes(`t=`)){let e=new URL(n);e.searchParams.set(`t`,Date.now().toString()),n=e.toString()}let a={oid:t,latestProjectLink:n,screenMode:r,latestCoverLink:i};return await e.post(`https://community-web.ccw.site/creation/update`,a).then(e=>e.data.body)}async function Re(t){return await e.post(`https://community-web.ccw.site/creation/submit`,t).then(e=>e.data.body)}async function ze(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/detail`,n).then(e=>e.data.body)}async function Be(t,n,r=`86`){let i={phone:t,code:n,ruleCode:`ccw_sms`,scene:`bindPhone`,countryCode:r};return await e.post(`https://community-web.ccw.site/students/bind_phone`,i).then(e=>e.data.body)}async function Ve(t,n){let r={newPassword:t,code:n};return await e.post(`https://community-web.ccw.site/students/password/change`,r).then(e=>e.data.body)}async function He(t=`change_password`,n=`86`,r=`ccw_sms`,i=`SMS`){let a={type:i,countryCode:n,scene:t,ruleCode:r};return await e.post(`https://community-web.ccw.site/captcha/v2/create_by_session`,a).then(e=>e.data.body)}async function Ue(t,n){let r={creationOid:t,memberSplitDetails:n};return await e.post(`https://community-web.ccw.site/creation/smart_contract/split_rule/create`,r).then(e=>e.data.body)}async function We(t){let n={creationOid:t},r=await e.post(`https://community-web.ccw.site/creation_attribute/detail`,n).then(e=>e.data.body);if(r===null)return null;let{ext:{KEYPAD_CONFIG:i}}=r,a=JSON.parse(i);return{...r,ext:{KEYPAD_CONFIG:a}}}async function Ge(t){let n={creationOid:t,type:`DAY`};return await e.post(`https://community-web.ccw.site/creation_activity_stats/list`,n).then(e=>e.data.body)}async function Ke(r,i={sortField:`submittedAt`}){let a=t(`https://community-web.ccw.site/creation_release/page`,{...n,...i}),o={creationOid:r};return await e.post(a,o).then(e=>e.data.body)}async function qe(t,n){let r={creationOid:t,creationReleaseOid:n};return await e.post(`https://community-web.ccw.site/creation_release/code_profiling/detail`,r).then(e=>e.data.body)}async function Je(r,i={sortField:`createdAt`}){let a={...n,...i},o=t(`https://community-web.ccw.site/historical_team_member/page`,a),s={creationOid:r,page:a.page,perPage:a.perPage};return await e.post(o,s).then(e=>e.data.body)}async function Ye(t){let n={shortUrlCode:t};return await e.post(`https://community-web.ccw.site/short_url/decompress`,n).then(e=>e.data.body)}async function Xe(){return await e.post(`https://community-web.ccw.site/hash_tag/recommend/list`).then(e=>e.data.body)}async function Ze(){return await e.post(`https://community-web.ccw.site/ccw-main/status`,{}).then(e=>e.data.body)}async function Qe(t,n){let r={projectId:t,variables:n};return await e.post(`https://community-web.ccw.site/study-community/cloud_variable/create`,r).then(e=>e.data.body)}async function $e(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/top`,n).then(e=>e.data.body)}async function et(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/fold`,n).then(e=>e.data.body)}async function tt(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/reset_weight`,n).then(e=>e.data.body)}async function $(t){let n={id:t};return await e.post(`https://community-web.ccw.site/study-community/comment/delete`,n).then(e=>e.data.body)}async function nt(t,n,r){n.outline??=`foo`;let i={content:t,topic:n,sectionType:r};return await e.post(`https://community-web.ccw.site/comment/create`,i).then(e=>e.data.body)}async function rt(t){let n={commentId:t};return await e.post(`https://community-web.ccw.site/comment/like_record/create`,n).then(e=>e.data.body)}async function it(r,i={sortField:`createdAt`}){let a=t(`https://community-web.ccw.site/student/following/page`,{...n,...i}),o={studentOid:r};return await e.post(a,o).then(e=>e.data.body)}async function at(t,n,r=`CREATION`){let i={bucks:t,objectId:n,objectType:r};return await e.post(`https://community-web.ccw.site/study-trade/trade/donate`,i).then(e=>e.data.body)}async function ot(r=5,i={}){let a={...n,...i},o=t(`https://community-web.ccw.site/user_package/user_product`,a),s={page:a.page,perPage:a.perPage,sortType:a.sortType,productCategory:r};return await e.post(o,s).then(e=>e.data.body)}async function st(t,n){let r={status:n,id:t};return await e.post(`https://community-web.ccw.site/user_package/status`,r).then(e=>e.data.body)}async function ct(t){let n={creationOid:t};return await e.post(`https://community-web.ccw.site/great_creation/update`,n).then(e=>e.data.body)}async function lt(t,n,r,i,a=`CREATION`){let o={bizId:t,bizType:a,id:n,ruleId:r,params:{bucks:i}};return await e.post(`https://community-web.ccw.site/smart_contract/execute`,o).then(e=>e.data.body)}async function ut(t){let n={id:t};return await e.post(`https://community-web.ccw.site/smart_contract/account`,n).then(e=>e.data.body)}async function dt(t){let n={id:t};return await e.post(`https://community-web.ccw.site/smart_contract/detail`,n).then(e=>e.data.body)}async function ft(t,n=`CREATION`){let r={bizId:t,bizType:n};return await e.post(`https://community-web.ccw.site/smart_contract/list`,r).then(e=>e.data.body)}async function pt(t,n){let r={playingCreationOid:t,userOid:n};return await e.post(`https://community-web.ccw.site/extensions/following/status`,r).then(e=>e.data.body)}async function mt(t,n){let r={playingCreationOid:t,creationOid:n};return await e.post(`https://community-web.ccw.site/extensions/creation-like/detail`,r).then(e=>e.data.body)}async function ht(t){let n={followingOid:t};return await e.post(`https://community-web.ccw.site/study-community/following/follow`,n).then(e=>e.data.body)}async function gt(t){let n={followingOid:t};return await e.post(`https://community-web.ccw.site/study-community/following/unfollow`,n).then(e=>e.data.body)}const _t={acceptAward:me,bindStudentPhone:Be,changeStudentPassword:Ve,createCreation:h,donateTrade:at,encodeShortCode:r,executeSmartContract:lt,fetchMemberInviteToken:Ne,fetchObserverInviteToken:Me,createCloudVariable:Qe,createComment:nt,createShortUrl:N,createSmsCaptchaBySession:He,createSplitRule:Ue,decompressShortUrl:Ye,deleteComment:$,foldComment:et,followCreator:ht,unfollowCreator:gt,getApprovalTags:i,getCampaignResources:o,getCcwMainStatus:Ze,getCheckInRecords:s,getCodeProfilingDetail:qe,getCommentReplies:te,getCommentsByTopic:f,getConfigDetail:p,getCreationActivityStatsList:Ge,getCreationAttributeDetail:We,getCreationDetail:g,getCreationFavoriteDetail:H,getCreationIntroduction:v,getConnectCommunityCreationLikeStatus:mt,getCreationRecommendPositionList:U,getCreationReleasePage:Ke,getCreationScreenshotPage:W,getCreationStudentDetail:j,getCreationTags:M,getCreatorScore:Q,getDonatedRecordRanking:V,getExcellentCreations:_,getConnectCommunityFollowingStatus:pt,getEmojiCategoryList:be,getEmojiPage:xe,getAllEmojis:ye,getHashTagDetail:L,getHashTagFavoriteDetail:B,getHistoricalTeamMemberPage:Je,getManagedHashTags:z,getHealthCheck:Ce,getLeafletsItemList:we,getLikeDetail:y,getLoadingTips:b,getLockedUserDetail:Te,getMutedUserDetail:Ee,getMyHashTagCreations:I,getMyTasks:he,getNotifyDeleteReasons:K,getNotificationPage:De,getNotificationStats:Oe,getOwnCreationPage:je,getPersonalCurrencyAccount:ve,getPlanetsOfCreation:P,getPostDetail:q,getPotentialCreations:T,getRecommendCreations:D,getRecommendCreators:O,getRecommendHashTags:Xe,getRemixedCreationPage:S,getReputationScoreLogPage:oe,getSearchHotWords:J,getSmartContractAccount:ut,getSmartContractDetail:dt,getSmartContractList:ft,getSplitRuleDetail:ze,getSpreadFeedUnreadCount:de,getStudentBlockRecordDetail:Y,getStudentBlockRecordList:X,getStudentBlockStatus:Z,getStudentFollowingPage:it,getStudentLastActiveAt:ne,getStudentProfile:ae,getStudentSelfDetail:se,getStudentSessions:ie,getStudentsList:re,getStudentStats:ce,getStudyCommunityMemberDetail:ue,getSubjectAreaPage:fe,getSubjectAreaPageByChannel:pe,getTeamMemberList:Fe,getTeamworkLogPage:Ie,getTime:a,getTypicalProjectPage:ke,getTypicalProjectUnreadCount:Ae,getUserAssetStorageSize:l,getUserCardDetail:ge,getUserLabelList:_e,getUserProductsPage:ot,queryMallProducts:m,getCreationsByStudent:w,insertCheckInRecord:c,likeComment:rt,produceTeamMemberTicket:Pe,resetCommentWeight:tt,searchCloudAssets:ee,searchCreationsByTag:A,sendEvent:Se,setUserProductStatus:st,submitCreation:Re,topComment:$e,updateCreation:Le,updateGreatCreation:ct,updateStudent:le,viewCreationStats:G};export{_t as t};
|