@griddo/ax 1.67.9 → 1.68.1

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.
Files changed (124) hide show
  1. package/config/jest/componentsMock.js +1528 -27
  2. package/package.json +2 -2
  3. package/src/__mocks__/reducers/app.tsx +10 -0
  4. package/src/__mocks__/reducers/sites.tsx +10 -0
  5. package/src/__tests__/{AnalyticsField.test.tsx → components/Fields/AnalyticsField/AnalyticsField.test.tsx} +5 -5
  6. package/src/__tests__/{PageAnalytics.test.tsx → components/Fields/AnalyticsField/PageAnalytics/PageAnalytics.test.tsx} +2 -2
  7. package/src/__tests__/{StructuredDataAnalytics.test.tsx → components/Fields/AnalyticsField/StructuredDataAnalytics/StructuredDataAnalytics.test.tsx} +2 -2
  8. package/src/__tests__/{ArrayFieldGroup.test.tsx → components/Fields/ArrayFieldGroup/ArrayFieldGroup.test.tsx} +2 -2
  9. package/src/__tests__/{AsyncCheckGroup.test.tsx → components/Fields/AsyncCheckGroup/AsyncCheckGroup.test.tsx} +2 -2
  10. package/src/__tests__/{AsyncSelect.test.tsx → components/Fields/AsyncSelect/AsyncSelect.test.tsx} +2 -2
  11. package/src/__tests__/{CheckField.test.tsx → components/Fields/CheckField/CheckField.test.tsx} +2 -2
  12. package/src/__tests__/{CheckGroup.test.tsx → components/Fields/CheckGroup/CheckGroup.test.tsx} +2 -2
  13. package/src/__tests__/components/Fields/ColorPicker/ColorPicker.test.tsx +195 -0
  14. package/src/__tests__/components/Fields/ComponentArray/ComponentArray.test.tsx +184 -0
  15. package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/MixableComponentArray.test.tsx +315 -0
  16. package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/PasteModuleButton/PasteModuleButton.test.tsx +95 -0
  17. package/src/__tests__/components/Fields/ComponentArray/SameComponentArray/SameComponentArray.test.tsx +225 -0
  18. package/src/__tests__/{FieldGroup.test.tsx → components/Fields/FieldGroup/FieldGroup.test.tsx} +2 -2
  19. package/src/__tests__/components/Fields/FieldsDivider/FieldsDivider.test.tsx +24 -0
  20. package/src/__tests__/components/Fields/FileField/FileField.test.tsx +135 -0
  21. package/src/__tests__/{HeadingField.test.tsx → components/Fields/HeadingField/HeadingField.test.tsx} +2 -2
  22. package/src/__tests__/components/Fields/HiddenField/HiddenField.test.tsx +76 -0
  23. package/src/__tests__/components/Fields/MultiCheckSelect/MultiCheckSelect.test.tsx +70 -0
  24. package/src/__tests__/components/Fields/NoteField/NoteField.test.tsx +67 -0
  25. package/src/__tests__/components/Fields/NumberField/NumberField.test.tsx +109 -0
  26. package/src/__tests__/components/Fields/RadioField/RadioField.test.tsx +106 -0
  27. package/src/__tests__/components/Fields/RichText/RichText.test.tsx +52 -0
  28. package/src/__tests__/components/Fields/Select/Select.test.tsx +75 -0
  29. package/src/__tests__/components/Fields/SliderField/SliderField.test.tsx +82 -0
  30. package/src/__tests__/{TagField.test.tsx → components/Fields/TagField/TagField.test.tsx} +2 -2
  31. package/src/__tests__/{TextArea.test.tsx → components/Fields/TextArea/TextArea.test.tsx} +2 -2
  32. package/src/__tests__/{TextField.test.tsx → components/Fields/TextField/TextField.test.tsx} +2 -2
  33. package/src/__tests__/components/Fields/ToggleField/ToggleField.test.tsx +100 -0
  34. package/src/__tests__/{UniqueCheck.test.tsx → components/Fields/UniqueCheck/UniqueCheck.test.tsx} +2 -2
  35. package/src/__tests__/components/Fields/UrlField/UrlField.test.tsx +446 -0
  36. package/src/__tests__/components/Fields/UrlField/mockedAxios.ts +2214 -0
  37. package/src/__tests__/components/Fields/VisualUniqueSelection/ImageSelection/ImageSelection.test.tsx +99 -0
  38. package/src/__tests__/components/Fields/VisualUniqueSelection/ScrollableSelection/ScrollableSelection.test.tsx +176 -0
  39. package/src/__tests__/components/Fields/VisualUniqueSelection/VisualUniqueSelection.test.tsx +78 -0
  40. package/src/components/ActionMenu/index.tsx +1 -0
  41. package/src/components/Browser/index.tsx +39 -47
  42. package/src/components/Browser/style.tsx +15 -15
  43. package/src/components/BrowserContent/index.tsx +78 -0
  44. package/src/components/ConfigPanel/Form/ConnectedField/NavConnectedField/index.tsx +3 -5
  45. package/src/components/ConfigPanel/Form/ConnectedField/PageConnectedField/index.tsx +2 -6
  46. package/src/components/ConfigPanel/Header/index.tsx +28 -11
  47. package/src/components/ConfigPanel/index.tsx +2 -2
  48. package/src/components/ErrorCenter/index.tsx +11 -4
  49. package/src/components/Fields/ArrayFieldGroup/index.tsx +4 -2
  50. package/src/components/Fields/ArrayFieldGroup/style.tsx +7 -0
  51. package/src/components/Fields/AsyncCheckGroup/index.tsx +1 -1
  52. package/src/components/Fields/CheckField/index.tsx +1 -1
  53. package/src/components/Fields/ColorPicker/Picker/index.tsx +9 -3
  54. package/src/components/Fields/ColorPicker/index.tsx +4 -9
  55. package/src/components/Fields/ComponentArray/MixableComponentArray/PasteModuleButton/index.tsx +2 -1
  56. package/src/components/Fields/ComponentArray/MixableComponentArray/index.tsx +27 -22
  57. package/src/components/Fields/ComponentArray/MixableComponentArray/style.tsx +3 -38
  58. package/src/components/Fields/ComponentArray/SameComponentArray/index.tsx +3 -2
  59. package/src/components/Fields/ComponentArray/SameComponentArray/style.tsx +1 -28
  60. package/src/components/Fields/ComponentArray/helpers.tsx +1 -1
  61. package/src/components/Fields/ComponentContainer/index.tsx +3 -1
  62. package/src/components/Fields/FileField/FileDragAndDrop/index.tsx +1 -1
  63. package/src/components/Fields/FileField/FileDragAndDrop/style.tsx +2 -3
  64. package/src/components/Fields/FileField/index.tsx +6 -6
  65. package/src/components/Fields/HiddenField/index.tsx +3 -3
  66. package/src/components/Fields/MultiCheckSelect/index.tsx +8 -27
  67. package/src/components/Fields/NoteField/index.tsx +3 -3
  68. package/src/components/Fields/NumberField/index.tsx +6 -3
  69. package/src/components/Fields/RadioField/index.tsx +10 -2
  70. package/src/components/Fields/ReferenceField/index.tsx +8 -1
  71. package/src/components/Fields/ReferenceField/style.tsx +5 -0
  72. package/src/components/Fields/RichText/index.tsx +1 -1
  73. package/src/components/Fields/SliderField/index.tsx +11 -7
  74. package/src/components/Fields/ToggleField/index.tsx +12 -3
  75. package/src/components/Fields/UrlField/PageFinder/SelectionListItem/index.tsx +1 -1
  76. package/src/components/Fields/UrlField/index.tsx +6 -4
  77. package/src/components/Fields/UrlField/style.tsx +4 -2
  78. package/src/components/Fields/VisualOption/index.tsx +10 -2
  79. package/src/components/Fields/VisualUniqueSelection/ImageSelection/index.tsx +2 -2
  80. package/src/components/Fields/VisualUniqueSelection/ScrollableSelection/index.tsx +4 -3
  81. package/src/components/Fields/VisualUniqueSelection/ScrollableSelection/style.tsx +1 -1
  82. package/src/components/Fields/VisualUniqueSelection/index.tsx +3 -3
  83. package/src/components/FieldsBehavior/index.tsx +4 -4
  84. package/src/components/FieldsBehavior/style.tsx +5 -12
  85. package/src/components/FloatingMenu/index.tsx +8 -4
  86. package/src/components/Loader/index.tsx +12 -8
  87. package/src/components/MainWrapper/AppBar/index.tsx +1 -0
  88. package/src/components/MainWrapper/index.tsx +1 -0
  89. package/src/components/Modal/index.tsx +3 -2
  90. package/src/components/Modal/style.tsx +2 -1
  91. package/src/components/Toast/index.tsx +1 -1
  92. package/src/components/Tooltip/index.tsx +1 -1
  93. package/src/components/index.tsx +2 -0
  94. package/src/containers/App/actions.tsx +3 -7
  95. package/src/containers/PageEditor/actions.tsx +36 -5
  96. package/src/forms/editor.tsx +35 -1
  97. package/src/forms/fields.tsx +6 -2
  98. package/src/forms/index.tsx +2 -0
  99. package/src/forms/validators.tsx +29 -8
  100. package/src/guards/error/index.tsx +1 -1
  101. package/src/helpers/containerEvaluations.tsx +32 -4
  102. package/src/helpers/index.tsx +2 -0
  103. package/src/helpers/structuredData.tsx +2 -2
  104. package/src/hooks/forms.tsx +1 -28
  105. package/src/hooks/index.tsx +1 -2
  106. package/src/modules/Content/atoms.tsx +1 -0
  107. package/src/modules/FramePreview/index.tsx +70 -36
  108. package/src/modules/FramePreview/style.tsx +3 -0
  109. package/src/modules/GlobalEditor/PageBrowser/index.tsx +2 -7
  110. package/src/modules/GlobalEditor/index.tsx +8 -6
  111. package/src/modules/GlobalEditor/style.tsx +1 -1
  112. package/src/modules/Navigation/Defaults/DefaultsEditor/Editor/DefaultsBrowser/index.tsx +0 -4
  113. package/src/modules/Navigation/Defaults/DefaultsEditor/index.tsx +3 -2
  114. package/src/modules/PageEditor/PageBrowser/index.tsx +1 -4
  115. package/src/modules/PageEditor/index.tsx +6 -6
  116. package/src/modules/PublicPreview/index.tsx +17 -34
  117. package/src/modules/PublicPreview/style.tsx +0 -2
  118. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/TemplateBrowser/index.tsx +0 -4
  119. package/src/modules/Sites/index.tsx +1 -1
  120. package/src/modules/StructuredData/Form/ConnectedField/index.tsx +1 -1
  121. package/src/modules/StructuredData/Form/index.tsx +3 -1
  122. package/src/modules/StructuredData/StructuredDataList/index.tsx +1 -0
  123. package/src/schemas/pages/GlobalPage.tsx +1 -0
  124. package/src/types/index.tsx +1 -0
@@ -0,0 +1,2214 @@
1
+ export const pageResponse = {
2
+ data: {
3
+ id: 4111,
4
+ entity: "b7a9292c-343d-423e-9952-ab8431c62e92",
5
+ site: 85,
6
+ title: "New Page",
7
+ slug: "/new-page",
8
+ language: 4,
9
+ author: 2,
10
+ isHome: false,
11
+ canonicalURL: "",
12
+ parent: null,
13
+ component: "Page",
14
+ deleted: false,
15
+ follow: true,
16
+ header: 178,
17
+ footer: null,
18
+ isIndexed: true,
19
+ liveStatus: {
20
+ id: 1,
21
+ title: "Offline",
22
+ status: "offline",
23
+ },
24
+ locale: null,
25
+ metaDescription: "",
26
+ metaTitle: "",
27
+ metasAdvanced: "",
28
+ socialTitle: "",
29
+ socialDescription: "",
30
+ socialImage: null,
31
+ template: {
32
+ type: "template",
33
+ templateType: "BasicTemplate",
34
+ heroSection: {
35
+ component: "Section",
36
+ name: "Hero Section",
37
+ modules: [],
38
+ sectionPosition: 1,
39
+ editorID: 2,
40
+ parentEditorID: 1,
41
+ },
42
+ mainContent: {
43
+ component: "Section",
44
+ name: "Main Content",
45
+ modules: [
46
+ {
47
+ component: "BasicContent",
48
+ title: {
49
+ content: "Title!",
50
+ tag: "h1",
51
+ },
52
+ anchorID: "mega-anchor",
53
+ verticalSpacing: "medium",
54
+ layout: "L001",
55
+ theme: "default",
56
+ moduleOrder: null,
57
+ subtitle:
58
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu!",
59
+ content:
60
+ "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu!</p>",
61
+ primaryLink: {
62
+ component: "Link",
63
+ editorID: 5,
64
+ parentEditorID: 4,
65
+ },
66
+ secondaryLink: {
67
+ component: "Link",
68
+ editorID: 6,
69
+ parentEditorID: 4,
70
+ },
71
+ additionalContent: {
72
+ image: {
73
+ component: "LinkableImage",
74
+ editorID: 7,
75
+ parentEditorID: 4,
76
+ },
77
+ video: {
78
+ component: "Video",
79
+ editorID: 8,
80
+ parentEditorID: 4,
81
+ },
82
+ },
83
+ editorID: 4,
84
+ parentEditorID: 3,
85
+ },
86
+ ],
87
+ sectionPosition: 2,
88
+ editorID: 3,
89
+ parentEditorID: 1,
90
+ },
91
+ editorID: 1,
92
+ parentEditorID: 0,
93
+ },
94
+ url: null,
95
+ workflowStatus: null,
96
+ modified: "2022-06-21T09:13:56.000Z",
97
+ published: "2022-06-08T14:01:02.000Z",
98
+ pageLanguages: [
99
+ {
100
+ siteId: 85,
101
+ languageId: 4,
102
+ pageId: 4111,
103
+ title: "New Page",
104
+ locale: "en_GB",
105
+ isLive: false,
106
+ path: {
107
+ site: "/gonzalo-h",
108
+ domain: "/pre-griddo",
109
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
110
+ language: "/gonzalo-h",
111
+ page: "/new-page/",
112
+ compose: "/gonzalo-h/new-page/",
113
+ },
114
+ url: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/new-page/",
115
+ },
116
+ ],
117
+ templateId: "BasicTemplate",
118
+ structuredData: null,
119
+ hash: "556f100a-a9e6-4736-a9e8-26bbf47dfecf",
120
+ origin: "EDITOR",
121
+ editable: true,
122
+ manuallyImported: false,
123
+ availableSites: [
124
+ {
125
+ id: 85,
126
+ name: "Gonzalo H",
127
+ },
128
+ ],
129
+ canBeUnpublished: true,
130
+ editing: {
131
+ id: 2,
132
+ name: "Admin",
133
+ username: "admin",
134
+ email: "admin@secuoyas.com",
135
+ },
136
+ draftFromPage: null,
137
+ haveDraftPage: null,
138
+ liveChanged: false,
139
+ noTranslate: false,
140
+ dimensions: {
141
+ values: null,
142
+ },
143
+ breadcrumb: [
144
+ {
145
+ label: "Home",
146
+ fullPath: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/",
147
+ },
148
+ ],
149
+ path: "",
150
+ fullPath: {
151
+ site: "/gonzalo-h",
152
+ domain: "/pre-griddo",
153
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
154
+ language: "/gonzalo-h",
155
+ page: "/new-page/",
156
+ compose: "/gonzalo-h/new-page/",
157
+ },
158
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/new-page/",
159
+ templateConfig: {},
160
+ },
161
+ status: 200,
162
+ statusText: "Ok",
163
+ headers: {},
164
+ config: {},
165
+ };
166
+
167
+ export const pageResponseWithTabs = {
168
+ data: {
169
+ id: 4168,
170
+ entity: "3eecd312-35f0-4ff0-a115-7ddaaf7294d9",
171
+ site: 85,
172
+ title: "another page",
173
+ slug: "/another-page",
174
+ language: 4,
175
+ author: 2,
176
+ isHome: false,
177
+ canonicalURL: "",
178
+ parent: null,
179
+ component: "Page",
180
+ deleted: false,
181
+ follow: true,
182
+ header: null,
183
+ footer: null,
184
+ isIndexed: true,
185
+ liveStatus: {
186
+ id: 2,
187
+ title: "Publication pending",
188
+ status: "upload-pending",
189
+ },
190
+ locale: null,
191
+ metaDescription: "",
192
+ metaTitle: "another page",
193
+ metasAdvanced: "",
194
+ socialTitle: "",
195
+ socialDescription: "",
196
+ socialImage: null,
197
+ template: {
198
+ type: "template",
199
+ templateType: "BasicTemplate",
200
+ heroSection: {
201
+ component: "Section",
202
+ name: "Hero Section",
203
+ modules: [],
204
+ sectionPosition: 1,
205
+ editorID: 2,
206
+ parentEditorID: 1,
207
+ key: "heroSection",
208
+ },
209
+ mainContent: {
210
+ component: "Section",
211
+ name: "Main Content",
212
+ modules: [
213
+ {
214
+ anchorID: null,
215
+ component: "MultiPageModule",
216
+ title: "Lorem Ipsum",
217
+ hasGriddoMultiPage: true,
218
+ elements: [
219
+ {
220
+ component: "MultiPageElement",
221
+ title: "Tab title",
222
+ sectionSlug: "/tab-01",
223
+ metaTitle: "The meta title",
224
+ metaDescription: "The meta description",
225
+ componentModules: [
226
+ {
227
+ component: "BasicContent",
228
+ title: {
229
+ content: "Titleasd",
230
+ tag: "h1",
231
+ },
232
+ anchorID: "foo",
233
+ verticalSpacing: "medium",
234
+ layout: "L001",
235
+ theme: "default",
236
+ moduleOrder: null,
237
+ subtitle:
238
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.sad",
239
+ content:
240
+ "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.</p>",
241
+ primaryLink: {
242
+ component: "Link",
243
+ text: "Link 1",
244
+ style: "primary",
245
+ url: {
246
+ url: "",
247
+ linkTo: null,
248
+ newTab: false,
249
+ noFollow: false,
250
+ size: null,
251
+ icon: null,
252
+ linkContainer: null,
253
+ },
254
+ modal: {
255
+ basicContent: {
256
+ component: "BasicContent",
257
+ editorID: 8,
258
+ parentEditorID: 7,
259
+ },
260
+ cardCollection: {
261
+ component: "CardCollection",
262
+ editorID: 9,
263
+ parentEditorID: 7,
264
+ },
265
+ },
266
+ editorID: 7,
267
+ parentEditorID: 6,
268
+ },
269
+ secondaryLink: {
270
+ component: "Link",
271
+ editorID: 10,
272
+ parentEditorID: 6,
273
+ },
274
+ additionalContent: {
275
+ image: {
276
+ component: "LinkableImage",
277
+ editorID: 11,
278
+ parentEditorID: 6,
279
+ },
280
+ video: {
281
+ component: "Video",
282
+ editorID: 12,
283
+ parentEditorID: 6,
284
+ },
285
+ },
286
+ editorID: 6,
287
+ parentEditorID: 5,
288
+ },
289
+ ],
290
+ editorID: 5,
291
+ parentEditorID: 4,
292
+ },
293
+ {
294
+ component: "MultiPageElement",
295
+ title: "Tab title",
296
+ sectionSlug: "/tab-02",
297
+ metaTitle: "The meta title",
298
+ metaDescription: "The meta description",
299
+ componentModules: [
300
+ {
301
+ component: "BasicContent",
302
+ title: {
303
+ content: "Titlefsd",
304
+ tag: "h1",
305
+ },
306
+ anchorID: "foo",
307
+ verticalSpacing: "medium",
308
+ layout: "L001",
309
+ theme: "default",
310
+ moduleOrder: null,
311
+ subtitle:
312
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.ds",
313
+ content:
314
+ "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.</p>",
315
+ primaryLink: {
316
+ component: "Link",
317
+ text: "Link 1",
318
+ style: "primary",
319
+ url: {
320
+ url: "",
321
+ linkTo: null,
322
+ newTab: false,
323
+ noFollow: false,
324
+ size: null,
325
+ icon: null,
326
+ linkContainer: null,
327
+ },
328
+ modal: {
329
+ basicContent: {
330
+ component: "BasicContent",
331
+ editorID: 16,
332
+ parentEditorID: 15,
333
+ },
334
+ cardCollection: {
335
+ component: "CardCollection",
336
+ editorID: 17,
337
+ parentEditorID: 15,
338
+ },
339
+ },
340
+ editorID: 15,
341
+ parentEditorID: 14,
342
+ },
343
+ secondaryLink: {
344
+ component: "Link",
345
+ editorID: 18,
346
+ parentEditorID: 14,
347
+ },
348
+ additionalContent: {
349
+ image: {
350
+ component: "LinkableImage",
351
+ editorID: 19,
352
+ parentEditorID: 14,
353
+ },
354
+ video: {
355
+ component: "Video",
356
+ editorID: 20,
357
+ parentEditorID: 14,
358
+ },
359
+ },
360
+ editorID: 14,
361
+ parentEditorID: 13,
362
+ },
363
+ ],
364
+ editorID: 13,
365
+ parentEditorID: 4,
366
+ },
367
+ {
368
+ component: "MultiPageElement",
369
+ title: "Tab title",
370
+ sectionSlug: "/tab-03",
371
+ metaTitle: "The meta title",
372
+ metaDescription: "The meta description",
373
+ componentModules: [
374
+ {
375
+ component: "BasicContent",
376
+ title: {
377
+ content: "Titlefff",
378
+ tag: "h1",
379
+ },
380
+ anchorID: "foo",
381
+ verticalSpacing: "medium",
382
+ layout: "L001",
383
+ theme: "default",
384
+ moduleOrder: null,
385
+ subtitle:
386
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.ffff",
387
+ content:
388
+ "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.</p>",
389
+ primaryLink: {
390
+ component: "Link",
391
+ text: "Link 1",
392
+ style: "primary",
393
+ url: {
394
+ url: "",
395
+ linkTo: null,
396
+ newTab: false,
397
+ noFollow: false,
398
+ size: null,
399
+ icon: null,
400
+ linkContainer: null,
401
+ },
402
+ modal: {
403
+ basicContent: {
404
+ component: "BasicContent",
405
+ editorID: 24,
406
+ parentEditorID: 23,
407
+ },
408
+ cardCollection: {
409
+ component: "CardCollection",
410
+ editorID: 25,
411
+ parentEditorID: 23,
412
+ },
413
+ },
414
+ editorID: 23,
415
+ parentEditorID: 22,
416
+ },
417
+ secondaryLink: {
418
+ component: "Link",
419
+ editorID: 26,
420
+ parentEditorID: 22,
421
+ },
422
+ additionalContent: {
423
+ image: {
424
+ component: "LinkableImage",
425
+ editorID: 27,
426
+ parentEditorID: 22,
427
+ },
428
+ video: {
429
+ component: "Video",
430
+ editorID: 28,
431
+ parentEditorID: 22,
432
+ },
433
+ },
434
+ editorID: 22,
435
+ parentEditorID: 21,
436
+ },
437
+ ],
438
+ editorID: 21,
439
+ parentEditorID: 4,
440
+ },
441
+ ],
442
+ editorID: 4,
443
+ parentEditorID: 3,
444
+ },
445
+ ],
446
+ sectionPosition: 2,
447
+ editorID: 3,
448
+ parentEditorID: 1,
449
+ key: "mainContent",
450
+ },
451
+ editorID: 1,
452
+ parentEditorID: 0,
453
+ },
454
+ url: null,
455
+ workflowStatus: null,
456
+ modified: "2022-06-27T11:25:20.000Z",
457
+ published: "2022-06-24T08:51:35.000Z",
458
+ pageLanguages: [
459
+ {
460
+ siteId: 85,
461
+ languageId: 4,
462
+ pageId: 4168,
463
+ title: "another page",
464
+ locale: "en_GB",
465
+ isLive: true,
466
+ path: {
467
+ site: "/gonzalo-h",
468
+ domain: "/pre-griddo",
469
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
470
+ language: "/gonzalo-h",
471
+ page: "/another-page/",
472
+ compose: "/gonzalo-h/another-page/",
473
+ },
474
+ url: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/another-page/",
475
+ },
476
+ ],
477
+ templateId: "BasicTemplate",
478
+ structuredData: null,
479
+ hash: "d3434d80-f11b-4586-afa0-129b838c157f",
480
+ origin: "EDITOR",
481
+ editable: true,
482
+ manuallyImported: false,
483
+ availableSites: [
484
+ {
485
+ id: 85,
486
+ name: "Gonzalo H",
487
+ },
488
+ ],
489
+ canBeUnpublished: true,
490
+ editing: {
491
+ id: 2,
492
+ name: "Admin",
493
+ username: "admin",
494
+ email: "admin@secuoyas.com",
495
+ },
496
+ draftFromPage: null,
497
+ haveDraftPage: null,
498
+ liveChanged: false,
499
+ noTranslate: false,
500
+ dimensions: {
501
+ values: null,
502
+ },
503
+ breadcrumb: [
504
+ {
505
+ label: "Home",
506
+ fullPath: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/",
507
+ },
508
+ ],
509
+ path: "",
510
+ fullPath: {
511
+ site: "/gonzalo-h",
512
+ domain: "/pre-griddo",
513
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
514
+ language: "/gonzalo-h",
515
+ page: "/another-page/",
516
+ compose: "/gonzalo-h/another-page/",
517
+ },
518
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/gonzalo-h/another-page/",
519
+ templateConfig: {},
520
+ },
521
+ status: 200,
522
+ statusText: "Ok",
523
+ headers: {},
524
+ config: {},
525
+ };
526
+
527
+ export const structuredDataResponse = {
528
+ data: {
529
+ items: [
530
+ {
531
+ id: "PROGRAMS",
532
+ title: "Programs",
533
+ dataPacks: ["STUDIES"],
534
+ local: false,
535
+ taxonomy: false,
536
+ fromPage: true,
537
+ translate: true,
538
+ clone: null,
539
+ defaultValues: null,
540
+ schema: {
541
+ templates: ["ProgramDetail"],
542
+ searchFrom: [],
543
+ fields: [
544
+ {
545
+ key: "title",
546
+ title: "Title",
547
+ type: "TextField",
548
+ from: "title",
549
+ showList: false,
550
+ },
551
+ {
552
+ key: "programType",
553
+ title: "Type of program",
554
+ type: "AsyncCheckGroup",
555
+ source: "PROGRAM_TYPES",
556
+ from: "programType",
557
+ showList: false,
558
+ },
559
+ {
560
+ key: "programFormat",
561
+ title: "Format of program",
562
+ type: "AsyncCheckGroup",
563
+ source: "PROGRAM_FORMAT",
564
+ from: "programFormat",
565
+ showList: false,
566
+ },
567
+ {
568
+ key: "schoolsData",
569
+ title: "Schools",
570
+ name: "Schools Data",
571
+ type: "AsyncCheckGroup",
572
+ from: "schoolsData",
573
+ source: "SCHOOLS",
574
+ indexable: true,
575
+ showList: true,
576
+ },
577
+ {
578
+ key: "pathWaysData",
579
+ title: "PathWay Data",
580
+ name: "PathWay Data",
581
+ type: "ReferenceField",
582
+ from: "pathWaysData",
583
+ showList: false,
584
+ },
585
+ {
586
+ key: "abstract",
587
+ title: "Abstract",
588
+ type: "RichText",
589
+ from: "abstract",
590
+ showList: false,
591
+ },
592
+ {
593
+ key: "programQuickFactsSection",
594
+ title: "Program Quick Facts",
595
+ type: "ComponentArray",
596
+ from: "programQuickFactsSection",
597
+ showList: false,
598
+ },
599
+ {
600
+ key: "heroSection",
601
+ title: "Hero Section",
602
+ type: "ComponentArray",
603
+ from: "heroSection",
604
+ showList: false,
605
+ },
606
+ ],
607
+ },
608
+ editable: true,
609
+ },
610
+ {
611
+ id: "TEACHERS",
612
+ title: "Teachers",
613
+ dataPacks: ["TEACHERS"],
614
+ local: false,
615
+ taxonomy: false,
616
+ fromPage: true,
617
+ translate: true,
618
+ schema: {
619
+ templates: ["TeacherDetail"],
620
+ fields: [
621
+ {
622
+ key: "title",
623
+ title: "Name",
624
+ type: "TextField",
625
+ from: "title",
626
+ mandatory: true,
627
+ showList: false,
628
+ },
629
+ {
630
+ key: "image",
631
+ title: "Image",
632
+ type: "ImageField",
633
+ from: "image",
634
+ mandatory: true,
635
+ showList: false,
636
+ },
637
+ {
638
+ key: "position",
639
+ title: "Position",
640
+ type: "TextField",
641
+ from: "position",
642
+ mandatory: true,
643
+ showList: false,
644
+ },
645
+ {
646
+ key: "linkedin",
647
+ title: "Linkedin",
648
+ from: "linkedin",
649
+ type: "UrlField",
650
+ showList: false,
651
+ },
652
+ {
653
+ key: "units",
654
+ title: "Unit",
655
+ from: "categories.units",
656
+ type: "AsyncCheckGroup",
657
+ source: "UNIT",
658
+ showList: false,
659
+ },
660
+ {
661
+ key: "categories.schools",
662
+ title: "Schools",
663
+ from: "categories.schools",
664
+ type: "AsyncCheckGroup",
665
+ source: "SCHOOLS",
666
+ indexable: true,
667
+ showList: true,
668
+ },
669
+ {
670
+ key: "pathways",
671
+ title: "Pathways",
672
+ from: "categories.pathways",
673
+ type: "AsyncCheckGroup",
674
+ source: "PATHWAYS",
675
+ showList: false,
676
+ },
677
+ {
678
+ key: "programs",
679
+ title: "Programs",
680
+ from: "categories.programs",
681
+ type: "AsyncCheckGroup",
682
+ source: "PROGRAMS",
683
+ showList: false,
684
+ },
685
+ ],
686
+ },
687
+ clone: null,
688
+ defaults: null,
689
+ editable: true,
690
+ },
691
+ {
692
+ id: "NEWS",
693
+ title: "News",
694
+ dataPacks: ["NEWS"],
695
+ local: false,
696
+ taxonomy: false,
697
+ fromPage: true,
698
+ translate: true,
699
+ schema: {
700
+ templates: ["NewsDetail"],
701
+ fields: [
702
+ {
703
+ key: "title",
704
+ title: "Title",
705
+ from: "title",
706
+ type: "TextField",
707
+ showList: false,
708
+ },
709
+ {
710
+ key: "abstract",
711
+ title: "Abstract",
712
+ from: "abstract",
713
+ type: "TextField",
714
+ showList: false,
715
+ },
716
+ {
717
+ key: "image",
718
+ title: "Image",
719
+ from: "image",
720
+ type: "ImageField",
721
+ showList: false,
722
+ },
723
+ {
724
+ key: "categories",
725
+ title: "Categories",
726
+ from: "categories",
727
+ type: "AsyncCheckGroup",
728
+ source: "NEWS_AREAS",
729
+ indexable: true,
730
+ showList: true,
731
+ },
732
+ {
733
+ key: "lead",
734
+ title: "Lead",
735
+ from: "lead",
736
+ type: "TextField",
737
+ showList: false,
738
+ },
739
+ {
740
+ key: "longAbstract",
741
+ title: "longAbstract",
742
+ from: "longAbstract",
743
+ type: "TextField",
744
+ showList: false,
745
+ },
746
+ {
747
+ key: "content",
748
+ title: "Content",
749
+ from: "content",
750
+ type: "TextField",
751
+ showList: false,
752
+ },
753
+ {
754
+ key: "date",
755
+ title: "Date",
756
+ from: "date",
757
+ type: "TextField",
758
+ showList: false,
759
+ },
760
+ ],
761
+ searchFrom: ["lead", "longAbstract", "content"],
762
+ },
763
+ clone: null,
764
+ defaultValues: null,
765
+ editable: true,
766
+ },
767
+ {
768
+ id: "STORIES",
769
+ title: "Stories",
770
+ dataPacks: ["STORIES"],
771
+ local: false,
772
+ taxonomy: false,
773
+ fromPage: true,
774
+ translate: true,
775
+ schema: {
776
+ templates: ["StoryDetail"],
777
+ fields: [
778
+ {
779
+ key: "title",
780
+ title: "Title",
781
+ type: "TextField",
782
+ from: "title",
783
+ mandatory: true,
784
+ indexable: true,
785
+ showList: false,
786
+ },
787
+ {
788
+ key: "storyType",
789
+ title: "Type of story",
790
+ type: "AsyncCheckGroup",
791
+ source: "STORY_TYPE",
792
+ from: "storyType",
793
+ mandatory: true,
794
+ showList: false,
795
+ },
796
+ {
797
+ key: "storyProfile",
798
+ title: "Profile",
799
+ type: "AsyncCheckGroup",
800
+ source: "STORY_PROFILE",
801
+ from: "storyProfile",
802
+ mandatory: true,
803
+ indexable: true,
804
+ showList: true,
805
+ },
806
+ {
807
+ key: "quote",
808
+ title: "Quote",
809
+ type: "RichText",
810
+ from: "quote",
811
+ mandatory: true,
812
+ showList: false,
813
+ },
814
+ {
815
+ key: "image",
816
+ title: "Image",
817
+ type: "TextField",
818
+ from: "image",
819
+ showList: false,
820
+ },
821
+ {
822
+ key: "who",
823
+ title: "Who",
824
+ type: "TextField",
825
+ from: "who",
826
+ mandatory: true,
827
+ showList: false,
828
+ },
829
+ {
830
+ key: "position",
831
+ title: "Position",
832
+ type: "TextField",
833
+ from: "position",
834
+ mandatory: true,
835
+ showList: false,
836
+ },
837
+ ],
838
+ searchFrom: ["quote", "who", "position"],
839
+ },
840
+ clone: null,
841
+ defaultValues: null,
842
+ editable: true,
843
+ },
844
+ {
845
+ id: "EVENTS",
846
+ title: "Events",
847
+ dataPacks: ["EVENTS"],
848
+ local: false,
849
+ taxonomy: false,
850
+ fromPage: true,
851
+ translate: true,
852
+ schema: {
853
+ templates: ["EventDetail"],
854
+ fields: [
855
+ {
856
+ key: "title",
857
+ title: "Title",
858
+ type: "TextField",
859
+ from: "title",
860
+ showList: false,
861
+ },
862
+ {
863
+ key: "image",
864
+ title: "Image",
865
+ type: "ImageField",
866
+ from: "image",
867
+ showList: false,
868
+ },
869
+ {
870
+ key: "tag",
871
+ title: "Tag",
872
+ type: "TextField",
873
+ from: "tag",
874
+ showList: false,
875
+ },
876
+ {
877
+ key: "dateTime",
878
+ title: "Event date and time",
879
+ type: "DateField",
880
+ from: "dateTime",
881
+ indexable: true,
882
+ showList: false,
883
+ },
884
+ {
885
+ key: "eventHour",
886
+ title: "Event Hour",
887
+ type: "TextField",
888
+ from: "eventHour",
889
+ showList: false,
890
+ },
891
+ {
892
+ key: "language",
893
+ title: "Language",
894
+ type: "TextField",
895
+ from: "language",
896
+ showList: false,
897
+ },
898
+ {
899
+ key: "address",
900
+ title: "Address",
901
+ type: "TextField",
902
+ from: "address",
903
+ showList: false,
904
+ },
905
+ {
906
+ key: "country",
907
+ title: "Country",
908
+ type: "TextField",
909
+ from: "country",
910
+ showList: false,
911
+ },
912
+ {
913
+ key: "distributorDescription",
914
+ title: "Distributor description",
915
+ type: "TextField",
916
+ from: "distributorDescription",
917
+ showList: false,
918
+ },
919
+ {
920
+ key: "addToCalendar",
921
+ title: "Add to calendar button",
922
+ type: "ComponentContainer",
923
+ from: "addToCalendar",
924
+ showList: false,
925
+ },
926
+ {
927
+ key: "eventAreas",
928
+ title: "Event Areas",
929
+ type: "AsyncCheckGroup",
930
+ source: "EVENT_AREAS",
931
+ from: "eventAreas",
932
+ showList: false,
933
+ },
934
+ {
935
+ key: "eventLocation",
936
+ title: "Event Locations",
937
+ type: "AsyncCheckGroup",
938
+ source: "EVENT_LOCATIONS",
939
+ from: "eventLocation",
940
+ showList: false,
941
+ },
942
+ {
943
+ key: "eventFormat",
944
+ title: "Event Formats",
945
+ type: "AsyncCheckGroup",
946
+ source: "EVENT_FORMATS",
947
+ from: "eventFormat",
948
+ showList: false,
949
+ },
950
+ {
951
+ key: "programType",
952
+ title: "Program Type",
953
+ type: "AsyncCheckGroup",
954
+ source: "PROGRAM_TYPES",
955
+ from: "programType",
956
+ showList: false,
957
+ },
958
+ {
959
+ key: "eventRegion",
960
+ title: "Region",
961
+ type: "AsyncCheckGroup",
962
+ source: "EVENT_REGION",
963
+ from: "eventRegion",
964
+ indexable: true,
965
+ showList: true,
966
+ },
967
+ ],
968
+ searchFrom: ["tag"],
969
+ },
970
+ clone: null,
971
+ defaultValues: null,
972
+ editable: true,
973
+ },
974
+ {
975
+ id: "STUDY_LANDING_TYPE",
976
+ title: "Study Landing type",
977
+ dataPacks: ["STUDIES"],
978
+ local: true,
979
+ taxonomy: false,
980
+ fromPage: false,
981
+ translate: false,
982
+ schema: {
983
+ fields: [
984
+ {
985
+ title: "Title",
986
+ type: "TextField",
987
+ key: "title",
988
+ showList: false,
989
+ },
990
+ ],
991
+ },
992
+ clone: null,
993
+ defaultValues: null,
994
+ editable: true,
995
+ },
996
+ ],
997
+ },
998
+ status: 200,
999
+ statusText: "Ok",
1000
+ headers: {},
1001
+ config: {},
1002
+ };
1003
+
1004
+ export const sitePagesResponse = {
1005
+ data: {
1006
+ totalItems: 5,
1007
+ page: "1",
1008
+ items: [
1009
+ {
1010
+ id: 3363,
1011
+ entity: "6e289022-f7e3-4edd-a7a0-f32f6624d669",
1012
+ site: 108,
1013
+ title: "Hola!!!",
1014
+ slug: "/",
1015
+ language: 4,
1016
+ author: 2,
1017
+ isHome: true,
1018
+ canonicalURL: "",
1019
+ parent: null,
1020
+ component: "Page",
1021
+ deleted: false,
1022
+ follow: true,
1023
+ header: 75,
1024
+ footer: null,
1025
+ isIndexed: true,
1026
+ liveStatus: {
1027
+ id: 1,
1028
+ title: "Offline",
1029
+ status: "offline",
1030
+ },
1031
+ locale: null,
1032
+ metaDescription: "",
1033
+ metaTitle: "New Page!!!",
1034
+ metasAdvanced: "",
1035
+ socialTitle: "",
1036
+ socialDescription: "",
1037
+ socialImage: null,
1038
+ template: {
1039
+ type: "template",
1040
+ templateType: "BasicTemplate",
1041
+ heroSection: {
1042
+ component: "Section",
1043
+ name: "Hero Section",
1044
+ modules: [],
1045
+ sectionPosition: 1,
1046
+ editorID: 2,
1047
+ parentEditorID: 1,
1048
+ key: "heroSection",
1049
+ },
1050
+ mainContent: {
1051
+ component: "Section",
1052
+ name: "Main Content",
1053
+ modules: [],
1054
+ sectionPosition: 2,
1055
+ editorID: 3,
1056
+ parentEditorID: 1,
1057
+ key: "mainContent",
1058
+ },
1059
+ editorID: 1,
1060
+ parentEditorID: 0,
1061
+ },
1062
+ url: null,
1063
+ workflowStatus: null,
1064
+ modified: "2022-05-06T09:54:49.000Z",
1065
+ published: "2022-01-20T08:29:26.000Z",
1066
+ pageLanguages: [
1067
+ {
1068
+ siteId: 108,
1069
+ languageId: 4,
1070
+ pageId: 3363,
1071
+ title: "Hola!!!",
1072
+ locale: "en_GB",
1073
+ isLive: false,
1074
+ path: {
1075
+ site: "/testing",
1076
+ domain: "/pre-griddo",
1077
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1078
+ language: "/testing",
1079
+ page: "/",
1080
+ compose: "/testing/",
1081
+ },
1082
+ url: "//cx.dev.griddo.io/pre-griddo/testing/",
1083
+ },
1084
+ ],
1085
+ templateId: "BasicTemplate",
1086
+ structuredData: null,
1087
+ hash: "c912377b-36b0-4662-b9f5-62ecf3b19391",
1088
+ origin: "EDITOR",
1089
+ editable: true,
1090
+ manuallyImported: false,
1091
+ availableSites: [
1092
+ {
1093
+ id: 108,
1094
+ name: "Testing",
1095
+ },
1096
+ ],
1097
+ canBeUnpublished: true,
1098
+ editing: {
1099
+ id: 2,
1100
+ name: "Admin",
1101
+ username: "admin",
1102
+ email: "admin@secuoyas.com",
1103
+ },
1104
+ draftFromPage: null,
1105
+ haveDraftPage: null,
1106
+ liveChanged: false,
1107
+ noTranslate: false,
1108
+ dimensions: {
1109
+ values: null,
1110
+ },
1111
+ fullPath: {
1112
+ site: "/testing",
1113
+ domain: "/pre-griddo",
1114
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1115
+ language: "/testing",
1116
+ page: "/",
1117
+ compose: "/testing/",
1118
+ },
1119
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/testing/",
1120
+ templateConfig: {},
1121
+ },
1122
+ {
1123
+ id: 3488,
1124
+ entity: "613b9d63-9246-40c9-b422-02fbea22e586",
1125
+ site: 108,
1126
+ title: "Íñigo Montoya",
1127
+ slug: "/inigo-montoya",
1128
+ language: 4,
1129
+ author: 2,
1130
+ isHome: false,
1131
+ canonicalURL: "//cx.dev.griddo.io/pre-griddo/qa-mai/inigo-montoya/",
1132
+ parent: null,
1133
+ component: "GlobalPage",
1134
+ deleted: false,
1135
+ follow: true,
1136
+ header: null,
1137
+ footer: null,
1138
+ isIndexed: true,
1139
+ liveStatus: {
1140
+ id: 3,
1141
+ title: "Live",
1142
+ status: "active",
1143
+ },
1144
+ locale: null,
1145
+ metaDescription: "",
1146
+ metaTitle: "Íñigo Montoya",
1147
+ metasAdvanced: "",
1148
+ socialTitle: "",
1149
+ socialDescription: "",
1150
+ socialImage: null,
1151
+ template: {
1152
+ type: "template",
1153
+ templateType: "StoryDetail",
1154
+ heroSection: {
1155
+ component: "Section",
1156
+ name: "Hero Section",
1157
+ modules: [
1158
+ {
1159
+ component: "HeroText",
1160
+ editorID: 3,
1161
+ parentEditorID: 2,
1162
+ },
1163
+ ],
1164
+ sectionPosition: 1,
1165
+ editorID: 2,
1166
+ parentEditorID: 1,
1167
+ },
1168
+ quote: "",
1169
+ image: {
1170
+ id: 489,
1171
+ name: "Esmerelda-peanut.jpg",
1172
+ title: "",
1173
+ description: "",
1174
+ alt: "",
1175
+ tags: ["perezoso", "animal", "sloth"],
1176
+ url: "https://res.cloudinary.com/thesaurus-cms/image/upload/v1635947651/thesaurus-dev/Esmerelda-peanut_685fd2fc-5d11-499a-9476-a2eb75e85535.jpg",
1177
+ thumb:
1178
+ "https://res.cloudinary.com/thesaurus-cms/image/upload/w_192,h_144,c_fill,g_auto/v1635947651/thesaurus-dev/Esmerelda-peanut_685fd2fc-5d11-499a-9476-a2eb75e85535.jpg",
1179
+ publicId: "thesaurus-dev/Esmerelda-peanut_685fd2fc-5d11-499a-9476-a2eb75e85535",
1180
+ published: "2021-11-03T13:54:11Z",
1181
+ size: 105099,
1182
+ width: 480,
1183
+ height: 720,
1184
+ orientation: "P",
1185
+ site: "global",
1186
+ },
1187
+ aboutMe:
1188
+ "Íñigo era originalmente el hijo de un herrero español llamado _Domingo Montoya_ que llevaba una vida sencilla en la forja de un pequeño pueblo. El mejor amigo de su padre era _Yeste_, considerado el mejor espadero del mundo, aunque lo que todos ignoraban es que las famosas armas que le dieron su fama eran trabajos que pedía a Domingo. Domingo se consideraba un artesano más que un negociante, por lo que no le interesaba hacer fortuna, sino encontrar un reto que pusiera a prueba sus cualidades ya que aun los más complicados trabajos que Yeste le encargaba no representaban para él un reto.",
1189
+ who: "Íñigo Montoya",
1190
+ position: "Vengador",
1191
+ moreQuickFacts: {
1192
+ component: "Section",
1193
+ name: "More Quick Facts",
1194
+ modules: [],
1195
+ sectionPosition: 2,
1196
+ editorID: 4,
1197
+ parentEditorID: 1,
1198
+ },
1199
+ socialShare: {
1200
+ component: "Section",
1201
+ name: "Show Social Share",
1202
+ modules: [],
1203
+ sectionPosition: 3,
1204
+ editorID: 5,
1205
+ parentEditorID: 1,
1206
+ },
1207
+ mainContent: {
1208
+ component: "Section",
1209
+ name: "Main Content",
1210
+ modules: [
1211
+ {
1212
+ component: "Wysiwyg",
1213
+ theme: "defaultAlt",
1214
+ showHero: false,
1215
+ image: null,
1216
+ titleOption: false,
1217
+ titleAlign: "left",
1218
+ title: "",
1219
+ subtitle: "",
1220
+ quote: "",
1221
+ contentTitle: null,
1222
+ introduction: null,
1223
+ featuredVisualContent: {
1224
+ image: {
1225
+ component: "LinkableImage",
1226
+ editorID: 8,
1227
+ parentEditorID: 7,
1228
+ },
1229
+ video: {
1230
+ component: "Video",
1231
+ editorID: 9,
1232
+ parentEditorID: 7,
1233
+ },
1234
+ },
1235
+ content:
1236
+ "<p>Un día, cuando tenía diez años, un extranjero de quien Íñigo solo logra recordar que tenía seis dedos en una mano, apareció contratando al herrero para que forjara para él una espada de calidad sobresaliente; el hombre buscaba la perfección en la esgrima, pero al haber nacido con esta anomalía no lograba el total control del arma, así por primera vez en su vida el padre de Íñigo se encontró ante un reto que puso a prueba su habilidad, creatividad, salud e incluso su cordura ya que trabajó por meses forjando el arma y diseñando un modelo que sacara todo el potencial del usuario hasta que pasado un año logró un arma magnífica con un peso y filo sin igual, sin embargo al llegar el día de concretar el trato, el hombre de los seis dedos puso en duda la calidad del arma como una excusa para pagar solo una décima parte del precio acordado a lo que obviamente el padre de Íñigo se negó, no por considerarlo una estafa sino dolido al ver que había trabajado tanto para alguien que no comprendía el valor de un arma y decidió regalar la espada a su hijo, por lo que sin aviso ni provocación el hombre de seis dedos le atravesó el corazón.</p><p>Íñigo enfurecido al ver esto, tomó la espada que su padre forjó y desafió a un duelo al hombre de los seis dedos, pero siendo solo un niño de once años y careciendo de conocimientos de esgrima no fue capaz de nada, su oponente como burla le perdonó la vida y lo desfiguró cortándole ambas mejillas con heridas tan profundas que marcó su cara de por vida. Yeste se encargó del cuidado de Iñigo pero a pesar de que existía un gran aprecio, tras algún tiempo huyó y solo regresó a los veintidós años, tras pasar una década aprendiendo esgrima.&nbsp;</p>",
1237
+ link: {
1238
+ component: "Link",
1239
+ editorID: 10,
1240
+ parentEditorID: 7,
1241
+ },
1242
+ editorID: 7,
1243
+ parentEditorID: 6,
1244
+ anchorID: null,
1245
+ imgVeil: 50,
1246
+ },
1247
+ {
1248
+ component: "CardCollection",
1249
+ title: {
1250
+ content: "",
1251
+ tag: "h2",
1252
+ },
1253
+ subtitle: "",
1254
+ detail: "",
1255
+ elements: [
1256
+ {
1257
+ component: "ImageCard",
1258
+ title: {
1259
+ content: "Lorem Ipsum Title",
1260
+ tag: "h4",
1261
+ },
1262
+ image: {
1263
+ component: "LinkableImage",
1264
+ file: {
1265
+ publicId: "placeholders/oxygenbg",
1266
+ },
1267
+ editorID: 13,
1268
+ parentEditorID: 12,
1269
+ },
1270
+ editorID: 12,
1271
+ parentEditorID: 11,
1272
+ },
1273
+ {
1274
+ component: "ImageCard",
1275
+ title: {
1276
+ content: "Lorem Ipsum Title",
1277
+ tag: "h4",
1278
+ },
1279
+ image: {
1280
+ component: "LinkableImage",
1281
+ file: {
1282
+ publicId: "placeholders/oxygenbg",
1283
+ },
1284
+ editorID: 15,
1285
+ parentEditorID: 14,
1286
+ },
1287
+ editorID: 14,
1288
+ parentEditorID: 11,
1289
+ },
1290
+ ],
1291
+ groupingLink: {
1292
+ component: "Link",
1293
+ editorID: 16,
1294
+ parentEditorID: 11,
1295
+ },
1296
+ layout: "L001",
1297
+ theme: "defaultAlt",
1298
+ editorID: 11,
1299
+ parentEditorID: 6,
1300
+ },
1301
+ {
1302
+ anchorID: null,
1303
+ verticalSpacing: "medium",
1304
+ component: "NewsDistributor",
1305
+ title: {
1306
+ content: "News distributor title",
1307
+ tag: "h2",
1308
+ },
1309
+ data: {
1310
+ mode: "manual",
1311
+ fixed: [4395],
1312
+ },
1313
+ cardTitleTag: "h3",
1314
+ groupingLink: {
1315
+ component: "Link",
1316
+ text: "Link",
1317
+ url: {
1318
+ url: "",
1319
+ linkTo: null,
1320
+ newTab: false,
1321
+ noFollow: false,
1322
+ external: false,
1323
+ size: null,
1324
+ icon: null,
1325
+ linkContainer: null,
1326
+ },
1327
+ style: "secondary",
1328
+ editorID: 18,
1329
+ parentEditorID: 17,
1330
+ },
1331
+ hasDistributorData: true,
1332
+ layout: "featuredBlock",
1333
+ elementStyle: "magazineCard",
1334
+ editorID: 17,
1335
+ parentEditorID: 6,
1336
+ subtitle: "",
1337
+ detail: "",
1338
+ },
1339
+ ],
1340
+ sectionPosition: 4,
1341
+ editorID: 6,
1342
+ parentEditorID: 1,
1343
+ },
1344
+ showPagination: false,
1345
+ relatedContent: {
1346
+ component: "Section",
1347
+ name: "Related Content",
1348
+ modules: [],
1349
+ sectionPosition: 4,
1350
+ editorID: 19,
1351
+ parentEditorID: 1,
1352
+ },
1353
+ editorID: 1,
1354
+ parentEditorID: 0,
1355
+ showSocialShare: {
1356
+ component: "Section",
1357
+ name: "Show Social Share",
1358
+ modules: [],
1359
+ sectionPosition: 3,
1360
+ editorID: 20,
1361
+ parentEditorID: 1,
1362
+ },
1363
+ storyType: [
1364
+ {
1365
+ value: 4418,
1366
+ name: 4418,
1367
+ title: "Story Type 1",
1368
+ },
1369
+ {
1370
+ value: 4419,
1371
+ name: 4419,
1372
+ title: "Story Type 2",
1373
+ },
1374
+ ],
1375
+ storyProfile: [
1376
+ {
1377
+ value: 4464,
1378
+ name: 4464,
1379
+ title: "Student",
1380
+ },
1381
+ ],
1382
+ },
1383
+ url: null,
1384
+ workflowStatus: null,
1385
+ modified: "2022-02-08T17:04:03.000Z",
1386
+ published: "2022-02-04T11:18:22.000Z",
1387
+ pageLanguages: [
1388
+ {
1389
+ siteId: 108,
1390
+ languageId: 4,
1391
+ pageId: 3488,
1392
+ title: "Íñigo Montoya",
1393
+ locale: "en_GB",
1394
+ isLive: true,
1395
+ path: {
1396
+ site: "/testing",
1397
+ domain: "/pre-griddo",
1398
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1399
+ language: "/testing",
1400
+ page: "/inigo-montoya/",
1401
+ compose: "/testing/inigo-montoya/",
1402
+ },
1403
+ url: "//cx.dev.griddo.io/pre-griddo/testing/inigo-montoya/",
1404
+ },
1405
+ ],
1406
+ templateId: "StoryDetail",
1407
+ structuredData: "STORIES",
1408
+ hash: "fadae9b6-5c07-4524-a888-6d32e6b853eb",
1409
+ origin: "GLOBAL",
1410
+ editable: false,
1411
+ manuallyImported: true,
1412
+ availableSites: [
1413
+ {
1414
+ id: 81,
1415
+ name: "Sergio Site",
1416
+ },
1417
+ {
1418
+ id: 84,
1419
+ name: "QA Mai",
1420
+ },
1421
+ {
1422
+ id: 108,
1423
+ name: "Testing",
1424
+ },
1425
+ ],
1426
+ canBeUnpublished: true,
1427
+ editing: null,
1428
+ draftFromPage: null,
1429
+ haveDraftPage: null,
1430
+ liveChanged: false,
1431
+ noTranslate: false,
1432
+ fullPath: {
1433
+ site: "/testing",
1434
+ domain: "/pre-griddo",
1435
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1436
+ language: "/testing",
1437
+ page: "/inigo-montoya/",
1438
+ compose: "/testing/inigo-montoya/",
1439
+ },
1440
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/testing/inigo-montoya/",
1441
+ originalGlobalPage: 3337,
1442
+ structuredDataContent: {
1443
+ storyProfile: [
1444
+ {
1445
+ id: 4464,
1446
+ label: "Student",
1447
+ },
1448
+ ],
1449
+ },
1450
+ templateConfig: {},
1451
+ },
1452
+ {
1453
+ id: 3429,
1454
+ entity: "133b6f42-71f5-406d-9f62-c0b6e597b1dc",
1455
+ site: 108,
1456
+ title: "Prueba",
1457
+ slug: "/prueba",
1458
+ language: 4,
1459
+ author: 2,
1460
+ isHome: false,
1461
+ canonicalURL: "",
1462
+ parent: null,
1463
+ component: "GlobalPage",
1464
+ deleted: false,
1465
+ follow: true,
1466
+ header: null,
1467
+ footer: null,
1468
+ isIndexed: true,
1469
+ liveStatus: {
1470
+ id: 3,
1471
+ title: "Live",
1472
+ status: "active",
1473
+ },
1474
+ locale: null,
1475
+ metaDescription: "",
1476
+ metaTitle: "Prueba",
1477
+ metasAdvanced: "",
1478
+ socialTitle: "",
1479
+ socialDescription: "",
1480
+ socialImage: null,
1481
+ template: {
1482
+ type: "template",
1483
+ templateType: "ProgramDetail",
1484
+ showPagination: false,
1485
+ data: {
1486
+ mode: "auto",
1487
+ source: ["PROGRAMS"],
1488
+ order: "recent",
1489
+ },
1490
+ abstract: null,
1491
+ heroSection: {
1492
+ component: "Section",
1493
+ name: "Hero Section",
1494
+ modules: [
1495
+ {
1496
+ anchorID: null,
1497
+ component: "HeroProgram",
1498
+ title: {
1499
+ content: "Title",
1500
+ tag: "h2",
1501
+ },
1502
+ subtitle: "subtitle",
1503
+ image: {
1504
+ component: "Image",
1505
+ title: "Oxygen",
1506
+ alt: "A default placeholder image",
1507
+ veil: 50,
1508
+ file: {
1509
+ publicId: "griddo-components/placeholders/oxygenbg",
1510
+ },
1511
+ editorID: 4,
1512
+ parentEditorID: 3,
1513
+ },
1514
+ editorID: 3,
1515
+ parentEditorID: 2,
1516
+ },
1517
+ ],
1518
+ sectionPosition: 4,
1519
+ editorID: 2,
1520
+ parentEditorID: 1,
1521
+ key: "heroSection",
1522
+ },
1523
+ documentDownloadSection: {
1524
+ component: "Section",
1525
+ name: "Document Download",
1526
+ modules: [],
1527
+ sectionPosition: 4,
1528
+ editorID: 5,
1529
+ parentEditorID: 1,
1530
+ key: "documentDownloadSection",
1531
+ },
1532
+ programQuickFactsSection: {
1533
+ component: "Section",
1534
+ name: "Quick Facts Section",
1535
+ modules: [
1536
+ {
1537
+ anchorID: null,
1538
+ component: "ProgramQuickFacts",
1539
+ theme: "default",
1540
+ title: {
1541
+ content: "Program quick facts title",
1542
+ },
1543
+ duration: "duration detail text",
1544
+ language: "language detail text",
1545
+ location: "location detail text",
1546
+ format: "format detail text",
1547
+ modOfStudy: "mod of study detail text",
1548
+ intake: "intake detail text",
1549
+ elements: [],
1550
+ editorID: 7,
1551
+ parentEditorID: 6,
1552
+ },
1553
+ ],
1554
+ sectionPosition: 4,
1555
+ editorID: 6,
1556
+ parentEditorID: 1,
1557
+ key: "programQuickFactsSection",
1558
+ },
1559
+ programTabsSection: {
1560
+ component: "Section",
1561
+ name: "Program Tabs Sectinon",
1562
+ modules: [
1563
+ {
1564
+ anchorID: null,
1565
+ component: "ProgramTabs",
1566
+ theme: "defaultAlt",
1567
+ cta1: {
1568
+ component: "Link",
1569
+ text: "CTA1",
1570
+ style: "primary",
1571
+ url: {
1572
+ url: "",
1573
+ linkTo: null,
1574
+ newTab: false,
1575
+ noFollow: false,
1576
+ size: null,
1577
+ icon: null,
1578
+ linkContainer: null,
1579
+ },
1580
+ editorID: 10,
1581
+ parentEditorID: 9,
1582
+ },
1583
+ cta2: {
1584
+ component: "Link",
1585
+ text: "CTA2",
1586
+ style: "secondary",
1587
+ url: {
1588
+ url: "",
1589
+ linkTo: null,
1590
+ newTab: false,
1591
+ noFollow: false,
1592
+ size: null,
1593
+ icon: null,
1594
+ linkContainer: null,
1595
+ },
1596
+ editorID: 11,
1597
+ parentEditorID: 9,
1598
+ },
1599
+ elements: [
1600
+ {
1601
+ component: "ProgramTabElement",
1602
+ title: {
1603
+ content: "Title",
1604
+ tag: "h3",
1605
+ },
1606
+ elements: [],
1607
+ componentModules: [
1608
+ {
1609
+ component: "BasicContent",
1610
+ title: {
1611
+ content: "Default title",
1612
+ tag: "h1",
1613
+ },
1614
+ subtitle:
1615
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. ",
1616
+ content:
1617
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.",
1618
+ primaryLink: {
1619
+ component: "Link",
1620
+ text: "Link 1",
1621
+ url: {
1622
+ url: "",
1623
+ linkTo: null,
1624
+ newTab: false,
1625
+ noFollow: false,
1626
+ size: null,
1627
+ icon: null,
1628
+ linkContainer: null,
1629
+ },
1630
+ theme: "primary",
1631
+ editorID: 14,
1632
+ parentEditorID: 13,
1633
+ },
1634
+ secondaryLink: {
1635
+ component: "Link",
1636
+ editorID: 15,
1637
+ parentEditorID: 13,
1638
+ },
1639
+ additionalContent: {
1640
+ image: {
1641
+ component: "LinkableImage",
1642
+ title: "Oxygen",
1643
+ alt: "A default placeholder image",
1644
+ veil: 0,
1645
+ file: {
1646
+ publicId: "griddo-components/placeholders/oxygenbg",
1647
+ },
1648
+ editorID: 16,
1649
+ parentEditorID: 13,
1650
+ },
1651
+ video: {
1652
+ component: "Video",
1653
+ editorID: 17,
1654
+ parentEditorID: 13,
1655
+ },
1656
+ },
1657
+ theme: "defaultAlt",
1658
+ layout: "L001",
1659
+ moduleOrder: null,
1660
+ editorID: 13,
1661
+ parentEditorID: 12,
1662
+ },
1663
+ ],
1664
+ editorID: 12,
1665
+ parentEditorID: 9,
1666
+ },
1667
+ {
1668
+ component: "ProgramTabElement",
1669
+ title: {
1670
+ content: "Title",
1671
+ tag: "h3",
1672
+ },
1673
+ elements: [],
1674
+ componentModules: [
1675
+ {
1676
+ component: "BasicContent",
1677
+ title: {
1678
+ content: "Default title",
1679
+ tag: "h1",
1680
+ },
1681
+ subtitle:
1682
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. ",
1683
+ content:
1684
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.",
1685
+ primaryLink: {
1686
+ component: "Link",
1687
+ text: "Link 1",
1688
+ url: {
1689
+ url: "",
1690
+ linkTo: null,
1691
+ newTab: false,
1692
+ noFollow: false,
1693
+ size: null,
1694
+ icon: null,
1695
+ linkContainer: null,
1696
+ },
1697
+ theme: "primary",
1698
+ editorID: 20,
1699
+ parentEditorID: 19,
1700
+ },
1701
+ secondaryLink: {
1702
+ component: "Link",
1703
+ editorID: 21,
1704
+ parentEditorID: 19,
1705
+ },
1706
+ additionalContent: {
1707
+ image: {
1708
+ component: "LinkableImage",
1709
+ title: "Oxygen",
1710
+ alt: "A default placeholder image",
1711
+ veil: 0,
1712
+ file: {
1713
+ publicId: "griddo-components/placeholders/oxygenbg",
1714
+ },
1715
+ editorID: 22,
1716
+ parentEditorID: 19,
1717
+ },
1718
+ video: {
1719
+ component: "Video",
1720
+ editorID: 23,
1721
+ parentEditorID: 19,
1722
+ },
1723
+ },
1724
+ theme: "defaultAlt",
1725
+ layout: "L001",
1726
+ moduleOrder: null,
1727
+ editorID: 19,
1728
+ parentEditorID: 18,
1729
+ },
1730
+ ],
1731
+ editorID: 18,
1732
+ parentEditorID: 9,
1733
+ },
1734
+ {
1735
+ component: "ProgramTabElement",
1736
+ title: {
1737
+ content: "Title",
1738
+ tag: "h3",
1739
+ },
1740
+ elements: [],
1741
+ componentModules: [
1742
+ {
1743
+ component: "BasicContent",
1744
+ title: {
1745
+ content: "Default title",
1746
+ tag: "h1",
1747
+ },
1748
+ subtitle:
1749
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. ",
1750
+ content:
1751
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dignissim ut nibh eget porttitor. Nunc eleifend mollis arcu.",
1752
+ primaryLink: {
1753
+ component: "Link",
1754
+ text: "Link 1",
1755
+ url: {
1756
+ url: "",
1757
+ linkTo: null,
1758
+ newTab: false,
1759
+ noFollow: false,
1760
+ size: null,
1761
+ icon: null,
1762
+ linkContainer: null,
1763
+ },
1764
+ theme: "primary",
1765
+ editorID: 26,
1766
+ parentEditorID: 25,
1767
+ },
1768
+ secondaryLink: {
1769
+ component: "Link",
1770
+ editorID: 27,
1771
+ parentEditorID: 25,
1772
+ },
1773
+ additionalContent: {
1774
+ image: {
1775
+ component: "LinkableImage",
1776
+ title: "Oxygen",
1777
+ alt: "A default placeholder image",
1778
+ veil: 0,
1779
+ file: {
1780
+ publicId: "griddo-components/placeholders/oxygenbg",
1781
+ },
1782
+ editorID: 28,
1783
+ parentEditorID: 25,
1784
+ },
1785
+ video: {
1786
+ component: "Video",
1787
+ editorID: 29,
1788
+ parentEditorID: 25,
1789
+ },
1790
+ },
1791
+ theme: "defaultAlt",
1792
+ layout: "L001",
1793
+ moduleOrder: null,
1794
+ editorID: 25,
1795
+ parentEditorID: 24,
1796
+ },
1797
+ ],
1798
+ editorID: 24,
1799
+ parentEditorID: 9,
1800
+ },
1801
+ ],
1802
+ editorID: 9,
1803
+ parentEditorID: 8,
1804
+ },
1805
+ ],
1806
+ sectionPosition: 4,
1807
+ editorID: 8,
1808
+ parentEditorID: 1,
1809
+ key: "programTabsSection",
1810
+ },
1811
+ relatedContent: {
1812
+ component: "Section",
1813
+ name: "Related Content",
1814
+ modules: [
1815
+ {
1816
+ anchorID: null,
1817
+ component: "SocialShare",
1818
+ title: "Share",
1819
+ theme: "inverse",
1820
+ editorID: 31,
1821
+ parentEditorID: 30,
1822
+ },
1823
+ {
1824
+ anchorID: null,
1825
+ verticalSpacing: "medium",
1826
+ component: "AddressCollection",
1827
+ title: {
1828
+ content: "Title",
1829
+ tag: "h1",
1830
+ },
1831
+ subtitle: "Subtitle",
1832
+ detail: "Detail",
1833
+ theme: "defaultAlt",
1834
+ layout: "L001",
1835
+ showMap: "yes",
1836
+ elements: [
1837
+ {
1838
+ component: "AddressCard",
1839
+ title: {
1840
+ content: "Title",
1841
+ tag: "h1",
1842
+ },
1843
+ address: "Lorem ipsum dolor sit amet, 00",
1844
+ email: "email@email.com",
1845
+ phone: "+44 (0) 00 00 00 00 00",
1846
+ elementStyle: "MAP",
1847
+ link: {
1848
+ component: "Link",
1849
+ editorID: 34,
1850
+ parentEditorID: 33,
1851
+ },
1852
+ map: {
1853
+ component: "Map",
1854
+ editorID: 35,
1855
+ parentEditorID: 33,
1856
+ },
1857
+ editorID: 33,
1858
+ parentEditorID: 32,
1859
+ },
1860
+ {
1861
+ component: "AddressCard",
1862
+ title: {
1863
+ content: "Title",
1864
+ tag: "h1",
1865
+ },
1866
+ address: "Lorem ipsum dolor sit amet, 00",
1867
+ email: "email@email.com",
1868
+ phone: "+44 (0) 00 00 00 00 00",
1869
+ link: {
1870
+ component: "Link",
1871
+ editorID: 37,
1872
+ parentEditorID: 36,
1873
+ },
1874
+ map: {
1875
+ component: "Map",
1876
+ editorID: 38,
1877
+ parentEditorID: 36,
1878
+ },
1879
+ editorID: 36,
1880
+ parentEditorID: 32,
1881
+ },
1882
+ ],
1883
+ editorID: 32,
1884
+ parentEditorID: 30,
1885
+ },
1886
+ ],
1887
+ sectionPosition: 4,
1888
+ editorID: 30,
1889
+ parentEditorID: 1,
1890
+ key: "relatedContent",
1891
+ },
1892
+ editorID: 1,
1893
+ parentEditorID: 0,
1894
+ programFormat: [
1895
+ {
1896
+ value: 4440,
1897
+ name: 4440,
1898
+ title: "gg",
1899
+ },
1900
+ ],
1901
+ programType: [
1902
+ {
1903
+ value: 4438,
1904
+ name: 4438,
1905
+ title: "Programas",
1906
+ },
1907
+ ],
1908
+ schoolsData: [
1909
+ {
1910
+ value: 4449,
1911
+ name: 4449,
1912
+ title: "School 1",
1913
+ },
1914
+ ],
1915
+ pathWaysData: [
1916
+ {
1917
+ value: 4450,
1918
+ name: 4450,
1919
+ title: "Pathway 1",
1920
+ },
1921
+ ],
1922
+ },
1923
+ url: null,
1924
+ workflowStatus: null,
1925
+ modified: "2022-02-03T11:44:41.000Z",
1926
+ published: "2022-02-02T07:53:12.000Z",
1927
+ pageLanguages: [
1928
+ {
1929
+ siteId: 108,
1930
+ languageId: 4,
1931
+ pageId: 3429,
1932
+ title: "Prueba",
1933
+ locale: "en_GB",
1934
+ isLive: true,
1935
+ path: {
1936
+ site: "/testing",
1937
+ domain: "/pre-griddo",
1938
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1939
+ language: "/testing",
1940
+ page: "/prueba/",
1941
+ compose: "/testing/prueba/",
1942
+ },
1943
+ url: "//cx.dev.griddo.io/pre-griddo/testing/prueba/",
1944
+ },
1945
+ ],
1946
+ templateId: "ProgramDetail",
1947
+ structuredData: "PROGRAMS",
1948
+ hash: "5da63dd8-cff2-491b-8a3a-f11188ae7dc5",
1949
+ origin: "GLOBAL",
1950
+ editable: false,
1951
+ manuallyImported: true,
1952
+ availableSites: [
1953
+ {
1954
+ id: 92,
1955
+ name: "aaa",
1956
+ },
1957
+ {
1958
+ id: 108,
1959
+ name: "Testing",
1960
+ },
1961
+ ],
1962
+ canBeUnpublished: true,
1963
+ editing: null,
1964
+ draftFromPage: null,
1965
+ haveDraftPage: null,
1966
+ liveChanged: false,
1967
+ noTranslate: false,
1968
+ fullPath: {
1969
+ site: "/testing",
1970
+ domain: "/pre-griddo",
1971
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
1972
+ language: "/testing",
1973
+ page: "/prueba/",
1974
+ compose: "/testing/prueba/",
1975
+ },
1976
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/testing/prueba/",
1977
+ originalGlobalPage: null,
1978
+ structuredDataContent: {
1979
+ schoolsData: [],
1980
+ },
1981
+ templateConfig: {},
1982
+ },
1983
+ {
1984
+ id: 3366,
1985
+ entity: "530a1a02-731c-43f0-a176-c4cd88e5227a",
1986
+ site: 108,
1987
+ title: "Event",
1988
+ slug: "/events",
1989
+ language: 4,
1990
+ author: 4,
1991
+ isHome: false,
1992
+ canonicalURL: "",
1993
+ parent: null,
1994
+ component: "Page",
1995
+ deleted: false,
1996
+ follow: true,
1997
+ header: null,
1998
+ footer: null,
1999
+ isIndexed: true,
2000
+ liveStatus: {
2001
+ id: 1,
2002
+ title: "Offline",
2003
+ status: "offline",
2004
+ },
2005
+ locale: null,
2006
+ metaDescription: "",
2007
+ metaTitle: "Events",
2008
+ metasAdvanced: "",
2009
+ socialTitle: "",
2010
+ socialDescription: "",
2011
+ socialImage: null,
2012
+ template: {
2013
+ type: "template",
2014
+ templateType: "EventList",
2015
+ layout: "L001",
2016
+ heroSection: {
2017
+ component: "Section",
2018
+ name: "Hero Section",
2019
+ modules: [
2020
+ {
2021
+ component: "HeroText",
2022
+ editorID: 3,
2023
+ parentEditorID: 2,
2024
+ },
2025
+ ],
2026
+ sectionPosition: 1,
2027
+ editorID: 2,
2028
+ parentEditorID: 1,
2029
+ },
2030
+ leadText: "Lorem Ipsum",
2031
+ noResultsText: "Sorry, no results were found. Please try a different search.",
2032
+ hasDistributorData: true,
2033
+ data: {
2034
+ mode: "auto",
2035
+ source: ["EVENTS", "EVENTS_AUTO"],
2036
+ order: "alpha",
2037
+ quantity: 15,
2038
+ },
2039
+ itemsPerPage: 10,
2040
+ activePage: 1,
2041
+ slug: "events",
2042
+ relatedContent: {
2043
+ component: "Section",
2044
+ name: "Related content",
2045
+ modules: [],
2046
+ sectionPosition: 2,
2047
+ editorID: 4,
2048
+ parentEditorID: 1,
2049
+ },
2050
+ editorID: 1,
2051
+ parentEditorID: 0,
2052
+ },
2053
+ url: null,
2054
+ workflowStatus: null,
2055
+ modified: "2022-01-21T12:49:32.000Z",
2056
+ published: "2022-01-20T15:24:51.000Z",
2057
+ pageLanguages: [
2058
+ {
2059
+ siteId: 108,
2060
+ languageId: 4,
2061
+ pageId: 3366,
2062
+ title: "Event",
2063
+ locale: "en_GB",
2064
+ isLive: false,
2065
+ path: {
2066
+ site: "/testing",
2067
+ domain: "/pre-griddo",
2068
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
2069
+ language: "/testing",
2070
+ page: "/events/",
2071
+ compose: "/testing/events/",
2072
+ },
2073
+ url: "//cx.dev.griddo.io/pre-griddo/testing/events/",
2074
+ },
2075
+ ],
2076
+ templateId: "EventList",
2077
+ structuredData: null,
2078
+ hash: "20412029-0eec-4202-8477-f1a1ad5fe179",
2079
+ origin: "EDITOR",
2080
+ editable: true,
2081
+ manuallyImported: false,
2082
+ availableSites: [
2083
+ {
2084
+ id: 108,
2085
+ name: "Testing",
2086
+ },
2087
+ ],
2088
+ canBeUnpublished: true,
2089
+ editing: null,
2090
+ draftFromPage: null,
2091
+ haveDraftPage: null,
2092
+ liveChanged: false,
2093
+ noTranslate: false,
2094
+ fullPath: {
2095
+ site: "/testing",
2096
+ domain: "/pre-griddo",
2097
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
2098
+ language: "/testing",
2099
+ page: "/events/",
2100
+ compose: "/testing/events/",
2101
+ },
2102
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/testing/events/",
2103
+ templateConfig: {},
2104
+ },
2105
+ {
2106
+ id: 3361,
2107
+ entity: "a6de65a2-c294-438b-841c-d65e37ace2fd",
2108
+ site: 108,
2109
+ title: "Hom",
2110
+ slug: "/home",
2111
+ language: 4,
2112
+ author: 4,
2113
+ isHome: false,
2114
+ canonicalURL: "",
2115
+ parent: null,
2116
+ component: "Page",
2117
+ deleted: false,
2118
+ follow: false,
2119
+ header: null,
2120
+ footer: null,
2121
+ isIndexed: false,
2122
+ liveStatus: {
2123
+ id: 3,
2124
+ title: "Live",
2125
+ status: "active",
2126
+ },
2127
+ locale: null,
2128
+ metaDescription: "",
2129
+ metaTitle: "Home",
2130
+ metasAdvanced: "",
2131
+ socialTitle: "",
2132
+ socialDescription: "",
2133
+ socialImage: null,
2134
+ template: {
2135
+ type: "template",
2136
+ templateType: "BasicTemplate",
2137
+ heroSection: {
2138
+ component: "Section",
2139
+ name: "Hero Section",
2140
+ modules: [],
2141
+ sectionPosition: 1,
2142
+ editorID: 2,
2143
+ parentEditorID: 1,
2144
+ },
2145
+ mainContent: {
2146
+ component: "Section",
2147
+ name: "Main Content",
2148
+ modules: [],
2149
+ sectionPosition: 2,
2150
+ editorID: 3,
2151
+ parentEditorID: 1,
2152
+ },
2153
+ editorID: 1,
2154
+ parentEditorID: 0,
2155
+ },
2156
+ url: null,
2157
+ workflowStatus: null,
2158
+ modified: "2022-01-21T12:49:32.000Z",
2159
+ published: "2022-01-20T08:26:25.000Z",
2160
+ pageLanguages: [
2161
+ {
2162
+ siteId: 108,
2163
+ languageId: 4,
2164
+ pageId: 3361,
2165
+ title: "Hom",
2166
+ locale: "en_GB",
2167
+ isLive: true,
2168
+ path: {
2169
+ site: "/testing",
2170
+ domain: "/pre-griddo",
2171
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
2172
+ language: "/testing",
2173
+ page: "/home/",
2174
+ compose: "/testing/home/",
2175
+ },
2176
+ url: "//cx.dev.griddo.io/pre-griddo/testing/home/",
2177
+ },
2178
+ ],
2179
+ templateId: "BasicTemplate",
2180
+ structuredData: null,
2181
+ hash: "45578f5c-4426-4899-9fce-c7424de3998e",
2182
+ origin: "EDITOR",
2183
+ editable: true,
2184
+ manuallyImported: false,
2185
+ availableSites: [
2186
+ {
2187
+ id: 108,
2188
+ name: "Testing",
2189
+ },
2190
+ ],
2191
+ canBeUnpublished: true,
2192
+ editing: null,
2193
+ draftFromPage: null,
2194
+ haveDraftPage: null,
2195
+ liveChanged: false,
2196
+ noTranslate: false,
2197
+ fullPath: {
2198
+ site: "/testing",
2199
+ domain: "/pre-griddo",
2200
+ domainUrl: "//cx.dev.griddo.io/pre-griddo",
2201
+ language: "/testing",
2202
+ page: "/home/",
2203
+ compose: "/testing/home/",
2204
+ },
2205
+ fullUrl: "//cx.dev.griddo.io/pre-griddo/testing/home/",
2206
+ templateConfig: {},
2207
+ },
2208
+ ],
2209
+ },
2210
+ status: 200,
2211
+ statusText: "Ok",
2212
+ headers: {},
2213
+ config: {},
2214
+ };