diff --git a/libs/angular-remote-components/src/index.ts b/libs/angular-remote-components/src/index.ts index d6f8b139..38fc0f6c 100644 --- a/libs/angular-remote-components/src/index.ts +++ b/libs/angular-remote-components/src/index.ts @@ -1,4 +1,5 @@ export * from './lib/model/remote-component' +export * from './lib/model/remote-webcomponent' export * from './lib/model/remote-component-config.model' export * from './lib/model/injection-tokens' export * from './lib/components/slot/slot.component' diff --git a/libs/angular-remote-components/src/lib/model/remote-webcomponent.ts b/libs/angular-remote-components/src/lib/model/remote-webcomponent.ts new file mode 100644 index 00000000..77c37938 --- /dev/null +++ b/libs/angular-remote-components/src/lib/model/remote-webcomponent.ts @@ -0,0 +1,5 @@ +import { RemoteComponentConfig } from './remote-component-config.model' + +export interface ocxRemoteWebcomponent { + ocxRemoteComponentConfig: RemoteComponentConfig +} diff --git a/libs/angular-webcomponents/src/index.ts b/libs/angular-webcomponents/src/index.ts index 70a66cd7..3d17abd9 100644 --- a/libs/angular-webcomponents/src/index.ts +++ b/libs/angular-webcomponents/src/index.ts @@ -1 +1 @@ -export * from './lib/model/remote-webcomponent' +export * from './lib/utils/webcomponent-router-initializer.utils' diff --git a/libs/angular-webcomponents/src/lib/model/remote-webcomponent-config.model.ts b/libs/angular-webcomponents/src/lib/model/remote-webcomponent-config.model.ts deleted file mode 100644 index 353b7ca2..00000000 --- a/libs/angular-webcomponents/src/lib/model/remote-webcomponent-config.model.ts +++ /dev/null @@ -1,6 +0,0 @@ -export type RemoteWebcomponentConfig = { - appId: string - productName: string - permissions: string[] - baseUrl: string -} diff --git a/libs/angular-webcomponents/src/lib/model/remote-webcomponent.ts b/libs/angular-webcomponents/src/lib/model/remote-webcomponent.ts deleted file mode 100644 index 063628c1..00000000 --- a/libs/angular-webcomponents/src/lib/model/remote-webcomponent.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { RemoteWebcomponentConfig } from './remote-webcomponent-config.model' - -export interface ocxRemoteWebcomponent { - ocxRemoteComponentConfig: RemoteWebcomponentConfig -} diff --git a/libs/angular-webcomponents/src/lib/utils/webcomponent-router-initializer.utils.ts b/libs/angular-webcomponents/src/lib/utils/webcomponent-router-initializer.utils.ts new file mode 100644 index 00000000..33e9c0ad --- /dev/null +++ b/libs/angular-webcomponents/src/lib/utils/webcomponent-router-initializer.utils.ts @@ -0,0 +1 @@ +export function initializeRouter() {}