mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-07 08:53:25 +01:00
20 lines
347 B
TypeScript
20 lines
347 B
TypeScript
import {ApplicationContext} from "context";
|
|
import {WorkbenchService} from "cad/workbench/workbenchService";
|
|
|
|
|
|
declare module 'context' {
|
|
interface CoreContext {
|
|
|
|
workbenchService: WorkbenchService;
|
|
}
|
|
}
|
|
|
|
|
|
export const WorkbenchPlugin = {
|
|
|
|
activate(ctx: ApplicationContext) {
|
|
|
|
ctx.workbenchService = new WorkbenchService(ctx);
|
|
}
|
|
|
|
}
|