@juki-team/commons 0.2.1 → 0.2.4
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 +1 -1
- package/dist/constants/commons.js +1 -1
- 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/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/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/virtualUser.d.ts +1 -2
- package/dist/dto/worksheetSubmission.d.ts +2 -1
- package/dist/dto/worksheetSubmission.js +1 -1
- 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/assignment.js +1 -1
- package/dist/helpers/document.d.ts +2 -1
- package/dist/helpers/document.js +1 -1
- package/dist/helpers/errors.d.ts +1 -1
- package/dist/helpers/judging.d.ts +1 -1
- package/dist/helpers/judging.js +1 -1
- package/dist/helpers/problem.d.ts +1 -1
- package/dist/helpers/responses.d.ts +1 -1
- package/dist/helpers/responses.js +1 -1
- package/dist/helpers/socket.d.ts +2 -1
- package/dist/helpers/socket.js +4 -5
- package/dist/helpers/worksheet.d.ts +1 -1
- package/dist/helpers/worksheet.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types/assignment.d.ts +1 -7
- package/dist/types/assignment.js +1 -7
- package/dist/types/class.d.ts +2 -1
- package/dist/types/contest.d.ts +2 -8
- package/dist/types/contest.js +1 -6
- package/dist/types/course.d.ts +2 -1
- package/dist/types/entity.d.ts +1 -57
- package/dist/types/entity.js +1 -64
- 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/index.d.ts +23 -28
- package/dist/types/index.js +1 -28
- 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/problem.d.ts +1 -15
- package/dist/types/problem.js +1 -16
- package/dist/types/services.d.ts +1 -135
- package/dist/types/services.js +1 -147
- package/dist/types/socket.d.ts +1 -46
- package/dist/types/socket.js +1 -49
- package/dist/types/teams.d.ts +1 -24
- package/dist/types/teams.js +1 -28
- package/dist/types/text.d.ts +1 -1
- package/dist/types/user.d.ts +1 -29
- package/dist/types/user.js +1 -33
- package/dist/types/worksheet.d.ts +9 -35
- package/dist/types/worksheet.js +1 -27
- package/package.json +7 -5
- package/dist/types/code.d.ts +0 -39
- package/dist/types/code.js +0 -41
- 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/profile.d.ts +0 -9
- package/dist/types/profile.js +0 -10
- package/dist/types/state.d.ts +0 -12
- package/dist/types/state.js +0 -14
- /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 +0 -0
- /package/dist/{prisma/enums → enums/prisma}/index.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getErrorMessage } from '../constants/index.js';
|
|
2
|
-
import { ErrorCode
|
|
2
|
+
import { ErrorCode } from '../enums/index.js';
|
|
3
3
|
import { consoleError } from './console.js';
|
|
4
4
|
import { JkError } from './errors.js';
|
|
5
5
|
import { isStringJson } from './json.js';
|
package/dist/helpers/socket.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChatCompletionsWebSocketEventDTO, ClientTrackDeviceWebSocketEventDTO, ClientTrackLocationWebSocketEventDTO, ClientTrackScreenshotWebSocketEventDTO, ClientTrackWebSocketResponseEventDTO, CodeRunStatusWebSocketResponseEventDTO, ContestChangesWebSocketResponseEventDTO, PingWebSocketEventDTO, PongWebSocketResponseEventDTO, ProblemCrawledWebSocketResponseEventDTO, SendDataChatCompletionsWebSocketResponseEventDTO, SendDataClientTrackWebSocketResponseEventDTO, SendDataEc2InstancesListWebSocketResponseEventDTO, SendDataEcsTaskDefinitionListWebSocketResponseEventDTO, SendDataEcsTasksListWebSocketResponseEventDTO, SendDataRunCommandWebSocketResponseEventDTO, SendDataSsmSessionsListWebSocketResponseEventDTO, SendDataWebSocketResponseEventDTO, SubmissionRunStatusWebSocketResponseEventDTO, SubmissionsCrawlWebSocketResponseEventDTO, SubscribeClientTrackWebSocketEventDTO, SubscribeCodeRunStatusWebSocketEventDTO, SubscribeContestChangesWebSocketEventDTO, SubscribeGetDataWebSocketEventDTO, SubscribeProblemCrawledWebSocketEventDTO, SubscribeSubmissionRunStatusWebSocketEventDTO, SubscribeSubmissionsCrawlWebSocketEventDTO, SubscribeUserNotificationWebsocketEventDTO, UnsubscribeClientTrackWebSocketEventDTO, UnsubscribeCodeRunStatusWebSocketEventDTO, UnsubscribeContestChangesWebSocketEventDTO, UnsubscribeGetDataWebSocketEventDTO, UnsubscribeProblemCrawledWebSocketEventDTO, UnsubscribeSubmissionRunStatusWebSocketEventDTO, UnsubscribeSubmissionsCrawlWebSocketEventDTO, UnsubscribeUserNotificationWebSocketEventDTO, UserMessageWebSocketResponseEventDTO, UserNotificationContestClarificationWebSocketResponseEventDTO, UserNotificationSubmissionWebSocketResponseEventDTO, UserNotificationWebSocketResponseEventDTO, WebSocketMessageEventDTO, WebSocketResponseEventDTO, WebSocketSubscribeEventDTO, WebSocketUnsubscribeEventDTO } from '../dto/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WebSocketResponseEvent } from '../enums/index.js';
|
|
3
|
+
import type { ClientId, WebSocketResponseEventKey } from '../types/index.js';
|
|
3
4
|
export declare const isWebsocketSubscription: (event: unknown) => event is WebSocketSubscribeEventDTO | WebSocketUnsubscribeEventDTO | WebSocketMessageEventDTO;
|
|
4
5
|
export declare const isPingWebSocketEventDTO: (event: unknown) => event is PingWebSocketEventDTO;
|
|
5
6
|
export declare const isClientTrackLocationWebSocketEventDTO: (event: unknown) => event is ClientTrackLocationWebSocketEventDTO;
|
package/dist/helpers/socket.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ProblemVerdict, SubmissionRunStatus } from '../
|
|
2
|
-
import { WebSocketMessageEvent, WebSocketResponseEvent, WebSocketSubscriptionEvent, } from '../types/index.js';
|
|
1
|
+
import { ProblemVerdict, SubmissionRunStatus, WebSocketMessageEvent, WebSocketResponseEvent, WebSocketSubscriptionEvent, } from '../enums/index.js';
|
|
3
2
|
export const isWebsocketSubscription = (event) => {
|
|
4
3
|
if (typeof event !== 'object' || event === null)
|
|
5
4
|
return false;
|
|
@@ -112,7 +111,7 @@ export const isCodeRunStatusMessageWebSocketResponseEventDTO = (event) => {
|
|
|
112
111
|
return (event.event === WebSocketResponseEvent.CODE_RUN_STATUS &&
|
|
113
112
|
typeof v.runId === 'string' &&
|
|
114
113
|
!!v.runId &&
|
|
115
|
-
v.status
|
|
114
|
+
Object.values(SubmissionRunStatus).includes(v.status));
|
|
116
115
|
};
|
|
117
116
|
export const isSubmissionRunStatusMessageWebSocketResponseEventDTO = (event) => {
|
|
118
117
|
if (!isWebSocketResponseEventDTO(event))
|
|
@@ -121,8 +120,8 @@ export const isSubmissionRunStatusMessageWebSocketResponseEventDTO = (event) =>
|
|
|
121
120
|
return (event.event === WebSocketResponseEvent.SUBMISSION_RUN_STATUS &&
|
|
122
121
|
typeof v.submitId === 'string' &&
|
|
123
122
|
!!v.submitId &&
|
|
124
|
-
v.status
|
|
125
|
-
v.verdict
|
|
123
|
+
Object.values(SubmissionRunStatus).includes(v.status) &&
|
|
124
|
+
Object.values(ProblemVerdict).includes(v.verdict) &&
|
|
126
125
|
typeof v.points === 'number');
|
|
127
126
|
};
|
|
128
127
|
export const isUserMessageWebSocketResponseEventDTO = (event) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { BasicWorksheet, BodyWorksheet, CodeEditorSheet, JkmdSheet, QuizOptionsSheet, QuizProblemSheet, QuizTextSheet, SummaryWorksheetsInPages, WorksheetsInPages } from '../types/index.js';
|
|
2
2
|
export declare const getWorksheetsInPages: (initialSheets: BodyWorksheet[]) => WorksheetsInPages;
|
|
3
3
|
export declare const getSummaryWorksheetsInPages: (initialSheets: BodyWorksheet[]) => SummaryWorksheetsInPages;
|
|
4
4
|
export declare const getTotalExercisesOfSummaryWorksheetsInPages: (content: SummaryWorksheetsInPages) => number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NEW_PAGE_SHEET } from '../constants/worksheet.js';
|
|
2
|
-
import { Judge, WorksheetType
|
|
2
|
+
import { Judge, WorksheetType } from '../enums/index.js';
|
|
3
3
|
export const getWorksheetsInPages = (initialSheets) => {
|
|
4
4
|
const sheets = [...initialSheets];
|
|
5
5
|
if (sheets[0]?.type !== WorksheetType.NEW_PAGE) {
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type { EntityState } from '
|
|
1
|
+
import type { AssignmentClass, EntityState } from '../enums/index.js';
|
|
2
2
|
import type { BodyWorksheet } from './worksheet.js';
|
|
3
|
-
export declare enum AssignmentClass {
|
|
4
|
-
NONE = "NONE",
|
|
5
|
-
COURSE = "COURSE",
|
|
6
|
-
WORKSHEET = "WORKSHEET",
|
|
7
|
-
CONTEST = "CONTEST"
|
|
8
|
-
}
|
|
9
3
|
export interface AssignmentBasicInfo {
|
|
10
4
|
id: string;
|
|
11
5
|
index: number;
|
package/dist/types/assignment.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (AssignmentClass) {
|
|
3
|
-
AssignmentClass["NONE"] = "NONE";
|
|
4
|
-
AssignmentClass["COURSE"] = "COURSE";
|
|
5
|
-
AssignmentClass["WORKSHEET"] = "WORKSHEET";
|
|
6
|
-
AssignmentClass["CONTEST"] = "CONTEST";
|
|
7
|
-
})(AssignmentClass || (AssignmentClass = {}));
|
|
1
|
+
export {};
|
package/dist/types/class.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { EntityState } from '../enums/index.js';
|
|
1
2
|
import type { ClassCycleSessionAssignments } from './assignment.js';
|
|
2
|
-
import type { EntityMembers
|
|
3
|
+
import type { EntityMembers } from './entity.js';
|
|
3
4
|
interface ClassCycleSession {
|
|
4
5
|
id: string;
|
|
5
6
|
index: number;
|
package/dist/types/contest.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import type { ContestDataResponseDTO, UpsertContestDTO, UserOrganizationBasicInfoResponseDTO } from '../dto/index.js';
|
|
2
|
-
import type { ContestEventAction, ContestProblemPrerequisiteType } from '../
|
|
3
|
-
import type { CodeLanguage } from './code.js';
|
|
2
|
+
import type { CodeLanguage, ContestEventAction, ContestProblemPrerequisiteType, Judge } from '../enums/index.js';
|
|
4
3
|
import type { EntityMembers } from './entity.js';
|
|
5
|
-
import type { Judge } from './judge.js';
|
|
6
4
|
import type { UserBasicInfo } from './user.js';
|
|
7
|
-
export declare enum ContestTimeStatus {
|
|
8
|
-
UPCOMING = "upcoming",
|
|
9
|
-
LIVE = "live",
|
|
10
|
-
PAST = "past"
|
|
11
|
-
}
|
|
12
5
|
export type MetaProblemSearcher = {
|
|
13
6
|
name: string;
|
|
14
7
|
url: string;
|
|
@@ -117,6 +110,7 @@ export interface ContestBaseDocument {
|
|
|
117
110
|
description: string;
|
|
118
111
|
settings: ContestSettings;
|
|
119
112
|
problems: Record<string, ContestProblem>;
|
|
113
|
+
problemsOrdered?: string[];
|
|
120
114
|
members: EntityMembers;
|
|
121
115
|
tags: string[];
|
|
122
116
|
groups: Record<string, ContestGroup>;
|
package/dist/types/contest.js
CHANGED
package/dist/types/course.d.ts
CHANGED
package/dist/types/entity.d.ts
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
import type { UserOrganizationBasicInfoResponseDTO } from '../dto/index.js';
|
|
2
|
-
|
|
3
|
-
NONE = "NONE",
|
|
4
|
-
CLOSE = "CLOSE",
|
|
5
|
-
OPEN = "OPEN"
|
|
6
|
-
}
|
|
7
|
-
export declare enum EntityState {
|
|
8
|
-
RELEASED = "RELEASED",
|
|
9
|
-
ARCHIVED = "ARCHIVED"
|
|
10
|
-
}
|
|
11
|
-
export declare enum EntityStatus {
|
|
12
|
-
PUBLIC = "PUBLIC",
|
|
13
|
-
RESERVED = "RESERVED",
|
|
14
|
-
PRIVATE = "PRIVATE",
|
|
15
|
-
ARCHIVED = "ARCHIVED"
|
|
16
|
-
}
|
|
17
|
-
export declare enum EntityAccess {
|
|
18
|
-
PRIVATE = "PRIVATE",
|
|
19
|
-
RESTRICTED = "RESTRICTED",
|
|
20
|
-
PUBLIC = "PUBLIC",
|
|
21
|
-
EXPOSED = "EXPOSED"
|
|
22
|
-
}
|
|
2
|
+
import type { EntityMembersRank, EntityState, LogOperation } from '../enums/index.js';
|
|
23
3
|
export type EntityUsersMemberUserData = {
|
|
24
4
|
userId: string;
|
|
25
5
|
lastVisitTimestamp: number | null;
|
|
@@ -85,42 +65,6 @@ export interface EntityLogsDocument {
|
|
|
85
65
|
export type NewEntityDocument<T> = T & EntityCompanyDocument & EntityOwnerDocument & EntityTimestampsDocument & EntityStateDocument & EntityLogsDocument;
|
|
86
66
|
export type CreateEntityDocument<T> = Omit<T, '_id' | 'createdAt' | 'updatedAt' | 'companyId' | 'ownerUserId' | 'state' | 'logs'>;
|
|
87
67
|
export type UpdateEntityDocument<T> = Partial<Omit<T, '_id' | 'createdAt' | 'updatedAt' | 'companyId' | 'ownerUserId' | 'state' | 'logs' | 'key'>>;
|
|
88
|
-
export declare enum EntityCollection {
|
|
89
|
-
COMPANY = "COMPANY",
|
|
90
|
-
PROBLEM = "PROBLEM",
|
|
91
|
-
CONTEST = "CONTEST",
|
|
92
|
-
JUDGE = "JUDGE",
|
|
93
|
-
USER = "USER",
|
|
94
|
-
SUBMISSION = "SUBMISSION"
|
|
95
|
-
}
|
|
96
|
-
export declare enum CollectionKey {
|
|
97
|
-
COMPANY = "C",
|
|
98
|
-
USER = "U",
|
|
99
|
-
PROBLEM = "P",
|
|
100
|
-
CLASS = "K",
|
|
101
|
-
CLASS_ASSIGNMENT = "KA",
|
|
102
|
-
CONTEST = "T",
|
|
103
|
-
SCOREBOARD = "B",
|
|
104
|
-
SCOREBOARD_EVENTS = "BE",
|
|
105
|
-
COURSE = "R",
|
|
106
|
-
FILE = "F",
|
|
107
|
-
GROUP = "G",
|
|
108
|
-
JUDGE = "J",
|
|
109
|
-
WORKSHEET = "W",
|
|
110
|
-
WORKSHEET_SUBMISSIONS = "WS",
|
|
111
|
-
SUBMIT = "S",
|
|
112
|
-
LOCALE = "L",
|
|
113
|
-
COMMENT = "M",
|
|
114
|
-
EXCALIDRAW = "E",
|
|
115
|
-
MARKDOWN = "MD",
|
|
116
|
-
DOCUMENT_TEMPLATE = "DT",
|
|
117
|
-
MERMAID = "MM"
|
|
118
|
-
}
|
|
119
|
-
export declare enum LogOperation {
|
|
120
|
-
REMOVE = "REMOVE",
|
|
121
|
-
ADD = "ADD",
|
|
122
|
-
UPDATE = "UPDATE"
|
|
123
|
-
}
|
|
124
68
|
export interface LogDataResponseDTO {
|
|
125
69
|
changes: EntityLogChanges[];
|
|
126
70
|
timestamp: number;
|
package/dist/types/entity.js
CHANGED
|
@@ -1,64 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (EntityMembersRank) {
|
|
3
|
-
EntityMembersRank["NONE"] = "NONE";
|
|
4
|
-
EntityMembersRank["CLOSE"] = "CLOSE";
|
|
5
|
-
EntityMembersRank["OPEN"] = "OPEN";
|
|
6
|
-
})(EntityMembersRank || (EntityMembersRank = {}));
|
|
7
|
-
export var EntityState;
|
|
8
|
-
(function (EntityState) {
|
|
9
|
-
EntityState["RELEASED"] = "RELEASED";
|
|
10
|
-
EntityState["ARCHIVED"] = "ARCHIVED";
|
|
11
|
-
})(EntityState || (EntityState = {}));
|
|
12
|
-
export var EntityStatus;
|
|
13
|
-
(function (EntityStatus) {
|
|
14
|
-
EntityStatus["PUBLIC"] = "PUBLIC";
|
|
15
|
-
EntityStatus["RESERVED"] = "RESERVED";
|
|
16
|
-
EntityStatus["PRIVATE"] = "PRIVATE";
|
|
17
|
-
EntityStatus["ARCHIVED"] = "ARCHIVED";
|
|
18
|
-
})(EntityStatus || (EntityStatus = {}));
|
|
19
|
-
export var EntityAccess;
|
|
20
|
-
(function (EntityAccess) {
|
|
21
|
-
EntityAccess["PRIVATE"] = "PRIVATE";
|
|
22
|
-
EntityAccess["RESTRICTED"] = "RESTRICTED";
|
|
23
|
-
EntityAccess["PUBLIC"] = "PUBLIC";
|
|
24
|
-
EntityAccess["EXPOSED"] = "EXPOSED";
|
|
25
|
-
})(EntityAccess || (EntityAccess = {}));
|
|
26
|
-
export var EntityCollection;
|
|
27
|
-
(function (EntityCollection) {
|
|
28
|
-
EntityCollection["COMPANY"] = "COMPANY";
|
|
29
|
-
EntityCollection["PROBLEM"] = "PROBLEM";
|
|
30
|
-
EntityCollection["CONTEST"] = "CONTEST";
|
|
31
|
-
EntityCollection["JUDGE"] = "JUDGE";
|
|
32
|
-
EntityCollection["USER"] = "USER";
|
|
33
|
-
EntityCollection["SUBMISSION"] = "SUBMISSION";
|
|
34
|
-
})(EntityCollection || (EntityCollection = {}));
|
|
35
|
-
export var CollectionKey;
|
|
36
|
-
(function (CollectionKey) {
|
|
37
|
-
CollectionKey["COMPANY"] = "C";
|
|
38
|
-
CollectionKey["USER"] = "U";
|
|
39
|
-
CollectionKey["PROBLEM"] = "P";
|
|
40
|
-
CollectionKey["CLASS"] = "K";
|
|
41
|
-
CollectionKey["CLASS_ASSIGNMENT"] = "KA";
|
|
42
|
-
CollectionKey["CONTEST"] = "T";
|
|
43
|
-
CollectionKey["SCOREBOARD"] = "B";
|
|
44
|
-
CollectionKey["SCOREBOARD_EVENTS"] = "BE";
|
|
45
|
-
CollectionKey["COURSE"] = "R";
|
|
46
|
-
CollectionKey["FILE"] = "F";
|
|
47
|
-
CollectionKey["GROUP"] = "G";
|
|
48
|
-
CollectionKey["JUDGE"] = "J";
|
|
49
|
-
CollectionKey["WORKSHEET"] = "W";
|
|
50
|
-
CollectionKey["WORKSHEET_SUBMISSIONS"] = "WS";
|
|
51
|
-
CollectionKey["SUBMIT"] = "S";
|
|
52
|
-
CollectionKey["LOCALE"] = "L";
|
|
53
|
-
CollectionKey["COMMENT"] = "M";
|
|
54
|
-
CollectionKey["EXCALIDRAW"] = "E";
|
|
55
|
-
CollectionKey["MARKDOWN"] = "MD";
|
|
56
|
-
CollectionKey["DOCUMENT_TEMPLATE"] = "DT";
|
|
57
|
-
CollectionKey["MERMAID"] = "MM";
|
|
58
|
-
})(CollectionKey || (CollectionKey = {}));
|
|
59
|
-
export var LogOperation;
|
|
60
|
-
(function (LogOperation) {
|
|
61
|
-
LogOperation["REMOVE"] = "REMOVE";
|
|
62
|
-
LogOperation["ADD"] = "ADD";
|
|
63
|
-
LogOperation["UPDATE"] = "UPDATE";
|
|
64
|
-
})(LogOperation || (LogOperation = {}));
|
|
1
|
+
export {};
|
package/dist/types/file.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { FileType } from '../
|
|
2
|
-
export declare enum FileMemberRole {
|
|
3
|
-
VIEWER = "VIEWER",
|
|
4
|
-
EDITOR = "EDITOR"
|
|
5
|
-
}
|
|
1
|
+
import type { FileType } from '../enums/index.js';
|
|
6
2
|
export type FolderFileContent = {
|
|
7
3
|
type: typeof FileType.FOLDER;
|
|
8
4
|
};
|
|
@@ -13,10 +9,3 @@ export type FileFileContent = {
|
|
|
13
9
|
};
|
|
14
10
|
export type FileContent = FolderFileContent | FileFileContent;
|
|
15
11
|
export type SummaryFileContent = FolderFileContent | Omit<FileFileContent, 'key'>;
|
|
16
|
-
export declare enum FilesJukiPub {
|
|
17
|
-
SHARED = "shared",// files to share
|
|
18
|
-
SHARED_EXCALIDRAW = "shared/E",// `shared/${CollectionKey.EXCALIDRAW}`,
|
|
19
|
-
TEMP = "temp",// temporal files
|
|
20
|
-
PROBLEMS = "problems",
|
|
21
|
-
CONTESTS = "contests"
|
|
22
|
-
}
|
package/dist/types/file.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (FileMemberRole) {
|
|
3
|
-
FileMemberRole["VIEWER"] = "VIEWER";
|
|
4
|
-
FileMemberRole["EDITOR"] = "EDITOR";
|
|
5
|
-
})(FileMemberRole || (FileMemberRole = {}));
|
|
6
|
-
export var FilesJukiPub;
|
|
7
|
-
(function (FilesJukiPub) {
|
|
8
|
-
FilesJukiPub["SHARED"] = "shared";
|
|
9
|
-
FilesJukiPub["SHARED_EXCALIDRAW"] = "shared/E";
|
|
10
|
-
FilesJukiPub["TEMP"] = "temp";
|
|
11
|
-
FilesJukiPub["PROBLEMS"] = "problems";
|
|
12
|
-
FilesJukiPub["CONTESTS"] = "contests";
|
|
13
|
-
})(FilesJukiPub || (FilesJukiPub = {}));
|
|
1
|
+
export {};
|
package/dist/types/group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GroupType } from '../
|
|
2
|
-
import type { EntityMembers
|
|
1
|
+
import type { EntityState, GroupType } from '../enums/index.js';
|
|
2
|
+
import type { EntityMembers } from './entity.js';
|
|
3
3
|
export interface GroupBaseDocument {
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
export * from './assignment.js';
|
|
2
|
-
export * from './class.js';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './submission.js';
|
|
25
|
-
export * from './teams.js';
|
|
26
|
-
export * from './text.js';
|
|
27
|
-
export * from './user.js';
|
|
28
|
-
export * from './worksheet.js';
|
|
1
|
+
export type * from './assignment.js';
|
|
2
|
+
export type * from './class.js';
|
|
3
|
+
export type * from './comments.js';
|
|
4
|
+
export type * from './contest.js';
|
|
5
|
+
export type * from './course.js';
|
|
6
|
+
export type * from './device.js';
|
|
7
|
+
export type * from './duration.js';
|
|
8
|
+
export type * from './entity.js';
|
|
9
|
+
export type * from './excalidraw.js';
|
|
10
|
+
export type * from './file.js';
|
|
11
|
+
export type * from './group.js';
|
|
12
|
+
export type * from './id.js';
|
|
13
|
+
export type * from './judge.js';
|
|
14
|
+
export type * from './markdown.js';
|
|
15
|
+
export type * from './mermaid.js';
|
|
16
|
+
export type * from './problem.js';
|
|
17
|
+
export type * from './services.js';
|
|
18
|
+
export type * from './socket.js';
|
|
19
|
+
export type * from './submission.js';
|
|
20
|
+
export type * from './teams.js';
|
|
21
|
+
export type * from './text.js';
|
|
22
|
+
export type * from './user.js';
|
|
23
|
+
export type * from './worksheet.js';
|
package/dist/types/index.js
CHANGED
|
@@ -1,28 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from './class.js';
|
|
3
|
-
export * from './code.js';
|
|
4
|
-
export * from './comments.js';
|
|
5
|
-
export * from './company.js';
|
|
6
|
-
export * from './contest.js';
|
|
7
|
-
export * from './course.js';
|
|
8
|
-
export * from './device.js';
|
|
9
|
-
export * from './duration.js';
|
|
10
|
-
export * from './entity.js';
|
|
11
|
-
export * from './excalidraw.js';
|
|
12
|
-
export * from './file.js';
|
|
13
|
-
export * from './group.js';
|
|
14
|
-
export * from './id.js';
|
|
15
|
-
export * from './judge.js';
|
|
16
|
-
export * from './markdown.js';
|
|
17
|
-
export * from './mermaid.js';
|
|
18
|
-
export * from './notification.js';
|
|
19
|
-
export * from './problem.js';
|
|
20
|
-
export * from './profile.js';
|
|
21
|
-
export * from './services.js';
|
|
22
|
-
export * from './socket.js';
|
|
23
|
-
export * from './state.js';
|
|
24
|
-
export * from './submission.js';
|
|
25
|
-
export * from './teams.js';
|
|
26
|
-
export * from './text.js';
|
|
27
|
-
export * from './user.js';
|
|
28
|
-
export * from './worksheet.js';
|
|
1
|
+
export {};
|
package/dist/types/judge.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ProblemVerdict } from '../
|
|
2
|
-
import type { CodeLanguage } from './code.js';
|
|
1
|
+
import type { CodeLanguage, Judge, ProblemVerdict } from '../enums/index.js';
|
|
3
2
|
import type { DataLog } from './submission.js';
|
|
4
3
|
export type JudgeLanguage = {
|
|
5
4
|
value: string;
|
|
@@ -26,21 +25,6 @@ export interface JudgeBaseDocument {
|
|
|
26
25
|
getUserSubmissionsUrl: string;
|
|
27
26
|
submissionsWithHighPriority: boolean;
|
|
28
27
|
}
|
|
29
|
-
export declare enum Judge {
|
|
30
|
-
JUKI_JUDGE = "JUKI_JUDGE",
|
|
31
|
-
CODEFORCES = "CODEFORCES",
|
|
32
|
-
CODEFORCES_GYM = "CODEFORCES_GYM",
|
|
33
|
-
JV_UMSA = "JV_UMSA",
|
|
34
|
-
UVA_ONLINE_JUDGE = "UVA_ONLINE_JUDGE",
|
|
35
|
-
AT_CODER = "AT_CODER",
|
|
36
|
-
CODECHEF = "CODECHEF",
|
|
37
|
-
TOPCODER = "TOPCODER",
|
|
38
|
-
LEETCODE = "LEETCODE"
|
|
39
|
-
}
|
|
40
|
-
export declare enum RunnerType {
|
|
41
|
-
HIGH_PERFORMANCE = "HIGH_PERFORMANCE",
|
|
42
|
-
LOW_PERFORMANCE = "LOW_PERFORMANCE"
|
|
43
|
-
}
|
|
44
28
|
export type TestCaseVerdict = DataLog & {
|
|
45
29
|
verdict: ProblemVerdict;
|
|
46
30
|
};
|
package/dist/types/judge.js
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (Judge) {
|
|
3
|
-
Judge["JUKI_JUDGE"] = "JUKI_JUDGE";
|
|
4
|
-
Judge["CODEFORCES"] = "CODEFORCES";
|
|
5
|
-
Judge["CODEFORCES_GYM"] = "CODEFORCES_GYM";
|
|
6
|
-
Judge["JV_UMSA"] = "JV_UMSA";
|
|
7
|
-
Judge["UVA_ONLINE_JUDGE"] = "UVA_ONLINE_JUDGE";
|
|
8
|
-
Judge["AT_CODER"] = "AT_CODER";
|
|
9
|
-
Judge["CODECHEF"] = "CODECHEF";
|
|
10
|
-
Judge["TOPCODER"] = "TOPCODER";
|
|
11
|
-
Judge["LEETCODE"] = "LEETCODE";
|
|
12
|
-
})(Judge || (Judge = {}));
|
|
13
|
-
export var RunnerType;
|
|
14
|
-
(function (RunnerType) {
|
|
15
|
-
RunnerType["HIGH_PERFORMANCE"] = "HIGH_PERFORMANCE";
|
|
16
|
-
RunnerType["LOW_PERFORMANCE"] = "LOW_PERFORMANCE";
|
|
17
|
-
})(RunnerType || (RunnerType = {}));
|
|
1
|
+
export {};
|
package/dist/types/markdown.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CodeLanguage } from '../enums/index.js';
|
|
2
|
+
import type { CodeEditorFiles, EntityMembers } from '../types/index.js';
|
|
2
3
|
export interface MarkdownBaseDocument {
|
|
3
4
|
key: string;
|
|
4
5
|
name: string;
|
|
5
6
|
tags: string[];
|
|
6
7
|
members: EntityMembers;
|
|
7
|
-
files: CodeEditorFiles<CodeLanguage.MARKDOWN>;
|
|
8
|
+
files: CodeEditorFiles<typeof CodeLanguage.MARKDOWN>;
|
|
8
9
|
}
|
package/dist/types/mermaid.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CodeLanguage } from '../enums/index.js';
|
|
2
|
+
import type { CodeEditorFiles, EntityMembers } from '../types/index.js';
|
|
2
3
|
export interface MermaidBaseDocument {
|
|
3
4
|
key: string;
|
|
4
5
|
name: string;
|
|
5
6
|
tags: string[];
|
|
6
7
|
members: EntityMembers;
|
|
7
|
-
files: CodeEditorFiles<CodeLanguage.MERMAID>;
|
|
8
|
+
files: CodeEditorFiles<typeof CodeLanguage.MERMAID>;
|
|
8
9
|
}
|
package/dist/types/problem.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ProblemScoringMode, ProblemType } from '../
|
|
2
|
-
import type { CodeLanguage } from './code.js';
|
|
1
|
+
import type { CodeLanguage, ProblemScoringMode, ProblemType } from '../enums/index.js';
|
|
3
2
|
import type { EntityMembers } from './entity.js';
|
|
4
3
|
import type { ProblemTestCase } from './services.js';
|
|
5
4
|
import type { TextLanguage } from './text.js';
|
|
@@ -9,19 +8,6 @@ export interface TestCase {
|
|
|
9
8
|
input: boolean;
|
|
10
9
|
output: boolean;
|
|
11
10
|
}
|
|
12
|
-
export declare enum TypeTestCase {
|
|
13
|
-
INPUT = "INPUT",
|
|
14
|
-
OUTPUT = "OUTPUT"
|
|
15
|
-
}
|
|
16
|
-
export declare enum ProblemInput {
|
|
17
|
-
STANDARD = "STANDARD",
|
|
18
|
-
INTERACTIVE = "INTERACTIVE"
|
|
19
|
-
}
|
|
20
|
-
export declare enum ProblemOutput {
|
|
21
|
-
STANDARD = "STANDARD",
|
|
22
|
-
DYNAMIC = "DYNAMIC",
|
|
23
|
-
INTERACTIVE = "INTERACTIVE"
|
|
24
|
-
}
|
|
25
11
|
export type ProblemSettingsPointsByGroups = {
|
|
26
12
|
[key: number]: {
|
|
27
13
|
points: number;
|
package/dist/types/problem.js
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
export
|
|
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 = {}));
|
|
1
|
+
export {};
|