We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052d0f3 commit fe6bae7Copy full SHA for fe6bae7
src/lib/types/contest_task_pair.ts
@@ -7,15 +7,15 @@ export type ContestTaskPair = ContestTaskPairOrigin;
7
export type ContestTaskPairs = ContestTaskPair[];
8
9
// For CRUD operation parameter types
10
+export type ContestTaskPairRead = ContestTaskPair;
11
+
12
export type ContestTaskPairCreate = {
13
contestId: string;
14
taskTableIndex: string;
15
taskId: string;
16
};
17
-export type ContestTaskPairRead = ContestTaskPairCreate;
-
18
-export type ContestTaskPairUpdate = ContestTaskPairCreate;
+export type ContestTaskPairUpdate = Partial<ContestTaskPairCreate>;
19
20
// For mapping and identification
21
export type ContestTaskPairKey = `${string}:${string}`; // "contest_id:task_id"
0 commit comments