@ccw-api/api 0.5.0 → 0.7.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/README.md +591 -439
- package/dist/esm/bfs-web/index.js +2 -2
- package/dist/esm/bfs-web/users/{oid}/extensions.js +1 -1
- package/dist/esm/community-web/ccw-mall/ccw/product/fe/query.js +34 -0
- package/dist/esm/community-web/cloud_asset/search.js +1 -1
- package/dist/esm/community-web/comment/page.js +1 -1
- package/dist/esm/community-web/comment/page_by_topic.js +1 -1
- package/dist/esm/community-web/creation/own/page.js +1 -1
- package/dist/esm/community-web/creation/page.js +1 -1
- package/dist/esm/community-web/creation/page_by_student.js +1 -1
- package/dist/esm/community-web/creation/recommend.js +1 -1
- package/dist/esm/community-web/creation/search/page.js +1 -1
- package/dist/esm/community-web/creation/teamwork_log/page.js +1 -1
- package/dist/esm/community-web/creation_donated_record/ranking_list.js +1 -1
- package/dist/esm/community-web/creation_release/page.js +1 -1
- package/dist/esm/community-web/creation_screenshot/page.js +1 -1
- package/dist/esm/community-web/emoji/page.js +1 -1
- package/dist/esm/community-web/extensions/creation-like/detail.js +14 -0
- package/dist/esm/community-web/extensions/following/status.js +14 -0
- package/dist/esm/community-web/hash_tag/managed/list.js +1 -1
- package/dist/esm/community-web/hash_tag_creation/mine.js +1 -1
- package/dist/esm/community-web/historical_team_member/page.js +1 -1
- package/dist/esm/community-web/index.js +113 -99
- package/dist/esm/community-web/notification/page.js +2 -2
- package/dist/esm/community-web/smart_contract/account.js +13 -0
- package/dist/esm/community-web/smart_contract/detail.js +13 -0
- package/dist/esm/community-web/smart_contract/execute.js +17 -0
- package/dist/esm/community-web/student/block_record/list.js +1 -1
- package/dist/esm/community-web/student/following/page.js +1 -1
- package/dist/esm/community-web/students/list_sessions.js +1 -1
- package/dist/esm/community-web/students/reputation_score_log/page.js +1 -1
- package/dist/esm/community-web/study-community/following/follow.js +13 -0
- package/dist/esm/community-web/subject_area/page.js +1 -1
- package/dist/esm/community-web/subject_area/page_by_channel.js +1 -1
- package/dist/esm/community-web/typical_project/page.js +1 -1
- package/dist/esm/community-web/user_package/user_product.js +1 -1
- package/dist/esm/community-web-cloud-database/cloud_variable/detail/v2.js +16 -0
- package/dist/esm/community-web-cloud-database/index.js +3 -1
- package/dist/esm/gandi-main/bulletins/page.js +1 -1
- package/dist/esm/gandi-main/index.js +4 -4
- package/dist/esm/index.js +6 -6
- package/dist/esm/op-parent-api/index.js +2 -2
- package/dist/esm/sso/index.js +5 -5
- package/dist/esm/types/account.js +1 -0
- package/dist/esm/types/api.js +1 -0
- package/dist/esm/types/approval.js +1 -0
- package/dist/esm/types/comment.js +1 -0
- package/dist/esm/types/creation.js +1 -0
- package/dist/esm/types/extensions.js +1 -0
- package/dist/esm/types/hashTag.js +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/pages.js +1 -0
- package/dist/esm/types/session.js +1 -0
- package/dist/esm/types/teamwork.js +1 -0
- package/dist/esm/types/userData.js +1 -0
- package/dist/node/bfs-web/users/{oid}/extensions.js +1 -1
- package/dist/node/community-web/ccw-mall/ccw/product/fe/query.js +38 -0
- package/dist/node/community-web/cloud_asset/search.js +1 -1
- package/dist/node/community-web/comment/page.js +1 -1
- package/dist/node/community-web/comment/page_by_topic.js +1 -1
- package/dist/node/community-web/creation/own/page.js +1 -1
- package/dist/node/community-web/creation/page.js +1 -1
- package/dist/node/community-web/creation/page_by_student.js +1 -1
- package/dist/node/community-web/creation/recommend.js +1 -1
- package/dist/node/community-web/creation/search/page.js +1 -1
- package/dist/node/community-web/creation/teamwork_log/page.js +1 -1
- package/dist/node/community-web/creation_donated_record/ranking_list.js +1 -1
- package/dist/node/community-web/creation_release/page.js +1 -1
- package/dist/node/community-web/creation_screenshot/page.js +1 -1
- package/dist/node/community-web/emoji/page.js +1 -1
- package/dist/node/community-web/extensions/creation-like/detail.js +18 -0
- package/dist/node/community-web/extensions/following/status.js +18 -0
- package/dist/node/community-web/hash_tag/managed/list.js +1 -1
- package/dist/node/community-web/hash_tag_creation/mine.js +1 -1
- package/dist/node/community-web/historical_team_member/page.js +1 -1
- package/dist/node/community-web/index.js +14 -0
- package/dist/node/community-web/notification/page.js +2 -2
- package/dist/node/community-web/smart_contract/account.js +17 -0
- package/dist/node/community-web/smart_contract/detail.js +17 -0
- package/dist/node/community-web/smart_contract/execute.js +21 -0
- package/dist/node/community-web/student/block_record/list.js +1 -1
- package/dist/node/community-web/student/following/page.js +1 -1
- package/dist/node/community-web/students/list_sessions.js +1 -1
- package/dist/node/community-web/students/reputation_score_log/page.js +1 -1
- package/dist/node/community-web/study-community/following/follow.js +17 -0
- package/dist/node/community-web/subject_area/page.js +1 -1
- package/dist/node/community-web/subject_area/page_by_channel.js +1 -1
- package/dist/node/community-web/typical_project/page.js +1 -1
- package/dist/node/community-web/user_package/user_product.js +1 -1
- package/dist/node/community-web-cloud-database/cloud_variable/detail/v2.js +20 -0
- package/dist/node/community-web-cloud-database/index.js +2 -0
- package/dist/node/gandi-main/bulletins/page.js +1 -1
- package/dist/node/types/account.js +2 -0
- package/dist/node/types/api.js +2 -0
- package/dist/node/types/approval.js +2 -0
- package/dist/node/types/comment.js +2 -0
- package/dist/node/types/creation.js +2 -0
- package/dist/node/types/extensions.js +2 -0
- package/dist/node/types/hashTag.js +2 -0
- package/dist/node/types/index.js +2 -0
- package/dist/node/types/pages.js +2 -0
- package/dist/node/types/session.js +2 -0
- package/dist/node/types/teamwork.js +2 -0
- package/dist/node/types/userData.js +2 -0
- package/dist/types/bfs-web/users/{oid}/extensions.d.ts +3 -3
- package/dist/types/community-web/api/v1/short_code/encode.d.ts +2 -2
- package/dist/types/community-web/approval/list.d.ts +3 -3
- package/dist/types/community-web/ccw-mall/ccw/product/fe/query.d.ts +54 -0
- package/dist/types/community-web/cloud_asset/search.d.ts +2 -2
- package/dist/types/community-web/comment/create.d.ts +3 -3
- package/dist/types/community-web/comment/page.d.ts +2 -2
- package/dist/types/community-web/comment/page_by_topic.d.ts +2 -2
- package/dist/types/community-web/creation/detail.d.ts +2 -2
- package/dist/types/community-web/creation/excellent/list.d.ts +1 -1
- package/dist/types/community-web/creation/introduction/detail.d.ts +2 -2
- package/dist/types/community-web/creation/like/detail.d.ts +2 -2
- package/dist/types/community-web/creation/loading/tips.d.ts +1 -1
- package/dist/types/community-web/creation/own/page.d.ts +2 -2
- package/dist/types/community-web/creation/page.d.ts +3 -3
- package/dist/types/community-web/creation/page_by_student.d.ts +3 -3
- package/dist/types/community-web/creation/potential/list.d.ts +1 -1
- package/dist/types/community-web/creation/recommend.d.ts +2 -2
- package/dist/types/community-web/creation/search/page.d.ts +2 -2
- package/dist/types/community-web/creation/smart_contract/split_rule/create.d.ts +1 -1
- package/dist/types/community-web/creation/smart_contract/split_rule/detail.d.ts +2 -2
- package/dist/types/community-web/creation/student/detail.d.ts +2 -2
- package/dist/types/community-web/creation/submit.d.ts +2 -2
- package/dist/types/community-web/creation/tag/list.d.ts +1 -1
- package/dist/types/community-web/creation/team_member/list.d.ts +2 -2
- package/dist/types/community-web/creation/team_member/produce_ticket.d.ts +1 -1
- package/dist/types/community-web/creation/teamwork_log/page.d.ts +2 -2
- package/dist/types/community-web/creation/update.d.ts +2 -2
- package/dist/types/community-web/creation_activity_stats/list.d.ts +1 -1
- package/dist/types/community-web/creation_attribute/detail.d.ts +1 -1
- package/dist/types/community-web/creation_donated_record/ranking_list.d.ts +3 -3
- package/dist/types/community-web/creation_favorite/detail.d.ts +2 -2
- package/dist/types/community-web/creation_recommend_position/list.d.ts +1 -1
- package/dist/types/community-web/creation_release/code_profiling/detail.d.ts +1 -1
- package/dist/types/community-web/creation_release/page.d.ts +3 -3
- package/dist/types/community-web/creation_screenshot/page.d.ts +3 -3
- package/dist/types/community-web/creation_stats/view.d.ts +1 -1
- package/dist/types/community-web/emoji/all.d.ts +1 -1
- package/dist/types/community-web/emoji/category/list.d.ts +1 -1
- package/dist/types/community-web/emoji/page.d.ts +1 -1
- package/dist/types/community-web/extensions/creation-like/detail.d.ts +18 -0
- package/dist/types/community-web/extensions/following/status.d.ts +19 -0
- package/dist/types/community-web/great_creation/update.d.ts +1 -1
- package/dist/types/community-web/hash_tag/detail.d.ts +1 -1
- package/dist/types/community-web/hash_tag/managed/list.d.ts +3 -3
- package/dist/types/community-web/hash_tag/recommend/list.d.ts +1 -1
- package/dist/types/community-web/hash_tag_creation/list_relation.d.ts +2 -2
- package/dist/types/community-web/hash_tag_creation/mine.d.ts +2 -2
- package/dist/types/community-web/hash_tag_favorite/detail.d.ts +1 -1
- package/dist/types/community-web/historical_team_member/page.d.ts +2 -2
- package/dist/types/community-web/index.d.ts +14 -0
- package/dist/types/community-web/leaflets/item/list.d.ts +1 -1
- package/dist/types/community-web/locked_user/detail.d.ts +2 -2
- package/dist/types/community-web/notification/page.d.ts +2 -2
- package/dist/types/community-web/notification/stats/v2.d.ts +1 -1
- package/dist/types/community-web/post/detail.d.ts +2 -2
- package/dist/types/community-web/smart_contract/account.d.ts +13 -0
- package/dist/types/community-web/smart_contract/detail.d.ts +24 -0
- package/dist/types/community-web/smart_contract/execute.d.ts +25 -0
- package/dist/types/community-web/smart_contract/list.d.ts +1 -1
- package/dist/types/community-web/student/block_record/detail.d.ts +2 -2
- package/dist/types/community-web/student/block_record/list.d.ts +2 -2
- package/dist/types/community-web/student/block_record/status.d.ts +1 -1
- package/dist/types/community-web/student/following/page.d.ts +3 -3
- package/dist/types/community-web/students/creator_score.d.ts +1 -1
- package/dist/types/community-web/students/last_active_at.d.ts +1 -1
- package/dist/types/community-web/students/list.d.ts +2 -2
- package/dist/types/community-web/students/list_sessions.d.ts +2 -2
- package/dist/types/community-web/students/profile.d.ts +2 -2
- package/dist/types/community-web/students/reputation_score_log/page.d.ts +2 -2
- package/dist/types/community-web/students/self/detail.d.ts +1 -1
- package/dist/types/community-web/students/stats.d.ts +2 -2
- package/dist/types/community-web/students/update.d.ts +1 -1
- package/dist/types/community-web/study-community/cloud_variable/create.d.ts +1 -1
- package/dist/types/community-web/study-community/following/follow.d.ts +12 -0
- package/dist/types/community-web/study-community/member/detail.d.ts +2 -2
- package/dist/types/community-web/study-community/spread_feed/unread/count.d.ts +1 -1
- package/dist/types/community-web/study-trade/trade/donate.d.ts +1 -1
- package/dist/types/community-web/subject_area/page.d.ts +2 -2
- package/dist/types/community-web/subject_area/page_by_channel.d.ts +2 -2
- package/dist/types/community-web/task/award.d.ts +1 -1
- package/dist/types/community-web/task/mine.d.ts +1 -1
- package/dist/types/community-web/typical_project/page.d.ts +2 -2
- package/dist/types/community-web/typical_project/student/unread_count.d.ts +1 -1
- package/dist/types/community-web/user-card/detail.d.ts +2 -2
- package/dist/types/community-web/user_label/list.d.ts +1 -1
- package/dist/types/community-web/user_package/user_product.d.ts +3 -3
- package/dist/types/community-web-cloud-database/cloud_variable/detail/v2.d.ts +17 -0
- package/dist/types/community-web-cloud-database/cloud_variable/save.d.ts +1 -1
- package/dist/types/community-web-cloud-database/index.d.ts +2 -0
- package/dist/types/gandi-main/bulletins/page.d.ts +1 -1
- package/dist/types/gandi-main/creation/leaderboards/{oid}/records.d.ts +2 -2
- package/dist/types/index.d.ts +8 -0
- package/dist/types/queryPages.d.ts +1 -1
- package/dist/types/sso/web/auth/login-by-password.d.ts +2 -2
- package/dist/types/sso/web/auth/v3/login/by-phone.d.ts +2 -2
- package/dist/types/types/account.d.ts +1 -0
- package/dist/types/types/api.d.ts +27 -0
- package/dist/types/types/approval.d.ts +18 -0
- package/dist/types/types/comment.d.ts +60 -0
- package/dist/types/types/creation.d.ts +171 -0
- package/dist/types/types/extensions.d.ts +60 -0
- package/dist/types/types/hashTag.d.ts +71 -0
- package/dist/types/types/index.d.ts +11 -0
- package/dist/types/types/notification.d.ts +3 -3
- package/dist/types/types/pages.d.ts +37 -0
- package/dist/types/types/session.d.ts +38 -0
- package/dist/types/types/teamwork.d.ts +15 -0
- package/dist/types/types/userData.d.ts +363 -0
- package/package.json +4 -3
- package/dist/esm/bfs-web/extensions/{eid}/donate.test.js +0 -4
- package/dist/esm/bfs-web/users/{oid}/extensions.test.js +0 -4
- package/dist/esm/community-web/api/v1/short_code/shortcode.test.js +0 -5
- package/dist/esm/community-web/approval/approval.test.js +0 -5
- package/dist/esm/community-web/base/dateTime.test.js +0 -6
- package/dist/esm/community-web/campaign_resource/detail.test.js +0 -10
- package/dist/esm/community-web/ccw-main/status.test.js +0 -4
- package/dist/esm/community-web/check_in_record/check_in_record.test.js +0 -8
- package/dist/esm/community-web/cloud_asset/search.test.js +0 -6
- package/dist/esm/community-web/cloud_asset/user/privacy.test.js +0 -4
- package/dist/esm/community-web/comment/create.test.js +0 -13
- package/dist/esm/community-web/comment/like_record/create.test.js +0 -4
- package/dist/esm/community-web/comment/page.test.js +0 -15
- package/dist/esm/community-web/comment/page_by_topic.test.js +0 -13
- package/dist/esm/community-web/comment/reply.test.js +0 -4
- package/dist/esm/community-web/config/detail.test.js +0 -9
- package/dist/esm/community-web/creation/detail.test.js +0 -18
- package/dist/esm/community-web/creation/excellent/list.test.js +0 -10
- package/dist/esm/community-web/creation/introduction/detail.test.js +0 -17
- package/dist/esm/community-web/creation/like/detail.test.js +0 -19
- package/dist/esm/community-web/creation/loading/tips.test.js +0 -8
- package/dist/esm/community-web/creation/own/page.test.js +0 -4
- package/dist/esm/community-web/creation/page.test.js +0 -16
- package/dist/esm/community-web/creation/page_by_student.test.js +0 -20
- package/dist/esm/community-web/creation/potential/list.test.js +0 -10
- package/dist/esm/community-web/creation/recommend.test.js +0 -10
- package/dist/esm/community-web/creation/search/page.test.js +0 -5
- package/dist/esm/community-web/creation/smart_contract/split_rule/create.test.js +0 -4
- package/dist/esm/community-web/creation/smart_contract/split_rule/detail.test.js +0 -4
- package/dist/esm/community-web/creation/student/detail.test.js +0 -17
- package/dist/esm/community-web/creation/submit.test.js +0 -32
- package/dist/esm/community-web/creation/tag/list.test.js +0 -10
- package/dist/esm/community-web/creation/team_member/list.test.js +0 -4
- package/dist/esm/community-web/creation/team_member/produce_ticket.test.js +0 -4
- package/dist/esm/community-web/creation/teamwork_log/page.test.js +0 -4
- package/dist/esm/community-web/creation/update.test.js +0 -4
- package/dist/esm/community-web/creation_activity_stats/list.test.js +0 -5
- package/dist/esm/community-web/creation_attribute/detail.test.js +0 -10
- package/dist/esm/community-web/creation_donated_record/ranking_list.test.js +0 -12
- package/dist/esm/community-web/creation_favorite/detail.test.js +0 -5
- package/dist/esm/community-web/creation_recommend_position/list.test.js +0 -5
- package/dist/esm/community-web/creation_release/code_profiling/detail.test.js +0 -5
- package/dist/esm/community-web/creation_release/page.test.js +0 -12
- package/dist/esm/community-web/creation_screenshot/page.test.js +0 -11
- package/dist/esm/community-web/creation_stats/view.test.js +0 -6
- package/dist/esm/community-web/currency/account/personal.test.js +0 -4
- package/dist/esm/community-web/emoji/all.test.js +0 -11
- package/dist/esm/community-web/emoji/category/list.test.js +0 -9
- package/dist/esm/community-web/emoji/page.test.js +0 -12
- package/dist/esm/community-web/event.test.js +0 -5
- package/dist/esm/community-web/great_creation/update.test.js +0 -4
- package/dist/esm/community-web/hash_tag/hash_tag_detail.test.js +0 -9
- package/dist/esm/community-web/hash_tag/managed/managed_list.test.js +0 -10
- package/dist/esm/community-web/hash_tag/recommend/list.test.js +0 -4
- package/dist/esm/community-web/hash_tag_creation/hash_tag_creation_list_relation.test.js +0 -4
- package/dist/esm/community-web/hash_tag_creation/hash_tag_creation_mine.test.js +0 -4
- package/dist/esm/community-web/hash_tag_creation/list_relation.test.js +0 -5
- package/dist/esm/community-web/hash_tag_favorite/hash_tag_favorite_detail.test.js +0 -4
- package/dist/esm/community-web/health/check.test.js +0 -10
- package/dist/esm/community-web/historical_team_member/page.test.js +0 -12
- package/dist/esm/community-web/leaflets/item/list.test.js +0 -5
- package/dist/esm/community-web/locked_user/detail.test.js +0 -6
- package/dist/esm/community-web/muted_user/detail.test.js +0 -6
- package/dist/esm/community-web/notification/page.test.js +0 -4
- package/dist/esm/community-web/notification/stats/v2.test.js +0 -4
- package/dist/esm/community-web/notify_message/notify_message.test.js +0 -5
- package/dist/esm/community-web/post/post.test.js +0 -9
- package/dist/esm/community-web/search/search.test.js +0 -6
- package/dist/esm/community-web/short_url/decompress.test.js +0 -4
- package/dist/esm/community-web/short_url/shortUrl.test.js +0 -4
- package/dist/esm/community-web/smart_contract/list.test.js +0 -4
- package/dist/esm/community-web/student/block_record/block_record_list.test.js +0 -4
- package/dist/esm/community-web/student/block_record/block_record_status.test.js +0 -8
- package/dist/esm/community-web/student/block_record/detail.test.js +0 -4
- package/dist/esm/community-web/student/following/page.test.js +0 -6
- package/dist/esm/community-web/students/creator_score.test.js +0 -4
- package/dist/esm/community-web/students/last_active_at.test.js +0 -6
- package/dist/esm/community-web/students/list.test.js +0 -7
- package/dist/esm/community-web/students/list_sessions.test.js +0 -4
- package/dist/esm/community-web/students/profile.test.js +0 -6
- package/dist/esm/community-web/students/reputation_score_log/reputation_score_log.test.js +0 -4
- package/dist/esm/community-web/students/self/self_detail.test.js +0 -4
- package/dist/esm/community-web/students/stats.test.js +0 -7
- package/dist/esm/community-web/students/update.test.js +0 -4
- package/dist/esm/community-web/study-community/cloud_variable/create.test.js +0 -4
- package/dist/esm/community-web/study-community/comment/delete.test.js +0 -4
- package/dist/esm/community-web/study-community/comment/fold.test.js +0 -4
- package/dist/esm/community-web/study-community/comment/reset_weight.test.js +0 -4
- package/dist/esm/community-web/study-community/comment/top.test.js +0 -4
- package/dist/esm/community-web/study-community/member/member_detail.test.js +0 -4
- package/dist/esm/community-web/study-community/spread_feed/unread/spread_feed_unread_count.test.js +0 -5
- package/dist/esm/community-web/study-trade/trade/donate.test.js +0 -4
- package/dist/esm/community-web/subject_area/subject_area_page.test.js +0 -5
- package/dist/esm/community-web/subject_area/subject_area_page_by_channel.test.js +0 -5
- package/dist/esm/community-web/task/task_award.test.js +0 -5
- package/dist/esm/community-web/task/task_mine.test.js +0 -4
- package/dist/esm/community-web/typical_project/page.test.js +0 -12
- package/dist/esm/community-web/typical_project/student/unread_count.test.js +0 -4
- package/dist/esm/community-web/user-card/user_card_detail.test.js +0 -6
- package/dist/esm/community-web/user_label/user_label_list.test.js +0 -5
- package/dist/esm/community-web/user_package/status.test.js +0 -4
- package/dist/esm/community-web/user_package/user_product.test.js +0 -9
- package/dist/esm/community-web-cloud-database/cloud_variable/save.test.js +0 -13
- package/dist/esm/coverage.test.js +0 -5
- package/dist/esm/gandi-main/bulletins/detail.test.js +0 -17
- package/dist/esm/gandi-main/bulletins/page.test.js +0 -6
- package/dist/esm/gandi-main/creation/leaderboards/{oid}/records.test.js +0 -11
- package/dist/esm/gandi-main/timestamp/current.test.js +0 -6
- package/dist/esm/op-parent-api/captcha/check.test.js +0 -12
- package/dist/esm/op-parent-api/captcha/create.test.js +0 -13
- package/dist/esm/sso/web/auth/assistant/captcha/v2/create.test.js +0 -8
- package/dist/esm/sso/web/auth/auth.test.js +0 -15
- package/dist/esm/sso/web/auth/v3/login/by-phone.test.js +0 -7
- package/dist/node/bfs-web/extensions/{eid}/donate.test.js +0 -6
- package/dist/node/bfs-web/users/{oid}/extensions.test.js +0 -6
- package/dist/node/community-web/api/v1/short_code/shortcode.test.js +0 -7
- package/dist/node/community-web/approval/approval.test.js +0 -7
- package/dist/node/community-web/base/dateTime.test.js +0 -8
- package/dist/node/community-web/campaign_resource/detail.test.js +0 -12
- package/dist/node/community-web/ccw-main/status.test.js +0 -6
- package/dist/node/community-web/check_in_record/check_in_record.test.js +0 -10
- package/dist/node/community-web/cloud_asset/search.test.js +0 -8
- package/dist/node/community-web/cloud_asset/user/privacy.test.js +0 -6
- package/dist/node/community-web/comment/create.test.js +0 -15
- package/dist/node/community-web/comment/like_record/create.test.js +0 -6
- package/dist/node/community-web/comment/page.test.js +0 -17
- package/dist/node/community-web/comment/page_by_topic.test.js +0 -15
- package/dist/node/community-web/comment/reply.test.js +0 -6
- package/dist/node/community-web/config/detail.test.js +0 -11
- package/dist/node/community-web/creation/detail.test.js +0 -20
- package/dist/node/community-web/creation/excellent/list.test.js +0 -12
- package/dist/node/community-web/creation/introduction/detail.test.js +0 -19
- package/dist/node/community-web/creation/like/detail.test.js +0 -21
- package/dist/node/community-web/creation/loading/tips.test.js +0 -10
- package/dist/node/community-web/creation/own/page.test.js +0 -6
- package/dist/node/community-web/creation/page.test.js +0 -18
- package/dist/node/community-web/creation/page_by_student.test.js +0 -22
- package/dist/node/community-web/creation/potential/list.test.js +0 -12
- package/dist/node/community-web/creation/recommend.test.js +0 -12
- package/dist/node/community-web/creation/search/page.test.js +0 -7
- package/dist/node/community-web/creation/smart_contract/split_rule/create.test.js +0 -6
- package/dist/node/community-web/creation/smart_contract/split_rule/detail.test.js +0 -6
- package/dist/node/community-web/creation/student/detail.test.js +0 -19
- package/dist/node/community-web/creation/submit.test.js +0 -34
- package/dist/node/community-web/creation/tag/list.test.js +0 -12
- package/dist/node/community-web/creation/team_member/list.test.js +0 -6
- package/dist/node/community-web/creation/team_member/produce_ticket.test.js +0 -6
- package/dist/node/community-web/creation/teamwork_log/page.test.js +0 -6
- package/dist/node/community-web/creation/update.test.js +0 -6
- package/dist/node/community-web/creation_activity_stats/list.test.js +0 -7
- package/dist/node/community-web/creation_attribute/detail.test.js +0 -12
- package/dist/node/community-web/creation_donated_record/ranking_list.test.js +0 -14
- package/dist/node/community-web/creation_favorite/detail.test.js +0 -7
- package/dist/node/community-web/creation_recommend_position/list.test.js +0 -7
- package/dist/node/community-web/creation_release/code_profiling/detail.test.js +0 -7
- package/dist/node/community-web/creation_release/page.test.js +0 -14
- package/dist/node/community-web/creation_screenshot/page.test.js +0 -13
- package/dist/node/community-web/creation_stats/view.test.js +0 -8
- package/dist/node/community-web/currency/account/personal.test.js +0 -6
- package/dist/node/community-web/emoji/all.test.js +0 -13
- package/dist/node/community-web/emoji/category/list.test.js +0 -11
- package/dist/node/community-web/emoji/page.test.js +0 -14
- package/dist/node/community-web/event.test.js +0 -7
- package/dist/node/community-web/great_creation/update.test.js +0 -6
- package/dist/node/community-web/hash_tag/hash_tag_detail.test.js +0 -11
- package/dist/node/community-web/hash_tag/managed/managed_list.test.js +0 -12
- package/dist/node/community-web/hash_tag/recommend/list.test.js +0 -6
- package/dist/node/community-web/hash_tag_creation/hash_tag_creation_list_relation.test.js +0 -6
- package/dist/node/community-web/hash_tag_creation/hash_tag_creation_mine.test.js +0 -6
- package/dist/node/community-web/hash_tag_creation/list_relation.test.js +0 -7
- package/dist/node/community-web/hash_tag_favorite/hash_tag_favorite_detail.test.js +0 -6
- package/dist/node/community-web/health/check.test.js +0 -12
- package/dist/node/community-web/historical_team_member/page.test.js +0 -14
- package/dist/node/community-web/leaflets/item/list.test.js +0 -7
- package/dist/node/community-web/locked_user/detail.test.js +0 -8
- package/dist/node/community-web/muted_user/detail.test.js +0 -8
- package/dist/node/community-web/notification/page.test.js +0 -6
- package/dist/node/community-web/notification/stats/v2.test.js +0 -6
- package/dist/node/community-web/notify_message/notify_message.test.js +0 -7
- package/dist/node/community-web/post/post.test.js +0 -11
- package/dist/node/community-web/search/search.test.js +0 -8
- package/dist/node/community-web/short_url/decompress.test.js +0 -6
- package/dist/node/community-web/short_url/shortUrl.test.js +0 -6
- package/dist/node/community-web/smart_contract/list.test.js +0 -6
- package/dist/node/community-web/student/block_record/block_record_list.test.js +0 -6
- package/dist/node/community-web/student/block_record/block_record_status.test.js +0 -10
- package/dist/node/community-web/student/block_record/detail.test.js +0 -6
- package/dist/node/community-web/student/following/page.test.js +0 -8
- package/dist/node/community-web/students/creator_score.test.js +0 -6
- package/dist/node/community-web/students/last_active_at.test.js +0 -8
- package/dist/node/community-web/students/list.test.js +0 -9
- package/dist/node/community-web/students/list_sessions.test.js +0 -6
- package/dist/node/community-web/students/profile.test.js +0 -8
- package/dist/node/community-web/students/reputation_score_log/reputation_score_log.test.js +0 -6
- package/dist/node/community-web/students/self/self_detail.test.js +0 -6
- package/dist/node/community-web/students/stats.test.js +0 -9
- package/dist/node/community-web/students/update.test.js +0 -6
- package/dist/node/community-web/study-community/cloud_variable/create.test.js +0 -6
- package/dist/node/community-web/study-community/comment/delete.test.js +0 -6
- package/dist/node/community-web/study-community/comment/fold.test.js +0 -6
- package/dist/node/community-web/study-community/comment/reset_weight.test.js +0 -6
- package/dist/node/community-web/study-community/comment/top.test.js +0 -6
- package/dist/node/community-web/study-community/member/member_detail.test.js +0 -6
- package/dist/node/community-web/study-community/spread_feed/unread/spread_feed_unread_count.test.js +0 -7
- package/dist/node/community-web/study-trade/trade/donate.test.js +0 -6
- package/dist/node/community-web/subject_area/subject_area_page.test.js +0 -7
- package/dist/node/community-web/subject_area/subject_area_page_by_channel.test.js +0 -7
- package/dist/node/community-web/task/task_award.test.js +0 -7
- package/dist/node/community-web/task/task_mine.test.js +0 -6
- package/dist/node/community-web/typical_project/page.test.js +0 -14
- package/dist/node/community-web/typical_project/student/unread_count.test.js +0 -6
- package/dist/node/community-web/user-card/user_card_detail.test.js +0 -8
- package/dist/node/community-web/user_label/user_label_list.test.js +0 -7
- package/dist/node/community-web/user_package/status.test.js +0 -6
- package/dist/node/community-web/user_package/user_product.test.js +0 -11
- package/dist/node/community-web-cloud-database/cloud_variable/save.test.js +0 -15
- package/dist/node/coverage.test.js +0 -7
- package/dist/node/gandi-main/bulletins/detail.test.js +0 -19
- package/dist/node/gandi-main/bulletins/page.test.js +0 -8
- package/dist/node/gandi-main/creation/leaderboards/{oid}/records.test.js +0 -13
- package/dist/node/gandi-main/timestamp/current.test.js +0 -8
- package/dist/node/op-parent-api/captcha/check.test.js +0 -14
- package/dist/node/op-parent-api/captcha/create.test.js +0 -15
- package/dist/node/sso/web/auth/assistant/captcha/v2/create.test.js +0 -10
- package/dist/node/sso/web/auth/auth.test.js +0 -17
- package/dist/node/sso/web/auth/v3/login/by-phone.test.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/historical_team_member/page";
|
|
4
4
|
export type Req = {
|
|
5
5
|
creationOid: MongoDBId;
|
|
@@ -9,6 +9,7 @@ import { searchCloudAssets } from "./cloud_asset/search";
|
|
|
9
9
|
import { getCommentReplies } from "./comment/page";
|
|
10
10
|
import { getCommentsByTopic } from "./comment/page_by_topic";
|
|
11
11
|
import { getConfigDetail } from "./config/detail";
|
|
12
|
+
import { queryMallProducts } from "./ccw-mall/ccw/product/fe/query";
|
|
12
13
|
import { getCreationDetail } from "./creation/detail";
|
|
13
14
|
import { getExcellentCreations } from "./creation/excellent/list";
|
|
14
15
|
import { getCreationIntroduction } from "./creation/introduction/detail";
|
|
@@ -96,11 +97,18 @@ import { donateTrade } from "./study-trade/trade/donate";
|
|
|
96
97
|
import { getUserProductsPage } from "./user_package/user_product";
|
|
97
98
|
import { setUserProductStatus } from "./user_package/status";
|
|
98
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";
|
|
99
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";
|
|
100
107
|
export declare const communityWeb: {
|
|
101
108
|
acceptAward: typeof acceptAward;
|
|
102
109
|
donateTrade: typeof donateTrade;
|
|
103
110
|
encodeShortCode: typeof encodeShortCode;
|
|
111
|
+
executeSmartContract: typeof executeSmartContract;
|
|
104
112
|
createCloudVariable: typeof createCloudVariable;
|
|
105
113
|
createComment: typeof createComment;
|
|
106
114
|
createShortUrl: typeof createShortUrl;
|
|
@@ -108,6 +116,7 @@ export declare const communityWeb: {
|
|
|
108
116
|
decompressShortUrl: typeof decompressShortUrl;
|
|
109
117
|
deleteComment: typeof deleteComment;
|
|
110
118
|
foldComment: typeof foldComment;
|
|
119
|
+
followCreator: typeof followCreator;
|
|
111
120
|
getApprovalTags: typeof getApprovalTags;
|
|
112
121
|
getCampaignResources: typeof getCampaignResources;
|
|
113
122
|
getCcwMainStatus: typeof getCCWMainStatus;
|
|
@@ -121,6 +130,7 @@ export declare const communityWeb: {
|
|
|
121
130
|
getCreationDetail: typeof getCreationDetail;
|
|
122
131
|
getCreationFavoriteDetail: typeof getCreationFavoriteDetail;
|
|
123
132
|
getCreationIntroduction: typeof getCreationIntroduction;
|
|
133
|
+
getConnectCommunityCreationLikeStatus: typeof getConnectCommunityCreationLikeStatus;
|
|
124
134
|
getCreationRecommendPositionList: typeof getCreationRecommendPositionList;
|
|
125
135
|
getCreationReleasePage: typeof getCreationReleasePage;
|
|
126
136
|
getCreationScreenshotPage: typeof getCreationScreenshotPage;
|
|
@@ -129,6 +139,7 @@ export declare const communityWeb: {
|
|
|
129
139
|
getCreatorScore: typeof getCreatorScore;
|
|
130
140
|
getDonatedRecordRanking: typeof getDonatedRecordRanking;
|
|
131
141
|
getExcellentCreations: typeof getExcellentCreations;
|
|
142
|
+
getConnectCommunityFollowingStatus: typeof getConnectCommunityFollowingStatus;
|
|
132
143
|
getEmojiCategoryList: typeof getEmojiCategoryList;
|
|
133
144
|
getEmojiPage: typeof getEmojiPage;
|
|
134
145
|
getAllEmojis: typeof getAllEmojis;
|
|
@@ -157,6 +168,8 @@ export declare const communityWeb: {
|
|
|
157
168
|
getRemixedCreationPage: typeof getRemixedCreationPage;
|
|
158
169
|
getReputationScoreLogPage: typeof getReputationScoreLog;
|
|
159
170
|
getSearchHotWords: typeof getSearchHotWords;
|
|
171
|
+
getSmartContractAccount: typeof getSmartContractAccount;
|
|
172
|
+
getSmartContractDetail: typeof getSmartContractDetail;
|
|
160
173
|
getSmartContractList: typeof getSmartContractList;
|
|
161
174
|
getSplitRuleDetail: typeof getSplitRuleDetail;
|
|
162
175
|
getSpreadFeedUnreadCount: typeof getSpreadFeedUnreadCount;
|
|
@@ -182,6 +195,7 @@ export declare const communityWeb: {
|
|
|
182
195
|
getUserCardDetail: typeof getUserCardDetail;
|
|
183
196
|
getUserLabelList: typeof getUserLabelList;
|
|
184
197
|
getUserProductsPage: typeof getUserProductsPage;
|
|
198
|
+
queryMallProducts: typeof queryMallProducts;
|
|
185
199
|
getCreationsByStudent: typeof getCreationsByStudent;
|
|
186
200
|
insertCheckInRecord: typeof insertCheckInRecord;
|
|
187
201
|
likeComment: typeof likeComment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountTypes } from "
|
|
2
|
-
import { MongoDBId } from "
|
|
1
|
+
import { AccountTypes } from "../../types/account";
|
|
2
|
+
import { MongoDBId } from "../../types/api";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/locked_user/detail";
|
|
4
4
|
export type Req = {
|
|
5
5
|
accountOid: MongoDBId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PagesRes, PageArgs } from "
|
|
2
|
-
import { NotificationGroup, Notification } from "
|
|
1
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
2
|
+
import { NotificationGroup, Notification } from "../../types/notification";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/notification/page";
|
|
4
4
|
export type Req = {
|
|
5
5
|
notifyGroup: NotificationGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
2
|
export declare const url = "https://community-web.ccw.site/post/detail";
|
|
3
3
|
export type PostTag = {
|
|
4
4
|
name: string;
|
|
@@ -31,7 +31,7 @@ export type Res = {
|
|
|
31
31
|
oid: MongoDBId;
|
|
32
32
|
pageView: number;
|
|
33
33
|
publishedAt: number;
|
|
34
|
-
rank:
|
|
34
|
+
rank: "EXCELLENT" | "ORDINARY";
|
|
35
35
|
rankUpdatedAt: null | number;
|
|
36
36
|
reviewedAt: number;
|
|
37
37
|
slug: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
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>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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>;
|
|
@@ -0,0 +1,25 @@
|
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { AccountTypes } from "
|
|
2
|
-
import { MongoDBId } from "
|
|
1
|
+
import { AccountTypes } from "../../../types/account";
|
|
2
|
+
import { MongoDBId } from "../../../types/api";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/student/block_record/detail";
|
|
4
4
|
/**
|
|
5
5
|
* 用户是否在我的黑名单中
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
1
|
+
import { MongoDBId } from "../../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../../types/pages";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/student/block_record/list";
|
|
4
4
|
export type BlockRecord = {
|
|
5
5
|
createdAt: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
3
|
-
import { StudentSimple } from "
|
|
1
|
+
import { MongoDBId } from "../../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../../types/pages";
|
|
3
|
+
import { StudentSimple } from "../../../types/userData";
|
|
4
4
|
export declare const url = "https://community-web.ccw.site/student/following/page";
|
|
5
5
|
export type Req = {
|
|
6
6
|
studentOid: MongoDBId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { StudentListItem } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
|
+
import { StudentListItem } from "../../types/userData";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/students/list";
|
|
4
4
|
export type Req = {
|
|
5
5
|
studentOids: MongoDBId[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PagesRes, PageArgs } from "
|
|
2
|
-
import { StudentSession, SessionArea } from "
|
|
1
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
2
|
+
import { StudentSession, SessionArea } from "../../types/session";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/students/list_sessions";
|
|
4
4
|
export type Req = {};
|
|
5
5
|
export type Res = PagesRes<StudentSession>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { StudentProfile } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
|
+
import { StudentProfile } from "../../types/userData";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/students/profile";
|
|
4
4
|
export type Req = {
|
|
5
5
|
studentOid: MongoDBId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PagesRes, PageArgs } from "
|
|
2
|
-
import { ReputationScoreLog } from "
|
|
1
|
+
import { PagesRes, PageArgs } from "../../../types/pages";
|
|
2
|
+
import { ReputationScoreLog } from "../../../types/userData";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/students/reputation_score_log/page";
|
|
4
4
|
export type Req = {};
|
|
5
5
|
export type Res = PagesRes<ReputationScoreLog>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProfileExtraInfo, ParentInfo, CurrentParent, InfoModifyDate, StudentSelfDetailFields, StudentSelfDetail } from "
|
|
1
|
+
import { ProfileExtraInfo, ParentInfo, CurrentParent, InfoModifyDate, StudentSelfDetailFields, StudentSelfDetail } from "../../../types/userData";
|
|
2
2
|
export declare const url = "https://community-web.ccw.site/students/self/detail";
|
|
3
3
|
export type StudentExtraInfo = ProfileExtraInfo;
|
|
4
4
|
export type Req = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { StudentFollowerStats } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
|
+
import { StudentFollowerStats } from "../../types/userData";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/students/stats";
|
|
4
4
|
export type Req = {
|
|
5
5
|
studentOid: MongoDBId;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MongoDBId } from "../../../types/api";
|
|
2
|
+
export declare const url = "https://community-web.ccw.site/study-community/following/follow";
|
|
3
|
+
export type Req = {
|
|
4
|
+
followingOid: MongoDBId;
|
|
5
|
+
};
|
|
6
|
+
export type Res = "FOLLOWED";
|
|
7
|
+
/**
|
|
8
|
+
* 关注创作者
|
|
9
|
+
* @param {MongoDBId} followingOid 要关注的用户 OID
|
|
10
|
+
* @returns {Promise<Res>} "FOLLOWED" 表示关注成功
|
|
11
|
+
*/
|
|
12
|
+
export declare function followCreator(followingOid: MongoDBId): Promise<Res>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
2
|
-
import { AccountTypes } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../../types/api";
|
|
2
|
+
import { AccountTypes } from "../../../types/account";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/study-community/member/detail";
|
|
4
4
|
export type Req = {};
|
|
5
5
|
export type Res = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/subject_area/page";
|
|
4
4
|
export type SubjectAreaModuleComponent = {
|
|
5
5
|
data: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/subject_area/page_by_channel";
|
|
4
4
|
export type SubjectAreaModuleComponent = {
|
|
5
5
|
data: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/typical_project/page";
|
|
4
4
|
export type TypicalProjectItem = {
|
|
5
5
|
cover: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
2
|
-
import { CreationMinimal } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
|
+
import { CreationMinimal } from "../../types/creation";
|
|
3
3
|
export declare const url = "https://community-web.ccw.site/user-card/detail";
|
|
4
4
|
export type UserCardApprovalTag = {
|
|
5
5
|
iconLink: CNameOssUrl;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MongoDBId, CNameOssUrl } from "
|
|
2
|
-
import { PagesRes, PageArgs } from "
|
|
3
|
-
import { AccountTypes } from "
|
|
1
|
+
import { MongoDBId, CNameOssUrl } from "../../types/api";
|
|
2
|
+
import { PagesRes, PageArgs } from "../../types/pages";
|
|
3
|
+
import { AccountTypes } from "../../types/account";
|
|
4
4
|
export declare const url = "https://community-web.ccw.site/user_package/user_product";
|
|
5
5
|
export type Req = {
|
|
6
6
|
page: number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const url = "https://community-web-cloud-database.ccw.site/cloud_variable/detail/v2";
|
|
2
|
+
export type Req = {
|
|
3
|
+
accessKey: string;
|
|
4
|
+
primaryKey: string;
|
|
5
|
+
secondaryKey: string;
|
|
6
|
+
filterKeys: string[];
|
|
7
|
+
};
|
|
8
|
+
export type Res = {};
|
|
9
|
+
/**
|
|
10
|
+
* 查询云变量详情 V2
|
|
11
|
+
* @param {string} accessKey 访问密钥(如作品 OID)
|
|
12
|
+
* @param {string} primaryKey 主键(如 `${projectId}-u`)
|
|
13
|
+
* @param {string} secondaryKey 次级键
|
|
14
|
+
* @param {string[]} filterKeys 过滤的变量名列表
|
|
15
|
+
* @returns {Promise<Res>} 云变量详情
|
|
16
|
+
*/
|
|
17
|
+
export declare function getCloudVariableDetailV2(accessKey: string, primaryKey: string, secondaryKey: string, filterKeys: string[]): Promise<Res>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
1
|
+
import { MongoDBId } from "../../types/api";
|
|
2
2
|
export declare const url = "https://community-web-cloud-database.ccw.site/cloud_variable/save";
|
|
3
3
|
export type SaveCloudVariableReq<T extends Record<string, unknown>> = {
|
|
4
4
|
primaryKey: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { saveProjectCloudVariable, saveUserCloudVariable } from "./cloud_variable/save";
|
|
2
|
+
import { getCloudVariableDetailV2 } from "./cloud_variable/detail/v2";
|
|
2
3
|
export declare const communityWebCloudDatabase: {
|
|
3
4
|
saveProjectCloudVariable: typeof saveProjectCloudVariable;
|
|
4
5
|
saveUserCloudVariable: typeof saveUserCloudVariable;
|
|
6
|
+
getCloudVariableDetailV2: typeof getCloudVariableDetailV2;
|
|
5
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CNameOssUrl, MongoDBId } from "
|
|
2
|
-
import { SortType } from "
|
|
1
|
+
import { CNameOssUrl, MongoDBId } from "../../../../types/api";
|
|
2
|
+
import { SortType } from "../../../../types/pages";
|
|
3
3
|
export declare const url = "https://gandi-main.ccw.site/creation/leaderboards";
|
|
4
4
|
export type SubmitReq = {
|
|
5
5
|
ext: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const _default: {
|
|
|
18
18
|
acceptAward: typeof import("./community-web/task/award").acceptAward;
|
|
19
19
|
donateTrade: typeof import("./community-web/study-trade/trade/donate").donateTrade;
|
|
20
20
|
encodeShortCode: typeof import("./community-web/api/v1/short_code/encode").encodeShortCode;
|
|
21
|
+
executeSmartContract: typeof import("./community-web/smart_contract/execute").executeSmartContract;
|
|
21
22
|
createCloudVariable: typeof import("./community-web/study-community/cloud_variable/create").createCloudVariable;
|
|
22
23
|
createComment: typeof import("./community-web/comment/create").createComment;
|
|
23
24
|
createShortUrl: typeof import("./community-web/short_url/create").createShortUrl;
|
|
@@ -25,6 +26,7 @@ declare const _default: {
|
|
|
25
26
|
decompressShortUrl: typeof import("./community-web/short_url/decompress").decompressShortUrl;
|
|
26
27
|
deleteComment: typeof import("./community-web/study-community/comment/delete").deleteComment;
|
|
27
28
|
foldComment: typeof import("./community-web/study-community/comment/fold").foldComment;
|
|
29
|
+
followCreator: typeof import("./community-web/study-community/following/follow").followCreator;
|
|
28
30
|
getApprovalTags: typeof import("./community-web/approval/list").getApprovalTags;
|
|
29
31
|
getCampaignResources: typeof import("./community-web/campaign_resource/detail").getCampaignResources;
|
|
30
32
|
getCcwMainStatus: typeof import("./community-web/ccw-main/status").getCCWMainStatus;
|
|
@@ -38,6 +40,7 @@ declare const _default: {
|
|
|
38
40
|
getCreationDetail: typeof import("./community-web/creation/detail").getCreationDetail;
|
|
39
41
|
getCreationFavoriteDetail: typeof import("./community-web/creation_favorite/detail").getCreationFavoriteDetail;
|
|
40
42
|
getCreationIntroduction: typeof import("./community-web/creation/introduction/detail").getCreationIntroduction;
|
|
43
|
+
getConnectCommunityCreationLikeStatus: typeof import("./community-web/extensions/creation-like/detail").getConnectCommunityCreationLikeStatus;
|
|
41
44
|
getCreationRecommendPositionList: typeof import("./community-web/creation_recommend_position/list").getCreationRecommendPositionList;
|
|
42
45
|
getCreationReleasePage: typeof import("./community-web/creation_release/page").getCreationReleasePage;
|
|
43
46
|
getCreationScreenshotPage: typeof import("./community-web/creation_screenshot/page").getCreationScreenshotPage;
|
|
@@ -46,6 +49,7 @@ declare const _default: {
|
|
|
46
49
|
getCreatorScore: typeof import("./community-web/students/creator_score").getCreatorScore;
|
|
47
50
|
getDonatedRecordRanking: typeof import("./community-web/creation_donated_record/ranking_list").getDonatedRecordRanking;
|
|
48
51
|
getExcellentCreations: typeof import("./community-web/creation/excellent/list").getExcellentCreations;
|
|
52
|
+
getConnectCommunityFollowingStatus: typeof import("./community-web/extensions/following/status").getConnectCommunityFollowingStatus;
|
|
49
53
|
getEmojiCategoryList: typeof import("./community-web/emoji/category/list").getEmojiCategoryList;
|
|
50
54
|
getEmojiPage: typeof import("./community-web/emoji/page").getEmojiPage;
|
|
51
55
|
getAllEmojis: typeof import("./community-web/emoji/all").getAllEmojis;
|
|
@@ -74,6 +78,8 @@ declare const _default: {
|
|
|
74
78
|
getRemixedCreationPage: typeof import("./community-web/creation/page").getRemixedCreationPage;
|
|
75
79
|
getReputationScoreLogPage: typeof import("./community-web/students/reputation_score_log/page").getReputationScoreLog;
|
|
76
80
|
getSearchHotWords: typeof import("./community-web/search/hot_words").getSearchHotWords;
|
|
81
|
+
getSmartContractAccount: typeof import("./community-web/smart_contract/account").getSmartContractAccount;
|
|
82
|
+
getSmartContractDetail: typeof import("./community-web/smart_contract/detail").getSmartContractDetail;
|
|
77
83
|
getSmartContractList: typeof import("./community-web/smart_contract/list").getSmartContractList;
|
|
78
84
|
getSplitRuleDetail: typeof import("./community-web/creation/smart_contract/split_rule/detail").getSplitRuleDetail;
|
|
79
85
|
getSpreadFeedUnreadCount: typeof import("./community-web/study-community/spread_feed/unread/count").getSpreadFeedUnreadCount;
|
|
@@ -99,6 +105,7 @@ declare const _default: {
|
|
|
99
105
|
getUserCardDetail: typeof import("./community-web/user-card/detail").getUserCardDetail;
|
|
100
106
|
getUserLabelList: typeof import("./community-web/user_label/list").getUserLabelList;
|
|
101
107
|
getUserProductsPage: typeof import("./community-web/user_package/user_product").getUserProductsPage;
|
|
108
|
+
queryMallProducts: typeof import("./community-web/ccw-mall/ccw/product/fe/query").queryMallProducts;
|
|
102
109
|
getCreationsByStudent: typeof import("./community-web/creation/page_by_student").getCreationsByStudent;
|
|
103
110
|
insertCheckInRecord: typeof import("./community-web/check_in_record/insert").insertCheckInRecord;
|
|
104
111
|
likeComment: typeof import("./community-web/comment/like_record/create").likeComment;
|
|
@@ -129,6 +136,7 @@ declare const _default: {
|
|
|
129
136
|
communityWebCloudDatabase: {
|
|
130
137
|
saveProjectCloudVariable: typeof import("./community-web-cloud-database/cloud_variable/save").saveProjectCloudVariable;
|
|
131
138
|
saveUserCloudVariable: typeof import("./community-web-cloud-database/cloud_variable/save").saveUserCloudVariable;
|
|
139
|
+
getCloudVariableDetailV2: typeof import("./community-web-cloud-database/cloud_variable/detail/v2").getCloudVariableDetailV2;
|
|
132
140
|
};
|
|
133
141
|
opParentApi: {
|
|
134
142
|
createCaptcha: typeof import("./op-parent-api/captcha/create").createCaptcha;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { LoginSession } from "
|
|
1
|
+
import { MongoDBId } from "../../../types/api";
|
|
2
|
+
import { LoginSession } from "../../../types/session";
|
|
3
3
|
export declare const url = "https://sso.ccw.site/web/auth/login-by-password";
|
|
4
4
|
export type Req = {
|
|
5
5
|
clientCode: "STUDY_COMMUNITY";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoDBId } from "
|
|
2
|
-
import { LoginSession } from "
|
|
1
|
+
import { MongoDBId } from "../../../../../types/api";
|
|
2
|
+
import { LoginSession } from "../../../../../types/session";
|
|
3
3
|
export declare const url = "https://sso.ccw.site/web/auth/v3/login/by_phone";
|
|
4
4
|
export type LoginClientCode = "STUDY_COMMUNITY";
|
|
5
5
|
export type LoginScene = "loginbyPhone";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AccountTypes = "STUDENT";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 十六进制秒级时间戳
|
|
3
|
+
* @example const date = new Date(Number.parseInt(t, 16) * 1000);
|
|
4
|
+
*/
|
|
5
|
+
export type HexSecTimeStamp = string;
|
|
6
|
+
/**
|
|
7
|
+
* MongoDB ObjectID
|
|
8
|
+
* @example
|
|
9
|
+
* const t = id.subString(0,8);
|
|
10
|
+
* const date = new Date(Number.parseInt(t, 16) * 1000);
|
|
11
|
+
*/
|
|
12
|
+
export type MongoDBId = `${HexSecTimeStamp}${string}`;
|
|
13
|
+
export type ApiResponse<T> = {
|
|
14
|
+
body: T;
|
|
15
|
+
code: string;
|
|
16
|
+
msg: string;
|
|
17
|
+
status: number;
|
|
18
|
+
};
|
|
19
|
+
export type CCWdomain = "xiguacity.cn" | "ccw.site";
|
|
20
|
+
export type CNameOssUrl = `https://m.${CCWdomain}/${string}`;
|
|
21
|
+
export type LatestCNameOssUrl = `https://m.${CCWdomain}/${string}?t=${number}`;
|
|
22
|
+
export type OriginOssUrl = `https://zhishi.oss-cn-beijing.aliyuncs.com/${string}`;
|
|
23
|
+
/**
|
|
24
|
+
* UUID 类型体操:匹配 8-4-4-4-12 的五段式结构
|
|
25
|
+
* @example "6839840e-aa50-47d4-8028-ae932bddfee7"
|
|
26
|
+
*/
|
|
27
|
+
export type UUID = `${string}-${string}-${string}-${string}-${string}`;
|