DashboardInsightCollectionBuilder

메서드

constructor

정의:

constructor(doc: Y.Doc, dsl: Y.Map<any>, dashboardBuilder: TDashboardBuilder)

매개변수:

매개변수타입설명
docY.Doc-
dslY.Map-
dashboardBuilderTDashboardBuilder-

add

정의:

add(callback: (insight: DashboardInsightBuilder<TQueryDSL, TSeedDSL>) => void): TDashboardBuilder

반환: TDashboardBuilder

매개변수:

매개변수타입설명
callback(insight: DashboardInsightBuilder<TQueryDSL, TSeedDSL>) => void-

update

정의:

update(widgetId: string, callback: (insight: DashboardInsightBuilder<TQueryDSL, TSeedDSL>) => void): TDashboardBuilder

반환: TDashboardBuilder

매개변수:

매개변수타입설명
widgetIdstring-
callback(insight: DashboardInsightBuilder<TQueryDSL, TSeedDSL>) => void-

remove

정의:

remove(widgetId: string): TDashboardBuilder

반환: TDashboardBuilder

매개변수:

매개변수타입설명
widgetIdstring-

get

정의:

get(widgetId: string): DashboardInsightBuilder<TQueryDSL, TSeedDSL> | undefined

반환: DashboardInsightBuilder<TQueryDSL, TSeedDSL> \| undefined

매개변수:

매개변수타입설명
widgetIdstring-

find

정의:

find(id: string): DashboardInsightBuilder<TQueryDSL, TSeedDSL> | undefined

반환: DashboardInsightBuilder<TQueryDSL, TSeedDSL> \| undefined

매개변수:

매개변수타입설명
idstring-

findAll

정의:

findAll(): DashboardInsightBuilder<TQueryDSL, TSeedDSL>[]

반환: DashboardInsightBuilder<TQueryDSL, TSeedDSL>[]

toJSON

정의:

toJSON(): VBIDashboardWidget[]

반환: VBIDashboardWidget[]