Skip to content

Commit

Permalink
further cleaning imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Dec 22, 2023
1 parent f4a8525 commit c0320d7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@

import { NgModule } from "@angular/core";
import { CoreModule, hookRoute } from "@c8y/ngx-components";
import { AdminGuard, SharedModule } from "../shared";
import { BrokerConfigurationComponent } from "./broker-configuration.component";
import { AdminGuard } from "../shared/admin.guard";
import { EditConfigurationComponent } from "./edit/edit-config-modal.component";
import { SharedModule } from "../shared/shared.module";

@NgModule({
declarations: [
Expand Down
1 change: 1 addition & 0 deletions dynamic-mapping-ui/src/configuration/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './broker-configuration.module';
export * from './shared/broker-configuration.service';
export * from './shared/configuration.model';
8 changes: 4 additions & 4 deletions dynamic-mapping-ui/src/extension/extension.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

import { NgModule } from "@angular/core";
import { CoreModule, hookRoute } from "@c8y/ngx-components";
import { AddExtensionComponent } from "./extension-modal/add-extension.component";
import { CollapseModule } from "ngx-bootstrap/collapse";
import { BsDropdownModule } from "ngx-bootstrap/dropdown";
import { AdminGuard } from "../shared";
import { ExtensionCardComponent } from "./extension-card/extension-card.component";
import { AddExtensionComponent } from "./extension-modal/add-extension.component";
import { ExtensionComponent } from "./grid/extension.component";
import { BsDropdownModule } from "ngx-bootstrap/dropdown";
import { CollapseModule } from "ngx-bootstrap/collapse";
import { ExtensionPropertiesComponent } from "./properties/extension-properties.component";
import { AdminGuard } from "../shared/admin.guard";


@NgModule({
Expand Down
2 changes: 1 addition & 1 deletion dynamic-mapping-ui/src/mapping-tree/tree.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import { NgModule } from "@angular/core";
import { CoreModule, hookRoute } from "@c8y/ngx-components";
import { MappingTreeComponent } from "./tree.component";
import { SharedModule } from "../shared/shared.module";
import { SharedModule } from "../shared";

@NgModule({
declarations: [MappingTreeComponent],
Expand Down
10 changes: 4 additions & 6 deletions dynamic-mapping-ui/src/mapping/mapping.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ import {
import { AssetSelectorModule } from "@c8y/ngx-components/assets-navigator";
import { FORMLY_CONFIG } from "@ngx-formly/core";
import { PopoverModule } from "ngx-bootstrap/popover";
import { BrokerConfigurationModule } from "../configuration/broker-configuration.module";
import { SharedModule } from "../shared/shared.module";
import {
} from "../shared";
import { BrokerConfigurationModule } from "../configuration";
import { SharedModule } from "../shared";
import { EditSubstitutionComponent } from "./edit/edit-substitution-modal.component";
import { MappingComponent } from "./grid/mapping.component";
import { ImportMappingsComponent } from "./import-modal/import.component";
import { MappingTypeComponent } from "./mapping-type/mapping-type.component";
import { OverwriteSubstitutionModalComponent } from "./overwrite/overwrite-substitution-modal.component";
import { ActiveRendererComponent } from "./renderer/active.renderer.component";
Expand All @@ -55,14 +54,13 @@ import { MessageField } from "./shared/formly/message-field";
import { SelectComponent } from "./shared/formly/select/select.type.component";
import { FormlyTextField } from "./shared/formly/text-field";
import { FieldTextareaCustom } from "./shared/formly/textarea-custom";
import { checkTopicsInboundAreValid, checkTopicsOutboundAreValid } from "./shared/util";
import { SnoopingModalComponent } from "./snooping/snooping-modal.component";
import { MappingStepperComponent } from "./step-main/mapping-stepper.component";
import { SubstitutionRendererComponent } from "./step-main/substitution/substitution-renderer.component";
import { MappingStepPropertiesComponent } from "./step-one/mapping-properties.component";
import { MappingStepTestingComponent } from "./step-three/mapping-testing.component";
import { MappingSubscriptionComponent } from "./subscription/mapping-subscription.component";
import { ImportMappingsComponent } from "./import-modal/import.component";
import { checkTopicsInboundAreValid, checkTopicsOutboundAreValid } from "./shared/util";

@NgModule({
declarations: [
Expand Down
2 changes: 1 addition & 1 deletion dynamic-mapping-ui/src/monitoring/monitoring.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { NgModule } from "@angular/core";
import { CoreModule, hookRoute } from "@c8y/ngx-components";
import { MonitoringComponent } from "./grid/monitoring.component";
import { IdRendererComponent } from "./renderer/id-cell.renderer.component";
import { BrokerConfigurationModule } from "../configuration/broker-configuration.module";
import { BrokerConfigurationModule } from "../configuration";

@NgModule({
declarations: [MonitoringComponent, IdRendererComponent],
Expand Down
3 changes: 2 additions & 1 deletion dynamic-mapping-ui/src/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export * from './model/shared.model';
export * from './navigation.factory';
export * from './shared.service';
export * from './tab.factory';
export * from "./overview.guard";
export * from "./overview.guard";
export * from "./admin.guard";

0 comments on commit c0320d7

Please sign in to comment.