This commit is contained in:
Asier Isayas 2025-03-24 14:06:15 -04:00
parent 23852dcd69
commit 6032b39058
2 changed files with 6 additions and 1 deletions

View File

@ -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") {

View File

@ -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();