remove unused vars
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { SpecificManifestTypeOrManifestBase } from '../types/map.types.js';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import type {
|
||||
ManifestBase,
|
||||
UmbBaseExtensionInitializer,
|
||||
@@ -7,7 +6,6 @@ import type {
|
||||
} from '@umbraco-cms/backoffice/extension-api';
|
||||
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { createObservablePart } from '@umbraco-cms/backoffice/observable-api';
|
||||
|
||||
export type PermittedControllerType<ControllerType extends { manifest: any }> = ControllerType & {
|
||||
manifest: Required<Pick<ControllerType, 'manifest'>>;
|
||||
|
||||
@@ -17,11 +17,6 @@ export class UmbMockDocumentCollectionManager {
|
||||
|
||||
getCollectionDocumentById({
|
||||
id,
|
||||
dataTypeId,
|
||||
orderBy,
|
||||
orderCulture,
|
||||
orderDirection,
|
||||
filter,
|
||||
skip = 0,
|
||||
take = 100,
|
||||
}: {
|
||||
|
||||
@@ -2,7 +2,6 @@ import { getGuid } from '../utils.js';
|
||||
import { UMB_MEDIA_CAPTION_ALT_TEXT_MODAL } from '../modals/media-caption-alt-text/media-caption-alt-text-modal.token.js';
|
||||
import { type TinyMcePluginArguments, UmbTinyMcePluginBase } from '../components/input-tiny-mce/tiny-mce-plugin.js';
|
||||
import { UMB_MODAL_MANAGER_CONTEXT } from '@umbraco-cms/backoffice/modal';
|
||||
import type { UMB_CURRENT_USER_CONTEXT, UmbCurrentUserModel } from '@umbraco-cms/backoffice/current-user';
|
||||
import type { RawEditorOptions } from '@umbraco-cms/backoffice/external/tinymce';
|
||||
import { UmbTemporaryFileRepository } from '@umbraco-cms/backoffice/temporary-file';
|
||||
import { UmbId } from '@umbraco-cms/backoffice/id';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UMB_USER_GROUP_COLLECTION_ALIAS } from '../collection/index.js';
|
||||
import { UMB_USER_GROUP_ENTITY_TYPE } from '../entity.js';
|
||||
import { UMB_USER_GROUP_DETAIL_REPOSITORY_ALIAS } from '../repository/index.js';
|
||||
import { UmbDeleteUserGroupEntityBulkAction } from './delete/delete.action.js';
|
||||
import { UMB_COLLECTION_ALIAS_CONDITION } from '@umbraco-cms/backoffice/collection';
|
||||
import type { ManifestEntityBulkAction, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -42,7 +42,7 @@ export class UmbUserGroupWorkspaceContext
|
||||
{
|
||||
path: 'create',
|
||||
component: UmbUserGroupWorkspaceEditorElement,
|
||||
setup: (component, info) => {
|
||||
setup: () => {
|
||||
this.create();
|
||||
|
||||
new UmbWorkspaceIsNewRedirectController(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UMB_USER_WORKSPACE_CONTEXT } from '../../user-workspace.context-token.js';
|
||||
import type { UmbUserDetailModel } from '../../../types.js';
|
||||
import { html, customElement, state, css, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { html, customElement, state, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import type { UmbInputDocumentElement } from '@umbraco-cms/backoffice/document';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { UmbUserAvatarRepository } from '../repository/avatar/index.js';
|
||||
import { UMB_USER_WORKSPACE_ALIAS } from './manifests.js';
|
||||
import { UmbUserWorkspaceEditorElement } from './user-workspace-editor.element.js';
|
||||
import type { UmbSubmittableWorkspaceContext } from '@umbraco-cms/backoffice/workspace';
|
||||
import { UmbSubmittableWorkspaceContextBase, UmbWorkspaceRouteManager } from '@umbraco-cms/backoffice/workspace';
|
||||
import { UmbSubmittableWorkspaceContextBase } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { UmbObjectState } from '@umbraco-cms/backoffice/observable-api';
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
//TODO: Test has been commented out while we figure out how to setup import maps for the test environment
|
||||
// import { type UmbTestRunnerWindow, defaultA11yConfig } from '@umbraco-cms/internal/test-utils';
|
||||
// import UmbWorkspaceUserElement from './editor-user.element.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { UmbWebhookDetailModel } from '../../../../../types.js';
|
||||
import { html, nothing, customElement, property, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { html, customElement, property, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
|
||||
@customElement('umb-webhook-table-entity-actions-column-layout')
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { UMB_WEBHOOK_ENTITY_TYPE } from '../entity.js';
|
||||
import type { ManifestMenuItem, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const menuItem: ManifestMenuItem = {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { UmbWebhookDetailModel } from '../../types.js';
|
||||
import { UmbWebhookDetailServerDataSource } from './webhook-detail.server.data-source.js';
|
||||
import { UMB_WEBHOOK_DETAIL_STORE_CONTEXT } from './webhook-detail.store.js';
|
||||
import { WebhookService } from '@umbraco-cms/backoffice/external/backend-api';
|
||||
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
||||
import { UmbDetailRepositoryBase } from '@umbraco-cms/backoffice/repository';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user