move const to a constants file
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';
|
||||
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user