use correct type
This commit is contained in:
@@ -7,7 +7,7 @@ const DefaultDataTypeData = {
|
||||
key: '',
|
||||
name: '',
|
||||
icon: '',
|
||||
type: 'dataType',
|
||||
type: 'data-type',
|
||||
hasChildren: false,
|
||||
parentKey: '',
|
||||
propertyEditorModelAlias: '',
|
||||
@@ -15,7 +15,10 @@ const DefaultDataTypeData = {
|
||||
data: [],
|
||||
} as UmbDataTypeStoreItemType;
|
||||
|
||||
export class UmbWorkspaceDataTypeContext extends UmbWorkspaceContentContext<UmbDataTypeStoreItemType, UmbDataTypeStore> {
|
||||
export class UmbWorkspaceDataTypeContext extends UmbWorkspaceContentContext<
|
||||
UmbDataTypeStoreItemType,
|
||||
UmbDataTypeStore
|
||||
> {
|
||||
constructor(host: UmbControllerHostInterface, entityKey: string) {
|
||||
super(host, DefaultDataTypeData, 'umbDataTypeStore', entityKey, 'dataType');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user