Skip to content

Commit

Permalink
relation-type
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Dec 2, 2024
1 parent b8b28dc commit bf324ff
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const UMB_RELATION_TYPE_COLLECTION_ALIAS = 'Umb.Collection.RelationType';
export * from './repository/constants.js';
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { UmbRelationTypeCollectionRepository } from './repository/index.js';
export { UMB_RELATION_TYPE_COLLECTION_ALIAS } from './constants.js';
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { UMB_RELATION_TYPE_COLLECTION_REPOSITORY_ALIAS } from './constants.js';
export { UmbRelationTypeCollectionRepository } from './relation-type-collection.repository.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './collection/constants.js';
export * from './repository/constants.js';
export * from './workspace/constants.js';
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './collection/index.js';
export * from './constants.js';
export * from './entity.js';
export * from './repository/index.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './detail/constants.js';
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Detail';
export const UMB_RELATION_TYPE_DETAIL_STORE_ALIAS = 'Umb.Store.RelationType.Detail';
export { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS, UMB_RELATION_TYPE_DETAIL_STORE_ALIAS } from './manifests.js';
export { UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT } from './relation-type-detail.store.context-token.js';
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { UmbRelationTypeDetailRepository } from './relation-type-detail.repository.js';
export { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS } from './constants.js';
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS, UMB_RELATION_TYPE_DETAIL_STORE_ALIAS } from './constants.js';
export const UMB_RELATION_TYPE_DETAIL_REPOSITORY_ALIAS = 'Umb.Repository.RelationType.Detail';
export const UMB_RELATION_TYPE_DETAIL_STORE_ALIAS = 'Umb.Store.RelationType.Detail';

export const manifests: Array<UmbExtensionManifest> = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { UmbRelationTypeDetailModel } from '../../types.js';
import { UmbRelationTypeDetailServerDataSource } from './relation-type-detail.server.data-source.js';
import { UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT } from './relation-type-detail.store.js';
import { UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT } from './relation-type-detail.store.context-token.js';
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
import type { UmbReadDetailRepository } from '@umbraco-cms/backoffice/repository';
import { UmbRepositoryBase } from '@umbraco-cms/backoffice/repository';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type UmbRelationTypeDetailStore from './relation-type-detail.store.js';
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';

export const UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT = new UmbContextToken<UmbRelationTypeDetailStore>(
'UmbRelationTypeDetailStore',
);
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { UmbRelationTypeDetailModel } from '../../types.js';
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
import { UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT } from './relation-type-detail.store.context-token.js';
import { UmbDetailStoreBase } from '@umbraco-cms/backoffice/store';
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';

Expand All @@ -20,7 +20,3 @@ export class UmbRelationTypeDetailStore extends UmbDetailStoreBase<UmbRelationTy
}

export default UmbRelationTypeDetailStore;

export const UMB_RELATION_TYPE_DETAIL_STORE_CONTEXT = new UmbContextToken<UmbRelationTypeDetailStore>(
'UmbRelationTypeDetailStore',
);
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './relation-type/constants.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { UMB_RELATION_TYPE_WORKSPACE_ALIAS } from './manifests.js';
export { UMB_RELATION_TYPE_WORKSPACE_CONTEXT } from './relation-type-workspace.context-token.js';

0 comments on commit bf324ff

Please sign in to comment.