@remkoj/optimizely-graph-functions 2.0.0-pre2 → 2.0.0-pre4

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/dist/documents.js CHANGED
@@ -15,8 +15,13 @@ exports.fragments = [
15
15
  layoutType
16
16
  type
17
17
  key
18
+ template: displayTemplateKey
19
+ settings: displaySettings {
20
+ key
21
+ value
22
+ }
18
23
  ... on ICompositionStructureNode {
19
- nodes @recursive(depth: 5) {
24
+ nodes @recursive(depth: 10) {
20
25
  name: displayName
21
26
  }
22
27
  }
@@ -69,15 +74,18 @@ exports.fragments = [
69
74
  experience: _metadata {
70
75
  ... on CompositionMetadata {
71
76
  composition {
72
- key
73
- layoutType
74
- type
75
- nodes {
76
- ...CompositionData
77
- }
77
+ ...CompositionData
78
78
  }
79
79
  }
80
80
  }
81
+ }`,
82
+ `fragment LinkItemData on Link {
83
+ title
84
+ text
85
+ target
86
+ url {
87
+ ...LinkData
88
+ }
81
89
  }`
82
90
  ];
83
91
  exports.queries = [
@@ -93,7 +101,6 @@ exports.queries = [
93
101
  ) {
94
102
  total
95
103
  items {
96
- ...IContentData
97
104
  ...BlockData
98
105
  ...PageData
99
106
  }
@@ -108,8 +115,6 @@ exports.queries = [
108
115
  ) {
109
116
  total
110
117
  items {
111
- ...IContentData
112
- ...BlockData
113
118
  ...PageData
114
119
  }
115
120
  }
@@ -1 +1 @@
1
- {"version":3,"file":"documents.js","sourceRoot":"","sources":["../src/documents.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,CAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,EAAC,MAAM,EAAC,YAAY,CAAC,CAAA;AAErE,QAAA,SAAS,GAAG;IACzB;;;;;;EAME;IACF;;;;;;;;;;;;;;;EAeE;IACF;;;;;EAKE;IACF;;EAEE;IACF;;EAEE;IACF;;EAEE;IACF;;;;EAIE;IACF;;;;;EAKE;IACF;;;;;;;;;EASE;IACF;;EAEE;IACF;;;;;;;;;;;;;EAaE;CACD,CAAA;AACY,QAAA,OAAO,GAAG;IACvB;;;;;;;;;;;;;;;;;EAiBE;IACF;;;;;;;;;;;;;;EAcE;IACF;;;;;;;;;;;;;;;;;EAiBE;CACD,CAAA;AAEY,QAAA,gBAAgB,GAAG,CAAC,gBAAgB,EAAC,kBAAkB,EAAC,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"documents.js","sourceRoot":"","sources":["../src/documents.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,CAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,EAAC,MAAM,EAAC,YAAY,CAAC,CAAA;AAErE,QAAA,SAAS,GAAG;IACzB;;;;;;EAME;IACF;;;;;;;;;;;;;;;;;;;;EAoBE;IACF;;;;;EAKE;IACF;;EAEE;IACF;;EAEE;IACF;;EAEE;IACF;;;;EAIE;IACF;;;;;EAKE;IACF;;;;;;;;;EASE;IACF;;EAEE;IACF;;;;;;;;EAQE;IACF;;;;;;;EAOE;CACD,CAAA;AACY,QAAA,OAAO,GAAG;IACvB;;;;;;;;;;;;;;;;EAgBE;IACF;;;;;;;;;;;;EAYE;IACF;;;;;;;;;;;;;;;;;EAiBE;CACD,CAAA;AAEY,QAAA,gBAAgB,GAAG,CAAC,gBAAgB,EAAC,kBAAkB,EAAC,gBAAgB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@remkoj/optimizely-graph-functions",
3
3
  "license": "Apache-2.0",
4
- "version": "2.0.0-pre2",
4
+ "version": "2.0.0-pre4",
5
5
  "packageManager": "yarn@4.1.1",
6
6
  "repository": "https://github.com/remkoj/optimizely-dxp-clients.git",
7
7
  "author": "Remko Jantzen <693172+remkoj@users.noreply.github.com>",
@@ -35,7 +35,7 @@
35
35
  }
36
36
  },
37
37
  "devDependencies": {
38
- "@types/node": "^20.12.10",
38
+ "@types/node": "^20.12.12",
39
39
  "graphql": "^16.8.1",
40
40
  "graphql-request": "^6.1.0",
41
41
  "graphql-tag": "^2.12.6",
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@graphql-codegen/add": "^5.0.2",
46
- "@graphql-codegen/client-preset": "^4.2.5",
47
- "@graphql-codegen/plugin-helpers": "^5.0.3",
48
- "@graphql-codegen/typescript": "^4.0.6",
46
+ "@graphql-codegen/client-preset": "^4.2.6",
47
+ "@graphql-codegen/plugin-helpers": "^5.0.4",
48
+ "@graphql-codegen/typescript": "^4.0.7",
49
49
  "@graphql-codegen/typescript-graphql-request": "^6.2.0",
50
- "@graphql-codegen/typescript-operations": "^4.2.0",
50
+ "@graphql-codegen/typescript-operations": "^4.2.1",
51
51
  "tslib": "^2.6.2"
52
52
  },
53
53
  "scripts": {
@@ -59,11 +59,11 @@
59
59
  "peerDependencies": {
60
60
  "@graphql-typed-document-node/core": "*",
61
61
  "graphql": "*",
62
- "graphql-request": "*",
62
+ "graphql-request": "^6.1.0",
63
63
  "graphql-tag": "*"
64
64
  },
65
65
  "optionalDependencies": {
66
- "@remkoj/optimizely-graph-client": "2.0.0-pre2"
66
+ "@remkoj/optimizely-graph-client": "2.0.0-pre4"
67
67
  },
68
68
  "stableVersion": "1.0.4"
69
69
  }