correct imports

This commit is contained in:
Niels Lyngsø
2023-01-27 10:26:20 +01:00
parent 188a754f7f
commit 2407ade7d8
16 changed files with 17 additions and 27 deletions

View File

@@ -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[];

View File

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

View File

@@ -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',

View File

@@ -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,