@ccw-api/api 0.7.0 → 0.9.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/dist/index.cjs +1544 -0
- package/dist/index.d.cts +3409 -0
- package/dist/index.d.ts +3409 -0
- package/dist/index.js +1502 -0
- package/package.json +10 -9
- package/dist/esm/bfs-web/extensions/{eid}/donate.js +0 -14
- package/dist/esm/bfs-web/index.js +0 -6
- package/dist/esm/bfs-web/users/{oid}/extensions.js +0 -21
- package/dist/esm/community-web/api/v1/short_code/encode.js +0 -25
- package/dist/esm/community-web/approval/list.js +0 -16
- package/dist/esm/community-web/base/dateTime.js +0 -10
- package/dist/esm/community-web/campaign_resource/detail.js +0 -12
- package/dist/esm/community-web/ccw-main/status.js +0 -12
- package/dist/esm/community-web/ccw-mall/ccw/product/fe/query.js +0 -34
- package/dist/esm/community-web/check_in_record/detail.js +0 -11
- package/dist/esm/community-web/check_in_record/insert.js +0 -12
- package/dist/esm/community-web/cloud_asset/search.js +0 -25
- package/dist/esm/community-web/cloud_asset/user/privacy.js +0 -11
- package/dist/esm/community-web/comment/create.js +0 -16
- package/dist/esm/community-web/comment/like_record/create.js +0 -13
- package/dist/esm/community-web/comment/page.js +0 -24
- package/dist/esm/community-web/comment/page_by_topic.js +0 -28
- package/dist/esm/community-web/comment/reply.js +0 -17
- package/dist/esm/community-web/config/detail.js +0 -13
- package/dist/esm/community-web/creation/detail.js +0 -14
- package/dist/esm/community-web/creation/excellent/list.js +0 -13
- package/dist/esm/community-web/creation/introduction/detail.js +0 -13
- package/dist/esm/community-web/creation/like/detail.js +0 -13
- package/dist/esm/community-web/creation/loading/tips.js +0 -11
- package/dist/esm/community-web/creation/own/page.js +0 -26
- package/dist/esm/community-web/creation/page.js +0 -24
- package/dist/esm/community-web/creation/page_by_student.js +0 -24
- package/dist/esm/community-web/creation/potential/list.js +0 -13
- package/dist/esm/community-web/creation/recommend.js +0 -23
- package/dist/esm/community-web/creation/search/page.js +0 -24
- package/dist/esm/community-web/creation/smart_contract/split_rule/create.js +0 -14
- package/dist/esm/community-web/creation/smart_contract/split_rule/detail.js +0 -13
- package/dist/esm/community-web/creation/student/detail.js +0 -13
- package/dist/esm/community-web/creation/submit.js +0 -12
- package/dist/esm/community-web/creation/tag/list.js +0 -12
- package/dist/esm/community-web/creation/team_member/list.js +0 -14
- package/dist/esm/community-web/creation/team_member/produce_ticket.js +0 -13
- package/dist/esm/community-web/creation/teamwork_log/page.js +0 -38
- package/dist/esm/community-web/creation/update.js +0 -22
- package/dist/esm/community-web/creation_activity_stats/list.js +0 -13
- package/dist/esm/community-web/creation_attribute/detail.js +0 -24
- package/dist/esm/community-web/creation_donated_record/ranking_list.js +0 -22
- package/dist/esm/community-web/creation_favorite/detail.js +0 -13
- package/dist/esm/community-web/creation_recommend_position/list.js +0 -14
- package/dist/esm/community-web/creation_release/code_profiling/detail.js +0 -14
- package/dist/esm/community-web/creation_release/page.js +0 -24
- package/dist/esm/community-web/creation_screenshot/page.js +0 -20
- package/dist/esm/community-web/creation_stats/view.js +0 -14
- package/dist/esm/community-web/currency/account/personal.js +0 -11
- package/dist/esm/community-web/emoji/all.js +0 -11
- package/dist/esm/community-web/emoji/category/list.js +0 -11
- package/dist/esm/community-web/emoji/page.js +0 -23
- package/dist/esm/community-web/event.js +0 -13
- package/dist/esm/community-web/extensions/creation-like/detail.js +0 -14
- package/dist/esm/community-web/extensions/following/status.js +0 -14
- package/dist/esm/community-web/great_creation/update.js +0 -13
- package/dist/esm/community-web/hash_tag/detail.js +0 -13
- package/dist/esm/community-web/hash_tag/managed/list.js +0 -29
- package/dist/esm/community-web/hash_tag/recommend/list.js +0 -11
- package/dist/esm/community-web/hash_tag_creation/list_relation.js +0 -13
- package/dist/esm/community-web/hash_tag_creation/mine.js +0 -29
- package/dist/esm/community-web/hash_tag_favorite/detail.js +0 -13
- package/dist/esm/community-web/health/check.js +0 -12
- package/dist/esm/community-web/historical_team_member/page.js +0 -27
- package/dist/esm/community-web/index.js +0 -214
- package/dist/esm/community-web/leaflets/item/list.js +0 -13
- package/dist/esm/community-web/locked_user/detail.js +0 -13
- package/dist/esm/community-web/muted_user/detail.js +0 -13
- package/dist/esm/community-web/notification/page.js +0 -23
- package/dist/esm/community-web/notification/stats/v2.js +0 -13
- package/dist/esm/community-web/notify_message/show.js +0 -12
- package/dist/esm/community-web/post/detail.js +0 -13
- package/dist/esm/community-web/search/hot_words.js +0 -13
- package/dist/esm/community-web/short_url/create.js +0 -15
- package/dist/esm/community-web/short_url/decompress.js +0 -13
- package/dist/esm/community-web/smart_contract/account.js +0 -13
- package/dist/esm/community-web/smart_contract/detail.js +0 -13
- package/dist/esm/community-web/smart_contract/execute.js +0 -17
- package/dist/esm/community-web/smart_contract/list.js +0 -14
- package/dist/esm/community-web/student/block_record/detail.js +0 -13
- package/dist/esm/community-web/student/block_record/list.js +0 -21
- package/dist/esm/community-web/student/block_record/status.js +0 -13
- package/dist/esm/community-web/student/following/page.js +0 -24
- package/dist/esm/community-web/students/creator_score.js +0 -12
- package/dist/esm/community-web/students/last_active_at.js +0 -13
- package/dist/esm/community-web/students/list.js +0 -13
- package/dist/esm/community-web/students/list_sessions.js +0 -21
- package/dist/esm/community-web/students/profile.js +0 -13
- package/dist/esm/community-web/students/reputation_score_log/page.js +0 -21
- package/dist/esm/community-web/students/self/detail.js +0 -15
- package/dist/esm/community-web/students/stats.js +0 -13
- package/dist/esm/community-web/students/update.js +0 -31
- package/dist/esm/community-web/study-community/cloud_variable/create.js +0 -15
- package/dist/esm/community-web/study-community/comment/delete.js +0 -13
- package/dist/esm/community-web/study-community/comment/fold.js +0 -13
- package/dist/esm/community-web/study-community/comment/reset_weight.js +0 -13
- package/dist/esm/community-web/study-community/comment/top.js +0 -13
- package/dist/esm/community-web/study-community/following/follow.js +0 -13
- package/dist/esm/community-web/study-community/member/detail.js +0 -12
- package/dist/esm/community-web/study-community/spread_feed/unread/count.js +0 -13
- package/dist/esm/community-web/study-trade/trade/donate.js +0 -15
- package/dist/esm/community-web/subject_area/page.js +0 -22
- package/dist/esm/community-web/subject_area/page_by_channel.js +0 -22
- package/dist/esm/community-web/task/award.js +0 -13
- package/dist/esm/community-web/task/mine.js +0 -12
- package/dist/esm/community-web/typical_project/page.js +0 -25
- package/dist/esm/community-web/typical_project/student/unread_count.js +0 -14
- package/dist/esm/community-web/user-card/detail.js +0 -13
- package/dist/esm/community-web/user_label/list.js +0 -12
- package/dist/esm/community-web/user_package/status.js +0 -14
- package/dist/esm/community-web/user_package/user_product.js +0 -29
- package/dist/esm/community-web-cloud-database/cloud_variable/detail/v2.js +0 -16
- package/dist/esm/community-web-cloud-database/cloud_variable/save.js +0 -29
- package/dist/esm/community-web-cloud-database/index.js +0 -7
- package/dist/esm/gandi-main/bulletins/detail.js +0 -12
- package/dist/esm/gandi-main/bulletins/page.js +0 -24
- package/dist/esm/gandi-main/creation/leaderboards/{oid}/records.js +0 -28
- package/dist/esm/gandi-main/index.js +0 -11
- package/dist/esm/gandi-main/timestamp/current.js +0 -9
- package/dist/esm/index.js +0 -16
- package/dist/esm/op-parent-api/captcha/check.js +0 -15
- package/dist/esm/op-parent-api/captcha/create.js +0 -13
- package/dist/esm/op-parent-api/index.js +0 -6
- package/dist/esm/queryPages.js +0 -22
- package/dist/esm/sso/index.js +0 -12
- package/dist/esm/sso/web/auth/assistant/captcha/v2/create.js +0 -17
- package/dist/esm/sso/web/auth/login-by-password.js +0 -28
- package/dist/esm/sso/web/auth/logout.js +0 -11
- package/dist/esm/sso/web/auth/logout_by_session.js +0 -12
- package/dist/esm/sso/web/auth/v3/login/by-phone.js +0 -33
- package/dist/esm/types/account.js +0 -1
- package/dist/esm/types/api.js +0 -1
- package/dist/esm/types/approval.js +0 -1
- package/dist/esm/types/comment.js +0 -1
- package/dist/esm/types/creation.js +0 -1
- package/dist/esm/types/extensions.js +0 -1
- package/dist/esm/types/hashTag.js +0 -1
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/notification.js +0 -7
- package/dist/esm/types/notificationContent.js +0 -1
- package/dist/esm/types/pages.js +0 -1
- package/dist/esm/types/session.js +0 -1
- package/dist/esm/types/teamwork.js +0 -1
- package/dist/esm/types/userData.js +0 -1
- package/dist/node/bfs-web/extensions/{eid}/donate.js +0 -18
- package/dist/node/bfs-web/index.js +0 -9
- package/dist/node/bfs-web/users/{oid}/extensions.js +0 -25
- package/dist/node/community-web/api/v1/short_code/encode.js +0 -29
- package/dist/node/community-web/approval/list.js +0 -23
- package/dist/node/community-web/base/dateTime.js +0 -17
- package/dist/node/community-web/campaign_resource/detail.js +0 -16
- package/dist/node/community-web/ccw-main/status.js +0 -16
- package/dist/node/community-web/ccw-mall/ccw/product/fe/query.js +0 -38
- package/dist/node/community-web/check_in_record/detail.js +0 -15
- package/dist/node/community-web/check_in_record/insert.js +0 -16
- package/dist/node/community-web/cloud_asset/search.js +0 -29
- package/dist/node/community-web/cloud_asset/user/privacy.js +0 -15
- package/dist/node/community-web/comment/create.js +0 -20
- package/dist/node/community-web/comment/like_record/create.js +0 -17
- package/dist/node/community-web/comment/page.js +0 -28
- package/dist/node/community-web/comment/page_by_topic.js +0 -32
- package/dist/node/community-web/comment/reply.js +0 -21
- package/dist/node/community-web/config/detail.js +0 -17
- package/dist/node/community-web/creation/detail.js +0 -18
- package/dist/node/community-web/creation/excellent/list.js +0 -17
- package/dist/node/community-web/creation/introduction/detail.js +0 -17
- package/dist/node/community-web/creation/like/detail.js +0 -17
- package/dist/node/community-web/creation/loading/tips.js +0 -15
- package/dist/node/community-web/creation/own/page.js +0 -30
- package/dist/node/community-web/creation/page.js +0 -28
- package/dist/node/community-web/creation/page_by_student.js +0 -28
- package/dist/node/community-web/creation/potential/list.js +0 -17
- package/dist/node/community-web/creation/recommend.js +0 -27
- package/dist/node/community-web/creation/search/page.js +0 -28
- package/dist/node/community-web/creation/smart_contract/split_rule/create.js +0 -18
- package/dist/node/community-web/creation/smart_contract/split_rule/detail.js +0 -17
- package/dist/node/community-web/creation/student/detail.js +0 -17
- package/dist/node/community-web/creation/submit.js +0 -16
- package/dist/node/community-web/creation/tag/list.js +0 -16
- package/dist/node/community-web/creation/team_member/list.js +0 -18
- package/dist/node/community-web/creation/team_member/produce_ticket.js +0 -17
- package/dist/node/community-web/creation/teamwork_log/page.js +0 -42
- package/dist/node/community-web/creation/update.js +0 -26
- package/dist/node/community-web/creation_activity_stats/list.js +0 -17
- package/dist/node/community-web/creation_attribute/detail.js +0 -28
- package/dist/node/community-web/creation_donated_record/ranking_list.js +0 -26
- package/dist/node/community-web/creation_favorite/detail.js +0 -17
- package/dist/node/community-web/creation_recommend_position/list.js +0 -18
- package/dist/node/community-web/creation_release/code_profiling/detail.js +0 -18
- package/dist/node/community-web/creation_release/page.js +0 -28
- package/dist/node/community-web/creation_screenshot/page.js +0 -24
- package/dist/node/community-web/creation_stats/view.js +0 -18
- package/dist/node/community-web/currency/account/personal.js +0 -15
- package/dist/node/community-web/emoji/all.js +0 -15
- package/dist/node/community-web/emoji/category/list.js +0 -15
- package/dist/node/community-web/emoji/page.js +0 -27
- package/dist/node/community-web/event.js +0 -17
- package/dist/node/community-web/extensions/creation-like/detail.js +0 -18
- package/dist/node/community-web/extensions/following/status.js +0 -18
- package/dist/node/community-web/great_creation/update.js +0 -17
- package/dist/node/community-web/hash_tag/detail.js +0 -17
- package/dist/node/community-web/hash_tag/managed/list.js +0 -33
- package/dist/node/community-web/hash_tag/recommend/list.js +0 -15
- package/dist/node/community-web/hash_tag_creation/list_relation.js +0 -17
- package/dist/node/community-web/hash_tag_creation/mine.js +0 -33
- package/dist/node/community-web/hash_tag_favorite/detail.js +0 -17
- package/dist/node/community-web/health/check.js +0 -16
- package/dist/node/community-web/historical_team_member/page.js +0 -31
- package/dist/node/community-web/index.js +0 -217
- package/dist/node/community-web/leaflets/item/list.js +0 -17
- package/dist/node/community-web/locked_user/detail.js +0 -17
- package/dist/node/community-web/muted_user/detail.js +0 -17
- package/dist/node/community-web/notification/page.js +0 -27
- package/dist/node/community-web/notification/stats/v2.js +0 -17
- package/dist/node/community-web/notify_message/show.js +0 -16
- package/dist/node/community-web/post/detail.js +0 -17
- package/dist/node/community-web/search/hot_words.js +0 -17
- package/dist/node/community-web/short_url/create.js +0 -19
- package/dist/node/community-web/short_url/decompress.js +0 -17
- package/dist/node/community-web/smart_contract/account.js +0 -17
- package/dist/node/community-web/smart_contract/detail.js +0 -17
- package/dist/node/community-web/smart_contract/execute.js +0 -21
- package/dist/node/community-web/smart_contract/list.js +0 -18
- package/dist/node/community-web/student/block_record/detail.js +0 -17
- package/dist/node/community-web/student/block_record/list.js +0 -25
- package/dist/node/community-web/student/block_record/status.js +0 -17
- package/dist/node/community-web/student/following/page.js +0 -28
- package/dist/node/community-web/students/creator_score.js +0 -16
- package/dist/node/community-web/students/last_active_at.js +0 -17
- package/dist/node/community-web/students/list.js +0 -17
- package/dist/node/community-web/students/list_sessions.js +0 -25
- package/dist/node/community-web/students/profile.js +0 -17
- package/dist/node/community-web/students/reputation_score_log/page.js +0 -25
- package/dist/node/community-web/students/self/detail.js +0 -19
- package/dist/node/community-web/students/stats.js +0 -17
- package/dist/node/community-web/students/update.js +0 -35
- package/dist/node/community-web/study-community/cloud_variable/create.js +0 -19
- package/dist/node/community-web/study-community/comment/delete.js +0 -17
- package/dist/node/community-web/study-community/comment/fold.js +0 -17
- package/dist/node/community-web/study-community/comment/reset_weight.js +0 -17
- package/dist/node/community-web/study-community/comment/top.js +0 -17
- package/dist/node/community-web/study-community/following/follow.js +0 -17
- package/dist/node/community-web/study-community/member/detail.js +0 -16
- package/dist/node/community-web/study-community/spread_feed/unread/count.js +0 -17
- package/dist/node/community-web/study-trade/trade/donate.js +0 -19
- package/dist/node/community-web/subject_area/page.js +0 -26
- package/dist/node/community-web/subject_area/page_by_channel.js +0 -26
- package/dist/node/community-web/task/award.js +0 -17
- package/dist/node/community-web/task/mine.js +0 -16
- package/dist/node/community-web/typical_project/page.js +0 -29
- package/dist/node/community-web/typical_project/student/unread_count.js +0 -18
- package/dist/node/community-web/user-card/detail.js +0 -17
- package/dist/node/community-web/user_label/list.js +0 -16
- package/dist/node/community-web/user_package/status.js +0 -18
- package/dist/node/community-web/user_package/user_product.js +0 -33
- package/dist/node/community-web-cloud-database/cloud_variable/detail/v2.js +0 -20
- package/dist/node/community-web-cloud-database/cloud_variable/save.js +0 -34
- package/dist/node/community-web-cloud-database/index.js +0 -10
- package/dist/node/gandi-main/bulletins/detail.js +0 -16
- package/dist/node/gandi-main/bulletins/page.js +0 -28
- package/dist/node/gandi-main/creation/leaderboards/{oid}/records.js +0 -33
- package/dist/node/gandi-main/index.js +0 -14
- package/dist/node/gandi-main/timestamp/current.js +0 -13
- package/dist/node/index.js +0 -25
- package/dist/node/op-parent-api/captcha/check.js +0 -19
- package/dist/node/op-parent-api/captcha/create.js +0 -17
- package/dist/node/op-parent-api/index.js +0 -9
- package/dist/node/queryPages.js +0 -26
- package/dist/node/sso/index.js +0 -15
- package/dist/node/sso/web/auth/assistant/captcha/v2/create.js +0 -21
- package/dist/node/sso/web/auth/login-by-password.js +0 -32
- package/dist/node/sso/web/auth/logout.js +0 -15
- package/dist/node/sso/web/auth/logout_by_session.js +0 -16
- package/dist/node/sso/web/auth/v3/login/by-phone.js +0 -37
- package/dist/node/types/account.js +0 -2
- package/dist/node/types/api.js +0 -2
- package/dist/node/types/approval.js +0 -2
- package/dist/node/types/comment.js +0 -2
- package/dist/node/types/creation.js +0 -2
- package/dist/node/types/extensions.js +0 -2
- package/dist/node/types/hashTag.js +0 -2
- package/dist/node/types/index.js +0 -2
- package/dist/node/types/notification.js +0 -10
- package/dist/node/types/notificationContent.js +0 -2
- package/dist/node/types/pages.js +0 -2
- package/dist/node/types/session.js +0 -2
- package/dist/node/types/teamwork.js +0 -2
- package/dist/node/types/userData.js +0 -2
- package/dist/types/bfs-web/extensions/{eid}/donate.d.ts +0 -13
- package/dist/types/bfs-web/index.d.ts +0 -6
- package/dist/types/bfs-web/users/{oid}/extensions.d.ts +0 -12
- package/dist/types/community-web/api/v1/short_code/encode.d.ts +0 -42
- package/dist/types/community-web/approval/list.d.ts +0 -27
- package/dist/types/community-web/base/dateTime.d.ts +0 -5
- package/dist/types/community-web/campaign_resource/detail.d.ts +0 -17
- package/dist/types/community-web/ccw-main/status.d.ts +0 -11
- package/dist/types/community-web/ccw-mall/ccw/product/fe/query.d.ts +0 -54
- package/dist/types/community-web/check_in_record/detail.d.ts +0 -17
- package/dist/types/community-web/check_in_record/insert.d.ts +0 -10
- package/dist/types/community-web/cloud_asset/search.d.ts +0 -44
- package/dist/types/community-web/cloud_asset/user/privacy.d.ts +0 -14
- package/dist/types/community-web/comment/create.d.ts +0 -40
- package/dist/types/community-web/comment/like_record/create.d.ts +0 -11
- package/dist/types/community-web/comment/page.d.ts +0 -19
- package/dist/types/community-web/comment/page_by_topic.d.ts +0 -19
- package/dist/types/community-web/comment/reply.d.ts +0 -27
- package/dist/types/community-web/config/detail.d.ts +0 -11
- package/dist/types/community-web/creation/detail.d.ts +0 -15
- package/dist/types/community-web/creation/excellent/list.d.ts +0 -12
- package/dist/types/community-web/creation/introduction/detail.d.ts +0 -13
- package/dist/types/community-web/creation/like/detail.d.ts +0 -13
- package/dist/types/community-web/creation/loading/tips.d.ts +0 -9
- package/dist/types/community-web/creation/own/page.d.ts +0 -17
- package/dist/types/community-web/creation/page.d.ts +0 -16
- package/dist/types/community-web/creation/page_by_student.d.ts +0 -16
- package/dist/types/community-web/creation/potential/list.d.ts +0 -12
- package/dist/types/community-web/creation/recommend.d.ts +0 -15
- package/dist/types/community-web/creation/search/page.d.ts +0 -17
- package/dist/types/community-web/creation/smart_contract/split_rule/create.d.ts +0 -25
- package/dist/types/community-web/creation/smart_contract/split_rule/detail.d.ts +0 -31
- package/dist/types/community-web/creation/student/detail.d.ts +0 -13
- package/dist/types/community-web/creation/submit.d.ts +0 -39
- package/dist/types/community-web/creation/tag/list.d.ts +0 -11
- package/dist/types/community-web/creation/team_member/list.d.ts +0 -15
- package/dist/types/community-web/creation/team_member/produce_ticket.d.ts +0 -12
- package/dist/types/community-web/creation/teamwork_log/page.d.ts +0 -42
- package/dist/types/community-web/creation/update.d.ts +0 -19
- package/dist/types/community-web/creation_activity_stats/list.d.ts +0 -20
- package/dist/types/community-web/creation_attribute/detail.d.ts +0 -34
- package/dist/types/community-web/creation_donated_record/ranking_list.d.ts +0 -19
- package/dist/types/community-web/creation_favorite/detail.d.ts +0 -13
- package/dist/types/community-web/creation_recommend_position/list.d.ts +0 -13
- package/dist/types/community-web/creation_release/code_profiling/detail.d.ts +0 -60
- package/dist/types/community-web/creation_release/page.d.ts +0 -16
- package/dist/types/community-web/creation_screenshot/page.d.ts +0 -15
- package/dist/types/community-web/creation_stats/view.d.ts +0 -14
- package/dist/types/community-web/currency/account/personal.d.ts +0 -12
- package/dist/types/community-web/emoji/all.d.ts +0 -27
- package/dist/types/community-web/emoji/category/list.d.ts +0 -16
- package/dist/types/community-web/emoji/page.d.ts +0 -17
- package/dist/types/community-web/event.d.ts +0 -11
- package/dist/types/community-web/extensions/creation-like/detail.d.ts +0 -18
- package/dist/types/community-web/extensions/following/status.d.ts +0 -19
- package/dist/types/community-web/great_creation/update.d.ts +0 -12
- package/dist/types/community-web/hash_tag/detail.d.ts +0 -12
- package/dist/types/community-web/hash_tag/managed/list.d.ts +0 -18
- package/dist/types/community-web/hash_tag/recommend/list.d.ts +0 -8
- package/dist/types/community-web/hash_tag_creation/list_relation.d.ts +0 -13
- package/dist/types/community-web/hash_tag_creation/mine.d.ts +0 -18
- package/dist/types/community-web/hash_tag_favorite/detail.d.ts +0 -12
- package/dist/types/community-web/health/check.d.ts +0 -14
- package/dist/types/community-web/historical_team_member/page.d.ts +0 -17
- package/dist/types/community-web/index.d.ts +0 -214
- package/dist/types/community-web/leaflets/item/list.d.ts +0 -25
- package/dist/types/community-web/locked_user/detail.d.ts +0 -24
- package/dist/types/community-web/muted_user/detail.d.ts +0 -11
- package/dist/types/community-web/notification/page.d.ts +0 -15
- package/dist/types/community-web/notification/stats/v2.d.ts +0 -12
- package/dist/types/community-web/notify_message/show.d.ts +0 -17
- package/dist/types/community-web/post/detail.d.ts +0 -50
- package/dist/types/community-web/search/hot_words.d.ts +0 -11
- package/dist/types/community-web/short_url/create.d.ts +0 -11
- package/dist/types/community-web/short_url/decompress.d.ts +0 -11
- package/dist/types/community-web/smart_contract/account.d.ts +0 -13
- package/dist/types/community-web/smart_contract/detail.d.ts +0 -24
- package/dist/types/community-web/smart_contract/execute.d.ts +0 -25
- package/dist/types/community-web/smart_contract/list.d.ts +0 -49
- package/dist/types/community-web/student/block_record/detail.d.ts +0 -35
- package/dist/types/community-web/student/block_record/list.d.ts +0 -18
- package/dist/types/community-web/student/block_record/status.d.ts +0 -16
- package/dist/types/community-web/student/following/page.d.ts +0 -17
- package/dist/types/community-web/students/creator_score.d.ts +0 -9
- package/dist/types/community-web/students/last_active_at.d.ts +0 -14
- package/dist/types/community-web/students/list.d.ts +0 -13
- package/dist/types/community-web/students/list_sessions.d.ts +0 -12
- package/dist/types/community-web/students/profile.d.ts +0 -13
- package/dist/types/community-web/students/reputation_score_log/page.d.ts +0 -11
- package/dist/types/community-web/students/self/detail.d.ts +0 -18
- package/dist/types/community-web/students/stats.d.ts +0 -13
- package/dist/types/community-web/students/update.d.ts +0 -18
- package/dist/types/community-web/study-community/cloud_variable/create.d.ts +0 -15
- package/dist/types/community-web/study-community/comment/delete.d.ts +0 -11
- package/dist/types/community-web/study-community/comment/fold.d.ts +0 -11
- package/dist/types/community-web/study-community/comment/reset_weight.d.ts +0 -11
- package/dist/types/community-web/study-community/comment/top.d.ts +0 -14
- package/dist/types/community-web/study-community/following/follow.d.ts +0 -12
- package/dist/types/community-web/study-community/member/detail.d.ts +0 -25
- package/dist/types/community-web/study-community/spread_feed/unread/count.d.ts +0 -12
- package/dist/types/community-web/study-trade/trade/donate.d.ts +0 -17
- package/dist/types/community-web/subject_area/page.d.ts +0 -71
- package/dist/types/community-web/subject_area/page_by_channel.d.ts +0 -73
- package/dist/types/community-web/task/award.d.ts +0 -19
- package/dist/types/community-web/task/mine.d.ts +0 -29
- package/dist/types/community-web/typical_project/page.d.ts +0 -29
- package/dist/types/community-web/typical_project/student/unread_count.d.ts +0 -13
- package/dist/types/community-web/user-card/detail.d.ts +0 -43
- package/dist/types/community-web/user_label/list.d.ts +0 -11
- package/dist/types/community-web/user_package/status.d.ts +0 -13
- package/dist/types/community-web/user_package/user_product.d.ts +0 -40
- package/dist/types/community-web-cloud-database/cloud_variable/detail/v2.d.ts +0 -17
- package/dist/types/community-web-cloud-database/cloud_variable/save.d.ts +0 -26
- package/dist/types/community-web-cloud-database/index.d.ts +0 -7
- package/dist/types/gandi-main/bulletins/detail.d.ts +0 -16
- package/dist/types/gandi-main/bulletins/page.d.ts +0 -19
- package/dist/types/gandi-main/creation/leaderboards/{oid}/records.d.ts +0 -62
- package/dist/types/gandi-main/index.d.ts +0 -11
- package/dist/types/gandi-main/timestamp/current.d.ts +0 -7
- package/dist/types/index.d.ts +0 -147
- package/dist/types/op-parent-api/captcha/check.d.ts +0 -21
- package/dist/types/op-parent-api/captcha/create.d.ts +0 -24
- package/dist/types/op-parent-api/index.d.ts +0 -6
- package/dist/types/queryPages.d.ts +0 -9
- package/dist/types/sso/index.d.ts +0 -12
- package/dist/types/sso/web/auth/assistant/captcha/v2/create.d.ts +0 -34
- package/dist/types/sso/web/auth/login-by-password.d.ts +0 -34
- package/dist/types/sso/web/auth/logout.d.ts +0 -6
- package/dist/types/sso/web/auth/logout_by_session.d.ts +0 -7
- package/dist/types/sso/web/auth/v3/login/by-phone.d.ts +0 -38
- package/dist/types/types/account.d.ts +0 -1
- package/dist/types/types/api.d.ts +0 -27
- package/dist/types/types/approval.d.ts +0 -18
- package/dist/types/types/comment.d.ts +0 -60
- package/dist/types/types/creation.d.ts +0 -171
- package/dist/types/types/extensions.d.ts +0 -60
- package/dist/types/types/hashTag.d.ts +0 -71
- package/dist/types/types/index.d.ts +0 -11
- package/dist/types/types/notification.d.ts +0 -66
- package/dist/types/types/notificationContent.d.ts +0 -126
- package/dist/types/types/pages.d.ts +0 -37
- package/dist/types/types/session.d.ts +0 -38
- package/dist/types/types/teamwork.d.ts +0 -15
- package/dist/types/types/userData.d.ts +0 -363
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { encodeShortCode } from "./api/v1/short_code/encode";
|
|
2
|
-
import { getApprovalTags } from "./approval/list";
|
|
3
|
-
import { getTime } from "./base/dateTime";
|
|
4
|
-
import { getCampaignResources } from "./campaign_resource/detail";
|
|
5
|
-
import { getCheckInRecords } from "./check_in_record/detail";
|
|
6
|
-
import { insertCheckInRecord } from "./check_in_record/insert";
|
|
7
|
-
import { getUserAssetStorageSize } from "./cloud_asset/user/privacy";
|
|
8
|
-
import { searchCloudAssets } from "./cloud_asset/search";
|
|
9
|
-
import { getCommentReplies } from "./comment/page";
|
|
10
|
-
import { getCommentsByTopic } from "./comment/page_by_topic";
|
|
11
|
-
import { getConfigDetail } from "./config/detail";
|
|
12
|
-
import { queryMallProducts } from "./ccw-mall/ccw/product/fe/query";
|
|
13
|
-
import { getCreationDetail } from "./creation/detail";
|
|
14
|
-
import { getExcellentCreations } from "./creation/excellent/list";
|
|
15
|
-
import { getCreationIntroduction } from "./creation/introduction/detail";
|
|
16
|
-
import { getLikeDetail } from "./creation/like/detail";
|
|
17
|
-
import { getLoadingTips } from "./creation/loading/tips";
|
|
18
|
-
import { getRemixedCreationPage } from "./creation/page";
|
|
19
|
-
import { getCreationsByStudent } from "./creation/page_by_student";
|
|
20
|
-
import { getPotentialCreations } from "./creation/potential/list";
|
|
21
|
-
import { getRecommendCreations } from "./creation/recommend";
|
|
22
|
-
import { searchCreationsByTag } from "./creation/search/page";
|
|
23
|
-
import { getCreationStudentDetail } from "./creation/student/detail";
|
|
24
|
-
import { getCreationTags } from "./creation/tag/list";
|
|
25
|
-
import { createShortUrl } from "./short_url/create";
|
|
26
|
-
import { getPlanetsOfCreation } from "./hash_tag_creation/list_relation";
|
|
27
|
-
import { getMyHashTagCreations } from "./hash_tag_creation/mine";
|
|
28
|
-
import { getHashTagDetail } from "./hash_tag/detail";
|
|
29
|
-
import { getManagedHashTags } from "./hash_tag/managed/list";
|
|
30
|
-
import { getHashTagFavoriteDetail } from "./hash_tag_favorite/detail";
|
|
31
|
-
import { getDonatedRecordRanking } from "./creation_donated_record/ranking_list";
|
|
32
|
-
import { getCreationFavoriteDetail } from "./creation_favorite/detail";
|
|
33
|
-
import { getCreationRecommendPositionList } from "./creation_recommend_position/list";
|
|
34
|
-
import { getCreationScreenshotPage } from "./creation_screenshot/page";
|
|
35
|
-
import { viewCreationStats } from "./creation_stats/view";
|
|
36
|
-
import { getNotifyDeleteReasons } from "./notify_message/show";
|
|
37
|
-
import { getPostDetail } from "./post/detail";
|
|
38
|
-
import { getSearchHotWords } from "./search/hot_words";
|
|
39
|
-
import { getStudentBlockRecordDetail } from "./student/block_record/detail";
|
|
40
|
-
import { getStudentBlockRecordList } from "./student/block_record/list";
|
|
41
|
-
import { getStudentBlockStatus } from "./student/block_record/status";
|
|
42
|
-
import { getCreatorScore } from "./students/creator_score";
|
|
43
|
-
import { getStudentLastActiveAt } from "./students/last_active_at";
|
|
44
|
-
import { getStudentsList } from "./students/list";
|
|
45
|
-
import { getStudentSessions } from "./students/list_sessions";
|
|
46
|
-
import { getStudentProfile } from "./students/profile";
|
|
47
|
-
import { getReputationScoreLog } from "./students/reputation_score_log/page";
|
|
48
|
-
import { getStudentSelfDetail } from "./students/self/detail";
|
|
49
|
-
import { getStudentStats } from "./students/stats";
|
|
50
|
-
import { updateStudent } from "./students/update";
|
|
51
|
-
import { getStudyCommunityMemberDetail } from "./study-community/member/detail";
|
|
52
|
-
import { getSpreadFeedUnreadCount } from "./study-community/spread_feed/unread/count";
|
|
53
|
-
import { getSubjectAreaPage } from "./subject_area/page";
|
|
54
|
-
import { getSubjectAreaPageByChannel } from "./subject_area/page_by_channel";
|
|
55
|
-
import { acceptAward } from "./task/award";
|
|
56
|
-
import { getMyTasks } from "./task/mine";
|
|
57
|
-
import { getUserCardDetail } from "./user-card/detail";
|
|
58
|
-
import { getUserLabelList } from "./user_label/list";
|
|
59
|
-
import { getPersonalCurrencyAccount } from "./currency/account/personal";
|
|
60
|
-
import { getAllEmojis } from "./emoji/all";
|
|
61
|
-
import { getEmojiCategoryList } from "./emoji/category/list";
|
|
62
|
-
import { getEmojiPage } from "./emoji/page";
|
|
63
|
-
import { sendEvent } from "./event";
|
|
64
|
-
import { healthCheck } from "./health/check";
|
|
65
|
-
import { getLeafletsItemList } from "./leaflets/item/list";
|
|
66
|
-
import { getLockedUserDetail } from "./locked_user/detail";
|
|
67
|
-
import { getMutedUserDetail } from "./muted_user/detail";
|
|
68
|
-
import { getNotificationPage } from "./notification/page";
|
|
69
|
-
import { getNotificationStats } from "./notification/stats/v2";
|
|
70
|
-
import { getTypicalProjectPage } from "./typical_project/page";
|
|
71
|
-
import { getTypicalProjectUnreadCount } from "./typical_project/student/unread_count";
|
|
72
|
-
import { getOwnCreationPage } from "./creation/own/page";
|
|
73
|
-
import { produceTeamMemberTicket } from "./creation/team_member/produce_ticket";
|
|
74
|
-
import { getTeamMemberList } from "./creation/team_member/list";
|
|
75
|
-
import { getTeamworkLogPage } from "./creation/teamwork_log/page";
|
|
76
|
-
import { updateCreation } from "./creation/update";
|
|
77
|
-
import { submitCreation } from "./creation/submit";
|
|
78
|
-
import { getSplitRuleDetail } from "./creation/smart_contract/split_rule/detail";
|
|
79
|
-
import { createSplitRule } from "./creation/smart_contract/split_rule/create";
|
|
80
|
-
import { getCreationAttributeDetail } from "./creation_attribute/detail";
|
|
81
|
-
import { getCreationActivityStatsList } from "./creation_activity_stats/list";
|
|
82
|
-
import { getCreationReleasePage } from "./creation_release/page";
|
|
83
|
-
import { getCodeProfilingDetail } from "./creation_release/code_profiling/detail";
|
|
84
|
-
import { getHistoricalTeamMemberPage } from "./historical_team_member/page";
|
|
85
|
-
import { decompressShortUrl } from "./short_url/decompress";
|
|
86
|
-
import { getRecommendHashTags } from "./hash_tag/recommend/list";
|
|
87
|
-
import { getCCWMainStatus } from "./ccw-main/status";
|
|
88
|
-
import { createCloudVariable } from "./study-community/cloud_variable/create";
|
|
89
|
-
import { topComment } from "./study-community/comment/top";
|
|
90
|
-
import { foldComment } from "./study-community/comment/fold";
|
|
91
|
-
import { resetCommentWeight } from "./study-community/comment/reset_weight";
|
|
92
|
-
import { deleteComment } from "./study-community/comment/delete";
|
|
93
|
-
import { createComment } from "./comment/create";
|
|
94
|
-
import { likeComment } from "./comment/like_record/create";
|
|
95
|
-
import { getStudentFollowingPage } from "./student/following/page";
|
|
96
|
-
import { donateTrade } from "./study-trade/trade/donate";
|
|
97
|
-
import { getUserProductsPage } from "./user_package/user_product";
|
|
98
|
-
import { setUserProductStatus } from "./user_package/status";
|
|
99
|
-
import { updateGreatCreation } from "./great_creation/update";
|
|
100
|
-
import { executeSmartContract } from "./smart_contract/execute";
|
|
101
|
-
import { getSmartContractAccount } from "./smart_contract/account";
|
|
102
|
-
import { getSmartContractDetail } from "./smart_contract/detail";
|
|
103
|
-
import { getSmartContractList } from "./smart_contract/list";
|
|
104
|
-
import { getConnectCommunityFollowingStatus } from "./extensions/following/status";
|
|
105
|
-
import { getConnectCommunityCreationLikeStatus } from "./extensions/creation-like/detail";
|
|
106
|
-
import { followCreator } from "./study-community/following/follow";
|
|
107
|
-
export declare const communityWeb: {
|
|
108
|
-
acceptAward: typeof acceptAward;
|
|
109
|
-
donateTrade: typeof donateTrade;
|
|
110
|
-
encodeShortCode: typeof encodeShortCode;
|
|
111
|
-
executeSmartContract: typeof executeSmartContract;
|
|
112
|
-
createCloudVariable: typeof createCloudVariable;
|
|
113
|
-
createComment: typeof createComment;
|
|
114
|
-
createShortUrl: typeof createShortUrl;
|
|
115
|
-
createSplitRule: typeof createSplitRule;
|
|
116
|
-
decompressShortUrl: typeof decompressShortUrl;
|
|
117
|
-
deleteComment: typeof deleteComment;
|
|
118
|
-
foldComment: typeof foldComment;
|
|
119
|
-
followCreator: typeof followCreator;
|
|
120
|
-
getApprovalTags: typeof getApprovalTags;
|
|
121
|
-
getCampaignResources: typeof getCampaignResources;
|
|
122
|
-
getCcwMainStatus: typeof getCCWMainStatus;
|
|
123
|
-
getCheckInRecords: typeof getCheckInRecords;
|
|
124
|
-
getCodeProfilingDetail: typeof getCodeProfilingDetail;
|
|
125
|
-
getCommentReplies: typeof getCommentReplies;
|
|
126
|
-
getCommentsByTopic: typeof getCommentsByTopic;
|
|
127
|
-
getConfigDetail: typeof getConfigDetail;
|
|
128
|
-
getCreationActivityStatsList: typeof getCreationActivityStatsList;
|
|
129
|
-
getCreationAttributeDetail: typeof getCreationAttributeDetail;
|
|
130
|
-
getCreationDetail: typeof getCreationDetail;
|
|
131
|
-
getCreationFavoriteDetail: typeof getCreationFavoriteDetail;
|
|
132
|
-
getCreationIntroduction: typeof getCreationIntroduction;
|
|
133
|
-
getConnectCommunityCreationLikeStatus: typeof getConnectCommunityCreationLikeStatus;
|
|
134
|
-
getCreationRecommendPositionList: typeof getCreationRecommendPositionList;
|
|
135
|
-
getCreationReleasePage: typeof getCreationReleasePage;
|
|
136
|
-
getCreationScreenshotPage: typeof getCreationScreenshotPage;
|
|
137
|
-
getCreationStudentDetail: typeof getCreationStudentDetail;
|
|
138
|
-
getCreationTags: typeof getCreationTags;
|
|
139
|
-
getCreatorScore: typeof getCreatorScore;
|
|
140
|
-
getDonatedRecordRanking: typeof getDonatedRecordRanking;
|
|
141
|
-
getExcellentCreations: typeof getExcellentCreations;
|
|
142
|
-
getConnectCommunityFollowingStatus: typeof getConnectCommunityFollowingStatus;
|
|
143
|
-
getEmojiCategoryList: typeof getEmojiCategoryList;
|
|
144
|
-
getEmojiPage: typeof getEmojiPage;
|
|
145
|
-
getAllEmojis: typeof getAllEmojis;
|
|
146
|
-
getHashTagDetail: typeof getHashTagDetail;
|
|
147
|
-
getHashTagFavoriteDetail: typeof getHashTagFavoriteDetail;
|
|
148
|
-
getHistoricalTeamMemberPage: typeof getHistoricalTeamMemberPage;
|
|
149
|
-
getManagedHashTags: typeof getManagedHashTags;
|
|
150
|
-
getHealthCheck: typeof healthCheck;
|
|
151
|
-
getLeafletsItemList: typeof getLeafletsItemList;
|
|
152
|
-
getLikeDetail: typeof getLikeDetail;
|
|
153
|
-
getLoadingTips: typeof getLoadingTips;
|
|
154
|
-
getLockedUserDetail: typeof getLockedUserDetail;
|
|
155
|
-
getMutedUserDetail: typeof getMutedUserDetail;
|
|
156
|
-
getMyHashTagCreations: typeof getMyHashTagCreations;
|
|
157
|
-
getMyTasks: typeof getMyTasks;
|
|
158
|
-
getNotifyDeleteReasons: typeof getNotifyDeleteReasons;
|
|
159
|
-
getNotificationPage: typeof getNotificationPage;
|
|
160
|
-
getNotificationStats: typeof getNotificationStats;
|
|
161
|
-
getOwnCreationPage: typeof getOwnCreationPage;
|
|
162
|
-
getPersonalCurrencyAccount: typeof getPersonalCurrencyAccount;
|
|
163
|
-
getPlanetsOfCreation: typeof getPlanetsOfCreation;
|
|
164
|
-
getPostDetail: typeof getPostDetail;
|
|
165
|
-
getPotentialCreations: typeof getPotentialCreations;
|
|
166
|
-
getRecommendCreations: typeof getRecommendCreations;
|
|
167
|
-
getRecommendHashTags: typeof getRecommendHashTags;
|
|
168
|
-
getRemixedCreationPage: typeof getRemixedCreationPage;
|
|
169
|
-
getReputationScoreLogPage: typeof getReputationScoreLog;
|
|
170
|
-
getSearchHotWords: typeof getSearchHotWords;
|
|
171
|
-
getSmartContractAccount: typeof getSmartContractAccount;
|
|
172
|
-
getSmartContractDetail: typeof getSmartContractDetail;
|
|
173
|
-
getSmartContractList: typeof getSmartContractList;
|
|
174
|
-
getSplitRuleDetail: typeof getSplitRuleDetail;
|
|
175
|
-
getSpreadFeedUnreadCount: typeof getSpreadFeedUnreadCount;
|
|
176
|
-
getStudentBlockRecordDetail: typeof getStudentBlockRecordDetail;
|
|
177
|
-
getStudentBlockRecordList: typeof getStudentBlockRecordList;
|
|
178
|
-
getStudentBlockStatus: typeof getStudentBlockStatus;
|
|
179
|
-
getStudentFollowingPage: typeof getStudentFollowingPage;
|
|
180
|
-
getStudentLastActiveAt: typeof getStudentLastActiveAt;
|
|
181
|
-
getStudentProfile: typeof getStudentProfile;
|
|
182
|
-
getStudentSelfDetail: typeof getStudentSelfDetail;
|
|
183
|
-
getStudentSessions: typeof getStudentSessions;
|
|
184
|
-
getStudentsList: typeof getStudentsList;
|
|
185
|
-
getStudentStats: typeof getStudentStats;
|
|
186
|
-
getStudyCommunityMemberDetail: typeof getStudyCommunityMemberDetail;
|
|
187
|
-
getSubjectAreaPage: typeof getSubjectAreaPage;
|
|
188
|
-
getSubjectAreaPageByChannel: typeof getSubjectAreaPageByChannel;
|
|
189
|
-
getTeamMemberList: typeof getTeamMemberList;
|
|
190
|
-
getTeamworkLogPage: typeof getTeamworkLogPage;
|
|
191
|
-
getTime: typeof getTime;
|
|
192
|
-
getTypicalProjectPage: typeof getTypicalProjectPage;
|
|
193
|
-
getTypicalProjectUnreadCount: typeof getTypicalProjectUnreadCount;
|
|
194
|
-
getUserAssetStorageSize: typeof getUserAssetStorageSize;
|
|
195
|
-
getUserCardDetail: typeof getUserCardDetail;
|
|
196
|
-
getUserLabelList: typeof getUserLabelList;
|
|
197
|
-
getUserProductsPage: typeof getUserProductsPage;
|
|
198
|
-
queryMallProducts: typeof queryMallProducts;
|
|
199
|
-
getCreationsByStudent: typeof getCreationsByStudent;
|
|
200
|
-
insertCheckInRecord: typeof insertCheckInRecord;
|
|
201
|
-
likeComment: typeof likeComment;
|
|
202
|
-
produceTeamMemberTicket: typeof produceTeamMemberTicket;
|
|
203
|
-
resetCommentWeight: typeof resetCommentWeight;
|
|
204
|
-
searchCloudAssets: typeof searchCloudAssets;
|
|
205
|
-
searchCreationsByTag: typeof searchCreationsByTag;
|
|
206
|
-
sendEvent: typeof sendEvent;
|
|
207
|
-
setUserProductStatus: typeof setUserProductStatus;
|
|
208
|
-
submitCreation: typeof submitCreation;
|
|
209
|
-
topComment: typeof topComment;
|
|
210
|
-
updateCreation: typeof updateCreation;
|
|
211
|
-
updateGreatCreation: typeof updateGreatCreation;
|
|
212
|
-
updateStudent: typeof updateStudent;
|
|
213
|
-
viewCreationStats: typeof viewCreationStats;
|
|
214
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CNameOssUrl } from "../../../types/api";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/leaflets/item/list";
|
|
3
|
-
export type Req = {
|
|
4
|
-
advertisementId: number;
|
|
5
|
-
};
|
|
6
|
-
export interface LeafletsItem {
|
|
7
|
-
advertisementId: number;
|
|
8
|
-
advertisementUrl: string;
|
|
9
|
-
createdAt: number;
|
|
10
|
-
id: number;
|
|
11
|
-
itemUrl: CNameOssUrl;
|
|
12
|
-
/**
|
|
13
|
-
* 广告标题
|
|
14
|
-
* @example name = "六月小商店上新"
|
|
15
|
-
*/
|
|
16
|
-
name: string;
|
|
17
|
-
updatedAt: number;
|
|
18
|
-
}
|
|
19
|
-
export type Res = LeafletsItem[];
|
|
20
|
-
/**
|
|
21
|
-
* 获取消息中心上方广告横幅项目列表
|
|
22
|
-
* @param {number} advertisementId 广告ID
|
|
23
|
-
* @returns {Promise<Res>} 广告项目列表
|
|
24
|
-
*/
|
|
25
|
-
export declare function getLeafletsItemList(advertisementId: number): Promise<Res>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AccountTypes } from "../../types/account";
|
|
2
|
-
import { MongoDBId } from "../../types/api";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/locked_user/detail";
|
|
4
|
-
export type Req = {
|
|
5
|
-
accountOid: MongoDBId;
|
|
6
|
-
};
|
|
7
|
-
export interface LockedUserDetail<IsLocked extends boolean> {
|
|
8
|
-
accountOid: IsLocked extends true ? MongoDBId : null;
|
|
9
|
-
accountType: IsLocked extends true ? AccountTypes : null;
|
|
10
|
-
createdAt: IsLocked extends true ? number : null;
|
|
11
|
-
description: IsLocked extends true ? string : null;
|
|
12
|
-
id: IsLocked extends true ? number : null;
|
|
13
|
-
locked: IsLocked;
|
|
14
|
-
operatorOid: IsLocked extends true ? MongoDBId : null;
|
|
15
|
-
unlocksAt: IsLocked extends true ? number : null;
|
|
16
|
-
updatedAt: IsLocked extends true ? number : null;
|
|
17
|
-
}
|
|
18
|
-
export type Res<IsLocked extends boolean> = LockedUserDetail<IsLocked>;
|
|
19
|
-
/**
|
|
20
|
-
* 获取被封禁用户详情
|
|
21
|
-
* @param {MongoDBId} accountOid 用户账户ID
|
|
22
|
-
* @returns {Promise<Res>} 被封禁用户详情
|
|
23
|
-
*/
|
|
24
|
-
export declare function getLockedUserDetail<IsLocked extends boolean = false>(accountOid: MongoDBId): Promise<Res<IsLocked>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/muted_user/detail";
|
|
2
|
-
export type Req = {
|
|
3
|
-
studentNumber: string;
|
|
4
|
-
};
|
|
5
|
-
export type Res = null;
|
|
6
|
-
/**
|
|
7
|
-
* 获取禁言用户详情
|
|
8
|
-
* @param {string} studentNumber 用户number(244373873)
|
|
9
|
-
* @returns {Promise<Res>} 禁言用户详情(null表示未禁言)
|
|
10
|
-
*/
|
|
11
|
-
export declare function getMutedUserDetail(studentNumber: string): Promise<Res>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PagesRes, PageArgs } from "../../types/pages";
|
|
2
|
-
import { NotificationGroup, Notification } from "../../types/notification";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/notification/page";
|
|
4
|
-
export type Req = {
|
|
5
|
-
notifyGroup: NotificationGroup;
|
|
6
|
-
page: number;
|
|
7
|
-
};
|
|
8
|
-
export type Res = PagesRes<Notification>;
|
|
9
|
-
/**
|
|
10
|
-
* 分页获取通知列表
|
|
11
|
-
* @param {NotificationGroup} notifyGroup 通知分组
|
|
12
|
-
* @param {Partial<PageArgs<"createdAt" | T>>} pageArgs_ 分页参数
|
|
13
|
-
* @returns {Promise<Res>} 分页通知数据
|
|
14
|
-
*/
|
|
15
|
-
export declare function getNotificationPage<T extends string>(notifyGroup?: NotificationGroup, pageArgs_?: Partial<PageArgs<"createdAt" | T>>): Promise<Res>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NotificationStats } from "../../../types/notification";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/notification/stats/v2";
|
|
3
|
-
export type Req = {
|
|
4
|
-
countAll: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type Res = NotificationStats;
|
|
7
|
-
/**
|
|
8
|
-
* 获取通知统计
|
|
9
|
-
* @param {boolean} countAll 是否统计全部
|
|
10
|
-
* @returns {Promise<Res>} 通知统计数据
|
|
11
|
-
*/
|
|
12
|
-
export declare function getNotificationStats(countAll?: boolean): Promise<Res>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/notify_message/show";
|
|
2
|
-
export type NotifyMessageType = "COMMENT_AUDIT";
|
|
3
|
-
export type Req = {
|
|
4
|
-
type: NotifyMessageType;
|
|
5
|
-
};
|
|
6
|
-
export type NotifyMessage = {
|
|
7
|
-
/** @example message = '由于包含广告或垃圾信息,已被管理员删除!' */
|
|
8
|
-
message: string;
|
|
9
|
-
/** @example title = '广告或垃圾信息' */
|
|
10
|
-
title: string;
|
|
11
|
-
};
|
|
12
|
-
export type Res = NotifyMessage[];
|
|
13
|
-
/**
|
|
14
|
-
* 获取通知删除原因列表
|
|
15
|
-
* @returns {Promise<Res>} 消息删除原因列表
|
|
16
|
-
*/
|
|
17
|
-
export declare function getNotifyDeleteReasons(): Promise<Res>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/post/detail";
|
|
3
|
-
export type PostTag = {
|
|
4
|
-
name: string;
|
|
5
|
-
slag: string;
|
|
6
|
-
};
|
|
7
|
-
export type PostFeatureImage = {
|
|
8
|
-
alt: string;
|
|
9
|
-
caption: string;
|
|
10
|
-
url: CNameOssUrl;
|
|
11
|
-
};
|
|
12
|
-
export type PostAuthor = {
|
|
13
|
-
avatar: CNameOssUrl;
|
|
14
|
-
name: string;
|
|
15
|
-
oid: MongoDBId;
|
|
16
|
-
};
|
|
17
|
-
export type Req = {
|
|
18
|
-
slug: string;
|
|
19
|
-
};
|
|
20
|
-
export type Res = {
|
|
21
|
-
author: PostAuthor;
|
|
22
|
-
authorOid: MongoDBId;
|
|
23
|
-
collectCount: null | number;
|
|
24
|
-
commentCount: number;
|
|
25
|
-
content: string;
|
|
26
|
-
createdAt: number;
|
|
27
|
-
draftContent: null | string;
|
|
28
|
-
excerpt: string;
|
|
29
|
-
featureImage: PostFeatureImage;
|
|
30
|
-
keywords: null | string[];
|
|
31
|
-
oid: MongoDBId;
|
|
32
|
-
pageView: number;
|
|
33
|
-
publishedAt: number;
|
|
34
|
-
rank: "EXCELLENT" | "ORDINARY";
|
|
35
|
-
rankUpdatedAt: null | number;
|
|
36
|
-
reviewedAt: number;
|
|
37
|
-
slug: string;
|
|
38
|
-
status: string;
|
|
39
|
-
tagRefs: PostTag[];
|
|
40
|
-
tags: string[];
|
|
41
|
-
title: string;
|
|
42
|
-
updatedAt: number;
|
|
43
|
-
visibility: string;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* 获取帖子详情
|
|
47
|
-
* @param {string} slug 帖子slug
|
|
48
|
-
* @returns {Promise<Res>} 帖子详情
|
|
49
|
-
*/
|
|
50
|
-
export declare function getPostDetail(slug: string): Promise<Res>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/search/hot_words";
|
|
2
|
-
export type Req = {
|
|
3
|
-
length: number;
|
|
4
|
-
};
|
|
5
|
-
export type Res = string[];
|
|
6
|
-
/**
|
|
7
|
-
* 获取搜索热词
|
|
8
|
-
* @param {number} length 热词数量
|
|
9
|
-
* @returns {Promise<Res>} 热词列表
|
|
10
|
-
*/
|
|
11
|
-
export declare function getSearchHotWords(length: number): Promise<Res>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/short_url/create";
|
|
2
|
-
export type Req = {
|
|
3
|
-
originUrl: string;
|
|
4
|
-
};
|
|
5
|
-
export type Res = `https://ccw.site/s/${string}`;
|
|
6
|
-
/**
|
|
7
|
-
* 创建短链接(用于分享)
|
|
8
|
-
* @param originUrl 原链接
|
|
9
|
-
* @returns {Promise<Res>} 创建的短链接
|
|
10
|
-
*/
|
|
11
|
-
export declare function createShortUrl(originUrl: string): Promise<Res>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/short_url/decompress";
|
|
2
|
-
export type Req = {
|
|
3
|
-
shortUrlCode: string;
|
|
4
|
-
};
|
|
5
|
-
export type Res = string;
|
|
6
|
-
/**
|
|
7
|
-
* 解压缩短链接
|
|
8
|
-
* @param {string} shortUrlCode 短链接码
|
|
9
|
-
* @returns {Promise<Res>} 原始URL
|
|
10
|
-
*/
|
|
11
|
-
export declare function decompressShortUrl(shortUrlCode: string): Promise<Res>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const url = "https://community-web.ccw.site/smart_contract/account";
|
|
2
|
-
export type Req = {
|
|
3
|
-
id: number;
|
|
4
|
-
};
|
|
5
|
-
export type Res = {
|
|
6
|
-
balance: number;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 查询智能合约账户余额
|
|
10
|
-
* @param {number} id 合约 ID
|
|
11
|
-
* @returns {Promise<Res>} 合约账户余额
|
|
12
|
-
*/
|
|
13
|
-
export declare function getSmartContractAccount(id: number): Promise<Res>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../types/api";
|
|
2
|
-
import { SmartContractBizType, SmartContractRule } from "./list";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/smart_contract/detail";
|
|
4
|
-
export type Req = {
|
|
5
|
-
id: number;
|
|
6
|
-
};
|
|
7
|
-
export type Res = {
|
|
8
|
-
accountId: MongoDBId;
|
|
9
|
-
bizId: MongoDBId;
|
|
10
|
-
bizType: SmartContractBizType;
|
|
11
|
-
createdAt: number;
|
|
12
|
-
id: number;
|
|
13
|
-
rules: SmartContractRule[];
|
|
14
|
-
status: "ENABLED";
|
|
15
|
-
title: string;
|
|
16
|
-
type: string;
|
|
17
|
-
updatedAt: number;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* 获取智能合约详情
|
|
21
|
-
* @param {number} id 合约 ID
|
|
22
|
-
* @returns {Promise<Res>} 合约详情
|
|
23
|
-
*/
|
|
24
|
-
export declare function getSmartContractDetail(id: number): Promise<Res>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../types/api";
|
|
2
|
-
import { SmartContractBizType } from "./list";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/smart_contract/execute";
|
|
4
|
-
export type Req = {
|
|
5
|
-
bizId: MongoDBId;
|
|
6
|
-
bizType: SmartContractBizType;
|
|
7
|
-
id: number;
|
|
8
|
-
ruleId: number;
|
|
9
|
-
params: {
|
|
10
|
-
bucks: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export type Res = {
|
|
14
|
-
success: boolean;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* 执行智能合约(投币/领取奖励)
|
|
18
|
-
* @param {MongoDBId} bizId 业务 ID(如作品 OID)
|
|
19
|
-
* @param {SmartContractBizType} bizType 业务类型,CREATION
|
|
20
|
-
* @param {number} id 合约 ID
|
|
21
|
-
* @param {number} ruleId 规则 ID
|
|
22
|
-
* @param {number} bucks 金币数量
|
|
23
|
-
* @returns {Promise<Res>} 执行结果
|
|
24
|
-
*/
|
|
25
|
-
export declare function executeSmartContract(bizId: MongoDBId, id: number, ruleId: number, bucks: number, bizType?: SmartContractBizType): Promise<Res>;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../types/api";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/smart_contract/list";
|
|
3
|
-
export type SmartContractBizType = "CREATION";
|
|
4
|
-
export type Req = {
|
|
5
|
-
bizId: MongoDBId;
|
|
6
|
-
bizType: SmartContractBizType;
|
|
7
|
-
};
|
|
8
|
-
export type SmartContractRule = {
|
|
9
|
-
createdAt: number;
|
|
10
|
-
id: number;
|
|
11
|
-
rule: {
|
|
12
|
-
awardeeAccountId?: "${curUserAccountId}";
|
|
13
|
-
awarderAccountId?: "${smartContractAccountId}";
|
|
14
|
-
bucks: "${bucks}";
|
|
15
|
-
code: "donate" | "award";
|
|
16
|
-
donatorAccountId?: "${curUserAccountId}";
|
|
17
|
-
funSignature: {
|
|
18
|
-
en: string;
|
|
19
|
-
zh_cn: string;
|
|
20
|
-
};
|
|
21
|
-
splitDetailList?: {
|
|
22
|
-
accountId: "${smartContractAccountId}" | "${creationAccountId}";
|
|
23
|
-
rate: number;
|
|
24
|
-
}[];
|
|
25
|
-
title: string;
|
|
26
|
-
};
|
|
27
|
-
smartContractId: number;
|
|
28
|
-
updatedAt: number;
|
|
29
|
-
};
|
|
30
|
-
export type SmartCoinContract = {
|
|
31
|
-
accountId: MongoDBId;
|
|
32
|
-
bizId: MongoDBId;
|
|
33
|
-
bizType: SmartContractBizType;
|
|
34
|
-
createdAt: number;
|
|
35
|
-
id: number;
|
|
36
|
-
rules: SmartContractRule[];
|
|
37
|
-
status: "ENABLED";
|
|
38
|
-
title: "通用合约";
|
|
39
|
-
type: "GENERAL";
|
|
40
|
-
updatedAt: number;
|
|
41
|
-
};
|
|
42
|
-
export type Res = SmartCoinContract[];
|
|
43
|
-
/**
|
|
44
|
-
* 列出作品中的智能金币合约
|
|
45
|
-
* @param {MongoDBId} bizId 业务ID(如作品OID)
|
|
46
|
-
* @param {SmartContractBizType} bizType 业务类型,CREATION
|
|
47
|
-
* @returns {Promise<Res>} 智能合约列表
|
|
48
|
-
*/
|
|
49
|
-
export declare function getSmartContractList(bizId: MongoDBId, bizType?: SmartContractBizType): Promise<Res>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AccountTypes } from "../../../types/account";
|
|
2
|
-
import { MongoDBId } from "../../../types/api";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/student/block_record/detail";
|
|
4
|
-
/**
|
|
5
|
-
* 用户是否在我的黑名单中
|
|
6
|
-
*/
|
|
7
|
-
export type BlockStatus = "NOT_BLOCKED" | "BLOCKING";
|
|
8
|
-
export type Req = {
|
|
9
|
-
studentOid: MongoDBId;
|
|
10
|
-
};
|
|
11
|
-
export type BlockActionRecord = {
|
|
12
|
-
action: "BLOCK";
|
|
13
|
-
createdAt: number;
|
|
14
|
-
deletedAt: null;
|
|
15
|
-
ext: null;
|
|
16
|
-
/**
|
|
17
|
-
* 我的用户id
|
|
18
|
-
*/
|
|
19
|
-
fromEntityId: MongoDBId;
|
|
20
|
-
fromEntityType: AccountTypes;
|
|
21
|
-
oid: MongoDBId;
|
|
22
|
-
/**
|
|
23
|
-
* 被加入黑名单的id
|
|
24
|
-
*/
|
|
25
|
-
relatedEntityId: MongoDBId;
|
|
26
|
-
relatedEntityType: AccountTypes;
|
|
27
|
-
updatedAt: number;
|
|
28
|
-
};
|
|
29
|
-
export type Res = BlockActionRecord | null;
|
|
30
|
-
/**
|
|
31
|
-
* 获取特定用户黑名单详细信息
|
|
32
|
-
* @param {MongoDBId} studentOid 学生id
|
|
33
|
-
* @returns {Promise<Res>} 封禁状态
|
|
34
|
-
*/
|
|
35
|
-
export declare function getStudentBlockRecordDetail(studentOid: MongoDBId): Promise<Res>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../../types/api";
|
|
2
|
-
import { PagesRes, PageArgs } from "../../../types/pages";
|
|
3
|
-
export declare const url = "https://community-web.ccw.site/student/block_record/list";
|
|
4
|
-
export type BlockRecord = {
|
|
5
|
-
createdAt: number;
|
|
6
|
-
expireAt: number;
|
|
7
|
-
id: number;
|
|
8
|
-
reason: string;
|
|
9
|
-
studentOid: MongoDBId;
|
|
10
|
-
};
|
|
11
|
-
export type Req = {};
|
|
12
|
-
export type Res = PagesRes<BlockRecord>;
|
|
13
|
-
/**
|
|
14
|
-
* 获取学生封禁记录列表
|
|
15
|
-
* @param {Partial<PageArgs<"createdAt" | T>>} pageArgs_ 分页参数
|
|
16
|
-
* @returns {Promise<Res>} 封禁记录分页数据
|
|
17
|
-
*/
|
|
18
|
-
export declare function getStudentBlockRecordList<T extends string>(pageArgs_?: Partial<PageArgs<"createdAt" | T>>): Promise<Res>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../../types/api";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/student/block_record/status";
|
|
3
|
-
/**
|
|
4
|
-
* 用户是否在我的黑名单中
|
|
5
|
-
*/
|
|
6
|
-
export type BlockStatus = "NOT_BLOCKED" | "BLOCKING";
|
|
7
|
-
export type Req = {
|
|
8
|
-
studentOid: MongoDBId;
|
|
9
|
-
};
|
|
10
|
-
export type Res = BlockStatus;
|
|
11
|
-
/**
|
|
12
|
-
* 获取特定用户黑名单状态
|
|
13
|
-
* @param {MongoDBId} studentOid 学生id
|
|
14
|
-
* @returns {Promise<Res>} 封禁状态
|
|
15
|
-
*/
|
|
16
|
-
export declare function getStudentBlockStatus(studentOid: MongoDBId): Promise<Res>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../../types/api";
|
|
2
|
-
import { PagesRes, PageArgs } from "../../../types/pages";
|
|
3
|
-
import { StudentSimple } from "../../../types/userData";
|
|
4
|
-
export declare const url = "https://community-web.ccw.site/student/following/page";
|
|
5
|
-
export type Req = {
|
|
6
|
-
studentOid: MongoDBId;
|
|
7
|
-
};
|
|
8
|
-
export type Res = PagesRes<StudentSimple & {
|
|
9
|
-
operatorFollowingStatus: "FOLLOWED" | "BOTH_FOLLOWED";
|
|
10
|
-
}>;
|
|
11
|
-
/**
|
|
12
|
-
* 获取学生关注列表分页
|
|
13
|
-
* @param {MongoDBId} studentOid 学生id
|
|
14
|
-
* @param {Partial<PageArgs<"createdAt" | T>>} pageArgs_ 分页参数
|
|
15
|
-
* @returns {Promise<Res>} 关注列表分页
|
|
16
|
-
*/
|
|
17
|
-
export declare function getStudentFollowingPage<T extends string>(studentOid: MongoDBId, pageArgs_?: Partial<PageArgs<"createdAt" | T>>): Promise<Res>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CreatorScore } from "../../types/userData";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/students/creator_score";
|
|
3
|
-
export type Req = undefined;
|
|
4
|
-
export type Res = CreatorScore;
|
|
5
|
-
/**
|
|
6
|
-
* 获取当前学生创作分
|
|
7
|
-
* @returns {Promise<Res>} 创作分信息
|
|
8
|
-
*/
|
|
9
|
-
export declare function getCreatorScore(): Promise<Res>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MongoDBId } from "../../types/api";
|
|
2
|
-
export declare const url = "https://community-web.ccw.site/students/last_active_at";
|
|
3
|
-
export type Req = {
|
|
4
|
-
studentOid: MongoDBId;
|
|
5
|
-
};
|
|
6
|
-
export type Res = {
|
|
7
|
-
lastActiveAt: number;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* 获取学生最后活跃时间
|
|
11
|
-
* @param {MongoDBId} studentOid 学生id
|
|
12
|
-
* @returns {Promise<Res>} 最后活跃时间数据
|
|
13
|
-
*/
|
|
14
|
-
export declare function getStudentLastActiveAt(studentOid: MongoDBId): Promise<Res>;
|