@localazy/strapi-plugin 0.1.9 → 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 (45) hide show
  1. package/.eslintrc +6 -2
  2. package/.nvmrc +1 -1
  3. package/admin/src/modules/@common/models/supported-content-type-fields.js +8 -0
  4. package/admin/src/modules/plugin-settings/components/Tree/index.js +2 -0
  5. package/admin/src/modules/plugin-settings/utils/get-filtered-models-schemas.js +4 -4
  6. package/admin/src/modules/plugin-settings/utils/get-models-tree.js +3 -1
  7. package/package.json +1 -1
  8. package/server/bootstrap.js +15 -1
  9. package/server/controllers/localazy-transfer-controller.js +45 -47
  10. package/server/functions/should-set-downloaded-property.js +16 -0
  11. package/server/models/supported-content-type-fields.js +8 -0
  12. package/server/services/index.js +2 -0
  13. package/server/services/strapi-i18n-service.js +4 -3
  14. package/server/services/strapi-localazy-i18n-service.js +104 -0
  15. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-cookbook.js +5761 -0
  16. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-restaurant-simple-menu.js +536 -0
  17. package/server/tests/fixtures/parsed-localazy-entry-to-update-entry.js +35157 -0
  18. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook-empty-recipes.js +202 -0
  19. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook.js +2700 -0
  20. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-simple.js +47 -0
  21. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-with-media.js +169 -0
  22. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-empty.js +3003 -0
  23. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-with-media.js +2057 -0
  24. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-sample-json.js +46 -0
  25. package/server/tests/fixtures/{all-models-with-multimedia.js → strapi-plugin-all-models.js} +717 -540
  26. package/server/utils/__tests__/get-models-tree.test.js +1 -1
  27. package/server/utils/__tests__/parsed-localazy-entry-to-create-entry.test.js +74 -107
  28. package/server/utils/__tests__/parsed-localazy-entry-to-update-entry.test.js +396 -133
  29. package/server/utils/__tests__/populate-create-update-entry-with-base-entry.test.js +852 -0
  30. package/server/utils/get-full-populate-object.js +56 -0
  31. package/server/utils/get-models-tree.js +3 -1
  32. package/server/utils/model-utils.js +38 -0
  33. package/server/utils/parsed-localazy-entry-to-create-entry.js +24 -24
  34. package/server/utils/parsed-localazy-entry-to-update-entry.js +43 -4
  35. package/server/utils/pick-entries.js +2 -1
  36. package/server/utils/populate-create-update-entry-with-base-entry.js +222 -0
  37. package/server/utils/reset-array-keys-deep.js +19 -0
  38. package/server/utils/transfer-setup-utils.js +14 -0
  39. package/server/tests/fixtures/restaurant-model.js +0 -230
  40. package/server/tests/fixtures/restaurants-entries.js +0 -152
  41. package/server/tests/fixtures/strapi-book-with-multimedia-components-cs.js +0 -31
  42. package/server/tests/fixtures/stringified-book-cs.js +0 -3
  43. package/server/tests/fixtures/stringified-book-with-multimedia-components-cs.js +0 -3
  44. package/server/tests/fixtures/stringified-restaurant-cs.js +0 -3
  45. package/server/tests/fixtures/stringified-restaurant-de.js +0 -5
@@ -0,0 +1,2057 @@
1
+ "use strict";
2
+
3
+ const updateEntry = {
4
+ id: 37,
5
+ name: "Głodne okno",
6
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
7
+ established_at: "2022-10-01",
8
+ is_franchise: false,
9
+ contact_email: "david@localazy.com",
10
+ cuisine: "Thai",
11
+ capacity: 68,
12
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
13
+ menu: [
14
+ {
15
+ id: 40,
16
+ name: "Zupa Curry",
17
+ price: 5,
18
+ currency: "$",
19
+ description: "_Super pyszna zupa. _\n\n<u>Ostrzeżenie: Ostre jak diabli! </u>",
20
+ is_available: true,
21
+ food_gallery: [
22
+ {
23
+ id: 3,
24
+ name: "emy-XoByiBymX20-unsplash.jpg",
25
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
26
+ caption: "emy-XoByiBymX20-unsplash.jpg",
27
+ width: 5184,
28
+ height: 3456,
29
+ formats: {
30
+ thumbnail: {
31
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
32
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
33
+ ext: ".jpg",
34
+ mime: "image/jpeg",
35
+ path: null,
36
+ width: 234,
37
+ height: 156,
38
+ size: 11.04,
39
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
40
+ },
41
+ large: {
42
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
43
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
44
+ ext: ".jpg",
45
+ mime: "image/jpeg",
46
+ path: null,
47
+ width: 1000,
48
+ height: 667,
49
+ size: 97.59,
50
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
51
+ },
52
+ medium: {
53
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
54
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
55
+ ext: ".jpg",
56
+ mime: "image/jpeg",
57
+ path: null,
58
+ width: 750,
59
+ height: 500,
60
+ size: 63.15,
61
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
62
+ },
63
+ small: {
64
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
65
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
66
+ ext: ".jpg",
67
+ mime: "image/jpeg",
68
+ path: null,
69
+ width: 500,
70
+ height: 333,
71
+ size: 33.98,
72
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
73
+ },
74
+ },
75
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
76
+ ext: ".jpg",
77
+ mime: "image/jpeg",
78
+ size: 1411.68,
79
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
80
+ previewUrl: null,
81
+ provider: "local",
82
+ provider_metadata: null,
83
+ },
84
+ {
85
+ id: 4,
86
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
87
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
88
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
89
+ width: 3840,
90
+ height: 5760,
91
+ formats: {
92
+ thumbnail: {
93
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
94
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
95
+ ext: ".jpg",
96
+ mime: "image/jpeg",
97
+ path: null,
98
+ width: 104,
99
+ height: 156,
100
+ size: 6.06,
101
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
102
+ },
103
+ large: {
104
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
105
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
106
+ ext: ".jpg",
107
+ mime: "image/jpeg",
108
+ path: null,
109
+ width: 667,
110
+ height: 1000,
111
+ size: 202.98,
112
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
113
+ },
114
+ medium: {
115
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
116
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
117
+ ext: ".jpg",
118
+ mime: "image/jpeg",
119
+ path: null,
120
+ width: 500,
121
+ height: 750,
122
+ size: 120.06,
123
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
124
+ },
125
+ small: {
126
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
127
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
128
+ ext: ".jpg",
129
+ mime: "image/jpeg",
130
+ path: null,
131
+ width: 333,
132
+ height: 500,
133
+ size: 54.32,
134
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
135
+ },
136
+ },
137
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
138
+ ext: ".jpg",
139
+ mime: "image/jpeg",
140
+ size: 5952.03,
141
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
142
+ previewUrl: null,
143
+ provider: "local",
144
+ provider_metadata: null,
145
+ },
146
+ ],
147
+ },
148
+ ],
149
+ };
150
+
151
+ const baseEntry = {
152
+ id: 1,
153
+ name: "Hungry Window",
154
+ description: "Oriental street food in your mouth quick and easy!",
155
+ established_at: "2022-10-01",
156
+ is_franchise: false,
157
+ contact_email: "david@localazy.com",
158
+ cuisine: "Thai",
159
+ capacity: 68,
160
+ 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)",
161
+ featured_image: null,
162
+ supported_restaurants: [
163
+ ],
164
+ menu: [
165
+ {
166
+ id: 1,
167
+ name: "Curry Soup",
168
+ price: 5,
169
+ currency: "$",
170
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
171
+ is_available: true,
172
+ food_gallery: [
173
+ {
174
+ id: 3,
175
+ name: "emy-XoByiBymX20-unsplash.jpg",
176
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
177
+ caption: "emy-XoByiBymX20-unsplash.jpg",
178
+ width: 5184,
179
+ height: 3456,
180
+ formats: {
181
+ thumbnail: {
182
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
183
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
184
+ ext: ".jpg",
185
+ mime: "image/jpeg",
186
+ path: null,
187
+ width: 234,
188
+ height: 156,
189
+ size: 11.04,
190
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
191
+ },
192
+ large: {
193
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
194
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
195
+ ext: ".jpg",
196
+ mime: "image/jpeg",
197
+ path: null,
198
+ width: 1000,
199
+ height: 667,
200
+ size: 97.59,
201
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
202
+ },
203
+ medium: {
204
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
205
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
206
+ ext: ".jpg",
207
+ mime: "image/jpeg",
208
+ path: null,
209
+ width: 750,
210
+ height: 500,
211
+ size: 63.15,
212
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
213
+ },
214
+ small: {
215
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
216
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
217
+ ext: ".jpg",
218
+ mime: "image/jpeg",
219
+ path: null,
220
+ width: 500,
221
+ height: 333,
222
+ size: 33.98,
223
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
224
+ },
225
+ },
226
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
227
+ ext: ".jpg",
228
+ mime: "image/jpeg",
229
+ size: 1411.68,
230
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
231
+ previewUrl: null,
232
+ provider: "local",
233
+ provider_metadata: null,
234
+ },
235
+ {
236
+ id: 4,
237
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
238
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
239
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
240
+ width: 3840,
241
+ height: 5760,
242
+ formats: {
243
+ thumbnail: {
244
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
245
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
246
+ ext: ".jpg",
247
+ mime: "image/jpeg",
248
+ path: null,
249
+ width: 104,
250
+ height: 156,
251
+ size: 6.06,
252
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
253
+ },
254
+ large: {
255
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
256
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
257
+ ext: ".jpg",
258
+ mime: "image/jpeg",
259
+ path: null,
260
+ width: 667,
261
+ height: 1000,
262
+ size: 202.98,
263
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
264
+ },
265
+ medium: {
266
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
267
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
268
+ ext: ".jpg",
269
+ mime: "image/jpeg",
270
+ path: null,
271
+ width: 500,
272
+ height: 750,
273
+ size: 120.06,
274
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
275
+ },
276
+ small: {
277
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
278
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
279
+ ext: ".jpg",
280
+ mime: "image/jpeg",
281
+ path: null,
282
+ width: 333,
283
+ height: 500,
284
+ size: 54.32,
285
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
286
+ },
287
+ },
288
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
289
+ ext: ".jpg",
290
+ mime: "image/jpeg",
291
+ size: 5952.03,
292
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
293
+ previewUrl: null,
294
+ provider: "local",
295
+ provider_metadata: null,
296
+ },
297
+ ],
298
+ },
299
+ ],
300
+ used_cookbooks: {
301
+ id: 1,
302
+ title: "For Every Day of the Year",
303
+ author_name: "David V.",
304
+ pages: 365,
305
+ recipes: [
306
+ {
307
+ id: 1,
308
+ name: "Potato Salad",
309
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
310
+ estimated_cook_time: "00:30:00.000",
311
+ difficulty: "easy",
312
+ author_name: "Mr. Potato Head",
313
+ gallery: [
314
+ {
315
+ id: 1,
316
+ image_title: "Raw potatoes",
317
+ image_description: "Fresh!",
318
+ image: {
319
+ id: 6,
320
+ name: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
321
+ alternativeText: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
322
+ caption: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
323
+ width: 2268,
324
+ height: 4032,
325
+ formats: {
326
+ thumbnail: {
327
+ name: "thumbnail_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
328
+ hash: "thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
329
+ ext: ".jpg",
330
+ mime: "image/jpeg",
331
+ path: null,
332
+ width: 88,
333
+ height: 156,
334
+ size: 5.35,
335
+ url: "/uploads/thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
336
+ },
337
+ large: {
338
+ name: "large_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
339
+ hash: "large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
340
+ ext: ".jpg",
341
+ mime: "image/jpeg",
342
+ path: null,
343
+ width: 563,
344
+ height: 1000,
345
+ size: 108.15,
346
+ url: "/uploads/large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
347
+ },
348
+ medium: {
349
+ name: "medium_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
350
+ hash: "medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
351
+ ext: ".jpg",
352
+ mime: "image/jpeg",
353
+ path: null,
354
+ width: 422,
355
+ height: 750,
356
+ size: 65.52,
357
+ url: "/uploads/medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
358
+ },
359
+ small: {
360
+ name: "small_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
361
+ hash: "small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
362
+ ext: ".jpg",
363
+ mime: "image/jpeg",
364
+ path: null,
365
+ width: 281,
366
+ height: 500,
367
+ size: 34.23,
368
+ url: "/uploads/small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
369
+ },
370
+ },
371
+ hash: "rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
372
+ ext: ".jpg",
373
+ mime: "image/jpeg",
374
+ size: 1081.59,
375
+ url: "/uploads/rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
376
+ previewUrl: null,
377
+ provider: "local",
378
+ provider_metadata: null,
379
+ },
380
+ },
381
+ {
382
+ id: 2,
383
+ image_title: "Salad",
384
+ image_description: "Yummy!",
385
+ image: {
386
+ id: 7,
387
+ name: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
388
+ alternativeText: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
389
+ caption: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
390
+ width: 4608,
391
+ height: 3456,
392
+ formats: {
393
+ thumbnail: {
394
+ name: "thumbnail_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
395
+ hash: "thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
396
+ ext: ".jpg",
397
+ mime: "image/jpeg",
398
+ path: null,
399
+ width: 208,
400
+ height: 156,
401
+ size: 9.03,
402
+ url: "/uploads/thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
403
+ },
404
+ large: {
405
+ name: "large_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
406
+ hash: "large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
407
+ ext: ".jpg",
408
+ mime: "image/jpeg",
409
+ path: null,
410
+ width: 1000,
411
+ height: 750,
412
+ size: 102.77,
413
+ url: "/uploads/large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
414
+ },
415
+ medium: {
416
+ name: "medium_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
417
+ hash: "medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
418
+ ext: ".jpg",
419
+ mime: "image/jpeg",
420
+ path: null,
421
+ width: 750,
422
+ height: 563,
423
+ size: 66.26,
424
+ url: "/uploads/medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
425
+ },
426
+ small: {
427
+ name: "small_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
428
+ hash: "small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
429
+ ext: ".jpg",
430
+ mime: "image/jpeg",
431
+ path: null,
432
+ width: 500,
433
+ height: 375,
434
+ size: 35.17,
435
+ url: "/uploads/small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
436
+ },
437
+ },
438
+ hash: "jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
439
+ ext: ".jpg",
440
+ mime: "image/jpeg",
441
+ size: 1664.79,
442
+ url: "/uploads/jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
443
+ previewUrl: null,
444
+ provider: "local",
445
+ provider_metadata: null,
446
+ },
447
+ },
448
+ ],
449
+ ingredients: [
450
+ {
451
+ id: 1,
452
+ name: "Potatoes",
453
+ amount: 2,
454
+ unit: "kg",
455
+ is_required: true,
456
+ },
457
+ {
458
+ id: 2,
459
+ name: "Peas",
460
+ amount: 0.5,
461
+ unit: "can",
462
+ is_required: true,
463
+ },
464
+ {
465
+ id: 3,
466
+ name: "Corn",
467
+ amount: 0.5,
468
+ unit: "can",
469
+ is_required: true,
470
+ },
471
+ {
472
+ id: 4,
473
+ name: "Mayo",
474
+ amount: 4,
475
+ unit: "spoons",
476
+ is_required: true,
477
+ },
478
+ {
479
+ id: 5,
480
+ name: "Cheese",
481
+ amount: 1,
482
+ unit: "block",
483
+ is_required: true,
484
+ },
485
+ {
486
+ id: 6,
487
+ name: "Apple",
488
+ amount: 1,
489
+ unit: "pcs",
490
+ is_required: false,
491
+ },
492
+ ],
493
+ },
494
+ ],
495
+ gallery: {
496
+ id: 1,
497
+ optional_title: null,
498
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
499
+ main_image: {
500
+ id: 3,
501
+ image_title: "Cookbook",
502
+ image_description: "Booklet",
503
+ image: {
504
+ id: 9,
505
+ name: "dan-gold-5O1ddenSM4g-unsplash.jpg",
506
+ alternativeText: "dan-gold-5O1ddenSM4g-unsplash.jpg",
507
+ caption: "dan-gold-5O1ddenSM4g-unsplash.jpg",
508
+ width: 6000,
509
+ height: 3376,
510
+ formats: {
511
+ thumbnail: {
512
+ name: "thumbnail_dan-gold-5O1ddenSM4g-unsplash.jpg",
513
+ hash: "thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
514
+ ext: ".jpg",
515
+ mime: "image/jpeg",
516
+ path: null,
517
+ width: 245,
518
+ height: 138,
519
+ size: 7.44,
520
+ url: "/uploads/thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
521
+ },
522
+ large: {
523
+ name: "large_dan-gold-5O1ddenSM4g-unsplash.jpg",
524
+ hash: "large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
525
+ ext: ".jpg",
526
+ mime: "image/jpeg",
527
+ path: null,
528
+ width: 1000,
529
+ height: 563,
530
+ size: 52.67,
531
+ url: "/uploads/large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
532
+ },
533
+ medium: {
534
+ name: "medium_dan-gold-5O1ddenSM4g-unsplash.jpg",
535
+ hash: "medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
536
+ ext: ".jpg",
537
+ mime: "image/jpeg",
538
+ path: null,
539
+ width: 750,
540
+ height: 422,
541
+ size: 35.15,
542
+ url: "/uploads/medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
543
+ },
544
+ small: {
545
+ name: "small_dan-gold-5O1ddenSM4g-unsplash.jpg",
546
+ hash: "small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
547
+ ext: ".jpg",
548
+ mime: "image/jpeg",
549
+ path: null,
550
+ width: 500,
551
+ height: 281,
552
+ size: 19.95,
553
+ url: "/uploads/small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
554
+ },
555
+ },
556
+ hash: "dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
557
+ ext: ".jpg",
558
+ mime: "image/jpeg",
559
+ size: 972.68,
560
+ url: "/uploads/dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
561
+ previewUrl: null,
562
+ provider: "local",
563
+ provider_metadata: null,
564
+ },
565
+ },
566
+ gallery: [
567
+ {
568
+ id: 5,
569
+ image_title: null,
570
+ image_description: "The booklet and leaves and fork.",
571
+ image: {
572
+ id: 11,
573
+ name: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
574
+ alternativeText: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
575
+ caption: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
576
+ width: 6127,
577
+ height: 3844,
578
+ formats: {
579
+ thumbnail: {
580
+ name: "thumbnail_heather-ford-G4LFhuLXhLE-unsplash.jpg",
581
+ hash: "thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
582
+ ext: ".jpg",
583
+ mime: "image/jpeg",
584
+ path: null,
585
+ width: 245,
586
+ height: 154,
587
+ size: 9.54,
588
+ url: "/uploads/thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
589
+ },
590
+ large: {
591
+ name: "large_heather-ford-G4LFhuLXhLE-unsplash.jpg",
592
+ hash: "large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
593
+ ext: ".jpg",
594
+ mime: "image/jpeg",
595
+ path: null,
596
+ width: 1000,
597
+ height: 628,
598
+ size: 117.56,
599
+ url: "/uploads/large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
600
+ },
601
+ medium: {
602
+ name: "medium_heather-ford-G4LFhuLXhLE-unsplash.jpg",
603
+ hash: "medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
604
+ ext: ".jpg",
605
+ mime: "image/jpeg",
606
+ path: null,
607
+ width: 750,
608
+ height: 471,
609
+ size: 66.32,
610
+ url: "/uploads/medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
611
+ },
612
+ small: {
613
+ name: "small_heather-ford-G4LFhuLXhLE-unsplash.jpg",
614
+ hash: "small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
615
+ ext: ".jpg",
616
+ mime: "image/jpeg",
617
+ path: null,
618
+ width: 500,
619
+ height: 314,
620
+ size: 31.42,
621
+ url: "/uploads/small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
622
+ },
623
+ },
624
+ hash: "heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
625
+ ext: ".jpg",
626
+ mime: "image/jpeg",
627
+ size: 6971.47,
628
+ url: "/uploads/heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
629
+ previewUrl: null,
630
+ provider: "local",
631
+ provider_metadata: null,
632
+ },
633
+ },
634
+ {
635
+ id: 4,
636
+ image_title: "Spices",
637
+ image_description: null,
638
+ image: {
639
+ id: 10,
640
+ name: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
641
+ alternativeText: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
642
+ caption: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
643
+ width: 3569,
644
+ height: 5353,
645
+ formats: {
646
+ thumbnail: {
647
+ name: "thumbnail_calum-lewis-vA1L1jRTM70-unsplash.jpg",
648
+ hash: "thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
649
+ ext: ".jpg",
650
+ mime: "image/jpeg",
651
+ path: null,
652
+ width: 104,
653
+ height: 156,
654
+ size: 5.55,
655
+ url: "/uploads/thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
656
+ },
657
+ large: {
658
+ name: "large_calum-lewis-vA1L1jRTM70-unsplash.jpg",
659
+ hash: "large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
660
+ ext: ".jpg",
661
+ mime: "image/jpeg",
662
+ path: null,
663
+ width: 667,
664
+ height: 1000,
665
+ size: 116.32,
666
+ url: "/uploads/large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
667
+ },
668
+ medium: {
669
+ name: "medium_calum-lewis-vA1L1jRTM70-unsplash.jpg",
670
+ hash: "medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
671
+ ext: ".jpg",
672
+ mime: "image/jpeg",
673
+ path: null,
674
+ width: 500,
675
+ height: 750,
676
+ size: 72.75,
677
+ url: "/uploads/medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
678
+ },
679
+ small: {
680
+ name: "small_calum-lewis-vA1L1jRTM70-unsplash.jpg",
681
+ hash: "small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
682
+ ext: ".jpg",
683
+ mime: "image/jpeg",
684
+ path: null,
685
+ width: 333,
686
+ height: 500,
687
+ size: 36.52,
688
+ url: "/uploads/small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
689
+ },
690
+ },
691
+ hash: "calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
692
+ ext: ".jpg",
693
+ mime: "image/jpeg",
694
+ size: 2305.97,
695
+ url: "/uploads/calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
696
+ previewUrl: null,
697
+ provider: "local",
698
+ provider_metadata: null,
699
+ },
700
+ },
701
+ ],
702
+ },
703
+ used_in_restaurants: [
704
+ {
705
+ id: 1,
706
+ name: "Hungry Window",
707
+ description: "Oriental street food in your mouth quick and easy!",
708
+ established_at: "2022-10-01",
709
+ is_franchise: false,
710
+ contact_email: "david@localazy.com",
711
+ cuisine: "Thai",
712
+ capacity: 68,
713
+ 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)",
714
+ featured_image: null,
715
+ supported_restaurants: [
716
+ ],
717
+ menu: [
718
+ {
719
+ id: 1,
720
+ name: "Curry Soup",
721
+ price: 5,
722
+ currency: "$",
723
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
724
+ is_available: true,
725
+ food_gallery: [
726
+ {
727
+ id: 3,
728
+ name: "emy-XoByiBymX20-unsplash.jpg",
729
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
730
+ caption: "emy-XoByiBymX20-unsplash.jpg",
731
+ width: 5184,
732
+ height: 3456,
733
+ formats: {
734
+ thumbnail: {
735
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
736
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
737
+ ext: ".jpg",
738
+ mime: "image/jpeg",
739
+ path: null,
740
+ width: 234,
741
+ height: 156,
742
+ size: 11.04,
743
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
744
+ },
745
+ large: {
746
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
747
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
748
+ ext: ".jpg",
749
+ mime: "image/jpeg",
750
+ path: null,
751
+ width: 1000,
752
+ height: 667,
753
+ size: 97.59,
754
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
755
+ },
756
+ medium: {
757
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
758
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
759
+ ext: ".jpg",
760
+ mime: "image/jpeg",
761
+ path: null,
762
+ width: 750,
763
+ height: 500,
764
+ size: 63.15,
765
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
766
+ },
767
+ small: {
768
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
769
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
770
+ ext: ".jpg",
771
+ mime: "image/jpeg",
772
+ path: null,
773
+ width: 500,
774
+ height: 333,
775
+ size: 33.98,
776
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
777
+ },
778
+ },
779
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
780
+ ext: ".jpg",
781
+ mime: "image/jpeg",
782
+ size: 1411.68,
783
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
784
+ previewUrl: null,
785
+ provider: "local",
786
+ provider_metadata: null,
787
+ },
788
+ {
789
+ id: 4,
790
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
791
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
792
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
793
+ width: 3840,
794
+ height: 5760,
795
+ formats: {
796
+ thumbnail: {
797
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
798
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
799
+ ext: ".jpg",
800
+ mime: "image/jpeg",
801
+ path: null,
802
+ width: 104,
803
+ height: 156,
804
+ size: 6.06,
805
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
806
+ },
807
+ large: {
808
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
809
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
810
+ ext: ".jpg",
811
+ mime: "image/jpeg",
812
+ path: null,
813
+ width: 667,
814
+ height: 1000,
815
+ size: 202.98,
816
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
817
+ },
818
+ medium: {
819
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
820
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
821
+ ext: ".jpg",
822
+ mime: "image/jpeg",
823
+ path: null,
824
+ width: 500,
825
+ height: 750,
826
+ size: 120.06,
827
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
828
+ },
829
+ small: {
830
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
831
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
832
+ ext: ".jpg",
833
+ mime: "image/jpeg",
834
+ path: null,
835
+ width: 333,
836
+ height: 500,
837
+ size: 54.32,
838
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
839
+ },
840
+ },
841
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
842
+ ext: ".jpg",
843
+ mime: "image/jpeg",
844
+ size: 5952.03,
845
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
846
+ previewUrl: null,
847
+ provider: "local",
848
+ provider_metadata: null,
849
+ },
850
+ ],
851
+ },
852
+ ],
853
+ used_cookbooks: {
854
+ id: 1,
855
+ title: "For Every Day of the Year",
856
+ author_name: "David V.",
857
+ pages: 365,
858
+ recipes: [
859
+ {
860
+ id: 1,
861
+ name: "Potato Salad",
862
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
863
+ estimated_cook_time: "00:30:00.000",
864
+ difficulty: "easy",
865
+ author_name: "Mr. Potato Head",
866
+ },
867
+ ],
868
+ gallery: {
869
+ id: 1,
870
+ optional_title: null,
871
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
872
+ },
873
+ used_in_restaurants: [
874
+ {
875
+ id: 1,
876
+ name: "Hungry Window",
877
+ description: "Oriental street food in your mouth quick and easy!",
878
+ established_at: "2022-10-01",
879
+ is_franchise: false,
880
+ contact_email: "david@localazy.com",
881
+ cuisine: "Thai",
882
+ capacity: 68,
883
+ 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)",
884
+ },
885
+ {
886
+ id: 3,
887
+ name: "Blue Oyster",
888
+ description: "See food? Better say Sea food!",
889
+ established_at: "1822-07-09",
890
+ is_franchise: null,
891
+ contact_email: "david@localazy.com",
892
+ cuisine: "Italian",
893
+ capacity: 16,
894
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
895
+ },
896
+ ],
897
+ },
898
+ },
899
+ {
900
+ id: 3,
901
+ name: "Blue Oyster",
902
+ description: "See food? Better say Sea food!",
903
+ established_at: "1822-07-09",
904
+ is_franchise: null,
905
+ contact_email: "david@localazy.com",
906
+ cuisine: "Italian",
907
+ capacity: 16,
908
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
909
+ featured_image: null,
910
+ supported_restaurants: [
911
+ {
912
+ id: 1,
913
+ name: "Hungry Window",
914
+ description: "Oriental street food in your mouth quick and easy!",
915
+ established_at: "2022-10-01",
916
+ is_franchise: false,
917
+ contact_email: "david@localazy.com",
918
+ cuisine: "Thai",
919
+ capacity: 68,
920
+ 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)",
921
+ featured_image: null,
922
+ supported_restaurants: [
923
+ ],
924
+ menu: [
925
+ {
926
+ id: 1,
927
+ name: "Curry Soup",
928
+ price: 5,
929
+ currency: "$",
930
+ description: "_Super delicious soup._\n\n<u>Warning: Spicy as hell!</u>",
931
+ is_available: true,
932
+ },
933
+ ],
934
+ used_cookbooks: {
935
+ id: 1,
936
+ title: "For Every Day of the Year",
937
+ author_name: "David V.",
938
+ pages: 365,
939
+ },
940
+ },
941
+ {
942
+ id: 2,
943
+ name: "Michelin's",
944
+ description: "The most fancy restaurant in the Solar System. Check out our menu created by the one and only Gordon Ramsay.",
945
+ established_at: "2002-06-23",
946
+ is_franchise: true,
947
+ contact_email: "david@localazy.com",
948
+ cuisine: "French",
949
+ capacity: 148,
950
+ 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**.",
951
+ featured_image: {
952
+ id: 1,
953
+ name: "jason-leung-poI7DelFiVA-unsplash.jpg",
954
+ alternativeText: "jason-leung-poI7DelFiVA-unsplash.jpg",
955
+ caption: "jason-leung-poI7DelFiVA-unsplash.jpg",
956
+ width: 5596,
957
+ height: 3731,
958
+ formats: {
959
+ thumbnail: {
960
+ name: "thumbnail_jason-leung-poI7DelFiVA-unsplash.jpg",
961
+ hash: "thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
962
+ ext: ".jpg",
963
+ mime: "image/jpeg",
964
+ path: null,
965
+ width: 234,
966
+ height: 156,
967
+ size: 11.74,
968
+ url: "/uploads/thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
969
+ },
970
+ large: {
971
+ name: "large_jason-leung-poI7DelFiVA-unsplash.jpg",
972
+ hash: "large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
973
+ ext: ".jpg",
974
+ mime: "image/jpeg",
975
+ path: null,
976
+ width: 1000,
977
+ height: 666,
978
+ size: 140.2,
979
+ url: "/uploads/large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
980
+ },
981
+ medium: {
982
+ name: "medium_jason-leung-poI7DelFiVA-unsplash.jpg",
983
+ hash: "medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
984
+ ext: ".jpg",
985
+ mime: "image/jpeg",
986
+ path: null,
987
+ width: 750,
988
+ height: 500,
989
+ size: 86.32,
990
+ url: "/uploads/medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
991
+ },
992
+ small: {
993
+ name: "small_jason-leung-poI7DelFiVA-unsplash.jpg",
994
+ hash: "small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
995
+ ext: ".jpg",
996
+ mime: "image/jpeg",
997
+ path: null,
998
+ width: 500,
999
+ height: 333,
1000
+ size: 42.51,
1001
+ url: "/uploads/small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1002
+ },
1003
+ },
1004
+ hash: "jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1005
+ ext: ".jpg",
1006
+ mime: "image/jpeg",
1007
+ size: 3461.64,
1008
+ url: "/uploads/jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1009
+ previewUrl: null,
1010
+ provider: "local",
1011
+ provider_metadata: null,
1012
+ },
1013
+ supported_restaurants: [
1014
+ {
1015
+ id: 1,
1016
+ name: "Hungry Window",
1017
+ description: "Oriental street food in your mouth quick and easy!",
1018
+ established_at: "2022-10-01",
1019
+ is_franchise: false,
1020
+ contact_email: "david@localazy.com",
1021
+ cuisine: "Thai",
1022
+ capacity: 68,
1023
+ 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)",
1024
+ },
1025
+ ],
1026
+ menu: [
1027
+ {
1028
+ id: 2,
1029
+ name: "Crème brûlée",
1030
+ price: 24,
1031
+ currency: "$",
1032
+ description: "\n>Can't dream of a better one! Your tongue will be in the state of a pure happiness!\n\nSays Gordon himself.",
1033
+ is_available: true,
1034
+ },
1035
+ {
1036
+ id: 3,
1037
+ name: "Lobster",
1038
+ price: 99.9,
1039
+ currency: "$",
1040
+ description: "Creamy, juicy, spicy!",
1041
+ is_available: false,
1042
+ },
1043
+ ],
1044
+ used_cookbooks: null,
1045
+ },
1046
+ ],
1047
+ menu: [
1048
+ ],
1049
+ used_cookbooks: {
1050
+ id: 1,
1051
+ title: "For Every Day of the Year",
1052
+ author_name: "David V.",
1053
+ pages: 365,
1054
+ recipes: [
1055
+ {
1056
+ id: 1,
1057
+ name: "Potato Salad",
1058
+ recipe: "Peel the potatoes, mix it with all the ingredients and you're done. Bon apetit!",
1059
+ estimated_cook_time: "00:30:00.000",
1060
+ difficulty: "easy",
1061
+ author_name: "Mr. Potato Head",
1062
+ },
1063
+ ],
1064
+ gallery: {
1065
+ id: 1,
1066
+ optional_title: null,
1067
+ annotation: "Check out our delicious meal, then read on and dive into the culinary heaven!",
1068
+ },
1069
+ used_in_restaurants: [
1070
+ {
1071
+ id: 1,
1072
+ name: "Hungry Window",
1073
+ description: "Oriental street food in your mouth quick and easy!",
1074
+ established_at: "2022-10-01",
1075
+ is_franchise: false,
1076
+ contact_email: "david@localazy.com",
1077
+ cuisine: "Thai",
1078
+ capacity: 68,
1079
+ 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)",
1080
+ },
1081
+ {
1082
+ id: 3,
1083
+ name: "Blue Oyster",
1084
+ description: "See food? Better say Sea food!",
1085
+ established_at: "1822-07-09",
1086
+ is_franchise: null,
1087
+ contact_email: "david@localazy.com",
1088
+ cuisine: "Italian",
1089
+ capacity: 16,
1090
+ our_story: "Long tradition, wisdom given from generation to generation... Since 1822.",
1091
+ },
1092
+ ],
1093
+ },
1094
+ },
1095
+ ],
1096
+ },
1097
+ };
1098
+
1099
+ const fullyPopulatedLocalizedEntry = {
1100
+ id: 37,
1101
+ name: "Głodne okno",
1102
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
1103
+ established_at: "2022-10-01",
1104
+ is_franchise: false,
1105
+ contact_email: "david@localazy.com",
1106
+ cuisine: "Thai",
1107
+ capacity: 68,
1108
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1109
+ featured_image: null,
1110
+ supported_restaurants: [
1111
+ ],
1112
+ menu: [
1113
+ {
1114
+ id: 40,
1115
+ name: "Zupa Curry",
1116
+ price: 5,
1117
+ currency: "$",
1118
+ description: "_Super pyszna zupa. _\n\n<u>Ostrzeżenie: Ostre jak diabli! </u>",
1119
+ is_available: true,
1120
+ food_gallery: [
1121
+ {
1122
+ id: 3,
1123
+ name: "emy-XoByiBymX20-unsplash.jpg",
1124
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
1125
+ caption: "emy-XoByiBymX20-unsplash.jpg",
1126
+ width: 5184,
1127
+ height: 3456,
1128
+ formats: {
1129
+ thumbnail: {
1130
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
1131
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1132
+ ext: ".jpg",
1133
+ mime: "image/jpeg",
1134
+ path: null,
1135
+ width: 234,
1136
+ height: 156,
1137
+ size: 11.04,
1138
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1139
+ },
1140
+ large: {
1141
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
1142
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1143
+ ext: ".jpg",
1144
+ mime: "image/jpeg",
1145
+ path: null,
1146
+ width: 1000,
1147
+ height: 667,
1148
+ size: 97.59,
1149
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1150
+ },
1151
+ medium: {
1152
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
1153
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1154
+ ext: ".jpg",
1155
+ mime: "image/jpeg",
1156
+ path: null,
1157
+ width: 750,
1158
+ height: 500,
1159
+ size: 63.15,
1160
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1161
+ },
1162
+ small: {
1163
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
1164
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1165
+ ext: ".jpg",
1166
+ mime: "image/jpeg",
1167
+ path: null,
1168
+ width: 500,
1169
+ height: 333,
1170
+ size: 33.98,
1171
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1172
+ },
1173
+ },
1174
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1175
+ ext: ".jpg",
1176
+ mime: "image/jpeg",
1177
+ size: 1411.68,
1178
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1179
+ previewUrl: null,
1180
+ provider: "local",
1181
+ provider_metadata: null,
1182
+ },
1183
+ {
1184
+ id: 4,
1185
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1186
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1187
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1188
+ width: 3840,
1189
+ height: 5760,
1190
+ formats: {
1191
+ thumbnail: {
1192
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
1193
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1194
+ ext: ".jpg",
1195
+ mime: "image/jpeg",
1196
+ path: null,
1197
+ width: 104,
1198
+ height: 156,
1199
+ size: 6.06,
1200
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1201
+ },
1202
+ large: {
1203
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
1204
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1205
+ ext: ".jpg",
1206
+ mime: "image/jpeg",
1207
+ path: null,
1208
+ width: 667,
1209
+ height: 1000,
1210
+ size: 202.98,
1211
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1212
+ },
1213
+ medium: {
1214
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
1215
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1216
+ ext: ".jpg",
1217
+ mime: "image/jpeg",
1218
+ path: null,
1219
+ width: 500,
1220
+ height: 750,
1221
+ size: 120.06,
1222
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1223
+ },
1224
+ small: {
1225
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
1226
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1227
+ ext: ".jpg",
1228
+ mime: "image/jpeg",
1229
+ path: null,
1230
+ width: 333,
1231
+ height: 500,
1232
+ size: 54.32,
1233
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1234
+ },
1235
+ },
1236
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1237
+ ext: ".jpg",
1238
+ mime: "image/jpeg",
1239
+ size: 5952.03,
1240
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1241
+ previewUrl: null,
1242
+ provider: "local",
1243
+ provider_metadata: null,
1244
+ },
1245
+ ],
1246
+ },
1247
+ ],
1248
+ used_cookbooks: {
1249
+ id: 33,
1250
+ title: "Na każdy dzień roku",
1251
+ author_name: "David V.",
1252
+ pages: 365,
1253
+ recipes: [
1254
+ {
1255
+ id: 26,
1256
+ name: "Sałatka ziemni",
1257
+ recipe: "Obierz ziemniaki, wymieszaj ze wszystkimi składnikami i gotowe. Bon apetit!",
1258
+ estimated_cook_time: "00:30:00.000",
1259
+ difficulty: "easy",
1260
+ author_name: "Pan Głowa Ziemniaka",
1261
+ gallery: [
1262
+ {
1263
+ id: 135,
1264
+ image_title: "Surowe ziemniaki",
1265
+ image_description: "Świeży!",
1266
+ image: {
1267
+ id: 6,
1268
+ name: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1269
+ alternativeText: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1270
+ caption: "rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1271
+ width: 2268,
1272
+ height: 4032,
1273
+ formats: {
1274
+ thumbnail: {
1275
+ name: "thumbnail_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1276
+ hash: "thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1277
+ ext: ".jpg",
1278
+ mime: "image/jpeg",
1279
+ path: null,
1280
+ width: 88,
1281
+ height: 156,
1282
+ size: 5.35,
1283
+ url: "/uploads/thumbnail_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1284
+ },
1285
+ large: {
1286
+ name: "large_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1287
+ hash: "large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1288
+ ext: ".jpg",
1289
+ mime: "image/jpeg",
1290
+ path: null,
1291
+ width: 563,
1292
+ height: 1000,
1293
+ size: 108.15,
1294
+ url: "/uploads/large_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1295
+ },
1296
+ medium: {
1297
+ name: "medium_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1298
+ hash: "medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1299
+ ext: ".jpg",
1300
+ mime: "image/jpeg",
1301
+ path: null,
1302
+ width: 422,
1303
+ height: 750,
1304
+ size: 65.52,
1305
+ url: "/uploads/medium_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1306
+ },
1307
+ small: {
1308
+ name: "small_rodrigo-dos-reis-h3AkzboxK4Q-unsplash.jpg",
1309
+ hash: "small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1310
+ ext: ".jpg",
1311
+ mime: "image/jpeg",
1312
+ path: null,
1313
+ width: 281,
1314
+ height: 500,
1315
+ size: 34.23,
1316
+ url: "/uploads/small_rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1317
+ },
1318
+ },
1319
+ hash: "rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea",
1320
+ ext: ".jpg",
1321
+ mime: "image/jpeg",
1322
+ size: 1081.59,
1323
+ url: "/uploads/rodrigo_dos_reis_h3_Akzbox_K4_Q_unsplash_d17e795cea.jpg",
1324
+ previewUrl: null,
1325
+ provider: "local",
1326
+ provider_metadata: null,
1327
+ },
1328
+ },
1329
+ {
1330
+ id: 136,
1331
+ image_title: "Sałatka",
1332
+ image_description: "Pyszne!",
1333
+ image: {
1334
+ id: 7,
1335
+ name: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1336
+ alternativeText: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1337
+ caption: "jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1338
+ width: 4608,
1339
+ height: 3456,
1340
+ formats: {
1341
+ thumbnail: {
1342
+ name: "thumbnail_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1343
+ hash: "thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1344
+ ext: ".jpg",
1345
+ mime: "image/jpeg",
1346
+ path: null,
1347
+ width: 208,
1348
+ height: 156,
1349
+ size: 9.03,
1350
+ url: "/uploads/thumbnail_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1351
+ },
1352
+ large: {
1353
+ name: "large_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1354
+ hash: "large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1355
+ ext: ".jpg",
1356
+ mime: "image/jpeg",
1357
+ path: null,
1358
+ width: 1000,
1359
+ height: 750,
1360
+ size: 102.77,
1361
+ url: "/uploads/large_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1362
+ },
1363
+ medium: {
1364
+ name: "medium_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1365
+ hash: "medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1366
+ ext: ".jpg",
1367
+ mime: "image/jpeg",
1368
+ path: null,
1369
+ width: 750,
1370
+ height: 563,
1371
+ size: 66.26,
1372
+ url: "/uploads/medium_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1373
+ },
1374
+ small: {
1375
+ name: "small_jeffrey-betts-PeyzQt7tMk0-unsplash.jpg",
1376
+ hash: "small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1377
+ ext: ".jpg",
1378
+ mime: "image/jpeg",
1379
+ path: null,
1380
+ width: 500,
1381
+ height: 375,
1382
+ size: 35.17,
1383
+ url: "/uploads/small_jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1384
+ },
1385
+ },
1386
+ hash: "jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db",
1387
+ ext: ".jpg",
1388
+ mime: "image/jpeg",
1389
+ size: 1664.79,
1390
+ url: "/uploads/jeffrey_betts_Peyz_Qt7t_Mk0_unsplash_9650d628db.jpg",
1391
+ previewUrl: null,
1392
+ provider: "local",
1393
+ provider_metadata: null,
1394
+ },
1395
+ },
1396
+ ],
1397
+ ingredients: [
1398
+ {
1399
+ id: 151,
1400
+ name: "Ziemniaki",
1401
+ amount: 2,
1402
+ unit: "kg",
1403
+ is_required: true,
1404
+ },
1405
+ {
1406
+ id: 152,
1407
+ name: "Groch",
1408
+ amount: 0.5,
1409
+ unit: "puszka",
1410
+ is_required: true,
1411
+ },
1412
+ {
1413
+ id: 153,
1414
+ name: "kukurydza",
1415
+ amount: 0.5,
1416
+ unit: "puszka",
1417
+ is_required: true,
1418
+ },
1419
+ {
1420
+ id: 154,
1421
+ name: "Mayo",
1422
+ amount: 4,
1423
+ unit: "łyżki",
1424
+ is_required: true,
1425
+ },
1426
+ {
1427
+ id: 155,
1428
+ name: "Ser",
1429
+ amount: 1,
1430
+ unit: "blok",
1431
+ is_required: true,
1432
+ },
1433
+ {
1434
+ id: 156,
1435
+ name: "Apple",
1436
+ amount: 1,
1437
+ unit: "szt.",
1438
+ is_required: true,
1439
+ },
1440
+ ],
1441
+ },
1442
+ ],
1443
+ gallery: {
1444
+ id: 33,
1445
+ optional_title: null,
1446
+ annotation: "Sprawdź nasz pyszny posiłek, następnie czytaj dalej i zanurz się w kulinarnym niebie!",
1447
+ main_image: {
1448
+ id: 137,
1449
+ image_title: "książka kucharska",
1450
+ image_description: "Booklet",
1451
+ image: {
1452
+ id: 9,
1453
+ name: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1454
+ alternativeText: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1455
+ caption: "dan-gold-5O1ddenSM4g-unsplash.jpg",
1456
+ width: 6000,
1457
+ height: 3376,
1458
+ formats: {
1459
+ thumbnail: {
1460
+ name: "thumbnail_dan-gold-5O1ddenSM4g-unsplash.jpg",
1461
+ hash: "thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1462
+ ext: ".jpg",
1463
+ mime: "image/jpeg",
1464
+ path: null,
1465
+ width: 245,
1466
+ height: 138,
1467
+ size: 7.44,
1468
+ url: "/uploads/thumbnail_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1469
+ },
1470
+ large: {
1471
+ name: "large_dan-gold-5O1ddenSM4g-unsplash.jpg",
1472
+ hash: "large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1473
+ ext: ".jpg",
1474
+ mime: "image/jpeg",
1475
+ path: null,
1476
+ width: 1000,
1477
+ height: 563,
1478
+ size: 52.67,
1479
+ url: "/uploads/large_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1480
+ },
1481
+ medium: {
1482
+ name: "medium_dan-gold-5O1ddenSM4g-unsplash.jpg",
1483
+ hash: "medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1484
+ ext: ".jpg",
1485
+ mime: "image/jpeg",
1486
+ path: null,
1487
+ width: 750,
1488
+ height: 422,
1489
+ size: 35.15,
1490
+ url: "/uploads/medium_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1491
+ },
1492
+ small: {
1493
+ name: "small_dan-gold-5O1ddenSM4g-unsplash.jpg",
1494
+ hash: "small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1495
+ ext: ".jpg",
1496
+ mime: "image/jpeg",
1497
+ path: null,
1498
+ width: 500,
1499
+ height: 281,
1500
+ size: 19.95,
1501
+ url: "/uploads/small_dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1502
+ },
1503
+ },
1504
+ hash: "dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907",
1505
+ ext: ".jpg",
1506
+ mime: "image/jpeg",
1507
+ size: 972.68,
1508
+ url: "/uploads/dan_gold_5_O1dden_SM_4g_unsplash_5adef7d907.jpg",
1509
+ previewUrl: null,
1510
+ provider: "local",
1511
+ provider_metadata: null,
1512
+ },
1513
+ },
1514
+ gallery: [
1515
+ {
1516
+ id: 138,
1517
+ image_title: null,
1518
+ image_description: "Broszura i liście i widelec.",
1519
+ image: {
1520
+ id: 11,
1521
+ name: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1522
+ alternativeText: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1523
+ caption: "heather-ford-G4LFhuLXhLE-unsplash.jpg",
1524
+ width: 6127,
1525
+ height: 3844,
1526
+ formats: {
1527
+ thumbnail: {
1528
+ name: "thumbnail_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1529
+ hash: "thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1530
+ ext: ".jpg",
1531
+ mime: "image/jpeg",
1532
+ path: null,
1533
+ width: 245,
1534
+ height: 154,
1535
+ size: 9.54,
1536
+ url: "/uploads/thumbnail_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1537
+ },
1538
+ large: {
1539
+ name: "large_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1540
+ hash: "large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1541
+ ext: ".jpg",
1542
+ mime: "image/jpeg",
1543
+ path: null,
1544
+ width: 1000,
1545
+ height: 628,
1546
+ size: 117.56,
1547
+ url: "/uploads/large_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1548
+ },
1549
+ medium: {
1550
+ name: "medium_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1551
+ hash: "medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1552
+ ext: ".jpg",
1553
+ mime: "image/jpeg",
1554
+ path: null,
1555
+ width: 750,
1556
+ height: 471,
1557
+ size: 66.32,
1558
+ url: "/uploads/medium_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1559
+ },
1560
+ small: {
1561
+ name: "small_heather-ford-G4LFhuLXhLE-unsplash.jpg",
1562
+ hash: "small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1563
+ ext: ".jpg",
1564
+ mime: "image/jpeg",
1565
+ path: null,
1566
+ width: 500,
1567
+ height: 314,
1568
+ size: 31.42,
1569
+ url: "/uploads/small_heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1570
+ },
1571
+ },
1572
+ hash: "heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f",
1573
+ ext: ".jpg",
1574
+ mime: "image/jpeg",
1575
+ size: 6971.47,
1576
+ url: "/uploads/heather_ford_G4_L_Fhu_L_Xh_LE_unsplash_7a2c2cac8f.jpg",
1577
+ previewUrl: null,
1578
+ provider: "local",
1579
+ provider_metadata: null,
1580
+ },
1581
+ },
1582
+ {
1583
+ id: 139,
1584
+ image_title: "Przyprawy",
1585
+ image_description: null,
1586
+ image: {
1587
+ id: 10,
1588
+ name: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1589
+ alternativeText: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1590
+ caption: "calum-lewis-vA1L1jRTM70-unsplash.jpg",
1591
+ width: 3569,
1592
+ height: 5353,
1593
+ formats: {
1594
+ thumbnail: {
1595
+ name: "thumbnail_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1596
+ hash: "thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1597
+ ext: ".jpg",
1598
+ mime: "image/jpeg",
1599
+ path: null,
1600
+ width: 104,
1601
+ height: 156,
1602
+ size: 5.55,
1603
+ url: "/uploads/thumbnail_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1604
+ },
1605
+ large: {
1606
+ name: "large_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1607
+ hash: "large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1608
+ ext: ".jpg",
1609
+ mime: "image/jpeg",
1610
+ path: null,
1611
+ width: 667,
1612
+ height: 1000,
1613
+ size: 116.32,
1614
+ url: "/uploads/large_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1615
+ },
1616
+ medium: {
1617
+ name: "medium_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1618
+ hash: "medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1619
+ ext: ".jpg",
1620
+ mime: "image/jpeg",
1621
+ path: null,
1622
+ width: 500,
1623
+ height: 750,
1624
+ size: 72.75,
1625
+ url: "/uploads/medium_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1626
+ },
1627
+ small: {
1628
+ name: "small_calum-lewis-vA1L1jRTM70-unsplash.jpg",
1629
+ hash: "small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1630
+ ext: ".jpg",
1631
+ mime: "image/jpeg",
1632
+ path: null,
1633
+ width: 333,
1634
+ height: 500,
1635
+ size: 36.52,
1636
+ url: "/uploads/small_calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1637
+ },
1638
+ },
1639
+ hash: "calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997",
1640
+ ext: ".jpg",
1641
+ mime: "image/jpeg",
1642
+ size: 2305.97,
1643
+ url: "/uploads/calum_lewis_v_A1_L1j_RTM_70_unsplash_5aff3a8997.jpg",
1644
+ previewUrl: null,
1645
+ provider: "local",
1646
+ provider_metadata: null,
1647
+ },
1648
+ },
1649
+ ],
1650
+ },
1651
+ used_in_restaurants: [
1652
+ {
1653
+ id: 37,
1654
+ name: "Głodne okno",
1655
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
1656
+ established_at: "2022-10-01",
1657
+ is_franchise: false,
1658
+ contact_email: "david@localazy.com",
1659
+ cuisine: "Thai",
1660
+ capacity: 68,
1661
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1662
+ featured_image: null,
1663
+ supported_restaurants: [
1664
+ ],
1665
+ menu: [
1666
+ {
1667
+ id: 40,
1668
+ name: "Zupa Curry",
1669
+ price: 5,
1670
+ currency: "$",
1671
+ description: "_Super pyszna zupa. _\n\n<u>Ostrzeżenie: Ostre jak diabli! </u>",
1672
+ is_available: true,
1673
+ food_gallery: [
1674
+ {
1675
+ id: 3,
1676
+ name: "emy-XoByiBymX20-unsplash.jpg",
1677
+ alternativeText: "emy-XoByiBymX20-unsplash.jpg",
1678
+ caption: "emy-XoByiBymX20-unsplash.jpg",
1679
+ width: 5184,
1680
+ height: 3456,
1681
+ formats: {
1682
+ thumbnail: {
1683
+ name: "thumbnail_emy-XoByiBymX20-unsplash.jpg",
1684
+ hash: "thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1685
+ ext: ".jpg",
1686
+ mime: "image/jpeg",
1687
+ path: null,
1688
+ width: 234,
1689
+ height: 156,
1690
+ size: 11.04,
1691
+ url: "/uploads/thumbnail_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1692
+ },
1693
+ large: {
1694
+ name: "large_emy-XoByiBymX20-unsplash.jpg",
1695
+ hash: "large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1696
+ ext: ".jpg",
1697
+ mime: "image/jpeg",
1698
+ path: null,
1699
+ width: 1000,
1700
+ height: 667,
1701
+ size: 97.59,
1702
+ url: "/uploads/large_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1703
+ },
1704
+ medium: {
1705
+ name: "medium_emy-XoByiBymX20-unsplash.jpg",
1706
+ hash: "medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1707
+ ext: ".jpg",
1708
+ mime: "image/jpeg",
1709
+ path: null,
1710
+ width: 750,
1711
+ height: 500,
1712
+ size: 63.15,
1713
+ url: "/uploads/medium_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1714
+ },
1715
+ small: {
1716
+ name: "small_emy-XoByiBymX20-unsplash.jpg",
1717
+ hash: "small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1718
+ ext: ".jpg",
1719
+ mime: "image/jpeg",
1720
+ path: null,
1721
+ width: 500,
1722
+ height: 333,
1723
+ size: 33.98,
1724
+ url: "/uploads/small_emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1725
+ },
1726
+ },
1727
+ hash: "emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a",
1728
+ ext: ".jpg",
1729
+ mime: "image/jpeg",
1730
+ size: 1411.68,
1731
+ url: "/uploads/emy_Xo_Byi_Bym_X20_unsplash_a5d1373d3a.jpg",
1732
+ previewUrl: null,
1733
+ provider: "local",
1734
+ provider_metadata: null,
1735
+ },
1736
+ {
1737
+ id: 4,
1738
+ name: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1739
+ alternativeText: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1740
+ caption: "ting-tian-al9eh9QkdPA-unsplash.jpg",
1741
+ width: 3840,
1742
+ height: 5760,
1743
+ formats: {
1744
+ thumbnail: {
1745
+ name: "thumbnail_ting-tian-al9eh9QkdPA-unsplash.jpg",
1746
+ hash: "thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1747
+ ext: ".jpg",
1748
+ mime: "image/jpeg",
1749
+ path: null,
1750
+ width: 104,
1751
+ height: 156,
1752
+ size: 6.06,
1753
+ url: "/uploads/thumbnail_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1754
+ },
1755
+ large: {
1756
+ name: "large_ting-tian-al9eh9QkdPA-unsplash.jpg",
1757
+ hash: "large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1758
+ ext: ".jpg",
1759
+ mime: "image/jpeg",
1760
+ path: null,
1761
+ width: 667,
1762
+ height: 1000,
1763
+ size: 202.98,
1764
+ url: "/uploads/large_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1765
+ },
1766
+ medium: {
1767
+ name: "medium_ting-tian-al9eh9QkdPA-unsplash.jpg",
1768
+ hash: "medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1769
+ ext: ".jpg",
1770
+ mime: "image/jpeg",
1771
+ path: null,
1772
+ width: 500,
1773
+ height: 750,
1774
+ size: 120.06,
1775
+ url: "/uploads/medium_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1776
+ },
1777
+ small: {
1778
+ name: "small_ting-tian-al9eh9QkdPA-unsplash.jpg",
1779
+ hash: "small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1780
+ ext: ".jpg",
1781
+ mime: "image/jpeg",
1782
+ path: null,
1783
+ width: 333,
1784
+ height: 500,
1785
+ size: 54.32,
1786
+ url: "/uploads/small_ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1787
+ },
1788
+ },
1789
+ hash: "ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85",
1790
+ ext: ".jpg",
1791
+ mime: "image/jpeg",
1792
+ size: 5952.03,
1793
+ url: "/uploads/ting_tian_al9eh9_Qkd_PA_unsplash_d5132e8a85.jpg",
1794
+ previewUrl: null,
1795
+ provider: "local",
1796
+ provider_metadata: null,
1797
+ },
1798
+ ],
1799
+ },
1800
+ ],
1801
+ used_cookbooks: {
1802
+ id: 33,
1803
+ title: "Na każdy dzień roku",
1804
+ author_name: "David V.",
1805
+ pages: 365,
1806
+ recipes: [
1807
+ {
1808
+ id: 26,
1809
+ name: "Sałatka ziemni",
1810
+ recipe: "Obierz ziemniaki, wymieszaj ze wszystkimi składnikami i gotowe. Bon apetit!",
1811
+ estimated_cook_time: "00:30:00.000",
1812
+ difficulty: "easy",
1813
+ author_name: "Pan Głowa Ziemniaka",
1814
+ },
1815
+ ],
1816
+ gallery: {
1817
+ id: 33,
1818
+ optional_title: null,
1819
+ annotation: "Sprawdź nasz pyszny posiłek, następnie czytaj dalej i zanurz się w kulinarnym niebie!",
1820
+ },
1821
+ used_in_restaurants: [
1822
+ {
1823
+ id: 37,
1824
+ name: "Głodne okno",
1825
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
1826
+ established_at: "2022-10-01",
1827
+ is_franchise: false,
1828
+ contact_email: "david@localazy.com",
1829
+ cuisine: "Thai",
1830
+ capacity: 68,
1831
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1832
+ },
1833
+ {
1834
+ id: 39,
1835
+ name: "Niebieska ostryga",
1836
+ description: "Widzisz jedzenie? Lepiej powiedzmy, że owoce morza!",
1837
+ established_at: "1822-07-09",
1838
+ is_franchise: null,
1839
+ contact_email: "david@localazy.com",
1840
+ cuisine: "Italian",
1841
+ capacity: 16,
1842
+ our_story: "Długa tradycja, mądrość przekazywana z pokolenia na pokolenie... Od 1822 roku.",
1843
+ },
1844
+ ],
1845
+ },
1846
+ },
1847
+ {
1848
+ id: 39,
1849
+ name: "Niebieska ostryga",
1850
+ description: "Widzisz jedzenie? Lepiej powiedzmy, że owoce morza!",
1851
+ established_at: "1822-07-09",
1852
+ is_franchise: null,
1853
+ contact_email: "david@localazy.com",
1854
+ cuisine: "Italian",
1855
+ capacity: 16,
1856
+ our_story: "Długa tradycja, mądrość przekazywana z pokolenia na pokolenie... Od 1822 roku.",
1857
+ featured_image: null,
1858
+ supported_restaurants: [
1859
+ {
1860
+ id: 37,
1861
+ name: "Głodne okno",
1862
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
1863
+ established_at: "2022-10-01",
1864
+ is_franchise: false,
1865
+ contact_email: "david@localazy.com",
1866
+ cuisine: "Thai",
1867
+ capacity: 68,
1868
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1869
+ featured_image: null,
1870
+ supported_restaurants: [
1871
+ ],
1872
+ menu: [
1873
+ {
1874
+ id: 40,
1875
+ name: "Zupa Curry",
1876
+ price: 5,
1877
+ currency: "$",
1878
+ description: "_Super pyszna zupa. _\n\n<u>Ostrzeżenie: Ostre jak diabli! </u>",
1879
+ is_available: true,
1880
+ },
1881
+ ],
1882
+ used_cookbooks: {
1883
+ id: 33,
1884
+ title: "Na każdy dzień roku",
1885
+ author_name: "David V.",
1886
+ pages: 365,
1887
+ },
1888
+ },
1889
+ {
1890
+ id: 38,
1891
+ name: "Michelin",
1892
+ description: "Najbardziej wyszukana restauracja w Układzie Słonecznym. Sprawdź nasze menu stworzone przez jedynego Gordona Ramsaya.",
1893
+ established_at: "2002-06-23",
1894
+ is_franchise: true,
1895
+ contact_email: "david@localazy.com",
1896
+ cuisine: "French",
1897
+ capacity: 148,
1898
+ our_story: "Najbardziej wyszukana restauracja w Układzie Słonecznym.\n\nSprawdź nasze menu stworzone przez ~~po prostu przypadkowego faceta ~~ jedynego ** Gordona Ramsaya**.",
1899
+ featured_image: {
1900
+ id: 1,
1901
+ name: "jason-leung-poI7DelFiVA-unsplash.jpg",
1902
+ alternativeText: "jason-leung-poI7DelFiVA-unsplash.jpg",
1903
+ caption: "jason-leung-poI7DelFiVA-unsplash.jpg",
1904
+ width: 5596,
1905
+ height: 3731,
1906
+ formats: {
1907
+ thumbnail: {
1908
+ name: "thumbnail_jason-leung-poI7DelFiVA-unsplash.jpg",
1909
+ hash: "thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1910
+ ext: ".jpg",
1911
+ mime: "image/jpeg",
1912
+ path: null,
1913
+ width: 234,
1914
+ height: 156,
1915
+ size: 11.74,
1916
+ url: "/uploads/thumbnail_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1917
+ },
1918
+ large: {
1919
+ name: "large_jason-leung-poI7DelFiVA-unsplash.jpg",
1920
+ hash: "large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1921
+ ext: ".jpg",
1922
+ mime: "image/jpeg",
1923
+ path: null,
1924
+ width: 1000,
1925
+ height: 666,
1926
+ size: 140.2,
1927
+ url: "/uploads/large_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1928
+ },
1929
+ medium: {
1930
+ name: "medium_jason-leung-poI7DelFiVA-unsplash.jpg",
1931
+ hash: "medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1932
+ ext: ".jpg",
1933
+ mime: "image/jpeg",
1934
+ path: null,
1935
+ width: 750,
1936
+ height: 500,
1937
+ size: 86.32,
1938
+ url: "/uploads/medium_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1939
+ },
1940
+ small: {
1941
+ name: "small_jason-leung-poI7DelFiVA-unsplash.jpg",
1942
+ hash: "small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1943
+ ext: ".jpg",
1944
+ mime: "image/jpeg",
1945
+ path: null,
1946
+ width: 500,
1947
+ height: 333,
1948
+ size: 42.51,
1949
+ url: "/uploads/small_jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1950
+ },
1951
+ },
1952
+ hash: "jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b",
1953
+ ext: ".jpg",
1954
+ mime: "image/jpeg",
1955
+ size: 3461.64,
1956
+ url: "/uploads/jason_leung_po_I7_Del_Fi_VA_unsplash_508d22c55b.jpg",
1957
+ previewUrl: null,
1958
+ provider: "local",
1959
+ provider_metadata: null,
1960
+ },
1961
+ supported_restaurants: [
1962
+ {
1963
+ id: 37,
1964
+ name: "Głodne okno",
1965
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
1966
+ established_at: "2022-10-01",
1967
+ is_franchise: false,
1968
+ contact_email: "david@localazy.com",
1969
+ cuisine: "Thai",
1970
+ capacity: 68,
1971
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
1972
+ },
1973
+ ],
1974
+ menu: [
1975
+ {
1976
+ id: 41,
1977
+ name: "Kremowe brûlée",
1978
+ price: 24,
1979
+ currency: "$",
1980
+ description: "\n> Nie mogę marzyć o lepszym! Twój język będzie w stanie czystego szczęścia!\n\nMówi sam Gordon.",
1981
+ is_available: true,
1982
+ },
1983
+ {
1984
+ id: 42,
1985
+ name: "Homar",
1986
+ price: 99.9,
1987
+ currency: "$",
1988
+ description: "Kremowy, soczysty, pikantny!",
1989
+ is_available: false,
1990
+ },
1991
+ ],
1992
+ used_cookbooks: null,
1993
+ },
1994
+ ],
1995
+ menu: [
1996
+ ],
1997
+ used_cookbooks: {
1998
+ id: 33,
1999
+ title: "Na każdy dzień roku",
2000
+ author_name: "David V.",
2001
+ pages: 365,
2002
+ recipes: [
2003
+ {
2004
+ id: 26,
2005
+ name: "Sałatka ziemni",
2006
+ recipe: "Obierz ziemniaki, wymieszaj ze wszystkimi składnikami i gotowe. Bon apetit!",
2007
+ estimated_cook_time: "00:30:00.000",
2008
+ difficulty: "easy",
2009
+ author_name: "Pan Głowa Ziemniaka",
2010
+ },
2011
+ ],
2012
+ gallery: {
2013
+ id: 33,
2014
+ optional_title: null,
2015
+ annotation: "Sprawdź nasz pyszny posiłek, następnie czytaj dalej i zanurz się w kulinarnym niebie!",
2016
+ },
2017
+ used_in_restaurants: [
2018
+ {
2019
+ id: 37,
2020
+ name: "Głodne okno",
2021
+ description: "Orientalne jedzenie uliczne w ustach szybko i łatwo!",
2022
+ established_at: "2022-10-01",
2023
+ is_franchise: false,
2024
+ contact_email: "david@localazy.com",
2025
+ cuisine: "Thai",
2026
+ capacity: 68,
2027
+ our_story: "Za nami jest więcej**! Sprawdź naszą historię na [Localazy] (https://localazy.com).\n\n! [Logo_sq-01.png] (/uploads/Logo_sq_01_08b9bb6be1.png)",
2028
+ },
2029
+ {
2030
+ id: 39,
2031
+ name: "Niebieska ostryga",
2032
+ description: "Widzisz jedzenie? Lepiej powiedzmy, że owoce morza!",
2033
+ established_at: "1822-07-09",
2034
+ is_franchise: null,
2035
+ contact_email: "david@localazy.com",
2036
+ cuisine: "Italian",
2037
+ capacity: 16,
2038
+ our_story: "Długa tradycja, mądrość przekazywana z pokolenia na pokolenie... Od 1822 roku.",
2039
+ },
2040
+ ],
2041
+ },
2042
+ },
2043
+ ],
2044
+ },
2045
+ };
2046
+
2047
+ const uid = "api::restaurant-simple-menu.restaurant-simple-menu";
2048
+
2049
+ const locale = "pl";
2050
+
2051
+ module.exports = {
2052
+ updateEntry,
2053
+ baseEntry,
2054
+ fullyPopulatedLocalizedEntry,
2055
+ uid,
2056
+ locale,
2057
+ };