correct imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { HTMLElementConstructor } from '@umbraco-cms/models';
|
||||
import { UmbControllerInterface } from './controller.interface';
|
||||
import type { HTMLElementConstructor } from '@umbraco-cms/models';
|
||||
|
||||
export declare class UmbControllerHostInterface extends HTMLElement {
|
||||
//#controllers:UmbController[];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import { UmbContextToken } from '@umbraco-cms/context-api';
|
||||
import { UmbNotificationHandler } from './notification-handler';
|
||||
import { UmbContextToken } from '@umbraco-cms/context-api';
|
||||
|
||||
export type UmbNotificationData = any;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
|
||||
import { UmbLitElement } from '@umbraco-cms/element';
|
||||
import type { UmbNotificationDefaultData } from './layouts/default';
|
||||
import {
|
||||
UmbNotificationColor,
|
||||
@@ -12,6 +11,7 @@ import {
|
||||
UmbNotificationService,
|
||||
UMB_NOTIFICATION_SERVICE_CONTEXT_TOKEN,
|
||||
} from '.';
|
||||
import { UmbLitElement } from '@umbraco-cms/element';
|
||||
|
||||
export default {
|
||||
title: 'API/Notifications/Overview',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { UmbResourceController } from './resource.controller';
|
||||
import { UmbControllerHostInterface } from '@umbraco-cms/controller';
|
||||
import type { UmbNotificationOptions } from '@umbraco-cms/notification';
|
||||
import { UmbResourceController } from './resource.controller';
|
||||
|
||||
export function tryExecuteAndNotify<T>(
|
||||
host: UmbControllerHostInterface,
|
||||
|
||||
Reference in New Issue
Block a user