Merge branch 'main' of https://github.com/umbraco/Umbraco.CMS.Backoffice
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_COLLECTION_ALIAS = 'Umb.Collection.Dictionary';
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbDictionaryCollectionRepository } from './repository/index.js';
|
||||
export { UMB_DICTIONARY_COLLECTION_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_COLLECTION_ALIAS } from './constants.js';
|
||||
|
||||
@@ -2,10 +2,9 @@ import { UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS } from './repository/index.j
|
||||
import { manifests as collectionRepositoryManifests } from './repository/manifests.js';
|
||||
import { manifests as collectionViewManifests } from './views/manifests.js';
|
||||
import { manifests as collectionActionManifests } from './action/manifests.js';
|
||||
import { UMB_DICTIONARY_COLLECTION_ALIAS } from './constants.js';
|
||||
import type { ManifestCollection, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_COLLECTION_ALIAS = 'Umb.Collection.Dictionary';
|
||||
|
||||
const collectionManifest: ManifestCollection = {
|
||||
type: 'collection',
|
||||
kind: 'default',
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Collection';
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS } from './constants.js';
|
||||
export { UmbDictionaryCollectionRepository } from './dictionary-collection.repository.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Collection';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_COLLECTION_REPOSITORY_ALIAS,
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS = 'Umb.CollectionView.Dictionary.Table';
|
||||
@@ -1 +1 @@
|
||||
export { UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS } from './constants.js';
|
||||
import { UMB_COLLECTION_ALIAS_CONDITION } from '@umbraco-cms/backoffice/collection';
|
||||
import type { ManifestCollectionView, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS = 'Umb.CollectionView.Dictionary.Table';
|
||||
|
||||
const tableCollectionView: ManifestCollectionView = {
|
||||
type: 'collectionView',
|
||||
alias: UMB_DICTIONARY_TABLE_COLLECTION_VIEW_ALIAS,
|
||||
|
||||
@@ -18,3 +18,5 @@ export class UmbMoveDictionaryRepository extends UmbRepositoryBase implements Um
|
||||
return { error };
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbMoveDictionaryRepository as api };
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { UMB_MOVE_DICTIONARY_REPOSITORY_ALIAS } from './constants.js';
|
||||
import { UmbMoveDictionaryRepository } from './dictionary-move.repository.js';
|
||||
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const moveRepository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_MOVE_DICTIONARY_REPOSITORY_ALIAS,
|
||||
name: 'Move Dictionary Repository',
|
||||
api: UmbMoveDictionaryRepository,
|
||||
api: () => import('./dictionary-move.repository.js'),
|
||||
};
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [moveRepository];
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_MENU_ALIAS = 'Umb.Menu.Dictionary';
|
||||
@@ -0,0 +1 @@
|
||||
export { UMB_DICTIONARY_MENU_ALIAS } from './constants.js';
|
||||
@@ -1,9 +1,8 @@
|
||||
import { UMB_DICTIONARY_ENTITY_TYPE } from '../entity.js';
|
||||
import { UMB_DICTIONARY_TREE_ALIAS } from '../tree/index.js';
|
||||
import { UMB_DICTIONARY_MENU_ALIAS } from './constants.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_MENU_ALIAS = 'Umb.Menu.Dictionary';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
{
|
||||
type: 'menu',
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export const UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Detail';
|
||||
export const UMB_DICTIONARY_DETAIL_STORE_ALIAS = 'Umb.Store.Dictionary.Detail';
|
||||
@@ -9,3 +9,5 @@ export class UmbDictionaryDetailRepository extends UmbDetailRepositoryBase<UmbDi
|
||||
super(host, UmbDictionaryServerDataSource, UMB_DICTIONARY_DETAIL_STORE_CONTEXT);
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryDetailRepository as api };
|
||||
|
||||
@@ -23,3 +23,5 @@ export class UmbDictionaryDetailStore extends UmbDetailStoreBase<UmbDictionaryDe
|
||||
export const UMB_DICTIONARY_DETAIL_STORE_CONTEXT = new UmbContextToken<UmbDictionaryDetailStore>(
|
||||
'UmbDictionaryDetailStore',
|
||||
);
|
||||
|
||||
export { UmbDictionaryDetailStore as api };
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbDictionaryDetailRepository } from './dictionary-detail.repository.js';
|
||||
export { UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,23 +1,18 @@
|
||||
import { UmbDictionaryDetailRepository } from './dictionary-detail.repository.js';
|
||||
import { UmbDictionaryDetailStore } from './dictionary-detail.store.js';
|
||||
import { UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS, UMB_DICTIONARY_DETAIL_STORE_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestStore, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Detail';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_DETAIL_REPOSITORY_ALIAS,
|
||||
name: 'Dictionary Detail Repository',
|
||||
api: UmbDictionaryDetailRepository,
|
||||
api: () => import('./dictionary-detail.repository.js'),
|
||||
};
|
||||
|
||||
export const UMB_DICTIONARY_DETAIL_STORE_ALIAS = 'Umb.Store.Dictionary.Detail';
|
||||
|
||||
const store: ManifestStore = {
|
||||
type: 'store',
|
||||
alias: UMB_DICTIONARY_DETAIL_STORE_ALIAS,
|
||||
name: 'Dictionary Detail Store',
|
||||
api: UmbDictionaryDetailStore,
|
||||
api: () => import('./dictionary-detail.store.js'),
|
||||
};
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [repository, store];
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Export';
|
||||
@@ -25,3 +25,5 @@ export class UmbDictionaryExportRepository extends UmbRepositoryBase {
|
||||
return this.#exportSource.export(unique, includeChildren);
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryExportRepository as api };
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbDictionaryExportRepository } from './dictionary-export.repository.js';
|
||||
export { UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
import { UmbDictionaryExportRepository } from './dictionary-export.repository.js';
|
||||
import { UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Export';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_EXPORT_REPOSITORY_ALIAS,
|
||||
name: 'Dictionary Export Repository',
|
||||
api: UmbDictionaryExportRepository,
|
||||
api: () => import('./dictionary-export.repository.js'),
|
||||
};
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [repository];
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Import';
|
||||
@@ -34,3 +34,5 @@ export class UmbDictionaryImportRepository extends UmbRepositoryBase {
|
||||
return { data, error };
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryImportRepository as api };
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { UmbDictionaryImportRepository } from './dictionary-import.repository.js';
|
||||
export { UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
import { UmbDictionaryImportRepository } from './dictionary-import.repository.js';
|
||||
import { UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Import';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_IMPORT_REPOSITORY_ALIAS,
|
||||
name: 'Dictionary Import Repository',
|
||||
api: UmbDictionaryImportRepository,
|
||||
api: () => import('./dictionary-import.repository.js'),
|
||||
};
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [repository];
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export const UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Item';
|
||||
export const UMB_DICTIONARY_STORE_ALIAS = 'Umb.Store.Dictionary.Item';
|
||||
@@ -9,3 +9,5 @@ export class UmbDictionaryItemRepository extends UmbItemRepositoryBase<UmbDictio
|
||||
super(host, UmbDictionaryItemServerDataSource, UMB_DICTIONARY_ITEM_STORE_CONTEXT);
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryItemRepository as api };
|
||||
|
||||
@@ -22,3 +22,5 @@ export class UmbDictionaryItemStore extends UmbItemStoreBase<UmbDictionaryItemMo
|
||||
}
|
||||
|
||||
export const UMB_DICTIONARY_ITEM_STORE_CONTEXT = new UmbContextToken<UmbDictionaryItemStore>('UmbDictionaryItemStore');
|
||||
|
||||
export { UmbDictionaryItemStore as api };
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export { UmbDictionaryItemRepository } from './dictionary-item.repository.js';
|
||||
export { UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS } from './manifests.js';
|
||||
export { UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS } from './constants.js';
|
||||
export type { UmbDictionaryItemModel } from './types.js';
|
||||
|
||||
@@ -1,22 +1,18 @@
|
||||
import { UmbDictionaryItemStore } from './dictionary-item.store.js';
|
||||
import { UmbDictionaryItemRepository } from './dictionary-item.repository.js';
|
||||
import { UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS, UMB_DICTIONARY_STORE_ALIAS } from './constants.js';
|
||||
import type { ManifestRepository, ManifestItemStore, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Item';
|
||||
export const UMB_DICTIONARY_STORE_ALIAS = 'Umb.Store.Dictionary.Item';
|
||||
|
||||
const itemRepository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_ITEM_REPOSITORY_ALIAS,
|
||||
name: 'Dictionary Item Repository',
|
||||
api: UmbDictionaryItemRepository,
|
||||
api: () => import('./dictionary-item.repository.js'),
|
||||
};
|
||||
|
||||
const itemStore: ManifestItemStore = {
|
||||
type: 'itemStore',
|
||||
alias: UMB_DICTIONARY_STORE_ALIAS,
|
||||
name: 'Dictionary Item Store',
|
||||
api: UmbDictionaryItemStore,
|
||||
api: () => import('./dictionary-item.store.js'),
|
||||
};
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [itemRepository, itemStore];
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const UMB_DICTIONARY_SECTION_ALIAS = 'Umb.Section.Translation';
|
||||
@@ -1 +1 @@
|
||||
export { UMB_DICTIONARY_SECTION_ALIAS } from '../section/manifests.js';
|
||||
export { UMB_DICTIONARY_SECTION_ALIAS } from './constants.js';
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import { UMB_DICTIONARY_ROOT_ENTITY_TYPE } from '../entity.js';
|
||||
import { UMB_DICTIONARY_MENU_ALIAS } from '../menu/manifests.js';
|
||||
import { UMB_DICTIONARY_MENU_ALIAS } from '../menu/index.js';
|
||||
import { UMB_DICTIONARY_SECTION_ALIAS } from './constants.js';
|
||||
import type {
|
||||
ManifestSection,
|
||||
ManifestSectionSidebarApp,
|
||||
ManifestTypes,
|
||||
} from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_SECTION_ALIAS = 'Umb.Section.Translation';
|
||||
|
||||
const section: ManifestSection = {
|
||||
type: 'section',
|
||||
alias: UMB_DICTIONARY_SECTION_ALIAS,
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export const UMB_DICTIONARY_TREE_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Tree';
|
||||
export const UMB_DICTIONARY_TREE_STORE_ALIAS = 'Umb.Store.Dictionary.Tree';
|
||||
export const UMB_DICTIONARY_TREE_ALIAS = 'Umb.Tree.Dictionary';
|
||||
@@ -29,3 +29,5 @@ export class UmbDictionaryTreeRepository
|
||||
return { data };
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryTreeRepository as api };
|
||||
|
||||
@@ -19,4 +19,6 @@ export class UmbDictionaryTreeStore extends UmbUniqueTreeStore {
|
||||
}
|
||||
}
|
||||
|
||||
export { UmbDictionaryTreeStore as api };
|
||||
|
||||
export const UMB_DICTIONARY_TREE_STORE_CONTEXT = new UmbContextToken<UmbDictionaryTreeStore>('UmbDictionaryTreeStore');
|
||||
|
||||
@@ -3,7 +3,7 @@ export {
|
||||
UMB_DICTIONARY_TREE_REPOSITORY_ALIAS,
|
||||
UMB_DICTIONARY_TREE_STORE_ALIAS,
|
||||
UMB_DICTIONARY_TREE_ALIAS,
|
||||
} from './manifests.js';
|
||||
} from './constants.js';
|
||||
export { UMB_DICTIONARY_TREE_STORE_CONTEXT } from './dictionary-tree.store.js';
|
||||
export { type UmbDictionaryTreeStore } from './dictionary-tree.store.js';
|
||||
export * from './types.js';
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { UMB_DICTIONARY_ENTITY_TYPE, UMB_DICTIONARY_ROOT_ENTITY_TYPE } from '../entity.js';
|
||||
import { UmbDictionaryTreeRepository } from './dictionary-tree.repository.js';
|
||||
import {
|
||||
UMB_DICTIONARY_TREE_ALIAS,
|
||||
UMB_DICTIONARY_TREE_REPOSITORY_ALIAS,
|
||||
UMB_DICTIONARY_TREE_STORE_ALIAS,
|
||||
} from './constants.js';
|
||||
import { UmbDictionaryTreeStore } from './dictionary-tree.store.js';
|
||||
import { manifests as reloadTreeItemChildrenManifests } from './reload-tree-item-children/manifests.js';
|
||||
import type {
|
||||
@@ -10,22 +14,18 @@ import type {
|
||||
ManifestTypes,
|
||||
} from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_DICTIONARY_TREE_REPOSITORY_ALIAS = 'Umb.Repository.Dictionary.Tree';
|
||||
export const UMB_DICTIONARY_TREE_STORE_ALIAS = 'Umb.Store.Dictionary.Tree';
|
||||
export const UMB_DICTIONARY_TREE_ALIAS = 'Umb.Tree.Dictionary';
|
||||
|
||||
const treeRepository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_DICTIONARY_TREE_REPOSITORY_ALIAS,
|
||||
name: 'Dictionary Tree Repository',
|
||||
api: UmbDictionaryTreeRepository,
|
||||
api: () => import('./dictionary-tree.repository.js'),
|
||||
};
|
||||
|
||||
const treeStore: ManifestTreeStore = {
|
||||
type: 'treeStore',
|
||||
alias: UMB_DICTIONARY_TREE_STORE_ALIAS,
|
||||
name: 'Dictionary Tree Store',
|
||||
api: UmbDictionaryTreeStore,
|
||||
api: () => import('./dictionary-tree.store.js'),
|
||||
};
|
||||
|
||||
const tree: ManifestTree = {
|
||||
|
||||
Reference in New Issue
Block a user