@alpaca-headless/alpaca-headless-nextjs 1.0.2702 → 1.0.2704

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.
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- ;
@@ -1,2 +1 @@
1
- ;
2
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpaca-headless/alpaca-headless-nextjs",
3
- "version": "1.0.2702",
3
+ "version": "1.0.2704",
4
4
  "description": "Alpaca Headless NextJs Integration",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -29,11 +29,19 @@ export interface ImageValue {
29
29
  export interface LinkValue {
30
30
  url: string;
31
31
  }
32
- type KeyValuePair = {
32
+ export interface KeyValuePair {
33
33
  key: string;
34
34
  value: string;
35
- };
35
+ }
36
36
  export type EnhancedNameValueListField = {
37
37
  value: KeyValuePair[];
38
38
  };
39
- export {};
39
+ export interface MediaItemImageFields {
40
+ alt: string;
41
+ width: string;
42
+ height: string;
43
+ }
44
+ export type EnhancedTreeListField = {
45
+ src: string;
46
+ fields: MediaItemImageFields | null;
47
+ };