refactor: move from union type to object enum

This commit is contained in:
2026-07-15 02:41:17 +05:00
parent 35465f581f
commit 84f64af62d
30 changed files with 490 additions and 193 deletions
+4 -1
View File
@@ -3,7 +3,10 @@ import * as vscode from "vscode";
const NONCE_LENGTH = 32;
/** Kanban board document (columns + HTML5 drag-and-drop). */
export function getTaskKanbanHtml(webview: vscode.Webview, nonce: string): string {
export function getTaskKanbanHtml(
webview: vscode.Webview,
nonce: string,
): string {
const csp = [
"default-src 'none'",
`style-src ${webview.cspSource} 'unsafe-inline'`,