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