refactor: pipeline edit view

This commit is contained in:
xiaojunnuo
2022-10-26 09:02:47 +08:00
parent af919c2f6e
commit 370a28c10e
48 changed files with 1606 additions and 3 deletions
@@ -0,0 +1,16 @@
export interface ServiceContext {
get(name: string): any;
register(name: string, service: any): void;
}
export class ServiceContextImpl implements ServiceContext {
register(name: string, service: any): void {}
storage: {
[key: string]: any;
} = {};
get(name: string): any {
return this.storage[name];
}
}
export const serviceContext = new ServiceContextImpl();