@ccw-api/api 0.11.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/README.md +58 -10
- package/dist/account-_e06LVHE.d.cts +6 -0
- package/dist/account-_e06LVHE.d.ts +6 -0
- package/dist/{api-eD9o12yg.d.cts → api-DK7ohLa7.d.cts} +9 -18
- package/dist/{api-eD9o12yg.d.ts → api-DK7ohLa7.d.ts} +9 -18
- package/dist/bfs-web-BtWTiGvL.cjs +1 -0
- package/dist/bfs-web-xFSpR-s6.js +1 -0
- package/dist/bfs.cjs +1 -0
- package/dist/bfs.d.cts +2 -0
- package/dist/bfs.d.ts +2 -0
- package/dist/bfs.js +1 -0
- package/dist/community-web-B7SGi5-y.cjs +1 -0
- package/dist/community-web-Dzl0mbbh.js +1 -0
- package/dist/community-web-cloud-database-BkH9wp1u.cjs +1 -0
- package/dist/community-web-cloud-database-D9IZZIjN.js +1 -0
- package/dist/communityWeb.cjs +1 -0
- package/dist/communityWeb.d.cts +2 -0
- package/dist/communityWeb.d.ts +2 -0
- package/dist/communityWeb.js +1 -0
- package/dist/communityWebDB.cjs +1 -0
- package/dist/communityWebDB.d.cts +2 -0
- package/dist/communityWebDB.d.ts +2 -0
- package/dist/communityWebDB.js +1 -0
- package/dist/extensions-BhEKLZ5I.d.cts +617 -0
- package/dist/extensions-D1JeVkuw.d.ts +617 -0
- package/dist/gandi-main-Bdq3vj-l.js +1 -0
- package/dist/gandi-main-CVC31Jom.cjs +1 -0
- package/dist/gandiMain.cjs +1 -0
- package/dist/gandiMain.d.cts +2 -0
- package/dist/gandiMain.d.ts +2 -0
- package/dist/gandiMain.js +1 -0
- package/dist/index-B8SvUvok.d.ts +112 -0
- package/dist/{index-DHBvF_JC.d.ts → index-BVdJi7l7.d.ts} +12 -10
- package/dist/{index-Df4POgQq.d.ts → index-CDuyecw5.d.ts} +12 -10
- package/dist/index-CV03H74N.d.cts +2351 -0
- package/dist/index-CobjrinB.d.ts +2351 -0
- package/dist/index-CwWMFbgH.d.cts +112 -0
- package/dist/{index-BE998Kka.d.cts → index-DCDRwVC2.d.cts} +79 -74
- package/dist/{index-BDpiLiUN.d.ts → index-DXMyzE0v.d.ts} +79 -74
- package/dist/{index-DBnhnINQ.d.cts → index-IcG5LsGk.d.cts} +12 -10
- package/dist/{index-CTK9UFeW.d.cts → index-JnYvwWhY.d.cts} +33 -30
- package/dist/{index-CTK9UFeW.d.ts → index-JnYvwWhY.d.ts} +33 -30
- package/dist/{index-DcBdyIv0.d.cts → index-sOyHrix1.d.cts} +12 -10
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +167 -164
- package/dist/index.d.ts +167 -164
- package/dist/index.js +1 -2
- package/dist/op-parent-api-BC6-0rS8.js +1 -0
- package/dist/op-parent-api-BZbZzfJ6.cjs +1 -0
- package/dist/opParent.cjs +1 -0
- package/dist/opParent.d.cts +2 -0
- package/dist/opParent.d.ts +2 -0
- package/dist/opParent.js +1 -0
- package/dist/pages-K5jlky49.d.cts +42 -0
- package/dist/pages-K5jlky49.d.ts +42 -0
- package/dist/queryPages-CfywLB4S.cjs +1 -0
- package/dist/queryPages-Cj4eQL4Q.js +1 -0
- package/dist/request-CIq4GGVU.cjs +1 -0
- package/dist/request-CzgJtv9u.js +1 -0
- package/dist/session-Cw37kR-m.d.ts +43 -0
- package/dist/session-D8sffvmq.d.cts +43 -0
- package/dist/sso-C0ZWQvKo.cjs +1 -0
- package/dist/sso-DUoym0qZ.js +1 -0
- package/dist/sso.cjs +1 -0
- package/dist/sso.d.cts +2 -0
- package/dist/sso.d.ts +2 -0
- package/dist/sso.js +1 -0
- package/package.json +9 -9
- package/dist/account-Dk_iscrW.d.cts +0 -8
- package/dist/account-Dk_iscrW.d.ts +0 -8
- package/dist/bfs-web/index.cjs +0 -2
- package/dist/bfs-web/index.d.cts +0 -5
- package/dist/bfs-web/index.d.ts +0 -5
- package/dist/bfs-web/index.global.js +0 -29
- package/dist/bfs-web/index.js +0 -2
- package/dist/community-web/index.cjs +0 -2
- package/dist/community-web/index.d.cts +0 -6
- package/dist/community-web/index.d.ts +0 -6
- package/dist/community-web/index.global.js +0 -29
- package/dist/community-web/index.js +0 -2
- package/dist/community-web-cloud-database/index.cjs +0 -2
- package/dist/community-web-cloud-database/index.d.cts +0 -2
- package/dist/community-web-cloud-database/index.d.ts +0 -2
- package/dist/community-web-cloud-database/index.global.js +0 -29
- package/dist/community-web-cloud-database/index.js +0 -2
- package/dist/extensions-Bj9XMupR.d.cts +0 -662
- package/dist/extensions-zuu8XVBR.d.ts +0 -662
- package/dist/gandi-main/index.cjs +0 -2
- package/dist/gandi-main/index.d.cts +0 -3
- package/dist/gandi-main/index.d.ts +0 -3
- package/dist/gandi-main/index.global.js +0 -29
- package/dist/gandi-main/index.js +0 -2
- package/dist/index-BrxSkWbg.d.cts +0 -2289
- package/dist/index-CYQhPzUX.d.ts +0 -108
- package/dist/index-Ci0X9uqV.d.cts +0 -108
- package/dist/index-DBAUdwJo.d.ts +0 -2289
- package/dist/index.global.js +0 -29
- package/dist/op-parent-api/index.cjs +0 -2
- package/dist/op-parent-api/index.d.cts +0 -1
- package/dist/op-parent-api/index.d.ts +0 -1
- package/dist/op-parent-api/index.global.js +0 -29
- package/dist/op-parent-api/index.js +0 -2
- package/dist/pages-BgT6bhJd.d.cts +0 -46
- package/dist/pages-BgT6bhJd.d.ts +0 -46
- package/dist/session-Cq-kUclp.d.ts +0 -48
- package/dist/session-DGUV-m-G.d.cts +0 -48
- package/dist/setToken.cjs +0 -1
- package/dist/setToken.d.cts +0 -1
- package/dist/setToken.d.ts +0 -1
- package/dist/setToken.global.js +0 -29
- package/dist/setToken.js +0 -1
- package/dist/sso/index.cjs +0 -2
- package/dist/sso/index.d.cts +0 -4
- package/dist/sso/index.d.ts +0 -4
- package/dist/sso/index.global.js +0 -29
- package/dist/sso/index.js +0 -2
|
@@ -1,662 +0,0 @@
|
|
|
1
|
-
import { C as CNameOssUrl, M as MongoDBId } from './api-eD9o12yg.cjs';
|
|
2
|
-
import { A as AccountTypes } from './account-Dk_iscrW.cjs';
|
|
3
|
-
|
|
4
|
-
interface ApprovalTag<Tid = number, Tn = string> {
|
|
5
|
-
bizId: null;
|
|
6
|
-
bizType: null;
|
|
7
|
-
description: string;
|
|
8
|
-
/**
|
|
9
|
-
* 有时会包含tag的名称,如"Gandi开发者"
|
|
10
|
-
*/
|
|
11
|
-
iconLink: CNameOssUrl;
|
|
12
|
-
id: Tid;
|
|
13
|
-
/**
|
|
14
|
-
* 浮于iconLink之上的icon
|
|
15
|
-
*/
|
|
16
|
-
mediumImage: CNameOssUrl;
|
|
17
|
-
name: Tn;
|
|
18
|
-
prerequisite: string;
|
|
19
|
-
tag: null;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type approval_ApprovalTag<Tid = number, Tn = string> = ApprovalTag<Tid, Tn>;
|
|
23
|
-
declare namespace approval {
|
|
24
|
-
export type { approval_ApprovalTag as ApprovalTag };
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface BaseUser {
|
|
28
|
-
avatar: CNameOssUrl;
|
|
29
|
-
name: string;
|
|
30
|
-
picUrl: CNameOssUrl;
|
|
31
|
-
virtualValue: CNameOssUrl;
|
|
32
|
-
}
|
|
33
|
-
interface StudentSimple extends BaseUser {
|
|
34
|
-
bio: string;
|
|
35
|
-
oid: MongoDBId;
|
|
36
|
-
}
|
|
37
|
-
interface Student extends StudentSimple {
|
|
38
|
-
approvedContent: null | string;
|
|
39
|
-
approvedType: null | string;
|
|
40
|
-
commentCount: number;
|
|
41
|
-
creationCount: number;
|
|
42
|
-
favoriteCount: number;
|
|
43
|
-
followerCount: number;
|
|
44
|
-
followingCount: number;
|
|
45
|
-
followingStatus: "UNFOLLOWED" | "FOLLOWED";
|
|
46
|
-
isSelf: boolean;
|
|
47
|
-
likeCount: number;
|
|
48
|
-
remixedCount: number;
|
|
49
|
-
viewCount: number;
|
|
50
|
-
}
|
|
51
|
-
interface StudentOverview {
|
|
52
|
-
approvedContent: null | string;
|
|
53
|
-
approvedType: null | string;
|
|
54
|
-
avatar: CNameOssUrl;
|
|
55
|
-
bio: string;
|
|
56
|
-
commentCount: null | number;
|
|
57
|
-
creationCount: null | number;
|
|
58
|
-
favoriteCount: null | number;
|
|
59
|
-
followerCount: null | number;
|
|
60
|
-
followingCount: null | number;
|
|
61
|
-
followingStatus: null | "UNFOLLOWED" | "FOLLOWED" | "BOTH_FOLLOWED" | string;
|
|
62
|
-
isSelf: null | boolean;
|
|
63
|
-
likeCount: null | number;
|
|
64
|
-
name: string;
|
|
65
|
-
oid: MongoDBId;
|
|
66
|
-
picUrl: null | CNameOssUrl;
|
|
67
|
-
remixedCount: null | number;
|
|
68
|
-
viewCount: null | number;
|
|
69
|
-
virtualValue: null | CNameOssUrl;
|
|
70
|
-
}
|
|
71
|
-
interface OtherUser extends BaseUser {
|
|
72
|
-
accountOid: MongoDBId;
|
|
73
|
-
accountType: AccountTypes;
|
|
74
|
-
approvalTagRelations: ApprovalTag[];
|
|
75
|
-
createdAt: number;
|
|
76
|
-
currentCreationPlaytime: null;
|
|
77
|
-
ext: {};
|
|
78
|
-
hideGender: boolean;
|
|
79
|
-
id: number;
|
|
80
|
-
status: "NORMAL";
|
|
81
|
-
updatedAt: number;
|
|
82
|
-
virtualValue: CNameOssUrl;
|
|
83
|
-
}
|
|
84
|
-
type UserLabels = "POTENTIAL_CREATION";
|
|
85
|
-
interface ProfileExtraInfo {
|
|
86
|
-
hobbies: string;
|
|
87
|
-
learnedProgrammingLanguages: string;
|
|
88
|
-
programmingCapability: string;
|
|
89
|
-
selfIntroduction: string;
|
|
90
|
-
}
|
|
91
|
-
interface MemberArchive {
|
|
92
|
-
accountOid: null | MongoDBId;
|
|
93
|
-
defaultEditor: string;
|
|
94
|
-
greatCreationOid: MongoDBId;
|
|
95
|
-
homepageCover: CNameOssUrl;
|
|
96
|
-
}
|
|
97
|
-
interface ReputationScore {
|
|
98
|
-
rank: string;
|
|
99
|
-
score: number;
|
|
100
|
-
studentOid: MongoDBId;
|
|
101
|
-
}
|
|
102
|
-
interface ProfileStatistics {
|
|
103
|
-
badgesCount: null | number;
|
|
104
|
-
homeworkCount: number;
|
|
105
|
-
likeHomeworkCount: number;
|
|
106
|
-
}
|
|
107
|
-
interface ReputationScoreLog {
|
|
108
|
-
createdAt: number;
|
|
109
|
-
description: string;
|
|
110
|
-
id: number;
|
|
111
|
-
score: number;
|
|
112
|
-
studentOid: MongoDBId;
|
|
113
|
-
}
|
|
114
|
-
interface StudentProfile extends BaseUser {
|
|
115
|
-
bio: string;
|
|
116
|
-
birthday: number;
|
|
117
|
-
category: string;
|
|
118
|
-
commentCount: number;
|
|
119
|
-
extraInfo: ProfileExtraInfo;
|
|
120
|
-
gender: string;
|
|
121
|
-
hideGender: boolean;
|
|
122
|
-
identityAuthRank: string;
|
|
123
|
-
lastLoginAt: number;
|
|
124
|
-
memberArchive: MemberArchive;
|
|
125
|
-
regChannel: null | string;
|
|
126
|
-
reputationScore: ReputationScore;
|
|
127
|
-
statistics: ProfileStatistics;
|
|
128
|
-
studentCreatedDays: number;
|
|
129
|
-
studentNumber: string;
|
|
130
|
-
studentOid: MongoDBId;
|
|
131
|
-
}
|
|
132
|
-
interface ParentInfo {
|
|
133
|
-
acceptedCashInviteOnce: null | boolean;
|
|
134
|
-
alphaUser: null | boolean;
|
|
135
|
-
altName: null | string;
|
|
136
|
-
annualIncome: null | string;
|
|
137
|
-
archive: null | boolean;
|
|
138
|
-
authedTime: null | number;
|
|
139
|
-
avatar: null | CNameOssUrl;
|
|
140
|
-
bindPhone: string;
|
|
141
|
-
birthday: null | number;
|
|
142
|
-
cashInviteCreatedAt: null | number;
|
|
143
|
-
cashInviteRestartAt: null | number;
|
|
144
|
-
clazzDevice: null | string;
|
|
145
|
-
company: null | string;
|
|
146
|
-
countryCode: null | string;
|
|
147
|
-
createdAt: null | number;
|
|
148
|
-
degree: null | string;
|
|
149
|
-
distinctId: string;
|
|
150
|
-
divorced: null | boolean;
|
|
151
|
-
email: null | string;
|
|
152
|
-
ext: {};
|
|
153
|
-
followTeachers: object[];
|
|
154
|
-
fullName: null | string;
|
|
155
|
-
gender: null | string;
|
|
156
|
-
giftCardCampaign: null | string;
|
|
157
|
-
guestOid: null | MongoDBId;
|
|
158
|
-
idcard: null | string;
|
|
159
|
-
industry: null | string;
|
|
160
|
-
integer: null | number;
|
|
161
|
-
inviterableId: null | string;
|
|
162
|
-
inviterableType: null | string;
|
|
163
|
-
isEmployee: null | boolean;
|
|
164
|
-
jobPosition: null | string;
|
|
165
|
-
lastSubscribeAt: null | number;
|
|
166
|
-
mainContact: null | boolean;
|
|
167
|
-
name: null | string;
|
|
168
|
-
needSelectClazz: null | boolean;
|
|
169
|
-
oid: MongoDBId;
|
|
170
|
-
overseaExperience: null | boolean;
|
|
171
|
-
phoneAddr: null | string;
|
|
172
|
-
powerUser: null | boolean;
|
|
173
|
-
realName: null | string;
|
|
174
|
-
relationship: null | string;
|
|
175
|
-
remarkName: null | string;
|
|
176
|
-
rewardsCashesCount: null | number;
|
|
177
|
-
source: null | string;
|
|
178
|
-
sourceCategory: null | string;
|
|
179
|
-
sourceInfo: null | string;
|
|
180
|
-
status: null | string;
|
|
181
|
-
student: null | object;
|
|
182
|
-
studentOid: MongoDBId;
|
|
183
|
-
subscribe: null | boolean;
|
|
184
|
-
subscribeScene: null | string;
|
|
185
|
-
tags: null | string[];
|
|
186
|
-
telephone: string;
|
|
187
|
-
university: null | string;
|
|
188
|
-
updatedAt: null | number;
|
|
189
|
-
userTags: string[];
|
|
190
|
-
userType: null | string;
|
|
191
|
-
wechatAccount: null | string;
|
|
192
|
-
wechatCity: null | string;
|
|
193
|
-
wechatCountry: null | string;
|
|
194
|
-
wechatOpenid: null | string;
|
|
195
|
-
wechatProvince: null | string;
|
|
196
|
-
wechatUnionid: null | string;
|
|
197
|
-
wehubWxid: null | string;
|
|
198
|
-
wxid: null | string;
|
|
199
|
-
}
|
|
200
|
-
interface CurrentParent {
|
|
201
|
-
bindPhone: string;
|
|
202
|
-
qqNickname: string;
|
|
203
|
-
qqNum: null | string;
|
|
204
|
-
}
|
|
205
|
-
interface InfoModifyDate {
|
|
206
|
-
avatarModifiedAt: null | number;
|
|
207
|
-
nameModifiedAt: null | number;
|
|
208
|
-
}
|
|
209
|
-
type StudentSelfDetailFields = "abGroup" | "accountNumber" | "address" | "age" | "avatar" | "bio" | "birthday" | "city" | "commentCount" | "countryCode" | "createdAt" | "currentParent" | "email" | "extraInfo" | "fullName" | "gender" | "grade" | "hideGender" | "host" | "identity" | "identityAuthRank" | "identityType" | "informationModifyDate" | "lastLoginAt" | "name" | "oid" | "parents" | "picUrl" | "province" | "qq" | "reputationScore" | "school" | "studentNumber" | "updatedAt" | "virtualValue";
|
|
210
|
-
interface StudentSelfDetail {
|
|
211
|
-
abGroup: null | string;
|
|
212
|
-
accountNumber: string;
|
|
213
|
-
address: null | string;
|
|
214
|
-
addressCode: null | string;
|
|
215
|
-
age: number;
|
|
216
|
-
archive: null | boolean;
|
|
217
|
-
avatar: CNameOssUrl;
|
|
218
|
-
bio: string;
|
|
219
|
-
birthYear: null | number;
|
|
220
|
-
birthday: number;
|
|
221
|
-
category: null | string;
|
|
222
|
-
city: null | string;
|
|
223
|
-
commentCount: number;
|
|
224
|
-
contactPhone: null | string;
|
|
225
|
-
countryCode: null | string;
|
|
226
|
-
createdAt: number;
|
|
227
|
-
currentMajorClazzOid: null | MongoDBId;
|
|
228
|
-
currentParent: CurrentParent;
|
|
229
|
-
distinctId: null | string;
|
|
230
|
-
district: null | string;
|
|
231
|
-
email: null | string;
|
|
232
|
-
energy: null | number;
|
|
233
|
-
energyRegain: null | number;
|
|
234
|
-
examScore: null | number;
|
|
235
|
-
extraInfo: ProfileExtraInfo;
|
|
236
|
-
firstTime: null | boolean;
|
|
237
|
-
followingStatus: null | string;
|
|
238
|
-
fullName: string;
|
|
239
|
-
gender: string;
|
|
240
|
-
grade: number;
|
|
241
|
-
group: null | string;
|
|
242
|
-
guest: null | boolean;
|
|
243
|
-
guestNumber: null | string;
|
|
244
|
-
hideGender: boolean;
|
|
245
|
-
host: string;
|
|
246
|
-
identity: string;
|
|
247
|
-
identityAuthRank: string;
|
|
248
|
-
identityType: string;
|
|
249
|
-
informationModifyDate: InfoModifyDate;
|
|
250
|
-
keywords: string[];
|
|
251
|
-
lastLoginAt: null | number;
|
|
252
|
-
lastStudyAt: null | number;
|
|
253
|
-
lowAge: null | boolean;
|
|
254
|
-
midexamScore: null | number;
|
|
255
|
-
miniprojectFreeNum: null | number;
|
|
256
|
-
mpClicked: null | boolean;
|
|
257
|
-
mpShowedModal: null | boolean;
|
|
258
|
-
mpTutorial: null | string;
|
|
259
|
-
name: string;
|
|
260
|
-
newWorkbenchTutorial: null | boolean;
|
|
261
|
-
oid: MongoDBId;
|
|
262
|
-
orgId: null | string;
|
|
263
|
-
parents: ParentInfo[];
|
|
264
|
-
passwordDigest: null | string;
|
|
265
|
-
photo: null | string;
|
|
266
|
-
picUrl: CNameOssUrl;
|
|
267
|
-
province: null | string;
|
|
268
|
-
qq: string;
|
|
269
|
-
receiver: null | string;
|
|
270
|
-
regChannel: null | string;
|
|
271
|
-
remarkName: null | string;
|
|
272
|
-
reputationScore: ReputationScore;
|
|
273
|
-
role: null | string;
|
|
274
|
-
school: string;
|
|
275
|
-
showServiceTerm: null | boolean;
|
|
276
|
-
showTaskList: null | boolean;
|
|
277
|
-
stats: null | object;
|
|
278
|
-
studentNumber: string;
|
|
279
|
-
task: null | object;
|
|
280
|
-
teacherUnreadedMessages: null | number;
|
|
281
|
-
tutorialSteps: null | string;
|
|
282
|
-
updatedAt: number;
|
|
283
|
-
validateSchool: null | boolean;
|
|
284
|
-
virtualValue: CNameOssUrl;
|
|
285
|
-
watchedMiniProjectTutorailVideo: null | boolean;
|
|
286
|
-
xiguaStudentNo: null | string;
|
|
287
|
-
}
|
|
288
|
-
interface StudentListItem {
|
|
289
|
-
abGroup: null | string;
|
|
290
|
-
accountNumber: null | string;
|
|
291
|
-
address: null | string;
|
|
292
|
-
addressCode: null | string;
|
|
293
|
-
age: null | number;
|
|
294
|
-
archive: null | boolean;
|
|
295
|
-
avatar: CNameOssUrl;
|
|
296
|
-
bio: null | string;
|
|
297
|
-
birthYear: null | number;
|
|
298
|
-
birthday: null | number;
|
|
299
|
-
category: null | string;
|
|
300
|
-
city: null | string;
|
|
301
|
-
commentCount: null | number;
|
|
302
|
-
contactPhone: null | string;
|
|
303
|
-
countryCode: null | string;
|
|
304
|
-
createdAt: null | number;
|
|
305
|
-
currentMajorClazzOid: null | MongoDBId;
|
|
306
|
-
currentParent: null | object;
|
|
307
|
-
distinctId: null | string;
|
|
308
|
-
district: null | string;
|
|
309
|
-
email: null | string;
|
|
310
|
-
energy: null | number;
|
|
311
|
-
energyRegain: null | number;
|
|
312
|
-
examScore: null | number;
|
|
313
|
-
extraInfo: null | object;
|
|
314
|
-
firstTime: null | boolean;
|
|
315
|
-
followingStatus: null | string;
|
|
316
|
-
fullName: null | string;
|
|
317
|
-
gender: null | string;
|
|
318
|
-
grade: null | number;
|
|
319
|
-
group: null | string;
|
|
320
|
-
guest: null | boolean;
|
|
321
|
-
guestNumber: null | string;
|
|
322
|
-
hideGender: null | boolean;
|
|
323
|
-
host: null | string;
|
|
324
|
-
identity: null | string;
|
|
325
|
-
identityAuthRank: null | string;
|
|
326
|
-
identityType: null | string;
|
|
327
|
-
informationModifyDate: null | object;
|
|
328
|
-
keywords: string[];
|
|
329
|
-
lastLoginAt: null | number;
|
|
330
|
-
lastStudyAt: null | number;
|
|
331
|
-
lowAge: null | boolean;
|
|
332
|
-
midexamScore: null | number;
|
|
333
|
-
miniprojectFreeNum: null | number;
|
|
334
|
-
mpClicked: null | boolean;
|
|
335
|
-
mpShowedModal: null | boolean;
|
|
336
|
-
mpTutorial: null | string;
|
|
337
|
-
name: string;
|
|
338
|
-
newWorkbenchTutorial: null | boolean;
|
|
339
|
-
oid: MongoDBId;
|
|
340
|
-
orgId: null | string;
|
|
341
|
-
parents: object[];
|
|
342
|
-
passwordDigest: null | string;
|
|
343
|
-
photo: null | string;
|
|
344
|
-
picUrl: CNameOssUrl;
|
|
345
|
-
province: null | string;
|
|
346
|
-
qq: null | string;
|
|
347
|
-
receiver: null | string;
|
|
348
|
-
regChannel: null | string;
|
|
349
|
-
remarkName: null | string;
|
|
350
|
-
reputationScore: null | number;
|
|
351
|
-
role: null | string;
|
|
352
|
-
school: null | string;
|
|
353
|
-
showServiceTerm: null | boolean;
|
|
354
|
-
showTaskList: null | boolean;
|
|
355
|
-
stats: null | object;
|
|
356
|
-
studentNumber: string;
|
|
357
|
-
task: null | object;
|
|
358
|
-
teacherUnreadedMessages: null | number;
|
|
359
|
-
tutorialSteps: null | string;
|
|
360
|
-
updatedAt: null | number;
|
|
361
|
-
validateSchool: null | boolean;
|
|
362
|
-
virtualValue: CNameOssUrl;
|
|
363
|
-
watchedMiniProjectTutorailVideo: null | boolean;
|
|
364
|
-
xiguaStudentNo: null | string;
|
|
365
|
-
}
|
|
366
|
-
interface CreatorScore {
|
|
367
|
-
rank: "ORDINARY" | "HACKER" | "ADVANCED";
|
|
368
|
-
rankRetentionDate: null;
|
|
369
|
-
score: number;
|
|
370
|
-
studentOid: MongoDBId;
|
|
371
|
-
}
|
|
372
|
-
interface StudentFollowerStats {
|
|
373
|
-
followerCount: number;
|
|
374
|
-
followingCount: number;
|
|
375
|
-
}
|
|
376
|
-
interface StudentUpdateReq {
|
|
377
|
-
birthday: number;
|
|
378
|
-
fullName: string;
|
|
379
|
-
gender: string;
|
|
380
|
-
hideGender: boolean;
|
|
381
|
-
hobbies: string;
|
|
382
|
-
learnedProgrammingLanguages: string;
|
|
383
|
-
programmingCapability: string;
|
|
384
|
-
qq: string;
|
|
385
|
-
school: string;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
type userData_BaseUser = BaseUser;
|
|
389
|
-
type userData_CreatorScore = CreatorScore;
|
|
390
|
-
type userData_CurrentParent = CurrentParent;
|
|
391
|
-
type userData_InfoModifyDate = InfoModifyDate;
|
|
392
|
-
type userData_MemberArchive = MemberArchive;
|
|
393
|
-
type userData_OtherUser = OtherUser;
|
|
394
|
-
type userData_ParentInfo = ParentInfo;
|
|
395
|
-
type userData_ProfileExtraInfo = ProfileExtraInfo;
|
|
396
|
-
type userData_ProfileStatistics = ProfileStatistics;
|
|
397
|
-
type userData_ReputationScore = ReputationScore;
|
|
398
|
-
type userData_ReputationScoreLog = ReputationScoreLog;
|
|
399
|
-
type userData_Student = Student;
|
|
400
|
-
type userData_StudentFollowerStats = StudentFollowerStats;
|
|
401
|
-
type userData_StudentListItem = StudentListItem;
|
|
402
|
-
type userData_StudentOverview = StudentOverview;
|
|
403
|
-
type userData_StudentProfile = StudentProfile;
|
|
404
|
-
type userData_StudentSelfDetail = StudentSelfDetail;
|
|
405
|
-
type userData_StudentSelfDetailFields = StudentSelfDetailFields;
|
|
406
|
-
type userData_StudentSimple = StudentSimple;
|
|
407
|
-
type userData_StudentUpdateReq = StudentUpdateReq;
|
|
408
|
-
type userData_UserLabels = UserLabels;
|
|
409
|
-
declare namespace userData {
|
|
410
|
-
export type { userData_BaseUser as BaseUser, userData_CreatorScore as CreatorScore, userData_CurrentParent as CurrentParent, userData_InfoModifyDate as InfoModifyDate, userData_MemberArchive as MemberArchive, userData_OtherUser as OtherUser, userData_ParentInfo as ParentInfo, userData_ProfileExtraInfo as ProfileExtraInfo, userData_ProfileStatistics as ProfileStatistics, userData_ReputationScore as ReputationScore, userData_ReputationScoreLog as ReputationScoreLog, userData_Student as Student, userData_StudentFollowerStats as StudentFollowerStats, userData_StudentListItem as StudentListItem, userData_StudentOverview as StudentOverview, userData_StudentProfile as StudentProfile, userData_StudentSelfDetail as StudentSelfDetail, userData_StudentSelfDetailFields as StudentSelfDetailFields, userData_StudentSimple as StudentSimple, userData_StudentUpdateReq as StudentUpdateReq, userData_UserLabels as UserLabels };
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
interface CreationRelease {
|
|
414
|
-
checked: boolean;
|
|
415
|
-
coverGifLink: CNameOssUrl;
|
|
416
|
-
coverLink: CNameOssUrl;
|
|
417
|
-
createdAt: number;
|
|
418
|
-
customVersion: string;
|
|
419
|
-
description: string;
|
|
420
|
-
extensions: string[];
|
|
421
|
-
hasCloudVariables: boolean;
|
|
422
|
-
keyboardLayout: KBDLayout;
|
|
423
|
-
oid: MongoDBId;
|
|
424
|
-
operatingInstruction: string;
|
|
425
|
-
profiling: null | string;
|
|
426
|
-
projectLink: string;
|
|
427
|
-
status: CreationStatus;
|
|
428
|
-
submittedAt: number;
|
|
429
|
-
tags: string[];
|
|
430
|
-
updatedAt: number;
|
|
431
|
-
version: string;
|
|
432
|
-
videoLink: null | string;
|
|
433
|
-
}
|
|
434
|
-
interface TeamMemberResp {
|
|
435
|
-
authority: string;
|
|
436
|
-
avatar: string;
|
|
437
|
-
createdAt: number;
|
|
438
|
-
creationOid: MongoDBId;
|
|
439
|
-
name: string;
|
|
440
|
-
online: null | boolean;
|
|
441
|
-
priority: number;
|
|
442
|
-
profile: null | string;
|
|
443
|
-
role: string;
|
|
444
|
-
userOid: MongoDBId;
|
|
445
|
-
}
|
|
446
|
-
interface TeamworkStatus {
|
|
447
|
-
currentTeamMemberList: TeamMemberResp[];
|
|
448
|
-
online: boolean;
|
|
449
|
-
}
|
|
450
|
-
interface CreationSimple extends CreationMinimal {
|
|
451
|
-
artifactType: string;
|
|
452
|
-
createdAt: number;
|
|
453
|
-
currentReleaseOid: MongoDBId;
|
|
454
|
-
description: string;
|
|
455
|
-
ext: {
|
|
456
|
-
SUBMIT_HASH_TAGS: string[];
|
|
457
|
-
keyboardLayout: KBDLayout;
|
|
458
|
-
requireLogin: boolean;
|
|
459
|
-
};
|
|
460
|
-
featuredCoverLink: string;
|
|
461
|
-
forEveryone: boolean;
|
|
462
|
-
hashTags: string[];
|
|
463
|
-
isOpenSource: boolean;
|
|
464
|
-
isTeamwork: boolean;
|
|
465
|
-
keyboardLayout: KBDLayout;
|
|
466
|
-
lastPassedAt: number;
|
|
467
|
-
latestProjectLink: string;
|
|
468
|
-
operatedAt: number;
|
|
469
|
-
rank: string;
|
|
470
|
-
requireLogin: boolean;
|
|
471
|
-
screenMode: CreationScreenMode;
|
|
472
|
-
sourceOpenLevel: SourceOpenLevel;
|
|
473
|
-
status: CreationStatus;
|
|
474
|
-
student: StudentOverview;
|
|
475
|
-
studentOid: MongoDBId;
|
|
476
|
-
tags: string[];
|
|
477
|
-
teamMemberRespList: TeamMemberResp[];
|
|
478
|
-
type: string;
|
|
479
|
-
updatedAt: number;
|
|
480
|
-
/**
|
|
481
|
-
* ALL: 所有人可见
|
|
482
|
-
* PRIVATE: 仅自己可见
|
|
483
|
-
*/
|
|
484
|
-
visibleScope: "PRIVATE" | "ALL";
|
|
485
|
-
}
|
|
486
|
-
interface Creation extends CreationSimple {
|
|
487
|
-
creationReleaseList: CreationRelease[];
|
|
488
|
-
currentHashTag: null | string;
|
|
489
|
-
eid: null | string;
|
|
490
|
-
firstPublishedRelease: null | CreationRelease;
|
|
491
|
-
isSelf: null | boolean;
|
|
492
|
-
projectLastModifiedAt: null | number;
|
|
493
|
-
remixCreationOid: null | MongoDBId;
|
|
494
|
-
remixedCreation: null | object;
|
|
495
|
-
repostedSource: null | object;
|
|
496
|
-
stats: null | ExtensionStats;
|
|
497
|
-
student: StudentOverview;
|
|
498
|
-
teamworkStatus: null | TeamworkStatus;
|
|
499
|
-
typicalProjectId: null | string;
|
|
500
|
-
}
|
|
501
|
-
interface CreationTag {
|
|
502
|
-
code: string;
|
|
503
|
-
createdAt: number;
|
|
504
|
-
id: number;
|
|
505
|
-
priority: number;
|
|
506
|
-
title: string;
|
|
507
|
-
updatedAt: number;
|
|
508
|
-
visibility: "PUBLIC";
|
|
509
|
-
}
|
|
510
|
-
interface LoadingTip {
|
|
511
|
-
妮可: string[];
|
|
512
|
-
孙小弟: string[];
|
|
513
|
-
小八: string[];
|
|
514
|
-
胖达: string[];
|
|
515
|
-
}
|
|
516
|
-
interface UserLikeDetail {
|
|
517
|
-
action: LikeActions;
|
|
518
|
-
createdAt: number;
|
|
519
|
-
/**
|
|
520
|
-
* 作品id
|
|
521
|
-
*/
|
|
522
|
-
creationOid: MongoDBId;
|
|
523
|
-
oid: MongoDBId;
|
|
524
|
-
/**
|
|
525
|
-
* 一般为作品作者
|
|
526
|
-
*/
|
|
527
|
-
receiverOid: MongoDBId;
|
|
528
|
-
/**
|
|
529
|
-
* 用户id
|
|
530
|
-
*/
|
|
531
|
-
senderOid: MongoDBId;
|
|
532
|
-
}
|
|
533
|
-
type LikeActions = "SIX" | "HEART" | "HANDSHAKE" | "LIKE" | "SMILE" | "FLOWER" | "WATERMELON";
|
|
534
|
-
interface DonatedRecord {
|
|
535
|
-
bucks: number;
|
|
536
|
-
createdAt: number;
|
|
537
|
-
creationOid: MongoDBId;
|
|
538
|
-
donatorAvatar: CNameOssUrl;
|
|
539
|
-
donatorName: string;
|
|
540
|
-
donatorOid: MongoDBId;
|
|
541
|
-
donatorType: AccountTypes;
|
|
542
|
-
id: number;
|
|
543
|
-
updatedAt: number;
|
|
544
|
-
}
|
|
545
|
-
interface CreationScreenshot {
|
|
546
|
-
commenter: OtherUser;
|
|
547
|
-
commenterId: number;
|
|
548
|
-
createdAt: number;
|
|
549
|
-
creationScreenshot: CNameOssUrl;
|
|
550
|
-
ext: {};
|
|
551
|
-
id: number;
|
|
552
|
-
msg: string;
|
|
553
|
-
status: null;
|
|
554
|
-
topicId: number;
|
|
555
|
-
updatedAt: number;
|
|
556
|
-
weight: number;
|
|
557
|
-
}
|
|
558
|
-
interface FavoriteDetail {
|
|
559
|
-
creationOid: MongoDBId;
|
|
560
|
-
favoritedAt: number;
|
|
561
|
-
studentOid: MongoDBId;
|
|
562
|
-
updatedAt: number;
|
|
563
|
-
}
|
|
564
|
-
interface CreationMinimal {
|
|
565
|
-
commentCount: number;
|
|
566
|
-
creationRelease: CreationRelease;
|
|
567
|
-
favoriteCount: number;
|
|
568
|
-
latestCoverLink: string;
|
|
569
|
-
likeCount: number;
|
|
570
|
-
oid: MongoDBId;
|
|
571
|
-
remixedCount: number;
|
|
572
|
-
title: string;
|
|
573
|
-
viewCount: number;
|
|
574
|
-
}
|
|
575
|
-
type CreationScreenMode = "LANDSCAPE";
|
|
576
|
-
type ReleaseTag = "Alpha" | "Beta" | "RC" | "Release";
|
|
577
|
-
type KBDLayout = "CUSTOM" | "TOUCH" | "DISABLED";
|
|
578
|
-
type SourceOpenLevel = "PRIVATE" | "SOURCE_READABLE" | "PUBLIC";
|
|
579
|
-
type CreationStatus = "PUBLISHED" | "BANNED" | "SUBMITTED" | "REJECTED";
|
|
580
|
-
|
|
581
|
-
type creation_Creation = Creation;
|
|
582
|
-
type creation_CreationMinimal = CreationMinimal;
|
|
583
|
-
type creation_CreationRelease = CreationRelease;
|
|
584
|
-
type creation_CreationScreenMode = CreationScreenMode;
|
|
585
|
-
type creation_CreationScreenshot = CreationScreenshot;
|
|
586
|
-
type creation_CreationSimple = CreationSimple;
|
|
587
|
-
type creation_CreationStatus = CreationStatus;
|
|
588
|
-
type creation_CreationTag = CreationTag;
|
|
589
|
-
type creation_DonatedRecord = DonatedRecord;
|
|
590
|
-
type creation_FavoriteDetail = FavoriteDetail;
|
|
591
|
-
type creation_KBDLayout = KBDLayout;
|
|
592
|
-
type creation_LikeActions = LikeActions;
|
|
593
|
-
type creation_LoadingTip = LoadingTip;
|
|
594
|
-
type creation_ReleaseTag = ReleaseTag;
|
|
595
|
-
type creation_SourceOpenLevel = SourceOpenLevel;
|
|
596
|
-
type creation_TeamMemberResp = TeamMemberResp;
|
|
597
|
-
type creation_TeamworkStatus = TeamworkStatus;
|
|
598
|
-
type creation_UserLikeDetail = UserLikeDetail;
|
|
599
|
-
declare namespace creation {
|
|
600
|
-
export type { creation_Creation as Creation, creation_CreationMinimal as CreationMinimal, creation_CreationRelease as CreationRelease, creation_CreationScreenMode as CreationScreenMode, creation_CreationScreenshot as CreationScreenshot, creation_CreationSimple as CreationSimple, creation_CreationStatus as CreationStatus, creation_CreationTag as CreationTag, creation_DonatedRecord as DonatedRecord, creation_FavoriteDetail as FavoriteDetail, creation_KBDLayout as KBDLayout, creation_LikeActions as LikeActions, creation_LoadingTip as LoadingTip, creation_ReleaseTag as ReleaseTag, creation_SourceOpenLevel as SourceOpenLevel, creation_TeamMemberResp as TeamMemberResp, creation_TeamworkStatus as TeamworkStatus, creation_UserLikeDetail as UserLikeDetail };
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
interface ExtensionStats {
|
|
604
|
-
averageRating: number;
|
|
605
|
-
mostApprovedReviewIds: string[];
|
|
606
|
-
reviewCount: number;
|
|
607
|
-
reviewTags: string[];
|
|
608
|
-
}
|
|
609
|
-
interface ExtensionStatsWithCounts extends ExtensionStats {
|
|
610
|
-
commentCount: number;
|
|
611
|
-
donateCount: number;
|
|
612
|
-
favoriteCount: number;
|
|
613
|
-
likeCount: number;
|
|
614
|
-
reviewTags: [];
|
|
615
|
-
}
|
|
616
|
-
interface Extension {
|
|
617
|
-
activeVersionId: number;
|
|
618
|
-
cover: CNameOssUrl;
|
|
619
|
-
createdAt: number;
|
|
620
|
-
creationId: MongoDBId;
|
|
621
|
-
description: string;
|
|
622
|
-
eid: string;
|
|
623
|
-
icon: "test";
|
|
624
|
-
id: number;
|
|
625
|
-
latestProjectCoverLink: null;
|
|
626
|
-
latestProjectLink: null;
|
|
627
|
-
name: string;
|
|
628
|
-
publisher: {
|
|
629
|
-
avatar: CNameOssUrl;
|
|
630
|
-
id: MongoDBId;
|
|
631
|
-
locked: null;
|
|
632
|
-
nickname: string;
|
|
633
|
-
};
|
|
634
|
-
publisherId: MongoDBId;
|
|
635
|
-
stats: ExtensionStatsWithCounts;
|
|
636
|
-
updatedAt: number;
|
|
637
|
-
versions: ExtensionVersion[];
|
|
638
|
-
}
|
|
639
|
-
interface ExtensionVersion {
|
|
640
|
-
assetUri: CNameOssUrl;
|
|
641
|
-
changelog: string;
|
|
642
|
-
createdAt: number;
|
|
643
|
-
demos: [];
|
|
644
|
-
eid: string;
|
|
645
|
-
id: number;
|
|
646
|
-
license: null;
|
|
647
|
-
previews: [CNameOssUrl];
|
|
648
|
-
projectCoverLink: null;
|
|
649
|
-
projectLink: CNameOssUrl;
|
|
650
|
-
readme: string;
|
|
651
|
-
rejectReason: null;
|
|
652
|
-
releaseTags: ReleaseTag[];
|
|
653
|
-
releasedAt: number;
|
|
654
|
-
status: ExtensionApproveStatus;
|
|
655
|
-
tags: [];
|
|
656
|
-
tutorials: [];
|
|
657
|
-
updatedAt: number;
|
|
658
|
-
version: string;
|
|
659
|
-
}
|
|
660
|
-
type ExtensionApproveStatus = "PENDING" | "APPROVED" | "REJECTED";
|
|
661
|
-
|
|
662
|
-
export { type ApprovalTag as A, type CreationScreenMode as C, type DonatedRecord as D, type Extension as E, type FavoriteDetail as F, type KBDLayout as K, type LoadingTip as L, type OtherUser as O, type ReputationScoreLog as R, type SourceOpenLevel as S, type UserLikeDetail as U, approval as a, type Creation as b, creation as c, type CreationSimple as d, type Student as e, type CreationTag as f, type CreationStatus as g, type CreationScreenshot as h, type CreatorScore as i, type StudentListItem as j, type StudentProfile as k, type StudentSelfDetailFields as l, type StudentSelfDetail as m, type StudentFollowerStats as n, type CreationMinimal as o, type UserLabels as p, type ReleaseTag as q, type CreationRelease as r, type StudentSimple as s, userData as u };
|