Skip to content

Commit 24f4865

Browse files
committed
Merge branch 'main' into mcq-ui
2 parents 10a2453 + 3011ca3 commit 24f4865

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/commands/showPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export async function sendToFrontendWrapped(message: MessageType) {
7676
// TODO: This returning of status code shouldn't be necessary after refactor
7777
if (!messageHandler.panel) {
7878
console.error("ERROR: panel is not set");
79-
return;
79+
return false;
8080
}
8181
sendToFrontend(messageHandler.panel, message);
8282
}

src/utils/messages.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ export const isVscWorkspaceLocation = (s: any) =>
88
VscWorkspaceLocationArray.includes(s);
99
export type VscWorkspaceLocation = "assessment" | "playground";
1010

11+
export type VscAssessmentOverview = {
12+
type: string;
13+
closeAt: string;
14+
id: number;
15+
isPublished?: boolean;
16+
title: string;
17+
};
18+
1119
// ================================================================================
1220
// Message type definitions
1321
// ================================================================================

0 commit comments

Comments
 (0)