Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit e02bcbf

Browse files
committed
move const to a constants file
1 parent 0d9684e commit e02bcbf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';

src/packages/language/workspace/language/language-workspace.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { UmbLanguageDetailRepository } from '../../repository/index.js';
22
import type { UmbLanguageDetailModel } from '../../types.js';
33
import { UmbLanguageWorkspaceEditorElement } from './language-workspace-editor.element.js';
4-
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './manifests.js';
4+
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
55
import {
66
type UmbSubmittableWorkspaceContext,
77
UmbSubmittableWorkspaceContextBase,

src/packages/language/workspace/language/manifests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
12
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
23
import type {
34
ManifestWorkspaces,
@@ -6,8 +7,6 @@ import type {
67
ManifestTypes,
78
} from '@umbraco-cms/backoffice/extension-registry';
89

9-
export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';
10-
1110
const workspace: ManifestWorkspaces = {
1211
type: 'workspace',
1312
kind: 'routable',

0 commit comments

Comments
 (0)