Skip to content

Commit

Permalink
[cleanup] Improve the organization of the code of the workbench views
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Bégaudeau <[email protected]>
  • Loading branch information
sbegaudeau committed Dec 22, 2024
1 parent c826e7c commit 0d6a13e
Show file tree
Hide file tree
Showing 22 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ import { DocumentTreeItemContextMenuContribution } from '../views/edit-project/D
import { DownloadProjectMenuEntryContribution } from '../views/edit-project/EditProjectNavbar/DownloadProjectMenuEntryContribution';
import { editProjectNavbarMenuEntryExtensionPoint } from '../views/edit-project/EditProjectNavbar/EditProjectNavbarMenuExtensionPoints';
import { ObjectTreeItemContextMenuContribution } from '../views/edit-project/ObjectTreeItemContextMenuContribution';
import { DetailsView } from '../views/edit-project/workbench-views/DetailsView';
import { RelatedElementsView } from '../views/edit-project/workbench-views/RelatedElementsView';
import { RepresentationsView } from '../views/edit-project/workbench-views/RepresentationsView';
import { ExplorerView } from '../views/explorer/ExplorerView';
import { DetailsView } from '../views/edit-project/workbench-views/details/DetailsView';
import { ExplorerView } from '../views/edit-project/workbench-views/explorer/ExplorerView';
import { RelatedElementsView } from '../views/edit-project/workbench-views/related-elements/RelatedElementsView';
import { RepresentationsView } from '../views/edit-project/workbench-views/representations/RepresentationsView';
import { createProjectAreaCardExtensionPoint } from '../views/project-browser/create-projects-area/CreateProjectAreaExtensionPoints';
import { NewProjectCard } from '../views/project-browser/create-projects-area/NewProjectCard';
import { ShowAllProjectTemplatesCard } from '../views/project-browser/create-projects-area/ShowAllProjectTemplatesCard';
import { UploadProjectCard } from '../views/project-browser/create-projects-area/UploadProjectCard';
import { projectContextMenuEntryExtensionPoint } from '../views/project-browser/list-projects-area/ProjectContextMenuExtensionPoints';
import { ProjectDownloadMenuItemExtension } from '../views/project-browser/list-projects-area/ProjectDownloadMenuItemExtension';
import { ProjectImagesSettings } from '../views/project-settings/images/ProjectImagesSettings';
import { ProjectSettingTabContribution } from '../views/project-settings/ProjectSettingsView.types';
import { projectSettingsTabExtensionPoint } from '../views/project-settings/ProjectSettingsViewExtensionPoints';
import { ProjectImagesSettings } from '../views/project-settings/images/ProjectImagesSettings';
import { ellipseNodeStyleDocumentTransform } from './EllipseNodeDocumentTransform';
import { referenceWidgetDocumentTransform } from './ReferenceWidgetDocumentTransform';

Expand Down
32 changes: 16 additions & 16 deletions packages/sirius-web/frontend/sirius-web-application/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ export {
httpOptionsConfigurersExtensionPoint,
webSocketOptionsConfigurersExtensionPoint,
} from './graphql/useCreateApolloClientExtensionPoints';
export { NewObjectModal } from './modals/new-object/NewObjectModal';
export { type NewObjectModalProps } from './modals/new-object/NewObjectModal.types';
export { NewRepresentationModal } from './modals/new-representation/NewRepresentationModal';
export { type NewRepresentationModalProps } from './modals/new-representation/NewRepresentationModal.types';
export { NewRootObjectModal } from './modals/new-root-object/NewRootObjectModal';
export { type NewRootObjectModalProps } from './modals/new-root-object/NewRootObjectModal.types';
export { NavigationBar } from './navigationBar/NavigationBar';
export {
type NavigationBarIconProps,
Expand Down Expand Up @@ -71,23 +77,23 @@ export { editProjectViewReadOnlyPredicateExtensionPoint } from './views/edit-pro
export { useCurrentProject } from './views/edit-project/useCurrentProject';
export type { UseCurrentProjectValue } from './views/edit-project/useCurrentProject.types';
export type { GQLProject } from './views/edit-project/useProjectAndRepresentationMetadata.types';
export { DetailsView } from './views/edit-project/workbench-views/DetailsView';
export type { GQLDetailsEventPayload } from './views/edit-project/workbench-views/useDetailsViewSubscription.types';
export { useRelatedElementsViewSubscription } from './views/edit-project/workbench-views/useRelatedElementsViewSubscription';
export { DetailsView } from './views/edit-project/workbench-views/details/DetailsView';
export type { GQLDetailsEventPayload } from './views/edit-project/workbench-views/details/useDetailsViewSubscription.types';
export { useExplorerSubscription } from './views/edit-project/workbench-views/explorer/useExplorerSubscription';
export {
type GQLTreeEventPayload,
type GQLTreeRefreshedEventPayload,
type UseExplorerSubscriptionValue,
} from './views/edit-project/workbench-views/explorer/useExplorerSubscription.types';
export { useRelatedElementsViewSubscription } from './views/edit-project/workbench-views/related-elements/useRelatedElementsViewSubscription';
export {
type GQLFormRefreshedEventPayload,
type GQLRelatedElementsEventPayload,
type UseRelatedElementsViewSubscriptionValue,
} from './views/edit-project/workbench-views/useRelatedElementsViewSubscription.types';
} from './views/edit-project/workbench-views/related-elements/useRelatedElementsViewSubscription.types';
export { ErrorView } from './views/error/ErrorView';
export { type ErrorMessageProvider } from './views/error/ErrorView.types';
export { errorMessageProvidersExtensionPoint } from './views/error/ErrorViewExtensionPoints';
export { useExplorerSubscription } from './views/explorer/useExplorerSubscription';
export {
type GQLTreeEventPayload,
type GQLTreeRefreshedEventPayload,
type UseExplorerSubscriptionValue,
} from './views/explorer/useExplorerSubscription.types';
export { type CreateProjectAreaCardProps } from './views/project-browser/create-projects-area/CreateProjectArea.types';
export { createProjectAreaCardExtensionPoint } from './views/project-browser/create-projects-area/CreateProjectAreaExtensionPoints';
export { ProjectActionButton } from './views/project-browser/list-projects-area/ProjectActionButton';
Expand All @@ -107,9 +113,3 @@ export {
type ProjectSettingTabProps,
} from './views/project-settings/ProjectSettingsView.types';
export * from './views/project-settings/ProjectSettingsViewExtensionPoints';
export { NewObjectModal } from './modals/new-object/NewObjectModal';
export { type NewObjectModalProps } from './modals/new-object/NewObjectModal.types';
export { NewRepresentationModal } from './modals/new-representation/NewRepresentationModal';
export { type NewRepresentationModalProps } from './modals/new-representation/NewRepresentationModal.types';
export { NewRootObjectModal } from './modals/new-root-object/NewRootObjectModal';
export { type NewRootObjectModalProps } from './modals/new-root-object/NewRootObjectModal.types';

0 comments on commit 0d6a13e

Please sign in to comment.