@ccw-api/api 0.11.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/README.md +58 -10
- package/dist/account-_e06LVHE.d.cts +6 -0
- package/dist/account-_e06LVHE.d.ts +6 -0
- package/dist/{api-eD9o12yg.d.cts → api-DK7ohLa7.d.cts} +9 -18
- package/dist/{api-eD9o12yg.d.ts → api-DK7ohLa7.d.ts} +9 -18
- package/dist/bfs-web-BtWTiGvL.cjs +1 -0
- package/dist/bfs-web-xFSpR-s6.js +1 -0
- package/dist/bfs.cjs +1 -0
- package/dist/bfs.d.cts +2 -0
- package/dist/bfs.d.ts +2 -0
- package/dist/bfs.js +1 -0
- package/dist/community-web-B7SGi5-y.cjs +1 -0
- package/dist/community-web-Dzl0mbbh.js +1 -0
- package/dist/community-web-cloud-database-BkH9wp1u.cjs +1 -0
- package/dist/community-web-cloud-database-D9IZZIjN.js +1 -0
- package/dist/communityWeb.cjs +1 -0
- package/dist/communityWeb.d.cts +2 -0
- package/dist/communityWeb.d.ts +2 -0
- package/dist/communityWeb.js +1 -0
- package/dist/communityWebDB.cjs +1 -0
- package/dist/communityWebDB.d.cts +2 -0
- package/dist/communityWebDB.d.ts +2 -0
- package/dist/communityWebDB.js +1 -0
- package/dist/extensions-BhEKLZ5I.d.cts +617 -0
- package/dist/extensions-D1JeVkuw.d.ts +617 -0
- package/dist/gandi-main-Bdq3vj-l.js +1 -0
- package/dist/gandi-main-CVC31Jom.cjs +1 -0
- package/dist/gandiMain.cjs +1 -0
- package/dist/gandiMain.d.cts +2 -0
- package/dist/gandiMain.d.ts +2 -0
- package/dist/gandiMain.js +1 -0
- package/dist/index-B8SvUvok.d.ts +112 -0
- package/dist/{index-DHBvF_JC.d.ts → index-BVdJi7l7.d.ts} +12 -10
- package/dist/{index-Df4POgQq.d.ts → index-CDuyecw5.d.ts} +12 -10
- package/dist/index-CV03H74N.d.cts +2351 -0
- package/dist/index-CobjrinB.d.ts +2351 -0
- package/dist/index-CwWMFbgH.d.cts +112 -0
- package/dist/{index-BE998Kka.d.cts → index-DCDRwVC2.d.cts} +79 -74
- package/dist/{index-BDpiLiUN.d.ts → index-DXMyzE0v.d.ts} +79 -74
- package/dist/{index-DBnhnINQ.d.cts → index-IcG5LsGk.d.cts} +12 -10
- package/dist/{index-CTK9UFeW.d.cts → index-JnYvwWhY.d.cts} +33 -30
- package/dist/{index-CTK9UFeW.d.ts → index-JnYvwWhY.d.ts} +33 -30
- package/dist/{index-DcBdyIv0.d.cts → index-sOyHrix1.d.cts} +12 -10
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +167 -164
- package/dist/index.d.ts +167 -164
- package/dist/index.js +1 -2
- package/dist/op-parent-api-BC6-0rS8.js +1 -0
- package/dist/op-parent-api-BZbZzfJ6.cjs +1 -0
- package/dist/opParent.cjs +1 -0
- package/dist/opParent.d.cts +2 -0
- package/dist/opParent.d.ts +2 -0
- package/dist/opParent.js +1 -0
- package/dist/pages-K5jlky49.d.cts +42 -0
- package/dist/pages-K5jlky49.d.ts +42 -0
- package/dist/queryPages-CfywLB4S.cjs +1 -0
- package/dist/queryPages-Cj4eQL4Q.js +1 -0
- package/dist/request-CIq4GGVU.cjs +1 -0
- package/dist/request-CzgJtv9u.js +1 -0
- package/dist/session-Cw37kR-m.d.ts +43 -0
- package/dist/session-D8sffvmq.d.cts +43 -0
- package/dist/sso-C0ZWQvKo.cjs +1 -0
- package/dist/sso-DUoym0qZ.js +1 -0
- package/dist/sso.cjs +1 -0
- package/dist/sso.d.cts +2 -0
- package/dist/sso.d.ts +2 -0
- package/dist/sso.js +1 -0
- package/package.json +9 -9
- package/dist/account-Dk_iscrW.d.cts +0 -8
- package/dist/account-Dk_iscrW.d.ts +0 -8
- package/dist/bfs-web/index.cjs +0 -2
- package/dist/bfs-web/index.d.cts +0 -5
- package/dist/bfs-web/index.d.ts +0 -5
- package/dist/bfs-web/index.global.js +0 -29
- package/dist/bfs-web/index.js +0 -2
- package/dist/community-web/index.cjs +0 -2
- package/dist/community-web/index.d.cts +0 -6
- package/dist/community-web/index.d.ts +0 -6
- package/dist/community-web/index.global.js +0 -29
- package/dist/community-web/index.js +0 -2
- package/dist/community-web-cloud-database/index.cjs +0 -2
- package/dist/community-web-cloud-database/index.d.cts +0 -2
- package/dist/community-web-cloud-database/index.d.ts +0 -2
- package/dist/community-web-cloud-database/index.global.js +0 -29
- package/dist/community-web-cloud-database/index.js +0 -2
- package/dist/extensions-Bj9XMupR.d.cts +0 -662
- package/dist/extensions-zuu8XVBR.d.ts +0 -662
- package/dist/gandi-main/index.cjs +0 -2
- package/dist/gandi-main/index.d.cts +0 -3
- package/dist/gandi-main/index.d.ts +0 -3
- package/dist/gandi-main/index.global.js +0 -29
- package/dist/gandi-main/index.js +0 -2
- package/dist/index-BrxSkWbg.d.cts +0 -2289
- package/dist/index-CYQhPzUX.d.ts +0 -108
- package/dist/index-Ci0X9uqV.d.cts +0 -108
- package/dist/index-DBAUdwJo.d.ts +0 -2289
- package/dist/index.global.js +0 -29
- package/dist/op-parent-api/index.cjs +0 -2
- package/dist/op-parent-api/index.d.cts +0 -1
- package/dist/op-parent-api/index.d.ts +0 -1
- package/dist/op-parent-api/index.global.js +0 -29
- package/dist/op-parent-api/index.js +0 -2
- package/dist/pages-BgT6bhJd.d.cts +0 -46
- package/dist/pages-BgT6bhJd.d.ts +0 -46
- package/dist/session-Cq-kUclp.d.ts +0 -48
- package/dist/session-DGUV-m-G.d.cts +0 -48
- package/dist/setToken.cjs +0 -1
- package/dist/setToken.d.cts +0 -1
- package/dist/setToken.d.ts +0 -1
- package/dist/setToken.global.js +0 -29
- package/dist/setToken.js +0 -1
- package/dist/sso/index.cjs +0 -2
- package/dist/sso/index.d.cts +0 -4
- package/dist/sso/index.d.ts +0 -4
- package/dist/sso/index.global.js +0 -29
- package/dist/sso/index.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as MongoDBId } from "./api-DK7ohLa7.cjs";
|
|
2
|
+
//#region src/community-web-cloud-database/cloud_variable/save.d.ts
|
|
3
3
|
type SaveCloudVariableRes<T extends Record<string, unknown>> = T;
|
|
4
4
|
/**
|
|
5
5
|
* 保存作品云变量到云数据库
|
|
@@ -9,7 +9,7 @@ type SaveCloudVariableRes<T extends Record<string, unknown>> = T;
|
|
|
9
9
|
* @returns {Promise<SaveCloudVariableRes<T>>} 保存后的值对象
|
|
10
10
|
*/
|
|
11
11
|
declare function saveProjectCloudVariable<T extends string>(projectId: MongoDBId, secondaryKey: string, value: T): Promise<SaveCloudVariableRes<{
|
|
12
|
-
|
|
12
|
+
v: T;
|
|
13
13
|
}>>;
|
|
14
14
|
/**
|
|
15
15
|
* 保存数据到用户云数据库
|
|
@@ -19,7 +19,8 @@ declare function saveProjectCloudVariable<T extends string>(projectId: MongoDBId
|
|
|
19
19
|
* @returns {Promise<SaveCloudVariableRes<T>>} 保存后的值对象
|
|
20
20
|
*/
|
|
21
21
|
declare function saveUserCloudVariable<T extends Record<string, string>>(projectId: MongoDBId, studentNum: number, value: T): Promise<SaveCloudVariableRes<T>>;
|
|
22
|
-
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/community-web-cloud-database/cloud_variable/detail/v2.d.ts
|
|
23
24
|
type Res = {};
|
|
24
25
|
/**
|
|
25
26
|
* 查询云变量详情 V2
|
|
@@ -30,11 +31,12 @@ type Res = {};
|
|
|
30
31
|
* @returns {Promise<Res>} 云变量详情
|
|
31
32
|
*/
|
|
32
33
|
declare function getCloudVariableDetailV2(accessKey: string, primaryKey: string, secondaryKey: string, filterKeys: string[]): Promise<Res>;
|
|
33
|
-
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/community-web-cloud-database/index.d.ts
|
|
34
36
|
declare const communityWebCloudDatabase: {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
saveProjectCloudVariable: typeof saveProjectCloudVariable;
|
|
38
|
+
saveUserCloudVariable: typeof saveUserCloudVariable;
|
|
39
|
+
getCloudVariableDetailV2: typeof getCloudVariableDetailV2;
|
|
38
40
|
};
|
|
39
|
-
|
|
40
|
-
export { saveUserCloudVariable as
|
|
41
|
+
//#endregion
|
|
42
|
+
export { saveUserCloudVariable as i, getCloudVariableDetailV2 as n, saveProjectCloudVariable as r, communityWebCloudDatabase as t };
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var ro=require('@ccw-api/axios');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var ro__default=/*#__PURE__*/_interopDefault(ro);var zt="https://sso.ccw.site/web/auth/login-by-password";async function g(e,t,o={device:"Node",browser:"Node.js"}){let r={loginKey:e,password:t,clientCode:"STUDY_COMMUNITY",extra:JSON.stringify({...o,scene:null})},{extra:s,...n}=await ro.ccwAxios.post(zt,r).then(c=>c.data.body),a=JSON.parse(s);return {...n,extra:a}}var $t="https://sso.ccw.site/web/auth/logout";async function l(){return await ro.ccwAxios.post($t,{}).then(e=>e.data.body)}var Jt="https://sso.ccw.site/web/auth/logout_by_session";async function R(e){return await ro.ccwAxios.post(Jt,{id:e}).then(t=>t.data.body)}var Zt="https://sso.ccw.site/web/auth/assistant/captcha/v2/create";async function y(e,t="loginbyPhone",o="86",r="ccw_sms",s){let n={recipient:e,countryCode:o,scene:t,ruleCode:r,captcha:s};return await ro.ccwAxios.post(Zt,n).then(a=>a.data.body)}var eo="https://sso.ccw.site/web/auth/v3/login/by_phone";async function A(e,t,o={device:"Node",browser:"Node.js"},r="86",s="ccw_sms",n="loginbyPhone"){let{extra:a,...c}=await ro.ccwAxios.post(eo,{phone:e,code:t,countryCode:r,ruleCode:s,scene:n,clientCode:"STUDY_COMMUNITY",extra:JSON.stringify({...o,scene:null})}).then(m=>m.data.body),u=JSON.parse(a);return {...c,extra:u}}var x={loginByPassword:g,logout:l,logoutBySession:R,createSmsCaptcha:y,loginByPhone:A};var oo="https://community-web.ccw.site/api/v1/short_code/encode";async function b(e,t,o,r){let s={origin:{inviterAvatar:t,inviterName:o,inviterId:e,inviterType:"STUDENT",entrance:"create_detail",creationOid:r}};return await ro.ccwAxios.post(oo,s).then(n=>n.data.body)}var so="https://community-web.ccw.site/approval/list";async function f(e){let t={objectId:e,objectType:"STUDENT"};return await ro__default.default.post(so,t).then(o=>o.data.body)}var io="https://community-web.ccw.site/base/dateTime";async function w(){return ro__default.default.post(io,void 0).then(e=>e.data.body)}var ao="https://community-web.ccw.site/campaign_resource/detail";async function P(e){return await ro.ccwAxios.post(ao,{keyword:e}).then(t=>t.data.body)}var mo="https://community-web.ccw.site/check_in_record/detail";async function C(){let e={scene:"HOMEPAGE"};return await ro.ccwAxios.post(mo,e).then(t=>t.data.body)}var go="https://community-web.ccw.site/check_in_record/insert";async function I(){let e={scene:"HOMEPAGE"};return await ro.ccwAxios.post(go,e).then(t=>t.data.body)}var Ro="https://community-web.ccw.site/cloud_asset/user/privacy";async function S(){return await ro.ccwAxios.post(Ro,{}).then(e=>e.data.body)}function i(e,t){let o=new URL(e);return Object.entries(t).forEach(([r,s])=>{s!=null&&o.searchParams.set(r,s);}),o.toString()}var p={page:1,perPage:20,sortType:"DESC",sortField:""};var Ao="https://community-web.ccw.site/cloud_asset/search",xo={...p,sortField:"createdAt"};async function h(e,t="/",o={}){let r={...xo,...o},s=i(Ao,r),n={creatorOid:e,path:t};return await ro.ccwAxios.post(s,n).then(a=>a.data.body)}var fo="https://community-web.ccw.site/comment/page";async function T(e,t,o=["PUBLISHED","FOLDED"],r={sortField:"createdAt"}){let s={...p,...r},n=i(fo,s),a={topicId:e,parentId:t,statuses:o};return await ro.ccwAxios.post(n,a).then(c=>c.data.body)}var Po="https://community-web.ccw.site/comment/page_by_topic",Co={...p,sortField:"createdAt"};async function D(e,t,o,r={sortField:"createdAt"}){let s={...Co,...r},n=i(Po,s),a={subjectOid:e,subjectType:t,sectionType:o};return await ro.ccwAxios.post(n,a).then(c=>c.data.body)}var So="https://community-web.ccw.site/config/detail";async function q(e){let t={key:e};return await ro.ccwAxios.post(So,t).then(o=>o.data.body)}var To="https://community-web.ccw.site/ccw-mall/ccw/product/fe/query";async function M(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(To,o),s={page:o.page,perPage:o.perPage,sortType:o.sortType,productCategory:e,source:"CCW_OFFICIAL"};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var qo="https://community-web.ccw.site/creation/create";async function B(e,t,o,r="ORIGINAL",s="LANDSCAPE",n="PRIVATE"){let a={type:r,title:e,latestProjectLink:t,screenMode:s,artifactType:"STANDARD",sourceOpenLevel:n,latestCoverLink:o};return await ro.ccwAxios.post(qo,a).then(c=>c.data.body)}var Bo="https://community-web.ccw.site/creation/detail";async function O(e,t,o=""){let r={oid:e,accessKey:t,mode:o};return await ro.ccwAxios.post(Bo,r).then(s=>s.data.body)}var Eo="https://community-web.ccw.site/creation/excellent/list";async function E(e){let t={num:e};return await ro.ccwAxios.post(Eo,t).then(o=>o.data.body)}var Uo="https://community-web.ccw.site/creation/introduction/detail";async function L(e){let t={studentOid:e};return await ro.ccwAxios.post(Uo,t).then(o=>o.data.body)}var ko="https://community-web.ccw.site/creation/like/detail";async function U(e){let t={creationOid:e};return await ro.ccwAxios.post(ko,t).then(o=>o.data.body)}var vo="https://community-web.ccw.site/creation/loading/tips";async function _(){return await ro.ccwAxios.post(vo,{}).then(e=>e.data.body)}var jo="https://community-web.ccw.site/creation/page",Go={...p,sortField:"createdAt"};async function k(e,t={}){let o={...Go,...t},r=i(jo,o),s={remixCreationOids:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Ko="https://community-web.ccw.site/creation/page_by_student",Vo={...p,sortField:"createdAt"};async function N(e,t={}){let o={...Vo,...t},r=i(Ko,o),s={studentOids:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Wo="https://community-web.ccw.site/creation/potential/list";async function v(e){let t={num:e};return await ro.ccwAxios.post(Wo,t).then(o=>o.data.body)}var Yo="https://community-web.ccw.site/creation/recommend",Jo={...p,sortField:"createdAt"};async function F(e,t={}){let o={...Jo,...t},r=i(Yo,o),s={num:e,subjectType:"POTENTIAL"};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Zo="https://community-web.ccw.site/recommend_creator/list";async function j(e=4,t=8){let o={excellentCount:e,potentialCount:t};return await ro.ccwAxios.post(Zo,o).then(r=>r.data.body)}var er="https://community-web.ccw.site/creation/search/page",tr={...p,sortField:"createdAt"};async function G(e,t={}){let o={...tr,...t},r=i(er,o);return await ro.ccwAxios.post(r,e).then(s=>s.data.body)}var rr="https://community-web.ccw.site/creation/student/detail";async function H(e){let t={studentOid:e};return await ro.ccwAxios.post(rr,t).then(o=>o.data.body)}var nr="https://community-web.ccw.site/creation/tag/list";async function K(){let e={visibility:"PUBLIC"};return await ro.ccwAxios.post(nr,e).then(t=>t.data.body)}var pr="https://community-web.ccw.site/short_url/create";async function V(e){let t={originUrl:e};return await ro.ccwAxios.post(pr,t).then(o=>o.data.body)}var cr="https://community-web.ccw.site/hash_tag_creation/list_relation";async function z(e){let t={creationOid:e};return await ro.ccwAxios.post(cr,t).then(o=>o.data.body)}var ur="https://community-web.ccw.site/hash_tag_creation/mine",dr={...p,sortField:"lastPassedAt"};async function W(e,t,o={}){let r={...dr,...o},s=i(ur,r),n={...r,excludeHashTag:e,statuses:t};return await ro.ccwAxios.post(s,n).then(a=>a.data.body)}var lr="https://community-web.ccw.site/hash_tag/detail";async function $(e){let t={identifier:e};return await ro.ccwAxios.post(lr,t).then(o=>o.data.body)}var yr="https://community-web.ccw.site/hash_tag/managed/list",Ar={...p,sortField:"createdAt"};async function Y(e,t=[],o={}){let r={...Ar,...o},s=i(yr,r),n={...r,studentOid:e,excludeHashTagIds:t};return await ro.ccwAxios.post(s,n).then(a=>a.data.body)}var br="https://community-web.ccw.site/hash_tag_favorite/detail";async function J(e){let t={hashTagId:e};return await ro.ccwAxios.post(br,t).then(o=>o.data.body)}var wr="https://community-web.ccw.site/creation_donated_record/ranking_list";async function X(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(wr,o),s={creationOid:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Cr="https://community-web.ccw.site/creation_favorite/detail";async function Z(e){let t={creationOid:e};return await ro.ccwAxios.post(Cr,t).then(o=>o.data.body)}var Sr="https://community-web.ccw.site/creation_recommend_position/list";async function Q(e){let t={creationOid:e};return await ro.ccwAxios.post(Sr,t).then(o=>o.data.body)}var Tr="https://community-web.ccw.site/creation_screenshot/page";async function ee(e,t={}){let o={...p,...t},r=i(Tr,o),s={subjectOid:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var qr="https://community-web.ccw.site/creation_stats/view";async function te(e,t=""){let o={oid:e,inviteCode:t};return await ro.ccwAxios.post(qr,o).then(r=>r.data.body)}var Br="https://community-web.ccw.site/notify_message/show";async function oe(){let e={type:"COMMENT_AUDIT"};return await ro.ccwAxios.post(Br,e).then(t=>t.data.body)}var Er="https://community-web.ccw.site/post/detail";async function re(e){let t={slug:e};return await ro.ccwAxios.post(Er,t).then(o=>o.data.body)}var Ur="https://community-web.ccw.site/search/hot_words";async function se(e){let t={length:e};return await ro.ccwAxios.post(Ur,t).then(o=>o.data.body)}var kr="https://community-web.ccw.site/student/block_record/detail";async function ne(e){let t={studentOid:e};return await ro.ccwAxios.post(kr,t).then(o=>o.data.body)}var vr="https://community-web.ccw.site/student/block_record/list";async function ie(e={sortField:"createdAt"}){let t={...p,...e},o=i(vr,t),r={};return await ro.ccwAxios.post(o,r).then(s=>s.data.body)}var jr="https://community-web.ccw.site/student/block_record/status";async function pe(e){let t={studentOid:e};return await ro.ccwAxios.post(jr,t).then(o=>o.data.body)}var Hr="https://community-web.ccw.site/students/creator_score";async function ae(){return await ro.ccwAxios.post(Hr,void 0).then(t=>t.data.body)}var Vr="https://community-web.ccw.site/students/last_active_at";async function ce(e){let t={studentOid:e};return await ro.ccwAxios.post(Vr,t).then(o=>o.data.body)}var Wr="https://community-web.ccw.site/students/list";async function me(e){let t={studentOids:e};return await ro.ccwAxios.post(Wr,t).then(o=>o.data.body)}var Yr="https://community-web.ccw.site/students/list_sessions";async function ue(e={sortField:"createdAt"}){let t={...p,...e},o=i(Yr,t),r={};return await ro.ccwAxios.post(o,r).then(s=>s.data.body)}var Xr="https://community-web.ccw.site/students/profile";async function de(e){let t={studentOid:e};return await ro.ccwAxios.post(Xr,t).then(o=>o.data.body)}var Qr="https://community-web.ccw.site/students/reputation_score_log/page";async function ge(e={sortField:"createdAt"}){let t={...p,...e},o=i(Qr,t),r={};return await ro.ccwAxios.post(o,r).then(s=>s.data.body)}var ts="https://community-web.ccw.site/students/self/detail";async function le(e,t,o){let r={needGrade:e,needExtraInfo:t,fields:o};return await ro.ccwAxios.post(ts,r).then(s=>s.data.body)}var rs="https://community-web.ccw.site/students/stats";async function Re(e){let t={studentOid:e};return await ro.ccwAxios.post(rs,t).then(o=>o.data.body)}var ns="https://community-web.ccw.site/students/update";async function ye(e,t,o,r,s,n,a,c,u){let m={gender:e,hideGender:t,fullName:o,birthday:r,programmingCapability:s,school:n,qq:a,hobbies:c,learnedProgrammingLanguages:u};return await ro.ccwAxios.post(ns,m).then(d=>d.data.body)}var ps="https://community-web.ccw.site/study-community/member/detail";async function Ae(){let e={};return await ro.ccwAxios.post(ps,e).then(t=>t.data.body)}var cs="https://community-web.ccw.site/study-community/spread_feed/unread/count";async function xe(e){let t={studentOid:e};return await ro.ccwAxios.post(cs,t).then(o=>o.data.body)}var us="https://community-web.ccw.site/subject_area/page";async function be(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(us,o),s={scene:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var gs="https://community-web.ccw.site/subject_area/page_by_channel";async function fe(e,t={sortField:"campaignResourceId"}){let o={...p,...t},r=i(gs,o),s={channel:e,scene:"CUSTOM_PAGE"};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Rs="https://community-web.ccw.site/task/award";async function we(e){let t={taskOid:e};return await ro.ccwAxios.post(Rs,t).then(o=>o.data.body)}var As="https://community-web.ccw.site/task/mine";async function Pe(){let e={scene:"checkIn"};return await ro.ccwAxios.post(As,e).then(t=>t.data.body)}var bs="https://community-web.ccw.site/user-card/detail";async function Ce(e){let t={oid:e};return await ro.ccwAxios.post(bs,t).then(o=>o.data.body)}var ws="https://community-web.ccw.site/user_label/list";async function Ie(){let e={};return await ro.ccwAxios.post(ws,e).then(t=>t.data.body)}var Cs="https://community-web.ccw.site/currency/account/personal";async function Se(){return await ro.ccwAxios.post(Cs).then(e=>e.data.body)}var Ss="https://community-web.ccw.site/emoji/all";async function he(){return await ro.ccwAxios.post(Ss,{}).then(e=>e.data.body)}var Ts="https://community-web.ccw.site/emoji/category/list";async function Te(){return await ro.ccwAxios.post(Ts,{}).then(e=>e.data.body)}var qs="https://community-web.ccw.site/emoji/page";async function De(e="ENABLED",t={sortField:"createdAt"}){let o={...p,...t},r=i(qs,o),s={page:o.page,perPage:o.perPage,status:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Bs="https://community-web.ccw.site/event";async function qe(e){let t={actionId:e};return await ro.ccwAxios.post(Bs,t).then(o=>o.data.body)}var Es="https://community-web.ccw.site/health/check";async function Me(){return await ro.ccwAxios.post(Es).then(e=>e.data.body)}var Us="https://community-web.ccw.site/leaflets/item/list";async function Be(e){let t={advertisementId:e};return await ro.ccwAxios.post(Us,t).then(o=>o.data.body)}var ks="https://community-web.ccw.site/locked_user/detail";async function Oe(e){let t={accountOid:e};return await ro.ccwAxios.post(ks,t).then(o=>o.data.body)}var vs="https://community-web.ccw.site/muted_user/detail";async function Ee(e){let t={studentNumber:e};return await ro.ccwAxios.post(vs,t).then(o=>o.data.body)}var js="https://community-web.ccw.site/notification/page";async function Le(e="COMMENT_TO_ME",t={sortField:"createdAt"}){let o={...p,...t},r=i(js,o),s={notifyGroup:e,page:o.page};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Hs="https://community-web.ccw.site/notification/stats/v2";async function Ue(e=true){let t={countAll:e};return await ro.ccwAxios.post(Hs,t).then(o=>o.data.body)}var Vs="https://community-web.ccw.site/typical_project/page";async function _e(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(Vs,o),s={studentOid:e,templateType:"APPLICATION"};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Ws="https://community-web.ccw.site/typical_project/student/unread_count";async function ke(e){let t={studentOid:e};return await ro.ccwAxios.post(Ws,t).then(o=>o.data.body)}var Ys="https://community-web.ccw.site/creation/own/page";async function Ne(e={sortField:"updatedAt"},t=["BANNED","PUBLISHED","REJECTED","SUBMITTED"],o=false){let r={...p,...e},s=i(Ys,r),n={statuses:t,ignoreTypicalProject:o};return await ro.ccwAxios.post(s,n).then(a=>a.data.body)}var Xs="https://community-web.ccw.site/creation/team_member/observer_invite_token/fetch";async function ve(e){let t={creationOid:e};return await ro.ccwAxios.post(Xs,t).then(o=>o.data.body)}var Qs="https://community-web.ccw.site/creation/team_member/invite_token/fetch";async function Fe(e,t="MEMBER"){let o={creationOid:e,authority:t};return await ro.ccwAxios.post(Qs,o).then(r=>r.data.body)}var tn="https://community-web.ccw.site/creation/team_member/produce_ticket";async function je(e){let t={creationOid:e};return await ro.ccwAxios.post(tn,t).then(o=>o.data.body)}var rn="https://community-web.ccw.site/creation/team_member/list";async function Ge(e,t){let o={creationOid:e,authorities:t};return await ro.ccwAxios.post(rn,o).then(r=>r.data.body)}var nn="https://community-web.ccw.site/creation/teamwork_log/page";async function He(e,t,o={sortField:"createdAt"}){let r={...p,...o},s=i(nn,r),n={creationId:e,operateTargets:t},a=await ro.ccwAxios.post(s,n).then(m=>m.data.body),{data:c}=a,u=c.map(m=>{let{content:d}=m;return {...m,content:JSON.parse(d)}});return {...a,data:u}}var an="https://community-web.ccw.site/creation/update";async function Ke(e,t,o="LANDSCAPE",r){if(!t.includes("t=")){let a=new URL(t);a.searchParams.set("t",Date.now().toString()),t=a.toString();}let n={oid:e,latestProjectLink:t,screenMode:o,latestCoverLink:r};return await ro.ccwAxios.post(an,n).then(a=>a.data.body)}var mn="https://community-web.ccw.site/creation/submit";async function Ve(e){return await ro.ccwAxios.post(mn,e).then(t=>t.data.body)}var dn="https://community-web.ccw.site/creation/smart_contract/split_rule/detail";async function ze(e){let t={creationOid:e};return await ro.ccwAxios.post(dn,t).then(o=>o.data.body)}var ln="https://community-web.ccw.site/students/bind_phone";async function We(e,t,o="86"){let r={phone:e,code:t,ruleCode:"ccw_sms",scene:"bindPhone",countryCode:o};return await ro.ccwAxios.post(ln,r).then(s=>s.data.body)}var yn="https://community-web.ccw.site/students/password/change";async function $e(e,t){let o={newPassword:e,code:t};return await ro.ccwAxios.post(yn,o).then(r=>r.data.body)}var xn="https://community-web.ccw.site/captcha/v2/create_by_session";async function Ye(e="change_password",t="86",o="ccw_sms",r="SMS"){let s={type:r,countryCode:t,scene:e,ruleCode:o};return await ro.ccwAxios.post(xn,s).then(n=>n.data.body)}var fn="https://community-web.ccw.site/creation/smart_contract/split_rule/create";async function Je(e,t){let o={creationOid:e,memberSplitDetails:t};return await ro.ccwAxios.post(fn,o).then(r=>r.data.body)}var Pn="https://community-web.ccw.site/creation_attribute/detail";async function Xe(e){let t={creationOid:e},o=await ro.ccwAxios.post(Pn,t).then(n=>n.data.body);if(o===null)return null;let{ext:{KEYPAD_CONFIG:r}}=o,s=JSON.parse(r);return {...o,ext:{KEYPAD_CONFIG:s}}}var In="https://community-web.ccw.site/creation_activity_stats/list";async function Ze(e){let t={creationOid:e,type:"DAY"};return await ro.ccwAxios.post(In,t).then(o=>o.data.body)}var hn="https://community-web.ccw.site/creation_release/page";async function Qe(e,t={sortField:"submittedAt"}){let o={...p,...t},r=i(hn,o),s={creationOid:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var Dn="https://community-web.ccw.site/creation_release/code_profiling/detail";async function et(e,t){let o={creationOid:e,creationReleaseOid:t};return await ro.ccwAxios.post(Dn,o).then(r=>r.data.body)}var Mn="https://community-web.ccw.site/historical_team_member/page";async function tt(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(Mn,o),s={creationOid:e,page:o.page,perPage:o.perPage};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var On="https://community-web.ccw.site/short_url/decompress";async function ot(e){let t={shortUrlCode:e};return await ro.ccwAxios.post(On,t).then(o=>o.data.body)}var Ln="https://community-web.ccw.site/hash_tag/recommend/list";async function rt(){return await ro.ccwAxios.post(Ln).then(e=>e.data.body)}var _n="https://community-web.ccw.site/ccw-main/status";async function st(){let e={};return await ro.ccwAxios.post(_n,e).then(t=>t.data.body)}var Nn="https://community-web.ccw.site/study-community/cloud_variable/create";async function nt(e,t){let o={projectId:e,variables:t};return await ro.ccwAxios.post(Nn,o).then(r=>r.data.body)}var Fn="https://community-web.ccw.site/study-community/comment/top";async function it(e){let t={id:e};return await ro.ccwAxios.post(Fn,t).then(o=>o.data.body)}var Gn="https://community-web.ccw.site/study-community/comment/fold";async function pt(e){let t={id:e};return await ro.ccwAxios.post(Gn,t).then(o=>o.data.body)}var Kn="https://community-web.ccw.site/study-community/comment/reset_weight";async function at(e){let t={id:e};return await ro.ccwAxios.post(Kn,t).then(o=>o.data.body)}var zn="https://community-web.ccw.site/study-community/comment/delete";async function ct(e){let t={id:e};return await ro.ccwAxios.post(zn,t).then(o=>o.data.body)}var $n="https://community-web.ccw.site/comment/create";async function mt(e,t,o){t.outline??="foo";let r={content:e,topic:t,sectionType:o};return await ro.ccwAxios.post($n,r).then(s=>s.data.body)}var Jn="https://community-web.ccw.site/comment/like_record/create";async function ut(e){let t={commentId:e};return await ro.ccwAxios.post(Jn,t).then(o=>o.data.body)}var Zn="https://community-web.ccw.site/student/following/page";async function dt(e,t={sortField:"createdAt"}){let o={...p,...t},r=i(Zn,o),s={studentOid:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var ei="https://community-web.ccw.site/study-trade/trade/donate";async function gt(e,t,o="CREATION"){let r={bucks:e,objectId:t,objectType:o};return await ro.ccwAxios.post(ei,r).then(s=>s.data.body)}var oi="https://community-web.ccw.site/user_package/user_product";async function lt(e=5,t={}){let o={...p,...t},r=i(oi,o),s={page:o.page,perPage:o.perPage,sortType:o.sortType,productCategory:e};return await ro.ccwAxios.post(r,s).then(n=>n.data.body)}var si="https://community-web.ccw.site/user_package/status";async function Rt(e,t){let o={status:t,id:e};return await ro.ccwAxios.post(si,o).then(r=>r.data.body)}var ii="https://community-web.ccw.site/great_creation/update";async function yt(e){let t={creationOid:e};return await ro.ccwAxios.post(ii,t).then(o=>o.data.body)}var ai="https://community-web.ccw.site/smart_contract/execute";async function At(e,t,o,r,s="CREATION"){let n={bizId:e,bizType:s,id:t,ruleId:o,params:{bucks:r}};return await ro.ccwAxios.post(ai,n).then(a=>a.data.body)}var mi="https://community-web.ccw.site/smart_contract/account";async function xt(e){let t={id:e};return await ro.ccwAxios.post(mi,t).then(o=>o.data.body)}var di="https://community-web.ccw.site/smart_contract/detail";async function bt(e){let t={id:e};return await ro.ccwAxios.post(di,t).then(o=>o.data.body)}var li="https://community-web.ccw.site/smart_contract/list";async function ft(e,t="CREATION"){let o={bizId:e,bizType:t};return await ro.ccwAxios.post(li,o).then(r=>r.data.body)}var yi="https://community-web.ccw.site/extensions/following/status";async function wt(e,t){let o={playingCreationOid:e,userOid:t};return await ro.ccwAxios.post(yi,o).then(r=>r.data.body)}var xi="https://community-web.ccw.site/extensions/creation-like/detail";async function Pt(e,t){let o={playingCreationOid:e,creationOid:t};return await ro.ccwAxios.post(xi,o).then(r=>r.data.body)}var fi="https://community-web.ccw.site/study-community/following/follow";async function Ct(e){let t={followingOid:e};return await ro.ccwAxios.post(fi,t).then(o=>o.data.body)}var Pi="https://community-web.ccw.site/study-community/following/unfollow";async function It(e){let t={followingOid:e};return await ro.ccwAxios.post(Pi,t).then(o=>o.data.body)}var St={acceptAward:we,bindStudentPhone:We,changeStudentPassword:$e,createCreation:B,donateTrade:gt,encodeShortCode:b,executeSmartContract:At,fetchMemberInviteToken:Fe,fetchObserverInviteToken:ve,createCloudVariable:nt,createComment:mt,createShortUrl:V,createSmsCaptchaBySession:Ye,createSplitRule:Je,decompressShortUrl:ot,deleteComment:ct,foldComment:pt,followCreator:Ct,unfollowCreator:It,getApprovalTags:f,getCampaignResources:P,getCcwMainStatus:st,getCheckInRecords:C,getCodeProfilingDetail:et,getCommentReplies:T,getCommentsByTopic:D,getConfigDetail:q,getCreationActivityStatsList:Ze,getCreationAttributeDetail:Xe,getCreationDetail:O,getCreationFavoriteDetail:Z,getCreationIntroduction:L,getConnectCommunityCreationLikeStatus:Pt,getCreationRecommendPositionList:Q,getCreationReleasePage:Qe,getCreationScreenshotPage:ee,getCreationStudentDetail:H,getCreationTags:K,getCreatorScore:ae,getDonatedRecordRanking:X,getExcellentCreations:E,getConnectCommunityFollowingStatus:wt,getEmojiCategoryList:Te,getEmojiPage:De,getAllEmojis:he,getHashTagDetail:$,getHashTagFavoriteDetail:J,getHistoricalTeamMemberPage:tt,getManagedHashTags:Y,getHealthCheck:Me,getLeafletsItemList:Be,getLikeDetail:U,getLoadingTips:_,getLockedUserDetail:Oe,getMutedUserDetail:Ee,getMyHashTagCreations:W,getMyTasks:Pe,getNotifyDeleteReasons:oe,getNotificationPage:Le,getNotificationStats:Ue,getOwnCreationPage:Ne,getPersonalCurrencyAccount:Se,getPlanetsOfCreation:z,getPostDetail:re,getPotentialCreations:v,getRecommendCreations:F,getRecommendCreators:j,getRecommendHashTags:rt,getRemixedCreationPage:k,getReputationScoreLogPage:ge,getSearchHotWords:se,getSmartContractAccount:xt,getSmartContractDetail:bt,getSmartContractList:ft,getSplitRuleDetail:ze,getSpreadFeedUnreadCount:xe,getStudentBlockRecordDetail:ne,getStudentBlockRecordList:ie,getStudentBlockStatus:pe,getStudentFollowingPage:dt,getStudentLastActiveAt:ce,getStudentProfile:de,getStudentSelfDetail:le,getStudentSessions:ue,getStudentsList:me,getStudentStats:Re,getStudyCommunityMemberDetail:Ae,getSubjectAreaPage:be,getSubjectAreaPageByChannel:fe,getTeamMemberList:Ge,getTeamworkLogPage:He,getTime:w,getTypicalProjectPage:_e,getTypicalProjectUnreadCount:ke,getUserAssetStorageSize:S,getUserCardDetail:Ce,getUserLabelList:Ie,getUserProductsPage:lt,queryMallProducts:M,getCreationsByStudent:N,insertCheckInRecord:I,likeComment:ut,produceTeamMemberTicket:je,resetCommentWeight:at,searchCloudAssets:h,searchCreationsByTag:G,sendEvent:qe,setUserProductStatus:Rt,submitCreation:Ve,topComment:it,updateCreation:Ke,updateGreatCreation:yt,updateStudent:ye,viewCreationStats:te};var Ii="https://gandi-main.ccw.site/timestamp/current";async function ht(){return await ro.ccwAxios.get(Ii).then(e=>e.data.body)}var hi="https://gandi-main.ccw.site/bulletins";async function Tt(e="PUBLISHED",t={sortField:"publishedAt"}){let o={...p,...t},r=i(hi,{...o,status:e});return await ro.ccwAxios.get(r).then(s=>s.data.body)}var Di="https://gandi-main.ccw.site/bulletins";async function Dt(e){return await ro.ccwAxios.get(`${Di}/${e}`).then(t=>t.data.body)}var Mt="https://gandi-main.ccw.site/creation/leaderboards";async function Bt(e,t,o,r=""){let s={score:t,oid:o,ext:r},n=`${Mt}/${e}/records`;return await ro.ccwAxios.post(n,s).then(a=>a.data.body)}async function Ot(e){let t=`${Mt}/${e}/records`;return await ro.ccwAxios.get(t).then(o=>o.data.body)}var Et={getCurrentTimestamp:ht,getBulletinsPage:Tt,getBulletinDetail:Dt,submitLeaderboardRecord:Bt,getLeaderboardRecords:Ot};var Mi="https://bfs-web.ccw.site/users";async function Lt(e,t={sortField:"updatedAt"}){let o={...p,...t},r=i(`${Mi}/${e}/extensions`,o);return await ro.ccwAxios.get(r).then(s=>s.data.body)}var Oi="https://bfs-web.ccw.site/extensions";async function Ut(e,t){let o={eid:e,bucks:t};return await ro.ccwAxios.post(`${Oi}/${e}/donate`,o).then(r=>r.data.body)}var _t={donateExtension:Ut,getUserExtensions:Lt};var Li="https://community-web-cloud-database.ccw.site/cloud_variable/save";async function kt(e,t,o){let r={primaryKey:e,secondaryKey:t,value:o};return await ro.ccwAxios.post(Li,r).then(s=>s.data.body)}async function Nt(e,t,o){return await kt(e,t,{v:o})}async function vt(e,t,o){let r=`${e}-u`;return await kt(r,`${t}`,o)}var _i="https://community-web-cloud-database.ccw.site/cloud_variable/detail/v2";async function Ft(e,t,o,r){let s={accessKey:e,primaryKey:t,secondaryKey:o,filterKeys:r};return await ro.ccwAxios.post(_i,s).then(n=>n.data.body)}var jt={saveProjectCloudVariable:Nt,saveUserCloudVariable:vt,getCloudVariableDetailV2:Ft};var Ni="https://op-parent-api.xiguacity.cn/captcha/create";async function Gt(e="BLOCK_PUZZLE"){let t={type:e};return await ro.ccwAxios.post(Ni,t).then(o=>o.data.body)}var Fi="https://op-parent-api.xiguacity.cn/captcha/check";async function Ht(e,t,o=5){let r={data:{x:t,y:o},token:e};return await ro.ccwAxios.post(Fi,r).then(s=>s.data.body)}var Kt={createCaptcha:Gt,checkCaptcha:Ht};var jl={sso:x,communityWeb:St,gandiMain:Et,bfsWeb:_t,communityWebCloudDatabase:jt,opParentApi:Kt};
|
|
2
|
-
Object.defineProperty(exports,"setToken",{enumerable:true,get:function(){return ro.setToken}});exports.bfsWeb=_t;exports.communityWeb=St;exports.communityWebCloudDatabase=jt;exports.default=jl;exports.gandiMain=Et;exports.opParentApi=Kt;exports.sso=x;
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./request-CIq4GGVU.cjs"),t=require("./sso-C0ZWQvKo.cjs"),n=require("./community-web-B7SGi5-y.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,166 +1,169 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
import { a as
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { a as api_d_exports } from "./api-DK7ohLa7.cjs";
|
|
2
|
+
import { _ as creation_d_exports, j as approval_d_exports, k as userData_d_exports } from "./extensions-BhEKLZ5I.cjs";
|
|
3
|
+
import { n as account_d_exports } from "./account-_e06LVHE.cjs";
|
|
4
|
+
import { i as pages_d_exports } from "./pages-K5jlky49.cjs";
|
|
5
|
+
import { n as donateExtension, r as getUserExtensions, t as bfsWeb } from "./index-IcG5LsGk.cjs";
|
|
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-CV03H74N.cjs";
|
|
8
|
+
import { r as session_d_exports } from "./session-D8sffvmq.cjs";
|
|
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
|
+
import { a as logout, i as logoutBySession, n as loginByPhone, o as loginByPassword, r as createSmsCaptcha, t as sso } from "./index-DCDRwVC2.cjs";
|
|
11
|
+
import { n as checkCaptcha, r as createCaptcha, t as opParentApi } from "./index-JnYvwWhY.cjs";
|
|
12
|
+
//#region src/request.d.ts
|
|
13
|
+
type Response<Res = any> = {
|
|
14
|
+
data: Res;
|
|
15
|
+
};
|
|
16
|
+
interface RequestUtils {
|
|
17
|
+
get<Res = any>(url: string | URL): Promise<Response<Res>>;
|
|
18
|
+
post<Res>(url: string | URL, args?: any): Promise<Response<Res>>;
|
|
19
|
+
}
|
|
20
|
+
declare function setRequestUtils(reqUtils: RequestUtils): void;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/index.d.ts
|
|
20
23
|
declare const _default: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
24
|
+
sso: {
|
|
25
|
+
loginByPassword: typeof loginByPassword;
|
|
26
|
+
logout: typeof logout;
|
|
27
|
+
logoutBySession: typeof logoutBySession;
|
|
28
|
+
createSmsCaptcha: typeof createSmsCaptcha;
|
|
29
|
+
loginByPhone: typeof loginByPhone;
|
|
30
|
+
};
|
|
31
|
+
communityWeb: {
|
|
32
|
+
acceptAward: typeof acceptAward;
|
|
33
|
+
bindStudentPhone: typeof bindStudentPhone;
|
|
34
|
+
changeStudentPassword: typeof changeStudentPassword;
|
|
35
|
+
createCreation: typeof createCreation;
|
|
36
|
+
donateTrade: typeof donateTrade;
|
|
37
|
+
encodeShortCode: typeof encodeShortCode;
|
|
38
|
+
executeSmartContract: typeof executeSmartContract;
|
|
39
|
+
fetchMemberInviteToken: typeof fetchMemberInviteToken;
|
|
40
|
+
fetchObserverInviteToken: typeof fetchObserverInviteToken;
|
|
41
|
+
createCloudVariable: typeof createCloudVariable;
|
|
42
|
+
createComment: typeof createComment;
|
|
43
|
+
createShortUrl: typeof createShortUrl;
|
|
44
|
+
createSmsCaptchaBySession: typeof createSmsCaptchaBySession;
|
|
45
|
+
createSplitRule: typeof createSplitRule;
|
|
46
|
+
decompressShortUrl: typeof decompressShortUrl;
|
|
47
|
+
deleteComment: typeof deleteComment;
|
|
48
|
+
foldComment: typeof foldComment;
|
|
49
|
+
followCreator: typeof followCreator;
|
|
50
|
+
unfollowCreator: typeof unfollowCreator;
|
|
51
|
+
getApprovalTags: typeof getApprovalTags;
|
|
52
|
+
getCampaignResources: typeof getCampaignResources;
|
|
53
|
+
getCcwMainStatus: typeof getCCWMainStatus;
|
|
54
|
+
getCheckInRecords: typeof getCheckInRecords;
|
|
55
|
+
getCodeProfilingDetail: typeof getCodeProfilingDetail;
|
|
56
|
+
getCommentReplies: typeof getCommentReplies;
|
|
57
|
+
getCommentsByTopic: typeof getCommentsByTopic;
|
|
58
|
+
getConfigDetail: typeof getConfigDetail;
|
|
59
|
+
getCreationActivityStatsList: typeof getCreationActivityStatsList;
|
|
60
|
+
getCreationAttributeDetail: typeof getCreationAttributeDetail;
|
|
61
|
+
getCreationDetail: typeof getCreationDetail;
|
|
62
|
+
getCreationFavoriteDetail: typeof getCreationFavoriteDetail;
|
|
63
|
+
getCreationIntroduction: typeof getCreationIntroduction;
|
|
64
|
+
getConnectCommunityCreationLikeStatus: typeof getConnectCommunityCreationLikeStatus;
|
|
65
|
+
getCreationRecommendPositionList: typeof getCreationRecommendPositionList;
|
|
66
|
+
getCreationReleasePage: typeof getCreationReleasePage;
|
|
67
|
+
getCreationScreenshotPage: typeof getCreationScreenshotPage;
|
|
68
|
+
getCreationStudentDetail: typeof getCreationStudentDetail;
|
|
69
|
+
getCreationTags: typeof getCreationTags;
|
|
70
|
+
getCreatorScore: typeof getCreatorScore;
|
|
71
|
+
getDonatedRecordRanking: typeof getDonatedRecordRanking;
|
|
72
|
+
getExcellentCreations: typeof getExcellentCreations;
|
|
73
|
+
getConnectCommunityFollowingStatus: typeof getConnectCommunityFollowingStatus;
|
|
74
|
+
getEmojiCategoryList: typeof getEmojiCategoryList;
|
|
75
|
+
getEmojiPage: typeof getEmojiPage;
|
|
76
|
+
getAllEmojis: typeof getAllEmojis;
|
|
77
|
+
getHashTagDetail: typeof getHashTagDetail;
|
|
78
|
+
getHashTagFavoriteDetail: typeof getHashTagFavoriteDetail;
|
|
79
|
+
getHistoricalTeamMemberPage: typeof getHistoricalTeamMemberPage;
|
|
80
|
+
getManagedHashTags: typeof getManagedHashTags;
|
|
81
|
+
getHealthCheck: typeof getHealthCheck;
|
|
82
|
+
getLeafletsItemList: typeof getLeafletsItemList;
|
|
83
|
+
getLikeDetail: typeof getLikeDetail;
|
|
84
|
+
getLoadingTips: typeof getLoadingTips;
|
|
85
|
+
getLockedUserDetail: typeof getLockedUserDetail;
|
|
86
|
+
getMutedUserDetail: typeof getMutedUserDetail;
|
|
87
|
+
getMyHashTagCreations: typeof getMyHashTagCreations;
|
|
88
|
+
getMyTasks: typeof getMyTasks;
|
|
89
|
+
getNotifyDeleteReasons: typeof getNotifyDeleteReasons;
|
|
90
|
+
getNotificationPage: typeof getNotificationPage;
|
|
91
|
+
getNotificationStats: typeof getNotificationStats;
|
|
92
|
+
getOwnCreationPage: typeof getOwnCreationPage;
|
|
93
|
+
getPersonalCurrencyAccount: typeof getPersonalCurrencyAccount;
|
|
94
|
+
getPlanetsOfCreation: typeof getPlanetsOfCreation;
|
|
95
|
+
getPostDetail: typeof getPostDetail;
|
|
96
|
+
getPotentialCreations: typeof getPotentialCreations;
|
|
97
|
+
getRecommendCreations: typeof getRecommendCreations;
|
|
98
|
+
getRecommendCreators: typeof getRecommendCreators;
|
|
99
|
+
getRecommendHashTags: typeof getRecommendHashTags;
|
|
100
|
+
getRemixedCreationPage: typeof getRemixedCreationPage;
|
|
101
|
+
getReputationScoreLogPage: typeof getReputationScoreLog;
|
|
102
|
+
getSearchHotWords: typeof getSearchHotWords;
|
|
103
|
+
getSmartContractAccount: typeof getSmartContractAccount;
|
|
104
|
+
getSmartContractDetail: typeof getSmartContractDetail;
|
|
105
|
+
getSmartContractList: typeof getSmartContractList;
|
|
106
|
+
getSplitRuleDetail: typeof getSplitRuleDetail;
|
|
107
|
+
getSpreadFeedUnreadCount: typeof getSpreadFeedUnreadCount;
|
|
108
|
+
getStudentBlockRecordDetail: typeof getStudentBlockRecordDetail;
|
|
109
|
+
getStudentBlockRecordList: typeof getStudentBlockRecordList;
|
|
110
|
+
getStudentBlockStatus: typeof getStudentBlockStatus;
|
|
111
|
+
getStudentFollowingPage: typeof getStudentFollowingPage;
|
|
112
|
+
getStudentLastActiveAt: typeof getStudentLastActiveAt;
|
|
113
|
+
getStudentProfile: typeof getStudentProfile;
|
|
114
|
+
getStudentSelfDetail: typeof getStudentSelfDetail;
|
|
115
|
+
getStudentSessions: typeof getStudentSessions;
|
|
116
|
+
getStudentsList: typeof getStudentsList;
|
|
117
|
+
getStudentStats: typeof getStudentStats;
|
|
118
|
+
getStudyCommunityMemberDetail: typeof getStudyCommunityMemberDetail;
|
|
119
|
+
getSubjectAreaPage: typeof getSubjectAreaPage;
|
|
120
|
+
getSubjectAreaPageByChannel: typeof getSubjectAreaPageByChannel;
|
|
121
|
+
getTeamMemberList: typeof getTeamMemberList;
|
|
122
|
+
getTeamworkLogPage: typeof getTeamworkLogPage;
|
|
123
|
+
getTime: typeof getTime;
|
|
124
|
+
getTypicalProjectPage: typeof getTypicalProjectPage;
|
|
125
|
+
getTypicalProjectUnreadCount: typeof getTypicalProjectUnreadCount;
|
|
126
|
+
getUserAssetStorageSize: typeof getUserAssetStorageSize;
|
|
127
|
+
getUserCardDetail: typeof getUserCardDetail;
|
|
128
|
+
getUserLabelList: typeof getUserLabelList;
|
|
129
|
+
getUserProductsPage: typeof getUserProductsPage;
|
|
130
|
+
queryMallProducts: typeof queryMallProducts;
|
|
131
|
+
getCreationsByStudent: typeof getCreationsByStudent;
|
|
132
|
+
insertCheckInRecord: typeof insertCheckInRecord;
|
|
133
|
+
likeComment: typeof likeComment;
|
|
134
|
+
produceTeamMemberTicket: typeof produceTeamMemberTicket;
|
|
135
|
+
resetCommentWeight: typeof resetCommentWeight;
|
|
136
|
+
searchCloudAssets: typeof searchCloudAssets;
|
|
137
|
+
searchCreationsByTag: typeof searchCreationsByTag;
|
|
138
|
+
sendEvent: typeof sendEvent;
|
|
139
|
+
setUserProductStatus: typeof setUserProductStatus;
|
|
140
|
+
submitCreation: typeof submitCreation;
|
|
141
|
+
topComment: typeof topComment;
|
|
142
|
+
updateCreation: typeof updateCreation;
|
|
143
|
+
updateGreatCreation: typeof updateGreatCreation;
|
|
144
|
+
updateStudent: typeof updateStudent;
|
|
145
|
+
viewCreationStats: typeof viewCreationStats;
|
|
146
|
+
};
|
|
147
|
+
gandiMain: {
|
|
148
|
+
getCurrentTimestamp: typeof getCurrentTimestamp;
|
|
149
|
+
getBulletinsPage: typeof getBulletinsPage;
|
|
150
|
+
getBulletinDetail: typeof getBulletinDetail;
|
|
151
|
+
submitLeaderboardRecord: typeof submitLeaderboardRecord;
|
|
152
|
+
getLeaderboardRecords: typeof getLeaderboardRecords;
|
|
153
|
+
};
|
|
154
|
+
bfsWeb: {
|
|
155
|
+
donateExtension: typeof donateExtension;
|
|
156
|
+
getUserExtensions: typeof getUserExtensions;
|
|
157
|
+
};
|
|
158
|
+
communityWebCloudDatabase: {
|
|
159
|
+
saveProjectCloudVariable: typeof saveProjectCloudVariable;
|
|
160
|
+
saveUserCloudVariable: typeof saveUserCloudVariable;
|
|
161
|
+
getCloudVariableDetailV2: typeof getCloudVariableDetailV2;
|
|
162
|
+
};
|
|
163
|
+
opParentApi: {
|
|
164
|
+
createCaptcha: typeof createCaptcha;
|
|
165
|
+
checkCaptcha: typeof checkCaptcha;
|
|
166
|
+
};
|
|
164
167
|
};
|
|
165
|
-
|
|
166
|
-
export { _default as default };
|
|
168
|
+
//#endregion
|
|
169
|
+
export { type account_d_exports as Account, type api_d_exports as Api, type approval_d_exports as Approval, type comment_d_exports as Comment, type creation_d_exports as Creation, type hashTag_d_exports as HashTag, type mall_d_exports as Mall, type notification_d_exports as Notification, type notificationContent_d_exports as NotificationContent, type pages_d_exports as Pages, type session_d_exports as Session, type userData_d_exports as UserData, bfsWeb, communityWeb, communityWebCloudDatabase, _default as default, gandiMain, opParentApi, setRequestUtils, sso };
|