Skip to content

Commit e8ca544

Browse files
author
Sharma
committed
Moved mediaco comps inside the _samples
1 parent 1234e6d commit e8ca544

File tree

10 files changed

+2
-7
lines changed

10 files changed

+2
-7
lines changed

sdk-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"comment_sdk_config": "This is the configuration file for the Angular SDK",
33
"sdk_optional_configs_doc_comment": "See the document(link below) for more details on all the available config settings",
44
"sdk_optional_configs_doc": "https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/configuring-sdk-config-json.html",
5-
"app": "",
65
"authConfig": {
76
"authService": "pega",
87

sdk-local-component-map.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
// Statically load all "local" components that aren't yet in the npm package
22

3-
import sdkMediaCoComponentMap from 'sdk-mediaco-component-map';
4-
5-
import sdkConfig from './sdk-config.json';
3+
// import sdkMediaCoComponentMap from 'sdk-mediaco-component-map';
64
/* import end - DO NOT REMOVE */
75

86
// localSdkComponentMap is the JSON object where we'll store the components that are
97
// found locally. If not found here, we'll look in the Pega-provided component map
108

11-
const isMediaCoApp = sdkConfig.app === 'mediaco';
12-
139
const localSdkComponentMap = {
14-
...(isMediaCoApp ? { ...sdkMediaCoComponentMap } : {})
10+
// ...sdkMediaCoComponentMap
1511
/* map end - DO NOT REMOVE */
1612
};
1713

src/app/_mediaco/components/footer/footer.component.html renamed to src/app/_samples/mediaco/components/footer/footer.component.html

File renamed without changes.

src/app/_mediaco/components/footer/footer.component.scss renamed to src/app/_samples/mediaco/components/footer/footer.component.scss

File renamed without changes.

src/app/_mediaco/components/footer/footer.component.spec.ts renamed to src/app/_samples/mediaco/components/footer/footer.component.spec.ts

File renamed without changes.

src/app/_mediaco/components/footer/footer.component.ts renamed to src/app/_samples/mediaco/components/footer/footer.component.ts

File renamed without changes.

src/app/_mediaco/overrides/app-shell/app-shell.component.html renamed to src/app/_samples/mediaco/overrides/app-shell/app-shell.component.html

File renamed without changes.

src/app/_mediaco/overrides/app-shell/app-shell.component.scss renamed to src/app/_samples/mediaco/overrides/app-shell/app-shell.component.scss

File renamed without changes.

src/app/_mediaco/overrides/app-shell/app-shell.component.spec.ts renamed to src/app/_samples/mediaco/overrides/app-shell/app-shell.component.spec.ts

File renamed without changes.

src/app/_mediaco/overrides/app-shell/app-shell.component.ts renamed to src/app/_samples/mediaco/overrides/app-shell/app-shell.component.ts

File renamed without changes.

0 commit comments

Comments
 (0)