File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/packages/templating/scripts/components/input-script Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { UMB_SCRIPT_ITEM_REPOSITORY_ALIAS } from '../../repository/item/index.js' ;
2
2
import { UMB_SCRIPT_PICKER_MODAL } from '../../modals/script-picker-modal.token.js' ;
3
- import type { UmbScriptItemModel } from '../../index.js' ;
3
+ import type { UmbScriptItemModel , UmbScriptTreeItemModel } from '../../index.js' ;
4
4
import { UmbPickerInputContext } from '@umbraco-cms/backoffice/picker-input' ;
5
5
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api' ;
6
6
7
- export class UmbScriptPickerContext extends UmbPickerInputContext < UmbScriptItemModel > {
7
+ export class UmbScriptPickerContext extends UmbPickerInputContext < UmbScriptItemModel , UmbScriptTreeItemModel > {
8
8
constructor ( host : UmbControllerHost ) {
9
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
10
- // @ts -ignore
11
9
super ( host , UMB_SCRIPT_ITEM_REPOSITORY_ALIAS , UMB_SCRIPT_PICKER_MODAL ) ;
12
10
}
13
11
}
You can’t perform that action at this time.
0 commit comments