@localazy/strapi-plugin 0.1.10 → 0.1.11-rc.0

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 (42) hide show
  1. package/.eslintrc +6 -2
  2. package/admin/src/modules/@common/models/supported-content-type-fields.js +8 -0
  3. package/admin/src/modules/plugin-settings/components/Tree/index.js +2 -0
  4. package/admin/src/modules/plugin-settings/utils/get-filtered-models-schemas.js +4 -4
  5. package/admin/src/modules/plugin-settings/utils/get-models-tree.js +3 -1
  6. package/package.json +1 -1
  7. package/server/bootstrap.js +15 -1
  8. package/server/controllers/localazy-transfer-controller.js +41 -46
  9. package/server/functions/should-set-downloaded-property.js +16 -0
  10. package/server/models/supported-content-type-fields.js +8 -0
  11. package/server/services/index.js +2 -0
  12. package/server/services/strapi-i18n-service.js +4 -3
  13. package/server/services/strapi-localazy-i18n-service.js +104 -0
  14. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-cookbook.js +5761 -0
  15. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-restaurant-simple-menu.js +536 -0
  16. package/server/tests/fixtures/parsed-localazy-entry-to-update-entry.js +35157 -0
  17. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook-empty-recipes.js +202 -0
  18. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook.js +2700 -0
  19. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-simple.js +47 -0
  20. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-with-media.js +169 -0
  21. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-empty.js +3003 -0
  22. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-with-media.js +2057 -0
  23. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-sample-json.js +46 -0
  24. package/server/tests/fixtures/{all-models-with-multimedia.js → strapi-plugin-all-models.js} +717 -540
  25. package/server/utils/__tests__/get-models-tree.test.js +1 -1
  26. package/server/utils/__tests__/parsed-localazy-entry-to-create-entry.test.js +90 -93
  27. package/server/utils/__tests__/parsed-localazy-entry-to-update-entry.test.js +417 -101
  28. package/server/utils/__tests__/populate-create-update-entry-with-base-entry.test.js +852 -0
  29. package/server/utils/get-full-populate-object.js +56 -0
  30. package/server/utils/get-models-tree.js +3 -1
  31. package/server/utils/model-utils.js +38 -0
  32. package/server/utils/parsed-localazy-entry-to-create-entry.js +1 -18
  33. package/server/utils/parsed-localazy-entry-to-update-entry.js +38 -3
  34. package/server/utils/populate-create-update-entry-with-base-entry.js +222 -0
  35. package/server/utils/transfer-setup-utils.js +14 -0
  36. package/server/tests/fixtures/restaurant-model.js +0 -230
  37. package/server/tests/fixtures/restaurants-entries.js +0 -152
  38. package/server/tests/fixtures/strapi-book-with-multimedia-components-cs.js +0 -31
  39. package/server/tests/fixtures/stringified-book-cs.js +0 -3
  40. package/server/tests/fixtures/stringified-book-with-multimedia-components-cs.js +0 -3
  41. package/server/tests/fixtures/stringified-restaurant-cs.js +0 -3
  42. package/server/tests/fixtures/stringified-restaurant-de.js +0 -5
@@ -0,0 +1,2700 @@
1
+ const updateEntry = {
2
+ id: 24,
3
+ title: "Pro každý den v roce",
4
+ author_name: "David V.",
5
+ pages: 365,
6
+ recipes: [
7
+ {
8
+ id: 20,
9
+ name: "Bramborový salát",
10
+ recipe: "Oloupejte brambory, smíchejte je se všemi ingrediencemi a máte hotovo. Bon apetit!",
11
+ estimated_cook_time: "00:30:00.000",
12
+ difficulty: "easy",
13
+ author_name: "Mr. Bramborová hlava",
14
+ gallery: [
15
+ {
16
+ id: 100,
17
+ image_title: "Syrové brambory",
18
+ image_description: "Čerstvý!",
19
+ },
20
+ {
21
+ id: 101,
22
+ image_title: "Salát",
23
+ image_description: "Mňam!",
24
+ },
25
+ ],
26
+ ingredients: [
27
+ {
28
+ id: 115,
29
+ name: "Brambory",
30
+ amount: 2,
31
+ unit: "kg",
32
+ is_required: true,
33
+ },
34
+ {
35
+ id: 116,
36
+ name: "Hrášek",
37
+ amount: 0.5,
38
+ unit: "plechovka",
39
+ is_required: true,
40
+ },
41
+ {
42
+ id: 117,
43
+ name: "Kukuřice",
44
+ amount: 0.5,
45
+ unit: "plechovka",
46
+ is_required: true,
47
+ },
48
+ {
49
+ id: 118,
50
+ name: "Majonéza",
51
+ amount: 4,
52
+ unit: "1",
53
+ is_required: true,
54
+ },
55
+ {
56
+ id: 119,
57
+ name: "Sýr",
58
+ amount: 1,
59
+ unit: "1",
60
+ is_required: true,
61
+ },
62
+ {
63
+ id: 120,
64
+ name: "Jablko",
65
+ amount: 1,
66
+ unit: "ks",
67
+ is_required: true,
68
+ },
69
+ ],
70
+ },
71
+ ],
72
+ gallery: {
73
+ id: 24,
74
+ optional_title: null,
75
+ annotation: "Podívejte se na naše chutné jídlo, pak čtěte dál a ponořte se do kulinářského nebe!",
76
+ main_image: {
77
+ id: 102,
78
+ image_title: "Kuchařka",
79
+ image_description: "Booklet",
80
+ },
81
+ gallery: [
82
+ {
83
+ id: 103,
84
+ image_title: null,
85
+ image_description: "Brožura, listy a vidlička.",
86
+ },
87
+ {
88
+ id: 104,
89
+ image_title: "Koření",
90
+ image_description: null,
91
+ },
92
+ ],
93
+ },
94
+ };
95
+
96
+ const baseEntry = {
97
+ id: 1,
98
+ title: "For Every Day of the Year",
99
+ author_name: "David V.",
100
+ pages: 365,
101
+ recipes: [
102
+ {
103
+ id: 1,
104
+ name: "Potato Salad",
105
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
106
+ estimated_cook_time: "00:30:00.000",
107
+ difficulty: "easy",
108
+ author_name: "Mr. Potato Head",
109
+ gallery: [
110
+ {
111
+ id: 1,
112
+ image_title: "Raw potatoes",
113
+ image_description: "Fresh!",
114
+ image: {
115
+ id: 6,
116
+ name: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
117
+ alternativeText: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
118
+ caption: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
119
+ width: 2268,
120
+ height: 4032,
121
+ formats: {
122
+ thumbnail: {
123
+ name: "thumbnail_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
124
+ hash: "thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
125
+ ext: ".jpg",
126
+ mime: "image/jpeg",
127
+ path: null,
128
+ width: 88,
129
+ height: 156,
130
+ size: 5.35,
131
+ url: "/uploads/thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
132
+ },
133
+ large: {
134
+ name: "large_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
135
+ hash: "large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
136
+ ext: ".jpg",
137
+ mime: "image/jpeg",
138
+ path: null,
139
+ width: 563,
140
+ height: 1000,
141
+ size: 108.15,
142
+ url: "/uploads/large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
143
+ },
144
+ medium: {
145
+ name: "medium_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
146
+ hash: "medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
147
+ ext: ".jpg",
148
+ mime: "image/jpeg",
149
+ path: null,
150
+ width: 422,
151
+ height: 750,
152
+ size: 65.52,
153
+ url: "/uploads/medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
154
+ },
155
+ small: {
156
+ name: "small_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
157
+ hash: "small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
158
+ ext: ".jpg",
159
+ mime: "image/jpeg",
160
+ path: null,
161
+ width: 281,
162
+ height: 500,
163
+ size: 34.23,
164
+ url: "/uploads/small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
165
+ },
166
+ },
167
+ hash: "rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
168
+ ext: ".jpg",
169
+ mime: "image/jpeg",
170
+ size: 1081.59,
171
+ url: "/uploads/rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
172
+ previewUrl: null,
173
+ provider: "local",
174
+ provider_metadata: null,
175
+ },
176
+ },
177
+ {
178
+ id: 2,
179
+ image_title: "Salad",
180
+ image_description: "Yummy!",
181
+ image: {
182
+ id: 7,
183
+ name: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
184
+ alternativeText: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
185
+ caption: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
186
+ width: 4608,
187
+ height: 3456,
188
+ formats: {
189
+ thumbnail: {
190
+ name: "thumbnail_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
191
+ hash: "thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
192
+ ext: ".jpg",
193
+ mime: "image/jpeg",
194
+ path: null,
195
+ width: 208,
196
+ height: 156,
197
+ size: 9.03,
198
+ url: "/uploads/thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
199
+ },
200
+ large: {
201
+ name: "large_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
202
+ hash: "large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
203
+ ext: ".jpg",
204
+ mime: "image/jpeg",
205
+ path: null,
206
+ width: 1000,
207
+ height: 750,
208
+ size: 102.77,
209
+ url: "/uploads/large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
210
+ },
211
+ medium: {
212
+ name: "medium_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
213
+ hash: "medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
214
+ ext: ".jpg",
215
+ mime: "image/jpeg",
216
+ path: null,
217
+ width: 750,
218
+ height: 563,
219
+ size: 66.26,
220
+ url: "/uploads/medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
221
+ },
222
+ small: {
223
+ name: "small_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
224
+ hash: "small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
225
+ ext: ".jpg",
226
+ mime: "image/jpeg",
227
+ path: null,
228
+ width: 500,
229
+ height: 375,
230
+ size: 35.17,
231
+ url: "/uploads/small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
232
+ },
233
+ },
234
+ hash: "jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
235
+ ext: ".jpg",
236
+ mime: "image/jpeg",
237
+ size: 1664.79,
238
+ url: "/uploads/jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
239
+ previewUrl: null,
240
+ provider: "local",
241
+ provider_metadata: null,
242
+ },
243
+ },
244
+ ],
245
+ ingredients: [
246
+ {
247
+ id: 1,
248
+ name: "Potatoes",
249
+ amount: 2,
250
+ unit: "kg",
251
+ is_required: true,
252
+ },
253
+ {
254
+ id: 2,
255
+ name: "Peas",
256
+ amount: 0.5,
257
+ unit: "can",
258
+ is_required: true,
259
+ },
260
+ {
261
+ id: 3,
262
+ name: "Corn",
263
+ amount: 0.5,
264
+ unit: "can",
265
+ is_required: true,
266
+ },
267
+ {
268
+ id: 4,
269
+ name: "Mayo",
270
+ amount: 4,
271
+ unit: "spoons",
272
+ is_required: true,
273
+ },
274
+ {
275
+ id: 5,
276
+ name: "Cheese",
277
+ amount: 1,
278
+ unit: "block",
279
+ is_required: true,
280
+ },
281
+ {
282
+ id: 6,
283
+ name: "Apple",
284
+ amount: 1,
285
+ unit: "pcs",
286
+ is_required: false,
287
+ },
288
+ ],
289
+ },
290
+ ],
291
+ gallery: {
292
+ id: 1,
293
+ optional_title: null,
294
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
295
+ main_image: {
296
+ id: 3,
297
+ image_title: "Cookbook",
298
+ image_description: "Booklet",
299
+ image: {
300
+ id: 9,
301
+ name: "dan-gold-5O1ddenSM4g-unsplash.jpg",
302
+ alternativeText: "dan-gold-5O1ddenSM4g-unsplash.jpg",
303
+ caption: "dan-gold-5O1ddenSM4g-unsplash.jpg",
304
+ width: 6000,
305
+ height: 3376,
306
+ formats: {
307
+ thumbnail: {
308
+ name: "thumbnail_dan-gold-5O1ddenSM4g-unsplash.jpg",
309
+ hash: "thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
310
+ ext: ".jpg",
311
+ mime: "image/jpeg",
312
+ path: null,
313
+ width: 245,
314
+ height: 138,
315
+ size: 7.44,
316
+ url: "/uploads/thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
317
+ },
318
+ large: {
319
+ name: "large_dan-gold-5O1ddenSM4g-unsplash.jpg",
320
+ hash: "large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
321
+ ext: ".jpg",
322
+ mime: "image/jpeg",
323
+ path: null,
324
+ width: 1000,
325
+ height: 563,
326
+ size: 52.67,
327
+ url: "/uploads/large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
328
+ },
329
+ medium: {
330
+ name: "medium_dan-gold-5O1ddenSM4g-unsplash.jpg",
331
+ hash: "medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
332
+ ext: ".jpg",
333
+ mime: "image/jpeg",
334
+ path: null,
335
+ width: 750,
336
+ height: 422,
337
+ size: 35.15,
338
+ url: "/uploads/medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
339
+ },
340
+ small: {
341
+ name: "small_dan-gold-5O1ddenSM4g-unsplash.jpg",
342
+ hash: "small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
343
+ ext: ".jpg",
344
+ mime: "image/jpeg",
345
+ path: null,
346
+ width: 500,
347
+ height: 281,
348
+ size: 19.95,
349
+ url: "/uploads/small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
350
+ },
351
+ },
352
+ hash: "dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
353
+ ext: ".jpg",
354
+ mime: "image/jpeg",
355
+ size: 972.68,
356
+ url: "/uploads/dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
357
+ previewUrl: null,
358
+ provider: "local",
359
+ provider_metadata: null,
360
+ },
361
+ },
362
+ gallery: [
363
+ {
364
+ id: 5,
365
+ image_title: null,
366
+ image_description: "The booklet and leaves and fork.",
367
+ image: {
368
+ id: 11,
369
+ name: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
370
+ alternativeText: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
371
+ caption: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
372
+ width: 6127,
373
+ height: 3844,
374
+ formats: {
375
+ thumbnail: {
376
+ name: "thumbnail_heather-ford-G4LFhuLXhLE-unsplash.jpg",
377
+ hash: "thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
378
+ ext: ".jpg",
379
+ mime: "image/jpeg",
380
+ path: null,
381
+ width: 245,
382
+ height: 154,
383
+ size: 9.54,
384
+ url: "/uploads/thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
385
+ },
386
+ large: {
387
+ name: "large_heather-ford-G4LFhuLXhLE-unsplash.jpg",
388
+ hash: "large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
389
+ ext: ".jpg",
390
+ mime: "image/jpeg",
391
+ path: null,
392
+ width: 1000,
393
+ height: 628,
394
+ size: 117.56,
395
+ url: "/uploads/large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
396
+ },
397
+ medium: {
398
+ name: "medium_heather-ford-G4LFhuLXhLE-unsplash.jpg",
399
+ hash: "medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
400
+ ext: ".jpg",
401
+ mime: "image/jpeg",
402
+ path: null,
403
+ width: 750,
404
+ height: 471,
405
+ size: 66.32,
406
+ url: "/uploads/medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
407
+ },
408
+ small: {
409
+ name: "small_heather-ford-G4LFhuLXhLE-unsplash.jpg",
410
+ hash: "small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
411
+ ext: ".jpg",
412
+ mime: "image/jpeg",
413
+ path: null,
414
+ width: 500,
415
+ height: 314,
416
+ size: 31.42,
417
+ url: "/uploads/small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
418
+ },
419
+ },
420
+ hash: "heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
421
+ ext: ".jpg",
422
+ mime: "image/jpeg",
423
+ size: 6971.47,
424
+ url: "/uploads/heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
425
+ previewUrl: null,
426
+ provider: "local",
427
+ provider_metadata: null,
428
+ },
429
+ },
430
+ {
431
+ id: 4,
432
+ image_title: "Spices",
433
+ image_description: null,
434
+ image: {
435
+ id: 10,
436
+ name: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
437
+ alternativeText: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
438
+ caption: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
439
+ width: 3569,
440
+ height: 5353,
441
+ formats: {
442
+ thumbnail: {
443
+ name: "thumbnail_calum-lewis-vA1L1jRTM70-unsplash.jpg",
444
+ hash: "thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
445
+ ext: ".jpg",
446
+ mime: "image/jpeg",
447
+ path: null,
448
+ width: 104,
449
+ height: 156,
450
+ size: 5.55,
451
+ url: "/uploads/thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
452
+ },
453
+ large: {
454
+ name: "large_calum-lewis-vA1L1jRTM70-unsplash.jpg",
455
+ hash: "large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
456
+ ext: ".jpg",
457
+ mime: "image/jpeg",
458
+ path: null,
459
+ width: 667,
460
+ height: 1000,
461
+ size: 116.32,
462
+ url: "/uploads/large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
463
+ },
464
+ medium: {
465
+ name: "medium_calum-lewis-vA1L1jRTM70-unsplash.jpg",
466
+ hash: "medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
467
+ ext: ".jpg",
468
+ mime: "image/jpeg",
469
+ path: null,
470
+ width: 500,
471
+ height: 750,
472
+ size: 72.75,
473
+ url: "/uploads/medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
474
+ },
475
+ small: {
476
+ name: "small_calum-lewis-vA1L1jRTM70-unsplash.jpg",
477
+ hash: "small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
478
+ ext: ".jpg",
479
+ mime: "image/jpeg",
480
+ path: null,
481
+ width: 333,
482
+ height: 500,
483
+ size: 36.52,
484
+ url: "/uploads/small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
485
+ },
486
+ },
487
+ hash: "calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
488
+ ext: ".jpg",
489
+ mime: "image/jpeg",
490
+ size: 2305.97,
491
+ url: "/uploads/calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
492
+ previewUrl: null,
493
+ provider: "local",
494
+ provider_metadata: null,
495
+ },
496
+ },
497
+ ],
498
+ },
499
+ used_in_restaurants: [
500
+ {
501
+ id: 1,
502
+ name: "Hungry Window",
503
+ description: "Oriental street food in your mouth quick and easy!",
504
+ established_at: "2022-10-01",
505
+ is_franchise: false,
506
+ contact_email: "david@localazy.com",
507
+ cuisine: "Thai",
508
+ capacity: 68,
509
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
510
+ featured_image: null,
511
+ supported_restaurants: [
512
+ ],
513
+ menu: [
514
+ {
515
+ id: 1,
516
+ name: "Curry Soup",
517
+ price: 5,
518
+ currency: "$",
519
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
520
+ is_available: true,
521
+ food_gallery: [
522
+ {
523
+ id: 3,
524
+ name: "emy-XoByiBymX20-unsplash.jpg",
525
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
526
+ caption: "emy-XoByiBymX20-unsplash.jpg",
527
+ width: 5184,
528
+ height: 3456,
529
+ formats: {
530
+ thumbnail: {
531
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
532
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
533
+ ext: ".jpg",
534
+ mime: "image/jpeg",
535
+ path: null,
536
+ width: 234,
537
+ height: 156,
538
+ size: 11.04,
539
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
540
+ },
541
+ large: {
542
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
543
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
544
+ ext: ".jpg",
545
+ mime: "image/jpeg",
546
+ path: null,
547
+ width: 1000,
548
+ height: 667,
549
+ size: 97.59,
550
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
551
+ },
552
+ medium: {
553
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
554
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
555
+ ext: ".jpg",
556
+ mime: "image/jpeg",
557
+ path: null,
558
+ width: 750,
559
+ height: 500,
560
+ size: 63.15,
561
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
562
+ },
563
+ small: {
564
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
565
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
566
+ ext: ".jpg",
567
+ mime: "image/jpeg",
568
+ path: null,
569
+ width: 500,
570
+ height: 333,
571
+ size: 33.98,
572
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
573
+ },
574
+ },
575
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
576
+ ext: ".jpg",
577
+ mime: "image/jpeg",
578
+ size: 1411.68,
579
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
580
+ previewUrl: null,
581
+ provider: "local",
582
+ provider_metadata: null,
583
+ },
584
+ {
585
+ id: 4,
586
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
587
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
588
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
589
+ width: 3840,
590
+ height: 5760,
591
+ formats: {
592
+ thumbnail: {
593
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
594
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
595
+ ext: ".jpg",
596
+ mime: "image/jpeg",
597
+ path: null,
598
+ width: 104,
599
+ height: 156,
600
+ size: 6.06,
601
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
602
+ },
603
+ large: {
604
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
605
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
606
+ ext: ".jpg",
607
+ mime: "image/jpeg",
608
+ path: null,
609
+ width: 667,
610
+ height: 1000,
611
+ size: 202.98,
612
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
613
+ },
614
+ medium: {
615
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
616
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
617
+ ext: ".jpg",
618
+ mime: "image/jpeg",
619
+ path: null,
620
+ width: 500,
621
+ height: 750,
622
+ size: 120.06,
623
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
624
+ },
625
+ small: {
626
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
627
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
628
+ ext: ".jpg",
629
+ mime: "image/jpeg",
630
+ path: null,
631
+ width: 333,
632
+ height: 500,
633
+ size: 54.32,
634
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
635
+ },
636
+ },
637
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
638
+ ext: ".jpg",
639
+ mime: "image/jpeg",
640
+ size: 5952.03,
641
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
642
+ previewUrl: null,
643
+ provider: "local",
644
+ provider_metadata: null,
645
+ },
646
+ ],
647
+ },
648
+ ],
649
+ used_cookbooks: {
650
+ id: 1,
651
+ title: "For Every Day of the Year",
652
+ author_name: "David V.",
653
+ pages: 365,
654
+ recipes: [
655
+ {
656
+ id: 1,
657
+ name: "Potato Salad",
658
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
659
+ estimated_cook_time: "00:30:00.000",
660
+ difficulty: "easy",
661
+ author_name: "Mr. Potato Head",
662
+ gallery: [
663
+ {
664
+ id: 1,
665
+ image_title: "Raw potatoes",
666
+ image_description: "Fresh!",
667
+ },
668
+ {
669
+ id: 2,
670
+ image_title: "Salad",
671
+ image_description: "Yummy!",
672
+ },
673
+ ],
674
+ ingredients: [
675
+ {
676
+ id: 1,
677
+ name: "Potatoes",
678
+ amount: 2,
679
+ unit: "kg",
680
+ is_required: true,
681
+ },
682
+ {
683
+ id: 2,
684
+ name: "Peas",
685
+ amount: 0.5,
686
+ unit: "can",
687
+ is_required: true,
688
+ },
689
+ {
690
+ id: 3,
691
+ name: "Corn",
692
+ amount: 0.5,
693
+ unit: "can",
694
+ is_required: true,
695
+ },
696
+ {
697
+ id: 4,
698
+ name: "Mayo",
699
+ amount: 4,
700
+ unit: "spoons",
701
+ is_required: true,
702
+ },
703
+ {
704
+ id: 5,
705
+ name: "Cheese",
706
+ amount: 1,
707
+ unit: "block",
708
+ is_required: true,
709
+ },
710
+ {
711
+ id: 6,
712
+ name: "Apple",
713
+ amount: 1,
714
+ unit: "pcs",
715
+ is_required: false,
716
+ },
717
+ ],
718
+ },
719
+ ],
720
+ gallery: {
721
+ id: 1,
722
+ optional_title: null,
723
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
724
+ main_image: {
725
+ id: 3,
726
+ image_title: "Cookbook",
727
+ image_description: "Booklet",
728
+ },
729
+ gallery: [
730
+ {
731
+ id: 5,
732
+ image_title: null,
733
+ image_description: "The booklet and leaves and fork.",
734
+ },
735
+ {
736
+ id: 4,
737
+ image_title: "Spices",
738
+ image_description: null,
739
+ },
740
+ ],
741
+ },
742
+ used_in_restaurants: [
743
+ {
744
+ id: 1,
745
+ name: "Hungry Window",
746
+ description: "Oriental street food in your mouth quick and easy!",
747
+ established_at: "2022-10-01",
748
+ is_franchise: false,
749
+ contact_email: "david@localazy.com",
750
+ cuisine: "Thai",
751
+ capacity: 68,
752
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
753
+ featured_image: null,
754
+ supported_restaurants: [
755
+ ],
756
+ menu: [
757
+ {
758
+ id: 1,
759
+ name: "Curry Soup",
760
+ price: 5,
761
+ currency: "$",
762
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
763
+ is_available: true,
764
+ },
765
+ ],
766
+ used_cookbooks: {
767
+ id: 1,
768
+ title: "For Every Day of the Year",
769
+ author_name: "David V.",
770
+ pages: 365,
771
+ },
772
+ },
773
+ {
774
+ id: 3,
775
+ name: "Blue Oyster",
776
+ description: "See food? Better say Sea food!",
777
+ established_at: "1822-07-09",
778
+ is_franchise: null,
779
+ contact_email: "david@localazy.com",
780
+ cuisine: "Italian",
781
+ capacity: 16,
782
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
783
+ featured_image: null,
784
+ supported_restaurants: [
785
+ {
786
+ id: 1,
787
+ name: "Hungry Window",
788
+ description: "Oriental street food in your mouth quick and easy!",
789
+ established_at: "2022-10-01",
790
+ is_franchise: false,
791
+ contact_email: "david@localazy.com",
792
+ cuisine: "Thai",
793
+ capacity: 68,
794
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
795
+ },
796
+ {
797
+ id: 2,
798
+ name: "Michelin's",
799
+ description: "The most fancy restaurant in the Solar System. Check out our menu created by the one and only Gordon Ramsay.",
800
+ established_at: "2002-06-23",
801
+ is_franchise: true,
802
+ contact_email: "david@localazy.com",
803
+ cuisine: "French",
804
+ capacity: 148,
805
+ our_story: "## The most fancy restaurant in the Solar System.\n\nCheck out our menu created by ~~just a random guy~~ the one and only **Gordon Ramsay**.",
806
+ },
807
+ ],
808
+ menu: [
809
+ ],
810
+ used_cookbooks: {
811
+ id: 1,
812
+ title: "For Every Day of the Year",
813
+ author_name: "David V.",
814
+ pages: 365,
815
+ },
816
+ },
817
+ ],
818
+ },
819
+ },
820
+ {
821
+ id: 3,
822
+ name: "Blue Oyster",
823
+ description: "See food? Better say Sea food!",
824
+ established_at: "1822-07-09",
825
+ is_franchise: null,
826
+ contact_email: "david@localazy.com",
827
+ cuisine: "Italian",
828
+ capacity: 16,
829
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
830
+ featured_image: null,
831
+ supported_restaurants: [
832
+ {
833
+ id: 1,
834
+ name: "Hungry Window",
835
+ description: "Oriental street food in your mouth quick and easy!",
836
+ established_at: "2022-10-01",
837
+ is_franchise: false,
838
+ contact_email: "david@localazy.com",
839
+ cuisine: "Thai",
840
+ capacity: 68,
841
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
842
+ featured_image: null,
843
+ supported_restaurants: [
844
+ ],
845
+ menu: [
846
+ {
847
+ id: 1,
848
+ name: "Curry Soup",
849
+ price: 5,
850
+ currency: "$",
851
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
852
+ is_available: true,
853
+ food_gallery: [
854
+ {
855
+ id: 3,
856
+ name: "emy-XoByiBymX20-unsplash.jpg",
857
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
858
+ caption: "emy-XoByiBymX20-unsplash.jpg",
859
+ width: 5184,
860
+ height: 3456,
861
+ formats: {
862
+ thumbnail: {
863
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
864
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
865
+ ext: ".jpg",
866
+ mime: "image/jpeg",
867
+ path: null,
868
+ width: 234,
869
+ height: 156,
870
+ size: 11.04,
871
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
872
+ },
873
+ large: {
874
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
875
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
876
+ ext: ".jpg",
877
+ mime: "image/jpeg",
878
+ path: null,
879
+ width: 1000,
880
+ height: 667,
881
+ size: 97.59,
882
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
883
+ },
884
+ medium: {
885
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
886
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
887
+ ext: ".jpg",
888
+ mime: "image/jpeg",
889
+ path: null,
890
+ width: 750,
891
+ height: 500,
892
+ size: 63.15,
893
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
894
+ },
895
+ small: {
896
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
897
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
898
+ ext: ".jpg",
899
+ mime: "image/jpeg",
900
+ path: null,
901
+ width: 500,
902
+ height: 333,
903
+ size: 33.98,
904
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
905
+ },
906
+ },
907
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
908
+ ext: ".jpg",
909
+ mime: "image/jpeg",
910
+ size: 1411.68,
911
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
912
+ previewUrl: null,
913
+ provider: "local",
914
+ provider_metadata: null,
915
+ },
916
+ {
917
+ id: 4,
918
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
919
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
920
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
921
+ width: 3840,
922
+ height: 5760,
923
+ formats: {
924
+ thumbnail: {
925
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
926
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
927
+ ext: ".jpg",
928
+ mime: "image/jpeg",
929
+ path: null,
930
+ width: 104,
931
+ height: 156,
932
+ size: 6.06,
933
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
934
+ },
935
+ large: {
936
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
937
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
938
+ ext: ".jpg",
939
+ mime: "image/jpeg",
940
+ path: null,
941
+ width: 667,
942
+ height: 1000,
943
+ size: 202.98,
944
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
945
+ },
946
+ medium: {
947
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
948
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
949
+ ext: ".jpg",
950
+ mime: "image/jpeg",
951
+ path: null,
952
+ width: 500,
953
+ height: 750,
954
+ size: 120.06,
955
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
956
+ },
957
+ small: {
958
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
959
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
960
+ ext: ".jpg",
961
+ mime: "image/jpeg",
962
+ path: null,
963
+ width: 333,
964
+ height: 500,
965
+ size: 54.32,
966
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
967
+ },
968
+ },
969
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
970
+ ext: ".jpg",
971
+ mime: "image/jpeg",
972
+ size: 5952.03,
973
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
974
+ previewUrl: null,
975
+ provider: "local",
976
+ provider_metadata: null,
977
+ },
978
+ ],
979
+ },
980
+ ],
981
+ used_cookbooks: {
982
+ id: 1,
983
+ title: "For Every Day of the Year",
984
+ author_name: "David V.",
985
+ pages: 365,
986
+ recipes: [
987
+ {
988
+ id: 1,
989
+ name: "Potato Salad",
990
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
991
+ estimated_cook_time: "00:30:00.000",
992
+ difficulty: "easy",
993
+ author_name: "Mr. Potato Head",
994
+ },
995
+ ],
996
+ gallery: {
997
+ id: 1,
998
+ optional_title: null,
999
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
1000
+ },
1001
+ used_in_restaurants: [
1002
+ {
1003
+ id: 1,
1004
+ name: "Hungry Window",
1005
+ description: "Oriental street food in your mouth quick and easy!",
1006
+ established_at: "2022-10-01",
1007
+ is_franchise: false,
1008
+ contact_email: "david@localazy.com",
1009
+ cuisine: "Thai",
1010
+ capacity: 68,
1011
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
1012
+ },
1013
+ {
1014
+ id: 3,
1015
+ name: "Blue Oyster",
1016
+ description: "See food? Better say Sea food!",
1017
+ established_at: "1822-07-09",
1018
+ is_franchise: null,
1019
+ contact_email: "david@localazy.com",
1020
+ cuisine: "Italian",
1021
+ capacity: 16,
1022
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
1023
+ },
1024
+ ],
1025
+ },
1026
+ },
1027
+ {
1028
+ id: 2,
1029
+ name: "Michelin's",
1030
+ description: "The most fancy restaurant in the Solar System. Check out our menu created by the one and only Gordon Ramsay.",
1031
+ established_at: "2002-06-23",
1032
+ is_franchise: true,
1033
+ contact_email: "david@localazy.com",
1034
+ cuisine: "French",
1035
+ capacity: 148,
1036
+ our_story: "## The most fancy restaurant in the Solar System.\n\nCheck out our menu created by ~~just a random guy~~ the one and only **Gordon Ramsay**.",
1037
+ featured_image: {
1038
+ id: 1,
1039
+ name: "jason-leung-poI7DelFiVA-unsplash.jpg",
1040
+ alternativeText: "jason-leung-poI7DelFiVA-unsplash.jpg",
1041
+ caption: "jason-leung-poI7DelFiVA-unsplash.jpg",
1042
+ width: 5596,
1043
+ height: 3731,
1044
+ formats: {
1045
+ thumbnail: {
1046
+ name: "thumbnail_jason-leung-poI7DelFiVA-unsplash.jpg",
1047
+ hash: "thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1048
+ ext: ".jpg",
1049
+ mime: "image/jpeg",
1050
+ path: null,
1051
+ width: 234,
1052
+ height: 156,
1053
+ size: 11.74,
1054
+ url: "/uploads/thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1055
+ },
1056
+ large: {
1057
+ name: "large_jason-leung-poI7DelFiVA-unsplash.jpg",
1058
+ hash: "large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1059
+ ext: ".jpg",
1060
+ mime: "image/jpeg",
1061
+ path: null,
1062
+ width: 1000,
1063
+ height: 666,
1064
+ size: 140.2,
1065
+ url: "/uploads/large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1066
+ },
1067
+ medium: {
1068
+ name: "medium_jason-leung-poI7DelFiVA-unsplash.jpg",
1069
+ hash: "medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1070
+ ext: ".jpg",
1071
+ mime: "image/jpeg",
1072
+ path: null,
1073
+ width: 750,
1074
+ height: 500,
1075
+ size: 86.32,
1076
+ url: "/uploads/medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1077
+ },
1078
+ small: {
1079
+ name: "small_jason-leung-poI7DelFiVA-unsplash.jpg",
1080
+ hash: "small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1081
+ ext: ".jpg",
1082
+ mime: "image/jpeg",
1083
+ path: null,
1084
+ width: 500,
1085
+ height: 333,
1086
+ size: 42.51,
1087
+ url: "/uploads/small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1088
+ },
1089
+ },
1090
+ hash: "jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1091
+ ext: ".jpg",
1092
+ mime: "image/jpeg",
1093
+ size: 3461.64,
1094
+ url: "/uploads/jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1095
+ previewUrl: null,
1096
+ provider: "local",
1097
+ provider_metadata: null,
1098
+ },
1099
+ supported_restaurants: [
1100
+ {
1101
+ id: 1,
1102
+ name: "Hungry Window",
1103
+ description: "Oriental street food in your mouth quick and easy!",
1104
+ established_at: "2022-10-01",
1105
+ is_franchise: false,
1106
+ contact_email: "david@localazy.com",
1107
+ cuisine: "Thai",
1108
+ capacity: 68,
1109
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
1110
+ featured_image: null,
1111
+ supported_restaurants: [
1112
+ ],
1113
+ menu: [
1114
+ {
1115
+ id: 1,
1116
+ name: "Curry Soup",
1117
+ price: 5,
1118
+ currency: "$",
1119
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
1120
+ is_available: true,
1121
+ },
1122
+ ],
1123
+ used_cookbooks: {
1124
+ id: 1,
1125
+ title: "For Every Day of the Year",
1126
+ author_name: "David V.",
1127
+ pages: 365,
1128
+ },
1129
+ },
1130
+ ],
1131
+ menu: [
1132
+ {
1133
+ id: 2,
1134
+ name: "Crème brûlée",
1135
+ price: 24,
1136
+ currency: "$",
1137
+ description: "\n>Can't dream of a better one! Your tongue will be in the state of a pure happiness!\n\nSays Gordon himself.",
1138
+ is_available: true,
1139
+ food_gallery: [
1140
+ {
1141
+ id: 5,
1142
+ name: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1143
+ alternativeText: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1144
+ caption: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1145
+ width: 2515,
1146
+ height: 2515,
1147
+ formats: {
1148
+ thumbnail: {
1149
+ name: "thumbnail_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1150
+ hash: "thumbnail_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
1151
+ ext: ".jpg",
1152
+ mime: "image/jpeg",
1153
+ path: null,
1154
+ width: 156,
1155
+ height: 156,
1156
+ size: 3.97,
1157
+ url: "/uploads/thumbnail_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
1158
+ },
1159
+ large: {
1160
+ name: "large_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1161
+ hash: "large_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
1162
+ ext: ".jpg",
1163
+ mime: "image/jpeg",
1164
+ path: null,
1165
+ width: 1000,
1166
+ height: 1000,
1167
+ size: 83.46,
1168
+ url: "/uploads/large_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
1169
+ },
1170
+ medium: {
1171
+ name: "medium_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1172
+ hash: "medium_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
1173
+ ext: ".jpg",
1174
+ mime: "image/jpeg",
1175
+ path: null,
1176
+ width: 750,
1177
+ height: 750,
1178
+ size: 50.55,
1179
+ url: "/uploads/medium_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
1180
+ },
1181
+ small: {
1182
+ name: "small_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
1183
+ hash: "small_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
1184
+ ext: ".jpg",
1185
+ mime: "image/jpeg",
1186
+ path: null,
1187
+ width: 500,
1188
+ height: 500,
1189
+ size: 25.51,
1190
+ url: "/uploads/small_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
1191
+ },
1192
+ },
1193
+ hash: "stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
1194
+ ext: ".jpg",
1195
+ mime: "image/jpeg",
1196
+ size: 523.69,
1197
+ url: "/uploads/stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
1198
+ previewUrl: null,
1199
+ provider: "local",
1200
+ provider_metadata: null,
1201
+ },
1202
+ ],
1203
+ },
1204
+ {
1205
+ id: 3,
1206
+ name: "Lobster",
1207
+ price: 99.9,
1208
+ currency: "$",
1209
+ description: "Creamy, juicy, spicy!",
1210
+ is_available: false,
1211
+ food_gallery: null,
1212
+ },
1213
+ ],
1214
+ used_cookbooks: null,
1215
+ },
1216
+ ],
1217
+ menu: [
1218
+ ],
1219
+ used_cookbooks: {
1220
+ id: 1,
1221
+ title: "For Every Day of the Year",
1222
+ author_name: "David V.",
1223
+ pages: 365,
1224
+ recipes: [
1225
+ {
1226
+ id: 1,
1227
+ name: "Potato Salad",
1228
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
1229
+ estimated_cook_time: "00:30:00.000",
1230
+ difficulty: "easy",
1231
+ author_name: "Mr. Potato Head",
1232
+ gallery: [
1233
+ {
1234
+ id: 1,
1235
+ image_title: "Raw potatoes",
1236
+ image_description: "Fresh!",
1237
+ },
1238
+ {
1239
+ id: 2,
1240
+ image_title: "Salad",
1241
+ image_description: "Yummy!",
1242
+ },
1243
+ ],
1244
+ ingredients: [
1245
+ {
1246
+ id: 1,
1247
+ name: "Potatoes",
1248
+ amount: 2,
1249
+ unit: "kg",
1250
+ is_required: true,
1251
+ },
1252
+ {
1253
+ id: 2,
1254
+ name: "Peas",
1255
+ amount: 0.5,
1256
+ unit: "can",
1257
+ is_required: true,
1258
+ },
1259
+ {
1260
+ id: 3,
1261
+ name: "Corn",
1262
+ amount: 0.5,
1263
+ unit: "can",
1264
+ is_required: true,
1265
+ },
1266
+ {
1267
+ id: 4,
1268
+ name: "Mayo",
1269
+ amount: 4,
1270
+ unit: "spoons",
1271
+ is_required: true,
1272
+ },
1273
+ {
1274
+ id: 5,
1275
+ name: "Cheese",
1276
+ amount: 1,
1277
+ unit: "block",
1278
+ is_required: true,
1279
+ },
1280
+ {
1281
+ id: 6,
1282
+ name: "Apple",
1283
+ amount: 1,
1284
+ unit: "pcs",
1285
+ is_required: false,
1286
+ },
1287
+ ],
1288
+ },
1289
+ ],
1290
+ gallery: {
1291
+ id: 1,
1292
+ optional_title: null,
1293
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
1294
+ main_image: {
1295
+ id: 3,
1296
+ image_title: "Cookbook",
1297
+ image_description: "Booklet",
1298
+ },
1299
+ gallery: [
1300
+ {
1301
+ id: 5,
1302
+ image_title: null,
1303
+ image_description: "The booklet and leaves and fork.",
1304
+ },
1305
+ {
1306
+ id: 4,
1307
+ image_title: "Spices",
1308
+ image_description: null,
1309
+ },
1310
+ ],
1311
+ },
1312
+ used_in_restaurants: [
1313
+ {
1314
+ id: 1,
1315
+ name: "Hungry Window",
1316
+ description: "Oriental street food in your mouth quick and easy!",
1317
+ established_at: "2022-10-01",
1318
+ is_franchise: false,
1319
+ contact_email: "david@localazy.com",
1320
+ cuisine: "Thai",
1321
+ capacity: 68,
1322
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
1323
+ featured_image: null,
1324
+ supported_restaurants: [
1325
+ ],
1326
+ menu: [
1327
+ {
1328
+ id: 1,
1329
+ name: "Curry Soup",
1330
+ price: 5,
1331
+ currency: "$",
1332
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
1333
+ is_available: true,
1334
+ },
1335
+ ],
1336
+ used_cookbooks: {
1337
+ id: 1,
1338
+ title: "For Every Day of the Year",
1339
+ author_name: "David V.",
1340
+ pages: 365,
1341
+ },
1342
+ },
1343
+ {
1344
+ id: 3,
1345
+ name: "Blue Oyster",
1346
+ description: "See food? Better say Sea food!",
1347
+ established_at: "1822-07-09",
1348
+ is_franchise: null,
1349
+ contact_email: "david@localazy.com",
1350
+ cuisine: "Italian",
1351
+ capacity: 16,
1352
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
1353
+ featured_image: null,
1354
+ supported_restaurants: [
1355
+ {
1356
+ id: 1,
1357
+ name: "Hungry Window",
1358
+ description: "Oriental street food in your mouth quick and easy!",
1359
+ established_at: "2022-10-01",
1360
+ is_franchise: false,
1361
+ contact_email: "david@localazy.com",
1362
+ cuisine: "Thai",
1363
+ capacity: 68,
1364
+ our_story: "There's **more** behind! Check out our story at [Localazy](https://localazy.com).\n\n![Logo_sq-01.png](/uploads/Logo_sq_01_08b9bb6be1.png)",
1365
+ },
1366
+ {
1367
+ id: 2,
1368
+ name: "Michelin's",
1369
+ description: "The most fancy restaurant in the Solar System. Check out our menu created by the one and only Gordon Ramsay.",
1370
+ established_at: "2002-06-23",
1371
+ is_franchise: true,
1372
+ contact_email: "david@localazy.com",
1373
+ cuisine: "French",
1374
+ capacity: 148,
1375
+ our_story: "## The most fancy restaurant in the Solar System.\n\nCheck out our menu created by ~~just a random guy~~ the one and only **Gordon Ramsay**.",
1376
+ },
1377
+ ],
1378
+ menu: [
1379
+ ],
1380
+ used_cookbooks: {
1381
+ id: 1,
1382
+ title: "For Every Day of the Year",
1383
+ author_name: "David V.",
1384
+ pages: 365,
1385
+ },
1386
+ },
1387
+ ],
1388
+ },
1389
+ },
1390
+ ],
1391
+ };
1392
+
1393
+ const fullyPopulatedLocalizedEntry = {
1394
+ id: 24,
1395
+ title: "Pro každý den v roce",
1396
+ author_name: "David V.",
1397
+ pages: 365,
1398
+ recipes: [
1399
+ {
1400
+ id: 20,
1401
+ name: "Bramborový salát",
1402
+ recipe: "Oloupejte brambory, smíchejte je se všemi ingrediencemi a máte hotovo. Bon apetit!",
1403
+ estimated_cook_time: "00:30:00.000",
1404
+ difficulty: "easy",
1405
+ author_name: "Mr. Bramborová hlava",
1406
+ gallery: [
1407
+ {
1408
+ id: 100,
1409
+ image_title: "Syrové brambory",
1410
+ image_description: "Čerstvý!",
1411
+ image: {
1412
+ id: 6,
1413
+ name: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1414
+ alternativeText: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1415
+ caption: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1416
+ width: 2268,
1417
+ height: 4032,
1418
+ formats: {
1419
+ thumbnail: {
1420
+ name: "thumbnail_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1421
+ hash: "thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1422
+ ext: ".jpg",
1423
+ mime: "image/jpeg",
1424
+ path: null,
1425
+ width: 88,
1426
+ height: 156,
1427
+ size: 5.35,
1428
+ url: "/uploads/thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1429
+ },
1430
+ large: {
1431
+ name: "large_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1432
+ hash: "large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1433
+ ext: ".jpg",
1434
+ mime: "image/jpeg",
1435
+ path: null,
1436
+ width: 563,
1437
+ height: 1000,
1438
+ size: 108.15,
1439
+ url: "/uploads/large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1440
+ },
1441
+ medium: {
1442
+ name: "medium_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1443
+ hash: "medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1444
+ ext: ".jpg",
1445
+ mime: "image/jpeg",
1446
+ path: null,
1447
+ width: 422,
1448
+ height: 750,
1449
+ size: 65.52,
1450
+ url: "/uploads/medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1451
+ },
1452
+ small: {
1453
+ name: "small_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1454
+ hash: "small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1455
+ ext: ".jpg",
1456
+ mime: "image/jpeg",
1457
+ path: null,
1458
+ width: 281,
1459
+ height: 500,
1460
+ size: 34.23,
1461
+ url: "/uploads/small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1462
+ },
1463
+ },
1464
+ hash: "rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1465
+ ext: ".jpg",
1466
+ mime: "image/jpeg",
1467
+ size: 1081.59,
1468
+ url: "/uploads/rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1469
+ previewUrl: null,
1470
+ provider: "local",
1471
+ provider_metadata: null,
1472
+ },
1473
+ },
1474
+ {
1475
+ id: 101,
1476
+ image_title: "Salát",
1477
+ image_description: "Mňam!",
1478
+ image: {
1479
+ id: 7,
1480
+ name: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1481
+ alternativeText: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1482
+ caption: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1483
+ width: 4608,
1484
+ height: 3456,
1485
+ formats: {
1486
+ thumbnail: {
1487
+ name: "thumbnail_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1488
+ hash: "thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1489
+ ext: ".jpg",
1490
+ mime: "image/jpeg",
1491
+ path: null,
1492
+ width: 208,
1493
+ height: 156,
1494
+ size: 9.03,
1495
+ url: "/uploads/thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1496
+ },
1497
+ large: {
1498
+ name: "large_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1499
+ hash: "large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1500
+ ext: ".jpg",
1501
+ mime: "image/jpeg",
1502
+ path: null,
1503
+ width: 1000,
1504
+ height: 750,
1505
+ size: 102.77,
1506
+ url: "/uploads/large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1507
+ },
1508
+ medium: {
1509
+ name: "medium_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1510
+ hash: "medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1511
+ ext: ".jpg",
1512
+ mime: "image/jpeg",
1513
+ path: null,
1514
+ width: 750,
1515
+ height: 563,
1516
+ size: 66.26,
1517
+ url: "/uploads/medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1518
+ },
1519
+ small: {
1520
+ name: "small_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1521
+ hash: "small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1522
+ ext: ".jpg",
1523
+ mime: "image/jpeg",
1524
+ path: null,
1525
+ width: 500,
1526
+ height: 375,
1527
+ size: 35.17,
1528
+ url: "/uploads/small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1529
+ },
1530
+ },
1531
+ hash: "jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1532
+ ext: ".jpg",
1533
+ mime: "image/jpeg",
1534
+ size: 1664.79,
1535
+ url: "/uploads/jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1536
+ previewUrl: null,
1537
+ provider: "local",
1538
+ provider_metadata: null,
1539
+ },
1540
+ },
1541
+ ],
1542
+ ingredients: [
1543
+ {
1544
+ id: 115,
1545
+ name: "Brambory",
1546
+ amount: 2,
1547
+ unit: "kg",
1548
+ is_required: true,
1549
+ },
1550
+ {
1551
+ id: 116,
1552
+ name: "Hrášek",
1553
+ amount: 0.5,
1554
+ unit: "plechovka",
1555
+ is_required: true,
1556
+ },
1557
+ {
1558
+ id: 117,
1559
+ name: "Kukuřice",
1560
+ amount: 0.5,
1561
+ unit: "plechovka",
1562
+ is_required: true,
1563
+ },
1564
+ {
1565
+ id: 118,
1566
+ name: "Majonéza",
1567
+ amount: 4,
1568
+ unit: "1",
1569
+ is_required: true,
1570
+ },
1571
+ {
1572
+ id: 119,
1573
+ name: "Sýr",
1574
+ amount: 1,
1575
+ unit: "1",
1576
+ is_required: true,
1577
+ },
1578
+ {
1579
+ id: 120,
1580
+ name: "Jablko",
1581
+ amount: 1,
1582
+ unit: "ks",
1583
+ is_required: true,
1584
+ },
1585
+ ],
1586
+ },
1587
+ ],
1588
+ gallery: {
1589
+ id: 24,
1590
+ optional_title: null,
1591
+ annotation: "Podívejte se na naše chutné jídlo, pak čtěte dál a ponořte se do kulinářského nebe!",
1592
+ main_image: {
1593
+ id: 102,
1594
+ image_title: "Kuchařka",
1595
+ image_description: "Booklet",
1596
+ image: {
1597
+ id: 9,
1598
+ name: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1599
+ alternativeText: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1600
+ caption: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1601
+ width: 6000,
1602
+ height: 3376,
1603
+ formats: {
1604
+ thumbnail: {
1605
+ name: "thumbnail_dan-gold-5O1ddenSM4g-unsplash.jpg",
1606
+ hash: "thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1607
+ ext: ".jpg",
1608
+ mime: "image/jpeg",
1609
+ path: null,
1610
+ width: 245,
1611
+ height: 138,
1612
+ size: 7.44,
1613
+ url: "/uploads/thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1614
+ },
1615
+ large: {
1616
+ name: "large_dan-gold-5O1ddenSM4g-unsplash.jpg",
1617
+ hash: "large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1618
+ ext: ".jpg",
1619
+ mime: "image/jpeg",
1620
+ path: null,
1621
+ width: 1000,
1622
+ height: 563,
1623
+ size: 52.67,
1624
+ url: "/uploads/large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1625
+ },
1626
+ medium: {
1627
+ name: "medium_dan-gold-5O1ddenSM4g-unsplash.jpg",
1628
+ hash: "medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1629
+ ext: ".jpg",
1630
+ mime: "image/jpeg",
1631
+ path: null,
1632
+ width: 750,
1633
+ height: 422,
1634
+ size: 35.15,
1635
+ url: "/uploads/medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1636
+ },
1637
+ small: {
1638
+ name: "small_dan-gold-5O1ddenSM4g-unsplash.jpg",
1639
+ hash: "small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1640
+ ext: ".jpg",
1641
+ mime: "image/jpeg",
1642
+ path: null,
1643
+ width: 500,
1644
+ height: 281,
1645
+ size: 19.95,
1646
+ url: "/uploads/small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1647
+ },
1648
+ },
1649
+ hash: "dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1650
+ ext: ".jpg",
1651
+ mime: "image/jpeg",
1652
+ size: 972.68,
1653
+ url: "/uploads/dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1654
+ previewUrl: null,
1655
+ provider: "local",
1656
+ provider_metadata: null,
1657
+ },
1658
+ },
1659
+ gallery: [
1660
+ {
1661
+ id: 103,
1662
+ image_title: null,
1663
+ image_description: "Brožura, listy a vidlička.",
1664
+ image: {
1665
+ id: 11,
1666
+ name: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1667
+ alternativeText: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1668
+ caption: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1669
+ width: 6127,
1670
+ height: 3844,
1671
+ formats: {
1672
+ thumbnail: {
1673
+ name: "thumbnail_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1674
+ hash: "thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1675
+ ext: ".jpg",
1676
+ mime: "image/jpeg",
1677
+ path: null,
1678
+ width: 245,
1679
+ height: 154,
1680
+ size: 9.54,
1681
+ url: "/uploads/thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1682
+ },
1683
+ large: {
1684
+ name: "large_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1685
+ hash: "large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1686
+ ext: ".jpg",
1687
+ mime: "image/jpeg",
1688
+ path: null,
1689
+ width: 1000,
1690
+ height: 628,
1691
+ size: 117.56,
1692
+ url: "/uploads/large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1693
+ },
1694
+ medium: {
1695
+ name: "medium_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1696
+ hash: "medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1697
+ ext: ".jpg",
1698
+ mime: "image/jpeg",
1699
+ path: null,
1700
+ width: 750,
1701
+ height: 471,
1702
+ size: 66.32,
1703
+ url: "/uploads/medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1704
+ },
1705
+ small: {
1706
+ name: "small_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1707
+ hash: "small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1708
+ ext: ".jpg",
1709
+ mime: "image/jpeg",
1710
+ path: null,
1711
+ width: 500,
1712
+ height: 314,
1713
+ size: 31.42,
1714
+ url: "/uploads/small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1715
+ },
1716
+ },
1717
+ hash: "heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1718
+ ext: ".jpg",
1719
+ mime: "image/jpeg",
1720
+ size: 6971.47,
1721
+ url: "/uploads/heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1722
+ previewUrl: null,
1723
+ provider: "local",
1724
+ provider_metadata: null,
1725
+ },
1726
+ },
1727
+ {
1728
+ id: 104,
1729
+ image_title: "Koření",
1730
+ image_description: null,
1731
+ image: {
1732
+ id: 10,
1733
+ name: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1734
+ alternativeText: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1735
+ caption: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1736
+ width: 3569,
1737
+ height: 5353,
1738
+ formats: {
1739
+ thumbnail: {
1740
+ name: "thumbnail_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1741
+ hash: "thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1742
+ ext: ".jpg",
1743
+ mime: "image/jpeg",
1744
+ path: null,
1745
+ width: 104,
1746
+ height: 156,
1747
+ size: 5.55,
1748
+ url: "/uploads/thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1749
+ },
1750
+ large: {
1751
+ name: "large_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1752
+ hash: "large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1753
+ ext: ".jpg",
1754
+ mime: "image/jpeg",
1755
+ path: null,
1756
+ width: 667,
1757
+ height: 1000,
1758
+ size: 116.32,
1759
+ url: "/uploads/large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1760
+ },
1761
+ medium: {
1762
+ name: "medium_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1763
+ hash: "medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1764
+ ext: ".jpg",
1765
+ mime: "image/jpeg",
1766
+ path: null,
1767
+ width: 500,
1768
+ height: 750,
1769
+ size: 72.75,
1770
+ url: "/uploads/medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1771
+ },
1772
+ small: {
1773
+ name: "small_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1774
+ hash: "small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1775
+ ext: ".jpg",
1776
+ mime: "image/jpeg",
1777
+ path: null,
1778
+ width: 333,
1779
+ height: 500,
1780
+ size: 36.52,
1781
+ url: "/uploads/small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1782
+ },
1783
+ },
1784
+ hash: "calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1785
+ ext: ".jpg",
1786
+ mime: "image/jpeg",
1787
+ size: 2305.97,
1788
+ url: "/uploads/calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1789
+ previewUrl: null,
1790
+ provider: "local",
1791
+ provider_metadata: null,
1792
+ },
1793
+ },
1794
+ ],
1795
+ },
1796
+ used_in_restaurants: [
1797
+ {
1798
+ id: 49,
1799
+ name: "Hladové okno",
1800
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
1801
+ established_at: "2022-10-01",
1802
+ is_franchise: false,
1803
+ contact_email: "david@localazy.com",
1804
+ cuisine: "Thai",
1805
+ capacity: 68,
1806
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1807
+ featured_image: null,
1808
+ supported_restaurants: [
1809
+ ],
1810
+ menu: [
1811
+ {
1812
+ id: 52,
1813
+ name: "Kari polévka",
1814
+ price: 5,
1815
+ currency: "$",
1816
+ description: "Super lahodná polévka. _\n\n<u>Varování: Pikantní jako peklo! </u>",
1817
+ is_available: true,
1818
+ food_gallery: [
1819
+ {
1820
+ id: 3,
1821
+ name: "emy-XoByiBymX20-unsplash.jpg",
1822
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
1823
+ caption: "emy-XoByiBymX20-unsplash.jpg",
1824
+ width: 5184,
1825
+ height: 3456,
1826
+ formats: {
1827
+ thumbnail: {
1828
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
1829
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1830
+ ext: ".jpg",
1831
+ mime: "image/jpeg",
1832
+ path: null,
1833
+ width: 234,
1834
+ height: 156,
1835
+ size: 11.04,
1836
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1837
+ },
1838
+ large: {
1839
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
1840
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1841
+ ext: ".jpg",
1842
+ mime: "image/jpeg",
1843
+ path: null,
1844
+ width: 1000,
1845
+ height: 667,
1846
+ size: 97.59,
1847
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1848
+ },
1849
+ medium: {
1850
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
1851
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1852
+ ext: ".jpg",
1853
+ mime: "image/jpeg",
1854
+ path: null,
1855
+ width: 750,
1856
+ height: 500,
1857
+ size: 63.15,
1858
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1859
+ },
1860
+ small: {
1861
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
1862
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1863
+ ext: ".jpg",
1864
+ mime: "image/jpeg",
1865
+ path: null,
1866
+ width: 500,
1867
+ height: 333,
1868
+ size: 33.98,
1869
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1870
+ },
1871
+ },
1872
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1873
+ ext: ".jpg",
1874
+ mime: "image/jpeg",
1875
+ size: 1411.68,
1876
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1877
+ previewUrl: null,
1878
+ provider: "local",
1879
+ provider_metadata: null,
1880
+ },
1881
+ {
1882
+ id: 4,
1883
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1884
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1885
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1886
+ width: 3840,
1887
+ height: 5760,
1888
+ formats: {
1889
+ thumbnail: {
1890
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
1891
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1892
+ ext: ".jpg",
1893
+ mime: "image/jpeg",
1894
+ path: null,
1895
+ width: 104,
1896
+ height: 156,
1897
+ size: 6.06,
1898
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1899
+ },
1900
+ large: {
1901
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
1902
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1903
+ ext: ".jpg",
1904
+ mime: "image/jpeg",
1905
+ path: null,
1906
+ width: 667,
1907
+ height: 1000,
1908
+ size: 202.98,
1909
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1910
+ },
1911
+ medium: {
1912
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
1913
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1914
+ ext: ".jpg",
1915
+ mime: "image/jpeg",
1916
+ path: null,
1917
+ width: 500,
1918
+ height: 750,
1919
+ size: 120.06,
1920
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1921
+ },
1922
+ small: {
1923
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
1924
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1925
+ ext: ".jpg",
1926
+ mime: "image/jpeg",
1927
+ path: null,
1928
+ width: 333,
1929
+ height: 500,
1930
+ size: 54.32,
1931
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1932
+ },
1933
+ },
1934
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1935
+ ext: ".jpg",
1936
+ mime: "image/jpeg",
1937
+ size: 5952.03,
1938
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1939
+ previewUrl: null,
1940
+ provider: "local",
1941
+ provider_metadata: null,
1942
+ },
1943
+ ],
1944
+ },
1945
+ ],
1946
+ used_cookbooks: {
1947
+ id: 24,
1948
+ title: "Pro každý den v roce",
1949
+ author_name: "David V.",
1950
+ pages: 365,
1951
+ recipes: [
1952
+ {
1953
+ id: 20,
1954
+ name: "Bramborový salát",
1955
+ recipe: "Oloupejte brambory, smíchejte je se všemi ingrediencemi a máte hotovo. Bon apetit!",
1956
+ estimated_cook_time: "00:30:00.000",
1957
+ difficulty: "easy",
1958
+ author_name: "Mr. Bramborová hlava",
1959
+ gallery: [
1960
+ {
1961
+ id: 100,
1962
+ image_title: "Syrové brambory",
1963
+ image_description: "Čerstvý!",
1964
+ },
1965
+ {
1966
+ id: 101,
1967
+ image_title: "Salát",
1968
+ image_description: "Mňam!",
1969
+ },
1970
+ ],
1971
+ ingredients: [
1972
+ {
1973
+ id: 115,
1974
+ name: "Brambory",
1975
+ amount: 2,
1976
+ unit: "kg",
1977
+ is_required: true,
1978
+ },
1979
+ {
1980
+ id: 116,
1981
+ name: "Hrášek",
1982
+ amount: 0.5,
1983
+ unit: "plechovka",
1984
+ is_required: true,
1985
+ },
1986
+ {
1987
+ id: 117,
1988
+ name: "Kukuřice",
1989
+ amount: 0.5,
1990
+ unit: "plechovka",
1991
+ is_required: true,
1992
+ },
1993
+ {
1994
+ id: 118,
1995
+ name: "Majonéza",
1996
+ amount: 4,
1997
+ unit: "1",
1998
+ is_required: true,
1999
+ },
2000
+ {
2001
+ id: 119,
2002
+ name: "Sýr",
2003
+ amount: 1,
2004
+ unit: "1",
2005
+ is_required: true,
2006
+ },
2007
+ {
2008
+ id: 120,
2009
+ name: "Jablko",
2010
+ amount: 1,
2011
+ unit: "ks",
2012
+ is_required: true,
2013
+ },
2014
+ ],
2015
+ },
2016
+ ],
2017
+ gallery: {
2018
+ id: 24,
2019
+ optional_title: null,
2020
+ annotation: "Podívejte se na naše chutné jídlo, pak čtěte dál a ponořte se do kulinářského nebe!",
2021
+ main_image: {
2022
+ id: 102,
2023
+ image_title: "Kuchařka",
2024
+ image_description: "Booklet",
2025
+ },
2026
+ gallery: [
2027
+ {
2028
+ id: 103,
2029
+ image_title: null,
2030
+ image_description: "Brožura, listy a vidlička.",
2031
+ },
2032
+ {
2033
+ id: 104,
2034
+ image_title: "Koření",
2035
+ image_description: null,
2036
+ },
2037
+ ],
2038
+ },
2039
+ used_in_restaurants: [
2040
+ {
2041
+ id: 49,
2042
+ name: "Hladové okno",
2043
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2044
+ established_at: "2022-10-01",
2045
+ is_franchise: false,
2046
+ contact_email: "david@localazy.com",
2047
+ cuisine: "Thai",
2048
+ capacity: 68,
2049
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2050
+ featured_image: null,
2051
+ supported_restaurants: [
2052
+ ],
2053
+ menu: [
2054
+ {
2055
+ id: 52,
2056
+ name: "Kari polévka",
2057
+ price: 5,
2058
+ currency: "$",
2059
+ description: "Super lahodná polévka. _\n\n<u>Varování: Pikantní jako peklo! </u>",
2060
+ is_available: true,
2061
+ },
2062
+ ],
2063
+ used_cookbooks: {
2064
+ id: 24,
2065
+ title: "Pro každý den v roce",
2066
+ author_name: "David V.",
2067
+ pages: 365,
2068
+ },
2069
+ },
2070
+ {
2071
+ id: 51,
2072
+ name: "Modrá ústřice",
2073
+ description: "Vidíš jídlo? Raději řekněte mořské plody!",
2074
+ established_at: "1822-07-09",
2075
+ is_franchise: null,
2076
+ contact_email: "david@localazy.com",
2077
+ cuisine: "Italian",
2078
+ capacity: 16,
2079
+ our_story: "Dlouhá tradice, moudrost daná z generace na generaci... Od roku 1822.",
2080
+ featured_image: null,
2081
+ supported_restaurants: [
2082
+ {
2083
+ id: 49,
2084
+ name: "Hladové okno",
2085
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2086
+ established_at: "2022-10-01",
2087
+ is_franchise: false,
2088
+ contact_email: "david@localazy.com",
2089
+ cuisine: "Thai",
2090
+ capacity: 68,
2091
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2092
+ },
2093
+ {
2094
+ id: 50,
2095
+ name: "Michelin",
2096
+ description: "Nejvíce luxusní restaurace ve sluneční soustavě. Podívejte se na naše menu vytvořené jediným Gordonem Ramsayem.",
2097
+ established_at: "2002-06-23",
2098
+ is_franchise: true,
2099
+ contact_email: "david@localazy.com",
2100
+ cuisine: "French",
2101
+ capacity: 148,
2102
+ our_story: "## Nejúžasnější restaurace ve Sluneční soustavě.\n\nPodívejte se na naše menu vytvořené ~~jen náhodným chlapem~~ jediným a jediným * Gordon Ramsay**.",
2103
+ },
2104
+ ],
2105
+ menu: [
2106
+ ],
2107
+ used_cookbooks: {
2108
+ id: 24,
2109
+ title: "Pro každý den v roce",
2110
+ author_name: "David V.",
2111
+ pages: 365,
2112
+ },
2113
+ },
2114
+ ],
2115
+ },
2116
+ },
2117
+ {
2118
+ id: 51,
2119
+ name: "Modrá ústřice",
2120
+ description: "Vidíš jídlo? Raději řekněte mořské plody!",
2121
+ established_at: "1822-07-09",
2122
+ is_franchise: null,
2123
+ contact_email: "david@localazy.com",
2124
+ cuisine: "Italian",
2125
+ capacity: 16,
2126
+ our_story: "Dlouhá tradice, moudrost daná z generace na generaci... Od roku 1822.",
2127
+ featured_image: null,
2128
+ supported_restaurants: [
2129
+ {
2130
+ id: 49,
2131
+ name: "Hladové okno",
2132
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2133
+ established_at: "2022-10-01",
2134
+ is_franchise: false,
2135
+ contact_email: "david@localazy.com",
2136
+ cuisine: "Thai",
2137
+ capacity: 68,
2138
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2139
+ featured_image: null,
2140
+ supported_restaurants: [
2141
+ ],
2142
+ menu: [
2143
+ {
2144
+ id: 52,
2145
+ name: "Kari polévka",
2146
+ price: 5,
2147
+ currency: "$",
2148
+ description: "Super lahodná polévka. _\n\n<u>Varování: Pikantní jako peklo! </u>",
2149
+ is_available: true,
2150
+ food_gallery: [
2151
+ {
2152
+ id: 3,
2153
+ name: "emy-XoByiBymX20-unsplash.jpg",
2154
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
2155
+ caption: "emy-XoByiBymX20-unsplash.jpg",
2156
+ width: 5184,
2157
+ height: 3456,
2158
+ formats: {
2159
+ thumbnail: {
2160
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
2161
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
2162
+ ext: ".jpg",
2163
+ mime: "image/jpeg",
2164
+ path: null,
2165
+ width: 234,
2166
+ height: 156,
2167
+ size: 11.04,
2168
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
2169
+ },
2170
+ large: {
2171
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
2172
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
2173
+ ext: ".jpg",
2174
+ mime: "image/jpeg",
2175
+ path: null,
2176
+ width: 1000,
2177
+ height: 667,
2178
+ size: 97.59,
2179
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
2180
+ },
2181
+ medium: {
2182
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
2183
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
2184
+ ext: ".jpg",
2185
+ mime: "image/jpeg",
2186
+ path: null,
2187
+ width: 750,
2188
+ height: 500,
2189
+ size: 63.15,
2190
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
2191
+ },
2192
+ small: {
2193
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
2194
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
2195
+ ext: ".jpg",
2196
+ mime: "image/jpeg",
2197
+ path: null,
2198
+ width: 500,
2199
+ height: 333,
2200
+ size: 33.98,
2201
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
2202
+ },
2203
+ },
2204
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
2205
+ ext: ".jpg",
2206
+ mime: "image/jpeg",
2207
+ size: 1411.68,
2208
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
2209
+ previewUrl: null,
2210
+ provider: "local",
2211
+ provider_metadata: null,
2212
+ },
2213
+ {
2214
+ id: 4,
2215
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
2216
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
2217
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
2218
+ width: 3840,
2219
+ height: 5760,
2220
+ formats: {
2221
+ thumbnail: {
2222
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
2223
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
2224
+ ext: ".jpg",
2225
+ mime: "image/jpeg",
2226
+ path: null,
2227
+ width: 104,
2228
+ height: 156,
2229
+ size: 6.06,
2230
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
2231
+ },
2232
+ large: {
2233
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
2234
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
2235
+ ext: ".jpg",
2236
+ mime: "image/jpeg",
2237
+ path: null,
2238
+ width: 667,
2239
+ height: 1000,
2240
+ size: 202.98,
2241
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
2242
+ },
2243
+ medium: {
2244
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
2245
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
2246
+ ext: ".jpg",
2247
+ mime: "image/jpeg",
2248
+ path: null,
2249
+ width: 500,
2250
+ height: 750,
2251
+ size: 120.06,
2252
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
2253
+ },
2254
+ small: {
2255
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
2256
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
2257
+ ext: ".jpg",
2258
+ mime: "image/jpeg",
2259
+ path: null,
2260
+ width: 333,
2261
+ height: 500,
2262
+ size: 54.32,
2263
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
2264
+ },
2265
+ },
2266
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
2267
+ ext: ".jpg",
2268
+ mime: "image/jpeg",
2269
+ size: 5952.03,
2270
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
2271
+ previewUrl: null,
2272
+ provider: "local",
2273
+ provider_metadata: null,
2274
+ },
2275
+ ],
2276
+ },
2277
+ ],
2278
+ used_cookbooks: {
2279
+ id: 24,
2280
+ title: "Pro každý den v roce",
2281
+ author_name: "David V.",
2282
+ pages: 365,
2283
+ recipes: [
2284
+ {
2285
+ id: 20,
2286
+ name: "Bramborový salát",
2287
+ recipe: "Oloupejte brambory, smíchejte je se všemi ingrediencemi a máte hotovo. Bon apetit!",
2288
+ estimated_cook_time: "00:30:00.000",
2289
+ difficulty: "easy",
2290
+ author_name: "Mr. Bramborová hlava",
2291
+ },
2292
+ ],
2293
+ gallery: {
2294
+ id: 24,
2295
+ optional_title: null,
2296
+ annotation: "Podívejte se na naše chutné jídlo, pak čtěte dál a ponořte se do kulinářského nebe!",
2297
+ },
2298
+ used_in_restaurants: [
2299
+ {
2300
+ id: 49,
2301
+ name: "Hladové okno",
2302
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2303
+ established_at: "2022-10-01",
2304
+ is_franchise: false,
2305
+ contact_email: "david@localazy.com",
2306
+ cuisine: "Thai",
2307
+ capacity: 68,
2308
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2309
+ },
2310
+ {
2311
+ id: 51,
2312
+ name: "Modrá ústřice",
2313
+ description: "Vidíš jídlo? Raději řekněte mořské plody!",
2314
+ established_at: "1822-07-09",
2315
+ is_franchise: null,
2316
+ contact_email: "david@localazy.com",
2317
+ cuisine: "Italian",
2318
+ capacity: 16,
2319
+ our_story: "Dlouhá tradice, moudrost daná z generace na generaci... Od roku 1822.",
2320
+ },
2321
+ ],
2322
+ },
2323
+ },
2324
+ {
2325
+ id: 50,
2326
+ name: "Michelin",
2327
+ description: "Nejvíce luxusní restaurace ve sluneční soustavě. Podívejte se na naše menu vytvořené jediným Gordonem Ramsayem.",
2328
+ established_at: "2002-06-23",
2329
+ is_franchise: true,
2330
+ contact_email: "david@localazy.com",
2331
+ cuisine: "French",
2332
+ capacity: 148,
2333
+ our_story: "## Nejúžasnější restaurace ve Sluneční soustavě.\n\nPodívejte se na naše menu vytvořené ~~jen náhodným chlapem~~ jediným a jediným * Gordon Ramsay**.",
2334
+ featured_image: {
2335
+ id: 1,
2336
+ name: "jason-leung-poI7DelFiVA-unsplash.jpg",
2337
+ alternativeText: "jason-leung-poI7DelFiVA-unsplash.jpg",
2338
+ caption: "jason-leung-poI7DelFiVA-unsplash.jpg",
2339
+ width: 5596,
2340
+ height: 3731,
2341
+ formats: {
2342
+ thumbnail: {
2343
+ name: "thumbnail_jason-leung-poI7DelFiVA-unsplash.jpg",
2344
+ hash: "thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
2345
+ ext: ".jpg",
2346
+ mime: "image/jpeg",
2347
+ path: null,
2348
+ width: 234,
2349
+ height: 156,
2350
+ size: 11.74,
2351
+ url: "/uploads/thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
2352
+ },
2353
+ large: {
2354
+ name: "large_jason-leung-poI7DelFiVA-unsplash.jpg",
2355
+ hash: "large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
2356
+ ext: ".jpg",
2357
+ mime: "image/jpeg",
2358
+ path: null,
2359
+ width: 1000,
2360
+ height: 666,
2361
+ size: 140.2,
2362
+ url: "/uploads/large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
2363
+ },
2364
+ medium: {
2365
+ name: "medium_jason-leung-poI7DelFiVA-unsplash.jpg",
2366
+ hash: "medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
2367
+ ext: ".jpg",
2368
+ mime: "image/jpeg",
2369
+ path: null,
2370
+ width: 750,
2371
+ height: 500,
2372
+ size: 86.32,
2373
+ url: "/uploads/medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
2374
+ },
2375
+ small: {
2376
+ name: "small_jason-leung-poI7DelFiVA-unsplash.jpg",
2377
+ hash: "small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
2378
+ ext: ".jpg",
2379
+ mime: "image/jpeg",
2380
+ path: null,
2381
+ width: 500,
2382
+ height: 333,
2383
+ size: 42.51,
2384
+ url: "/uploads/small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
2385
+ },
2386
+ },
2387
+ hash: "jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
2388
+ ext: ".jpg",
2389
+ mime: "image/jpeg",
2390
+ size: 3461.64,
2391
+ url: "/uploads/jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
2392
+ previewUrl: null,
2393
+ provider: "local",
2394
+ provider_metadata: null,
2395
+ },
2396
+ supported_restaurants: [
2397
+ {
2398
+ id: 49,
2399
+ name: "Hladové okno",
2400
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2401
+ established_at: "2022-10-01",
2402
+ is_franchise: false,
2403
+ contact_email: "david@localazy.com",
2404
+ cuisine: "Thai",
2405
+ capacity: 68,
2406
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2407
+ featured_image: null,
2408
+ supported_restaurants: [
2409
+ ],
2410
+ menu: [
2411
+ {
2412
+ id: 52,
2413
+ name: "Kari polévka",
2414
+ price: 5,
2415
+ currency: "$",
2416
+ description: "Super lahodná polévka. _\n\n<u>Varování: Pikantní jako peklo! </u>",
2417
+ is_available: true,
2418
+ },
2419
+ ],
2420
+ used_cookbooks: {
2421
+ id: 24,
2422
+ title: "Pro každý den v roce",
2423
+ author_name: "David V.",
2424
+ pages: 365,
2425
+ },
2426
+ },
2427
+ ],
2428
+ menu: [
2429
+ {
2430
+ id: 53,
2431
+ name: "Crème brûlée",
2432
+ price: 24,
2433
+ currency: "$",
2434
+ description: "\n> Nemůžu snít o lepším! Váš jazyk bude ve stavu čistého štěstí!\n\nŘíká sám Gordon.",
2435
+ is_available: true,
2436
+ food_gallery: [
2437
+ {
2438
+ id: 5,
2439
+ name: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2440
+ alternativeText: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2441
+ caption: "stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2442
+ width: 2515,
2443
+ height: 2515,
2444
+ formats: {
2445
+ thumbnail: {
2446
+ name: "thumbnail_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2447
+ hash: "thumbnail_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
2448
+ ext: ".jpg",
2449
+ mime: "image/jpeg",
2450
+ path: null,
2451
+ width: 156,
2452
+ height: 156,
2453
+ size: 3.97,
2454
+ url: "/uploads/thumbnail_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
2455
+ },
2456
+ large: {
2457
+ name: "large_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2458
+ hash: "large_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
2459
+ ext: ".jpg",
2460
+ mime: "image/jpeg",
2461
+ path: null,
2462
+ width: 1000,
2463
+ height: 1000,
2464
+ size: 83.46,
2465
+ url: "/uploads/large_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
2466
+ },
2467
+ medium: {
2468
+ name: "medium_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2469
+ hash: "medium_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
2470
+ ext: ".jpg",
2471
+ mime: "image/jpeg",
2472
+ path: null,
2473
+ width: 750,
2474
+ height: 750,
2475
+ size: 50.55,
2476
+ url: "/uploads/medium_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
2477
+ },
2478
+ small: {
2479
+ name: "small_stephen-bedase-CmguMl2wYFI-unsplash.jpg",
2480
+ hash: "small_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
2481
+ ext: ".jpg",
2482
+ mime: "image/jpeg",
2483
+ path: null,
2484
+ width: 500,
2485
+ height: 500,
2486
+ size: 25.51,
2487
+ url: "/uploads/small_stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
2488
+ },
2489
+ },
2490
+ hash: "stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039",
2491
+ ext: ".jpg",
2492
+ mime: "image/jpeg",
2493
+ size: 523.69,
2494
+ url: "/uploads/stephen_bedase_Cmgu_Ml2w_YFI_unsplash_beb3bdf039.jpg",
2495
+ previewUrl: null,
2496
+ provider: "local",
2497
+ provider_metadata: null,
2498
+ },
2499
+ ],
2500
+ },
2501
+ {
2502
+ id: 54,
2503
+ name: "Humr",
2504
+ price: 99.9,
2505
+ currency: "$",
2506
+ description: "Krémová, šťavnatá, pikantní!",
2507
+ is_available: false,
2508
+ food_gallery: null,
2509
+ },
2510
+ ],
2511
+ used_cookbooks: null,
2512
+ },
2513
+ ],
2514
+ menu: [
2515
+ ],
2516
+ used_cookbooks: {
2517
+ id: 24,
2518
+ title: "Pro každý den v roce",
2519
+ author_name: "David V.",
2520
+ pages: 365,
2521
+ recipes: [
2522
+ {
2523
+ id: 20,
2524
+ name: "Bramborový salát",
2525
+ recipe: "Oloupejte brambory, smíchejte je se všemi ingrediencemi a máte hotovo. Bon apetit!",
2526
+ estimated_cook_time: "00:30:00.000",
2527
+ difficulty: "easy",
2528
+ author_name: "Mr. Bramborová hlava",
2529
+ gallery: [
2530
+ {
2531
+ id: 100,
2532
+ image_title: "Syrové brambory",
2533
+ image_description: "Čerstvý!",
2534
+ },
2535
+ {
2536
+ id: 101,
2537
+ image_title: "Salát",
2538
+ image_description: "Mňam!",
2539
+ },
2540
+ ],
2541
+ ingredients: [
2542
+ {
2543
+ id: 115,
2544
+ name: "Brambory",
2545
+ amount: 2,
2546
+ unit: "kg",
2547
+ is_required: true,
2548
+ },
2549
+ {
2550
+ id: 116,
2551
+ name: "Hrášek",
2552
+ amount: 0.5,
2553
+ unit: "plechovka",
2554
+ is_required: true,
2555
+ },
2556
+ {
2557
+ id: 117,
2558
+ name: "Kukuřice",
2559
+ amount: 0.5,
2560
+ unit: "plechovka",
2561
+ is_required: true,
2562
+ },
2563
+ {
2564
+ id: 118,
2565
+ name: "Majonéza",
2566
+ amount: 4,
2567
+ unit: "1",
2568
+ is_required: true,
2569
+ },
2570
+ {
2571
+ id: 119,
2572
+ name: "Sýr",
2573
+ amount: 1,
2574
+ unit: "1",
2575
+ is_required: true,
2576
+ },
2577
+ {
2578
+ id: 120,
2579
+ name: "Jablko",
2580
+ amount: 1,
2581
+ unit: "ks",
2582
+ is_required: true,
2583
+ },
2584
+ ],
2585
+ },
2586
+ ],
2587
+ gallery: {
2588
+ id: 24,
2589
+ optional_title: null,
2590
+ annotation: "Podívejte se na naše chutné jídlo, pak čtěte dál a ponořte se do kulinářského nebe!",
2591
+ main_image: {
2592
+ id: 102,
2593
+ image_title: "Kuchařka",
2594
+ image_description: "Booklet",
2595
+ },
2596
+ gallery: [
2597
+ {
2598
+ id: 103,
2599
+ image_title: null,
2600
+ image_description: "Brožura, listy a vidlička.",
2601
+ },
2602
+ {
2603
+ id: 104,
2604
+ image_title: "Koření",
2605
+ image_description: null,
2606
+ },
2607
+ ],
2608
+ },
2609
+ used_in_restaurants: [
2610
+ {
2611
+ id: 49,
2612
+ name: "Hladové okno",
2613
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2614
+ established_at: "2022-10-01",
2615
+ is_franchise: false,
2616
+ contact_email: "david@localazy.com",
2617
+ cuisine: "Thai",
2618
+ capacity: 68,
2619
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2620
+ featured_image: null,
2621
+ supported_restaurants: [
2622
+ ],
2623
+ menu: [
2624
+ {
2625
+ id: 52,
2626
+ name: "Kari polévka",
2627
+ price: 5,
2628
+ currency: "$",
2629
+ description: "Super lahodná polévka. _\n\n<u>Varování: Pikantní jako peklo! </u>",
2630
+ is_available: true,
2631
+ },
2632
+ ],
2633
+ used_cookbooks: {
2634
+ id: 24,
2635
+ title: "Pro každý den v roce",
2636
+ author_name: "David V.",
2637
+ pages: 365,
2638
+ },
2639
+ },
2640
+ {
2641
+ id: 51,
2642
+ name: "Modrá ústřice",
2643
+ description: "Vidíš jídlo? Raději řekněte mořské plody!",
2644
+ established_at: "1822-07-09",
2645
+ is_franchise: null,
2646
+ contact_email: "david@localazy.com",
2647
+ cuisine: "Italian",
2648
+ capacity: 16,
2649
+ our_story: "Dlouhá tradice, moudrost daná z generace na generaci... Od roku 1822.",
2650
+ featured_image: null,
2651
+ supported_restaurants: [
2652
+ {
2653
+ id: 49,
2654
+ name: "Hladové okno",
2655
+ description: "Orientální pouliční jídlo v ústech rychlé a snadné!",
2656
+ established_at: "2022-10-01",
2657
+ is_franchise: false,
2658
+ contact_email: "david@localazy.com",
2659
+ cuisine: "Thai",
2660
+ capacity: 68,
2661
+ our_story: "Tam je **víc** pozadu! Podívejte se na náš příběh na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2662
+ },
2663
+ {
2664
+ id: 50,
2665
+ name: "Michelin",
2666
+ description: "Nejvíce luxusní restaurace ve sluneční soustavě. Podívejte se na naše menu vytvořené jediným Gordonem Ramsayem.",
2667
+ established_at: "2002-06-23",
2668
+ is_franchise: true,
2669
+ contact_email: "david@localazy.com",
2670
+ cuisine: "French",
2671
+ capacity: 148,
2672
+ our_story: "## Nejúžasnější restaurace ve Sluneční soustavě.\n\nPodívejte se na naše menu vytvořené ~~jen náhodným chlapem~~ jediným a jediným * Gordon Ramsay**.",
2673
+ },
2674
+ ],
2675
+ menu: [
2676
+ ],
2677
+ used_cookbooks: {
2678
+ id: 24,
2679
+ title: "Pro každý den v roce",
2680
+ author_name: "David V.",
2681
+ pages: 365,
2682
+ },
2683
+ },
2684
+ ],
2685
+ },
2686
+ },
2687
+ ],
2688
+ };
2689
+
2690
+ const uid = "api::cookbook.cookbook";
2691
+
2692
+ const locale = "cs";
2693
+
2694
+ module.exports = {
2695
+ updateEntry,
2696
+ baseEntry,
2697
+ fullyPopulatedLocalizedEntry,
2698
+ uid,
2699
+ locale,
2700
+ }