File tree Expand file tree Collapse file tree 4 files changed +14
-15
lines changed
packages/dbml-vs-code-extension/extension Expand file tree Collapse file tree 4 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 11import { Theme } from "json-table-schema-visualizer/src/types/theme" ;
22import { workspace , WorkspaceConfiguration } from "vscode" ;
3- import { ConfigKeys } from ".. /types/configKeys" ;
4- import { DefaultPageConfig } from ".. /types/defaultPageConfig" ;
3+ import { ConfigKeys } from "@/extension /types/configKeys" ;
4+ import { DefaultPageConfig } from "@/extension /types/defaultPageConfig" ;
55
66export class ExtensionConfig {
77 private config : WorkspaceConfiguration ;
Original file line number Diff line number Diff line change 11import { commands , ExtensionContext } from "vscode" ;
2- import { MainPanel } from ". /views/panel" ;
3- import { EXTENSION_CONFIG_SESSION } from ". /constants" ;
2+ import { MainPanel } from "@/extension /views/panel" ;
3+ import { EXTENSION_CONFIG_SESSION } from "@/extension /constants" ;
44
55export function activate ( context : ExtensionContext ) {
66 // Add command to the extension context
Original file line number Diff line number Diff line change 1+ import { Disposable , ExtensionContext , Webview } from "vscode" ;
12import {
2- Disposable ,
3- ExtensionContext ,
4- Webview ,
5- } from "vscode" ;
6- import { WebviewCommand , WebviewPostMessage } from "@/extension/types/webviewCommand" ;
7- import { WEBVIEW_HTML_MARKER_FOR_DEFAULT_CONFIG } from "../constants" ;
8- import { DefaultPageConfig } from "../types/defaultPageConfig" ;
9- import { ExtensionConfig } from "../helper/extensionConfigs" ;
3+ WebviewCommand ,
4+ WebviewPostMessage ,
5+ } from "@/extension/types/webviewCommand" ;
6+ import { WEBVIEW_HTML_MARKER_FOR_DEFAULT_CONFIG } from "@/extension/constants" ;
7+ import { DefaultPageConfig } from "@/extension/types/defaultPageConfig" ;
8+ import { ExtensionConfig } from "@/extension/helper/extensionConfigs" ;
109import { Theme } from "json-table-schema-visualizer/src/types/theme" ;
1110
1211export class WebviewHelper {
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import {
88 window ,
99 workspace ,
1010} from "vscode" ;
11- import { WebviewHelper } from ". /helper" ;
11+ import { WebviewHelper } from "@/extension/views /helper" ;
1212import { parseDBMLToJSON } from "dbml-to-json-table-schema" ;
1313import {
1414 DIAGRAM_UPDATER_DEBOUNCE_TIME ,
1515 WEB_VIEW_NAME ,
1616 WEB_VIEW_TITLE ,
17- } from ".. /constants" ;
18- import { ExtensionConfig } from ".. /helper/extensionConfigs" ;
17+ } from "@/extension /constants" ;
18+ import { ExtensionConfig } from "@/extension /helper/extensionConfigs" ;
1919
2020export class MainPanel {
2121 public static currentPanel : MainPanel | undefined ;
You can’t perform that action at this time.
0 commit comments