Merge pull request #1462 from umbraco/bugfix/cyclic-token-dependency
ensure that context-provider imports relative from itself
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { UmbContextToken } from '../token/context-token.js';
|
||||
import type { UmbContextToken } from '../token/index.js';
|
||||
import { UmbContextProvider } from './context-provider.js';
|
||||
import type { UmbControllerHost, UmbController } from '@umbraco-cms/backoffice/controller-api';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { UmbContextProviderController } from './context-provider.controller.js';
|
||||
import type { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { UmbControllerHostElementMixin } from '@umbraco-cms/backoffice/controller-api';
|
||||
import type { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
||||
import type { UmbContextToken } from '../token/index.js';
|
||||
|
||||
/**
|
||||
* Provides a value to the context down the DOM tree.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { UmbContextRequestEvent } from '../consume/context-request.event.js';
|
||||
import { UMB_CONTENT_REQUEST_EVENT_TYPE, UMB_DEBUG_CONTEXT_EVENT_TYPE } from '../consume/context-request.event.js';
|
||||
import type { UmbContextToken } from '../token/context-token.js';
|
||||
import type { UmbContextToken } from '../token/index.js';
|
||||
import {
|
||||
UmbContextProvideEventImplementation,
|
||||
//UmbContextUnprovidedEventImplementation,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
export * from './context-provider.controller.js';
|
||||
export * from './context-provider.js';
|
||||
export * from './context-provide.event.js';
|
||||
export * from './context-provider.element.js';
|
||||
|
||||
Reference in New Issue
Block a user