mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-14 21:58:14 +01:00
debug
This commit is contained in:
parent
23852dcd69
commit
6032b39058
@ -2,6 +2,7 @@
|
||||
* @module SelfServe/Decorators
|
||||
*/
|
||||
|
||||
import MaterializedViewsBuilder from "SelfServe/MaterializedViewsBuilder/MaterializedViewsBuilder";
|
||||
import {
|
||||
ChoiceItem,
|
||||
Description,
|
||||
@ -140,6 +141,10 @@ const addToMap = (...decorators: Decorator[]): PropertyDecorator => {
|
||||
console.log(target);
|
||||
console.log(target instanceof SelfServeBaseClass)
|
||||
console.log(target.constructor.name)
|
||||
console.log((target as SelfServeBaseClass))
|
||||
console.log((target as SelfServeBaseClass).test)
|
||||
console.log((target as MaterializedViewsBuilder))
|
||||
console.log((target as MaterializedViewsBuilder).test)
|
||||
let className = target.constructor.name;
|
||||
const propertyName = property.toString();
|
||||
if (className === "Function") {
|
||||
|
@ -122,7 +122,7 @@ export abstract class SelfServeBaseClass {
|
||||
public abstract onRefresh: () => Promise<RefreshResult>;
|
||||
|
||||
public abstract getSelfServeType: () => SelfServeType;
|
||||
|
||||
public test: string = "hello";
|
||||
/**@internal */
|
||||
public toSelfServeDescriptor(): SelfServeDescriptor {
|
||||
const className: string = this.getSelfServeType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user