@adobe/spacecat-shared-data-access 1.61.8 → 1.61.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.61.10](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.61.9...@adobe/spacecat-shared-data-access-v1.61.10) (2024-12-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* get org config ([#517](https://github.com/adobe/spacecat-shared/issues/517)) ([2878f31](https://github.com/adobe/spacecat-shared/commit/2878f31ad502272c645d634fe0796e43ee001cde))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v1.61.9](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.61.8...@adobe/spacecat-shared-data-access-v1.61.9) (2024-12-31)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* return proper config object ([#516](https://github.com/adobe/spacecat-shared/issues/516)) ([84a393a](https://github.com/adobe/spacecat-shared/commit/84a393ac636f287089f4862365fe9305381c9afd))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v1.61.8](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.61.7...@adobe/spacecat-shared-data-access-v1.61.8) (2024-12-31)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { Config } from '../../../models/site/config.js';
|
|
14
13
|
import BaseModel from '../base/base.model.js';
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -23,9 +22,6 @@ import BaseModel from '../base/base.model.js';
|
|
|
23
22
|
class Organization extends BaseModel {
|
|
24
23
|
// add your custom methods or overrides here
|
|
25
24
|
|
|
26
|
-
getConfig() {
|
|
27
|
-
return Config(this.record.config);
|
|
28
|
-
}
|
|
29
25
|
}
|
|
30
26
|
|
|
31
27
|
export default Organization;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { Config } from '../../../models/site/config.js';
|
|
14
13
|
import BaseModel from '../base/base.model.js';
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -27,10 +26,6 @@ class Site extends BaseModel {
|
|
|
27
26
|
|
|
28
27
|
static DEFAULT_DELIVERY_TYPE = Site.DELIVERY_TYPES.AEM_EDGE;
|
|
29
28
|
|
|
30
|
-
getConfig() {
|
|
31
|
-
return Config(this.record.config);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
29
|
async toggleLive() {
|
|
35
30
|
const newIsLive = !this.getIsLive();
|
|
36
31
|
this.setIsLive(newIsLive);
|