@bright.global/arboretum-sdk 0.1.0-rc.1 → 0.1.0-rc.2

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.
@@ -7,5 +7,6 @@ export var redirectToArboretumPage = function (localeCode) {
7
7
  path: redirect.path,
8
8
  cmaOnlyStatus: redirect.sys.cmaOnlyStatus,
9
9
  title: redirect.title,
10
+ metadata: redirect.metadata
10
11
  }); };
11
12
  };
@@ -14,5 +14,6 @@ export var toArboretumPageWithMissingData = function (localeCode) {
14
14
  children: children,
15
15
  ancestors: ancestors,
16
16
  additionalFields: page.additionalFields,
17
+ metadata: page.metadata
17
18
  }); };
18
19
  };
@@ -10,6 +10,7 @@ var redirectToArboretumPage = function (localeCode) {
10
10
  path: redirect.path,
11
11
  cmaOnlyStatus: redirect.sys.cmaOnlyStatus,
12
12
  title: redirect.title,
13
+ metadata: redirect.metadata
13
14
  }); };
14
15
  };
15
16
  exports.redirectToArboretumPage = redirectToArboretumPage;
@@ -17,6 +17,7 @@ var toArboretumPageWithMissingData = function (localeCode) {
17
17
  children: children,
18
18
  ancestors: ancestors,
19
19
  additionalFields: page.additionalFields,
20
+ metadata: page.metadata
20
21
  }); };
21
22
  };
22
23
  exports.toArboretumPageWithMissingData = toArboretumPageWithMissingData;
@@ -1,4 +1,4 @@
1
- import { CachedDataT, SysIdT } from "./impl/arboretum-client.impl";
1
+ import { CachedDataT, MetadataT, SysIdT } from "./impl/arboretum-client.impl";
2
2
  import { Either } from "./utils/fp-utils";
3
3
  import { ContentTypeT, EntryT, LocaleT, StatusT, TagT } from "./clients/contentful-client/contentful-client";
4
4
  export type ArboretumClientOptions = {
@@ -88,6 +88,7 @@ type ArboretumPageBaseT = {
88
88
  path: string;
89
89
  title?: string;
90
90
  cmaOnlyStatus?: StatusT;
91
+ metadata?: MetadataT;
91
92
  };
92
93
  export type ArboretumRedirectT = ArboretumPageBaseT & {
93
94
  type: "redirect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bright.global/arboretum-sdk",
3
- "version": "0.1.0-rc.1",
3
+ "version": "0.1.0-rc.2",
4
4
  "license": "MIT",
5
5
  "description": "The sitemap for contentful",
6
6
  "dependencies": {},