move const to a constants file

This commit is contained in:
Mads Rasmussen
2024-08-05 12:27:46 +02:00
parent 862b949397
commit 3bd174faa8
3 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1 @@
export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';

View File

@@ -1,7 +1,7 @@
import { UmbLanguageDetailRepository } from '../../repository/index.js';
import type { UmbLanguageDetailModel } from '../../types.js';
import { UmbLanguageWorkspaceEditorElement } from './language-workspace-editor.element.js';
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './manifests.js';
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
import {
type UmbSubmittableWorkspaceContext,
UmbSubmittableWorkspaceContextBase,

View File

@@ -1,3 +1,4 @@
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
import type {
ManifestWorkspaces,
@@ -6,8 +7,6 @@ import type {
ManifestTypes,
} from '@umbraco-cms/backoffice/extension-registry';
export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';
const workspace: ManifestWorkspaces = {
type: 'workspace',
kind: 'routable',