@juki-team/commons 0.2.0 → 0.2.2
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/constants/commons.d.ts +2 -2
- package/dist/constants/commons.js +2 -2
- package/dist/constants/company.d.ts +1 -1
- package/dist/constants/company.js +1 -1
- package/dist/constants/contest.d.ts +1 -1
- package/dist/constants/contest.js +1 -2
- package/dist/constants/course.d.ts +1 -1
- package/dist/constants/course.js +1 -1
- package/dist/constants/entity.js +1 -1
- package/dist/constants/file.d.ts +1 -2
- package/dist/constants/file.js +1 -2
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/constants/judge.d.ts +1 -2
- package/dist/constants/judge.js +1 -2
- package/dist/constants/problem.d.ts +3 -4
- package/dist/constants/problem.js +1 -2
- package/dist/constants/services.d.ts +1 -1
- package/dist/constants/services.js +1 -1
- package/dist/constants/system.d.ts +1 -1
- package/dist/constants/system.js +1 -1
- package/dist/constants/teams.d.ts +1 -2
- package/dist/constants/teams.js +1 -2
- package/dist/constants/user.d.ts +1 -1
- package/dist/constants/user.js +1 -1
- package/dist/constants/worksheet.d.ts +2 -1
- package/dist/constants/worksheet.js +1 -1
- package/dist/dto/class.d.ts +9 -8
- package/dist/dto/contest.d.ts +2 -8
- package/dist/dto/contest.js +1 -7
- package/dist/dto/entity.d.ts +1 -5
- package/dist/dto/entity.js +1 -5
- package/dist/dto/file.d.ts +2 -1
- package/dist/dto/index.d.ts +2 -1
- package/dist/dto/index.js +2 -1
- package/dist/dto/organization.d.ts +1 -2
- package/dist/dto/problem.d.ts +2 -2
- package/dist/dto/socket.d.ts +41 -41
- package/dist/dto/submission.d.ts +2 -2
- package/dist/dto/user.d.ts +1 -1
- package/dist/dto/{virtual-user.d.ts → virtualUser.d.ts} +1 -2
- package/dist/dto/{worksheet-submissions.d.ts → worksheetSubmission.d.ts} +2 -1
- package/dist/dto/worksheetSubmission.js +1 -0
- package/dist/enums/index.d.ts +2 -0
- package/dist/enums/index.js +2 -0
- package/dist/enums/manual/AspectRatio.d.ts +11 -0
- package/dist/enums/manual/AspectRatio.js +10 -0
- package/dist/enums/manual/AssignmentClass.d.ts +7 -0
- package/dist/enums/manual/AssignmentClass.js +6 -0
- package/dist/enums/manual/AssignmentType.d.ts +7 -0
- package/dist/enums/manual/AssignmentType.js +6 -0
- package/dist/enums/manual/CodeLanguage.d.ts +40 -0
- package/dist/enums/manual/CodeLanguage.js +40 -0
- package/dist/enums/manual/CollectionKey.d.ts +24 -0
- package/dist/enums/manual/CollectionKey.js +23 -0
- package/dist/enums/manual/ContestProblemBlockedByType.d.ts +7 -0
- package/dist/enums/manual/ContestProblemBlockedByType.js +6 -0
- package/dist/enums/manual/ContestTimeStatus.d.ts +6 -0
- package/dist/enums/manual/ContestTimeStatus.js +5 -0
- package/dist/enums/manual/DataViewMode.d.ts +5 -0
- package/dist/enums/manual/DataViewMode.js +4 -0
- package/dist/enums/manual/EntityAccess.d.ts +7 -0
- package/dist/enums/manual/EntityAccess.js +6 -0
- package/dist/enums/manual/EntityCollection.d.ts +9 -0
- package/dist/enums/manual/EntityCollection.js +8 -0
- package/dist/enums/manual/EntityMembersRank.d.ts +6 -0
- package/dist/enums/manual/EntityMembersRank.js +5 -0
- package/dist/enums/manual/EntityState.d.ts +5 -0
- package/dist/enums/manual/EntityState.js +4 -0
- package/dist/enums/manual/EntityStatus.d.ts +7 -0
- package/dist/enums/manual/EntityStatus.js +6 -0
- package/dist/enums/manual/ErrorCode.d.ts +120 -0
- package/dist/enums/manual/ErrorCode.js +129 -0
- package/dist/enums/manual/FileMemberRole.d.ts +5 -0
- package/dist/enums/manual/FileMemberRole.js +4 -0
- package/dist/enums/manual/FilesJukiPub.d.ts +8 -0
- package/dist/enums/manual/FilesJukiPub.js +7 -0
- package/dist/enums/manual/HTTPMethod.d.ts +8 -0
- package/dist/enums/manual/HTTPMethod.js +7 -0
- package/dist/enums/manual/Judge.d.ts +12 -0
- package/dist/enums/manual/Judge.js +11 -0
- package/dist/enums/manual/Language.d.ts +5 -0
- package/dist/enums/manual/Language.js +4 -0
- package/dist/enums/manual/LogLevel.d.ts +9 -0
- package/dist/enums/manual/LogLevel.js +8 -0
- package/dist/enums/manual/LogOperation.d.ts +6 -0
- package/dist/enums/manual/LogOperation.js +5 -0
- package/dist/enums/manual/MemberRole.d.ts +9 -0
- package/dist/enums/manual/MemberRole.js +8 -0
- package/dist/enums/manual/MemberType.d.ts +5 -0
- package/dist/enums/manual/MemberType.js +4 -0
- package/dist/enums/manual/MenuViewMode.d.ts +5 -0
- package/dist/enums/manual/MenuViewMode.js +4 -0
- package/dist/enums/manual/NotificationType.d.ts +8 -0
- package/dist/enums/manual/NotificationType.js +7 -0
- package/dist/enums/manual/OrganizationLogoType.d.ts +7 -0
- package/dist/enums/manual/OrganizationLogoType.js +6 -0
- package/dist/enums/manual/ProblemInput.d.ts +5 -0
- package/dist/enums/manual/ProblemInput.js +4 -0
- package/dist/enums/manual/ProblemOutput.d.ts +6 -0
- package/dist/enums/manual/ProblemOutput.js +5 -0
- package/dist/enums/manual/ProfileSetting.d.ts +10 -0
- package/dist/enums/manual/ProfileSetting.js +9 -0
- package/dist/enums/manual/QuizScoringMode.d.ts +5 -0
- package/dist/enums/manual/QuizScoringMode.js +4 -0
- package/dist/enums/manual/Role.d.ts +12 -0
- package/dist/enums/manual/Role.js +11 -0
- package/dist/enums/manual/RunnerType.d.ts +5 -0
- package/dist/enums/manual/RunnerType.js +4 -0
- package/dist/enums/manual/ScopeData.d.ts +7 -0
- package/dist/enums/manual/ScopeData.js +6 -0
- package/dist/enums/manual/Status.d.ts +7 -0
- package/dist/enums/manual/Status.js +6 -0
- package/dist/enums/manual/TeamStatus.d.ts +6 -0
- package/dist/enums/manual/TeamStatus.js +5 -0
- package/dist/enums/manual/Theme.d.ts +5 -0
- package/dist/enums/manual/Theme.js +4 -0
- package/dist/enums/manual/TypeTestCase.d.ts +5 -0
- package/dist/enums/manual/TypeTestCase.js +4 -0
- package/dist/enums/manual/UserTeamStatus.d.ts +6 -0
- package/dist/enums/manual/UserTeamStatus.js +5 -0
- package/dist/enums/manual/WebSocketMessageEvent.d.ts +8 -0
- package/dist/enums/manual/WebSocketMessageEvent.js +7 -0
- package/dist/enums/manual/WebSocketResponseEvent.d.ts +22 -0
- package/dist/enums/manual/WebSocketResponseEvent.js +21 -0
- package/dist/enums/manual/WebSocketSubscriptionEvent.d.ts +19 -0
- package/dist/enums/manual/WebSocketSubscriptionEvent.js +18 -0
- package/dist/enums/manual/WorksheetType.d.ts +11 -0
- package/dist/enums/manual/WorksheetType.js +10 -0
- package/dist/enums/manual/index.d.ts +42 -0
- package/dist/enums/manual/index.js +42 -0
- package/dist/helpers/array.d.ts +3 -0
- package/dist/helpers/array.js +28 -0
- package/dist/helpers/{class.js → assignment.js} +1 -1
- package/dist/helpers/console.d.ts +3 -0
- package/dist/helpers/console.js +9 -0
- package/dist/{date/index.d.ts → helpers/date.d.ts} +11 -0
- package/dist/{date/index.js → helpers/date.js} +24 -0
- package/dist/helpers/document.d.ts +2 -11
- package/dist/helpers/document.js +1 -21
- package/dist/helpers/duration.d.ts +2 -0
- package/dist/helpers/duration.js +57 -0
- package/dist/helpers/entity.d.ts +11 -0
- package/dist/helpers/entity.js +20 -0
- package/dist/{errors/index.d.ts → helpers/errors.d.ts} +1 -1
- package/dist/helpers/file.d.ts +6 -1
- package/dist/helpers/file.js +23 -2
- package/dist/helpers/http.d.ts +1 -0
- package/dist/helpers/http.js +8 -0
- package/dist/helpers/index.d.ts +12 -3
- package/dist/helpers/index.js +12 -3
- package/dist/helpers/json.d.ts +3 -0
- package/dist/helpers/json.js +31 -0
- package/dist/helpers/judging.d.ts +1 -1
- package/dist/helpers/judging.js +1 -1
- package/dist/helpers/object.d.ts +2 -0
- package/dist/helpers/object.js +28 -0
- package/dist/helpers/problem.d.ts +2 -0
- package/dist/helpers/problem.js +1 -0
- package/dist/helpers/responses.d.ts +2 -2
- package/dist/helpers/responses.js +4 -3
- package/dist/helpers/socket.d.ts +2 -1
- package/dist/helpers/socket.js +4 -5
- package/dist/helpers/string.d.ts +7 -0
- package/dist/helpers/string.js +52 -0
- package/dist/helpers/worksheet.d.ts +1 -1
- package/dist/helpers/worksheet.js +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.js +1 -4
- package/dist/types/assignment.d.ts +22 -0
- package/dist/types/assignment.js +1 -0
- package/dist/types/class.d.ts +3 -28
- package/dist/types/class.js +1 -7
- package/dist/types/contest.d.ts +3 -9
- package/dist/types/contest.js +1 -6
- package/dist/types/course.d.ts +2 -1
- package/dist/types/device.d.ts +7 -0
- package/dist/types/device.js +1 -0
- package/dist/types/duration.d.ts +7 -0
- package/dist/types/duration.js +1 -0
- package/dist/types/entity.d.ts +1 -45
- package/dist/types/entity.js +1 -50
- package/dist/types/file.d.ts +1 -12
- package/dist/types/file.js +1 -13
- package/dist/types/group.d.ts +2 -2
- package/dist/types/id.d.ts +3 -0
- package/dist/types/id.js +1 -0
- package/dist/types/index.d.ts +23 -23
- package/dist/types/index.js +1 -23
- package/dist/types/judge.d.ts +1 -17
- package/dist/types/judge.js +1 -17
- package/dist/types/markdown.d.ts +3 -2
- package/dist/types/mermaid.d.ts +3 -2
- package/dist/types/{problems.d.ts → problem.d.ts} +2 -15
- package/dist/types/problem.js +1 -0
- package/dist/types/services.d.ts +1 -135
- package/dist/types/services.js +1 -147
- package/dist/types/socket.d.ts +2 -47
- package/dist/types/socket.js +1 -49
- package/dist/types/teams.d.ts +2 -25
- package/dist/types/teams.js +1 -28
- package/dist/types/text.d.ts +4 -0
- package/dist/types/text.js +1 -0
- package/dist/types/{users.d.ts → user.d.ts} +1 -29
- package/dist/types/user.js +1 -0
- package/dist/types/worksheet.d.ts +88 -11
- package/dist/types/worksheet.js +1 -11
- package/package.json +8 -21
- package/dist/dto/worksheet-submissions.js +0 -1
- package/dist/helpers/commons.d.ts +0 -33
- package/dist/helpers/commons.js +0 -191
- package/dist/helpers/time.d.ts +0 -13
- package/dist/helpers/time.js +0 -101
- package/dist/types/account.d.ts +0 -9
- package/dist/types/account.js +0 -10
- package/dist/types/commons.d.ts +0 -84
- package/dist/types/commons.js +0 -69
- package/dist/types/company.d.ts +0 -6
- package/dist/types/company.js +0 -7
- package/dist/types/notification.d.ts +0 -7
- package/dist/types/notification.js +0 -8
- package/dist/types/problems.js +0 -16
- package/dist/types/sheet.d.ts +0 -104
- package/dist/types/sheet.js +0 -16
- package/dist/types/users.js +0 -33
- package/dist/constants/{time.d.ts → duration.d.ts} +0 -0
- package/dist/constants/{time.js → duration.js} +0 -0
- package/dist/dto/{virtual-user.js → virtualUser.js} +0 -0
- package/dist/{prisma/enums → enums/prisma}/AssignmentClassType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/AssignmentClassType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestEventAction.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestEventAction.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestProblemPrerequisiteType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestProblemPrerequisiteType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestStatus.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ContestStatus.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/CourseRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/CourseRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntityObjectType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntityObjectType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntityRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntityRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntitySubjectType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/EntitySubjectType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/FileRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/FileRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/FileType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/FileType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/GroupType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/GroupType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/JudgeType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/JudgeType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/OrganizationPlan.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/OrganizationPlan.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemScoringMode.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemScoringMode.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemVerdict.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ProblemVerdict.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/ShareLinkVisibility.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/ShareLinkVisibility.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/SubmissionRunStatus.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/SubmissionRunStatus.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/SystemRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/SystemRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/TeamRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/TeamRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/TelemetryType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/TelemetryType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/UserRole.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/UserRole.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/WorkingIn.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/WorkingIn.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/WorksheetContentType.d.ts +0 -0
- package/dist/{prisma/enums → enums/prisma}/WorksheetContentType.js +0 -0
- package/dist/{prisma/enums → enums/prisma}/index.d.ts +11 -11
- package/dist/{prisma/enums → enums/prisma}/index.js +11 -11
- /package/dist/helpers/{class.d.ts → assignment.d.ts} +0 -0
- /package/dist/{errors/index.js → helpers/errors.js} +0 -0
- /package/dist/{number/index.d.ts → helpers/number.d.ts} +0 -0
- /package/dist/{number/index.js → helpers/number.js} +0 -0
package/dist/types/commons.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export var CodeLanguage;
|
|
2
|
-
(function (CodeLanguage) {
|
|
3
|
-
CodeLanguage["C_11"] = "c11";
|
|
4
|
-
CodeLanguage["CPP_11"] = "cpp11";
|
|
5
|
-
CodeLanguage["CPP_20"] = "cpp20";
|
|
6
|
-
CodeLanguage["JAVA_21"] = "java21";
|
|
7
|
-
CodeLanguage["PYTHON_3"] = "python3";
|
|
8
|
-
CodeLanguage["PYTHON_PYPY_3"] = "pypy3";
|
|
9
|
-
CodeLanguage["JAVASCRIPT_NODE_JS_22"] = "nodejs22";
|
|
10
|
-
// DEPRECATED
|
|
11
|
-
CodeLanguage["PYTHON_2"] = "python2";
|
|
12
|
-
CodeLanguage["PYTHON_PYPY_2"] = "pypy2";
|
|
13
|
-
CodeLanguage["ICPC_C"] = "ICPC_C";
|
|
14
|
-
CodeLanguage["C"] = "C";
|
|
15
|
-
CodeLanguage["CPP"] = "CPP";
|
|
16
|
-
CodeLanguage["ICPC_CPP"] = "ICPC_CPP";
|
|
17
|
-
CodeLanguage["CPP11"] = "CPP11";
|
|
18
|
-
CodeLanguage["CPP14"] = "CPP14";
|
|
19
|
-
CodeLanguage["CPP17"] = "CPP17";
|
|
20
|
-
CodeLanguage["JAVA"] = "JAVA";
|
|
21
|
-
CodeLanguage["ICPC_PYTHON"] = "ICPC_PYTHON";
|
|
22
|
-
CodeLanguage["PYTHON"] = "PYTHON";
|
|
23
|
-
CodeLanguage["PYTHON2"] = "PYTHON2";
|
|
24
|
-
CodeLanguage["PYTHON3"] = "PYTHON3";
|
|
25
|
-
CodeLanguage["JAVASCRIPT"] = "JAVASCRIPT";
|
|
26
|
-
CodeLanguage["TYPESCRIPT"] = "TYPESCRIPT";
|
|
27
|
-
CodeLanguage["JSX"] = "JSX";
|
|
28
|
-
CodeLanguage["TSX"] = "TSX";
|
|
29
|
-
CodeLanguage["MDX"] = "MDX";
|
|
30
|
-
CodeLanguage["PSEUDOCODE_PSEINT"] = "PSEUDOCODE_PSEINT";
|
|
31
|
-
CodeLanguage["LATEX"] = "LATEX";
|
|
32
|
-
CodeLanguage["JSON"] = "JSON";
|
|
33
|
-
CodeLanguage["HTML"] = "HTML";
|
|
34
|
-
CodeLanguage["TEXT"] = "TEXT";
|
|
35
|
-
CodeLanguage["DIFF"] = "DIFF";
|
|
36
|
-
CodeLanguage["MARKDOWN"] = "MARKDOWN";
|
|
37
|
-
CodeLanguage["ARDUINO"] = "ARDUINO";
|
|
38
|
-
CodeLanguage["DOT"] = "DOT";
|
|
39
|
-
CodeLanguage["MERMAID"] = "MERMAID";
|
|
40
|
-
CodeLanguage["BASH"] = "BASH";
|
|
41
|
-
})(CodeLanguage || (CodeLanguage = {}));
|
|
42
|
-
export var ScopeData;
|
|
43
|
-
(function (ScopeData) {
|
|
44
|
-
ScopeData["USER"] = "USER";
|
|
45
|
-
ScopeData["PROBLEM"] = "PROBLEM";
|
|
46
|
-
ScopeData["CONTEST"] = "CONTEST";
|
|
47
|
-
ScopeData["ATTEMPT"] = "ATTEMPT";
|
|
48
|
-
})(ScopeData || (ScopeData = {}));
|
|
49
|
-
export var Status;
|
|
50
|
-
(function (Status) {
|
|
51
|
-
Status["SUCCESS"] = "SUCCESS";
|
|
52
|
-
Status["ERROR"] = "ERROR";
|
|
53
|
-
Status["LOADING"] = "LOADING";
|
|
54
|
-
Status["NONE"] = "NONE";
|
|
55
|
-
})(Status || (Status = {}));
|
|
56
|
-
export var EntityStatus;
|
|
57
|
-
(function (EntityStatus) {
|
|
58
|
-
EntityStatus["PUBLIC"] = "PUBLIC";
|
|
59
|
-
EntityStatus["RESERVED"] = "RESERVED";
|
|
60
|
-
EntityStatus["PRIVATE"] = "PRIVATE";
|
|
61
|
-
EntityStatus["ARCHIVED"] = "ARCHIVED";
|
|
62
|
-
})(EntityStatus || (EntityStatus = {}));
|
|
63
|
-
export var EntityAccess;
|
|
64
|
-
(function (EntityAccess) {
|
|
65
|
-
EntityAccess["PRIVATE"] = "PRIVATE";
|
|
66
|
-
EntityAccess["RESTRICTED"] = "RESTRICTED";
|
|
67
|
-
EntityAccess["PUBLIC"] = "PUBLIC";
|
|
68
|
-
EntityAccess["EXPOSED"] = "EXPOSED";
|
|
69
|
-
})(EntityAccess || (EntityAccess = {}));
|
package/dist/types/company.d.ts
DELETED
package/dist/types/company.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var OrganizationLogoType;
|
|
2
|
-
(function (OrganizationLogoType) {
|
|
3
|
-
OrganizationLogoType["HORIZONTAL_WHITE"] = "horizontal-white";
|
|
4
|
-
OrganizationLogoType["HORIZONTAL_COLOR"] = "horizontal-color";
|
|
5
|
-
OrganizationLogoType["VERTICAL_WHITE"] = "vertical-white";
|
|
6
|
-
OrganizationLogoType["VERTICAL_COLOR"] = "vertical-color";
|
|
7
|
-
})(OrganizationLogoType || (OrganizationLogoType = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var NotificationType;
|
|
2
|
-
(function (NotificationType) {
|
|
3
|
-
NotificationType["SUCCESS"] = "success";
|
|
4
|
-
NotificationType["INFO"] = "info";
|
|
5
|
-
NotificationType["WARNING"] = "warning";
|
|
6
|
-
NotificationType["ERROR"] = "error";
|
|
7
|
-
NotificationType["QUIET"] = "quiet";
|
|
8
|
-
})(NotificationType || (NotificationType = {}));
|
package/dist/types/problems.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export var TypeTestCase;
|
|
2
|
-
(function (TypeTestCase) {
|
|
3
|
-
TypeTestCase["INPUT"] = "INPUT";
|
|
4
|
-
TypeTestCase["OUTPUT"] = "OUTPUT";
|
|
5
|
-
})(TypeTestCase || (TypeTestCase = {}));
|
|
6
|
-
export var ProblemInput;
|
|
7
|
-
(function (ProblemInput) {
|
|
8
|
-
ProblemInput["STANDARD"] = "STANDARD";
|
|
9
|
-
ProblemInput["INTERACTIVE"] = "INTERACTIVE";
|
|
10
|
-
})(ProblemInput || (ProblemInput = {}));
|
|
11
|
-
export var ProblemOutput;
|
|
12
|
-
(function (ProblemOutput) {
|
|
13
|
-
ProblemOutput["STANDARD"] = "STANDARD";
|
|
14
|
-
ProblemOutput["DYNAMIC"] = "DYNAMIC";
|
|
15
|
-
ProblemOutput["INTERACTIVE"] = "INTERACTIVE";
|
|
16
|
-
})(ProblemOutput || (ProblemOutput = {}));
|
package/dist/types/sheet.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import type { SubmissionRunStatus } from '../prisma/enums/index.js';
|
|
2
|
-
import type { CodeLanguage } from './commons.js';
|
|
3
|
-
export declare enum WorksheetType {
|
|
4
|
-
JK_MD = "JK_MD",
|
|
5
|
-
CODE_EDITOR = "CODE_EDITOR",
|
|
6
|
-
LIST = "LIST",
|
|
7
|
-
GRAPH = "GRAPH",
|
|
8
|
-
QUIZ_PROBLEM = "QUIZ_PROBLEM",
|
|
9
|
-
QUIZ_TEXT = "QUIZ_TEXT",
|
|
10
|
-
QUIZ_OPTIONS = "QUIZ_OPTIONS",
|
|
11
|
-
NEW_PAGE = "NEW_PAGE"
|
|
12
|
-
}
|
|
13
|
-
export type BasicWorksheet = {
|
|
14
|
-
id: string;
|
|
15
|
-
type: WorksheetType;
|
|
16
|
-
title: string;
|
|
17
|
-
points: number;
|
|
18
|
-
};
|
|
19
|
-
export type JkmdSheet = BasicWorksheet & {
|
|
20
|
-
type: WorksheetType.JK_MD;
|
|
21
|
-
content: string;
|
|
22
|
-
};
|
|
23
|
-
export type SubmissionTestCase = {
|
|
24
|
-
out: string;
|
|
25
|
-
err: string;
|
|
26
|
-
log: string;
|
|
27
|
-
status: SubmissionRunStatus;
|
|
28
|
-
};
|
|
29
|
-
export interface CodeEditorTestCase extends SubmissionTestCase {
|
|
30
|
-
key: string;
|
|
31
|
-
in: string;
|
|
32
|
-
testOut: string;
|
|
33
|
-
withPE: boolean;
|
|
34
|
-
sample: boolean;
|
|
35
|
-
hidden: boolean;
|
|
36
|
-
index: number;
|
|
37
|
-
messageTimestamp: number;
|
|
38
|
-
}
|
|
39
|
-
export type CodeEditorFile<T> = {
|
|
40
|
-
description: string;
|
|
41
|
-
folderPath: string;
|
|
42
|
-
source: string;
|
|
43
|
-
language: T;
|
|
44
|
-
index: number;
|
|
45
|
-
name: string;
|
|
46
|
-
hidden: boolean;
|
|
47
|
-
readonly: boolean;
|
|
48
|
-
protected: boolean;
|
|
49
|
-
active: boolean;
|
|
50
|
-
};
|
|
51
|
-
export type CodeEditorFiles<T> = {
|
|
52
|
-
[key: string]: CodeEditorFile<T>;
|
|
53
|
-
};
|
|
54
|
-
export type CodeEditorTestCases = {
|
|
55
|
-
[key: string]: CodeEditorTestCase;
|
|
56
|
-
};
|
|
57
|
-
export type CodeEditorSheet = BasicWorksheet & {
|
|
58
|
-
type: WorksheetType.CODE_EDITOR;
|
|
59
|
-
files: CodeEditorFiles<CodeLanguage>;
|
|
60
|
-
testCases: CodeEditorTestCases;
|
|
61
|
-
languages: CodeLanguage[];
|
|
62
|
-
height: number;
|
|
63
|
-
};
|
|
64
|
-
export type GraphSheet = BasicWorksheet & {
|
|
65
|
-
type: WorksheetType.GRAPH;
|
|
66
|
-
dots: string[];
|
|
67
|
-
};
|
|
68
|
-
export type QuizProblemSheet = BasicWorksheet & {
|
|
69
|
-
type: WorksheetType.QUIZ_PROBLEM;
|
|
70
|
-
problemKey: string;
|
|
71
|
-
languages: CodeLanguage[];
|
|
72
|
-
height: number;
|
|
73
|
-
};
|
|
74
|
-
export type QuizTextSheet = BasicWorksheet & {
|
|
75
|
-
type: WorksheetType.QUIZ_TEXT;
|
|
76
|
-
description: string;
|
|
77
|
-
answer: string;
|
|
78
|
-
inputType: 'text' | 'number' | 'textarea';
|
|
79
|
-
};
|
|
80
|
-
export declare enum QuizScoringMode {
|
|
81
|
-
TOTAL = "TOTAL",
|
|
82
|
-
PARTIAL = "PARTIAL"
|
|
83
|
-
}
|
|
84
|
-
export type QuizOptionsSheet = BasicWorksheet & {
|
|
85
|
-
type: WorksheetType.QUIZ_OPTIONS;
|
|
86
|
-
description: string;
|
|
87
|
-
options: {
|
|
88
|
-
label: string;
|
|
89
|
-
correct: boolean;
|
|
90
|
-
id: string;
|
|
91
|
-
}[];
|
|
92
|
-
multiple: boolean;
|
|
93
|
-
scoringMode: QuizScoringMode;
|
|
94
|
-
};
|
|
95
|
-
export type ListSheet = BasicWorksheet & {
|
|
96
|
-
type: WorksheetType.LIST;
|
|
97
|
-
header: string;
|
|
98
|
-
content: (JkmdSheet | CodeEditorSheet | GraphSheet | QuizProblemSheet | QuizTextSheet | QuizOptionsSheet)[];
|
|
99
|
-
children: ListSheet[];
|
|
100
|
-
};
|
|
101
|
-
export type NewPageSheet = BasicWorksheet & {
|
|
102
|
-
type: WorksheetType.NEW_PAGE;
|
|
103
|
-
};
|
|
104
|
-
export type BodyWorksheet = JkmdSheet | CodeEditorSheet | ListSheet | GraphSheet | QuizProblemSheet | QuizTextSheet | QuizOptionsSheet | NewPageSheet;
|
package/dist/types/sheet.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export var WorksheetType;
|
|
2
|
-
(function (WorksheetType) {
|
|
3
|
-
WorksheetType["JK_MD"] = "JK_MD";
|
|
4
|
-
WorksheetType["CODE_EDITOR"] = "CODE_EDITOR";
|
|
5
|
-
WorksheetType["LIST"] = "LIST";
|
|
6
|
-
WorksheetType["GRAPH"] = "GRAPH";
|
|
7
|
-
WorksheetType["QUIZ_PROBLEM"] = "QUIZ_PROBLEM";
|
|
8
|
-
WorksheetType["QUIZ_TEXT"] = "QUIZ_TEXT";
|
|
9
|
-
WorksheetType["QUIZ_OPTIONS"] = "QUIZ_OPTIONS";
|
|
10
|
-
WorksheetType["NEW_PAGE"] = "NEW_PAGE";
|
|
11
|
-
})(WorksheetType || (WorksheetType = {}));
|
|
12
|
-
export var QuizScoringMode;
|
|
13
|
-
(function (QuizScoringMode) {
|
|
14
|
-
QuizScoringMode["TOTAL"] = "TOTAL";
|
|
15
|
-
QuizScoringMode["PARTIAL"] = "PARTIAL";
|
|
16
|
-
})(QuizScoringMode || (QuizScoringMode = {}));
|
package/dist/types/users.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ProfileSetting } from './account.js';
|
|
2
|
-
export var Language;
|
|
3
|
-
(function (Language) {
|
|
4
|
-
Language["ES"] = "ES";
|
|
5
|
-
Language["EN"] = "EN";
|
|
6
|
-
})(Language || (Language = {}));
|
|
7
|
-
export var Theme;
|
|
8
|
-
(function (Theme) {
|
|
9
|
-
Theme["LIGHT"] = "LIGHT";
|
|
10
|
-
Theme["DARK"] = "DARK";
|
|
11
|
-
})(Theme || (Theme = {}));
|
|
12
|
-
export var DataViewMode;
|
|
13
|
-
(function (DataViewMode) {
|
|
14
|
-
DataViewMode["CARDS"] = "CARDS";
|
|
15
|
-
DataViewMode["ROWS"] = "ROWS";
|
|
16
|
-
})(DataViewMode || (DataViewMode = {}));
|
|
17
|
-
export var MenuViewMode;
|
|
18
|
-
(function (MenuViewMode) {
|
|
19
|
-
MenuViewMode["HORIZONTAL"] = "HORIZONTAL";
|
|
20
|
-
MenuViewMode["VERTICAL"] = "VERTICAL";
|
|
21
|
-
})(MenuViewMode || (MenuViewMode = {}));
|
|
22
|
-
export var Role;
|
|
23
|
-
(function (Role) {
|
|
24
|
-
Role["SUPER_ADMIN"] = "SUPER_ADMIN";
|
|
25
|
-
Role["ADMIN"] = "ADMIN";
|
|
26
|
-
Role["MASTER"] = "MASTER";
|
|
27
|
-
Role["MANAGER"] = "MANAGER";
|
|
28
|
-
Role["CREATOR"] = "CREATOR";
|
|
29
|
-
Role["REGULAR"] = "REGULAR";
|
|
30
|
-
Role["LIMITED"] = "LIMITED";
|
|
31
|
-
Role["GUEST"] = "GUEST";
|
|
32
|
-
Role["RESTRICTED"] = "RESTRICTED";
|
|
33
|
-
})(Role || (Role = {}));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export { AssignmentClassType } from './AssignmentClassType.js';
|
|
2
|
-
export { ContestStatus } from './ContestStatus.js';
|
|
3
|
-
export { ContestProblemPrerequisiteType } from './ContestProblemPrerequisiteType.js';
|
|
4
2
|
export { ContestEventAction } from './ContestEventAction.js';
|
|
3
|
+
export { ContestProblemPrerequisiteType } from './ContestProblemPrerequisiteType.js';
|
|
4
|
+
export { ContestRole } from './ContestRole.js';
|
|
5
|
+
export { ContestStatus } from './ContestStatus.js';
|
|
6
|
+
export { CourseRole } from './CourseRole.js';
|
|
5
7
|
export { EntityObjectType } from './EntityObjectType.js';
|
|
6
|
-
export { EntitySubjectType } from './EntitySubjectType.js';
|
|
7
8
|
export { EntityRole } from './EntityRole.js';
|
|
8
|
-
export {
|
|
9
|
+
export { EntitySubjectType } from './EntitySubjectType.js';
|
|
10
|
+
export { FileRole } from './FileRole.js';
|
|
9
11
|
export { FileType } from './FileType.js';
|
|
10
12
|
export { GroupType } from './GroupType.js';
|
|
11
13
|
export { JudgeType } from './JudgeType.js';
|
|
12
14
|
export { OrganizationPlan } from './OrganizationPlan.js';
|
|
13
|
-
export {
|
|
15
|
+
export { ProblemRole } from './ProblemRole.js';
|
|
14
16
|
export { ProblemScoringMode } from './ProblemScoringMode.js';
|
|
17
|
+
export { ProblemType } from './ProblemType.js';
|
|
15
18
|
export { ProblemVerdict } from './ProblemVerdict.js';
|
|
19
|
+
export { ShareLinkVisibility } from './ShareLinkVisibility.js';
|
|
16
20
|
export { SubmissionRunStatus } from './SubmissionRunStatus.js';
|
|
17
|
-
export { TelemetryType } from './TelemetryType.js';
|
|
18
|
-
export { UserRole } from './UserRole.js';
|
|
19
21
|
export { SystemRole } from './SystemRole.js';
|
|
20
|
-
export { ProblemRole } from './ProblemRole.js';
|
|
21
|
-
export { ContestRole } from './ContestRole.js';
|
|
22
22
|
export { TeamRole } from './TeamRole.js';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
23
|
+
export { TelemetryType } from './TelemetryType.js';
|
|
24
|
+
export { UserRole } from './UserRole.js';
|
|
25
25
|
export { WorkingIn } from './WorkingIn.js';
|
|
26
26
|
export { WorksheetContentType } from './WorksheetContentType.js';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export { AssignmentClassType } from './AssignmentClassType.js';
|
|
2
|
-
export { ContestStatus } from './ContestStatus.js';
|
|
3
|
-
export { ContestProblemPrerequisiteType } from './ContestProblemPrerequisiteType.js';
|
|
4
2
|
export { ContestEventAction } from './ContestEventAction.js';
|
|
3
|
+
export { ContestProblemPrerequisiteType } from './ContestProblemPrerequisiteType.js';
|
|
4
|
+
export { ContestRole } from './ContestRole.js';
|
|
5
|
+
export { ContestStatus } from './ContestStatus.js';
|
|
6
|
+
export { CourseRole } from './CourseRole.js';
|
|
5
7
|
export { EntityObjectType } from './EntityObjectType.js';
|
|
6
|
-
export { EntitySubjectType } from './EntitySubjectType.js';
|
|
7
8
|
export { EntityRole } from './EntityRole.js';
|
|
8
|
-
export {
|
|
9
|
+
export { EntitySubjectType } from './EntitySubjectType.js';
|
|
10
|
+
export { FileRole } from './FileRole.js';
|
|
9
11
|
export { FileType } from './FileType.js';
|
|
10
12
|
export { GroupType } from './GroupType.js';
|
|
11
13
|
export { JudgeType } from './JudgeType.js';
|
|
12
14
|
export { OrganizationPlan } from './OrganizationPlan.js';
|
|
13
|
-
export {
|
|
15
|
+
export { ProblemRole } from './ProblemRole.js';
|
|
14
16
|
export { ProblemScoringMode } from './ProblemScoringMode.js';
|
|
17
|
+
export { ProblemType } from './ProblemType.js';
|
|
15
18
|
export { ProblemVerdict } from './ProblemVerdict.js';
|
|
19
|
+
export { ShareLinkVisibility } from './ShareLinkVisibility.js';
|
|
16
20
|
export { SubmissionRunStatus } from './SubmissionRunStatus.js';
|
|
17
|
-
export { TelemetryType } from './TelemetryType.js';
|
|
18
|
-
export { UserRole } from './UserRole.js';
|
|
19
21
|
export { SystemRole } from './SystemRole.js';
|
|
20
|
-
export { ProblemRole } from './ProblemRole.js';
|
|
21
|
-
export { ContestRole } from './ContestRole.js';
|
|
22
22
|
export { TeamRole } from './TeamRole.js';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
23
|
+
export { TelemetryType } from './TelemetryType.js';
|
|
24
|
+
export { UserRole } from './UserRole.js';
|
|
25
25
|
export { WorkingIn } from './WorkingIn.js';
|
|
26
26
|
export { WorksheetContentType } from './WorksheetContentType.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|